@deephaven/embed-chart 0.23.1-beta.4 → 0.23.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/{index.240615af.js → index.753830d2.js} +2 -2
- package/build/assets/index.753830d2.js.map +1 -0
- package/build/assets/{plotly.4ea1e5be.js → plotly.347742f0.js} +2 -2
- package/build/assets/{plotly.4ea1e5be.js.map → plotly.347742f0.js.map} +1 -1
- package/build/assets/vendor.0a3713a6.js +1171 -0
- package/build/assets/vendor.0a3713a6.js.map +1 -0
- package/build/index.html +3 -3
- package/package.json +12 -12
- package/build/assets/index.240615af.js.map +0 -1
- package/build/assets/vendor.d0e2a5b9.js +0 -1174
- package/build/assets/vendor.d0e2a5b9.js.map +0 -1
|
@@ -1,1174 +0,0 @@
|
|
|
1
|
-
import{g as y_,a as xl,c as Ar}from"./helpers.162e09a8.js";var x_={exports:{}},ki={},Kt={exports:{}},gr={};/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/var LS=Object.getOwnPropertySymbols,Y4=Object.prototype.hasOwnProperty,X4=Object.prototype.propertyIsEnumerable;function Q4(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Z4(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var bl=Z4()?Object.assign:function(e,t){for(var r,n=Q4(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)Y4.call(r,o)&&(n[o]=r[o]);if(LS){i=LS(r);for(var l=0;l<i.length;l++)X4.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n};/** @license React v17.0.2
|
|
6
|
-
* react.production.min.js
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var b_=bl,Sf=60103,k5=60106;gr.Fragment=60107;gr.StrictMode=60108;gr.Profiler=60114;var M5=60109,I5=60110,R5=60112;gr.Suspense=60113;var F5=60115,P5=60116;if(typeof Symbol=="function"&&Symbol.for){var Ui=Symbol.for;Sf=Ui("react.element"),k5=Ui("react.portal"),gr.Fragment=Ui("react.fragment"),gr.StrictMode=Ui("react.strict_mode"),gr.Profiler=Ui("react.profiler"),M5=Ui("react.provider"),I5=Ui("react.context"),R5=Ui("react.forward_ref"),gr.Suspense=Ui("react.suspense"),F5=Ui("react.memo"),P5=Ui("react.lazy")}var DS=typeof Symbol=="function"&&Symbol.iterator;function K4(e){return e===null||typeof e!="object"?null:(e=DS&&e[DS]||e["@@iterator"],typeof e=="function"?e:null)}function Ad(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 N5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L5={};function Ef(e,t,r){this.props=e,this.context=t,this.refs=L5,this.updater=r||N5}Ef.prototype.isReactComponent={};Ef.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Ad(85));this.updater.enqueueSetState(this,e,t,"setState")};Ef.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function D5(){}D5.prototype=Ef.prototype;function w_(e,t,r){this.props=e,this.context=t,this.refs=L5,this.updater=r||N5}var __=w_.prototype=new D5;__.constructor=w_;b_(__,Ef.prototype);__.isPureReactComponent=!0;var S_={current:null},$5=Object.prototype.hasOwnProperty,B5={key:!0,ref:!0,__self:!0,__source:!0};function z5(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)$5.call(t,n)&&!B5.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:Sf,type:e,key:a,ref:o,props:i,_owner:S_.current}}function J4(e,t){return{$$typeof:Sf,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function E_(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sf}function eN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var $S=/\/+/g;function gy(e,t){return typeof e=="object"&&e!==null&&e.key!=null?eN(""+e.key):t.toString(36)}function e0(e,t,r,n,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Sf:case k5:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+gy(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace($S,"$&/")+"/"),e0(i,t,r,"",function(c){return c})):i!=null&&(E_(i)&&(i=J4(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace($S,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){a=e[l];var s=n+gy(a,l);o+=e0(a,t,r,s,i)}else if(s=K4(e),typeof s=="function")for(e=s.call(e),l=0;!(a=e.next()).done;)a=a.value,s=n+gy(a,l++),o+=e0(a,t,r,s,i);else if(a==="object")throw t=""+e,Error(Ad(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function hv(e,t,r){if(e==null)return e;var n=[],i=0;return e0(e,n,"","",function(a){return t.call(r,a,i++)}),n}function tN(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var U5={current:null};function Ja(){var e=U5.current;if(e===null)throw Error(Ad(321));return e}var rN={ReactCurrentDispatcher:U5,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:S_,IsSomeRendererActing:{current:!1},assign:b_};gr.Children={map:hv,forEach:function(e,t,r){hv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return hv(e,function(){t++}),t},toArray:function(e){return hv(e,function(t){return t})||[]},only:function(e){if(!E_(e))throw Error(Ad(143));return e}};gr.Component=Ef;gr.PureComponent=w_;gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rN;gr.cloneElement=function(e,t,r){if(e==null)throw Error(Ad(267,e));var n=b_({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=S_.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)$5.call(t,s)&&!B5.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:Sf,type:e.type,key:i,ref:a,props:n,_owner:o}};gr.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:I5,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:M5,_context:e},e.Consumer=e};gr.createElement=z5;gr.createFactory=function(e){var t=z5.bind(null,e);return t.type=e,t};gr.createRef=function(){return{current:null}};gr.forwardRef=function(e){return{$$typeof:R5,render:e}};gr.isValidElement=E_;gr.lazy=function(e){return{$$typeof:P5,_payload:{_status:-1,_result:e},_init:tN}};gr.memo=function(e,t){return{$$typeof:F5,type:e,compare:t===void 0?null:t}};gr.useCallback=function(e,t){return Ja().useCallback(e,t)};gr.useContext=function(e,t){return Ja().useContext(e,t)};gr.useDebugValue=function(){};gr.useEffect=function(e,t){return Ja().useEffect(e,t)};gr.useImperativeHandle=function(e,t,r){return Ja().useImperativeHandle(e,t,r)};gr.useLayoutEffect=function(e,t){return Ja().useLayoutEffect(e,t)};gr.useMemo=function(e,t){return Ja().useMemo(e,t)};gr.useReducer=function(e,t,r){return Ja().useReducer(e,t,r)};gr.useRef=function(e){return Ja().useRef(e)};gr.useState=function(e){return Ja().useState(e)};gr.version="17.0.2";(function(e){e.exports=gr})(Kt);const Tn=y_(Kt.exports);var j5={exports:{}},G5={};/** @license React v0.20.2
|
|
13
|
-
* scheduler.production.min.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,c=null,d=function(){if(s!==null)try{var be=e.unstable_now();s(!0,be),s=null}catch(Ve){throw setTimeout(d,0),Ve}};t=function(be){s!==null?setTimeout(t,0,be):(s=be,setTimeout(d,0))},r=function(be,Ve){c=setTimeout(be,Ve)},n=function(){clearTimeout(c)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var y=window.setTimeout,g=window.clearTimeout;if(typeof console<"u"){var m=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof m!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var E=!1,M=null,b=-1,w=5,_=0;e.unstable_shouldYield=function(){return e.unstable_now()>=_},i=function(){},e.unstable_forceFrameRate=function(be){0>be||125<be?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<be?Math.floor(1e3/be):5};var C=new MessageChannel,T=C.port2;C.port1.onmessage=function(){if(M!==null){var be=e.unstable_now();_=be+w;try{M(!0,be)?T.postMessage(null):(E=!1,M=null)}catch(Ve){throw T.postMessage(null),Ve}}else E=!1},t=function(be){M=be,E||(E=!0,T.postMessage(null))},r=function(be,Ve){b=y(function(){be(e.unstable_now())},Ve)},n=function(){g(b),b=-1}}function P(be,Ve){var st=be.length;be.push(Ve);e:for(;;){var Qe=st-1>>>1,ct=be[Qe];if(ct!==void 0&&0<j(ct,Ve))be[Qe]=Ve,be[st]=ct,st=Qe;else break e}}function D(be){return be=be[0],be===void 0?null:be}function Y(be){var Ve=be[0];if(Ve!==void 0){var st=be.pop();if(st!==Ve){be[0]=st;e:for(var Qe=0,ct=be.length;Qe<ct;){var yt=2*(Qe+1)-1,Wt=be[yt],Vt=yt+1,Ze=be[Vt];if(Wt!==void 0&&0>j(Wt,st))Ze!==void 0&&0>j(Ze,Wt)?(be[Qe]=Ze,be[Vt]=st,Qe=Vt):(be[Qe]=Wt,be[yt]=st,Qe=yt);else if(Ze!==void 0&&0>j(Ze,st))be[Qe]=Ze,be[Vt]=st,Qe=Vt;else break e}}return Ve}return null}function j(be,Ve){var st=be.sortIndex-Ve.sortIndex;return st!==0?st:be.id-Ve.id}var re=[],Ee=[],me=1,ke=null,Pe=3,Le=!1,ut=!1,nt=!1;function De(be){for(var Ve=D(Ee);Ve!==null;){if(Ve.callback===null)Y(Ee);else if(Ve.startTime<=be)Y(Ee),Ve.sortIndex=Ve.expirationTime,P(re,Ve);else break;Ve=D(Ee)}}function We(be){if(nt=!1,De(be),!ut)if(D(re)!==null)ut=!0,t(_t);else{var Ve=D(Ee);Ve!==null&&r(We,Ve.startTime-be)}}function _t(be,Ve){ut=!1,nt&&(nt=!1,n()),Le=!0;var st=Pe;try{for(De(Ve),ke=D(re);ke!==null&&(!(ke.expirationTime>Ve)||be&&!e.unstable_shouldYield());){var Qe=ke.callback;if(typeof Qe=="function"){ke.callback=null,Pe=ke.priorityLevel;var ct=Qe(ke.expirationTime<=Ve);Ve=e.unstable_now(),typeof ct=="function"?ke.callback=ct:ke===D(re)&&Y(re),De(Ve)}else Y(re);ke=D(re)}if(ke!==null)var yt=!0;else{var Wt=D(Ee);Wt!==null&&r(We,Wt.startTime-Ve),yt=!1}return yt}finally{ke=null,Pe=st,Le=!1}}var He=i;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(be){be.callback=null},e.unstable_continueExecution=function(){ut||Le||(ut=!0,t(_t))},e.unstable_getCurrentPriorityLevel=function(){return Pe},e.unstable_getFirstCallbackNode=function(){return D(re)},e.unstable_next=function(be){switch(Pe){case 1:case 2:case 3:var Ve=3;break;default:Ve=Pe}var st=Pe;Pe=Ve;try{return be()}finally{Pe=st}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=He,e.unstable_runWithPriority=function(be,Ve){switch(be){case 1:case 2:case 3:case 4:case 5:break;default:be=3}var st=Pe;Pe=be;try{return Ve()}finally{Pe=st}},e.unstable_scheduleCallback=function(be,Ve,st){var Qe=e.unstable_now();switch(typeof st=="object"&&st!==null?(st=st.delay,st=typeof st=="number"&&0<st?Qe+st:Qe):st=Qe,be){case 1:var ct=-1;break;case 2:ct=250;break;case 5:ct=1073741823;break;case 4:ct=1e4;break;default:ct=5e3}return ct=st+ct,be={id:me++,callback:Ve,priorityLevel:be,startTime:st,expirationTime:ct,sortIndex:-1},st>Qe?(be.sortIndex=st,P(Ee,be),D(re)===null&&be===D(Ee)&&(nt?n():nt=!0,r(We,st-Qe))):(be.sortIndex=ct,P(re,be),ut||Le||(ut=!0,t(_t))),be},e.unstable_wrapCallback=function(be){var Ve=Pe;return function(){var st=Pe;Pe=Ve;try{return be.apply(this,arguments)}finally{Pe=st}}}})(G5);(function(e){e.exports=G5})(j5);/** @license React v17.0.2
|
|
20
|
-
* react-dom.production.min.js
|
|
21
|
-
*
|
|
22
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the MIT license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var Om=Kt.exports,Br=bl,mn=j5.exports;function dt(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."}if(!Om)throw Error(dt(227));var W5=new Set,Jh={};function wl(e,t){uf(e,t),uf(e+"Capture",t)}function uf(e,t){for(Jh[e]=t,e=0;e<t.length;e++)W5.add(t[e])}var Ya=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nN=/^[: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]*$/,BS=Object.prototype.hasOwnProperty,zS={},US={};function iN(e){return BS.call(US,e)?!0:BS.call(zS,e)?!1:nN.test(e)?US[e]=!0:(zS[e]=!0,!1)}function aN(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 oN(e,t,r,n){if(t===null||typeof t>"u"||aN(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 jn(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Cn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cn[e]=new jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cn[t]=new jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cn[e]=new jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Cn[e]=new jn(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){Cn[e]=new jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Cn[e]=new jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Cn[e]=new jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Cn[e]=new jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Cn[e]=new jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var A_=/[\-:]([a-z])/g;function T_(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(A_,T_);Cn[t]=new jn(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(A_,T_);Cn[t]=new jn(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(A_,T_);Cn[t]=new jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Cn[e]=new jn(e,1,!1,e.toLowerCase(),null,!1,!1)});Cn.xlinkHref=new jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Cn[e]=new jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function C_(e,t,r,n){var i=Cn.hasOwnProperty(t)?Cn[t]:null,a=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(oN(t,r,i,n)&&(r=null),n||i===null?iN(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var _l=Om.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bh=60103,Ku=60106,Lo=60107,O_=60108,Ih=60114,k_=60109,M_=60110,km=60112,Rh=60113,E0=60120,Mm=60115,I_=60116,R_=60121,F_=60128,H5=60129,P_=60130,Ab=60131;if(typeof Symbol=="function"&&Symbol.for){var hn=Symbol.for;bh=hn("react.element"),Ku=hn("react.portal"),Lo=hn("react.fragment"),O_=hn("react.strict_mode"),Ih=hn("react.profiler"),k_=hn("react.provider"),M_=hn("react.context"),km=hn("react.forward_ref"),Rh=hn("react.suspense"),E0=hn("react.suspense_list"),Mm=hn("react.memo"),I_=hn("react.lazy"),R_=hn("react.block"),hn("react.scope"),F_=hn("react.opaque.id"),H5=hn("react.debug_trace_mode"),P_=hn("react.offscreen"),Ab=hn("react.legacy_hidden")}var jS=typeof Symbol=="function"&&Symbol.iterator;function Vc(e){return e===null||typeof e!="object"?null:(e=jS&&e[jS]||e["@@iterator"],typeof e=="function"?e:null)}var yy;function wh(e){if(yy===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);yy=t&&t[1]||""}return`
|
|
27
|
-
`+yy+e}var xy=!1;function dv(e,t){if(!e||xy)return"";xy=!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(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
|
|
28
|
-
`),a=n.stack.split(`
|
|
29
|
-
`),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l])return`
|
|
30
|
-
`+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{xy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?wh(e):""}function uN(e){switch(e.tag){case 5:return wh(e.type);case 16:return wh("Lazy");case 13:return wh("Suspense");case 19:return wh("SuspenseList");case 0:case 2:case 15:return e=dv(e.type,!1),e;case 11:return e=dv(e.type.render,!1),e;case 22:return e=dv(e.type._render,!1),e;case 1:return e=dv(e.type,!0),e;default:return""}}function Ws(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 Lo:return"Fragment";case Ku:return"Portal";case Ih:return"Profiler";case O_:return"StrictMode";case Rh:return"Suspense";case E0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case M_:return(e.displayName||"Context")+".Consumer";case k_:return(e._context.displayName||"Context")+".Provider";case km:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Mm:return Ws(e.type);case R_:return Ws(e._render);case I_:t=e._payload,e=e._init;try{return Ws(e(t))}catch{}}return null}function Ko(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function V5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lN(e){var t=V5(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 i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pv(e){e._valueTracker||(e._valueTracker=lN(e))}function q5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=V5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function A0(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 Tb(e,t){var r=t.checked;return Br({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function GS(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ko(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 Y5(e,t){t=t.checked,t!=null&&C_(e,"checked",t,!1)}function Cb(e,t){Y5(e,t);var r=Ko(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")?Ob(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ob(e,t.type,Ko(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function WS(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 Ob(e,t,r){(t!=="number"||A0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function sN(e){var t="";return Om.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function kb(e,t){return e=Br({children:void 0},t),(t=sN(t.children))&&(e.children=t),e}function Hs(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Ko(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Mb(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(dt(91));return Br({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function HS(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(dt(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(dt(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Ko(r)}}function X5(e,t){var r=Ko(t.value),n=Ko(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 VS(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ib={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Q5(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 Rb(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Q5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vv,Z5=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==Ib.svg||"innerHTML"in e)e.innerHTML=t;else{for(vv=vv||document.createElement("div"),vv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ed(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Fh={animationIterationCount:!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},fN=["Webkit","ms","Moz","O"];Object.keys(Fh).forEach(function(e){fN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fh[t]=Fh[e]})});function K5(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Fh.hasOwnProperty(e)&&Fh[e]?(""+t).trim():t+"px"}function J5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=K5(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var cN=Br({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 Fb(e,t){if(t){if(cN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(dt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(dt(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(dt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(dt(62))}}function Pb(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}}function N_(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nb=null,Vs=null,qs=null;function qS(e){if(e=Cd(e)){if(typeof Nb!="function")throw Error(dt(280));var t=e.stateNode;t&&(t=Lm(t),Nb(e.stateNode,e.type,t))}}function ek(e){Vs?qs?qs.push(e):qs=[e]:Vs=e}function tk(){if(Vs){var e=Vs,t=qs;if(qs=Vs=null,qS(e),t)for(e=0;e<t.length;e++)qS(t[e])}}function L_(e,t){return e(t)}function rk(e,t,r,n,i){return e(t,r,n,i)}function D_(){}var nk=L_,Ju=!1,by=!1;function $_(){(Vs!==null||qs!==null)&&(D_(),tk())}function hN(e,t,r){if(by)return e(t,r);by=!0;try{return nk(e,t,r)}finally{by=!1,$_()}}function td(e,t){var r=e.stateNode;if(r===null)return null;var n=Lm(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(dt(231,t,typeof r));return r}var Lb=!1;if(Ya)try{var qc={};Object.defineProperty(qc,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",qc,qc),window.removeEventListener("test",qc,qc)}catch{Lb=!1}function dN(e,t,r,n,i,a,o,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var Ph=!1,T0=null,C0=!1,Db=null,pN={onError:function(e){Ph=!0,T0=e}};function vN(e,t,r,n,i,a,o,l,s){Ph=!1,T0=null,dN.apply(pN,arguments)}function mN(e,t,r,n,i,a,o,l,s){if(vN.apply(this,arguments),Ph){if(Ph){var c=T0;Ph=!1,T0=null}else throw Error(dt(198));C0||(C0=!0,Db=c)}}function Sl(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function ik(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 YS(e){if(Sl(e)!==e)throw Error(dt(188))}function gN(e){var t=e.alternate;if(!t){if(t=Sl(e),t===null)throw Error(dt(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return YS(i),e;if(a===n)return YS(i),t;a=a.sibling}throw Error(dt(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=a;break}if(l===n){o=!0,n=i,r=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===r){o=!0,r=a,n=i;break}if(l===n){o=!0,n=a,r=i;break}l=l.sibling}if(!o)throw Error(dt(189))}}if(r.alternate!==n)throw Error(dt(190))}if(r.tag!==3)throw Error(dt(188));return r.stateNode.current===r?e:t}function ak(e){if(e=gN(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function XS(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var ok,B_,uk,lk,$b=!1,la=[],Wo=null,Ho=null,Vo=null,rd=new Map,nd=new Map,Yc=[],QS="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 Bb(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function ZS(e,t){switch(e){case"focusin":case"focusout":Wo=null;break;case"dragenter":case"dragleave":Ho=null;break;case"mouseover":case"mouseout":Vo=null;break;case"pointerover":case"pointerout":rd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nd.delete(t.pointerId)}}function Xc(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Bb(t,r,n,i,a),t!==null&&(t=Cd(t),t!==null&&B_(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function yN(e,t,r,n,i){switch(t){case"focusin":return Wo=Xc(Wo,e,t,r,n,i),!0;case"dragenter":return Ho=Xc(Ho,e,t,r,n,i),!0;case"mouseover":return Vo=Xc(Vo,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return rd.set(a,Xc(rd.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,nd.set(a,Xc(nd.get(a)||null,e,t,r,n,i)),!0}return!1}function xN(e){var t=el(e.target);if(t!==null){var r=Sl(t);if(r!==null){if(t=r.tag,t===13){if(t=ik(r),t!==null){e.blockedOn=t,lk(e.lanePriority,function(){mn.unstable_runWithPriority(e.priority,function(){uk(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function t0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=G_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Cd(r),t!==null&&B_(t),e.blockedOn=r,!1;t.shift()}return!0}function KS(e,t,r){t0(e)&&r.delete(t)}function bN(){for($b=!1;0<la.length;){var e=la[0];if(e.blockedOn!==null){e=Cd(e.blockedOn),e!==null&&ok(e);break}for(var t=e.targetContainers;0<t.length;){var r=G_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&la.shift()}Wo!==null&&t0(Wo)&&(Wo=null),Ho!==null&&t0(Ho)&&(Ho=null),Vo!==null&&t0(Vo)&&(Vo=null),rd.forEach(KS),nd.forEach(KS)}function Qc(e,t){e.blockedOn===t&&(e.blockedOn=null,$b||($b=!0,mn.unstable_scheduleCallback(mn.unstable_NormalPriority,bN)))}function sk(e){function t(i){return Qc(i,e)}if(0<la.length){Qc(la[0],e);for(var r=1;r<la.length;r++){var n=la[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Wo!==null&&Qc(Wo,e),Ho!==null&&Qc(Ho,e),Vo!==null&&Qc(Vo,e),rd.forEach(t),nd.forEach(t),r=0;r<Yc.length;r++)n=Yc[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Yc.length&&(r=Yc[0],r.blockedOn===null);)xN(r),r.blockedOn===null&&Yc.shift()}function mv(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Fs={animationend:mv("Animation","AnimationEnd"),animationiteration:mv("Animation","AnimationIteration"),animationstart:mv("Animation","AnimationStart"),transitionend:mv("Transition","TransitionEnd")},wy={},fk={};Ya&&(fk=document.createElement("div").style,"AnimationEvent"in window||(delete Fs.animationend.animation,delete Fs.animationiteration.animation,delete Fs.animationstart.animation),"TransitionEvent"in window||delete Fs.transitionend.transition);function Im(e){if(wy[e])return wy[e];if(!Fs[e])return e;var t=Fs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in fk)return wy[e]=t[r];return e}var ck=Im("animationend"),hk=Im("animationiteration"),dk=Im("animationstart"),pk=Im("transitionend"),vk=new Map,z_=new Map,wN=["abort","abort",ck,"animationEnd",hk,"animationIteration",dk,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",pk,"transitionEnd","waiting","waiting"];function U_(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),z_.set(n,t),vk.set(n,i),wl(i,[n])}}var _N=mn.unstable_now;_N();var Fr=8;function Os(e){if((1&e)!==0)return Fr=15,1;if((2&e)!==0)return Fr=14,2;if((4&e)!==0)return Fr=13,4;var t=24&e;return t!==0?(Fr=12,t):(e&32)!==0?(Fr=11,32):(t=192&e,t!==0?(Fr=10,t):(e&256)!==0?(Fr=9,256):(t=3584&e,t!==0?(Fr=8,t):(e&4096)!==0?(Fr=7,4096):(t=4186112&e,t!==0?(Fr=6,t):(t=62914560&e,t!==0?(Fr=5,t):e&67108864?(Fr=4,67108864):(e&134217728)!==0?(Fr=3,134217728):(t=805306368&e,t!==0?(Fr=2,t):(1073741824&e)!==0?(Fr=1,1073741824):(Fr=8,e))))))}function SN(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function EN(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(dt(358,e))}}function id(e,t){var r=e.pendingLanes;if(r===0)return Fr=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=Fr=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=Os(s),i=Fr):(l&=a,l!==0&&(n=Os(l),i=Fr))}else a=r&~o,a!==0?(n=Os(a),i=Fr):l!==0&&(n=Os(l),i=Fr);if(n===0)return 0;if(n=31-Jo(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(Os(t),i<=Fr)return t;Fr=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Jo(t),i=1<<r,n|=e[r],t&=~i;return n}function mk(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function O0(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=ks(24&~t),e===0?O0(10,t):e;case 10:return e=ks(192&~t),e===0?O0(8,t):e;case 8:return e=ks(3584&~t),e===0&&(e=ks(4186112&~t),e===0&&(e=512)),e;case 2:return t=ks(805306368&~t),t===0&&(t=268435456),t}throw Error(dt(358,e))}function ks(e){return e&-e}function _y(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Rm(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Jo(t),e[t]=r}var Jo=Math.clz32?Math.clz32:CN,AN=Math.log,TN=Math.LN2;function CN(e){return e===0?32:31-(AN(e)/TN|0)|0}var ON=mn.unstable_UserBlockingPriority,kN=mn.unstable_runWithPriority,r0=!0;function MN(e,t,r,n){Ju||D_();var i=j_,a=Ju;Ju=!0;try{rk(i,e,t,r,n)}finally{(Ju=a)||$_()}}function IN(e,t,r,n){kN(ON,j_.bind(null,e,t,r,n))}function j_(e,t,r,n){if(r0){var i;if((i=(t&4)===0)&&0<la.length&&-1<QS.indexOf(e))e=Bb(null,e,t,r,n),la.push(e);else{var a=G_(e,t,r,n);if(a===null)i&&ZS(e,n);else{if(i){if(-1<QS.indexOf(e)){e=Bb(a,e,t,r,n),la.push(e);return}if(yN(a,e,t,r,n))return;ZS(e,n)}kk(e,t,n,null,r)}}}}function G_(e,t,r,n){var i=N_(n);if(i=el(i),i!==null){var a=Sl(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=ik(a),i!==null)return i;i=null}else if(o===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return kk(e,t,n,i,r),null}var $o=null,W_=null,n0=null;function gk(){if(n0)return n0;var e,t=W_,r=t.length,n,i="value"in $o?$o.value:$o.textContent,a=i.length;for(e=0;e<r&&t[e]===i[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===i[a-n];n++);return n0=i.slice(e,1<n?1-n:void 0)}function i0(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 gv(){return!0}function JS(){return!1}function ci(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?gv:JS,this.isPropagationStopped=JS,this}return Br(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=gv)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=gv)},persist:function(){},isPersistent:gv}),t}var Af={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},H_=ci(Af),Td=Br({},Af,{view:0,detail:0}),RN=ci(Td),Sy,Ey,Zc,Fm=Br({},Td,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:V_,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!==Zc&&(Zc&&e.type==="mousemove"?(Sy=e.screenX-Zc.screenX,Ey=e.screenY-Zc.screenY):Ey=Sy=0,Zc=e),Sy)},movementY:function(e){return"movementY"in e?e.movementY:Ey}}),eE=ci(Fm),FN=Br({},Fm,{dataTransfer:0}),PN=ci(FN),NN=Br({},Td,{relatedTarget:0}),Ay=ci(NN),LN=Br({},Af,{animationName:0,elapsedTime:0,pseudoElement:0}),DN=ci(LN),$N=Br({},Af,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),BN=ci($N),zN=Br({},Af,{data:0}),tE=ci(zN),UN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jN={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"},GN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function WN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=GN[e])?!!t[e]:!1}function V_(){return WN}var HN=Br({},Td,{key:function(e){if(e.key){var t=UN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=i0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?jN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:V_,charCode:function(e){return e.type==="keypress"?i0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?i0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),VN=ci(HN),qN=Br({},Fm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rE=ci(qN),YN=Br({},Td,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:V_}),XN=ci(YN),QN=Br({},Af,{propertyName:0,elapsedTime:0,pseudoElement:0}),ZN=ci(QN),KN=Br({},Fm,{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}),JN=ci(KN),e6=[9,13,27,32],q_=Ya&&"CompositionEvent"in window,Nh=null;Ya&&"documentMode"in document&&(Nh=document.documentMode);var t6=Ya&&"TextEvent"in window&&!Nh,yk=Ya&&(!q_||Nh&&8<Nh&&11>=Nh),nE=String.fromCharCode(32),iE=!1;function xk(e,t){switch(e){case"keyup":return e6.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bk(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ps=!1;function r6(e,t){switch(e){case"compositionend":return bk(t);case"keypress":return t.which!==32?null:(iE=!0,nE);case"textInput":return e=t.data,e===nE&&iE?null:e;default:return null}}function n6(e,t){if(Ps)return e==="compositionend"||!q_&&xk(e,t)?(e=gk(),n0=W_=$o=null,Ps=!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 yk&&t.locale!=="ko"?null:t.data;default:return null}}var i6={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 aE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!i6[e.type]:t==="textarea"}function wk(e,t,r,n){ek(n),t=k0(t,"onChange"),0<t.length&&(r=new H_("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Lh=null,ad=null;function a6(e){Tk(e,0)}function Pm(e){var t=Ls(e);if(q5(t))return e}function o6(e,t){if(e==="change")return t}var _k=!1;if(Ya){var Ty;if(Ya){var Cy="oninput"in document;if(!Cy){var oE=document.createElement("div");oE.setAttribute("oninput","return;"),Cy=typeof oE.oninput=="function"}Ty=Cy}else Ty=!1;_k=Ty&&(!document.documentMode||9<document.documentMode)}function uE(){Lh&&(Lh.detachEvent("onpropertychange",Sk),ad=Lh=null)}function Sk(e){if(e.propertyName==="value"&&Pm(ad)){var t=[];if(wk(t,ad,e,N_(e)),e=a6,Ju)e(t);else{Ju=!0;try{L_(e,t)}finally{Ju=!1,$_()}}}}function u6(e,t,r){e==="focusin"?(uE(),Lh=t,ad=r,Lh.attachEvent("onpropertychange",Sk)):e==="focusout"&&uE()}function l6(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pm(ad)}function s6(e,t){if(e==="click")return Pm(t)}function f6(e,t){if(e==="input"||e==="change")return Pm(t)}function c6(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _i=typeof Object.is=="function"?Object.is:c6,h6=Object.prototype.hasOwnProperty;function od(e,t){if(_i(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++)if(!h6.call(t,r[n])||!_i(e[r[n]],t[r[n]]))return!1;return!0}function lE(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sE(e,t){var r=lE(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=lE(r)}}function Ek(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ek(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fE(){for(var e=window,t=A0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=A0(e.document)}return t}function zb(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")}var d6=Ya&&"documentMode"in document&&11>=document.documentMode,Ns=null,Ub=null,Dh=null,jb=!1;function cE(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;jb||Ns==null||Ns!==A0(n)||(n=Ns,"selectionStart"in n&&zb(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}),Dh&&od(Dh,n)||(Dh=n,n=k0(Ub,"onSelect"),0<n.length&&(t=new H_("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Ns)))}U_("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);U_("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);U_(wN,2);for(var hE="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Oy=0;Oy<hE.length;Oy++)z_.set(hE[Oy],0);uf("onMouseEnter",["mouseout","mouseover"]);uf("onMouseLeave",["mouseout","mouseover"]);uf("onPointerEnter",["pointerout","pointerover"]);uf("onPointerLeave",["pointerout","pointerover"]);wl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));wl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));wl("onBeforeInput",["compositionend","keypress","textInput","paste"]);wl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));wl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));wl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _h="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ak=new Set("cancel close invalid load scroll toggle".split(" ").concat(_h));function dE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,mN(n,t,void 0,e),e.currentTarget=null}function Tk(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var l=n[o],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&i.isPropagationStopped())break e;dE(i,l,c),a=s}else for(o=0;o<n.length;o++){if(l=n[o],s=l.instance,c=l.currentTarget,l=l.listener,s!==a&&i.isPropagationStopped())break e;dE(i,l,c),a=s}}}if(C0)throw e=Db,C0=!1,Db=null,e}function Pr(e,t){var r=Ik(t),n=e+"__bubble";r.has(n)||(Ok(t,e,2,!1),r.add(n))}var pE="_reactListening"+Math.random().toString(36).slice(2);function Ck(e){e[pE]||(e[pE]=!0,W5.forEach(function(t){Ak.has(t)||vE(t,!1,e,null),vE(t,!0,e,null)}))}function vE(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=r;if(e==="selectionchange"&&r.nodeType!==9&&(a=r.ownerDocument),n!==null&&!t&&Ak.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=Ik(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),Ok(a,e,i,t),o.add(l))}function Ok(e,t,r,n){var i=z_.get(t);switch(i===void 0?2:i){case 0:i=MN;break;case 1:i=IN;break;default:i=j_}r=i.bind(null,t,r,e),i=void 0,!Lb||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function kk(e,t,r,n,i){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var s=o.tag;if((s===3||s===4)&&(s=o.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;o=o.return}for(;l!==null;){if(o=el(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}hN(function(){var c=a,d=N_(r),y=[];e:{var g=vk.get(e);if(g!==void 0){var m=H_,E=e;switch(e){case"keypress":if(i0(r)===0)break e;case"keydown":case"keyup":m=VN;break;case"focusin":E="focus",m=Ay;break;case"focusout":E="blur",m=Ay;break;case"beforeblur":case"afterblur":m=Ay;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":m=eE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=PN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=XN;break;case ck:case hk:case dk:m=DN;break;case pk:m=ZN;break;case"scroll":m=RN;break;case"wheel":m=JN;break;case"copy":case"cut":case"paste":m=BN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=rE}var M=(t&4)!==0,b=!M&&e==="scroll",w=M?g!==null?g+"Capture":null:g;M=[];for(var _=c,C;_!==null;){C=_;var T=C.stateNode;if(C.tag===5&&T!==null&&(C=T,w!==null&&(T=td(_,w),T!=null&&M.push(ud(_,T,C)))),b)break;_=_.return}0<M.length&&(g=new m(g,E,null,r,d),y.push({event:g,listeners:M}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",g&&(t&16)===0&&(E=r.relatedTarget||r.fromElement)&&(el(E)||E[Tf]))break e;if((m||g)&&(g=d.window===d?d:(g=d.ownerDocument)?g.defaultView||g.parentWindow:window,m?(E=r.relatedTarget||r.toElement,m=c,E=E?el(E):null,E!==null&&(b=Sl(E),E!==b||E.tag!==5&&E.tag!==6)&&(E=null)):(m=null,E=c),m!==E)){if(M=eE,T="onMouseLeave",w="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(M=rE,T="onPointerLeave",w="onPointerEnter",_="pointer"),b=m==null?g:Ls(m),C=E==null?g:Ls(E),g=new M(T,_+"leave",m,r,d),g.target=b,g.relatedTarget=C,T=null,el(d)===c&&(M=new M(w,_+"enter",E,r,d),M.target=C,M.relatedTarget=b,T=M),b=T,m&&E)t:{for(M=m,w=E,_=0,C=M;C;C=ys(C))_++;for(C=0,T=w;T;T=ys(T))C++;for(;0<_-C;)M=ys(M),_--;for(;0<C-_;)w=ys(w),C--;for(;_--;){if(M===w||w!==null&&M===w.alternate)break t;M=ys(M),w=ys(w)}M=null}else M=null;m!==null&&mE(y,g,m,M,!1),E!==null&&b!==null&&mE(y,b,E,M,!0)}}e:{if(g=c?Ls(c):window,m=g.nodeName&&g.nodeName.toLowerCase(),m==="select"||m==="input"&&g.type==="file")var P=o6;else if(aE(g))if(_k)P=f6;else{P=l6;var D=u6}else(m=g.nodeName)&&m.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(P=s6);if(P&&(P=P(e,c))){wk(y,P,r,d);break e}D&&D(e,g,c),e==="focusout"&&(D=g._wrapperState)&&D.controlled&&g.type==="number"&&Ob(g,"number",g.value)}switch(D=c?Ls(c):window,e){case"focusin":(aE(D)||D.contentEditable==="true")&&(Ns=D,Ub=c,Dh=null);break;case"focusout":Dh=Ub=Ns=null;break;case"mousedown":jb=!0;break;case"contextmenu":case"mouseup":case"dragend":jb=!1,cE(y,r,d);break;case"selectionchange":if(d6)break;case"keydown":case"keyup":cE(y,r,d)}var Y;if(q_)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else Ps?xk(e,r)&&(j="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(j="onCompositionStart");j&&(yk&&r.locale!=="ko"&&(Ps||j!=="onCompositionStart"?j==="onCompositionEnd"&&Ps&&(Y=gk()):($o=d,W_="value"in $o?$o.value:$o.textContent,Ps=!0)),D=k0(c,j),0<D.length&&(j=new tE(j,e,null,r,d),y.push({event:j,listeners:D}),Y?j.data=Y:(Y=bk(r),Y!==null&&(j.data=Y)))),(Y=t6?r6(e,r):n6(e,r))&&(c=k0(c,"onBeforeInput"),0<c.length&&(d=new tE("onBeforeInput","beforeinput",null,r,d),y.push({event:d,listeners:c}),d.data=Y))}Tk(y,t)})}function ud(e,t,r){return{instance:e,listener:t,currentTarget:r}}function k0(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=td(e,r),a!=null&&n.unshift(ud(e,a,i)),a=td(e,t),a!=null&&n.push(ud(e,a,i))),e=e.return}return n}function ys(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mE(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var l=r,s=l.alternate,c=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&c!==null&&(l=c,i?(s=td(r,a),s!=null&&o.unshift(ud(r,s,l))):i||(s=td(r,a),s!=null&&o.push(ud(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function M0(){}var ky=null,My=null;function Mk(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gb(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var gE=typeof setTimeout=="function"?setTimeout:void 0,p6=typeof clearTimeout=="function"?clearTimeout:void 0;function Y_(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ys(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function yE(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 Iy=0;function v6(e){return{$$typeof:F_,toString:e,valueOf:e}}var Nm=Math.random().toString(36).slice(2),Bo="__reactFiber$"+Nm,I0="__reactProps$"+Nm,Tf="__reactContainer$"+Nm,xE="__reactEvents$"+Nm;function el(e){var t=e[Bo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Tf]||r[Bo]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=yE(e);e!==null;){if(r=e[Bo])return r;e=yE(e)}return t}e=r,r=e.parentNode}return null}function Cd(e){return e=e[Bo]||e[Tf],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ls(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(dt(33))}function Lm(e){return e[I0]||null}function Ik(e){var t=e[xE];return t===void 0&&(t=e[xE]=new Set),t}var Wb=[],Ds=-1;function su(e){return{current:e}}function Nr(e){0>Ds||(e.current=Wb[Ds],Wb[Ds]=null,Ds--)}function Wr(e,t){Ds++,Wb[Ds]=e.current,e.current=t}var eu={},Pn=su(eu),Zn=su(!1),ll=eu;function lf(e,t){var r=e.type.contextTypes;if(!r)return eu;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Kn(e){return e=e.childContextTypes,e!=null}function R0(){Nr(Zn),Nr(Pn)}function bE(e,t,r){if(Pn.current!==eu)throw Error(dt(168));Wr(Pn,t),Wr(Zn,r)}function Rk(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(dt(108,Ws(t)||"Unknown",i));return Br({},r,n)}function a0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||eu,ll=Pn.current,Wr(Pn,e),Wr(Zn,Zn.current),!0}function wE(e,t,r){var n=e.stateNode;if(!n)throw Error(dt(169));r?(e=Rk(e,t,ll),n.__reactInternalMemoizedMergedChildContext=e,Nr(Zn),Nr(Pn),Wr(Pn,e)):Nr(Zn),Wr(Zn,r)}var X_=null,il=null,m6=mn.unstable_runWithPriority,Q_=mn.unstable_scheduleCallback,Hb=mn.unstable_cancelCallback,g6=mn.unstable_shouldYield,_E=mn.unstable_requestPaint,Vb=mn.unstable_now,y6=mn.unstable_getCurrentPriorityLevel,Dm=mn.unstable_ImmediatePriority,Fk=mn.unstable_UserBlockingPriority,Pk=mn.unstable_NormalPriority,Nk=mn.unstable_LowPriority,Lk=mn.unstable_IdlePriority,Ry={},x6=_E!==void 0?_E:function(){},ja=null,o0=null,Fy=!1,SE=Vb(),Rn=1e4>SE?Vb:function(){return Vb()-SE};function sf(){switch(y6()){case Dm:return 99;case Fk:return 98;case Pk:return 97;case Nk:return 96;case Lk:return 95;default:throw Error(dt(332))}}function Dk(e){switch(e){case 99:return Dm;case 98:return Fk;case 97:return Pk;case 96:return Nk;case 95:return Lk;default:throw Error(dt(332))}}function sl(e,t){return e=Dk(e),m6(e,t)}function ld(e,t,r){return e=Dk(e),Q_(e,t,r)}function ya(){if(o0!==null){var e=o0;o0=null,Hb(e)}$k()}function $k(){if(!Fy&&ja!==null){Fy=!0;var e=0;try{var t=ja;sl(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),ja=null}catch(r){throw ja!==null&&(ja=ja.slice(e+1)),Q_(Dm,ya),r}finally{Fy=!1}}}var b6=_l.ReactCurrentBatchConfig;function Gi(e,t){if(e&&e.defaultProps){t=Br({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var F0=su(null),P0=null,$s=null,N0=null;function Z_(){N0=$s=P0=null}function K_(e){var t=F0.current;Nr(F0),e.type._context._currentValue=t}function Bk(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Xs(e,t){P0=e,N0=$s=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Wi=!0),e.firstContext=null)}function Ci(e,t){if(N0!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(N0=e,t=1073741823),t={context:e,observedBits:t,next:null},$s===null){if(P0===null)throw Error(dt(308));$s=t,P0.dependencies={lanes:0,firstContext:t,responders:null}}else $s=$s.next=t;return e._currentValue}var Ro=!1;function J_(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function zk(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 qo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yo(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function EE(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 sd(e,t,r,n){var i=e.updateQueue;Ro=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,c=s.next;s.next=null,o===null?a=c:o.next=c,o=s;var d=e.alternate;if(d!==null){d=d.updateQueue;var y=d.lastBaseUpdate;y!==o&&(y===null?d.firstBaseUpdate=c:y.next=c,d.lastBaseUpdate=s)}}if(a!==null){y=i.baseState,o=0,d=c=s=null;do{l=a.lane;var g=a.eventTime;if((n&l)===l){d!==null&&(d=d.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,E=a;switch(l=t,g=r,E.tag){case 1:if(m=E.payload,typeof m=="function"){y=m.call(g,y,l);break e}y=m;break e;case 3:m.flags=m.flags&-4097|64;case 0:if(m=E.payload,l=typeof m=="function"?m.call(g,y,l):m,l==null)break e;y=Br({},y,l);break e;case 2:Ro=!0}}a.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[a]:l.push(a))}else g={eventTime:g,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=g,s=y):d=d.next=g,o|=l;if(a=a.next,a===null){if(l=i.shared.pending,l===null)break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);d===null&&(s=y),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=d,kd|=o,e.lanes=o,e.memoizedState=y}}function AE(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(dt(191,i));i.call(n)}}}var Uk=new Om.Component().refs;function L0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Br({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var $m={isMounted:function(e){return(e=e._reactInternals)?Sl(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=fi(),i=Xo(e),a=qo(n,i);a.payload=t,r!=null&&(a.callback=r),Yo(e,a),Qo(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=fi(),i=Xo(e),a=qo(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Yo(e,a),Qo(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=fi(),n=Xo(e),i=qo(r,n);i.tag=2,t!=null&&(i.callback=t),Yo(e,i),Qo(e,n,r)}};function TE(e,t,r,n,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,o):t.prototype&&t.prototype.isPureReactComponent?!od(r,n)||!od(i,a):!0}function jk(e,t,r){var n=!1,i=eu,a=t.contextType;return typeof a=="object"&&a!==null?a=Ci(a):(i=Kn(t)?ll:Pn.current,n=t.contextTypes,a=(n=n!=null)?lf(e,i):eu),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$m,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function CE(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&&$m.enqueueReplaceState(t,t.state,null)}function qb(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Uk,J_(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Ci(a):(a=Kn(t)?ll:Pn.current,i.context=lf(e,a)),sd(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(L0(e,t,a,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&$m.enqueueReplaceState(i,i.state,null),sd(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var yv=Array.isArray;function Kc(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(dt(309));var n=r.stateNode}if(!n)throw Error(dt(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var o=n.refs;o===Uk&&(o=n.refs={}),a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(dt(284));if(!r._owner)throw Error(dt(290,e))}return e}function xv(e,t){if(e.type!=="textarea")throw Error(dt(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Gk(e){function t(b,w){if(e){var _=b.lastEffect;_!==null?(_.nextEffect=w,b.lastEffect=w):b.firstEffect=b.lastEffect=w,w.nextEffect=null,w.flags=8}}function r(b,w){if(!e)return null;for(;w!==null;)t(b,w),w=w.sibling;return null}function n(b,w){for(b=new Map;w!==null;)w.key!==null?b.set(w.key,w):b.set(w.index,w),w=w.sibling;return b}function i(b,w){return b=ru(b,w),b.index=0,b.sibling=null,b}function a(b,w,_){return b.index=_,e?(_=b.alternate,_!==null?(_=_.index,_<w?(b.flags=2,w):_):(b.flags=2,w)):w}function o(b){return e&&b.alternate===null&&(b.flags=2),b}function l(b,w,_,C){return w===null||w.tag!==6?(w=$y(_,b.mode,C),w.return=b,w):(w=i(w,_),w.return=b,w)}function s(b,w,_,C){return w!==null&&w.elementType===_.type?(C=i(w,_.props),C.ref=Kc(b,w,_),C.return=b,C):(C=f0(_.type,_.key,_.props,null,b.mode,C),C.ref=Kc(b,w,_),C.return=b,C)}function c(b,w,_,C){return w===null||w.tag!==4||w.stateNode.containerInfo!==_.containerInfo||w.stateNode.implementation!==_.implementation?(w=By(_,b.mode,C),w.return=b,w):(w=i(w,_.children||[]),w.return=b,w)}function d(b,w,_,C,T){return w===null||w.tag!==7?(w=Js(_,b.mode,C,T),w.return=b,w):(w=i(w,_),w.return=b,w)}function y(b,w,_){if(typeof w=="string"||typeof w=="number")return w=$y(""+w,b.mode,_),w.return=b,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case bh:return _=f0(w.type,w.key,w.props,null,b.mode,_),_.ref=Kc(b,null,w),_.return=b,_;case Ku:return w=By(w,b.mode,_),w.return=b,w}if(yv(w)||Vc(w))return w=Js(w,b.mode,_,null),w.return=b,w;xv(b,w)}return null}function g(b,w,_,C){var T=w!==null?w.key:null;if(typeof _=="string"||typeof _=="number")return T!==null?null:l(b,w,""+_,C);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case bh:return _.key===T?_.type===Lo?d(b,w,_.props.children,C,T):s(b,w,_,C):null;case Ku:return _.key===T?c(b,w,_,C):null}if(yv(_)||Vc(_))return T!==null?null:d(b,w,_,C,null);xv(b,_)}return null}function m(b,w,_,C,T){if(typeof C=="string"||typeof C=="number")return b=b.get(_)||null,l(w,b,""+C,T);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case bh:return b=b.get(C.key===null?_:C.key)||null,C.type===Lo?d(w,b,C.props.children,T,C.key):s(w,b,C,T);case Ku:return b=b.get(C.key===null?_:C.key)||null,c(w,b,C,T)}if(yv(C)||Vc(C))return b=b.get(_)||null,d(w,b,C,T,null);xv(w,C)}return null}function E(b,w,_,C){for(var T=null,P=null,D=w,Y=w=0,j=null;D!==null&&Y<_.length;Y++){D.index>Y?(j=D,D=null):j=D.sibling;var re=g(b,D,_[Y],C);if(re===null){D===null&&(D=j);break}e&&D&&re.alternate===null&&t(b,D),w=a(re,w,Y),P===null?T=re:P.sibling=re,P=re,D=j}if(Y===_.length)return r(b,D),T;if(D===null){for(;Y<_.length;Y++)D=y(b,_[Y],C),D!==null&&(w=a(D,w,Y),P===null?T=D:P.sibling=D,P=D);return T}for(D=n(b,D);Y<_.length;Y++)j=m(D,b,Y,_[Y],C),j!==null&&(e&&j.alternate!==null&&D.delete(j.key===null?Y:j.key),w=a(j,w,Y),P===null?T=j:P.sibling=j,P=j);return e&&D.forEach(function(Ee){return t(b,Ee)}),T}function M(b,w,_,C){var T=Vc(_);if(typeof T!="function")throw Error(dt(150));if(_=T.call(_),_==null)throw Error(dt(151));for(var P=T=null,D=w,Y=w=0,j=null,re=_.next();D!==null&&!re.done;Y++,re=_.next()){D.index>Y?(j=D,D=null):j=D.sibling;var Ee=g(b,D,re.value,C);if(Ee===null){D===null&&(D=j);break}e&&D&&Ee.alternate===null&&t(b,D),w=a(Ee,w,Y),P===null?T=Ee:P.sibling=Ee,P=Ee,D=j}if(re.done)return r(b,D),T;if(D===null){for(;!re.done;Y++,re=_.next())re=y(b,re.value,C),re!==null&&(w=a(re,w,Y),P===null?T=re:P.sibling=re,P=re);return T}for(D=n(b,D);!re.done;Y++,re=_.next())re=m(D,b,Y,re.value,C),re!==null&&(e&&re.alternate!==null&&D.delete(re.key===null?Y:re.key),w=a(re,w,Y),P===null?T=re:P.sibling=re,P=re);return e&&D.forEach(function(me){return t(b,me)}),T}return function(b,w,_,C){var T=typeof _=="object"&&_!==null&&_.type===Lo&&_.key===null;T&&(_=_.props.children);var P=typeof _=="object"&&_!==null;if(P)switch(_.$$typeof){case bh:e:{for(P=_.key,T=w;T!==null;){if(T.key===P){switch(T.tag){case 7:if(_.type===Lo){r(b,T.sibling),w=i(T,_.props.children),w.return=b,b=w;break e}break;default:if(T.elementType===_.type){r(b,T.sibling),w=i(T,_.props),w.ref=Kc(b,T,_),w.return=b,b=w;break e}}r(b,T);break}else t(b,T);T=T.sibling}_.type===Lo?(w=Js(_.props.children,b.mode,C,_.key),w.return=b,b=w):(C=f0(_.type,_.key,_.props,null,b.mode,C),C.ref=Kc(b,w,_),C.return=b,b=C)}return o(b);case Ku:e:{for(T=_.key;w!==null;){if(w.key===T)if(w.tag===4&&w.stateNode.containerInfo===_.containerInfo&&w.stateNode.implementation===_.implementation){r(b,w.sibling),w=i(w,_.children||[]),w.return=b,b=w;break e}else{r(b,w);break}else t(b,w);w=w.sibling}w=By(_,b.mode,C),w.return=b,b=w}return o(b)}if(typeof _=="string"||typeof _=="number")return _=""+_,w!==null&&w.tag===6?(r(b,w.sibling),w=i(w,_),w.return=b,b=w):(r(b,w),w=$y(_,b.mode,C),w.return=b,b=w),o(b);if(yv(_))return E(b,w,_,C);if(Vc(_))return M(b,w,_,C);if(P&&xv(b,_),typeof _>"u"&&!T)switch(b.tag){case 1:case 22:case 0:case 11:case 15:throw Error(dt(152,Ws(b.type)||"Component"))}return r(b,w)}}var D0=Gk(!0),Wk=Gk(!1),Od={},ha=su(Od),fd=su(Od),cd=su(Od);function tl(e){if(e===Od)throw Error(dt(174));return e}function Yb(e,t){switch(Wr(cd,t),Wr(fd,e),Wr(ha,Od),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rb(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rb(t,e)}Nr(ha),Wr(ha,t)}function ff(){Nr(ha),Nr(fd),Nr(cd)}function OE(e){tl(cd.current);var t=tl(ha.current),r=Rb(t,e.type);t!==r&&(Wr(fd,e),Wr(ha,r))}function e2(e){fd.current===e&&(Nr(ha),Nr(fd))}var Gr=su(0);function $0(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&64)!==0)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 Wa=null,zo=null,da=!1;function Hk(e,t){var r=Si(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function kE(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,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Xb(e){if(da){var t=zo;if(t){var r=t;if(!kE(e,t)){if(t=Ys(r.nextSibling),!t||!kE(e,t)){e.flags=e.flags&-1025|2,da=!1,Wa=e;return}Hk(Wa,r)}Wa=e,zo=Ys(t.firstChild)}else e.flags=e.flags&-1025|2,da=!1,Wa=e}}function ME(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Wa=e}function bv(e){if(e!==Wa)return!1;if(!da)return ME(e),da=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Gb(t,e.memoizedProps))for(t=zo;t;)Hk(e,t),t=Ys(t.nextSibling);if(ME(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(dt(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){zo=Ys(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}zo=null}}else zo=Wa?Ys(e.stateNode.nextSibling):null;return!0}function Py(){zo=Wa=null,da=!1}var Qs=[];function t2(){for(var e=0;e<Qs.length;e++)Qs[e]._workInProgressVersionPrimary=null;Qs.length=0}var $h=_l.ReactCurrentDispatcher,Ai=_l.ReactCurrentBatchConfig,hd=0,Yr=null,In=null,Sn=null,B0=!1,Bh=!1;function Yn(){throw Error(dt(321))}function r2(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!_i(e[r],t[r]))return!1;return!0}function n2(e,t,r,n,i,a){if(hd=a,Yr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$h.current=e===null||e.memoizedState===null?_6:S6,e=r(n,i),Bh){a=0;do{if(Bh=!1,!(25>a))throw Error(dt(301));a+=1,Sn=In=null,t.updateQueue=null,$h.current=E6,e=r(n,i)}while(Bh)}if($h.current=G0,t=In!==null&&In.next!==null,hd=0,Sn=In=Yr=null,B0=!1,t)throw Error(dt(300));return e}function rl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sn===null?Yr.memoizedState=Sn=e:Sn=Sn.next=e,Sn}function El(){if(In===null){var e=Yr.alternate;e=e!==null?e.memoizedState:null}else e=In.next;var t=Sn===null?Yr.memoizedState:Sn.next;if(t!==null)Sn=t,In=e;else{if(e===null)throw Error(dt(310));In=e,e={memoizedState:In.memoizedState,baseState:In.baseState,baseQueue:In.baseQueue,queue:In.queue,next:null},Sn===null?Yr.memoizedState=Sn=e:Sn=Sn.next=e}return Sn}function sa(e,t){return typeof t=="function"?t(e):t}function Jc(e){var t=El(),r=t.queue;if(r===null)throw Error(dt(311));r.lastRenderedReducer=e;var n=In,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=o=a=null,s=i;do{var c=s.lane;if((hd&c)===c)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var d={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(o=l=d,a=n):l=l.next=d,Yr.lanes|=c,kd|=c}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,_i(n,t.memoizedState)||(Wi=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function eh(e){var t=El(),r=t.queue;if(r===null)throw Error(dt(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);_i(a,t.memoizedState)||(Wi=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function IE(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(hd&e)===e)&&(t._workInProgressVersionPrimary=n,Qs.push(t))),e)return r(t._source);throw Qs.push(t),Error(dt(350))}function Vk(e,t,r,n){var i=Un;if(i===null)throw Error(dt(349));var a=t._getVersion,o=a(t._source),l=$h.current,s=l.useState(function(){return IE(i,t,r)}),c=s[1],d=s[0];s=Sn;var y=e.memoizedState,g=y.refs,m=g.getSnapshot,E=y.source;y=y.subscribe;var M=Yr;return e.memoizedState={refs:g,source:t,subscribe:n},l.useEffect(function(){g.getSnapshot=r,g.setSnapshot=c;var b=a(t._source);if(!_i(o,b)){b=r(t._source),_i(d,b)||(c(b),b=Xo(M),i.mutableReadLanes|=b&i.pendingLanes),b=i.mutableReadLanes,i.entangledLanes|=b;for(var w=i.entanglements,_=b;0<_;){var C=31-Jo(_),T=1<<C;w[C]|=b,_&=~T}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var b=g.getSnapshot,w=g.setSnapshot;try{w(b(t._source));var _=Xo(M);i.mutableReadLanes|=_&i.pendingLanes}catch(C){w(function(){throw C})}})},[t,n]),_i(m,r)&&_i(E,t)&&_i(y,n)||(e={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:d},e.dispatch=c=o2.bind(null,Yr,e),s.queue=e,s.baseQueue=null,d=IE(i,t,r),s.memoizedState=s.baseState=d),d}function qk(e,t,r){var n=El();return Vk(n,e,t,r)}function th(e){var t=rl();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e},e=e.dispatch=o2.bind(null,Yr,e),[t.memoizedState,e]}function z0(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Yr.updateQueue,t===null?(t={lastEffect:null},Yr.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 RE(e){var t=rl();return e={current:e},t.memoizedState=e}function U0(){return El().memoizedState}function Qb(e,t,r,n){var i=rl();Yr.flags|=e,i.memoizedState=z0(1|t,r,void 0,n===void 0?null:n)}function i2(e,t,r,n){var i=El();n=n===void 0?null:n;var a=void 0;if(In!==null){var o=In.memoizedState;if(a=o.destroy,n!==null&&r2(n,o.deps)){z0(t,r,a,n);return}}Yr.flags|=e,i.memoizedState=z0(1|t,r,a,n)}function FE(e,t){return Qb(516,4,e,t)}function j0(e,t){return i2(516,4,e,t)}function Yk(e,t){return i2(4,2,e,t)}function Xk(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 Qk(e,t,r){return r=r!=null?r.concat([e]):null,i2(4,2,Xk.bind(null,t,e),r)}function a2(){}function Zk(e,t){var r=El();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&r2(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Kk(e,t){var r=El();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&r2(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function w6(e,t){var r=sf();sl(98>r?98:r,function(){e(!0)}),sl(97<r?97:r,function(){var n=Ai.transition;Ai.transition=1;try{e(!1),t()}finally{Ai.transition=n}})}function o2(e,t,r){var n=fi(),i=Xo(e),a={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(o===null?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Yr||o!==null&&o===Yr)Bh=B0=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,r);if(a.eagerReducer=o,a.eagerState=s,_i(s,l))return}catch{}finally{}Qo(e,i,n)}}var G0={readContext:Ci,useCallback:Yn,useContext:Yn,useEffect:Yn,useImperativeHandle:Yn,useLayoutEffect:Yn,useMemo:Yn,useReducer:Yn,useRef:Yn,useState:Yn,useDebugValue:Yn,useDeferredValue:Yn,useTransition:Yn,useMutableSource:Yn,useOpaqueIdentifier:Yn,unstable_isNewReconciler:!1},_6={readContext:Ci,useCallback:function(e,t){return rl().memoizedState=[e,t===void 0?null:t],e},useContext:Ci,useEffect:FE,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Qb(4,2,Xk.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Qb(4,2,e,t)},useMemo:function(e,t){var r=rl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=rl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=o2.bind(null,Yr,e),[n.memoizedState,e]},useRef:RE,useState:th,useDebugValue:a2,useDeferredValue:function(e){var t=th(e),r=t[0],n=t[1];return FE(function(){var i=Ai.transition;Ai.transition=1;try{n(e)}finally{Ai.transition=i}},[e]),r},useTransition:function(){var e=th(!1),t=e[0];return e=w6.bind(null,e[1]),RE(e),[e,t]},useMutableSource:function(e,t,r){var n=rl();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},Vk(n,e,t,r)},useOpaqueIdentifier:function(){if(da){var e=!1,t=v6(function(){throw e||(e=!0,r("r:"+(Iy++).toString(36))),Error(dt(355))}),r=th(t)[1];return(Yr.mode&2)===0&&(Yr.flags|=516,z0(5,function(){r("r:"+(Iy++).toString(36))},void 0,null)),t}return t="r:"+(Iy++).toString(36),th(t),t},unstable_isNewReconciler:!1},S6={readContext:Ci,useCallback:Zk,useContext:Ci,useEffect:j0,useImperativeHandle:Qk,useLayoutEffect:Yk,useMemo:Kk,useReducer:Jc,useRef:U0,useState:function(){return Jc(sa)},useDebugValue:a2,useDeferredValue:function(e){var t=Jc(sa),r=t[0],n=t[1];return j0(function(){var i=Ai.transition;Ai.transition=1;try{n(e)}finally{Ai.transition=i}},[e]),r},useTransition:function(){var e=Jc(sa)[0];return[U0().current,e]},useMutableSource:qk,useOpaqueIdentifier:function(){return Jc(sa)[0]},unstable_isNewReconciler:!1},E6={readContext:Ci,useCallback:Zk,useContext:Ci,useEffect:j0,useImperativeHandle:Qk,useLayoutEffect:Yk,useMemo:Kk,useReducer:eh,useRef:U0,useState:function(){return eh(sa)},useDebugValue:a2,useDeferredValue:function(e){var t=eh(sa),r=t[0],n=t[1];return j0(function(){var i=Ai.transition;Ai.transition=1;try{n(e)}finally{Ai.transition=i}},[e]),r},useTransition:function(){var e=eh(sa)[0];return[U0().current,e]},useMutableSource:qk,useOpaqueIdentifier:function(){return eh(sa)[0]},unstable_isNewReconciler:!1},A6=_l.ReactCurrentOwner,Wi=!1;function Xn(e,t,r,n){t.child=e===null?Wk(t,null,r,n):D0(t,e.child,r,n)}function PE(e,t,r,n,i){r=r.render;var a=t.ref;return Xs(t,i),n=n2(e,t,r,n,a,i),e!==null&&!Wi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Ha(e,t,i)):(t.flags|=1,Xn(e,t,n,i),t.child)}function NE(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!h2(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,Jk(e,t,o,n,i,a)):(e=f0(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,(i&a)===0&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:od,r(i,n)&&e.ref===t.ref)?Ha(e,t,a):(t.flags|=1,e=ru(o,n),e.ref=t.ref,e.return=t,t.child=e)}function Jk(e,t,r,n,i,a){if(e!==null&&od(e.memoizedProps,n)&&e.ref===t.ref)if(Wi=!1,(a&i)!==0)(e.flags&16384)!==0&&(Wi=!0);else return t.lanes=e.lanes,Ha(e,t,a);return Zb(e,t,r,n,a)}function Ny(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},_v(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},_v(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},_v(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,_v(t,n);return Xn(e,t,i,r),t.child}function eM(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Zb(e,t,r,n,i){var a=Kn(r)?ll:Pn.current;return a=lf(t,a),Xs(t,i),r=n2(e,t,r,n,a,i),e!==null&&!Wi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Ha(e,t,i)):(t.flags|=1,Xn(e,t,r,i),t.child)}function LE(e,t,r,n,i){if(Kn(r)){var a=!0;a0(t)}else a=!1;if(Xs(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),jk(t,r,n),qb(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,c=r.contextType;typeof c=="object"&&c!==null?c=Ci(c):(c=Kn(r)?ll:Pn.current,c=lf(t,c));var d=r.getDerivedStateFromProps,y=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";y||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==n||s!==c)&&CE(t,o,n,c),Ro=!1;var g=t.memoizedState;o.state=g,sd(t,n,o,i),s=t.memoizedState,l!==n||g!==s||Zn.current||Ro?(typeof d=="function"&&(L0(t,r,d,n),s=t.memoizedState),(l=Ro||TE(t,r,l,n,g,s,c))?(y||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),o.props=n,o.state=s,o.context=c,n=l):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,zk(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Gi(t.type,l),o.props=c,y=t.pendingProps,g=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Ci(s):(s=Kn(r)?ll:Pn.current,s=lf(t,s));var m=r.getDerivedStateFromProps;(d=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==y||g!==s)&&CE(t,o,n,s),Ro=!1,g=t.memoizedState,o.state=g,sd(t,n,o,i);var E=t.memoizedState;l!==y||g!==E||Zn.current||Ro?(typeof m=="function"&&(L0(t,r,m,n),E=t.memoizedState),(c=Ro||TE(t,r,c,n,g,E,s))?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,E,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,E,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=E),o.props=n,o.state=E,o.context=s,n=c):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),n=!1)}return Kb(e,t,r,n,a,i)}function Kb(e,t,r,n,i,a){eM(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&wE(t,r,!1),Ha(e,t,a);n=t.stateNode,A6.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=D0(t,e.child,null,a),t.child=D0(t,null,l,a)):Xn(e,t,l,a),t.memoizedState=n.state,i&&wE(t,r,!0),t.child}function DE(e){var t=e.stateNode;t.pendingContext?bE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&bE(e,t.context,!1),Yb(e,t.containerInfo)}var wv={dehydrated:null,retryLane:0};function $E(e,t,r){var n=t.pendingProps,i=Gr.current,a=!1,o;return(o=(t.flags&64)!==0)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Wr(Gr,i&1),e===null?(n.fallback!==void 0&&Xb(t),e=n.children,i=n.fallback,a?(e=BE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=wv,e):typeof n.unstable_expectedLoadTime=="number"?(e=BE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=wv,t.lanes=33554432,e):(r=d2({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=UE(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=wv,n):(r=zE(e,t,n.children,r),t.memoizedState=null,r):a?(n=UE(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=wv,n):(r=zE(e,t,n.children,r),t.memoizedState=null,r)}function BE(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},(i&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=d2(t,i,0,null),r=Js(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function zE(e,t,r,n){var i=e.child;return e=i.sibling,r=ru(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function UE(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=ru(o,l),e!==null?n=ru(e,n):(n=Js(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function jE(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Bk(e.return,t)}function Ly(e,t,r,n,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i,o.lastEffect=a)}function GE(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(Xn(e,t,n.children,r),n=Gr.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&jE(e,r);else if(e.tag===19)jE(e,r);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(Wr(Gr,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&$0(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Ly(t,!1,i,r,a,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&$0(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Ly(t,!0,r,null,a,t.lastEffect);break;case"together":Ly(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ha(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),kd|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(dt(153));if(t.child!==null){for(e=t.child,r=ru(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ru(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var tM,Jb,rM,nM;tM=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}};Jb=function(){};rM=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,tl(ha.current);var a=null;switch(r){case"input":i=Tb(e,i),n=Tb(e,n),a=[];break;case"option":i=kb(e,i),n=kb(e,n),a=[];break;case"select":i=Br({},i,{value:void 0}),n=Br({},n,{value:void 0}),a=[];break;case"textarea":i=Mb(e,i),n=Mb(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=M0)}Fb(r,n);var o;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Jh.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var s=n[c];if(l=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&s!==l&&(s!=null||l!=null))if(c==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(a||(a=[]),a.push(c,r)),r=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Jh.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&Pr("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===F_?s.toString():(a=a||[]).push(c,s))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};nM=function(e,t,r,n){r!==n&&(t.flags|=4)};function rh(e,t){if(!da)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 T6(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Kn(t.type)&&R0(),null;case 3:return ff(),Nr(Zn),Nr(Pn),t2(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(bv(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Jb(t),null;case 5:e2(t);var i=tl(cd.current);if(r=t.type,e!==null&&t.stateNode!=null)rM(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(dt(166));return null}if(e=tl(ha.current),bv(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Bo]=t,n[I0]=a,r){case"dialog":Pr("cancel",n),Pr("close",n);break;case"iframe":case"object":case"embed":Pr("load",n);break;case"video":case"audio":for(e=0;e<_h.length;e++)Pr(_h[e],n);break;case"source":Pr("error",n);break;case"img":case"image":case"link":Pr("error",n),Pr("load",n);break;case"details":Pr("toggle",n);break;case"input":GS(n,a),Pr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Pr("invalid",n);break;case"textarea":HS(n,a),Pr("invalid",n)}Fb(r,a),e=null;for(var o in a)a.hasOwnProperty(o)&&(i=a[o],o==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Jh.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Pr("scroll",n));switch(r){case"input":pv(n),WS(n,a,!0);break;case"textarea":pv(n),VS(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=M0)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===Ib.html&&(e=Q5(r)),e===Ib.html?r==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[Bo]=t,e[I0]=n,tM(e,t,!1,!1),t.stateNode=e,o=Pb(r,n),r){case"dialog":Pr("cancel",e),Pr("close",e),i=n;break;case"iframe":case"object":case"embed":Pr("load",e),i=n;break;case"video":case"audio":for(i=0;i<_h.length;i++)Pr(_h[i],e);i=n;break;case"source":Pr("error",e),i=n;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),i=n;break;case"details":Pr("toggle",e),i=n;break;case"input":GS(e,n),i=Tb(e,n),Pr("invalid",e);break;case"option":i=kb(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Br({},n,{value:void 0}),Pr("invalid",e);break;case"textarea":HS(e,n),i=Mb(e,n),Pr("invalid",e);break;default:i=n}Fb(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?J5(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Z5(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&ed(e,s):typeof s=="number"&&ed(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Jh.hasOwnProperty(a)?s!=null&&a==="onScroll"&&Pr("scroll",e):s!=null&&C_(e,a,s,o))}switch(r){case"input":pv(e),WS(e,n,!1);break;case"textarea":pv(e),VS(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Ko(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Hs(e,!!n.multiple,a,!1):n.defaultValue!=null&&Hs(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=M0)}Mk(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)nM(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(dt(166));r=tl(cd.current),tl(ha.current),bv(t)?(n=t.stateNode,r=t.memoizedProps,n[Bo]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Bo]=t,t.stateNode=n)}return null;case 13:return Nr(Gr),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&bv(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Gr.current&1)!==0?En===0&&(En=3):((En===0||En===3)&&(En=4),Un===null||(kd&134217727)===0&&(Of&134217727)===0||Zs(Un,Fn))),(n||r)&&(t.flags|=4),null);case 4:return ff(),Jb(t),e===null&&Ck(t.stateNode.containerInfo),null;case 10:return K_(t),null;case 17:return Kn(t.type)&&R0(),null;case 19:if(Nr(Gr),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)rh(n,!1);else{if(En!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=$0(e),o!==null){for(t.flags|=64,rh(n,!1),a=o.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Wr(Gr,Gr.current&1|2),t.child}e=e.sibling}n.tail!==null&&Rn()>aw&&(t.flags|=64,a=!0,rh(n,!1),t.lanes=33554432)}else{if(!a)if(e=$0(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),rh(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!da)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Rn()-n.renderingStartTime>aw&&r!==1073741824&&(t.flags|=64,a=!0,rh(n,!1),t.lanes=33554432);n.isBackwards?(o.sibling=t.child,t.child=o):(r=n.last,r!==null?r.sibling=o:t.child=o,n.last=o)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Rn(),r.sibling=null,t=Gr.current,Wr(Gr,a?t&1|2:t&1),r):null;case 23:case 24:return c2(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(dt(156,t.tag))}function C6(e){switch(e.tag){case 1:Kn(e.type)&&R0();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(ff(),Nr(Zn),Nr(Pn),t2(),t=e.flags,(t&64)!==0)throw Error(dt(285));return e.flags=t&-4097|64,e;case 5:return e2(e),null;case 13:return Nr(Gr),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Nr(Gr),null;case 4:return ff(),null;case 10:return K_(e),null;case 23:case 24:return c2(),null;default:return null}}function u2(e,t){try{var r="",n=t;do r+=uN(n),n=n.return;while(n);var i=r}catch(a){i=`
|
|
31
|
-
Error generating stack: `+a.message+`
|
|
32
|
-
`+a.stack}return{value:e,source:t,stack:i}}function ew(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var O6=typeof WeakMap=="function"?WeakMap:Map;function iM(e,t,r){r=qo(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){H0||(H0=!0,ow=n),ew(e,t)},r}function aM(e,t,r){r=qo(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return ew(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(fa===null?fa=new Set([this]):fa.add(this),ew(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var k6=typeof WeakSet=="function"?WeakSet:Set;function WE(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Zo(e,r)}else t.current=null}function M6(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Gi(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Y_(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(dt(163))}function I6(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(pM(r,e),B6(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Gi(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&AE(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}AE(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Mk(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&sk(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(dt(163))}function HE(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=K5("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function VE(e,t){if(il&&typeof il.onCommitFiberUnmount=="function")try{il.onCommitFiberUnmount(X_,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)pM(t,r);else{n=t;try{i()}catch(a){Zo(n,a)}}r=r.next}while(r!==e)}break;case 1:if(WE(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Zo(t,a)}break;case 5:WE(t);break;case 4:oM(e,t)}}function qE(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function YE(e){return e.tag===5||e.tag===3||e.tag===4}function XE(e){e:{for(var t=e.return;t!==null;){if(YE(t))break e;t=t.return}throw Error(dt(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(dt(161))}r.flags&16&&(ed(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||YE(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?tw(e,r,t):rw(e,r,t)}function tw(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,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=M0));else if(n!==4&&(e=e.child,e!==null))for(tw(e,t,r),e=e.sibling;e!==null;)tw(e,t,r),e=e.sibling}function rw(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(rw(e,t,r),e=e.sibling;e!==null;)rw(e,t,r),e=e.sibling}function oM(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(dt(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,l=r,s=l;;)if(VE(o,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(o=i,l=r.stateNode,o.nodeType===8?o.parentNode.removeChild(l):o.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(VE(e,r),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.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Dy(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(r[I0]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Y5(r,n),Pb(e,i),t=Pb(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?J5(r,l):o==="dangerouslySetInnerHTML"?Z5(r,l):o==="children"?ed(r,l):C_(r,o,l,t)}switch(e){case"input":Cb(r,n);break;case"textarea":X5(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Hs(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Hs(r,!!n.multiple,n.defaultValue,!0):Hs(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(dt(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,sk(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(f2=Rn(),HE(t.child,!0)),QE(t);return;case 19:QE(t);return;case 17:return;case 23:case 24:HE(t,t.memoizedState!==null);return}throw Error(dt(163))}function QE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new k6),t.forEach(function(n){var i=j6.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function R6(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var F6=Math.ceil,W0=_l.ReactCurrentDispatcher,l2=_l.ReactCurrentOwner,Jt=0,Un=null,sn=null,Fn=0,fl=0,nw=su(0),En=0,Bm=null,Cf=0,kd=0,Of=0,s2=0,iw=null,f2=0,aw=1/0;function kf(){aw=Rn()+500}var $t=null,H0=!1,ow=null,fa=null,tu=!1,zh=null,Sh=90,uw=[],lw=[],qa=null,Uh=0,sw=null,u0=-1,Ga=0,l0=0,jh=null,s0=!1;function fi(){return(Jt&48)!==0?Rn():u0!==-1?u0:u0=Rn()}function Xo(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return sf()===99?1:2;if(Ga===0&&(Ga=Cf),b6.transition!==0){l0!==0&&(l0=iw!==null?iw.pendingLanes:0),e=Ga;var t=4186112&~l0;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=sf(),(Jt&4)!==0&&e===98?e=O0(12,Ga):(e=SN(e),e=O0(e,Ga)),e}function Qo(e,t,r){if(50<Uh)throw Uh=0,sw=null,Error(dt(185));if(e=zm(e,t),e===null)return null;Rm(e,t,r),e===Un&&(Of|=t,En===4&&Zs(e,Fn));var n=sf();t===1?(Jt&8)!==0&&(Jt&48)===0?fw(e):(Oi(e,r),Jt===0&&(kf(),ya())):((Jt&4)===0||n!==98&&n!==99||(qa===null?qa=new Set([e]):qa.add(e)),Oi(e,r)),iw=e}function zm(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}function Oi(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Jo(o),s=1<<l,c=a[l];if(c===-1){if((s&n)===0||(s&i)!==0){c=t,Os(s);var d=Fr;a[l]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);o&=~s}if(n=id(e,e===Un?Fn:0),t=Fr,n===0)r!==null&&(r!==Ry&&Hb(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Ry&&Hb(r)}t===15?(r=fw.bind(null,e),ja===null?(ja=[r],o0=Q_(Dm,$k)):ja.push(r),r=Ry):t===14?r=ld(99,fw.bind(null,e)):(r=EN(t),r=ld(r,uM.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function uM(e){if(u0=-1,l0=Ga=0,(Jt&48)!==0)throw Error(dt(327));var t=e.callbackNode;if(fu()&&e.callbackNode!==t)return null;var r=id(e,e===Un?Fn:0);if(r===0)return null;var n=r,i=Jt;Jt|=16;var a=cM();(Un!==e||Fn!==n)&&(kf(),Ks(e,n));do try{L6();break}catch(l){fM(e,l)}while(1);if(Z_(),W0.current=a,Jt=i,sn!==null?n=0:(Un=null,Fn=0,n=En),(Cf&Of)!==0)Ks(e,0);else if(n!==0){if(n===2&&(Jt|=64,e.hydrate&&(e.hydrate=!1,Y_(e.containerInfo)),r=mk(e),r!==0&&(n=Eh(e,r))),n===1)throw t=Bm,Ks(e,0),Zs(e,r),Oi(e,Rn()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(dt(345));case 2:Vu(e);break;case 3:if(Zs(e,r),(r&62914560)===r&&(n=f2+500-Rn(),10<n)){if(id(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){fi(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=gE(Vu.bind(null,e),n);break}Vu(e);break;case 4:if(Zs(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Jo(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=Rn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*F6(r/1960))-r,10<r){e.timeoutHandle=gE(Vu.bind(null,e),r);break}Vu(e);break;case 5:Vu(e);break;default:throw Error(dt(329))}}return Oi(e,Rn()),e.callbackNode===t?uM.bind(null,e):null}function Zs(e,t){for(t&=~s2,t&=~Of,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Jo(t),n=1<<r;e[r]=-1,t&=~n}}function fw(e){if((Jt&48)!==0)throw Error(dt(327));if(fu(),e===Un&&(e.expiredLanes&Fn)!==0){var t=Fn,r=Eh(e,t);(Cf&Of)!==0&&(t=id(e,t),r=Eh(e,t))}else t=id(e,0),r=Eh(e,t);if(e.tag!==0&&r===2&&(Jt|=64,e.hydrate&&(e.hydrate=!1,Y_(e.containerInfo)),t=mk(e),t!==0&&(r=Eh(e,t))),r===1)throw r=Bm,Ks(e,0),Zs(e,t),Oi(e,Rn()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Vu(e),Oi(e,Rn()),null}function P6(){if(qa!==null){var e=qa;qa=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Oi(t,Rn())})}ya()}function lM(e,t){var r=Jt;Jt|=1;try{return e(t)}finally{Jt=r,Jt===0&&(kf(),ya())}}function sM(e,t){var r=Jt;Jt&=-2,Jt|=8;try{return e(t)}finally{Jt=r,Jt===0&&(kf(),ya())}}function _v(e,t){Wr(nw,fl),fl|=t,Cf|=t}function c2(){fl=nw.current,Nr(nw)}function Ks(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,p6(r)),sn!==null)for(r=sn.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&R0();break;case 3:ff(),Nr(Zn),Nr(Pn),t2();break;case 5:e2(n);break;case 4:ff();break;case 13:Nr(Gr);break;case 19:Nr(Gr);break;case 10:K_(n);break;case 23:case 24:c2()}r=r.return}Un=e,sn=ru(e.current,null),Fn=fl=Cf=t,En=0,Bm=null,s2=Of=kd=0}function fM(e,t){do{var r=sn;try{if(Z_(),$h.current=G0,B0){for(var n=Yr.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}B0=!1}if(hd=0,Sn=In=Yr=null,Bh=!1,l2.current=null,r===null||r.return===null){En=1,Bm=t,sn=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=Fn,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s;if((l.mode&2)===0){var d=l.alternate;d?(l.updateQueue=d.updateQueue,l.memoizedState=d.memoizedState,l.lanes=d.lanes):(l.updateQueue=null,l.memoizedState=null)}var y=(Gr.current&1)!==0,g=o;do{var m;if(m=g.tag===13){var E=g.memoizedState;if(E!==null)m=E.dehydrated!==null;else{var M=g.memoizedProps;m=M.fallback===void 0?!1:M.unstable_avoidThisFallback!==!0?!0:!y}}if(m){var b=g.updateQueue;if(b===null){var w=new Set;w.add(c),g.updateQueue=w}else b.add(c);if((g.mode&2)===0){if(g.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var _=qo(-1,1);_.tag=2,Yo(l,_)}l.lanes|=1;break e}s=void 0,l=t;var C=a.pingCache;if(C===null?(C=a.pingCache=new O6,s=new Set,C.set(c,s)):(s=C.get(c),s===void 0&&(s=new Set,C.set(c,s))),!s.has(l)){s.add(l);var T=U6.bind(null,a,c,l);c.then(T,T)}g.flags|=4096,g.lanes=t;break e}g=g.return}while(g!==null);s=Error((Ws(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
33
|
-
|
|
34
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}En!==5&&(En=2),s=u2(s,l),g=o;do{switch(g.tag){case 3:a=s,g.flags|=4096,t&=-t,g.lanes|=t;var P=iM(g,a,t);EE(g,P);break e;case 1:a=s;var D=g.type,Y=g.stateNode;if((g.flags&64)===0&&(typeof D.getDerivedStateFromError=="function"||Y!==null&&typeof Y.componentDidCatch=="function"&&(fa===null||!fa.has(Y)))){g.flags|=4096,t&=-t,g.lanes|=t;var j=aM(g,a,t);EE(g,j);break e}}g=g.return}while(g!==null)}dM(r)}catch(re){t=re,sn===r&&r!==null&&(sn=r=r.return);continue}break}while(1)}function cM(){var e=W0.current;return W0.current=G0,e===null?G0:e}function Eh(e,t){var r=Jt;Jt|=16;var n=cM();Un===e&&Fn===t||Ks(e,t);do try{N6();break}catch(i){fM(e,i)}while(1);if(Z_(),Jt=r,W0.current=n,sn!==null)throw Error(dt(261));return Un=null,Fn=0,En}function N6(){for(;sn!==null;)hM(sn)}function L6(){for(;sn!==null&&!g6();)hM(sn)}function hM(e){var t=vM(e.alternate,e,fl);e.memoizedProps=e.pendingProps,t===null?dM(e):sn=t,l2.current=null}function dM(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=T6(r,t,fl),r!==null){sn=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(fl&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=C6(t),r!==null){r.flags&=2047,sn=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){sn=t;return}sn=t=e}while(t!==null);En===0&&(En=5)}function Vu(e){var t=sf();return sl(99,D6.bind(null,e,t)),null}function D6(e,t){do fu();while(zh!==null);if((Jt&48)!==0)throw Error(dt(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(dt(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Jo(a),c=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~c}if(qa!==null&&(n&24)===0&&qa.has(e)&&qa.delete(e),e===Un&&(sn=Un=null,Fn=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Jt,Jt|=32,l2.current=null,ky=r0,o=fE(),zb(o)){if("selectionStart"in o)l={start:o.selectionStart,end:o.selectionEnd};else e:if(l=(l=o.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&c.rangeCount!==0){l=c.anchorNode,a=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var d=0,y=-1,g=-1,m=0,E=0,M=o,b=null;t:for(;;){for(var w;M!==l||a!==0&&M.nodeType!==3||(y=d+a),M!==s||c!==0&&M.nodeType!==3||(g=d+c),M.nodeType===3&&(d+=M.nodeValue.length),(w=M.firstChild)!==null;)b=M,M=w;for(;;){if(M===o)break t;if(b===l&&++m===a&&(y=d),b===s&&++E===c&&(g=d),(w=M.nextSibling)!==null)break;M=b,b=M.parentNode}M=w}l=y===-1||g===-1?null:{start:y,end:g}}else l=null;l=l||{start:0,end:0}}else l=null;My={focusedElem:o,selectionRange:l},r0=!1,jh=null,s0=!1,$t=n;do try{$6()}catch(re){if($t===null)throw Error(dt(330));Zo($t,re),$t=$t.nextEffect}while($t!==null);jh=null,$t=n;do try{for(o=e;$t!==null;){var _=$t.flags;if(_&16&&ed($t.stateNode,""),_&128){var C=$t.alternate;if(C!==null){var T=C.ref;T!==null&&(typeof T=="function"?T(null):T.current=null)}}switch(_&1038){case 2:XE($t),$t.flags&=-3;break;case 6:XE($t),$t.flags&=-3,Dy($t.alternate,$t);break;case 1024:$t.flags&=-1025;break;case 1028:$t.flags&=-1025,Dy($t.alternate,$t);break;case 4:Dy($t.alternate,$t);break;case 8:l=$t,oM(o,l);var P=l.alternate;qE(l),P!==null&&qE(P)}$t=$t.nextEffect}}catch(re){if($t===null)throw Error(dt(330));Zo($t,re),$t=$t.nextEffect}while($t!==null);if(T=My,C=fE(),_=T.focusedElem,o=T.selectionRange,C!==_&&_&&_.ownerDocument&&Ek(_.ownerDocument.documentElement,_)){for(o!==null&&zb(_)&&(C=o.start,T=o.end,T===void 0&&(T=C),"selectionStart"in _?(_.selectionStart=C,_.selectionEnd=Math.min(T,_.value.length)):(T=(C=_.ownerDocument||document)&&C.defaultView||window,T.getSelection&&(T=T.getSelection(),l=_.textContent.length,P=Math.min(o.start,l),o=o.end===void 0?P:Math.min(o.end,l),!T.extend&&P>o&&(l=o,o=P,P=l),l=sE(_,P),a=sE(_,o),l&&a&&(T.rangeCount!==1||T.anchorNode!==l.node||T.anchorOffset!==l.offset||T.focusNode!==a.node||T.focusOffset!==a.offset)&&(C=C.createRange(),C.setStart(l.node,l.offset),T.removeAllRanges(),P>o?(T.addRange(C),T.extend(a.node,a.offset)):(C.setEnd(a.node,a.offset),T.addRange(C)))))),C=[],T=_;T=T.parentNode;)T.nodeType===1&&C.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<C.length;_++)T=C[_],T.element.scrollLeft=T.left,T.element.scrollTop=T.top}r0=!!ky,My=ky=null,e.current=r,$t=n;do try{for(_=e;$t!==null;){var D=$t.flags;if(D&36&&I6(_,$t.alternate,$t),D&128){C=void 0;var Y=$t.ref;if(Y!==null){var j=$t.stateNode;switch($t.tag){case 5:C=j;break;default:C=j}typeof Y=="function"?Y(C):Y.current=C}}$t=$t.nextEffect}}catch(re){if($t===null)throw Error(dt(330));Zo($t,re),$t=$t.nextEffect}while($t!==null);$t=null,x6(),Jt=i}else e.current=r;if(tu)tu=!1,zh=e,Sh=t;else for($t=n;$t!==null;)t=$t.nextEffect,$t.nextEffect=null,$t.flags&8&&(D=$t,D.sibling=null,D.stateNode=null),$t=t;if(n=e.pendingLanes,n===0&&(fa=null),n===1?e===sw?Uh++:(Uh=0,sw=e):Uh=0,r=r.stateNode,il&&typeof il.onCommitFiberRoot=="function")try{il.onCommitFiberRoot(X_,r,void 0,(r.current.flags&64)===64)}catch{}if(Oi(e,Rn()),H0)throw H0=!1,e=ow,ow=null,e;return(Jt&8)!==0||ya(),null}function $6(){for(;$t!==null;){var e=$t.alternate;s0||jh===null||(($t.flags&8)!==0?XS($t,jh)&&(s0=!0):$t.tag===13&&R6(e,$t)&&XS($t,jh)&&(s0=!0));var t=$t.flags;(t&256)!==0&&M6(e,$t),(t&512)===0||tu||(tu=!0,ld(97,function(){return fu(),null})),$t=$t.nextEffect}}function fu(){if(Sh!==90){var e=97<Sh?97:Sh;return Sh=90,sl(e,z6)}return!1}function B6(e,t){uw.push(t,e),tu||(tu=!0,ld(97,function(){return fu(),null}))}function pM(e,t){lw.push(t,e),tu||(tu=!0,ld(97,function(){return fu(),null}))}function z6(){if(zh===null)return!1;var e=zh;if(zh=null,(Jt&48)!==0)throw Error(dt(331));var t=Jt;Jt|=32;var r=lw;lw=[];for(var n=0;n<r.length;n+=2){var i=r[n],a=r[n+1],o=i.destroy;if(i.destroy=void 0,typeof o=="function")try{o()}catch(s){if(a===null)throw Error(dt(330));Zo(a,s)}}for(r=uw,uw=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(a===null)throw Error(dt(330));Zo(a,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return Jt=t,ya(),!0}function ZE(e,t,r){t=u2(r,t),t=iM(e,t,1),Yo(e,t),t=fi(),e=zm(e,1),e!==null&&(Rm(e,1,t),Oi(e,t))}function Zo(e,t){if(e.tag===3)ZE(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){ZE(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(fa===null||!fa.has(n))){e=u2(t,e);var i=aM(r,e,1);if(Yo(r,i),i=fi(),r=zm(r,1),r!==null)Rm(r,1,i),Oi(r,i);else if(typeof n.componentDidCatch=="function"&&(fa===null||!fa.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function U6(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=fi(),e.pingedLanes|=e.suspendedLanes&r,Un===e&&(Fn&r)===r&&(En===4||En===3&&(Fn&62914560)===Fn&&500>Rn()-f2?Ks(e,0):s2|=r),Oi(e,t)}function j6(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=sf()===99?1:2:(Ga===0&&(Ga=Cf),t=ks(62914560&~Ga),t===0&&(t=4194304))),r=fi(),e=zm(e,t),e!==null&&(Rm(e,t,r),Oi(e,r))}var vM;vM=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Zn.current)Wi=!0;else if((r&n)!==0)Wi=(e.flags&16384)!==0;else{switch(Wi=!1,t.tag){case 3:DE(t),Py();break;case 5:OE(t);break;case 1:Kn(t.type)&&a0(t);break;case 4:Yb(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Wr(F0,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?$E(e,t,r):(Wr(Gr,Gr.current&1),t=Ha(e,t,r),t!==null?t.sibling:null);Wr(Gr,Gr.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return GE(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Wr(Gr,Gr.current),n)break;return null;case 23:case 24:return t.lanes=0,Ny(e,t,r)}return Ha(e,t,r)}else Wi=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=lf(t,Pn.current),Xs(t,r),i=n2(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Kn(n)){var a=!0;a0(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,J_(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&L0(t,n,o,e),i.updater=$m,t.stateNode=i,i._reactInternals=t,qb(t,n,e,r),t=Kb(null,t,n,!0,a,r)}else t.tag=0,Xn(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=W6(i),e=Gi(i,e),a){case 0:t=Zb(null,t,i,e,r);break e;case 1:t=LE(null,t,i,e,r);break e;case 11:t=PE(null,t,i,e,r);break e;case 14:t=NE(null,t,i,Gi(i.type,e),n,r);break e}throw Error(dt(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Gi(n,i),Zb(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Gi(n,i),LE(e,t,n,i,r);case 3:if(DE(t),n=t.updateQueue,e===null||n===null)throw Error(dt(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,zk(e,t),sd(t,n,null,r),n=t.memoizedState.element,n===i)Py(),t=Ha(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(zo=Ys(t.stateNode.containerInfo.firstChild),Wa=t,a=da=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],Qs.push(a);for(r=Wk(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Xn(e,t,n,r),Py();t=t.child}return t;case 5:return OE(t),e===null&&Xb(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Gb(n,i)?o=null:a!==null&&Gb(n,a)&&(t.flags|=16),eM(e,t),Xn(e,t,o,r),t.child;case 6:return e===null&&Xb(t),null;case 13:return $E(e,t,r);case 4:return Yb(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=D0(t,null,n,r):Xn(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Gi(n,i),PE(e,t,n,i,r);case 7:return Xn(e,t,t.pendingProps,r),t.child;case 8:return Xn(e,t,t.pendingProps.children,r),t.child;case 12:return Xn(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var l=t.type._context;if(Wr(F0,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=_i(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!Zn.current){t=Ha(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var c=s.firstContext;c!==null;){if(c.context===n&&(c.observedBits&a)!==0){l.tag===1&&(c=qo(-1,r&-r),c.tag=2,Yo(l,c)),l.lanes|=r,c=l.alternate,c!==null&&(c.lanes|=r),Bk(l.return,r),s.lanes|=r;break}c=c.next}}else o=l.tag===10&&l.type===t.type?null:l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}Xn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,Xs(t,r),i=Ci(i,a.unstable_observedBits),n=n(i),t.flags|=1,Xn(e,t,n,r),t.child;case 14:return i=t.type,a=Gi(i,t.pendingProps),a=Gi(i.type,a),NE(e,t,i,a,n,r);case 15:return Jk(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Gi(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Kn(n)?(e=!0,a0(t)):e=!1,Xs(t,r),jk(t,n,i),qb(t,n,i,r),Kb(null,t,n,!0,e,r);case 19:return GE(e,t,r);case 23:return Ny(e,t,r);case 24:return Ny(e,t,r)}throw Error(dt(156,t.tag))};function G6(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Si(e,t,r,n){return new G6(e,t,r,n)}function h2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function W6(e){if(typeof e=="function")return h2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===km)return 11;if(e===Mm)return 14}return 2}function ru(e,t){var r=e.alternate;return r===null?(r=Si(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.nextEffect=null,r.firstEffect=null,r.lastEffect=null),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 f0(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")h2(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Lo:return Js(r.children,i,a,t);case H5:o=8,i|=16;break;case O_:o=8,i|=1;break;case Ih:return e=Si(12,r,t,i|8),e.elementType=Ih,e.type=Ih,e.lanes=a,e;case Rh:return e=Si(13,r,t,i),e.type=Rh,e.elementType=Rh,e.lanes=a,e;case E0:return e=Si(19,r,t,i),e.elementType=E0,e.lanes=a,e;case P_:return d2(r,i,a,t);case Ab:return e=Si(24,r,t,i),e.elementType=Ab,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k_:o=10;break e;case M_:o=9;break e;case km:o=11;break e;case Mm:o=14;break e;case I_:o=16,n=null;break e;case R_:o=22;break e}throw Error(dt(130,e==null?e:typeof e,""))}return t=Si(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Js(e,t,r,n){return e=Si(7,e,n,t),e.lanes=r,e}function d2(e,t,r,n){return e=Si(23,e,n,t),e.elementType=P_,e.lanes=r,e}function $y(e,t,r){return e=Si(6,e,null,t),e.lanes=r,e}function By(e,t,r){return t=Si(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function H6(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=_y(0),this.expirationTimes=_y(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_y(0),this.mutableSourceEagerHydrationData=null}function V6(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ku,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function V0(e,t,r,n){var i=t.current,a=fi(),o=Xo(i);e:if(r){r=r._reactInternals;t:{if(Sl(r)!==r||r.tag!==1)throw Error(dt(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Kn(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(dt(171))}if(r.tag===1){var s=r.type;if(Kn(s)){r=Rk(r,s,l);break e}}r=l}else r=eu;return t.context===null?t.context=r:t.pendingContext=r,t=qo(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Yo(i,t),Qo(i,o,a),o}function zy(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 KE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function p2(e,t){KE(e,t),(e=e.alternate)&&KE(e,t)}function q6(){return null}function v2(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new H6(e,t,r!=null&&r.hydrate===!0),t=Si(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,J_(t),e[Tf]=r.current,Ck(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}v2.prototype.render=function(e){V0(e,this._internalRoot,null,null)};v2.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;V0(null,e,null,function(){t[Tf]=null})};function Md(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Y6(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new v2(e,0,t?{hydrate:!0}:void 0)}function Um(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var l=i;i=function(){var c=zy(o);l.call(c)}}V0(t,o,e,i)}else{if(a=r._reactRootContainer=Y6(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var c=zy(o);s.call(c)}}sM(function(){V0(t,o,e,i)})}return zy(o)}ok=function(e){if(e.tag===13){var t=fi();Qo(e,4,t),p2(e,4)}};B_=function(e){if(e.tag===13){var t=fi();Qo(e,67108864,t),p2(e,67108864)}};uk=function(e){if(e.tag===13){var t=fi(),r=Xo(e);Qo(e,r,t),p2(e,r)}};lk=function(e,t){return t()};Nb=function(e,t,r){switch(t){case"input":if(Cb(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 i=Lm(n);if(!i)throw Error(dt(90));q5(n),Cb(n,i)}}}break;case"textarea":X5(e,r);break;case"select":t=r.value,t!=null&&Hs(e,!!r.multiple,t,!1)}};L_=lM;rk=function(e,t,r,n,i){var a=Jt;Jt|=4;try{return sl(98,e.bind(null,t,r,n,i))}finally{Jt=a,Jt===0&&(kf(),ya())}};D_=function(){(Jt&49)===0&&(P6(),fu())};nk=function(e,t){var r=Jt;Jt|=2;try{return e(t)}finally{Jt=r,Jt===0&&(kf(),ya())}};function mM(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Md(t))throw Error(dt(200));return V6(e,t,null,r)}var X6={Events:[Cd,Ls,Lm,ek,tk,fu,{current:!1}]},nh={findFiberByHostInstance:el,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Q6={bundleType:nh.bundleType,version:nh.version,rendererPackageName:nh.rendererPackageName,rendererConfig:nh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_l.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ak(e),e===null?null:e.stateNode},findFiberByHostInstance:nh.findFiberByHostInstance||q6,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Sv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sv.isDisabled&&Sv.supportsFiber)try{X_=Sv.inject(Q6),il=Sv}catch{}}ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X6;ki.createPortal=mM;ki.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(dt(188)):Error(dt(268,Object.keys(e)));return e=ak(t),e=e===null?null:e.stateNode,e};ki.flushSync=function(e,t){var r=Jt;if((r&48)!==0)return e(t);Jt|=1;try{if(e)return sl(99,e.bind(null,t))}finally{Jt=r,ya()}};ki.hydrate=function(e,t,r){if(!Md(t))throw Error(dt(200));return Um(null,e,t,!0,r)};ki.render=function(e,t,r){if(!Md(t))throw Error(dt(200));return Um(null,e,t,!1,r)};ki.unmountComponentAtNode=function(e){if(!Md(e))throw Error(dt(40));return e._reactRootContainer?(sM(function(){Um(null,null,e,!1,function(){e._reactRootContainer=null,e[Tf]=null})}),!0):!1};ki.unstable_batchedUpdates=lM;ki.unstable_createPortal=function(e,t){return mM(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};ki.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Md(r))throw Error(dt(200));if(e==null||e._reactInternals===void 0)throw Error(dt(38));return Um(e,t,r,!1,n)};ki.version="17.0.2";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=ki})(x_);const Ah=y_(x_.exports);var JE=Object.prototype.toString,gM=function(t){var r=JE.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&JE.call(t.callee)==="[object Function]"),n},Uy,eA;function Z6(){if(eA)return Uy;eA=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=gM,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(g){var m=g.constructor;return m&&m.prototype===g},c={$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},d=function(){if(typeof window>"u")return!1;for(var g in window)try{if(!c["$"+g]&&t.call(window,g)&&window[g]!==null&&typeof window[g]=="object")try{s(window[g])}catch{return!0}}catch{return!0}return!1}(),y=function(g){if(typeof window>"u"||!d)return s(g);try{return s(g)}catch{return!1}};e=function(m){var E=m!==null&&typeof m=="object",M=r.call(m)==="[object Function]",b=n(m),w=E&&r.call(m)==="[object String]",_=[];if(!E&&!M&&!b)throw new TypeError("Object.keys called on a non-object");var C=o&&M;if(w&&m.length>0&&!t.call(m,0))for(var T=0;T<m.length;++T)_.push(String(T));if(b&&m.length>0)for(var P=0;P<m.length;++P)_.push(String(P));else for(var D in m)!(C&&D==="prototype")&&t.call(m,D)&&_.push(String(D));if(a)for(var Y=y(m),j=0;j<l.length;++j)!(Y&&l[j]==="constructor")&&t.call(m,l[j])&&_.push(l[j]);return _}}return Uy=e,Uy}var K6=Array.prototype.slice,J6=gM,tA=Object.keys,c0=tA?function(t){return tA(t)}:Z6(),rA=Object.keys;c0.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return J6(n)?rA(K6.call(n)):rA(n)})}else Object.keys=c0;return Object.keys||c0};var m2=c0,jm=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},e8=jm,cu=function(){return e8()&&!!Symbol.toStringTag},nA=typeof Symbol<"u"&&Symbol,t8=jm,g2=function(){return typeof nA!="function"||typeof Symbol!="function"||typeof nA("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t8()},r8="Function.prototype.bind called on incompatible ",jy=Array.prototype.slice,n8=Object.prototype.toString,i8="[object Function]",a8=function(t){var r=this;if(typeof r!="function"||n8.call(r)!==i8)throw new TypeError(r8+r);for(var n=jy.call(arguments,1),i,a=function(){if(this instanceof i){var d=r.apply(this,n.concat(jy.call(arguments)));return Object(d)===d?d:this}else return r.apply(t,n.concat(jy.call(arguments)))},o=Math.max(0,r.length-n.length),l=[],s=0;s<o;s++)l.push("$"+s);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},o8=a8,y2=Function.prototype.bind||o8,u8=y2,l8=u8.call(Function.call,Object.prototype.hasOwnProperty),vr,cf=SyntaxError,yM=Function,ef=TypeError,Gy=function(e){try{return yM('"use strict"; return ('+e+").constructor;")()}catch{}},al=Object.getOwnPropertyDescriptor;if(al)try{al({},"")}catch{al=null}var Wy=function(){throw new ef},s8=al?function(){try{return arguments.callee,Wy}catch{try{return al(arguments,"callee").get}catch{return Wy}}}():Wy,xs=g2(),Fo=Object.getPrototypeOf||function(e){return e.__proto__},Ms={},f8=typeof Uint8Array>"u"?vr:Fo(Uint8Array),tf={"%AggregateError%":typeof AggregateError>"u"?vr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?vr:ArrayBuffer,"%ArrayIteratorPrototype%":xs?Fo([][Symbol.iterator]()):vr,"%AsyncFromSyncIteratorPrototype%":vr,"%AsyncFunction%":Ms,"%AsyncGenerator%":Ms,"%AsyncGeneratorFunction%":Ms,"%AsyncIteratorPrototype%":Ms,"%Atomics%":typeof Atomics>"u"?vr:Atomics,"%BigInt%":typeof BigInt>"u"?vr:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?vr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?vr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?vr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?vr:FinalizationRegistry,"%Function%":yM,"%GeneratorFunction%":Ms,"%Int8Array%":typeof Int8Array>"u"?vr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?vr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?vr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xs?Fo(Fo([][Symbol.iterator]())):vr,"%JSON%":typeof JSON=="object"?JSON:vr,"%Map%":typeof Map>"u"?vr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xs?vr:Fo(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?vr:Promise,"%Proxy%":typeof Proxy>"u"?vr:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?vr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?vr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xs?vr:Fo(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?vr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xs?Fo(""[Symbol.iterator]()):vr,"%Symbol%":xs?Symbol:vr,"%SyntaxError%":cf,"%ThrowTypeError%":s8,"%TypedArray%":f8,"%TypeError%":ef,"%Uint8Array%":typeof Uint8Array>"u"?vr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?vr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?vr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?vr:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?vr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?vr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?vr:WeakSet},c8=function e(t){var r;if(t==="%AsyncFunction%")r=Gy("async function () {}");else if(t==="%GeneratorFunction%")r=Gy("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Gy("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Fo(i.prototype))}return tf[t]=r,r},iA={"%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"]},Id=y2,q0=l8,h8=Id.call(Function.call,Array.prototype.concat),d8=Id.call(Function.apply,Array.prototype.splice),aA=Id.call(Function.call,String.prototype.replace),Y0=Id.call(Function.call,String.prototype.slice),p8=Id.call(Function.call,RegExp.prototype.exec),v8=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,m8=/\\(\\)?/g,g8=function(t){var r=Y0(t,0,1),n=Y0(t,-1);if(r==="%"&&n!=="%")throw new cf("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new cf("invalid intrinsic syntax, expected opening `%`");var i=[];return aA(t,v8,function(a,o,l,s){i[i.length]=l?aA(s,m8,"$1"):o||a}),i},y8=function(t,r){var n=t,i;if(q0(iA,n)&&(i=iA[n],n="%"+i[0]+"%"),q0(tf,n)){var a=tf[n];if(a===Ms&&(a=c8(n)),typeof a>"u"&&!r)throw new ef("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new cf("intrinsic "+t+" does not exist!")},hu=function(t,r){if(typeof t!="string"||t.length===0)throw new ef("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ef('"allowMissing" argument must be a boolean');if(p8(/^%?[^%]*%?$/,t)===null)throw new cf("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=g8(t),i=n.length>0?n[0]:"",a=y8("%"+i+"%",r),o=a.name,l=a.value,s=!1,c=a.alias;c&&(i=c[0],d8(n,h8([0,1],c)));for(var d=1,y=!0;d<n.length;d+=1){var g=n[d],m=Y0(g,0,1),E=Y0(g,-1);if((m==='"'||m==="'"||m==="`"||E==='"'||E==="'"||E==="`")&&m!==E)throw new cf("property names with quotes must have matching quotes");if((g==="constructor"||!y)&&(s=!0),i+="."+g,o="%"+i+"%",q0(tf,o))l=tf[o];else if(l!=null){if(!(g in l)){if(!r)throw new ef("base intrinsic for "+t+" exists, but the property is not available.");return}if(al&&d+1>=n.length){var M=al(l,g);y=!!M,y&&"get"in M&&!("originalValue"in M.get)?l=M.get:l=l[g]}else y=q0(l,g),l=l[g];y&&!s&&(tf[o]=l)}}return l},Rd={exports:{}};(function(e){var t=y2,r=hu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(y){var g=a(t,i,arguments);if(o&&l){var m=o(g,"length");m.configurable&&l(g,"length",{value:1+s(0,y.length-(arguments.length-1))})}return g};var c=function(){return a(t,n,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c})(Rd);var xM=hu,bM=Rd.exports,x8=bM(xM("String.prototype.indexOf")),xa=function(t,r){var n=xM(t,!!r);return typeof n=="function"&&x8(t,".prototype.")>-1?bM(n):n},b8=cu(),w8=xa,cw=w8("Object.prototype.toString"),Gm=function(t){return b8&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:cw(t)==="[object Arguments]"},wM=function(t){return Gm(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&cw(t)!=="[object Array]"&&cw(t.callee)==="[object Function]"},_8=function(){return Gm(arguments)}();Gm.isLegacyArguments=wM;var _M=_8?Gm:wM,S8=hu,hw=S8("%Object.defineProperty%",!0),dw=function(){if(hw)try{return hw({},"a",{value:1}),!0}catch{return!1}return!1};dw.hasArrayLengthDefineBug=function(){if(!dw())return null;try{return hw([],"length",{value:1}).length!==1}catch{return!0}};var E8=dw,A8=m2,T8=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",C8=Object.prototype.toString,O8=Array.prototype.concat,SM=Object.defineProperty,k8=function(e){return typeof e=="function"&&C8.call(e)==="[object Function]"},M8=E8(),EM=SM&&M8,I8=function(e,t,r,n){t in e&&(!k8(n)||!n())||(EM?SM(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},AM=function(e,t){var r=arguments.length>2?arguments[2]:{},n=A8(t);T8&&(n=O8.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)I8(e,n[i],t[n[i]],r[n[i]])};AM.supportsDescriptors=!!EM;var Al=AM,oA=function(e){return e!==e},TM=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||oA(t)&&oA(r))},R8=TM,CM=function(){return typeof Object.is=="function"?Object.is:R8},F8=CM,P8=Al,N8=function(){var t=F8();return P8(Object,{is:t},{is:function(){return Object.is!==t}}),t},L8=Al,D8=Rd.exports,$8=TM,OM=CM,B8=N8,kM=D8(OM(),Object);L8(kM,{getPolyfill:OM,implementation:$8,shim:B8});var z8=kM,pw=xa,MM=cu(),IM,RM,vw,mw;if(MM){IM=pw("Object.prototype.hasOwnProperty"),RM=pw("RegExp.prototype.exec"),vw={};var Hy=function(){throw vw};mw={toString:Hy,valueOf:Hy},typeof Symbol.toPrimitive=="symbol"&&(mw[Symbol.toPrimitive]=Hy)}var U8=pw("Object.prototype.toString"),j8=Object.getOwnPropertyDescriptor,G8="[object RegExp]",W8=MM?function(t){if(!t||typeof t!="object")return!1;var r=j8(t,"lastIndex"),n=r&&IM(r,"value");if(!n)return!1;try{RM(t,mw)}catch(i){return i===vw}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:U8(t)===G8},x2={exports:{}},dd=function(){return typeof function(){}.name=="string"},Gh=Object.getOwnPropertyDescriptor;if(Gh)try{Gh([],"length")}catch{Gh=null}dd.functionsHaveConfigurableNames=function(){if(!dd()||!Gh)return!1;var t=Gh(function(){},"name");return!!t&&!!t.configurable};var H8=Function.prototype.bind;dd.boundFunctionsHaveNames=function(){return dd()&&typeof H8=="function"&&function(){}.bind().name!==""};var V8=dd;(function(e){var t=V8.functionsHaveConfigurableNames(),r=Object,n=TypeError;e.exports=function(){if(this!=null&&this!==r(this))throw new n("RegExp.prototype.flags getter called on non-object");var a="";return this.hasIndices&&(a+="d"),this.global&&(a+="g"),this.ignoreCase&&(a+="i"),this.multiline&&(a+="m"),this.dotAll&&(a+="s"),this.unicode&&(a+="u"),this.sticky&&(a+="y"),a},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(x2);var q8=x2.exports,Y8=Al.supportsDescriptors,X8=Object.getOwnPropertyDescriptor,FM=function(){if(Y8&&/a/mig.flags==="gim"){var t=X8(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return q8},Q8=Al.supportsDescriptors,Z8=FM,K8=Object.getOwnPropertyDescriptor,J8=Object.defineProperty,eL=TypeError,uA=Object.getPrototypeOf,tL=/a/,rL=function(){if(!Q8||!uA)throw new eL("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=Z8(),r=uA(tL),n=K8(r,"flags");return(!n||n.get!==t)&&J8(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},nL=Al,iL=Rd.exports,aL=x2.exports,PM=FM,oL=rL,NM=iL(PM());nL(NM,{getPolyfill:PM,implementation:aL,shim:oL});var uL=NM,lL={}.toString,LM=Array.isArray||function(e){return lL.call(e)=="[object Array]"},sL=Date.prototype.getDay,fL=function(t){try{return sL.call(t),!0}catch{return!1}},cL=Object.prototype.toString,hL="[object Date]",dL=cu(),pL=function(t){return typeof t!="object"||t===null?!1:dL?fL(t):cL.call(t)===hL},vL=String.prototype.valueOf,mL=function(t){try{return vL.call(t),!0}catch{return!1}},gL=Object.prototype.toString,yL="[object String]",xL=cu(),DM=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:xL?mL(t):gL.call(t)===yL},bL=Number.prototype.toString,wL=function(t){try{return bL.call(t),!0}catch{return!1}},_L=Object.prototype.toString,SL="[object Number]",EL=cu(),AL=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:EL?wL(t):_L.call(t)===SL},$M=xa,TL=$M("Boolean.prototype.toString"),CL=$M("Object.prototype.toString"),OL=function(t){try{return TL(t),!0}catch{return!1}},kL="[object Boolean]",ML=cu(),IL=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:ML&&Symbol.toStringTag in t?OL(t):CL(t)===kL},gw={exports:{}},RL=Object.prototype.toString,FL=g2();if(FL){var PL=Symbol.prototype.toString,NL=/^Symbol\(.*\)$/,LL=function(t){return typeof t.valueOf()!="symbol"?!1:NL.test(PL.call(t))};gw.exports=function(t){if(typeof t=="symbol")return!0;if(RL.call(t)!=="[object Symbol]")return!1;try{return LL(t)}catch{return!1}}}else gw.exports=function(t){return!1};var yw={exports:{}},lA=typeof BigInt<"u"&&BigInt,DL=function(){return typeof lA=="function"&&typeof BigInt=="function"&&typeof lA(42)=="bigint"&&typeof BigInt(42)=="bigint"},$L=DL();if($L){var BL=BigInt.prototype.valueOf,zL=function(t){try{return BL.call(t),!0}catch{}return!1};yw.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:zL(t)}}else yw.exports=function(t){return!1};var UL=DM,jL=AL,GL=IL,WL=gw.exports,HL=yw.exports,VL=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(UL(t))return"String";if(jL(t))return"Number";if(GL(t))return"Boolean";if(WL(t))return"Symbol";if(HL(t))return"BigInt"},b2=typeof Map=="function"&&Map.prototype?Map:null,qL=typeof Set=="function"&&Set.prototype?Set:null,X0;b2||(X0=function(t){return!1});var BM=b2?Map.prototype.has:null,sA=qL?Set.prototype.has:null;!X0&&!BM&&(X0=function(t){return!1});var zM=X0||function(t){if(!t||typeof t!="object")return!1;try{if(BM.call(t),sA)try{sA.call(t)}catch{return!0}return t instanceof b2}catch{}return!1},YL=typeof Map=="function"&&Map.prototype?Map:null,w2=typeof Set=="function"&&Set.prototype?Set:null,Q0;w2||(Q0=function(t){return!1});var fA=YL?Map.prototype.has:null,UM=w2?Set.prototype.has:null;!Q0&&!UM&&(Q0=function(t){return!1});var jM=Q0||function(t){if(!t||typeof t!="object")return!1;try{if(UM.call(t),fA)try{fA.call(t)}catch{return!0}return t instanceof w2}catch{}return!1},Z0=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,cA=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,K0;Z0||(K0=function(t){return!1});var xw=Z0?Z0.prototype.has:null,Vy=cA?cA.prototype.has:null;!K0&&!xw&&(K0=function(t){return!1});var XL=K0||function(t){if(!t||typeof t!="object")return!1;try{if(xw.call(t,xw),Vy)try{Vy.call(t,Vy)}catch{return!0}return t instanceof Z0}catch{}return!1},bw={exports:{}},QL=hu,GM=xa,ZL=QL("%WeakSet%",!0),qy=GM("WeakSet.prototype.has",!0);if(qy){var Yy=GM("WeakMap.prototype.has",!0);bw.exports=function(t){if(!t||typeof t!="object")return!1;try{if(qy(t,qy),Yy)try{Yy(t,Yy)}catch{return!0}return t instanceof ZL}catch{}return!1}}else bw.exports=function(t){return!1};var KL=zM,JL=jM,eD=XL,tD=bw.exports,rD=function(t){if(t&&typeof t=="object"){if(KL(t))return"Map";if(JL(t))return"Set";if(eD(t))return"WeakMap";if(tD(t))return"WeakSet"}return!1},h0={exports:{}},hA=_M;if(g2()||jm()){var Xy=Symbol.iterator;h0.exports=function(t){if(t!=null&&typeof t[Xy]<"u")return t[Xy]();if(hA(t))return Array.prototype[Xy].call(t)}}else{var nD=LM,iD=DM,dA=hu,aD=dA("%Map%",!0),oD=dA("%Set%",!0),ji=xa,pA=ji("Array.prototype.push"),vA=ji("String.prototype.charCodeAt"),uD=ji("String.prototype.slice"),lD=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=vA(t,r);if(i<55296||i>56319)return r+1;var a=vA(t,r+1);return a<56320||a>57343?r+1:r+2},Qy=function(t){var r=0;return{next:function(){var i=r>=t.length,a;return i||(a=t[r],r+=1),{done:i,value:a}}}},mA=function(t,r){if(nD(t)||hA(t))return Qy(t);if(iD(t)){var n=0;return{next:function(){var a=lD(t,n),o=uD(t,n,a);return n=a,{done:a>t.length,value:o}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!aD&&!oD)h0.exports=function(t){if(t!=null)return mA(t,!0)};else{var sD=zM,fD=jM,gA=ji("Map.prototype.forEach",!0),yA=ji("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var xA=ji("Map.prototype.iterator",!0),bA=ji("Set.prototype.iterator",!0),wA=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var _A=ji("Map.prototype.@@iterator",!0)||ji("Map.prototype._es6-shim iterator_",!0),SA=ji("Set.prototype.@@iterator",!0)||ji("Set.prototype._es6-shim iterator_",!0),cD=function(t){if(sD(t)){if(xA)return wA(xA(t));if(_A)return _A(t);if(gA){var r=[];return gA(t,function(i,a){pA(r,[a,i])}),Qy(r)}}if(fD(t)){if(bA)return wA(bA(t));if(SA)return SA(t);if(yA){var n=[];return yA(t,function(i){pA(n,i)}),Qy(n)}}};h0.exports=function(t){return cD(t)||mA(t)}}}const hD={},dD=Object.freeze(Object.defineProperty({__proto__:null,default:hD},Symbol.toStringTag,{value:"Module"})),pD=xl(dD);var _2=typeof Map=="function"&&Map.prototype,Zy=Object.getOwnPropertyDescriptor&&_2?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,J0=_2&&Zy&&typeof Zy.get=="function"?Zy.get:null,vD=_2&&Map.prototype.forEach,S2=typeof Set=="function"&&Set.prototype,Ky=Object.getOwnPropertyDescriptor&&S2?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,em=S2&&Ky&&typeof Ky.get=="function"?Ky.get:null,mD=S2&&Set.prototype.forEach,gD=typeof WeakMap=="function"&&WeakMap.prototype,Wh=gD?WeakMap.prototype.has:null,yD=typeof WeakSet=="function"&&WeakSet.prototype,Hh=yD?WeakSet.prototype.has:null,xD=typeof WeakRef=="function"&&WeakRef.prototype,EA=xD?WeakRef.prototype.deref:null,bD=Boolean.prototype.valueOf,wD=Object.prototype.toString,_D=Function.prototype.toString,SD=String.prototype.match,E2=String.prototype.slice,Uo=String.prototype.replace,ED=String.prototype.toUpperCase,AA=String.prototype.toLowerCase,WM=RegExp.prototype.test,TA=Array.prototype.concat,ia=Array.prototype.join,AD=Array.prototype.slice,CA=Math.floor,ww=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Jy=Object.getOwnPropertySymbols,_w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hf=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Nn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hf?"object":"symbol")?Symbol.toStringTag:null,HM=Object.prototype.propertyIsEnumerable,OA=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function kA(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||WM.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-CA(-e):CA(e);if(n!==e){var i=String(n),a=E2.call(t,i.length+1);return Uo.call(i,r,"$&_")+"."+Uo.call(Uo.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Uo.call(t,r,"$&_")}var Sw=pD,MA=Sw.custom,IA=qM(MA)?MA:null,TD=function e(t,r,n,i){var a=r||{};if(Po(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Po(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Po(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Po(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Po(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return XM(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return l?kA(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return l?kA(t,c):c}var d=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=d&&d>0&&typeof t=="object")return Ew(t)?"[Array]":"[Object]";var y=WD(a,n);if(typeof i>"u")i=[];else if(YM(i,t)>=0)return"[Circular]";function g(Pe,Le,ut){if(Le&&(i=AD.call(i),i.push(Le)),ut){var nt={depth:a.depth};return Po(a,"quoteStyle")&&(nt.quoteStyle=a.quoteStyle),e(Pe,nt,n+1,i)}return e(Pe,a,n+1,i)}if(typeof t=="function"&&!RA(t)){var m=ND(t),E=Ev(t,g);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(E.length>0?" { "+ia.call(E,", ")+" }":"")}if(qM(t)){var M=hf?Uo.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_w.call(t);return typeof t=="object"&&!hf?ih(M):M}if(UD(t)){for(var b="<"+AA.call(String(t.nodeName)),w=t.attributes||[],_=0;_<w.length;_++)b+=" "+w[_].name+"="+VM(CD(w[_].value),"double",a);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+AA.call(String(t.nodeName))+">",b}if(Ew(t)){if(t.length===0)return"[]";var C=Ev(t,g);return y&&!GD(C)?"["+Aw(C,y)+"]":"[ "+ia.call(C,", ")+" ]"}if(kD(t)){var T=Ev(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!HM.call(t,"cause")?"{ ["+String(t)+"] "+ia.call(TA.call("[cause]: "+g(t.cause),T),", ")+" }":T.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+ia.call(T,", ")+" }"}if(typeof t=="object"&&o){if(IA&&typeof t[IA]=="function"&&Sw)return Sw(t,{depth:d-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(LD(t)){var P=[];return vD.call(t,function(Pe,Le){P.push(g(Le,t,!0)+" => "+g(Pe,t))}),FA("Map",J0.call(t),P,y)}if(BD(t)){var D=[];return mD.call(t,function(Pe){D.push(g(Pe,t))}),FA("Set",em.call(t),D,y)}if(DD(t))return e1("WeakMap");if(zD(t))return e1("WeakSet");if($D(t))return e1("WeakRef");if(ID(t))return ih(g(Number(t)));if(FD(t))return ih(g(ww.call(t)));if(RD(t))return ih(bD.call(t));if(MD(t))return ih(g(String(t)));if(!OD(t)&&!RA(t)){var Y=Ev(t,g),j=OA?OA(t)===Object.prototype:t instanceof Object||t.constructor===Object,re=t instanceof Object?"":"null prototype",Ee=!j&&Nn&&Object(t)===t&&Nn in t?E2.call(du(t),8,-1):re?"Object":"",me=j||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ke=me+(Ee||re?"["+ia.call(TA.call([],Ee||[],re||[]),": ")+"] ":"");return Y.length===0?ke+"{}":y?ke+"{"+Aw(Y,y)+"}":ke+"{ "+ia.call(Y,", ")+" }"}return String(t)};function VM(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function CD(e){return Uo.call(String(e),/"/g,""")}function Ew(e){return du(e)==="[object Array]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function OD(e){return du(e)==="[object Date]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function RA(e){return du(e)==="[object RegExp]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function kD(e){return du(e)==="[object Error]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function MD(e){return du(e)==="[object String]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function ID(e){return du(e)==="[object Number]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function RD(e){return du(e)==="[object Boolean]"&&(!Nn||!(typeof e=="object"&&Nn in e))}function qM(e){if(hf)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!_w)return!1;try{return _w.call(e),!0}catch{}return!1}function FD(e){if(!e||typeof e!="object"||!ww)return!1;try{return ww.call(e),!0}catch{}return!1}var PD=Object.prototype.hasOwnProperty||function(e){return e in this};function Po(e,t){return PD.call(e,t)}function du(e){return wD.call(e)}function ND(e){if(e.name)return e.name;var t=SD.call(_D.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function YM(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function LD(e){if(!J0||!e||typeof e!="object")return!1;try{J0.call(e);try{em.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function DD(e){if(!Wh||!e||typeof e!="object")return!1;try{Wh.call(e,Wh);try{Hh.call(e,Hh)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function $D(e){if(!EA||!e||typeof e!="object")return!1;try{return EA.call(e),!0}catch{}return!1}function BD(e){if(!em||!e||typeof e!="object")return!1;try{em.call(e);try{J0.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function zD(e){if(!Hh||!e||typeof e!="object")return!1;try{Hh.call(e,Hh);try{Wh.call(e,Wh)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function UD(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function XM(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return XM(E2.call(e,0,t.maxStringLength),t)+n}var i=Uo.call(Uo.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,jD);return VM(i,"single",t)}function jD(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+ED.call(t.toString(16))}function ih(e){return"Object("+e+")"}function e1(e){return e+" { ? }"}function FA(e,t,r,n){var i=n?Aw(r,n):ia.call(r,", ");return e+" ("+t+") {"+i+"}"}function GD(e){for(var t=0;t<e.length;t++)if(YM(e[t],`
|
|
35
|
-
`)>=0)return!1;return!0}function WD(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=ia.call(Array(e.indent+1)," ");else return null;return{base:r,prev:ia.call(Array(t+1),r)}}function Aw(e,t){if(e.length===0)return"";var r=`
|
|
36
|
-
`+t.prev+t.base;return r+ia.call(e,","+r)+`
|
|
37
|
-
`+t.prev}function Ev(e,t){var r=Ew(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Po(e,i)?t(e[i],e):""}var a=typeof Jy=="function"?Jy(e):[],o;if(hf){o={};for(var l=0;l<a.length;l++)o["$"+a[l]]=a[l]}for(var s in e)!Po(e,s)||r&&String(Number(s))===s&&s<e.length||hf&&o["$"+s]instanceof Symbol||(WM.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e)));if(typeof Jy=="function")for(var c=0;c<a.length;c++)HM.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var A2=hu,Mf=xa,HD=TD,VD=A2("%TypeError%"),Av=A2("%WeakMap%",!0),Tv=A2("%Map%",!0),qD=Mf("WeakMap.prototype.get",!0),YD=Mf("WeakMap.prototype.set",!0),XD=Mf("WeakMap.prototype.has",!0),QD=Mf("Map.prototype.get",!0),ZD=Mf("Map.prototype.set",!0),KD=Mf("Map.prototype.has",!0),T2=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},JD=function(e,t){var r=T2(e,t);return r&&r.value},e$=function(e,t,r){var n=T2(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},t$=function(e,t){return!!T2(e,t)},r$=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new VD("Side channel does not contain "+HD(a))},get:function(a){if(Av&&a&&(typeof a=="object"||typeof a=="function")){if(t)return qD(t,a)}else if(Tv){if(r)return QD(r,a)}else if(n)return JD(n,a)},has:function(a){if(Av&&a&&(typeof a=="object"||typeof a=="function")){if(t)return XD(t,a)}else if(Tv){if(r)return KD(r,a)}else if(n)return t$(n,a);return!1},set:function(a,o){Av&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Av),YD(t,a,o)):Tv?(r||(r=new Tv),ZD(r,a,o)):(n||(n={key:{},next:null}),e$(n,a,o))}};return i},n$=Object.prototype.hasOwnProperty,i$=Object.prototype.toString,QM=function(t,r,n){if(i$.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var a=0;a<i;a++)r.call(n,t[a],a,t);else for(var o in t)n$.call(t,o)&&r.call(n,t[o],o,t)},t1=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],a$=typeof globalThis>"u"?Ar:globalThis,ZM=function(){for(var t=[],r=0;r<t1.length;r++)typeof a$[t1[r]]=="function"&&(t[t.length]=t1[r]);return t},r1={exports:{}},n1,PA;function o$(){if(PA)return n1;PA=1;var e=hu,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return n1=t,n1}var NA;function KM(){return NA||(NA=1,function(e){e.exports=o$()}(r1)),r1.exports}var i1,LA;function u$(){if(LA)return i1;LA=1;var e=QM,t=ZM,r=xa,n=r("Object.prototype.toString"),i=cu(),a=typeof globalThis>"u"?Ar:globalThis,o=t(),l=r("Array.prototype.indexOf",!0)||function(E,M){for(var b=0;b<E.length;b+=1)if(E[b]===M)return b;return-1},s=r("String.prototype.slice"),c={},d=KM(),y=Object.getPrototypeOf;i&&d&&y&&e(o,function(m){var E=new a[m];if(Symbol.toStringTag in E){var M=y(E),b=d(M,Symbol.toStringTag);if(!b){var w=y(M);b=d(w,Symbol.toStringTag)}c[m]=b.get}});var g=function(E){var M=!1;return e(c,function(b,w){if(!M)try{M=b.call(E)===w}catch{}}),M};return i1=function(E){if(!E||typeof E!="object")return!1;if(!i||!(Symbol.toStringTag in E)){var M=s(n(E),8,-1);return l(o,M)>-1}return d?g(E):!1},i1}var JM=QM,l$=ZM,eI=xa,s$=eI("Object.prototype.toString"),tI=cu(),DA=typeof globalThis>"u"?Ar:globalThis,f$=l$(),c$=eI("String.prototype.slice"),rI={},a1=KM(),o1=Object.getPrototypeOf;tI&&a1&&o1&&JM(f$,function(e){if(typeof DA[e]=="function"){var t=new DA[e];if(Symbol.toStringTag in t){var r=o1(t),n=a1(r,Symbol.toStringTag);if(!n){var i=o1(r);n=a1(i,Symbol.toStringTag)}rI[e]=n.get}}});var h$=function(t){var r=!1;return JM(rI,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},d$=u$(),p$=function(t){return d$(t)?!tI||!(Symbol.toStringTag in t)?c$(s$(t),8,-1):h$(t):!1},v$=m2,nI=jm(),iI=xa,$A=Object,m$=iI("Array.prototype.push"),BA=iI("Object.prototype.propertyIsEnumerable"),g$=nI?Object.getOwnPropertySymbols:null,aI=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=$A(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var a=$A(arguments[i]),o=v$(a),l=nI&&(Object.getOwnPropertySymbols||g$);if(l)for(var s=l(a),c=0;c<s.length;++c){var d=s[c];BA(a,d)&&m$(o,d)}for(var y=0;y<o.length;++y){var g=o[y];if(BA(a,g)){var m=a[g];n[g]=m}}}return n},u1=aI,y$=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),a="";for(var o in i)a+=o;return e!==a},x$=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},oI=function(){return!Object.assign||y$()||x$()?u1:Object.assign},b$=Al,w$=oI,_$=function(){var t=w$();return b$(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},S$=Al,E$=Rd.exports,A$=aI,uI=oI,T$=_$,C$=E$.apply(uI()),lI=function(t,r){return C$(Object,arguments)};S$(lI,{getPolyfill:uI,implementation:A$,shim:T$});var O$=lI,zA=m2,UA=_M,jA=z8,GA=W8,WA=uL,HA=LM,VA=pL,qA=VL,k$=hu,eo=xa,YA=rD,df=h0.exports,M$=r$,XA=p$,sI=O$,QA=eo("Date.prototype.getTime"),l1=Object.getPrototypeOf,ZA=eo("Object.prototype.toString"),tm=k$("%Set%",!0),Tw=eo("Map.prototype.has",!0),rm=eo("Map.prototype.get",!0),KA=eo("Map.prototype.size",!0),nm=eo("Set.prototype.add",!0),fI=eo("Set.prototype.delete",!0),im=eo("Set.prototype.has",!0),d0=eo("Set.prototype.size",!0);function JA(e,t,r,n){for(var i=df(e),a;(a=i.next())&&!a.done;)if(Xa(t,a.value,r,n))return fI(e,a.value),!0;return!1}function cI(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function I$(e,t,r,n,i,a){var o=cI(r);if(o!=null)return o;var l=rm(t,o),s=sI({},i,{strict:!1});return typeof l>"u"&&!Tw(t,o)||!Xa(n,l,s,a)?!1:!Tw(e,o)&&Xa(n,l,s,a)}function R$(e,t,r){var n=cI(r);return n!=null?n:im(t,n)&&!im(e,n)}function e3(e,t,r,n,i,a){for(var o=df(e),l,s;(l=o.next())&&!l.done;)if(s=l.value,Xa(r,s,i,a)&&Xa(n,rm(t,s),i,a))return fI(e,s),!0;return!1}function Xa(e,t,r,n){var i=r||{};if(i.strict?jA(e,t):e===t)return!0;var a=qA(e),o=qA(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?jA(e,t):e==t;var l=n.has(e),s=n.has(t),c;if(l&&s){if(n.get(e)===n.get(t))return!0}else c={};return l||n.set(e,c),s||n.set(t,c),N$(e,t,i,n)}function t3(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function F$(e,t,r,n){if(d0(e)!==d0(t))return!1;for(var i=df(e),a=df(t),o,l,s;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")s||(s=new tm),nm(s,o.value);else if(!im(t,o.value)){if(r.strict||!R$(e,t,o.value))return!1;s||(s=new tm),nm(s,o.value)}if(s){for(;(l=a.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!JA(s,l.value,r.strict,n))return!1}else if(!r.strict&&!im(e,l.value)&&!JA(s,l.value,r.strict,n))return!1;return d0(s)===0}return!0}function P$(e,t,r,n){if(KA(e)!==KA(t))return!1;for(var i=df(e),a=df(t),o,l,s,c,d,y;(o=i.next())&&!o.done;)if(c=o.value[0],d=o.value[1],c&&typeof c=="object")s||(s=new tm),nm(s,c);else if(y=rm(t,c),typeof y>"u"&&!Tw(t,c)||!Xa(d,y,r,n)){if(r.strict||!I$(e,t,c,d,r,n))return!1;s||(s=new tm),nm(s,c)}if(s){for(;(l=a.next())&&!l.done;)if(c=l.value[0],y=l.value[1],c&&typeof c=="object"){if(!e3(s,e,c,y,r,n))return!1}else if(!r.strict&&(!e.has(c)||!Xa(rm(e,c),y,r,n))&&!e3(s,e,c,y,sI({},r,{strict:!1}),n))return!1;return d0(s)===0}return!0}function N$(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||ZA(e)!==ZA(t)||UA(e)!==UA(t))return!1;var o=HA(e),l=HA(t);if(o!==l)return!1;var s=e instanceof Error,c=t instanceof Error;if(s!==c||(s||c)&&(e.name!==t.name||e.message!==t.message))return!1;var d=GA(e),y=GA(t);if(d!==y||(d||y)&&(e.source!==t.source||WA(e)!==WA(t)))return!1;var g=VA(e),m=VA(t);if(g!==m||(g||m)&&QA(e)!==QA(t)||r.strict&&l1&&l1(e)!==l1(t)||XA(e)!==XA(t))return!1;var E=t3(e),M=t3(t);if(E!==M)return!1;if(E||M){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;var b=zA(e),w=zA(t);if(b.length!==w.length)return!1;for(b.sort(),w.sort(),i=b.length-1;i>=0;i--)if(b[i]!=w[i])return!1;for(i=b.length-1;i>=0;i--)if(a=b[i],!Xa(e[a],t[a],r,n))return!1;var _=YA(e),C=YA(t);return _!==C?!1:_==="Set"||C==="Set"?F$(e,t,r,n):_==="Map"?P$(e,t,r,n):!0}var Ote=function(t,r,n){return Xa(t,r,n,M$())},r3=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function L$(e,t){return!!(e===t||r3(e)&&r3(t))}function D$(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!L$(e[r],t[r]))return!1;return!0}function Kr(e,t){t===void 0&&(t=D$);var r,n=[],i,a=!1;function o(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];return a&&r===this&&t(l,n)||(i=e.apply(this,l),a=!0,r=this,n=l),i}return o}var hr={exports:{}},$$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",B$=$$,z$=B$;function hI(){}function dI(){}dI.resetWarningCache=hI;var U$=function(){function e(n,i,a,o,l,s){if(s!==z$){var c=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 c.name="Invariant Violation",c}}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:dI,resetWarningCache:hI};return r.PropTypes=r,r};hr.exports=U$();function C2(e,t,...r){if(!e)throw new TypeError(pI(t,r))}function pI(e,t){let r=0;return e.replace(/%[os]/gu,()=>vI(t[r++]))}function vI(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let j$;function G$(e){try{const t=e instanceof Error?e:new Error(vI(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}const Vi=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let W$;class to{constructor(t,r){this.code=t,this.message=r}warn(...t){var r;try{const n=((r=new Error().stack)!==null&&r!==void 0?r:"").replace(/^(?:.+?\n){2}/gu,`
|
|
38
|
-
`);console.warn(this.message,...t,n)}catch{}}}const H$=new to("W01","Unable to initialize event under dispatching."),V$=new to("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),q$=new to("W03","Assigning any truthy value to 'returnValue' property has no effect."),Y$=new to("W04","Unable to preventDefault on non-cancelable events."),X$=new to("W05","Unable to preventDefault inside passive event listener invocation."),Q$=new to("W06","An event listener wasn't added because it has been added already: %o, %o"),s1=new to("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),n3=new to("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");new to("W09","Event attribute handler must be a function: %o");class ro{static get NONE(){return i3}static get CAPTURING_PHASE(){return a3}static get AT_TARGET(){return o3}static get BUBBLING_PHASE(){return u3}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r!=null?r:{};Cw.set(this,{type:String(t),bubbles:Boolean(n.bubbles),cancelable:Boolean(n.cancelable),composed:Boolean(n.composed),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return Zr(this).type}get target(){return Zr(this).target}get srcElement(){return Zr(this).target}get currentTarget(){return Zr(this).currentTarget}composedPath(){const t=Zr(this).currentTarget;return t?[t]:[]}get NONE(){return i3}get CAPTURING_PHASE(){return a3}get AT_TARGET(){return o3}get BUBBLING_PHASE(){return u3}get eventPhase(){return Zr(this).dispatchFlag?2:0}stopPropagation(){Zr(this).stopPropagationFlag=!0}get cancelBubble(){return Zr(this).stopPropagationFlag}set cancelBubble(t){t?Zr(this).stopPropagationFlag=!0:V$.warn()}stopImmediatePropagation(){const t=Zr(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return Zr(this).bubbles}get cancelable(){return Zr(this).cancelable}get returnValue(){return!Zr(this).canceledFlag}set returnValue(t){t?q$.warn():l3(Zr(this))}preventDefault(){l3(Zr(this))}get defaultPrevented(){return Zr(this).canceledFlag}get composed(){return Zr(this).composed}get isTrusted(){return!1}get timeStamp(){return Zr(this).timeStamp}initEvent(t,r=!1,n=!1){const i=Zr(this);if(i.dispatchFlag){H$.warn();return}Cw.set(this,{...i,type:String(t),bubbles:Boolean(r),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const i3=0,a3=1,o3=2,u3=3,Cw=new WeakMap;function Zr(e,t="this"){const r=Cw.get(e);return C2(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function l3(e){if(e.inPassiveListenerFlag){X$.warn();return}if(!e.cancelable){Y$.warn();return}e.canceledFlag=!0}Object.defineProperty(ro,"NONE",{enumerable:!0});Object.defineProperty(ro,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(ro,"AT_TARGET",{enumerable:!0});Object.defineProperty(ro,"BUBBLING_PHASE",{enumerable:!0});const f1=Object.getOwnPropertyNames(ro.prototype);for(let e=0;e<f1.length;++e)f1[e]!=="constructor"&&Object.defineProperty(ro.prototype,f1[e],{enumerable:!0});typeof Vi<"u"&&typeof Vi.Event<"u"&&Object.setPrototypeOf(ro.prototype,Vi.Event.prototype);function Z$(e){return Vi.DOMException?new Vi.DOMException(e,"InvalidStateError"):(bs==null&&(bs=class mI extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,mI)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(bs.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),f3(bs),f3(bs.prototype)),new bs(e))}let bs;const s3={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function f3(e){const t=Object.keys(s3);for(let r=0;r<t.length;++r){const n=t[r],i=s3[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class Wm extends ro{static wrap(t){return new(yI(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),gI.set(this,{original:t});const r=Object.keys(t);for(let n=0;n<r.length;++n){const i=r[n];i in this||Object.defineProperty(this,i,xI(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=No(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=No(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=No(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=No(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=No(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=No(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const gI=new WeakMap;function No(e){const t=gI.get(e);return C2(t!=null,"'this' is expected an Event object, but got",e),t}const am=new WeakMap;am.set(Object.prototype,Wm);typeof Vi<"u"&&typeof Vi.Event<"u"&&am.set(Vi.Event.prototype,Wm);function yI(e){const t=Object.getPrototypeOf(e);if(t==null)return Wm;let r=am.get(t);return r==null&&(r=K$(yI(t),t),am.set(t,r)),r}function K$(e,t){class r extends e{}const n=Object.keys(t);for(let i=0;i<n.length;++i)Object.defineProperty(r.prototype,n[i],xI(t,n[i]));return r}function xI(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return{get(){const n=No(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=No(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function J$(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function eB(e){e.flags|=8}function bI(e){return(e.flags&1)===1}function wI(e){return(e.flags&2)===2}function _I(e){return(e.flags&4)===4}function tB(e){return(e.flags&8)===8}function rB({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){G$(n)}}function SI({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&bI(e[n])===r)return n;return-1}function nB(e,t,r,n,i,a){let o;a&&(o=EI.bind(null,e,t,r),a.addEventListener("abort",o));const l=J$(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,l]):e.listeners.push(l),l}function EI(e,t,r){const n=SI(e,t,r);return n!==-1?AI(e,n):!1}function AI(e,t,r=!1){const n=e.listeners[t];return eB(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((i,a)=>a!==t),!1):(e.listeners.splice(t,1),!0)}function iB(){return Object.create(null)}function aB(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}class O2{constructor(){TI.set(this,iB())}addEventListener(t,r,n){const i=c1(this),{callback:a,capture:o,once:l,passive:s,signal:c,type:d}=oB(t,r,n);if(a==null||(c==null?void 0:c.aborted))return;const y=aB(i,d),g=SI(y,a,o);if(g!==-1){lB(y.listeners[g],s,l,c);return}nB(y,a,o,s,l,c)}removeEventListener(t,r,n){const i=c1(this),{callback:a,capture:o,type:l}=uB(t,r,n),s=i[l];a!=null&&s&&EI(s,a,o)}dispatchEvent(t){const r=c1(this)[String(t.type)];if(r==null)return!0;const n=t instanceof ro?t:Wm.wrap(t),i=Zr(n,"event");if(i.dispatchFlag)throw Z$("This event has been in dispatching.");if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){const{cow:a,listeners:o}=r;r.cow=!0;for(let l=0;l<o.length;++l){const s=o[l];if(!tB(s)&&(_I(s)&&AI(r,l,!a)&&(l-=1),i.inPassiveListenerFlag=wI(s),rB(s,this,n),i.inPassiveListenerFlag=!1,i.stopImmediatePropagationFlag))break}a||(r.cow=!1)}return i.target=null,i.currentTarget=null,i.stopImmediatePropagationFlag=!1,i.stopPropagationFlag=!1,i.dispatchFlag=!1,!i.canceledFlag}}const TI=new WeakMap;function c1(e,t="this"){const r=TI.get(e);return C2(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function oB(e,t,r){var n;return CI(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture),passive:Boolean(r.passive),once:Boolean(r.once),signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r),passive:!1,once:!1,signal:void 0}}function uB(e,t,r){return CI(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture)}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r)}}function CI(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){n3.warn(e);return}throw new TypeError(pI(n3.message,[e]))}}function lB(e,t,r,n){Q$.warn(bI(e)?"capture":"bubble",e.callback),wI(e)!==t&&s1.warn("passive"),_I(e)!==r&&s1.warn("once"),e.signal!==n&&s1.warn("signal")}const h1=Object.getOwnPropertyNames(O2.prototype);for(let e=0;e<h1.length;++e)h1[e]!=="constructor"&&Object.defineProperty(O2.prototype,h1[e],{enumerable:!0});typeof Vi<"u"&&typeof Vi.EventTarget<"u"&&Object.setPrototypeOf(O2.prototype,Vi.EventTarget.prototype);var sB={exports:{}};/*! Native Promise Only
|
|
39
|
-
v0.8.1 (c) Kyle Simpson
|
|
40
|
-
MIT License: http://getify.mit-license.org
|
|
41
|
-
*/(function(e){(function(r,n,i){n[r]=n[r]||i(),e.exports&&(e.exports=n[r])})("Promise",typeof Ar<"u"?Ar:Ar,function(){var r,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(C){return setImmediate(C)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(C,T,P,D){return Object.defineProperty(C,T,{value:P,writable:!0,configurable:D!==!1})}}catch{r=function(T,P,D){return T[P]=D,T}}i=function(){var C,T,P;function D(Y,j){this.fn=Y,this.self=j,this.next=void 0}return{add:function(j,re){P=new D(j,re),T?T.next=P:C=P,T=P,P=void 0},drain:function(){var j=C;for(C=T=n=void 0;j;)j.fn.call(j.self),j=j.next}}}();function l(_,C){i.add(_,C),n||(n=o(i.drain))}function s(_){var C,T=typeof _;return _!=null&&(T=="object"||T=="function")&&(C=_.then),typeof C=="function"?C:!1}function c(){for(var _=0;_<this.chain.length;_++)d(this,this.state===1?this.chain[_].success:this.chain[_].failure,this.chain[_]);this.chain.length=0}function d(_,C,T){var P,D;try{C===!1?T.reject(_.msg):(C===!0?P=_.msg:P=C.call(void 0,_.msg),P===T.promise?T.reject(TypeError("Promise-chain cycle")):(D=s(P))?D.call(P,T.resolve,T.reject):T.resolve(P))}catch(Y){T.reject(Y)}}function y(_){var C,T=this;if(!T.triggered){T.triggered=!0,T.def&&(T=T.def);try{(C=s(_))?l(function(){var P=new E(T);try{C.call(_,function(){y.apply(P,arguments)},function(){g.apply(P,arguments)})}catch(D){g.call(P,D)}}):(T.msg=_,T.state=1,T.chain.length>0&&l(c,T))}catch(P){g.call(new E(T),P)}}}function g(_){var C=this;C.triggered||(C.triggered=!0,C.def&&(C=C.def),C.msg=_,C.state=2,C.chain.length>0&&l(c,C))}function m(_,C,T,P){for(var D=0;D<C.length;D++)(function(j){_.resolve(C[j]).then(function(Ee){T(j,Ee)},P)})(D)}function E(_){this.def=_,this.triggered=!1}function M(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function b(_){if(typeof _!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var C=new M(this);this.then=function(P,D){var Y={success:typeof P=="function"?P:!0,failure:typeof D=="function"?D:!1};return Y.promise=new this.constructor(function(re,Ee){if(typeof re!="function"||typeof Ee!="function")throw TypeError("Not a function");Y.resolve=re,Y.reject=Ee}),C.chain.push(Y),C.state!==0&&l(c,C),Y.promise},this.catch=function(P){return this.then(void 0,P)};try{_.call(void 0,function(P){y.call(C,P)},function(P){g.call(C,P)})}catch(T){g.call(C,T)}}var w=r({},"constructor",b,!1);return b.prototype=w,r(w,"__NPO__",0,!1),r(b,"resolve",function(C){var T=this;return C&&typeof C=="object"&&C.__NPO__===1?C:new T(function(D,Y){if(typeof D!="function"||typeof Y!="function")throw TypeError("Not a function");D(C)})}),r(b,"reject",function(C){return new this(function(P,D){if(typeof P!="function"||typeof D!="function")throw TypeError("Not a function");D(C)})}),r(b,"all",function(C){var T=this;return a.call(C)!="[object Array]"?T.reject(TypeError("Not an array")):C.length===0?T.resolve([]):new T(function(D,Y){if(typeof D!="function"||typeof Y!="function")throw TypeError("Not a function");var j=C.length,re=Array(j),Ee=0;m(T,C,function(ke,Pe){re[ke]=Pe,++Ee===j&&D(re)},Y)})}),r(b,"race",function(C){var T=this;return a.call(C)!="[object Array]"?T.reject(TypeError("Not an array")):new T(function(D,Y){if(typeof D!="function"||typeof Y!="function")throw TypeError("Not a function");m(T,C,function(re,Ee){D(Ee)},Y)})}),b})})(sB);var fB={exports:{}};(function(e){(function(){var t={version:"3.8.0"},r=[].slice,n=function(u){return r.call(u)},i=self.document;function a(u){return u&&(u.ownerDocument||u.document||u).documentElement}function o(u){return u&&(u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView)}if(i)try{n(i.documentElement.childNodes)[0].nodeType}catch{n=function(f){for(var h=f.length,p=new Array(h);h--;)p[h]=f[h];return p}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement("DIV").style.setProperty("opacity",0,"")}catch{var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,d=this.CSSStyleDeclaration.prototype,y=d.setProperty;l.setAttribute=function(f,h){s.call(this,f,h+"")},l.setAttributeNS=function(f,h,p){c.call(this,f,h,p+"")},d.setProperty=function(f,h,p){y.call(this,f,h+"",p)}}t.ascending=g;function g(u,f){return u<f?-1:u>f?1:u>=f?0:NaN}t.descending=function(u,f){return f<u?-1:f>u?1:f>=u?0:NaN},t.min=function(u,f){var h=-1,p=u.length,v,x;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=x;break}for(;++h<p;)(x=u[h])!=null&&v>x&&(v=x)}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&v>x&&(v=x)}return v},t.max=function(u,f){var h=-1,p=u.length,v,x;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=x;break}for(;++h<p;)(x=u[h])!=null&&x>v&&(v=x)}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&x>v&&(v=x)}return v},t.extent=function(u,f){var h=-1,p=u.length,v,x,O;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=O=x;break}for(;++h<p;)(x=u[h])!=null&&(v>x&&(v=x),O<x&&(O=x))}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=O=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&(v>x&&(v=x),O<x&&(O=x))}return[v,O]};function m(u){return u===null?NaN:+u}function E(u){return!isNaN(u)}t.sum=function(u,f){var h=0,p=u.length,v,x=-1;if(arguments.length===1)for(;++x<p;)E(v=+u[x])&&(h+=v);else for(;++x<p;)E(v=+f.call(u,u[x],x))&&(h+=v);return h},t.mean=function(u,f){var h=0,p=u.length,v,x=-1,O=p;if(arguments.length===1)for(;++x<p;)E(v=m(u[x]))?h+=v:--O;else for(;++x<p;)E(v=m(f.call(u,u[x],x)))?h+=v:--O;if(O)return h/O},t.quantile=function(u,f){var h=(u.length-1)*f+1,p=Math.floor(h),v=+u[p-1],x=h-p;return x?v+x*(u[p]-v):v},t.median=function(u,f){var h=[],p=u.length,v,x=-1;if(arguments.length===1)for(;++x<p;)E(v=m(u[x]))&&h.push(v);else for(;++x<p;)E(v=m(f.call(u,u[x],x)))&&h.push(v);if(h.length)return t.quantile(h.sort(g),.5)},t.variance=function(u,f){var h=u.length,p=0,v,x,O=0,S=-1,R=0;if(arguments.length===1)for(;++S<h;)E(v=m(u[S]))&&(x=v-p,p+=x/++R,O+=x*(v-p));else for(;++S<h;)E(v=m(f.call(u,u[S],S)))&&(x=v-p,p+=x/++R,O+=x*(v-p));if(R>1)return O/(R-1)},t.deviation=function(){var u=t.variance.apply(this,arguments);return u&&Math.sqrt(u)};function M(u){return{left:function(f,h,p,v){for(arguments.length<3&&(p=0),arguments.length<4&&(v=f.length);p<v;){var x=p+v>>>1;u(f[x],h)<0?p=x+1:v=x}return p},right:function(f,h,p,v){for(arguments.length<3&&(p=0),arguments.length<4&&(v=f.length);p<v;){var x=p+v>>>1;u(f[x],h)>0?v=x:p=x+1}return p}}}var b=M(g);t.bisectLeft=b.left,t.bisect=t.bisectRight=b.right,t.bisector=function(u){return M(u.length===1?function(f,h){return g(u(f),h)}:u)},t.shuffle=function(u,f,h){(p=arguments.length)<3&&(h=u.length,p<2&&(f=0));for(var p=h-f,v,x;p;)x=Math.random()*p--|0,v=u[p+f],u[p+f]=u[x+f],u[x+f]=v;return u},t.permute=function(u,f){for(var h=f.length,p=new Array(h);h--;)p[h]=u[f[h]];return p},t.pairs=function(u){for(var f=0,h=u.length-1,p=u[0],v=new Array(h<0?0:h);f<h;)v[f]=[p,p=u[++f]];return v},t.transpose=function(u){if(!(x=u.length))return[];for(var f=-1,h=t.min(u,w),p=new Array(h);++f<h;)for(var v=-1,x,O=p[f]=new Array(x);++v<x;)O[v]=u[v][f];return p};function w(u){return u.length}t.zip=function(){return t.transpose(arguments)},t.keys=function(u){var f=[];for(var h in u)f.push(h);return f},t.values=function(u){var f=[];for(var h in u)f.push(u[h]);return f},t.entries=function(u){var f=[];for(var h in u)f.push({key:h,value:u[h]});return f},t.merge=function(u){for(var f=u.length,h,p=-1,v=0,x,O;++p<f;)v+=u[p].length;for(x=new Array(v);--f>=0;)for(O=u[f],h=O.length;--h>=0;)x[--v]=O[h];return x};var _=Math.abs;t.range=function(u,f,h){if(arguments.length<3&&(h=1,arguments.length<2&&(f=u,u=0)),(f-u)/h===1/0)throw new Error("infinite range");var p=[],v=C(_(h)),x=-1,O;if(u*=v,f*=v,h*=v,h<0)for(;(O=u+h*++x)>f;)p.push(O/v);else for(;(O=u+h*++x)<f;)p.push(O/v);return p};function C(u){for(var f=1;u*f%1;)f*=10;return f}function T(u,f){for(var h in f)Object.defineProperty(u.prototype,h,{value:f[h],enumerable:!1})}t.map=function(u,f){var h=new P;if(u instanceof P)u.forEach(function(S,R){h.set(S,R)});else if(Array.isArray(u)){var p=-1,v=u.length,x;if(arguments.length===1)for(;++p<v;)h.set(p,u[p]);else for(;++p<v;)h.set(f.call(u,x=u[p],p),x)}else for(var O in u)h.set(O,u[O]);return h};function P(){this._=Object.create(null)}var D="__proto__",Y="\0";T(P,{has:Ee,get:function(u){return this._[j(u)]},set:function(u,f){return this._[j(u)]=f},remove:me,keys:ke,values:function(){var u=[];for(var f in this._)u.push(this._[f]);return u},entries:function(){var u=[];for(var f in this._)u.push({key:re(f),value:this._[f]});return u},size:Pe,empty:Le,forEach:function(u){for(var f in this._)u.call(this,re(f),this._[f])}});function j(u){return(u+="")===D||u[0]===Y?Y+u:u}function re(u){return(u+="")[0]===Y?u.slice(1):u}function Ee(u){return j(u)in this._}function me(u){return(u=j(u))in this._&&delete this._[u]}function ke(){var u=[];for(var f in this._)u.push(re(f));return u}function Pe(){var u=0;for(var f in this._)++u;return u}function Le(){for(var u in this._)return!1;return!0}t.nest=function(){var u={},f=[],h=[],p,v;function x(S,R,N){if(N>=f.length)return v?v.call(u,R):p?R.sort(p):R;for(var L=-1,B=R.length,z=f[N++],ie,oe,G,X=new P,J;++L<B;)(J=X.get(ie=z(oe=R[L])))?J.push(oe):X.set(ie,[oe]);return S?(oe=S(),G=function(ue,le){oe.set(ue,x(S,le,N))}):(oe={},G=function(ue,le){oe[ue]=x(S,le,N)}),X.forEach(G),oe}function O(S,R){if(R>=f.length)return S;var N=[],L=h[R++];return S.forEach(function(B,z){N.push({key:B,values:O(z,R)})}),L?N.sort(function(B,z){return L(B.key,z.key)}):N}return u.map=function(S,R){return x(R,S,0)},u.entries=function(S){return O(x(t.map,S,0),0)},u.key=function(S){return f.push(S),u},u.sortKeys=function(S){return h[f.length-1]=S,u},u.sortValues=function(S){return p=S,u},u.rollup=function(S){return v=S,u},u},t.set=function(u){var f=new ut;if(u)for(var h=0,p=u.length;h<p;++h)f.add(u[h]);return f};function ut(){this._=Object.create(null)}T(ut,{has:Ee,add:function(u){return this._[j(u+="")]=!0,u},remove:me,values:ke,size:Pe,empty:Le,forEach:function(u){for(var f in this._)u.call(this,re(f))}}),t.behavior={};function nt(u){return u}t.rebind=function(u,f){for(var h=1,p=arguments.length,v;++h<p;)u[v=arguments[h]]=De(u,f,f[v]);return u};function De(u,f,h){return function(){var p=h.apply(f,arguments);return p===f?u:p}}function We(u,f){if(f in u)return f;f=f.charAt(0).toUpperCase()+f.slice(1);for(var h=0,p=_t.length;h<p;++h){var v=_t[h]+f;if(v in u)return v}}var _t=["webkit","ms","moz","Moz","o","O"];function He(){}t.dispatch=function(){for(var u=new be,f=-1,h=arguments.length;++f<h;)u[arguments[f]]=Ve(u);return u};function be(){}be.prototype.on=function(u,f){var h=u.indexOf("."),p="";if(h>=0&&(p=u.slice(h+1),u=u.slice(0,h)),u)return arguments.length<2?this[u].on(p):this[u].on(p,f);if(arguments.length===2){if(f==null)for(u in this)this.hasOwnProperty(u)&&this[u].on(p,null);return this}};function Ve(u){var f=[],h=new P;function p(){for(var v=f,x=-1,O=v.length,S;++x<O;)(S=v[x].on)&&S.apply(this,arguments);return u}return p.on=function(v,x){var O=h.get(v),S;return arguments.length<2?O&&O.on:(O&&(O.on=null,f=f.slice(0,S=f.indexOf(O)).concat(f.slice(S+1)),h.remove(v)),x&&f.push(h.set(v,{on:x})),u)},p}t.event=null;function st(){t.event.preventDefault()}function Qe(){for(var u=t.event,f;f=u.sourceEvent;)u=f;return u}function ct(u){for(var f=new be,h=0,p=arguments.length;++h<p;)f[arguments[h]]=Ve(f);return f.of=function(v,x){return function(O){try{var S=O.sourceEvent=t.event;O.target=u,t.event=O,f[O.type].apply(v,x)}finally{t.event=S}}},f}t.requote=function(u){return u.replace(yt,"\\$&")};var yt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Wt={}.__proto__?function(u,f){u.__proto__=f}:function(u,f){for(var h in f)u[h]=f[h]};function Vt(u){return Wt(u,Ce),u}var Ze=function(u,f){return f.querySelector(u)},At=function(u,f){return f.querySelectorAll(u)},Ut=function(u,f){var h=u.matches||u[We(u,"matchesSelector")];return Ut=function(p,v){return h.call(p,v)},Ut(u,f)};typeof Sizzle=="function"&&(Ze=function(u,f){return Sizzle(u,f)[0]||null},At=Sizzle,Ut=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var Ce=t.selection.prototype=[];Ce.select=function(u){var f=[],h,p,v,x;u=W(u);for(var O=-1,S=this.length;++O<S;){f.push(h=[]),h.parentNode=(v=this[O]).parentNode;for(var R=-1,N=v.length;++R<N;)(x=v[R])?(h.push(p=u.call(x,x.__data__,R,O)),p&&"__data__"in x&&(p.__data__=x.__data__)):h.push(null)}return Vt(f)};function W(u){return typeof u=="function"?u:function(){return Ze(u,this)}}Ce.selectAll=function(u){var f=[],h,p;u=ae(u);for(var v=-1,x=this.length;++v<x;)for(var O=this[v],S=-1,R=O.length;++S<R;)(p=O[S])&&(f.push(h=n(u.call(p,p.__data__,S,v))),h.parentNode=p);return Vt(f)};function ae(u){return typeof u=="function"?u:function(){return At(u,this)}}var I="http://www.w3.org/1999/xhtml",A={svg:"http://www.w3.org/2000/svg",xhtml:I,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};t.ns={prefix:A,qualify:function(u){var f=u.indexOf(":"),h=u;return f>=0&&(h=u.slice(0,f))!=="xmlns"&&(u=u.slice(f+1)),A.hasOwnProperty(h)?{space:A[h],local:u}:u}},Ce.attr=function(u,f){if(arguments.length<2){if(typeof u=="string"){var h=this.node();return u=t.ns.qualify(u),u.local?h.getAttributeNS(u.space,u.local):h.getAttribute(u)}for(f in u)this.each(k(f,u[f]));return this}return this.each(k(u,f))};function k(u,f){u=t.ns.qualify(u);function h(){this.removeAttribute(u)}function p(){this.removeAttributeNS(u.space,u.local)}function v(){this.setAttribute(u,f)}function x(){this.setAttributeNS(u.space,u.local,f)}function O(){var R=f.apply(this,arguments);R==null?this.removeAttribute(u):this.setAttribute(u,R)}function S(){var R=f.apply(this,arguments);R==null?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,R)}return f==null?u.local?p:h:typeof f=="function"?u.local?S:O:u.local?x:v}function $(u){return u.trim().replace(/\s+/g," ")}Ce.classed=function(u,f){if(arguments.length<2){if(typeof u=="string"){var h=this.node(),p=(u=Fe(u)).length,v=-1;if(f=h.classList){for(;++v<p;)if(!f.contains(u[v]))return!1}else for(f=h.getAttribute("class");++v<p;)if(!fe(u[v]).test(f))return!1;return!0}for(f in u)this.each(ze(f,u[f]));return this}return this.each(ze(u,f))};function fe(u){return new RegExp("(?:^|\\s+)"+t.requote(u)+"(?:\\s+|$)","g")}function Fe(u){return(u+"").trim().split(/^|\s+/)}function ze(u,f){u=Fe(u).map(Qt);var h=u.length;function p(){for(var x=-1;++x<h;)u[x](this,f)}function v(){for(var x=-1,O=f.apply(this,arguments);++x<h;)u[x](this,O)}return typeof f=="function"?v:p}function Qt(u){var f=fe(u);return function(h,p){if(v=h.classList)return p?v.add(u):v.remove(u);var v=h.getAttribute("class")||"";p?(f.lastIndex=0,f.test(v)||h.setAttribute("class",$(v+" "+u))):h.setAttribute("class",$(v.replace(f," ")))}}Ce.style=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f="");for(h in u)this.each(sr(h,u[h],f));return this}if(p<2){var v=this.node();return o(v).getComputedStyle(v,null).getPropertyValue(u)}h=""}return this.each(sr(u,f,h))};function sr(u,f,h){function p(){this.style.removeProperty(u)}function v(){this.style.setProperty(u,f,h)}function x(){var O=f.apply(this,arguments);O==null?this.style.removeProperty(u):this.style.setProperty(u,O,h)}return f==null?p:typeof f=="function"?x:v}Ce.property=function(u,f){if(arguments.length<2){if(typeof u=="string")return this.node()[u];for(f in u)this.each(nr(f,u[f]));return this}return this.each(nr(u,f))};function nr(u,f){function h(){delete this[u]}function p(){this[u]=f}function v(){var x=f.apply(this,arguments);x==null?delete this[u]:this[u]=x}return f==null?h:typeof f=="function"?v:p}Ce.text=function(u){return arguments.length?this.each(typeof u=="function"?function(){var f=u.apply(this,arguments);this.textContent=f==null?"":f}:u==null?function(){this.textContent=""}:function(){this.textContent=u}):this.node().textContent},Ce.html=function(u){return arguments.length?this.each(typeof u=="function"?function(){var f=u.apply(this,arguments);this.innerHTML=f==null?"":f}:u==null?function(){this.innerHTML=""}:function(){this.innerHTML=u}):this.node().innerHTML},Ce.append=function(u){return u=Hr(u),this.select(function(){return this.appendChild(u.apply(this,arguments))})};function Hr(u){function f(){var p=this.ownerDocument,v=this.namespaceURI;return v===I&&p.documentElement.namespaceURI===I?p.createElement(u):p.createElementNS(v,u)}function h(){return this.ownerDocument.createElementNS(u.space,u.local)}return typeof u=="function"?u:(u=t.ns.qualify(u)).local?h:f}Ce.insert=function(u,f){return u=Hr(u),f=W(f),this.select(function(){return this.insertBefore(u.apply(this,arguments),f.apply(this,arguments)||null)})},Ce.remove=function(){return this.each(kr)};function kr(){var u=this.parentNode;u&&u.removeChild(this)}Ce.data=function(u,f){var h=-1,p=this.length,v,x;if(!arguments.length){for(u=new Array(p=(v=this[0]).length);++h<p;)(x=v[h])&&(u[h]=x.__data__);return u}function O(L,B){var z,ie=L.length,oe=B.length,G=Math.min(ie,oe),X=new Array(oe),J=new Array(oe),ue=new Array(ie),le,te;if(f){var Re=new P,Ue=new Array(ie),tt;for(z=-1;++z<ie;)(le=L[z])&&(Re.has(tt=f.call(le,le.__data__,z))?ue[z]=le:Re.set(tt,le),Ue[z]=tt);for(z=-1;++z<oe;)(le=Re.get(tt=f.call(B,te=B[z],z)))?le!==!0&&(X[z]=le,le.__data__=te):J[z]=Xi(te),Re.set(tt,!0);for(z=-1;++z<ie;)z in Ue&&Re.get(Ue[z])!==!0&&(ue[z]=L[z])}else{for(z=-1;++z<G;)le=L[z],te=B[z],le?(le.__data__=te,X[z]=le):J[z]=Xi(te);for(;z<oe;++z)J[z]=Xi(B[z]);for(;z<ie;++z)ue[z]=L[z]}J.update=X,J.parentNode=X.parentNode=ue.parentNode=L.parentNode,S.push(J),R.push(X),N.push(ue)}var S=ep([]),R=Vt([]),N=Vt([]);if(typeof u=="function")for(;++h<p;)O(v=this[h],u.call(v,v.parentNode.__data__,h));else for(;++h<p;)O(v=this[h],u);return R.enter=function(){return S},R.exit=function(){return N},R};function Xi(u){return{__data__:u}}Ce.datum=function(u){return arguments.length?this.property("__data__",u):this.property("__data__")},Ce.filter=function(u){var f=[],h,p,v;typeof u!="function"&&(u=mu(u));for(var x=0,O=this.length;x<O;x++){f.push(h=[]),h.parentNode=(p=this[x]).parentNode;for(var S=0,R=p.length;S<R;S++)(v=p[S])&&u.call(v,v.__data__,S,x)&&h.push(v)}return Vt(f)};function mu(u){return function(){return Ut(this,u)}}Ce.order=function(){for(var u=-1,f=this.length;++u<f;)for(var h=this[u],p=h.length-1,v=h[p],x;--p>=0;)(x=h[p])&&(v&&v!==x.nextSibling&&v.parentNode.insertBefore(x,v),v=x);return this},Ce.sort=function(u){u=wa.apply(this,arguments);for(var f=-1,h=this.length;++f<h;)this[f].sort(u);return this.order()};function wa(u){return arguments.length||(u=g),function(f,h){return f&&h?u(f.__data__,h.__data__):!f-!h}}Ce.each=function(u){return pi(this,function(f,h,p){u.call(f,f.__data__,h,p)})};function pi(u,f){for(var h=0,p=u.length;h<p;h++)for(var v=u[h],x=0,O=v.length,S;x<O;x++)(S=v[x])&&f(S,x,h);return u}Ce.call=function(u){var f=n(arguments);return u.apply(f[0]=this,f),this},Ce.empty=function(){return!this.node()},Ce.node=function(){for(var u=0,f=this.length;u<f;u++)for(var h=this[u],p=0,v=h.length;p<v;p++){var x=h[p];if(x)return x}return null},Ce.size=function(){var u=0;return pi(this,function(){++u}),u};function ep(u){return Wt(u,Ii),u}var Ii=[];t.selection.enter=ep,t.selection.enter.prototype=Ii,Ii.append=Ce.append,Ii.empty=Ce.empty,Ii.node=Ce.node,Ii.call=Ce.call,Ii.size=Ce.size,Ii.select=function(u){for(var f=[],h,p,v,x,O,S=-1,R=this.length;++S<R;){v=(x=this[S]).update,f.push(h=[]),h.parentNode=x.parentNode;for(var N=-1,L=x.length;++N<L;)(O=x[N])?(h.push(v[N]=p=u.call(x.parentNode,O.__data__,N,S)),p.__data__=O.__data__):h.push(null)}return Vt(f)},Ii.insert=function(u,f){return arguments.length<2&&(f=gu(this)),Ce.insert.call(this,u,f)};function gu(u){var f,h;return function(p,v,x){var O=u[x].update,S=O.length,R;for(x!=h&&(h=x,f=0),v>=f&&(f=v+1);!(R=O[f])&&++f<S;);return R}}t.select=function(u){var f;return typeof u=="string"?(f=[Ze(u,i)],f.parentNode=i.documentElement):(f=[u],f.parentNode=a(u)),Vt([f])},t.selectAll=function(u){var f;return typeof u=="string"?(f=n(At(u,i)),f.parentNode=i.documentElement):(f=n(u),f.parentNode=null),Vt([f])},Ce.on=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f=!1);for(h in u)this.each(Fl(h,u[h],f));return this}if(p<2)return(p=this.node()["__on"+u])&&p._;h=!1}return this.each(Fl(u,f,h))};function Fl(u,f,h){var p="__on"+u,v=u.indexOf("."),x=Nl;v>0&&(u=u.slice(0,v));var O=Pl.get(u);O&&(u=O,x=Ng);function S(){var L=this[p];L&&(this.removeEventListener(u,L,L.$),delete this[p])}function R(){var L=x(f,n(arguments));S.call(this),this.addEventListener(u,this[p]=L,L.$=h),L._=f}function N(){var L=new RegExp("^__on([^.]+)"+t.requote(u)+"$"),B;for(var z in this)if(B=z.match(L)){var ie=this[z];this.removeEventListener(B[1],ie,ie.$),delete this[z]}}return v?f?R:S:f?He:N}var Pl=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&Pl.forEach(function(u){"on"+u in i&&Pl.remove(u)});function Nl(u,f){return function(h){var p=t.event;t.event=h,f[0]=this.__data__;try{u.apply(this,f)}finally{t.event=p}}}function Ng(u,f){var h=Nl(u,f);return function(p){var v=this,x=p.relatedTarget;(!x||x!==v&&!(x.compareDocumentPosition(v)&8))&&h.call(v,p)}}var _a,Lg=0;function Ll(u){var f=".dragsuppress-"+ ++Lg,h="click"+f,p=t.select(o(u)).on("touchmove"+f,st).on("dragstart"+f,st).on("selectstart"+f,st);if(_a==null&&(_a="onselectstart"in u?!1:We(u.style,"userSelect")),_a){var v=a(u).style,x=v[_a];v[_a]="none"}return function(O){if(p.on(f,null),_a&&(v[_a]=x),O){var S=function(){p.on(h,null)};p.on(h,function(){st(),S()},!0),setTimeout(S,0)}}}t.mouse=function(u){return ei(u,Qe())};var Jr=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function ei(u,f){f.changedTouches&&(f=f.changedTouches[0]);var h=u.ownerSVGElement||u;if(h.createSVGPoint){var p=h.createSVGPoint();if(Jr<0){var v=o(u);if(v.scrollX||v.scrollY){h=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var x=h[0][0].getScreenCTM();Jr=!(x.f||x.e),h.remove()}}return Jr?(p.x=f.pageX,p.y=f.pageY):(p.x=f.clientX,p.y=f.clientY),p=p.matrixTransform(u.getScreenCTM().inverse()),[p.x,p.y]}var O=u.getBoundingClientRect();return[f.clientX-O.left-u.clientLeft,f.clientY-O.top-u.clientTop]}t.touch=function(u,f,h){if(arguments.length<3&&(h=f,f=Qe().changedTouches),f){for(var p=0,v=f.length,x;p<v;++p)if((x=f[p]).identifier===h)return ei(u,x)}},t.behavior.drag=function(){var u=ct(v,"drag","dragstart","dragend"),f=null,h=x(He,t.mouse,o,"mousemove","mouseup"),p=x(Ln,t.touch,nt,"touchmove","touchend");function v(){this.on("mousedown.drag",h).on("touchstart.drag",p)}function x(O,S,R,N,L){return function(){var B=this,z=t.event.target.correspondingElement||t.event.target,ie=B.parentNode,oe=u.of(B,arguments),G=0,X=O(),J=".drag"+(X==null?"":"-"+X),ue,le=t.select(R(z)).on(N+J,Ue).on(L+J,tt),te=Ll(z),Re=S(ie,X);f?(ue=f.apply(B,arguments),ue=[ue.x-Re[0],ue.y-Re[1]]):ue=[0,0],oe({type:"dragstart"});function Ue(){var je=S(ie,X),at,vt;!je||(at=je[0]-Re[0],vt=je[1]-Re[1],G|=at|vt,Re=je,oe({type:"drag",x:je[0]+ue[0],y:je[1]+ue[1],dx:at,dy:vt}))}function tt(){!S(ie,X)||(le.on(N+J,null).on(L+J,null),te(G),oe({type:"dragend"}))}}}return v.origin=function(O){return arguments.length?(f=O,v):f},t.rebind(v,u,"on")};function Ln(){return t.event.changedTouches[0].identifier}t.touches=function(u,f){return arguments.length<2&&(f=Qe().touches),f?n(f).map(function(h){var p=ei(u,h);return p.identifier=h.identifier,p}):[]};var ir=1e-6,tp=ir*ir,Ri=Math.PI,oo=2*Ri,rp=oo-ir,vi=Ri/2,np=Ri/180,yu=180/Ri;function Dg(u,f,h){return(f[0]-u[0])*(h[1]-u[1])-(f[1]-u[1])*(h[0]-u[0])}function ip(u){return u>1?vi:u<-1?-vi:Math.asin(u)}function $g(u){return((u=Math.exp(u))-1/u)/2}function ap(u){return((u=Math.exp(u))+1/u)/2}function Bg(u){return((u=Math.exp(2*u))-1)/(u+1)}var xu=Math.SQRT2,Lf=2,op=4;t.interpolateZoom=function(u,f){var h=u[0],p=u[1],v=u[2],x=f[0],O=f[1],S=f[2],R=x-h,N=O-p,L=R*R+N*N,B,z;if(L<tp)z=Math.log(S/v)/xu,B=function(ue){return[h+ue*R,p+ue*N,v*Math.exp(xu*ue*z)]};else{var ie=Math.sqrt(L),oe=(S*S-v*v+op*L)/(2*v*Lf*ie),G=(S*S-v*v-op*L)/(2*S*Lf*ie),X=Math.log(Math.sqrt(oe*oe+1)-oe),J=Math.log(Math.sqrt(G*G+1)-G);z=(J-X)/xu,B=function(ue){var le=ue*z,te=ap(X),Re=v/(Lf*ie)*(te*Bg(xu*le+X)-$g(X));return[h+Re*R,p+Re*N,v*te/ap(xu*le+X)]}}return B.duration=z*1e3,B},t.behavior.zoom=function(){var u={x:0,y:0,k:1},f,h,p,v=[960,500],x=bu,O=250,S=0,R="mousedown.zoom",N="mousemove.zoom",L="mouseup.zoom",B,z="touchstart.zoom",ie,oe=ct(le,"zoomstart","zoom","zoomend"),G,X,J,ue;Df||(Df="onwheel"in i?(Dl=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(Dl=function(){return t.event.wheelDelta},"mousewheel"):(Dl=function(){return-t.event.detail},"MozMousePixelScroll"));function le(rt){rt.on(R,zt).on(Df+".zoom",Mr).on("dblclick.zoom",dr).on(z,ar)}le.event=function(rt){rt.each(function(){var Gt=oe.of(this,arguments),qt=u;Bi?t.select(this).transition().each("start.zoom",function(){u=this.__chart__||{x:0,y:0,k:1},vt(Gt)}).tween("zoom:zoom",function(){var or=v[0],Sr=v[1],$r=h?h[0]:or/2,Vr=h?h[1]:Sr/2,cn=t.interpolateZoom([($r-u.x)/u.k,(Vr-u.y)/u.k,or/u.k],[($r-qt.x)/qt.k,(Vr-qt.y)/qt.k,or/qt.k]);return function(xn){var rn=cn(xn),kn=or/rn[2];this.__chart__=u={x:$r-rn[0]*kn,y:Vr-rn[1]*kn,k:kn},jt(Gt)}}).each("interrupt.zoom",function(){bt(Gt)}).each("end.zoom",function(){bt(Gt)}):(this.__chart__=u,vt(Gt),jt(Gt),bt(Gt))})},le.translate=function(rt){return arguments.length?(u={x:+rt[0],y:+rt[1],k:u.k},at(),le):[u.x,u.y]},le.scale=function(rt){return arguments.length?(u={x:u.x,y:u.y,k:null},Ue(+rt),at(),le):u.k},le.scaleExtent=function(rt){return arguments.length?(x=rt==null?bu:[+rt[0],+rt[1]],le):x},le.center=function(rt){return arguments.length?(p=rt&&[+rt[0],+rt[1]],le):p},le.size=function(rt){return arguments.length?(v=rt&&[+rt[0],+rt[1]],le):v},le.duration=function(rt){return arguments.length?(O=+rt,le):O},le.x=function(rt){return arguments.length?(X=rt,G=rt.copy(),u={x:0,y:0,k:1},le):X},le.y=function(rt){return arguments.length?(ue=rt,J=rt.copy(),u={x:0,y:0,k:1},le):ue};function te(rt){return[(rt[0]-u.x)/u.k,(rt[1]-u.y)/u.k]}function Re(rt){return[rt[0]*u.k+u.x,rt[1]*u.k+u.y]}function Ue(rt){u.k=Math.max(x[0],Math.min(x[1],rt))}function tt(rt,Gt){Gt=Re(Gt),u.x+=rt[0]-Gt[0],u.y+=rt[1]-Gt[1]}function je(rt,Gt,qt,or){rt.__chart__={x:u.x,y:u.y,k:u.k},Ue(Math.pow(2,or)),tt(h=Gt,qt),rt=t.select(rt),O>0&&(rt=rt.transition().duration(O)),rt.call(le.event)}function at(){X&&X.domain(G.range().map(function(rt){return(rt-u.x)/u.k}).map(G.invert)),ue&&ue.domain(J.range().map(function(rt){return(rt-u.y)/u.k}).map(J.invert))}function vt(rt){S++||rt({type:"zoomstart"})}function jt(rt){at(),rt({type:"zoom",scale:u.k,translate:[u.x,u.y]})}function bt(rt){--S||(rt({type:"zoomend"}),h=null)}function zt(){var rt=this,Gt=oe.of(rt,arguments),qt=0,or=t.select(o(rt)).on(N,Vr).on(L,cn),Sr=te(t.mouse(rt)),$r=Ll(rt);vs.call(rt),vt(Gt);function Vr(){qt=1,tt(t.mouse(rt),Sr),jt(Gt)}function cn(){or.on(N,null).on(L,null),$r(qt),bt(Gt)}}function ar(){var rt=this,Gt=oe.of(rt,arguments),qt={},or=0,Sr,$r=".zoom-"+t.event.changedTouches[0].identifier,Vr="touchmove"+$r,cn="touchend"+$r,xn=[],rn=t.select(rt),kn=Ll(rt);H(),vt(Gt),rn.on(R,null).on(z,H);function F(){var Me=t.touches(rt);return Sr=u.k,Me.forEach(function(ye){ye.identifier in qt&&(qt[ye.identifier]=te(ye))}),Me}function H(){var Me=t.event.target;t.select(Me).on(Vr,K).on(cn,Se),xn.push(Me);for(var ye=t.event.changedTouches,we=0,Ye=ye.length;we<Ye;++we)qt[ye[we].identifier]=null;var Xe=F(),et=Date.now();if(Xe.length===1){if(et-ie<500){var ft=Xe[0];je(rt,ft,qt[ft.identifier],Math.floor(Math.log(u.k)/Math.LN2)+1),st()}ie=et}else if(Xe.length>1){var ft=Xe[0],It=Xe[1],St=ft[0]-It[0],it=ft[1]-It[1];or=St*St+it*it}}function K(){var Me=t.touches(rt),ye,we,Ye,Xe;vs.call(rt);for(var et=0,ft=Me.length;et<ft;++et,Xe=null)if(Ye=Me[et],Xe=qt[Ye.identifier]){if(we)break;ye=Ye,we=Xe}if(Xe){var It=(It=Ye[0]-ye[0])*It+(It=Ye[1]-ye[1])*It,St=or&&Math.sqrt(It/or);ye=[(ye[0]+Ye[0])/2,(ye[1]+Ye[1])/2],we=[(we[0]+Xe[0])/2,(we[1]+Xe[1])/2],Ue(St*Sr)}ie=null,tt(ye,we),jt(Gt)}function Se(){if(t.event.touches.length){for(var Me=t.event.changedTouches,ye=0,we=Me.length;ye<we;++ye)delete qt[Me[ye].identifier];for(var Ye in qt)return void F()}t.selectAll(xn).on($r,null),rn.on(R,zt).on(z,ar),kn(),bt(Gt)}}function Mr(){var rt=oe.of(this,arguments);B?clearTimeout(B):(vs.call(this),f=te(h=p||t.mouse(this)),vt(rt)),B=setTimeout(function(){B=null,bt(rt)},50),st(),Ue(Math.pow(2,Dl()*.002)*u.k),tt(h,f),jt(rt)}function dr(){var rt=t.mouse(this),Gt=Math.log(u.k)/Math.LN2;je(this,rt,te(rt),t.event.shiftKey?Math.ceil(Gt)-1:Math.floor(Gt)+1)}return t.rebind(le,oe,"on")};var bu=[0,1/0],Dl,Df;t.color=Qi;function Qi(){}Qi.prototype.toString=function(){return this.rgb()+""},t.hsl=Gn;function Gn(u,f,h){return this instanceof Gn?(this.h=+u,this.s=+f,void(this.l=+h)):arguments.length<2?u instanceof Gn?new Gn(u.h,u.s,u.l):Ea(""+u,Wf,Gn):new Gn(u,f,h)}var $l=Gn.prototype=new Qi;$l.brighter=function(u){return u=Math.pow(.7,arguments.length?u:1),new Gn(this.h,this.s,this.l/u)},$l.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Gn(this.h,this.s,u*this.l)},$l.rgb=function(){return Bl(this.h,this.s,this.l)};function Bl(u,f,h){var p,v;u=isNaN(u)?0:(u%=360)<0?u+360:u,f=isNaN(f)||f<0?0:f>1?1:f,h=h<0?0:h>1?1:h,v=h<=.5?h*(1+f):h+f-h*f,p=2*h-v;function x(S){return S>360?S-=360:S<0&&(S+=360),S<60?p+(v-p)*S/60:S<180?v:S<240?p+(v-p)*(240-S)/60:p}function O(S){return Math.round(x(S)*255)}return new en(O(u+120),O(u),O(u-120))}t.hcl=ti;function ti(u,f,h){return this instanceof ti?(this.h=+u,this.c=+f,void(this.l=+h)):arguments.length<2?u instanceof ti?new ti(u.h,u.c,u.l):u instanceof Xr?sp(u.l,u.a,u.b):sp((u=Aa((u=t.rgb(u)).r,u.g,u.b)).l,u.a,u.b):new ti(u,f,h)}var wu=ti.prototype=new Qi;wu.brighter=function(u){return new ti(this.h,this.c,Math.min(100,this.l+Sa*(arguments.length?u:1)))},wu.darker=function(u){return new ti(this.h,this.c,Math.max(0,this.l-Sa*(arguments.length?u:1)))},wu.rgb=function(){return _u(this.h,this.c,this.l).rgb()};function _u(u,f,h){return isNaN(u)&&(u=0),isNaN(f)&&(f=0),new Xr(h,Math.cos(u*=np)*f,Math.sin(u)*f)}t.lab=Xr;function Xr(u,f,h){return this instanceof Xr?(this.l=+u,this.a=+f,void(this.b=+h)):arguments.length<2?u instanceof Xr?new Xr(u.l,u.a,u.b):u instanceof ti?_u(u.h,u.c,u.l):Aa((u=en(u)).r,u.g,u.b):new Xr(u,f,h)}var Sa=18,$f=.95047,Bf=1,up=1.08883,zf=Xr.prototype=new Qi;zf.brighter=function(u){return new Xr(Math.min(100,this.l+Sa*(arguments.length?u:1)),this.a,this.b)},zf.darker=function(u){return new Xr(Math.max(0,this.l-Sa*(arguments.length?u:1)),this.a,this.b)},zf.rgb=function(){return lp(this.l,this.a,this.b)};function lp(u,f,h){var p=(u+16)/116,v=p+f/500,x=p-h/200;return v=Uf(v)*$f,p=Uf(p)*Bf,x=Uf(x)*up,new en(Gf(3.2404542*v-1.5371385*p-.4985314*x),Gf(-.969266*v+1.8760108*p+.041556*x),Gf(.0556434*v-.2040259*p+1.0572252*x))}function sp(u,f,h){return u>0?new ti(Math.atan2(h,f)*yu,Math.sqrt(f*f+h*h),u):new ti(NaN,NaN,u)}function Uf(u){return u>.206893034?u*u*u:(u-4/29)/7.787037}function jf(u){return u>.008856?Math.pow(u,1/3):7.787037*u+4/29}function Gf(u){return Math.round(255*(u<=.00304?12.92*u:1.055*Math.pow(u,1/2.4)-.055))}t.rgb=en;function en(u,f,h){return this instanceof en?(this.r=~~u,this.g=~~f,void(this.b=~~h)):arguments.length<2?u instanceof en?new en(u.r,u.g,u.b):Ea(""+u,en,Bl):new en(u,f,h)}function fp(u){return new en(u>>16,u>>8&255,u&255)}function zl(u){return fp(u)+""}var Zi=en.prototype=new Qi;Zi.brighter=function(u){u=Math.pow(.7,arguments.length?u:1);var f=this.r,h=this.g,p=this.b,v=30;return!f&&!h&&!p?new en(v,v,v):(f&&f<v&&(f=v),h&&h<v&&(h=v),p&&p<v&&(p=v),new en(Math.min(255,f/u),Math.min(255,h/u),Math.min(255,p/u)))},Zi.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new en(u*this.r,u*this.g,u*this.b)},Zi.hsl=function(){return Wf(this.r,this.g,this.b)},Zi.toString=function(){return"#"+uo(this.r)+uo(this.g)+uo(this.b)};function uo(u){return u<16?"0"+Math.max(0,u).toString(16):Math.min(255,u).toString(16)}function Ea(u,f,h){var p=0,v=0,x=0,O,S,R;if(O=/([a-z]+)\((.*)\)/.exec(u=u.toLowerCase()),O)switch(S=O[2].split(","),O[1]){case"hsl":return h(parseFloat(S[0]),parseFloat(S[1])/100,parseFloat(S[2])/100);case"rgb":return f(Ki(S[0]),Ki(S[1]),Ki(S[2]))}return(R=lo.get(u))?f(R.r,R.g,R.b):(u!=null&&u.charAt(0)==="#"&&!isNaN(R=parseInt(u.slice(1),16))&&(u.length===4?(p=(R&3840)>>4,p=p>>4|p,v=R&240,v=v>>4|v,x=R&15,x=x<<4|x):u.length===7&&(p=(R&16711680)>>16,v=(R&65280)>>8,x=R&255)),f(p,v,x))}function Wf(u,f,h){var p=Math.min(u/=255,f/=255,h/=255),v=Math.max(u,f,h),x=v-p,O,S,R=(v+p)/2;return x?(S=R<.5?x/(v+p):x/(2-v-p),u==v?O=(f-h)/x+(f<h?6:0):f==v?O=(h-u)/x+2:O=(u-f)/x+4,O*=60):(O=NaN,S=R>0&&R<1?0:O),new Gn(O,S,R)}function Aa(u,f,h){u=Ul(u),f=Ul(f),h=Ul(h);var p=jf((.4124564*u+.3575761*f+.1804375*h)/$f),v=jf((.2126729*u+.7151522*f+.072175*h)/Bf),x=jf((.0193339*u+.119192*f+.9503041*h)/up);return Xr(116*v-16,500*(p-v),200*(v-x))}function Ul(u){return(u/=255)<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4)}function Ki(u){var f=parseFloat(u);return u.charAt(u.length-1)==="%"?Math.round(f*2.55):f}var lo=t.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});lo.forEach(function(u,f){lo.set(u,fp(f))});function mr(u){return typeof u=="function"?u:function(){return u}}t.functor=mr,t.xhr=Hf(nt);function Hf(u){return function(f,h,p){return arguments.length===2&&typeof h=="function"&&(p=h,h=null),jl(f,h,u,p)}}function jl(u,f,h,p){var v={},x=t.dispatch("beforesend","progress","load","error"),O={},S=new XMLHttpRequest,R=null;self.XDomainRequest&&!("withCredentials"in S)&&/^(http(s)?:)?\/\//.test(u)&&(S=new XDomainRequest),"onload"in S?S.onload=S.onerror=N:S.onreadystatechange=function(){S.readyState>3&&N()};function N(){var L=S.status,B;if(!L&&zg(S)||L>=200&&L<300||L===304){try{B=h.call(v,S)}catch(z){x.error.call(v,z);return}x.load.call(v,B)}else x.error.call(v,S)}return S.onprogress=function(L){var B=t.event;t.event=L;try{x.progress.call(v,S)}finally{t.event=B}},v.header=function(L,B){return L=(L+"").toLowerCase(),arguments.length<2?O[L]:(B==null?delete O[L]:O[L]=B+"",v)},v.mimeType=function(L){return arguments.length?(f=L==null?null:L+"",v):f},v.responseType=function(L){return arguments.length?(R=L,v):R},v.response=function(L){return h=L,v},["get","post"].forEach(function(L){v[L]=function(){return v.send.apply(v,[L].concat(n(arguments)))}}),v.send=function(L,B,z){if(arguments.length===2&&typeof B=="function"&&(z=B,B=null),S.open(L,u,!0),f!=null&&!("accept"in O)&&(O.accept=f+",*/*"),S.setRequestHeader)for(var ie in O)S.setRequestHeader(ie,O[ie]);return f!=null&&S.overrideMimeType&&S.overrideMimeType(f),R!=null&&(S.responseType=R),z!=null&&v.on("error",z).on("load",function(oe){z(null,oe)}),x.beforesend.call(v,S),S.send(B==null?null:B),v},v.abort=function(){return S.abort(),v},t.rebind(v,x,"on"),p==null?v:v.get(cp(p))}function cp(u){return u.length===1?function(f,h){u(f==null?h:null)}:u}function zg(u){var f=u.responseType;return f&&f!=="text"?u.response:u.responseText}t.dsv=function(u,f){var h=new RegExp('["'+u+`
|
|
42
|
-
]`),p=u.charCodeAt(0);function v(N,L,B){arguments.length<3&&(B=L,L=null);var z=jl(N,f,L==null?x:O(L),B);return z.row=function(ie){return arguments.length?z.response((L=ie)==null?x:O(ie)):L},z}function x(N){return v.parse(N.responseText)}function O(N){return function(L){return v.parse(L.responseText,N)}}v.parse=function(N,L){var B;return v.parseRows(N,function(z,ie){if(B)return B(z,ie-1);var oe=function(G){for(var X={},J=z.length,ue=0;ue<J;++ue)X[z[ue]]=G[ue];return X};B=L?function(G,X){return L(oe(G),X)}:oe})},v.parseRows=function(N,L){var B={},z={},ie=[],oe=N.length,G=0,X=0,J,ue;function le(){if(G>=oe)return z;if(ue)return ue=!1,B;var Re=G;if(N.charCodeAt(Re)===34){for(var Ue=Re;Ue++<oe;)if(N.charCodeAt(Ue)===34){if(N.charCodeAt(Ue+1)!==34)break;++Ue}G=Ue+2;var tt=N.charCodeAt(Ue+1);return tt===13?(ue=!0,N.charCodeAt(Ue+2)===10&&++G):tt===10&&(ue=!0),N.slice(Re+1,Ue).replace(/""/g,'"')}for(;G<oe;){var tt=N.charCodeAt(G++),je=1;if(tt===10)ue=!0;else if(tt===13)ue=!0,N.charCodeAt(G)===10&&(++G,++je);else if(tt!==p)continue;return N.slice(Re,G-je)}return N.slice(Re)}for(;(J=le())!==z;){for(var te=[];J!==B&&J!==z;)te.push(J),J=le();L&&(te=L(te,X++))==null||ie.push(te)}return ie},v.format=function(N){if(Array.isArray(N[0]))return v.formatRows(N);var L=new ut,B=[];return N.forEach(function(z){for(var ie in z)L.has(ie)||B.push(L.add(ie))}),[B.map(R).join(u)].concat(N.map(function(z){return B.map(function(ie){return R(z[ie])}).join(u)})).join(`
|
|
43
|
-
`)},v.formatRows=function(N){return N.map(S).join(`
|
|
44
|
-
`)};function S(N){return N.map(R).join(u)}function R(N){return h.test(N)?'"'+N.replace(/\"/g,'""')+'"':N}return v},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv(" ","text/tab-separated-values");var Gl,Su,ri,Wl,ni=this[We(this,"requestAnimationFrame")]||function(u){setTimeout(u,17)};t.timer=function(){so.apply(this,arguments)};function so(u,f,h){var p=arguments.length;p<2&&(f=0),p<3&&(h=Date.now());var v=h+f,x={c:u,t:v,n:null};return Su?Su.n=x:Gl=x,Su=x,ri||(Wl=clearTimeout(Wl),ri=1,ni(fo)),x}function fo(){var u=Ji(),f=Hl()-u;f>24?(isFinite(f)&&(clearTimeout(Wl),Wl=setTimeout(fo,f)),ri=0):(ri=1,ni(fo))}t.timer.flush=function(){Ji(),Hl()};function Ji(){for(var u=Date.now(),f=Gl;f;)u>=f.t&&f.c(u-f.t)&&(f.c=null),f=f.n;return u}function Hl(){for(var u,f=Gl,h=1/0;f;)f.c?(f.t<h&&(h=f.t),f=(u=f).n):f=u?u.n=f.n:Gl=f.n;return Su=u,h}t.round=function(u,f){return f?Math.round(u*(f=Math.pow(10,f)))/f:Math.round(u)},t.geom={};function Fi(u){return u[0]}function Pi(u){return u[1]}t.geom.hull=function(u){var f=Fi,h=Pi;if(arguments.length)return p(u);function p(v){if(v.length<3)return[];var x=mr(f),O=mr(h),S,R=v.length,N=[],L=[];for(S=0;S<R;S++)N.push([+x.call(this,v[S],S),+O.call(this,v[S],S),S]);for(N.sort(hp),S=0;S<R;S++)L.push([N[S][0],-N[S][1]]);var B=Eu(N),z=Eu(L),ie=z[0]===B[0],oe=z[z.length-1]===B[B.length-1],G=[];for(S=B.length-1;S>=0;--S)G.push(v[N[B[S]][2]]);for(S=+ie;S<z.length-oe;++S)G.push(v[N[z[S]][2]]);return G}return p.x=function(v){return arguments.length?(f=v,p):f},p.y=function(v){return arguments.length?(h=v,p):h},p};function Eu(u){for(var f=u.length,h=[0,1],p=2,v=2;v<f;v++){for(;p>1&&Dg(u[h[p-2]],u[h[p-1]],u[v])<=0;)--p;h[p++]=v}return h.slice(0,p)}function hp(u,f){return u[0]-f[0]||u[1]-f[1]}t.geom.polygon=function(u){return Wt(u,co),u};var co=t.geom.polygon.prototype=[];co.area=function(){for(var u=-1,f=this.length,h,p=this[f-1],v=0;++u<f;)h=p,p=this[u],v+=h[1]*p[0]-h[0]*p[1];return v*.5},co.centroid=function(u){var f=-1,h=this.length,p=0,v=0,x,O=this[h-1],S;for(arguments.length||(u=-1/(6*this.area()));++f<h;)x=O,O=this[f],S=x[0]*O[1]-O[0]*x[1],p+=(x[0]+O[0])*S,v+=(x[1]+O[1])*S;return[p*u,v*u]},co.clip=function(u){for(var f,h=dp(u),p=-1,v=this.length-dp(this),x,O,S=this[v-1],R,N,L;++p<v;){for(f=u.slice(),u.length=0,R=this[p],N=f[(O=f.length-h)-1],x=-1;++x<O;)L=f[x],Vl(L,S,R)?(Vl(N,S,R)||u.push(Vf(N,L,S,R)),u.push(L)):Vl(N,S,R)&&u.push(Vf(N,L,S,R)),N=L;h&&u.push(u[0]),S=R}return u};function Vl(u,f,h){return(h[0]-f[0])*(u[1]-f[1])<(h[1]-f[1])*(u[0]-f[0])}function Vf(u,f,h,p){var v=u[0],x=h[0],O=f[0]-v,S=p[0]-x,R=u[1],N=h[1],L=f[1]-R,B=p[1]-N,z=(S*(R-N)-B*(v-x))/(B*O-S*L);return[v+z*O,R+z*L]}function dp(u){var f=u[0],h=u[u.length-1];return!(f[0]-h[0]||f[1]-h[1])}var ho,Ta,ea,Au=[],Tu,Ca,Oa=[];function qf(){Xl(this),this.edge=this.site=this.circle=null}function ql(u){var f=Au.pop()||new qf;return f.site=u,f}function Cu(u){ii(u),ea.remove(u),Au.push(u),Xl(u)}function Yf(u){var f=u.circle,h=f.x,p=f.cy,v={x:h,y:p},x=u.P,O=u.N,S=[u];Cu(u);for(var R=x;R.circle&&_(h-R.circle.x)<ir&&_(p-R.circle.cy)<ir;)x=R.P,S.unshift(R),Cu(R),R=x;S.unshift(R),ii(R);for(var N=O;N.circle&&_(h-N.circle.x)<ir&&_(p-N.circle.cy)<ir;)O=N.N,S.push(N),Cu(N),N=O;S.push(N),ii(N);var L=S.length,B;for(B=1;B<L;++B)N=S[B],R=S[B-1],po(N.edge,R.site,N.site,v);R=S[0],N=S[L-1],N.edge=ku(R.site,N.site,null,v),ka(R),ka(N)}function pp(u){for(var f=u.x,h=u.y,p,v,x,O,S=ea._;S;)if(x=Xf(S,h)-f,x>ir)S=S.L;else if(O=f-vp(S,h),O>ir){if(!S.R){p=S;break}S=S.R}else{x>-ir?(p=S.P,v=S):O>-ir?(p=S,v=S.N):p=v=S;break}var R=ql(u);if(ea.insert(p,R),!(!p&&!v)){if(p===v){ii(p),v=ql(p.site),ea.insert(R,v),R.edge=v.edge=ku(p.site,R.site),ka(p),ka(v);return}if(!v){R.edge=ku(p.site,R.site);return}ii(p),ii(v);var N=p.site,L=N.x,B=N.y,z=u.x-L,ie=u.y-B,oe=v.site,G=oe.x-L,X=oe.y-B,J=2*(z*X-ie*G),ue=z*z+ie*ie,le=G*G+X*X,te={x:(X*ue-ie*le)/J+L,y:(z*le-G*ue)/J+B};po(v.edge,N,oe,te),R.edge=ku(N,u,null,te),v.edge=ku(u,oe,null,te),ka(p),ka(v)}}function Xf(u,f){var h=u.site,p=h.x,v=h.y,x=v-f;if(!x)return p;var O=u.P;if(!O)return-1/0;h=O.site;var S=h.x,R=h.y,N=R-f;if(!N)return S;var L=S-p,B=1/x-1/N,z=L/N;return B?(-z+Math.sqrt(z*z-2*B*(L*L/(-2*N)-R+N/2+v-x/2)))/B+p:(p+S)/2}function vp(u,f){var h=u.N;if(h)return Xf(h,f);var p=u.site;return p.y===f?p.x:1/0}function Qf(u){this.site=u,this.edges=[]}Qf.prototype.prepare=function(){for(var u=this.edges,f=u.length,h;f--;)h=u[f].edge,(!h.b||!h.a)&&u.splice(f,1);return u.sort(Zf),u.length};function mp(u){for(var f=u[0][0],h=u[1][0],p=u[0][1],v=u[1][1],x,O,S,R,N=Ta,L=N.length,B,z,ie,oe,G,X;L--;)if(B=N[L],!(!B||!B.prepare()))for(ie=B.edges,oe=ie.length,z=0;z<oe;)X=ie[z].end(),S=X.x,R=X.y,G=ie[++z%oe].start(),x=G.x,O=G.y,(_(S-x)>ir||_(R-O)>ir)&&(ie.splice(z,0,new Yl(Ug(B.site,X,_(S-f)<ir&&v-R>ir?{x:f,y:_(x-f)<ir?O:v}:_(R-v)<ir&&h-S>ir?{x:_(O-v)<ir?x:h,y:v}:_(S-h)<ir&&R-p>ir?{x:h,y:_(x-h)<ir?O:p}:_(R-p)<ir&&S-f>ir?{x:_(O-p)<ir?x:f,y:p}:null),B.site,null)),++oe)}function Zf(u,f){return f.angle-u.angle}function gp(){Xl(this),this.x=this.y=this.arc=this.site=this.cy=null}function ka(u){var f=u.P,h=u.N;if(!(!f||!h)){var p=f.site,v=u.site,x=h.site;if(p!==x){var O=v.x,S=v.y,R=p.x-O,N=p.y-S,L=x.x-O,X=x.y-S,B=2*(R*X-N*L);if(!(B>=-tp)){var z=R*R+N*N,ie=L*L+X*X,oe=(X*z-N*ie)/B,G=(R*ie-L*z)/B,X=G+S,J=Oa.pop()||new gp;J.arc=u,J.site=v,J.x=oe+O,J.y=X+Math.sqrt(oe*oe+G*G),J.cy=X,u.circle=J;for(var ue=null,le=Ca._;le;)if(J.y<le.y||J.y===le.y&&J.x<=le.x)if(le.L)le=le.L;else{ue=le.P;break}else if(le.R)le=le.R;else{ue=le;break}Ca.insert(ue,J),ue||(Tu=J)}}}}function ii(u){var f=u.circle;f&&(f.P||(Tu=f.N),Ca.remove(f),Oa.push(f),Xl(f),u.circle=null)}function Kf(u,f,h,p){return function(v){var x=v.a,O=v.b,S=x.x,R=x.y,N=O.x,L=O.y,B=0,z=1,ie=N-S,oe=L-R,G;if(G=u-S,!(!ie&&G>0)){if(G/=ie,ie<0){if(G<B)return;G<z&&(z=G)}else if(ie>0){if(G>z)return;G>B&&(B=G)}if(G=h-S,!(!ie&&G<0)){if(G/=ie,ie<0){if(G>z)return;G>B&&(B=G)}else if(ie>0){if(G<B)return;G<z&&(z=G)}if(G=f-R,!(!oe&&G>0)){if(G/=oe,oe<0){if(G<B)return;G<z&&(z=G)}else if(oe>0){if(G>z)return;G>B&&(B=G)}if(G=p-R,!(!oe&&G<0)){if(G/=oe,oe<0){if(G>z)return;G>B&&(B=G)}else if(oe>0){if(G<B)return;G<z&&(z=G)}return B>0&&(v.a={x:S+B*ie,y:R+B*oe}),z<1&&(v.b={x:S+z*ie,y:R+z*oe}),v}}}}}}function Jf(u){for(var f=ho,h=Kf(u[0][0],u[0][1],u[1][0],u[1][1]),p=f.length,v;p--;)v=f[p],(!Ou(v,u)||!h(v)||_(v.a.x-v.b.x)<ir&&_(v.a.y-v.b.y)<ir)&&(v.a=v.b=null,f.splice(p,1))}function Ou(u,f){var h=u.b;if(h)return!0;var p=u.a,v=f[0][0],x=f[1][0],O=f[0][1],S=f[1][1],R=u.l,N=u.r,L=R.x,B=R.y,z=N.x,ie=N.y,oe=(L+z)/2,G=(B+ie)/2,X,J;if(ie===B){if(oe<v||oe>=x)return;if(L>z){if(!p)p={x:oe,y:O};else if(p.y>=S)return;h={x:oe,y:S}}else{if(!p)p={x:oe,y:S};else if(p.y<O)return;h={x:oe,y:O}}}else if(X=(L-z)/(ie-B),J=G-X*oe,X<-1||X>1)if(L>z){if(!p)p={x:(O-J)/X,y:O};else if(p.y>=S)return;h={x:(S-J)/X,y:S}}else{if(!p)p={x:(S-J)/X,y:S};else if(p.y<O)return;h={x:(O-J)/X,y:O}}else if(B<ie){if(!p)p={x:v,y:X*v+J};else if(p.x>=x)return;h={x,y:X*x+J}}else{if(!p)p={x,y:X*x+J};else if(p.x<v)return;h={x:v,y:X*v+J}}return u.a=p,u.b=h,!0}function yp(u,f){this.l=u,this.r=f,this.a=this.b=null}function ku(u,f,h,p){var v=new yp(u,f);return ho.push(v),h&&po(v,u,f,h),p&&po(v,f,u,p),Ta[u.i].edges.push(new Yl(v,u,f)),Ta[f.i].edges.push(new Yl(v,f,u)),v}function Ug(u,f,h){var p=new yp(u,null);return p.a=f,p.b=h,ho.push(p),p}function po(u,f,h,p){!u.a&&!u.b?(u.a=p,u.l=f,u.r=h):u.l===h?u.b=p:u.a=p}function Yl(u,f,h){var p=u.a,v=u.b;this.edge=u,this.site=f,this.angle=h?Math.atan2(h.y-f.y,h.x-f.x):u.l===f?Math.atan2(v.x-p.x,p.y-v.y):Math.atan2(p.x-v.x,v.y-p.y)}Yl.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 ec(){this._=null}function Xl(u){u.U=u.C=u.L=u.R=u.P=u.N=null}ec.prototype={insert:function(u,f){var h,p,v;if(u){if(f.P=u,f.N=u.N,u.N&&(u.N.P=f),u.N=f,u.R){for(u=u.R;u.L;)u=u.L;u.L=f}else u.R=f;h=u}else this._?(u=Ql(this._),f.P=null,f.N=u,u.P=u.L=f,h=u):(f.P=f.N=null,this._=f,h=null);for(f.L=f.R=null,f.U=h,f.C=!0,u=f;h&&h.C;)p=h.U,h===p.L?(v=p.R,v&&v.C?(h.C=v.C=!1,p.C=!0,u=p):(u===h.R&&(Ma(this,h),u=h,h=u.U),h.C=!1,p.C=!0,Mu(this,p))):(v=p.L,v&&v.C?(h.C=v.C=!1,p.C=!0,u=p):(u===h.L&&(Mu(this,h),u=h,h=u.U),h.C=!1,p.C=!0,Ma(this,p))),h=u.U;this._.C=!1},remove:function(u){u.N&&(u.N.P=u.P),u.P&&(u.P.N=u.N),u.N=u.P=null;var f=u.U,h,p=u.L,v=u.R,x,O;if(p?v?x=Ql(v):x=p:x=v,f?f.L===u?f.L=x:f.R=x:this._=x,p&&v?(O=x.C,x.C=u.C,x.L=p,p.U=x,x!==v?(f=x.U,x.U=u.U,u=x.R,f.L=u,x.R=v,v.U=x):(x.U=f,f=x,u=x.R)):(O=u.C,u=x),u&&(u.U=f),!O){if(u&&u.C){u.C=!1;return}do{if(u===this._)break;if(u===f.L){if(h=f.R,h.C&&(h.C=!1,f.C=!0,Ma(this,f),h=f.R),h.L&&h.L.C||h.R&&h.R.C){(!h.R||!h.R.C)&&(h.L.C=!1,h.C=!0,Mu(this,h),h=f.R),h.C=f.C,f.C=h.R.C=!1,Ma(this,f),u=this._;break}}else if(h=f.L,h.C&&(h.C=!1,f.C=!0,Mu(this,f),h=f.L),h.L&&h.L.C||h.R&&h.R.C){(!h.L||!h.L.C)&&(h.R.C=!1,h.C=!0,Ma(this,h),h=f.L),h.C=f.C,f.C=h.L.C=!1,Mu(this,f),u=this._;break}h.C=!0,u=f,f=f.U}while(!u.C);u&&(u.C=!1)}}};function Ma(u,f){var h=f,p=f.R,v=h.U;v?v.L===h?v.L=p:v.R=p:u._=p,p.U=v,h.U=p,h.R=p.L,h.R&&(h.R.U=h),p.L=h}function Mu(u,f){var h=f,p=f.L,v=h.U;v?v.L===h?v.L=p:v.R=p:u._=p,p.U=v,h.U=p,h.L=p.R,h.L&&(h.L.U=h),p.R=h}function Ql(u){for(;u.L;)u=u.L;return u}function Zl(u,f){var h=u.sort(xp).pop(),p,v,x;for(ho=[],Ta=new Array(u.length),ea=new ec,Ca=new ec;;)if(x=Tu,h&&(!x||h.y<x.y||h.y===x.y&&h.x<x.x))(h.x!==p||h.y!==v)&&(Ta[h.i]=new Qf(h),pp(h),p=h.x,v=h.y),h=u.pop();else if(x)Yf(x.arc);else break;f&&(Jf(f),mp(f));var O={cells:Ta,edges:ho};return ea=Ca=ho=Ta=null,O}function xp(u,f){return f.y-u.y||f.x-u.x}t.geom.voronoi=function(u){var f=Fi,h=Pi,p=f,v=h,x=vo;if(u)return O(u);function O(R){var N=new Array(R.length),L=x[0][0],B=x[0][1],z=x[1][0],ie=x[1][1];return Zl(S(R),x).cells.forEach(function(oe,G){var X=oe.edges,J=oe.site,ue=N[G]=X.length?X.map(function(le){var te=le.start();return[te.x,te.y]}):J.x>=L&&J.x<=z&&J.y>=B&&J.y<=ie?[[L,ie],[z,ie],[z,B],[L,B]]:[];ue.point=R[G]}),N}function S(R){return R.map(function(N,L){return{x:Math.round(p(N,L)/ir)*ir,y:Math.round(v(N,L)/ir)*ir,i:L}})}return O.links=function(R){return Zl(S(R)).edges.filter(function(N){return N.l&&N.r}).map(function(N){return{source:R[N.l.i],target:R[N.r.i]}})},O.triangles=function(R){var N=[];return Zl(S(R)).cells.forEach(function(L,B){for(var z=L.site,ie=L.edges.sort(Zf),oe=-1,G=ie.length,X,J=ie[G-1].edge,ue=J.l===z?J.r:J.l;++oe<G;)X=ue,J=ie[oe].edge,ue=J.l===z?J.r:J.l,B<X.i&&B<ue.i&&jg(z,X,ue)<0&&N.push([R[B],R[X.i],R[ue.i]])}),N},O.x=function(R){return arguments.length?(p=mr(f=R),O):f},O.y=function(R){return arguments.length?(v=mr(h=R),O):h},O.clipExtent=function(R){return arguments.length?(x=R==null?vo:R,O):x===vo?null:x},O.size=function(R){return arguments.length?O.clipExtent(R&&[[0,0],R]):x===vo?null:x&&x[1]},O};var vo=[[-1e6,-1e6],[1e6,1e6]];function jg(u,f,h){return(u.x-h.x)*(f.y-u.y)-(u.x-f.x)*(h.y-u.y)}t.geom.delaunay=function(u){return t.geom.voronoi().triangles(u)},t.geom.quadtree=function(u,f,h,p,v){var x=Fi,O=Pi,S;if(S=arguments.length)return x=Kl,O=Gg,S===3&&(v=h,p=f,h=f=0),R(u);function R(N){var L,B=mr(x),z=mr(O),ie,oe,G,X,J,ue,le,te;if(f!=null)J=f,ue=h,le=p,te=v;else if(le=te=-(J=ue=1/0),ie=[],oe=[],X=N.length,S)for(G=0;G<X;++G)L=N[G],L.x<J&&(J=L.x),L.y<ue&&(ue=L.y),L.x>le&&(le=L.x),L.y>te&&(te=L.y),ie.push(L.x),oe.push(L.y);else for(G=0;G<X;++G){var Re=+B(L=N[G],G),Ue=+z(L,G);Re<J&&(J=Re),Ue<ue&&(ue=Ue),Re>le&&(le=Re),Ue>te&&(te=Ue),ie.push(Re),oe.push(Ue)}var tt=le-J,je=te-ue;tt>je?te=ue+tt:le=J+je;function at(bt,zt,ar,Mr,dr,rt,Gt,qt){if(!(isNaN(ar)||isNaN(Mr)))if(bt.leaf){var or=bt.x,Sr=bt.y;if(or!=null)if(_(or-ar)+_(Sr-Mr)<.01)vt(bt,zt,ar,Mr,dr,rt,Gt,qt);else{var $r=bt.point;bt.x=bt.y=bt.point=null,vt(bt,$r,or,Sr,dr,rt,Gt,qt),vt(bt,zt,ar,Mr,dr,rt,Gt,qt)}else bt.x=ar,bt.y=Mr,bt.point=zt}else vt(bt,zt,ar,Mr,dr,rt,Gt,qt)}function vt(bt,zt,ar,Mr,dr,rt,Gt,qt){var or=(dr+Gt)*.5,Sr=(rt+qt)*.5,$r=ar>=or,Vr=Mr>=Sr,cn=Vr<<1|$r;bt.leaf=!1,bt=bt.nodes[cn]||(bt.nodes[cn]=bp()),$r?dr=or:Gt=or,Vr?rt=Sr:qt=Sr,at(bt,zt,ar,Mr,dr,rt,Gt,qt)}var jt=bp();if(jt.add=function(bt){at(jt,bt,+B(bt,++G),+z(bt,G),J,ue,le,te)},jt.visit=function(bt){Iu(bt,jt,J,ue,le,te)},jt.find=function(bt){return Wg(jt,bt[0],bt[1],J,ue,le,te)},G=-1,f==null){for(;++G<X;)at(jt,N[G],ie[G],oe[G],J,ue,le,te);--G}else N.forEach(jt.add);return ie=oe=N=L=null,jt}return R.x=function(N){return arguments.length?(x=N,R):x},R.y=function(N){return arguments.length?(O=N,R):O},R.extent=function(N){return arguments.length?(N==null?f=h=p=v=null:(f=+N[0][0],h=+N[0][1],p=+N[1][0],v=+N[1][1]),R):f==null?null:[[f,h],[p,v]]},R.size=function(N){return arguments.length?(N==null?f=h=p=v=null:(f=h=0,p=+N[0],v=+N[1]),R):f==null?null:[p-f,v-h]},R};function Kl(u){return u.x}function Gg(u){return u.y}function bp(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Iu(u,f,h,p,v,x){if(!u(f,h,p,v,x)){var O=(h+v)*.5,S=(p+x)*.5,R=f.nodes;R[0]&&Iu(u,R[0],h,p,O,S),R[1]&&Iu(u,R[1],O,p,v,S),R[2]&&Iu(u,R[2],h,S,O,x),R[3]&&Iu(u,R[3],O,S,v,x)}}function Wg(u,f,h,p,v,x,O){var S=1/0,R;return function N(L,B,z,ie,oe){if(!(B>x||z>O||ie<p||oe<v)){if(G=L.point){var G,X=f-L.x,J=h-L.y,ue=X*X+J*J;if(ue<S){var le=Math.sqrt(S=ue);p=f-le,v=h-le,x=f+le,O=h+le,R=G}}for(var te=L.nodes,Re=(B+ie)*.5,Ue=(z+oe)*.5,tt=f>=Re,je=h>=Ue,at=je<<1|tt,vt=at+4;at<vt;++at)if(L=te[at&3])switch(at&3){case 0:N(L,B,z,Re,Ue);break;case 1:N(L,Re,z,ie,Ue);break;case 2:N(L,B,Ue,Re,oe);break;case 3:N(L,Re,Ue,ie,oe);break}}}(u,p,v,x,O),R}t.interpolateRgb=tc;function tc(u,f){u=t.rgb(u),f=t.rgb(f);var h=u.r,p=u.g,v=u.b,x=f.r-h,O=f.g-p,S=f.b-v;return function(R){return"#"+uo(Math.round(h+x*R))+uo(Math.round(p+O*R))+uo(Math.round(v+S*R))}}t.interpolateObject=wp;function wp(u,f){var h={},p={},v;for(v in u)v in f?h[v]=mi(u[v],f[v]):p[v]=u[v];for(v in f)v in u||(p[v]=f[v]);return function(x){for(v in h)p[v]=h[v](x);return p}}t.interpolateNumber=Ni;function Ni(u,f){return u=+u,f=+f,function(h){return u*(1-h)+f*h}}t.interpolateString=rc;function rc(u,f){var h=Ia.lastIndex=nc.lastIndex=0,p,v,x,O=-1,S=[],R=[];for(u=u+"",f=f+"";(p=Ia.exec(u))&&(v=nc.exec(f));)(x=v.index)>h&&(x=f.slice(h,x),S[O]?S[O]+=x:S[++O]=x),(p=p[0])===(v=v[0])?S[O]?S[O]+=v:S[++O]=v:(S[++O]=null,R.push({i:O,x:Ni(p,v)})),h=nc.lastIndex;return h<f.length&&(x=f.slice(h),S[O]?S[O]+=x:S[++O]=x),S.length<2?R[0]?(f=R[0].x,function(N){return f(N)+""}):function(){return f}:(f=R.length,function(N){for(var L=0,B;L<f;++L)S[(B=R[L]).i]=B.x(N);return S.join("")})}var Ia=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nc=new RegExp(Ia.source,"g");t.interpolate=mi;function mi(u,f){for(var h=t.interpolators.length,p;--h>=0&&!(p=t.interpolators[h](u,f)););return p}t.interpolators=[function(u,f){var h=typeof f;return(h==="string"?lo.has(f.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(f)?tc:rc:f instanceof Qi?tc:Array.isArray(f)?On:h==="object"&&isNaN(f)?wp:Ni)(u,f)}],t.interpolateArray=On;function On(u,f){var h=[],p=[],v=u.length,x=f.length,O=Math.min(u.length,f.length),S;for(S=0;S<O;++S)h.push(mi(u[S],f[S]));for(;S<v;++S)p[S]=u[S];for(;S<x;++S)p[S]=f[S];return function(R){for(S=0;S<O;++S)p[S]=h[S](R);return p}}var Ra=function(){return nt},_p=t.map({linear:Ra,poly:Qr,quad:function(){return Ap},cubic:function(){return Hg},sin:function(){return Tp},exp:function(){return Cp},circle:function(){return Fa},elastic:Op,back:kp,bounce:function(){return Vg}}),Sp=t.map({in:nt,out:ic,"in-out":ac,"out-in":function(u){return ac(ic(u))}});t.ease=function(u){var f=u.indexOf("-"),h=f>=0?u.slice(0,f):u,p=f>=0?u.slice(f+1):"in";return h=_p.get(h)||Ra,p=Sp.get(p)||nt,Ep(p(h.apply(null,r.call(arguments,1))))};function Ep(u){return function(f){return f<=0?0:f>=1?1:u(f)}}function ic(u){return function(f){return 1-u(1-f)}}function ac(u){return function(f){return .5*(f<.5?u(2*f):2-u(2-2*f))}}function Ap(u){return u*u}function Hg(u){return u*u*u}function mo(u){if(u<=0)return 0;if(u>=1)return 1;var f=u*u,h=f*u;return 4*(u<.5?h:3*(u-f)+h-.75)}function Qr(u){return function(f){return Math.pow(f,u)}}function Tp(u){return 1-Math.cos(u*vi)}function Cp(u){return Math.pow(2,10*(u-1))}function Fa(u){return 1-Math.sqrt(1-u*u)}function Op(u,f){var h;return arguments.length<2&&(f=.45),arguments.length?h=f/oo*Math.asin(1/u):(u=1,h=f/4),function(p){return 1+u*Math.pow(2,-10*p)*Math.sin((p-h)*oo/f)}}function kp(u){return u||(u=1.70158),function(f){return f*f*((u+1)*f-u)}}function Vg(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375}t.interpolateHcl=qg;function qg(u,f){u=t.hcl(u),f=t.hcl(f);var h=u.h,p=u.c,v=u.l,x=f.h-h,O=f.c-p,S=f.l-v;return isNaN(O)&&(O=0,p=isNaN(p)?f.c:p),isNaN(x)?(x=0,h=isNaN(h)?f.h:h):x>180?x-=360:x<-180&&(x+=360),function(R){return _u(h+x*R,p+O*R,v+S*R)+""}}t.interpolateHsl=Yg;function Yg(u,f){u=t.hsl(u),f=t.hsl(f);var h=u.h,p=u.s,v=u.l,x=f.h-h,O=f.s-p,S=f.l-v;return isNaN(O)&&(O=0,p=isNaN(p)?f.s:p),isNaN(x)?(x=0,h=isNaN(h)?f.h:h):x>180?x-=360:x<-180&&(x+=360),function(R){return Bl(h+x*R,p+O*R,v+S*R)+""}}t.interpolateLab=Xg;function Xg(u,f){u=t.lab(u),f=t.lab(f);var h=u.l,p=u.a,v=u.b,x=f.l-h,O=f.a-p,S=f.b-v;return function(R){return lp(h+x*R,p+O*R,v+S*R)+""}}t.interpolateRound=Jl;function Jl(u,f){return f-=u,function(h){return Math.round(u+f*h)}}t.transform=function(u){var f=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(h){if(h!=null){f.setAttribute("transform",h);var p=f.transform.baseVal.consolidate()}return new oc(p?p.matrix:Qg)})(u)};function oc(u){var f=[u.a,u.b],h=[u.c,u.d],p=uc(f),v=Mp(f,h),x=uc(Ip(h,f,-v))||0;f[0]*h[1]<h[0]*f[1]&&(f[0]*=-1,f[1]*=-1,p*=-1,v*=-1),this.rotate=(p?Math.atan2(f[1],f[0]):Math.atan2(-h[0],h[1]))*yu,this.translate=[u.e,u.f],this.scale=[p,x],this.skew=x?Math.atan2(v,x)*yu:0}oc.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function Mp(u,f){return u[0]*f[0]+u[1]*f[1]}function uc(u){var f=Math.sqrt(Mp(u,u));return f&&(u[0]/=f,u[1]/=f),f}function Ip(u,f,h){return u[0]+=h*f[0],u[1]+=h*f[1],u}var Qg={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=lc;function Li(u){return u.length?u.pop()+",":""}function Zg(u,f,h,p){if(u[0]!==f[0]||u[1]!==f[1]){var v=h.push("translate(",null,",",null,")");p.push({i:v-4,x:Ni(u[0],f[0])},{i:v-2,x:Ni(u[1],f[1])})}else(f[0]||f[1])&&h.push("translate("+f+")")}function ta(u,f,h,p){u!==f?(u-f>180?f+=360:f-u>180&&(u+=360),p.push({i:h.push(Li(h)+"rotate(",null,")")-2,x:Ni(u,f)})):f&&h.push(Li(h)+"rotate("+f+")")}function es(u,f,h,p){u!==f?p.push({i:h.push(Li(h)+"skewX(",null,")")-2,x:Ni(u,f)}):f&&h.push(Li(h)+"skewX("+f+")")}function Rp(u,f,h,p){if(u[0]!==f[0]||u[1]!==f[1]){var v=h.push(Li(h)+"scale(",null,",",null,")");p.push({i:v-4,x:Ni(u[0],f[0])},{i:v-2,x:Ni(u[1],f[1])})}else(f[0]!==1||f[1]!==1)&&h.push(Li(h)+"scale("+f+")")}function lc(u,f){var h=[],p=[];return u=t.transform(u),f=t.transform(f),Zg(u.translate,f.translate,h,p),ta(u.rotate,f.rotate,h,p),es(u.skew,f.skew,h,p),Rp(u.scale,f.scale,h,p),u=f=null,function(v){for(var x=-1,O=p.length,S;++x<O;)h[(S=p[x]).i]=S.x(v);return h.join("")}}function Fp(u,f){return f=(f-=u=+u)||1/f,function(h){return(h-u)/f}}function Pp(u,f){return f=(f-=u=+u)||1/f,function(h){return Math.max(0,Math.min(1,(h-u)/f))}}t.layout={},t.layout.bundle=function(){return function(u){for(var f=[],h=-1,p=u.length;++h<p;)f.push(Np(u[h]));return f}};function Np(u){for(var f=u.source,h=u.target,p=Lp(f,h),v=[f];f!==p;)f=f.parent,v.push(f);for(var x=v.length;h!==p;)v.splice(x,0,h),h=h.parent;return v}function sc(u){for(var f=[],h=u.parent;h!=null;)f.push(u),u=h,h=h.parent;return f.push(u),f}function Lp(u,f){if(u===f)return u;for(var h=sc(u),p=sc(f),v=h.pop(),x=p.pop(),O=null;v===x;)O=v,v=h.pop(),x=p.pop();return O}t.layout.chord=function(){var u={},f,h,p,v,x=0,O,S,R;function N(){var B={},z=[],ie=t.range(v),oe=[],G,X,J,ue,le;for(f=[],h=[],G=0,ue=-1;++ue<v;){for(X=0,le=-1;++le<v;)X+=p[ue][le];z.push(X),oe.push(t.range(v)),G+=X}for(O&&ie.sort(function(jt,bt){return O(z[jt],z[bt])}),S&&oe.forEach(function(jt,bt){jt.sort(function(zt,ar){return S(p[bt][zt],p[bt][ar])})}),G=(oo-x*v)/G,X=0,ue=-1;++ue<v;){for(J=X,le=-1;++le<v;){var te=ie[ue],Re=oe[te][le],Ue=p[te][Re],tt=X,je=X+=Ue*G;B[te+"-"+Re]={index:te,subindex:Re,startAngle:tt,endAngle:je,value:Ue}}h[te]={index:te,startAngle:J,endAngle:X,value:z[te]},X+=x}for(ue=-1;++ue<v;)for(le=ue-1;++le<v;){var at=B[ue+"-"+le],vt=B[le+"-"+ue];(at.value||vt.value)&&f.push(at.value<vt.value?{source:vt,target:at}:{source:at,target:vt})}R&&L()}function L(){f.sort(function(B,z){return R((B.source.value+B.target.value)/2,(z.source.value+z.target.value)/2)})}return u.matrix=function(B){return arguments.length?(v=(p=B)&&p.length,f=h=null,u):p},u.padding=function(B){return arguments.length?(x=B,f=h=null,u):x},u.sortGroups=function(B){return arguments.length?(O=B,f=h=null,u):O},u.sortSubgroups=function(B){return arguments.length?(S=B,f=null,u):S},u.sortChords=function(B){return arguments.length?(R=B,f&&L(),u):R},u.chords=function(){return f||N(),f},u.groups=function(){return h||N(),h},u},t.layout.force=function(){var u={},f=t.dispatch("start","tick","end"),h,p=[1,1],v,x,O=.9,S=Di,R=fc,N=-30,L=go,B=.1,z=.64,ie=[],oe=[],G,X,J;function ue(te){return function(Re,Ue,tt,je){if(Re.point!==te){var at=Re.cx-te.x,vt=Re.cy-te.y,jt=je-Ue,bt=at*at+vt*vt;if(jt*jt/z<bt){if(bt<L){var zt=Re.charge/bt;te.px-=at*zt,te.py-=vt*zt}return!0}if(Re.point&&bt&&bt<L){var zt=Re.pointCharge/bt;te.px-=at*zt,te.py-=vt*zt}}return!Re.charge}}u.tick=function(){if((x*=.99)<.005)return h=null,f.end({type:"end",alpha:x=0}),!0;var te=ie.length,Re=oe.length,Ue,tt,je,at,vt,jt,bt,zt,ar;for(tt=0;tt<Re;++tt)je=oe[tt],at=je.source,vt=je.target,zt=vt.x-at.x,ar=vt.y-at.y,(jt=zt*zt+ar*ar)&&(jt=x*X[tt]*((jt=Math.sqrt(jt))-G[tt])/jt,zt*=jt,ar*=jt,vt.x-=zt*(bt=at.weight+vt.weight?at.weight/(at.weight+vt.weight):.5),vt.y-=ar*bt,at.x+=zt*(bt=1-bt),at.y+=ar*bt);if((bt=x*B)&&(zt=p[0]/2,ar=p[1]/2,tt=-1,bt))for(;++tt<te;)je=ie[tt],je.x+=(zt-je.x)*bt,je.y+=(ar-je.y)*bt;if(N)for(zp(Ue=t.geom.quadtree(ie),x,J),tt=-1;++tt<te;)(je=ie[tt]).fixed||Ue.visit(ue(je));for(tt=-1;++tt<te;)je=ie[tt],je.fixed?(je.x=je.px,je.y=je.py):(je.x-=(je.px-(je.px=je.x))*O,je.y-=(je.py-(je.py=je.y))*O);f.tick({type:"tick",alpha:x})},u.nodes=function(te){return arguments.length?(ie=te,u):ie},u.links=function(te){return arguments.length?(oe=te,u):oe},u.size=function(te){return arguments.length?(p=te,u):p},u.linkDistance=function(te){return arguments.length?(S=typeof te=="function"?te:+te,u):S},u.distance=u.linkDistance,u.linkStrength=function(te){return arguments.length?(R=typeof te=="function"?te:+te,u):R},u.friction=function(te){return arguments.length?(O=+te,u):O},u.charge=function(te){return arguments.length?(N=typeof te=="function"?te:+te,u):N},u.chargeDistance=function(te){return arguments.length?(L=te*te,u):Math.sqrt(L)},u.gravity=function(te){return arguments.length?(B=+te,u):B},u.theta=function(te){return arguments.length?(z=te*te,u):Math.sqrt(z)},u.alpha=function(te){return arguments.length?(te=+te,x?te>0?x=te:(h.c=null,h.t=NaN,h=null,f.end({type:"end",alpha:x=0})):te>0&&(f.start({type:"start",alpha:x=te}),h=so(u.tick)),u):x},u.start=function(){var te,Re=ie.length,Ue=oe.length,tt=p[0],je=p[1],at,vt;for(te=0;te<Re;++te)(vt=ie[te]).index=te,vt.weight=0;for(te=0;te<Ue;++te)vt=oe[te],typeof vt.source=="number"&&(vt.source=ie[vt.source]),typeof vt.target=="number"&&(vt.target=ie[vt.target]),++vt.source.weight,++vt.target.weight;for(te=0;te<Re;++te)vt=ie[te],isNaN(vt.x)&&(vt.x=jt("x",tt)),isNaN(vt.y)&&(vt.y=jt("y",je)),isNaN(vt.px)&&(vt.px=vt.x),isNaN(vt.py)&&(vt.py=vt.y);if(G=[],typeof S=="function")for(te=0;te<Ue;++te)G[te]=+S.call(this,oe[te],te);else for(te=0;te<Ue;++te)G[te]=S;if(X=[],typeof R=="function")for(te=0;te<Ue;++te)X[te]=+R.call(this,oe[te],te);else for(te=0;te<Ue;++te)X[te]=R;if(J=[],typeof N=="function")for(te=0;te<Re;++te)J[te]=+N.call(this,ie[te],te);else for(te=0;te<Re;++te)J[te]=N;function jt(bt,zt){if(!at){for(at=new Array(Re),dr=0;dr<Re;++dr)at[dr]=[];for(dr=0;dr<Ue;++dr){var ar=oe[dr];at[ar.source.index].push(ar.target),at[ar.target.index].push(ar.source)}}for(var Mr=at[te],dr=-1,rt=Mr.length,Gt;++dr<rt;)if(!isNaN(Gt=Mr[dr][bt]))return Gt;return Math.random()*zt}return u.resume()},u.resume=function(){return u.alpha(.1)},u.stop=function(){return u.alpha(0)},u.drag=function(){if(v||(v=t.behavior.drag().origin(nt).on("dragstart.force",Dp).on("drag.force",le).on("dragend.force",$p)),!arguments.length)return v;this.on("mouseover.force",ai).on("mouseout.force",Bp).call(v)};function le(te){te.px=t.event.x,te.py=t.event.y,u.resume()}return t.rebind(u,f,"on")};function Dp(u){u.fixed|=2}function $p(u){u.fixed&=-7}function ai(u){u.fixed|=4,u.px=u.x,u.py=u.y}function Bp(u){u.fixed&=-5}function zp(u,f,h){var p=0,v=0;if(u.charge=0,!u.leaf)for(var x=u.nodes,O=x.length,S=-1,R;++S<O;)R=x[S],R!=null&&(zp(R,f,h),u.charge+=R.charge,p+=R.charge*R.cx,v+=R.charge*R.cy);if(u.point){u.leaf||(u.point.x+=Math.random()-.5,u.point.y+=Math.random()-.5);var N=f*h[u.point.index];u.charge+=u.pointCharge=N,p+=N*u.point.x,v+=N*u.point.y}u.cx=p/u.charge,u.cy=v/u.charge}var Di=20,fc=1,go=1/0;t.layout.hierarchy=function(){var u=Kg,f=Up,h=jp;function p(v){var x=[v],O=[],S;for(v.depth=0;(S=x.pop())!=null;)if(O.push(S),(N=f.call(p,S,S.depth))&&(R=N.length)){for(var R,N,L;--R>=0;)x.push(L=N[R]),L.parent=S,L.depth=S.depth+1;h&&(S.value=0),S.children=N}else h&&(S.value=+h.call(p,S,S.depth)||0),delete S.children;return oi(v,function(B){var z,ie;u&&(z=B.children)&&z.sort(u),h&&(ie=B.parent)&&(ie.value+=B.value)}),O}return p.sort=function(v){return arguments.length?(u=v,p):u},p.children=function(v){return arguments.length?(f=v,p):f},p.value=function(v){return arguments.length?(h=v,p):h},p.revalue=function(v){return h&&(xo(v,function(x){x.children&&(x.value=0)}),oi(v,function(x){var O;x.children||(x.value=+h.call(p,x,x.depth)||0),(O=x.parent)&&(O.value+=x.value)})),v},p};function yo(u,f){return t.rebind(u,f,"sort","children","value"),u.nodes=u,u.links=Jg,u}function xo(u,f){for(var h=[u];(u=h.pop())!=null;)if(f(u),(v=u.children)&&(p=v.length))for(var p,v;--p>=0;)h.push(v[p])}function oi(u,f){for(var h=[u],p=[];(u=h.pop())!=null;)if(p.push(u),(O=u.children)&&(x=O.length))for(var v=-1,x,O;++v<x;)h.push(O[v]);for(;(u=p.pop())!=null;)f(u)}function Up(u){return u.children}function jp(u){return u.value}function Kg(u,f){return f.value-u.value}function Jg(u){return t.merge(u.map(function(f){return(f.children||[]).map(function(h){return{source:f,target:h}})}))}t.layout.partition=function(){var u=t.layout.hierarchy(),f=[1,1];function h(x,O,S,R){var N=x.children;if(x.x=O,x.y=x.depth*R,x.dx=S,x.dy=R,N&&(B=N.length)){var L=-1,B,z,ie;for(S=x.value?S/x.value:0;++L<B;)h(z=N[L],O,ie=z.value*S,R),O+=ie}}function p(x){var O=x.children,S=0;if(O&&(N=O.length))for(var R=-1,N;++R<N;)S=Math.max(S,p(O[R]));return 1+S}function v(x,O){var S=u.call(this,x,O);return h(S[0],0,f[0],f[1]/p(S[0])),S}return v.size=function(x){return arguments.length?(f=x,v):f},yo(v,u)},t.layout.pie=function(){var u=Number,f=Gp,h=0,p=oo,v=0;function x(O){var S=O.length,R=O.map(function(ue,le){return+u.call(x,ue,le)}),N=+(typeof h=="function"?h.apply(this,arguments):h),L=(typeof p=="function"?p.apply(this,arguments):p)-N,B=Math.min(Math.abs(L)/S,+(typeof v=="function"?v.apply(this,arguments):v)),z=B*(L<0?-1:1),ie=t.sum(R),oe=ie?(L-S*z)/ie:0,G=t.range(S),X=[],J;return f!=null&&G.sort(f===Gp?function(ue,le){return R[le]-R[ue]}:function(ue,le){return f(O[ue],O[le])}),G.forEach(function(ue){X[ue]={data:O[ue],value:J=R[ue],startAngle:N,endAngle:N+=J*oe+z,padAngle:B}}),X}return x.value=function(O){return arguments.length?(u=O,x):u},x.sort=function(O){return arguments.length?(f=O,x):f},x.startAngle=function(O){return arguments.length?(h=O,x):h},x.endAngle=function(O){return arguments.length?(p=O,x):p},x.padAngle=function(O){return arguments.length?(v=O,x):v},x};var Gp={};t.layout.stack=function(){var u=nt,f=hc,h=dc,p=ry,v=ey,x=ty;function O(S,R){if(!(oe=S.length))return S;var N=S.map(function(ue,le){return u.call(O,ue,le)}),L=N.map(function(ue){return ue.map(function(le,te){return[v.call(O,le,te),x.call(O,le,te)]})}),B=f.call(O,L,R);N=t.permute(N,B),L=t.permute(L,B);var z=h.call(O,L,R),ie=N[0].length,oe,G,X,J;for(X=0;X<ie;++X)for(p.call(O,N[0][X],J=z[X],L[0][X][1]),G=1;G<oe;++G)p.call(O,N[G][X],J+=L[G-1][X][1],L[G][X][1]);return S}return O.values=function(S){return arguments.length?(u=S,O):u},O.order=function(S){return arguments.length?(f=typeof S=="function"?S:cc.get(S)||hc,O):f},O.offset=function(S){return arguments.length?(h=typeof S=="function"?S:ts.get(S)||dc,O):h},O.x=function(S){return arguments.length?(v=S,O):v},O.y=function(S){return arguments.length?(x=S,O):x},O.out=function(S){return arguments.length?(p=S,O):p},O};function ey(u){return u.x}function ty(u){return u.y}function ry(u,f,h){u.y0=f,u.y=h}var cc=t.map({"inside-out":function(u){var f=u.length,h,p,v=u.map(Wp),x=u.map(rs),O=t.range(f).sort(function(B,z){return v[B]-v[z]}),S=0,R=0,N=[],L=[];for(h=0;h<f;++h)p=O[h],S<R?(S+=x[p],N.push(p)):(R+=x[p],L.push(p));return L.reverse().concat(N)},reverse:function(u){return t.range(u.length).reverse()},default:hc}),ts=t.map({silhouette:function(u){var f=u.length,h=u[0].length,p=[],v=0,x,O,S,R=[];for(O=0;O<h;++O){for(x=0,S=0;x<f;x++)S+=u[x][O][1];S>v&&(v=S),p.push(S)}for(O=0;O<h;++O)R[O]=(v-p[O])/2;return R},wiggle:function(u){var f=u.length,h=u[0],p=h.length,v,x,O,S,R,N,L,B,z,ie=[];for(ie[0]=B=z=0,x=1;x<p;++x){for(v=0,S=0;v<f;++v)S+=u[v][x][1];for(v=0,R=0,L=h[x][0]-h[x-1][0];v<f;++v){for(O=0,N=(u[v][x][1]-u[v][x-1][1])/(2*L);O<v;++O)N+=(u[O][x][1]-u[O][x-1][1])/L;R+=N*u[v][x][1]}ie[x]=B-=S?R/S*L:0,B<z&&(z=B)}for(x=0;x<p;++x)ie[x]-=z;return ie},expand:function(u){var f=u.length,h=u[0].length,p=1/f,v,x,O,S=[];for(x=0;x<h;++x){for(v=0,O=0;v<f;v++)O+=u[v][x][1];if(O)for(v=0;v<f;v++)u[v][x][1]/=O;else for(v=0;v<f;v++)u[v][x][1]=p}for(x=0;x<h;++x)S[x]=0;return S},zero:dc});function hc(u){return t.range(u.length)}function dc(u){for(var f=-1,h=u[0].length,p=[];++f<h;)p[f]=0;return p}function Wp(u){for(var f=1,h=0,p=u[0][1],v,x=u.length;f<x;++f)(v=u[f][1])>p&&(h=f,p=v);return h}function rs(u){return u.reduce(pc,0)}function pc(u,f){return u+f[1]}t.layout.histogram=function(){var u=!0,f=Number,h=iy,p=ny;function v(x,z){for(var S=[],R=x.map(f,this),N=h.call(this,R,z),L=p.call(this,N,R,z),B,z=-1,ie=R.length,oe=L.length-1,G=u?1:1/ie,X;++z<oe;)B=S[z]=[],B.dx=L[z+1]-(B.x=L[z]),B.y=0;if(oe>0)for(z=-1;++z<ie;)X=R[z],X>=N[0]&&X<=N[1]&&(B=S[t.bisect(L,X,1,oe)-1],B.y+=G,B.push(x[z]));return S}return v.value=function(x){return arguments.length?(f=x,v):f},v.range=function(x){return arguments.length?(h=mr(x),v):h},v.bins=function(x){return arguments.length?(p=typeof x=="number"?function(O){return vc(O,x)}:mr(x),v):p},v.frequency=function(x){return arguments.length?(u=!!x,v):u},v};function ny(u,f){return vc(u,Math.ceil(Math.log(f.length)/Math.LN2+1))}function vc(u,f){for(var h=-1,p=+u[0],v=(u[1]-p)/f,x=[];++h<=f;)x[h]=v*h+p;return x}function iy(u){return[t.min(u),t.max(u)]}t.layout.pack=function(){var u=t.layout.hierarchy().sort(ay),f=0,h=[1,1],p;function v(x,O){var S=u.call(this,x,O),R=S[0],N=h[0],L=h[1],B=p==null?Math.sqrt:typeof p=="function"?p:function(){return p};if(R.x=R.y=0,oi(R,function(ie){ie.r=+B(ie.value)}),oi(R,gc),f){var z=f*(p?1:Math.max(2*R.r/N,2*R.r/L))/2;oi(R,function(ie){ie.r+=z}),oi(R,gc),oi(R,function(ie){ie.r-=z})}return qp(R,N/2,L/2,p?1:1/Math.max(2*R.r/N,2*R.r/L)),S}return v.size=function(x){return arguments.length?(h=x,v):h},v.radius=function(x){return arguments.length?(p=x==null||typeof x=="function"?x:+x,v):p},v.padding=function(x){return arguments.length?(f=+x,v):f},yo(v,u)};function ay(u,f){return u.value-f.value}function mc(u,f){var h=u._pack_next;u._pack_next=f,f._pack_prev=u,f._pack_next=h,h._pack_prev=f}function Hp(u,f){u._pack_next=f,f._pack_prev=u}function Vp(u,f){var h=f.x-u.x,p=f.y-u.y,v=u.r+f.r;return .999*v*v>h*h+p*p}function gc(u){if(!(f=u.children)||!(z=f.length))return;var f,h=1/0,p=-1/0,v=1/0,x=-1/0,O,S,R,N,L,B,z;function ie(te){h=Math.min(te.x-te.r,h),p=Math.max(te.x+te.r,p),v=Math.min(te.y-te.r,v),x=Math.max(te.y+te.r,x)}if(f.forEach(oy),O=f[0],O.x=-O.r,O.y=0,ie(O),z>1&&(S=f[1],S.x=S.r,S.y=0,ie(S),z>2))for(R=f[2],Yp(O,S,R),ie(R),mc(O,R),O._pack_prev=R,mc(R,S),S=O._pack_next,N=3;N<z;N++){Yp(O,S,R=f[N]);var oe=0,G=1,X=1;for(L=S._pack_next;L!==S;L=L._pack_next,G++)if(Vp(L,R)){oe=1;break}if(oe==1)for(B=O._pack_prev;B!==L._pack_prev&&!Vp(B,R);B=B._pack_prev,X++);oe?(G<X||G==X&&S.r<O.r?Hp(O,S=L):Hp(O=B,S),N--):(mc(O,R),S=R,ie(R))}var J=(h+p)/2,ue=(v+x)/2,le=0;for(N=0;N<z;N++)R=f[N],R.x-=J,R.y-=ue,le=Math.max(le,R.r+Math.sqrt(R.x*R.x+R.y*R.y));u.r=le,f.forEach(uy)}function oy(u){u._pack_next=u._pack_prev=u}function uy(u){delete u._pack_next,delete u._pack_prev}function qp(u,f,h,p){var v=u.children;if(u.x=f+=p*u.x,u.y=h+=p*u.y,u.r*=p,v)for(var x=-1,O=v.length;++x<O;)qp(v[x],f,h,p)}function Yp(u,f,h){var p=u.r+h.r,v=f.x-u.x,x=f.y-u.y;if(p&&(v||x)){var O=f.r+h.r,S=v*v+x*x;O*=O,p*=p;var R=.5+(p-O)/(2*S),N=Math.sqrt(Math.max(0,2*O*(p+S)-(p-=S)*p-O*O))/(2*S);h.x=u.x+R*v+N*x,h.y=u.y+R*x-N*v}else h.x=u.x+p,h.y=u.y}t.layout.tree=function(){var u=t.layout.hierarchy().sort(null).value(null),f=Xp,h=[1,1],p=null;function v(L,B){var z=u.call(this,L,B),ie=z[0],oe=x(ie);if(oi(oe,O),oe.parent.m=-oe.z,xo(oe,S),p)xo(ie,N);else{var G=ie,X=ie,J=ie;xo(ie,function(Re){Re.x<G.x&&(G=Re),Re.x>X.x&&(X=Re),Re.depth>J.depth&&(J=Re)});var ue=f(G,X)/2-G.x,le=h[0]/(X.x+f(X,G)/2+ue),te=h[1]/(J.depth||1);xo(ie,function(Re){Re.x=(Re.x+ue)*le,Re.y=Re.depth*te})}return z}function x(L){for(var B={A:null,children:[L]},z=[B],ie;(ie=z.pop())!=null;)for(var oe=ie.children,G,X=0,J=oe.length;X<J;++X)z.push((oe[X]=G={_:oe[X],parent:ie,children:(G=oe[X].children)&&G.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:X}).a=G);return B.children[0]}function O(L){var B=L.children,z=L.parent.children,ie=L.i?z[L.i-1]:null;if(B.length){sy(L);var oe=(B[0].z+B[B.length-1].z)/2;ie?(L.z=ie.z+f(L._,ie._),L.m=L.z-oe):L.z=oe}else ie&&(L.z=ie.z+f(L._,ie._));L.parent.A=R(L,ie,L.parent.A||z[0])}function S(L){L._.x=L.z+L.parent.m,L.m+=L.parent.m}function R(L,B,z){if(B){for(var ie=L,oe=L,G=B,X=ie.parent.children[0],J=ie.m,ue=oe.m,le=G.m,te=X.m,Re;G=xc(G),ie=yc(ie),G&&ie;)X=yc(X),oe=xc(oe),oe.a=L,Re=G.z+le-ie.z-J+f(G._,ie._),Re>0&&(ly(gi(G,L,z),L,Re),J+=Re,ue+=Re),le+=G.m,J+=ie.m,te+=X.m,ue+=oe.m;G&&!xc(oe)&&(oe.t=G,oe.m+=le-ue),ie&&!yc(X)&&(X.t=ie,X.m+=J-te,z=L)}return z}function N(L){L.x*=h[0],L.y=L.depth*h[1]}return v.separation=function(L){return arguments.length?(f=L,v):f},v.size=function(L){return arguments.length?(p=(h=L)==null?N:null,v):p?null:h},v.nodeSize=function(L){return arguments.length?(p=(h=L)==null?null:N,v):p?h:null},yo(v,u)};function Xp(u,f){return u.parent==f.parent?1:2}function yc(u){var f=u.children;return f.length?f[0]:u.t}function xc(u){var f=u.children,h;return(h=f.length)?f[h-1]:u.t}function ly(u,f,h){var p=h/(f.i-u.i);f.c-=p,f.s+=h,u.c+=p,f.z+=h,f.m+=h}function sy(u){for(var f=0,h=0,p=u.children,v=p.length,x;--v>=0;)x=p[v],x.z+=f,x.m+=f,f+=x.s+(h+=x.c)}function gi(u,f,h){return u.a.parent===f.parent?u.a:h}t.layout.cluster=function(){var u=t.layout.hierarchy().sort(null).value(null),f=Xp,h=[1,1],p=!1;function v(x,O){var S=u.call(this,x,O),R=S[0],N,L=0;oi(R,function(G){var X=G.children;X&&X.length?(G.x=fy(X),G.y=Qp(X)):(G.x=N?L+=f(G,N):0,G.y=0,N=G)});var B=Zp(R),z=Kp(R),ie=B.x-f(B,z)/2,oe=z.x+f(z,B)/2;return oi(R,p?function(G){G.x=(G.x-R.x)*h[0],G.y=(R.y-G.y)*h[1]}:function(G){G.x=(G.x-ie)/(oe-ie)*h[0],G.y=(1-(R.y?G.y/R.y:1))*h[1]}),S}return v.separation=function(x){return arguments.length?(f=x,v):f},v.size=function(x){return arguments.length?(p=(h=x)==null,v):p?null:h},v.nodeSize=function(x){return arguments.length?(p=(h=x)!=null,v):p?h:null},yo(v,u)};function Qp(u){return 1+t.max(u,function(f){return f.y})}function fy(u){return u.reduce(function(f,h){return f+h.x},0)/u.length}function Zp(u){var f=u.children;return f&&f.length?Zp(f[0]):u}function Kp(u){var f=u.children,h;return f&&(h=f.length)?Kp(f[h-1]):u}t.layout.treemap=function(){var u=t.layout.hierarchy(),f=Math.round,h=[1,1],p=null,v=bc,x=!1,O,S="squarify",R=.5*(1+Math.sqrt(5));function N(G,X){for(var J=-1,ue=G.length,le,te;++J<ue;)te=(le=G[J]).value*(X<0?0:X),le.area=isNaN(te)||te<=0?0:te}function L(G){var X=G.children;if(X&&X.length){var J=v(G),ue=[],le=X.slice(),te,Re=1/0,Ue,tt=S==="slice"?J.dx:S==="dice"?J.dy:S==="slice-dice"?G.depth&1?J.dy:J.dx:Math.min(J.dx,J.dy),je;for(N(le,J.dx*J.dy/G.value),ue.area=0;(je=le.length)>0;)ue.push(te=le[je-1]),ue.area+=te.area,S!=="squarify"||(Ue=z(ue,tt))<=Re?(le.pop(),Re=Ue):(ue.area-=ue.pop().area,ie(ue,tt,J,!1),tt=Math.min(J.dx,J.dy),ue.length=ue.area=0,Re=1/0);ue.length&&(ie(ue,tt,J,!0),ue.length=ue.area=0),X.forEach(L)}}function B(G){var X=G.children;if(X&&X.length){var J=v(G),ue=X.slice(),le,te=[];for(N(ue,J.dx*J.dy/G.value),te.area=0;le=ue.pop();)te.push(le),te.area+=le.area,le.z!=null&&(ie(te,le.z?J.dx:J.dy,J,!ue.length),te.length=te.area=0);X.forEach(B)}}function z(G,X){for(var J=G.area,ue,le=0,te=1/0,Re=-1,Ue=G.length;++Re<Ue;)!(ue=G[Re].area)||(ue<te&&(te=ue),ue>le&&(le=ue));return J*=J,X*=X,J?Math.max(X*le*R/J,J/(X*te*R)):1/0}function ie(G,X,J,ue){var le=-1,te=G.length,Re=J.x,Ue=J.y,tt=X?f(G.area/X):0,je;if(X==J.dx){for((ue||tt>J.dy)&&(tt=J.dy);++le<te;)je=G[le],je.x=Re,je.y=Ue,je.dy=tt,Re+=je.dx=Math.min(J.x+J.dx-Re,tt?f(je.area/tt):0);je.z=!0,je.dx+=J.x+J.dx-Re,J.y+=tt,J.dy-=tt}else{for((ue||tt>J.dx)&&(tt=J.dx);++le<te;)je=G[le],je.x=Re,je.y=Ue,je.dx=tt,Ue+=je.dy=Math.min(J.y+J.dy-Ue,tt?f(je.area/tt):0);je.z=!1,je.dy+=J.y+J.dy-Ue,J.x+=tt,J.dx-=tt}}function oe(G){var X=O||u(G),J=X[0];return J.x=J.y=0,J.value?(J.dx=h[0],J.dy=h[1]):J.dx=J.dy=0,O&&u.revalue(J),N([J],J.dx*J.dy/J.value),(O?B:L)(J),x&&(O=X),X}return oe.size=function(G){return arguments.length?(h=G,oe):h},oe.padding=function(G){if(!arguments.length)return p;function X(le){var te=G.call(oe,le,le.depth);return te==null?bc(le):Jp(le,typeof te=="number"?[te,te,te,te]:te)}function J(le){return Jp(le,G)}var ue;return v=(p=G)==null?bc:(ue=typeof G)=="function"?X:(ue==="number"&&(G=[G,G,G,G]),J),oe},oe.round=function(G){return arguments.length?(f=G?Math.round:Number,oe):f!=Number},oe.sticky=function(G){return arguments.length?(x=G,O=null,oe):x},oe.ratio=function(G){return arguments.length?(R=G,oe):R},oe.mode=function(G){return arguments.length?(S=G+"",oe):S},yo(oe,u)};function bc(u){return{x:u.x,y:u.y,dx:u.dx,dy:u.dy}}function Jp(u,f){var h=u.x+f[3],p=u.y+f[0],v=u.dx-f[1]-f[3],x=u.dy-f[0]-f[2];return v<0&&(h+=v/2,v=0),x<0&&(p+=x/2,x=0),{x:h,y:p,dx:v,dy:x}}t.random={normal:function(u,f){var h=arguments.length;return h<2&&(f=1),h<1&&(u=0),function(){var p,v,x;do p=Math.random()*2-1,v=Math.random()*2-1,x=p*p+v*v;while(!x||x>1);return u+f*p*Math.sqrt(-2*Math.log(x)/x)}},logNormal:function(){var u=t.random.normal.apply(t,arguments);return function(){return Math.exp(u())}},bates:function(u){var f=t.random.irwinHall(u);return function(){return f()/u}},irwinHall:function(u){return function(){for(var f=0,h=0;h<u;h++)f+=Math.random();return f}}},t.scale={};function ns(u){var f=u[0],h=u[u.length-1];return f<h?[f,h]:[h,f]}function is(u){return u.rangeExtent?u.rangeExtent():ns(u.range())}function cy(u,f,h,p){var v=h(u[0],u[1]),x=p(f[0],f[1]);return function(O){return x(v(O))}}function jr(u,f){var h=0,p=u.length-1,v=u[h],x=u[p],O;return x<v&&(O=h,h=p,p=O,O=v,v=x,x=O),u[h]=f.floor(v),u[p]=f.ceil(x),u}function Pa(u){return u?{floor:function(f){return Math.floor(f/u)*u},ceil:function(f){return Math.ceil(f/u)*u}}:bo}var bo={floor:nt,ceil:nt};function hy(u,f,h,p){var v=[],x=[],O=0,S=Math.min(u.length,f.length)-1;for(u[S]<u[0]&&(u=u.slice().reverse(),f=f.slice().reverse());++O<=S;)v.push(h(u[O-1],u[O])),x.push(p(f[O-1],f[O]));return function(R){var N=t.bisect(u,R,1,S)-1;return x[N](v[N](R))}}t.scale.linear=function(){return Na([0,1],[0,1],mi,!1)};function Na(u,f,h,p){var v,x;function O(){var R=Math.min(u.length,f.length)>2?hy:cy,N=p?Pp:Fp;return v=R(u,f,N,h),x=R(f,u,N,mi),S}function S(R){return v(R)}return S.invert=function(R){return x(R)},S.domain=function(R){return arguments.length?(u=R.map(Number),O()):u},S.range=function(R){return arguments.length?(f=R,O()):f},S.rangeRound=function(R){return S.range(R).interpolate(Jl)},S.clamp=function(R){return arguments.length?(p=R,O()):p},S.interpolate=function(R){return arguments.length?(h=R,O()):h},S.ticks=function(R){return Fu(u,R)},S.tickFormat=function(R,N){return d3_scale_linearTickFormat(u,R,N)},S.nice=function(R){return La(u,R),O()},S.copy=function(){return Na(u,f,h,p)},O()}function wc(u,f){return t.rebind(u,f,"range","rangeRound","interpolate","clamp")}function La(u,f){return jr(u,Pa(Ru(u,f)[2])),jr(u,Pa(Ru(u,f)[2])),u}function Ru(u,f){f==null&&(f=10);var h=ns(u),p=h[1]-h[0],v=Math.pow(10,Math.floor(Math.log(p/f)/Math.LN10)),x=f/p*v;return x<=.15?v*=10:x<=.35?v*=5:x<=.75&&(v*=2),h[0]=Math.ceil(h[0]/v)*v,h[1]=Math.floor(h[1]/v)*v+v*.5,h[2]=v,h}function Fu(u,f){return t.range.apply(t,Ru(u,f))}t.scale.log=function(){return as(t.scale.linear().domain([0,1]),10,!0,[1,10])};function as(u,f,h,p){function v(S){return(h?Math.log(S<0?0:S):-Math.log(S>0?0:-S))/Math.log(f)}function x(S){return h?Math.pow(f,S):-Math.pow(f,-S)}function O(S){return u(v(S))}return O.invert=function(S){return x(u.invert(S))},O.domain=function(S){return arguments.length?(h=S[0]>=0,u.domain((p=S.map(Number)).map(v)),O):p},O.base=function(S){return arguments.length?(f=+S,u.domain(p.map(v)),O):f},O.nice=function(){var S=jr(p.map(v),h?Math:_c);return u.domain(S),p=S.map(x),O},O.ticks=function(){var S=ns(p),R=[],N=S[0],L=S[1],B=Math.floor(v(N)),z=Math.ceil(v(L)),ie=f%1?2:f;if(isFinite(z-B)){if(h){for(;B<z;B++)for(var oe=1;oe<ie;oe++)R.push(x(B)*oe);R.push(x(B))}else for(R.push(x(B));B++<z;)for(var oe=ie-1;oe>0;oe--)R.push(x(B)*oe);for(B=0;R[B]<N;B++);for(z=R.length;R[z-1]>L;z--);R=R.slice(B,z)}return R},O.copy=function(){return as(u.copy(),f,h,p)},wc(O,u)}var _c={floor:function(u){return-Math.ceil(-u)},ceil:function(u){return-Math.floor(-u)}};t.scale.pow=function(){return os(t.scale.linear(),1,[0,1])};function os(u,f,h){var p=Da(f),v=Da(1/f);function x(O){return u(p(O))}return x.invert=function(O){return v(u.invert(O))},x.domain=function(O){return arguments.length?(u.domain((h=O.map(Number)).map(p)),x):h},x.ticks=function(O){return Fu(h,O)},x.tickFormat=function(O,S){return d3_scale_linearTickFormat(h,O,S)},x.nice=function(O){return x.domain(La(h,O))},x.exponent=function(O){return arguments.length?(p=Da(f=O),v=Da(1/f),u.domain(h.map(p)),x):f},x.copy=function(){return os(u.copy(),f,h)},wc(x,u)}function Da(u){return function(f){return f<0?-Math.pow(-f,u):Math.pow(f,u)}}t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return Sc([],{t:"range",a:[[]]})};function Sc(u,f){var h,p,v;function x(S){return p[((h.get(S)||(f.t==="range"?h.set(S,u.push(S)):NaN))-1)%p.length]}function O(S,R){return t.range(u.length).map(function(N){return S+R*N})}return x.domain=function(S){if(!arguments.length)return u;u=[],h=new P;for(var R=-1,N=S.length,L;++R<N;)h.has(L=S[R])||h.set(L,u.push(L));return x[f.t].apply(x,f.a)},x.range=function(S){return arguments.length?(p=S,v=0,f={t:"range",a:arguments},x):p},x.rangePoints=function(S,R){arguments.length<2&&(R=0);var N=S[0],L=S[1],B=u.length<2?(N=(N+L)/2,0):(L-N)/(u.length-1+R);return p=O(N+B*R/2,B),v=0,f={t:"rangePoints",a:arguments},x},x.rangeRoundPoints=function(S,R){arguments.length<2&&(R=0);var N=S[0],L=S[1],B=u.length<2?(N=L=Math.round((N+L)/2),0):(L-N)/(u.length-1+R)|0;return p=O(N+Math.round(B*R/2+(L-N-(u.length-1+R)*B)/2),B),v=0,f={t:"rangeRoundPoints",a:arguments},x},x.rangeBands=function(S,R,N){arguments.length<2&&(R=0),arguments.length<3&&(N=R);var L=S[1]<S[0],B=S[L-0],z=S[1-L],ie=(z-B)/(u.length-R+2*N);return p=O(B+ie*N,ie),L&&p.reverse(),v=ie*(1-R),f={t:"rangeBands",a:arguments},x},x.rangeRoundBands=function(S,R,N){arguments.length<2&&(R=0),arguments.length<3&&(N=R);var L=S[1]<S[0],B=S[L-0],z=S[1-L],ie=Math.floor((z-B)/(u.length-R+2*N));return p=O(B+Math.round((z-B-(u.length-R)*ie)/2),ie),L&&p.reverse(),v=Math.round(ie*(1-R)),f={t:"rangeRoundBands",a:arguments},x},x.rangeBand=function(){return v},x.rangeExtent=function(){return ns(f.a[0])},x.copy=function(){return Sc(u,f)},x.domain(u)}t.scale.category10=function(){return t.scale.ordinal().range(ev)},t.scale.category20=function(){return t.scale.ordinal().range(tv)},t.scale.category20b=function(){return t.scale.ordinal().range(rv)},t.scale.category20c=function(){return t.scale.ordinal().range(nv)};var ev=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(zl),tv=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(zl),rv=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(zl),nv=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(zl);t.scale.quantile=function(){return us([],[])};function us(u,f){var h;function p(){var x=0,O=f.length;for(h=[];++x<O;)h[x-1]=t.quantile(u,x/O);return v}function v(x){if(!isNaN(x=+x))return f[t.bisect(h,x)]}return v.domain=function(x){return arguments.length?(u=x.map(m).filter(E).sort(g),p()):u},v.range=function(x){return arguments.length?(f=x,p()):f},v.quantiles=function(){return h},v.invertExtent=function(x){return x=f.indexOf(x),x<0?[NaN,NaN]:[x>0?h[x-1]:u[0],x<h.length?h[x]:u[u.length-1]]},v.copy=function(){return us(u,f)},p()}t.scale.quantize=function(){return ls(0,1,[0,1])};function ls(u,f,h){var p,v;function x(S){return h[Math.max(0,Math.min(v,Math.floor(p*(S-u))))]}function O(){return p=h.length/(f-u),v=h.length-1,x}return x.domain=function(S){return arguments.length?(u=+S[0],f=+S[S.length-1],O()):[u,f]},x.range=function(S){return arguments.length?(h=S,O()):h},x.invertExtent=function(S){return S=h.indexOf(S),S=S<0?NaN:S/p+u,[S,S+1/p]},x.copy=function(){return ls(u,f,h)},O()}t.scale.threshold=function(){return Ec([.5],[0,1])};function Ec(u,f){function h(p){if(p<=p)return f[t.bisect(u,p)]}return h.domain=function(p){return arguments.length?(u=p,h):u},h.range=function(p){return arguments.length?(f=p,h):f},h.invertExtent=function(p){return p=f.indexOf(p),[u[p-1],u[p]]},h.copy=function(){return Ec(u,f)},h}t.scale.identity=function(){return Ac([0,1])};function Ac(u){function f(h){return+h}return f.invert=f,f.domain=f.range=function(h){return arguments.length?(u=h.map(f),f):u},f.ticks=function(h){return Fu(u,h)},f.tickFormat=function(h,p){return d3_scale_linearTickFormat(u,h,p)},f.copy=function(){return Ac(u)},f}t.svg={};function iv(){return 0}t.svg.arc=function(){var u=Tc,f=av,h=iv,p=Pu,v=Cc,x=ss,O=Oc;function S(){var N=Math.max(0,+u.apply(this,arguments)),L=Math.max(0,+f.apply(this,arguments)),B=v.apply(this,arguments)-vi,z=x.apply(this,arguments)-vi,ie=Math.abs(z-B),oe=B>z?0:1;if(L<N&&(G=L,L=N,N=G),ie>=rp)return R(L,oe)+(N?R(N,1-oe):"")+"Z";var G,X,J,ue,le=0,te=0,Re,Ue,tt,je,at,vt,jt,bt,zt=[];if((ue=(+O.apply(this,arguments)||0)/2)&&(J=p===Pu?Math.sqrt(N*N+L*L):+p.apply(this,arguments),oe||(te*=-1),L&&(te=ip(J/L*Math.sin(ue))),N&&(le=ip(J/N*Math.sin(ue)))),L){Re=L*Math.cos(B+te),Ue=L*Math.sin(B+te),tt=L*Math.cos(z-te),je=L*Math.sin(z-te);var ar=Math.abs(z-B-2*te)<=Ri?0:1;if(te&&Nu(Re,Ue,tt,je)===oe^ar){var Mr=(B+z)/2;Re=L*Math.cos(Mr),Ue=L*Math.sin(Mr),tt=je=null}}else Re=Ue=0;if(N){at=N*Math.cos(z-le),vt=N*Math.sin(z-le),jt=N*Math.cos(B+le),bt=N*Math.sin(B+le);var dr=Math.abs(B-z+2*le)<=Ri?0:1;if(le&&Nu(at,vt,jt,bt)===1-oe^dr){var rt=(B+z)/2;at=N*Math.cos(rt),vt=N*Math.sin(rt),jt=bt=null}}else at=vt=0;if(ie>ir&&(G=Math.min(Math.abs(L-N)/2,+h.apply(this,arguments)))>.001){X=N<L^oe?0:1;var Gt=G,qt=G;if(ie<Ri){var or=jt==null?[at,vt]:tt==null?[Re,Ue]:Vf([Re,Ue],[jt,bt],[tt,je],[at,vt]),Sr=Re-or[0],$r=Ue-or[1],Vr=tt-or[0],cn=je-or[1],xn=1/Math.sin(Math.acos((Sr*Vr+$r*cn)/(Math.sqrt(Sr*Sr+$r*$r)*Math.sqrt(Vr*Vr+cn*cn)))/2),rn=Math.sqrt(or[0]*or[0]+or[1]*or[1]);qt=Math.min(G,(N-rn)/(xn-1)),Gt=Math.min(G,(L-rn)/(xn+1))}if(tt!=null){var kn=wo(jt==null?[at,vt]:[jt,bt],[Re,Ue],L,Gt,oe),F=wo([tt,je],[at,vt],L,Gt,oe);G===Gt?zt.push("M",kn[0],"A",Gt,",",Gt," 0 0,",X," ",kn[1],"A",L,",",L," 0 ",1-oe^Nu(kn[1][0],kn[1][1],F[1][0],F[1][1]),",",oe," ",F[1],"A",Gt,",",Gt," 0 0,",X," ",F[0]):zt.push("M",kn[0],"A",Gt,",",Gt," 0 1,",X," ",F[0])}else zt.push("M",Re,",",Ue);if(jt!=null){var H=wo([Re,Ue],[jt,bt],N,-qt,oe),K=wo([at,vt],tt==null?[Re,Ue]:[tt,je],N,-qt,oe);G===qt?zt.push("L",K[0],"A",qt,",",qt," 0 0,",X," ",K[1],"A",N,",",N," 0 ",oe^Nu(K[1][0],K[1][1],H[1][0],H[1][1]),",",1-oe," ",H[1],"A",qt,",",qt," 0 0,",X," ",H[0]):zt.push("L",K[0],"A",qt,",",qt," 0 0,",X," ",H[0])}else zt.push("L",at,",",vt)}else zt.push("M",Re,",",Ue),tt!=null&&zt.push("A",L,",",L," 0 ",ar,",",oe," ",tt,",",je),zt.push("L",at,",",vt),jt!=null&&zt.push("A",N,",",N," 0 ",dr,",",1-oe," ",jt,",",bt);return zt.push("Z"),zt.join("")}function R(N,L){return"M0,"+N+"A"+N+","+N+" 0 1,"+L+" 0,"+-N+"A"+N+","+N+" 0 1,"+L+" 0,"+N}return S.innerRadius=function(N){return arguments.length?(u=mr(N),S):u},S.outerRadius=function(N){return arguments.length?(f=mr(N),S):f},S.cornerRadius=function(N){return arguments.length?(h=mr(N),S):h},S.padRadius=function(N){return arguments.length?(p=N==Pu?Pu:mr(N),S):p},S.startAngle=function(N){return arguments.length?(v=mr(N),S):v},S.endAngle=function(N){return arguments.length?(x=mr(N),S):x},S.padAngle=function(N){return arguments.length?(O=mr(N),S):O},S.centroid=function(){var N=(+u.apply(this,arguments)+ +f.apply(this,arguments))/2,L=(+v.apply(this,arguments)+ +x.apply(this,arguments))/2-vi;return[Math.cos(L)*N,Math.sin(L)*N]},S};var Pu="auto";function Tc(u){return u.innerRadius}function av(u){return u.outerRadius}function Cc(u){return u.startAngle}function ss(u){return u.endAngle}function Oc(u){return u&&u.padAngle}function Nu(u,f,h,p){return(u-h)*f-(f-p)*u>0?0:1}function wo(u,f,h,p,v){var x=u[0]-f[0],O=u[1]-f[1],S=(v?p:-p)/Math.sqrt(x*x+O*O),R=S*O,N=-S*x,L=u[0]+R,B=u[1]+N,z=f[0]+R,ie=f[1]+N,oe=(L+z)/2,G=(B+ie)/2,X=z-L,J=ie-B,ue=X*X+J*J,le=h-p,te=L*ie-z*B,Re=(J<0?-1:1)*Math.sqrt(Math.max(0,le*le*ue-te*te)),Ue=(te*J-X*Re)/ue,tt=(-te*X-J*Re)/ue,je=(te*J+X*Re)/ue,at=(-te*X+J*Re)/ue,vt=Ue-oe,jt=tt-G,bt=je-oe,zt=at-G;return vt*vt+jt*jt>bt*bt+zt*zt&&(Ue=je,tt=at),[[Ue-R,tt-N],[Ue*h/le,tt*h/le]]}function kc(){return!0}function Mc(u){var f=Fi,h=Pi,p=kc,v=Wn,x=v.key,O=.7;function S(R){var N=[],L=[],B=-1,z=R.length,ie,oe=mr(f),G=mr(h);function X(){N.push("M",v(u(L),O))}for(;++B<z;)p.call(this,ie=R[B],B)?L.push([+oe.call(this,ie,B),+G.call(this,ie,B)]):L.length&&(X(),L=[]);return L.length&&X(),N.length?N.join(""):null}return S.x=function(R){return arguments.length?(f=R,S):f},S.y=function(R){return arguments.length?(h=R,S):h},S.defined=function(R){return arguments.length?(p=R,S):p},S.interpolate=function(R){return arguments.length?(typeof R=="function"?x=v=R:x=(v=Lu.get(R)||Wn).key,S):x},S.tension=function(R){return arguments.length?(O=R,S):O},S}t.svg.line=function(){return Mc(nt)};var Lu=t.map({linear:Wn,"linear-closed":Ic,step:Rc,"step-before":Du,"step-after":$a,basis:$u,"basis-open":cs,"basis-closed":_o,bundle:So,cardinal:$i,"cardinal-open":ov,"cardinal-closed":fs,monotone:dy});Lu.forEach(function(u,f){f.key=u,f.closed=/-closed$/.test(u)});function Wn(u){return u.length>1?u.join("L"):u+"Z"}function Ic(u){return u.join("L")+"Z"}function Rc(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("H",(p[0]+(p=u[f])[0])/2,"V",p[1]);return h>1&&v.push("H",p[0]),v.join("")}function Du(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("V",(p=u[f])[1],"H",p[0]);return v.join("")}function $a(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("H",(p=u[f])[0],"V",p[1]);return v.join("")}function ov(u,f){return u.length<4?Wn(u):u[1]+Ba(u.slice(1,-1),ra(u,f))}function fs(u,f){return u.length<3?Ic(u):u[0]+Ba((u.push(u[0]),u),ra([u[u.length-2]].concat(u,[u[1]]),f))}function $i(u,f){return u.length<3?Wn(u):u[0]+Ba(u,ra(u,f))}function Ba(u,f){if(f.length<1||u.length!=f.length&&u.length!=f.length+2)return Wn(u);var h=u.length!=f.length,p="",v=u[0],x=u[1],O=f[0],S=O,R=1;if(h&&(p+="Q"+(x[0]-O[0]*2/3)+","+(x[1]-O[1]*2/3)+","+x[0]+","+x[1],v=u[1],R=2),f.length>1){S=f[1],x=u[R],R++,p+="C"+(v[0]+O[0])+","+(v[1]+O[1])+","+(x[0]-S[0])+","+(x[1]-S[1])+","+x[0]+","+x[1];for(var N=2;N<f.length;N++,R++)x=u[R],S=f[N],p+="S"+(x[0]-S[0])+","+(x[1]-S[1])+","+x[0]+","+x[1]}if(h){var L=u[R];p+="Q"+(x[0]+S[0]*2/3)+","+(x[1]+S[1]*2/3)+","+L[0]+","+L[1]}return p}function ra(u,f){for(var h=[],p=(1-f)/2,v,x=u[0],O=u[1],S=1,R=u.length;++S<R;)v=x,x=O,O=u[S],h.push([p*(O[0]-v[0]),p*(O[1]-v[1])]);return h}function $u(u){if(u.length<3)return Wn(u);var f=1,h=u.length,p=u[0],v=p[0],x=p[1],O=[v,v,v,(p=u[1])[0]],S=[x,x,x,p[1]],R=[v,",",x,"L",tn(ui,O),",",tn(ui,S)];for(u.push(u[h-1]);++f<=h;)p=u[f],O.shift(),O.push(p[0]),S.shift(),S.push(p[1]),Bu(R,O,S);return u.pop(),R.push("L",p),R.join("")}function cs(u){if(u.length<4)return Wn(u);for(var f=[],h=-1,p=u.length,v,x=[0],O=[0];++h<3;)v=u[h],x.push(v[0]),O.push(v[1]);for(f.push(tn(ui,x)+","+tn(ui,O)),--h;++h<p;)v=u[h],x.shift(),x.push(v[0]),O.shift(),O.push(v[1]),Bu(f,x,O);return f.join("")}function _o(u){for(var f,h=-1,p=u.length,v=p+4,x,O=[],S=[];++h<4;)x=u[h%p],O.push(x[0]),S.push(x[1]);for(f=[tn(ui,O),",",tn(ui,S)],--h;++h<v;)x=u[h%p],O.shift(),O.push(x[0]),S.shift(),S.push(x[1]),Bu(f,O,S);return f.join("")}function So(u,f){var h=u.length-1;if(h)for(var p=u[0][0],v=u[0][1],x=u[h][0]-p,O=u[h][1]-v,S=-1,R,N;++S<=h;)R=u[S],N=S/h,R[0]=f*R[0]+(1-f)*(p+N*x),R[1]=f*R[1]+(1-f)*(v+N*O);return $u(u)}function tn(u,f){return u[0]*f[0]+u[1]*f[1]+u[2]*f[2]+u[3]*f[3]}var hs=[0,2/3,1/3,0],ds=[0,1/3,2/3,0],ui=[0,1/6,2/3,1/6];function Bu(u,f,h){u.push("C",tn(hs,f),",",tn(hs,h),",",tn(ds,f),",",tn(ds,h),",",tn(ui,f),",",tn(ui,h))}function zu(u,f){return(f[1]-u[1])/(f[0]-u[0])}function Eo(u){for(var f=0,h=u.length-1,p=[],v=u[0],x=u[1],O=p[0]=zu(v,x);++f<h;)p[f]=(O+(O=zu(v=x,x=u[f+1])))/2;return p[f]=O,p}function Ao(u){for(var f=[],h,p,v,x,O=Eo(u),S=-1,R=u.length-1;++S<R;)h=zu(u[S],u[S+1]),_(h)<ir?O[S]=O[S+1]=0:(p=O[S]/h,v=O[S+1]/h,x=p*p+v*v,x>9&&(x=h*3/Math.sqrt(x),O[S]=x*p,O[S+1]=x*v));for(S=-1;++S<=R;)x=(u[Math.min(R,S+1)][0]-u[Math.max(0,S-1)][0])/(6*(1+O[S]*O[S])),f.push([x||0,O[S]*x||0]);return f}function dy(u){return u.length<3?Wn(u):u[0]+Ba(u,Ao(u))}t.svg.line.radial=function(){var u=Mc(uv);return u.radius=u.x,delete u.x,u.angle=u.y,delete u.y,u};function uv(u){for(var f,h=-1,p=u.length,v,x;++h<p;)f=u[h],v=f[0],x=f[1]-vi,f[0]=v*Math.cos(x),f[1]=v*Math.sin(x);return u}function Fc(u){var f=Fi,h=Fi,p=0,v=Pi,x=kc,O=Wn,S=O.key,R=O,N="L",L=.7;function B(z){var ie=[],oe=[],G=[],X=-1,J=z.length,ue,le=mr(f),te=mr(p),Re=f===h?function(){return tt}:mr(h),Ue=p===v?function(){return je}:mr(v),tt,je;function at(){ie.push("M",O(u(G),L),N,R(u(oe.reverse()),L),"Z")}for(;++X<J;)x.call(this,ue=z[X],X)?(oe.push([tt=+le.call(this,ue,X),je=+te.call(this,ue,X)]),G.push([+Re.call(this,ue,X),+Ue.call(this,ue,X)])):oe.length&&(at(),oe=[],G=[]);return oe.length&&at(),ie.length?ie.join(""):null}return B.x=function(z){return arguments.length?(f=h=z,B):h},B.x0=function(z){return arguments.length?(f=z,B):f},B.x1=function(z){return arguments.length?(h=z,B):h},B.y=function(z){return arguments.length?(p=v=z,B):v},B.y0=function(z){return arguments.length?(p=z,B):p},B.y1=function(z){return arguments.length?(v=z,B):v},B.defined=function(z){return arguments.length?(x=z,B):x},B.interpolate=function(z){return arguments.length?(typeof z=="function"?S=O=z:S=(O=Lu.get(z)||Wn).key,R=O.reverse||O,N=O.closed?"M":"L",B):S},B.tension=function(z){return arguments.length?(L=z,B):L},B}Du.reverse=$a,$a.reverse=Du,t.svg.area=function(){return Fc(nt)},t.svg.area.radial=function(){var u=Fc(uv);return u.radius=u.x,delete u.x,u.innerRadius=u.x0,delete u.x0,u.outerRadius=u.x1,delete u.x1,u.angle=u.y,delete u.y,u.startAngle=u.y0,delete u.y0,u.endAngle=u.y1,delete u.y1,u};function Pc(u){return u.source}function Nc(u){return u.target}t.svg.chord=function(){var u=Pc,f=Nc,h=py,p=Cc,v=ss;function x(L,B){var z=O(this,u,L,B),ie=O(this,f,L,B);return"M"+z.p0+R(z.r,z.p1,z.a1-z.a0)+(S(z,ie)?N(z.r,z.p1,z.r,z.p0):N(z.r,z.p1,ie.r,ie.p0)+R(ie.r,ie.p1,ie.a1-ie.a0)+N(ie.r,ie.p1,z.r,z.p0))+"Z"}function O(L,B,z,ie){var oe=B.call(L,z,ie),G=h.call(L,oe,ie),X=p.call(L,oe,ie)-vi,J=v.call(L,oe,ie)-vi;return{r:G,a0:X,a1:J,p0:[G*Math.cos(X),G*Math.sin(X)],p1:[G*Math.cos(J),G*Math.sin(J)]}}function S(L,B){return L.a0==B.a0&&L.a1==B.a1}function R(L,B,z){return"A"+L+","+L+" 0 "+ +(z>Ri)+",1 "+B}function N(L,B,z,ie){return"Q 0,0 "+ie}return x.radius=function(L){return arguments.length?(h=mr(L),x):h},x.source=function(L){return arguments.length?(u=mr(L),x):u},x.target=function(L){return arguments.length?(f=mr(L),x):f},x.startAngle=function(L){return arguments.length?(p=mr(L),x):p},x.endAngle=function(L){return arguments.length?(v=mr(L),x):v},x};function py(u){return u.radius}t.svg.diagonal=function(){var u=Pc,f=Nc,h=za;function p(v,x){var O=u.call(this,v,x),S=f.call(this,v,x),R=(O.y+S.y)/2,N=[O,{x:O.x,y:R},{x:S.x,y:R},S];return N=N.map(h),"M"+N[0]+"C"+N[1]+" "+N[2]+" "+N[3]}return p.source=function(v){return arguments.length?(u=mr(v),p):u},p.target=function(v){return arguments.length?(f=mr(v),p):f},p.projection=function(v){return arguments.length?(h=v,p):h},p};function za(u){return[u.x,u.y]}t.svg.diagonal.radial=function(){var u=t.svg.diagonal(),f=za,h=u.projection;return u.projection=function(p){return arguments.length?h(Lc(f=p)):f},u};function Lc(u){return function(){var f=u.apply(this,arguments),h=f[0],p=f[1]-vi;return[h*Math.cos(p),h*Math.sin(p)]}}t.svg.symbol=function(){var u=my,f=vy;function h(p,v){return(sv.get(u.call(this,p,v))||lv)(f.call(this,p,v))}return h.type=function(p){return arguments.length?(u=mr(p),h):u},h.size=function(p){return arguments.length?(f=mr(p),h):f},h};function vy(){return 64}function my(){return"circle"}function lv(u){var f=Math.sqrt(u/Ri);return"M0,"+f+"A"+f+","+f+" 0 1,1 0,"+-f+"A"+f+","+f+" 0 1,1 0,"+f+"Z"}var sv=t.map({circle:lv,cross:function(u){var f=Math.sqrt(u/5)/2;return"M"+-3*f+","+-f+"H"+-f+"V"+-3*f+"H"+f+"V"+-f+"H"+3*f+"V"+f+"H"+f+"V"+3*f+"H"+-f+"V"+f+"H"+-3*f+"Z"},diamond:function(u){var f=Math.sqrt(u/(2*fv)),h=f*fv;return"M0,"+-f+"L"+h+",0 0,"+f+" "+-h+",0Z"},square:function(u){var f=Math.sqrt(u)/2;return"M"+-f+","+-f+"L"+f+","+-f+" "+f+","+f+" "+-f+","+f+"Z"},"triangle-down":function(u){var f=Math.sqrt(u/ps),h=f*ps/2;return"M0,"+h+"L"+f+","+-h+" "+-f+","+-h+"Z"},"triangle-up":function(u){var f=Math.sqrt(u/ps),h=f*ps/2;return"M0,"+-h+"L"+f+","+h+" "+-f+","+h+"Z"}});t.svg.symbolTypes=sv.keys();var ps=Math.sqrt(3),fv=Math.tan(30*np);Ce.transition=function(u){for(var f=Bi||++ms,h=ju(u),p=[],v,x,O=To||{time:Date.now(),ease:mo,delay:0,duration:250},S=-1,R=this.length;++S<R;){p.push(v=[]);for(var N=this[S],L=-1,B=N.length;++L<B;)(x=N[L])&&Co(x,L,h,f,O),v.push(x)}return Uu(p,h,f)},Ce.interrupt=function(u){return this.each(u==null?vs:cv(ju(u)))};var vs=cv(ju());function cv(u){return function(){var f,h,p;(f=this[u])&&(p=f[h=f.active])&&(p.timer.c=null,p.timer.t=NaN,--f.count?delete f[h]:delete this[u],f.active+=.5,p.event&&p.event.interrupt.call(this,this.__data__,p.index))}}function Uu(u,f,h){return Wt(u,Dr),u.namespace=f,u.id=h,u}var Dr=[],ms=0,Bi,To;Dr.call=Ce.call,Dr.empty=Ce.empty,Dr.node=Ce.node,Dr.size=Ce.size,t.transition=function(u,f){return u&&u.transition?Bi?u.transition(f):u:t.selection().transition(u)},t.transition.prototype=Dr,Dr.select=function(u){var f=this.id,h=this.namespace,p=[],v,x,O;u=W(u);for(var S=-1,R=this.length;++S<R;){p.push(v=[]);for(var N=this[S],L=-1,B=N.length;++L<B;)(O=N[L])&&(x=u.call(O,O.__data__,L,S))?("__data__"in O&&(x.__data__=O.__data__),Co(x,L,h,f,O[h][f]),v.push(x)):v.push(null)}return Uu(p,h,f)},Dr.selectAll=function(u){var f=this.id,h=this.namespace,p=[],v,x,O,S,R;u=ae(u);for(var N=-1,L=this.length;++N<L;)for(var B=this[N],z=-1,ie=B.length;++z<ie;)if(O=B[z]){R=O[h][f],x=u.call(O,O.__data__,z,N),p.push(v=[]);for(var oe=-1,G=x.length;++oe<G;)(S=x[oe])&&Co(S,oe,h,f,R),v.push(S)}return Uu(p,h,f)},Dr.filter=function(u){var f=[],h,p,v;typeof u!="function"&&(u=mu(u));for(var x=0,O=this.length;x<O;x++){f.push(h=[]);for(var p=this[x],S=0,R=p.length;S<R;S++)(v=p[S])&&u.call(v,v.__data__,S,x)&&h.push(v)}return Uu(f,this.namespace,this.id)},Dr.tween=function(u,f){var h=this.id,p=this.namespace;return arguments.length<2?this.node()[p][h].tween.get(u):pi(this,f==null?function(v){v[p][h].tween.remove(u)}:function(v){v[p][h].tween.set(u,f)})};function gs(u,f,h,p){var v=u.id,x=u.namespace;return pi(u,typeof h=="function"?function(O,S,R){O[x][v].tween.set(f,p(h.call(O,O.__data__,S,R)))}:(h=p(h),function(O){O[x][v].tween.set(f,h)}))}Dr.attr=function(u,f){if(arguments.length<2){for(f in u)this.attr(f,u[f]);return this}var h=u=="transform"?lc:mi,p=t.ns.qualify(u);function v(){this.removeAttribute(p)}function x(){this.removeAttributeNS(p.space,p.local)}function O(R){return R==null?v:(R+="",function(){var N=this.getAttribute(p),L;return N!==R&&(L=h(N,R),function(B){this.setAttribute(p,L(B))})})}function S(R){return R==null?x:(R+="",function(){var N=this.getAttributeNS(p.space,p.local),L;return N!==R&&(L=h(N,R),function(B){this.setAttributeNS(p.space,p.local,L(B))})})}return gs(this,"attr."+u,f,p.local?S:O)},Dr.attrTween=function(u,f){var h=t.ns.qualify(u);function p(x,O){var S=f.call(this,x,O,this.getAttribute(h));return S&&function(R){this.setAttribute(h,S(R))}}function v(x,O){var S=f.call(this,x,O,this.getAttributeNS(h.space,h.local));return S&&function(R){this.setAttributeNS(h.space,h.local,S(R))}}return this.tween("attr."+u,h.local?v:p)},Dr.style=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f="");for(h in u)this.style(h,u[h],f);return this}h=""}function v(){this.style.removeProperty(u)}function x(O){return O==null?v:(O+="",function(){var S=o(this).getComputedStyle(this,null).getPropertyValue(u),R;return S!==O&&(R=mi(S,O),function(N){this.style.setProperty(u,R(N),h)})})}return gs(this,"style."+u,f,x)},Dr.styleTween=function(u,f,h){arguments.length<3&&(h="");function p(v,x){var O=f.call(this,v,x,o(this).getComputedStyle(this,null).getPropertyValue(u));return O&&function(S){this.style.setProperty(u,O(S),h)}}return this.tween("style."+u,p)},Dr.text=function(u){return gs(this,"text",u,Dc)};function Dc(u){return u==null&&(u=""),function(){this.textContent=u}}Dr.remove=function(){var u=this.namespace;return this.each("end.transition",function(){var f;this[u].count<2&&(f=this.parentNode)&&f.removeChild(this)})},Dr.ease=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].ease:(typeof u!="function"&&(u=t.ease.apply(t,arguments)),pi(this,function(p){p[h][f].ease=u}))},Dr.delay=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].delay:pi(this,typeof u=="function"?function(p,v,x){p[h][f].delay=+u.call(p,p.__data__,v,x)}:(u=+u,function(p){p[h][f].delay=u}))},Dr.duration=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].duration:pi(this,typeof u=="function"?function(p,v,x){p[h][f].duration=Math.max(1,u.call(p,p.__data__,v,x))}:(u=Math.max(1,u),function(p){p[h][f].duration=u}))},Dr.each=function(u,f){var h=this.id,p=this.namespace;if(arguments.length<2){var v=To,x=Bi;try{Bi=h,pi(this,function(O,S,R){To=O[p][h],u.call(O,O.__data__,S,R)})}finally{To=v,Bi=x}}else pi(this,function(O){var S=O[p][h];(S.event||(S.event=t.dispatch("start","end","interrupt"))).on(u,f)});return this},Dr.transition=function(){for(var u=this.id,f=++ms,h=this.namespace,p=[],v,x,O,S,R=0,N=this.length;R<N;R++){p.push(v=[]);for(var x=this[R],L=0,B=x.length;L<B;L++)(O=x[L])&&(S=O[h][u],Co(O,L,h,f,{time:S.time,ease:S.ease,delay:S.delay+S.duration,duration:S.duration})),v.push(O)}return Uu(p,h,f)};function ju(u){return u==null?"__transition__":"__transition_"+u+"__"}function Co(u,f,h,p,v){var x=u[h]||(u[h]={active:0,count:0}),O=x[p],S,R,N,L,B;function z(G){var X=O.delay;if(R.t=X+S,X<=G)return ie(G-X);R.c=ie}function ie(G){var X=x.active,J=x[X];J&&(J.timer.c=null,J.timer.t=NaN,--x.count,delete x[X],J.event&&J.event.interrupt.call(u,u.__data__,J.index));for(var ue in x)if(+ue<p){var le=x[ue];le.timer.c=null,le.timer.t=NaN,--x.count,delete x[ue]}R.c=oe,so(function(){return R.c&&oe(G||1)&&(R.c=null,R.t=NaN),1},0,S),x.active=p,O.event&&O.event.start.call(u,u.__data__,f),B=[],O.tween.forEach(function(te,Re){(Re=Re.call(u,u.__data__,f))&&B.push(Re)}),L=O.ease,N=O.duration}function oe(G){for(var X=G/N,J=L(X),ue=B.length;ue>0;)B[--ue].call(u,J);if(X>=1)return O.event&&O.event.end.call(u,u.__data__,f),--x.count?delete x[p]:delete u[h],1}O||(S=v.time,R=so(z,0,S),O=x[p]={tween:new P,time:S,timer:R,delay:v.delay,duration:v.duration,ease:v.ease,index:f},v=null,++x.count)}t.svg.axis=function(){var u=t.scale.linear(),f=$c,h=6,p=6,v=3,x=[10],O=null,S;function R(N){N.each(function(){var L=t.select(this),B=this.__chart__||u,z=this.__chart__=u.copy(),ie=O==null?z.ticks?z.ticks.apply(z,x):z.domain():O,oe=S==null?z.tickFormat?z.tickFormat.apply(z,x):nt:S,G=L.selectAll(".tick").data(ie,z),X=G.enter().insert("g",".domain").attr("class","tick").style("opacity",ir),J=t.transition(G.exit()).style("opacity",ir).remove(),ue=t.transition(G.order()).style("opacity",1),le=Math.max(h,0)+v,te,Re=is(z),Ue=L.selectAll(".domain").data([0]),tt=(Ue.enter().append("path").attr("class","domain"),t.transition(Ue));X.append("line"),X.append("text");var je=X.select("line"),at=ue.select("line"),vt=G.select("text").text(oe),jt=X.select("text"),bt=ue.select("text"),zt=f==="top"||f==="left"?-1:1,ar,Mr,dr,rt;if(f==="bottom"||f==="top"?(te=zc,ar="x",dr="y",Mr="x2",rt="y2",vt.attr("dy",zt<0?"0em":".71em").style("text-anchor","middle"),tt.attr("d","M"+Re[0]+","+zt*p+"V0H"+Re[1]+"V"+zt*p)):(te=Uc,ar="y",dr="x",Mr="y2",rt="x2",vt.attr("dy",".32em").style("text-anchor",zt<0?"end":"start"),tt.attr("d","M"+zt*p+","+Re[0]+"H0V"+Re[1]+"H"+zt*p)),je.attr(rt,zt*h),jt.attr(dr,zt*le),at.attr(Mr,0).attr(rt,zt*h),bt.attr(ar,0).attr(dr,zt*le),z.rangeBand){var Gt=z,qt=Gt.rangeBand()/2;B=z=function(or){return Gt(or)+qt}}else B.rangeBand?B=z:J.call(te,z,B);X.call(te,B,z),ue.call(te,z,z)})}return R.scale=function(N){return arguments.length?(u=N,R):u},R.orient=function(N){return arguments.length?(f=N in Bc?N+"":$c,R):f},R.ticks=function(){return arguments.length?(x=n(arguments),R):x},R.tickValues=function(N){return arguments.length?(O=N,R):O},R.tickFormat=function(N){return arguments.length?(S=N,R):S},R.tickSize=function(N){var L=arguments.length;return L?(h=+N,p=+arguments[L-1],R):h},R.innerTickSize=function(N){return arguments.length?(h=+N,R):h},R.outerTickSize=function(N){return arguments.length?(p=+N,R):p},R.tickPadding=function(N){return arguments.length?(v=+N,R):v},R.tickSubdivide=function(){return arguments.length&&R},R};var $c="bottom",Bc={top:1,right:1,bottom:1,left:1};function zc(u,f,h){u.attr("transform",function(p){var v=f(p);return"translate("+(isFinite(v)?v:h(p))+",0)"})}function Uc(u,f,h){u.attr("transform",function(p){var v=f(p);return"translate(0,"+(isFinite(v)?v:h(p))+")"})}t.svg.brush=function(){var u=ct(L,"brushstart","brush","brushend"),f=null,h=null,p=[0,0],v=[0,0],x,O,S=!0,R=!0,N=Gu[0];function L(G){G.each(function(){var X=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",oe).on("touchstart.brush",oe),J=X.selectAll(".background").data([0]);J.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),X.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ue=X.selectAll(".resize").data(N,nt);ue.exit().remove(),ue.enter().append("g").attr("class",function(Ue){return"resize "+Ue}).style("cursor",function(Ue){return jc[Ue]}).append("rect").attr("x",function(Ue){return/[ew]$/.test(Ue)?-3:null}).attr("y",function(Ue){return/^[ns]/.test(Ue)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ue.style("display",L.empty()?"none":null);var le=t.transition(X),te=t.transition(J),Re;f&&(Re=is(f),te.attr("x",Re[0]).attr("width",Re[1]-Re[0]),z(le)),h&&(Re=is(h),te.attr("y",Re[0]).attr("height",Re[1]-Re[0]),ie(le)),B(le)})}L.event=function(G){G.each(function(){var X=u.of(this,arguments),J={x:p,y:v,i:x,j:O},ue=this.__chart__||J;this.__chart__=J,Bi?t.select(this).transition().each("start.brush",function(){x=ue.i,O=ue.j,p=ue.x,v=ue.y,X({type:"brushstart"})}).tween("brush:brush",function(){var le=On(p,J.x),te=On(v,J.y);return x=O=null,function(Re){p=J.x=le(Re),v=J.y=te(Re),X({type:"brush",mode:"resize"})}}).each("end.brush",function(){x=J.i,O=J.j,X({type:"brush",mode:"resize"}),X({type:"brushend"})}):(X({type:"brushstart"}),X({type:"brush",mode:"resize"}),X({type:"brushend"}))})};function B(G){G.selectAll(".resize").attr("transform",function(X){return"translate("+p[+/e$/.test(X)]+","+v[+/^s/.test(X)]+")"})}function z(G){G.select(".extent").attr("x",p[0]),G.selectAll(".extent,.n>rect,.s>rect").attr("width",p[1]-p[0])}function ie(G){G.select(".extent").attr("y",v[0]),G.selectAll(".extent,.e>rect,.w>rect").attr("height",v[1]-v[0])}function oe(){var G=this,X=t.select(t.event.target),J=u.of(G,arguments),ue=t.select(G),le=X.datum(),te=!/^(n|s)$/.test(le)&&f,Re=!/^(e|w)$/.test(le)&&h,Ue=X.classed("extent"),tt=Ll(G),je,at=t.mouse(G),vt,jt=t.select(o(G)).on("keydown.brush",ar).on("keyup.brush",Mr);if(t.event.changedTouches?jt.on("touchmove.brush",dr).on("touchend.brush",Gt):jt.on("mousemove.brush",dr).on("mouseup.brush",Gt),ue.interrupt().selectAll("*").interrupt(),Ue)at[0]=p[0]-at[0],at[1]=v[0]-at[1];else if(le){var bt=+/w$/.test(le),zt=+/^n/.test(le);vt=[p[1-bt]-at[0],v[1-zt]-at[1]],at[0]=p[bt],at[1]=v[zt]}else t.event.altKey&&(je=at.slice());ue.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",X.style("cursor")),J({type:"brushstart"}),dr();function ar(){t.event.keyCode==32&&(Ue||(je=null,at[0]-=p[1],at[1]-=v[1],Ue=2),st())}function Mr(){t.event.keyCode==32&&Ue==2&&(at[0]+=p[1],at[1]+=v[1],Ue=0,st())}function dr(){var qt=t.mouse(G),or=!1;vt&&(qt[0]+=vt[0],qt[1]+=vt[1]),Ue||(t.event.altKey?(je||(je=[(p[0]+p[1])/2,(v[0]+v[1])/2]),at[0]=p[+(qt[0]<je[0])],at[1]=v[+(qt[1]<je[1])]):je=null),te&&rt(qt,f,0)&&(z(ue),or=!0),Re&&rt(qt,h,1)&&(ie(ue),or=!0),or&&(B(ue),J({type:"brush",mode:Ue?"move":"resize"}))}function rt(qt,or,Sr){var $r=is(or),Vr=$r[0],cn=$r[1],xn=at[Sr],rn=Sr?v:p,kn=rn[1]-rn[0],F,H;if(Ue&&(Vr-=xn,cn-=kn+xn),F=(Sr?R:S)?Math.max(Vr,Math.min(cn,qt[Sr])):qt[Sr],Ue?H=(F+=xn)+kn:(je&&(xn=Math.max(Vr,Math.min(cn,2*je[Sr]-F))),xn<F?(H=F,F=xn):H=xn),rn[0]!=F||rn[1]!=H)return Sr?O=null:x=null,rn[0]=F,rn[1]=H,!0}function Gt(){dr(),ue.style("pointer-events","all").selectAll(".resize").style("display",L.empty()?"none":null),t.select("body").style("cursor",null),jt.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),tt(),J({type:"brushend"})}}return L.x=function(G){return arguments.length?(f=G,N=Gu[!f<<1|!h],L):f},L.y=function(G){return arguments.length?(h=G,N=Gu[!f<<1|!h],L):h},L.clamp=function(G){return arguments.length?(f&&h?(S=!!G[0],R=!!G[1]):f?S=!!G:h&&(R=!!G),L):f&&h?[S,R]:f?S:h?R:null},L.extent=function(G){var X,J,ue,le,te;return arguments.length?(f&&(X=G[0],J=G[1],h&&(X=X[0],J=J[0]),x=[X,J],f.invert&&(X=f(X),J=f(J)),J<X&&(te=X,X=J,J=te),(X!=p[0]||J!=p[1])&&(p=[X,J])),h&&(ue=G[0],le=G[1],f&&(ue=ue[1],le=le[1]),O=[ue,le],h.invert&&(ue=h(ue),le=h(le)),le<ue&&(te=ue,ue=le,le=te),(ue!=v[0]||le!=v[1])&&(v=[ue,le])),L):(f&&(x?(X=x[0],J=x[1]):(X=p[0],J=p[1],f.invert&&(X=f.invert(X),J=f.invert(J)),J<X&&(te=X,X=J,J=te))),h&&(O?(ue=O[0],le=O[1]):(ue=v[0],le=v[1],h.invert&&(ue=h.invert(ue),le=h.invert(le)),le<ue&&(te=ue,ue=le,le=te))),f&&h?[[X,ue],[J,le]]:f?[X,J]:h&&[ue,le])},L.clear=function(){return L.empty()||(p=[0,0],v=[0,0],x=O=null),L},L.empty=function(){return!!f&&p[0]==p[1]||!!h&&v[0]==v[1]},t.rebind(L,u,"on")};var jc={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Gu=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];t.text=Hf(function(u){return u.responseText}),t.json=function(u,f){return jl(u,"application/json",Gc,f)};function Gc(u){return JSON.parse(u.responseText)}t.html=function(u,f){return jl(u,"text/html",Wc,f)};function Wc(u){var f=i.createRange();return f.selectNode(i.body),f.createContextualFragment(u.responseText)}t.xml=Hf(function(u){return u.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})(fB);var d1=new Date,p1=new Date;function fn(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),l=i.ceil(a);return a-o<l-a?o:l},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,l){var s=[],c;if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a<o)||!(l>0))return s;do s.push(c=new Date(+a)),t(a,l),e(a);while(c<a&&a<o);return s},i.filter=function(a){return fn(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,l){if(o>=o)if(l<0)for(;++l<=0;)for(;t(o,-1),!a(o););else for(;--l>=0;)for(;t(o,1),!a(o););})},r&&(i.count=function(a,o){return d1.setTime(+a),p1.setTime(+o),e(d1),e(p1),Math.floor(r(d1,p1))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?function(o){return n(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}var om=fn(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});om.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?fn(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):om};const c3=om;var h3=om.range,um=1e3,cl=6e4,lm=36e5,OI=864e5,kI=6048e5,MI=fn(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*um)},function(e,t){return(t-e)/um},function(e){return e.getUTCSeconds()});const d3=MI;var p3=MI.range,II=fn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*um)},function(e,t){e.setTime(+e+t*cl)},function(e,t){return(t-e)/cl},function(e){return e.getMinutes()});const cB=II;var hB=II.range,RI=fn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*um-e.getMinutes()*cl)},function(e,t){e.setTime(+e+t*lm)},function(e,t){return(t-e)/lm},function(e){return e.getHours()});const dB=RI;var pB=RI.range,FI=fn(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*cl)/OI},function(e){return e.getDate()-1});const k2=FI;var vB=FI.range;function Tl(e){return fn(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,r){t.setDate(t.getDate()+r*7)},function(t,r){return(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*cl)/kI})}var sm=Tl(0),pd=Tl(1),PI=Tl(2),NI=Tl(3),hl=Tl(4),LI=Tl(5),DI=Tl(6),v3=sm.range,mB=pd.range,gB=PI.range,yB=NI.range,xB=hl.range,bB=LI.range,wB=DI.range,$I=fn(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});const _B=$I;var SB=$I.range,M2=fn(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});M2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:fn(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)})};const pf=M2;var EB=M2.range,BI=fn(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*cl)},function(e,t){return(t-e)/cl},function(e){return e.getUTCMinutes()});const AB=BI;var TB=BI.range,zI=fn(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*lm)},function(e,t){return(t-e)/lm},function(e){return e.getUTCHours()});const CB=zI;var OB=zI.range,UI=fn(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/OI},function(e){return e.getUTCDate()-1});const I2=UI;var kB=UI.range;function Cl(e){return fn(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCDate(t.getUTCDate()+r*7)},function(t,r){return(r-t)/kI})}var fm=Cl(0),vd=Cl(1),jI=Cl(2),GI=Cl(3),dl=Cl(4),WI=Cl(5),HI=Cl(6),m3=fm.range,MB=vd.range,IB=jI.range,RB=GI.range,FB=dl.range,PB=WI.range,NB=HI.range,VI=fn(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});const LB=VI;var DB=VI.range,R2=fn(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});R2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:fn(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})};const vf=R2;var $B=R2.range;const BB=Object.freeze(Object.defineProperty({__proto__:null,timeInterval:fn,timeMillisecond:c3,timeMilliseconds:h3,utcMillisecond:c3,utcMilliseconds:h3,timeSecond:d3,timeSeconds:p3,utcSecond:d3,utcSeconds:p3,timeMinute:cB,timeMinutes:hB,timeHour:dB,timeHours:pB,timeDay:k2,timeDays:vB,timeWeek:sm,timeWeeks:v3,timeSunday:sm,timeSundays:v3,timeMonday:pd,timeMondays:mB,timeTuesday:PI,timeTuesdays:gB,timeWednesday:NI,timeWednesdays:yB,timeThursday:hl,timeThursdays:xB,timeFriday:LI,timeFridays:bB,timeSaturday:DI,timeSaturdays:wB,timeMonth:_B,timeMonths:SB,timeYear:pf,timeYears:EB,utcMinute:AB,utcMinutes:TB,utcHour:CB,utcHours:OB,utcDay:I2,utcDays:kB,utcWeek:fm,utcWeeks:m3,utcSunday:fm,utcSundays:m3,utcMonday:vd,utcMondays:MB,utcTuesday:jI,utcTuesdays:IB,utcWednesday:GI,utcWednesdays:RB,utcThursday:dl,utcThursdays:FB,utcFriday:WI,utcFridays:PB,utcSaturday:HI,utcSaturdays:NB,utcMonth:LB,utcMonths:DB,utcYear:vf,utcYears:$B},Symbol.toStringTag,{value:"Module"}));function v1(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function m1(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ah(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function qI(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,l=e.months,s=e.shortMonths,c=oh(i),d=uh(i),y=oh(a),g=uh(a),m=oh(o),E=uh(o),M=oh(l),b=uh(l),w=oh(s),_=uh(s),C={a:De,A:We,b:_t,B:He,c:null,d:_3,e:_3,f:lz,g:yz,G:bz,H:az,I:oz,j:uz,L:YI,m:sz,M:fz,p:be,q:Ve,Q:A3,s:T3,S:cz,u:hz,U:dz,V:pz,w:vz,W:mz,x:null,X:null,y:gz,Y:xz,Z:wz,"%":E3},T={a:st,A:Qe,b:ct,B:yt,c:null,d:S3,e:S3,f:Az,g:Nz,G:Dz,H:_z,I:Sz,j:Ez,L:QI,m:Tz,M:Cz,p:Wt,q:Vt,Q:A3,s:T3,S:Oz,u:kz,U:Mz,V:Iz,w:Rz,W:Fz,x:null,X:null,y:Pz,Y:Lz,Z:$z,"%":E3},P={a:Ee,A:me,b:ke,B:Pe,c:Le,d:b3,e:b3,f:tz,g:x3,G:y3,H:w3,I:w3,j:ZB,L:ez,m:QB,M:KB,p:re,q:XB,Q:nz,s:iz,S:JB,u:WB,U:HB,V:VB,w:GB,W:qB,x:ut,X:nt,y:x3,Y:y3,Z:YB,"%":rz};C.x=D(r,C),C.X=D(n,C),C.c=D(t,C),T.x=D(r,T),T.X=D(n,T),T.c=D(t,T);function D(Ze,At){return function(Ut){var Ce=[],W=-1,ae=0,I=Ze.length,A,k,$;for(Ut instanceof Date||(Ut=new Date(+Ut));++W<I;)Ze.charCodeAt(W)===37&&(Ce.push(Ze.slice(ae,W)),(k=g3[A=Ze.charAt(++W)])!=null?A=Ze.charAt(++W):k=A==="e"?" ":"0",($=At[A])&&(A=$(Ut,k)),Ce.push(A),ae=W+1);return Ce.push(Ze.slice(ae,W)),Ce.join("")}}function Y(Ze,At){return function(Ut){var Ce=ah(1900,void 0,1),W=j(Ce,Ze,Ut+="",0),ae,I;if(W!=Ut.length)return null;if("Q"in Ce)return new Date(Ce.Q);if("s"in Ce)return new Date(Ce.s*1e3+("L"in Ce?Ce.L:0));if(At&&!("Z"in Ce)&&(Ce.Z=0),"p"in Ce&&(Ce.H=Ce.H%12+Ce.p*12),Ce.m===void 0&&(Ce.m="q"in Ce?Ce.q:0),"V"in Ce){if(Ce.V<1||Ce.V>53)return null;"w"in Ce||(Ce.w=1),"Z"in Ce?(ae=m1(ah(Ce.y,0,1)),I=ae.getUTCDay(),ae=I>4||I===0?vd.ceil(ae):vd(ae),ae=I2.offset(ae,(Ce.V-1)*7),Ce.y=ae.getUTCFullYear(),Ce.m=ae.getUTCMonth(),Ce.d=ae.getUTCDate()+(Ce.w+6)%7):(ae=v1(ah(Ce.y,0,1)),I=ae.getDay(),ae=I>4||I===0?pd.ceil(ae):pd(ae),ae=k2.offset(ae,(Ce.V-1)*7),Ce.y=ae.getFullYear(),Ce.m=ae.getMonth(),Ce.d=ae.getDate()+(Ce.w+6)%7)}else("W"in Ce||"U"in Ce)&&("w"in Ce||(Ce.w="u"in Ce?Ce.u%7:"W"in Ce?1:0),I="Z"in Ce?m1(ah(Ce.y,0,1)).getUTCDay():v1(ah(Ce.y,0,1)).getDay(),Ce.m=0,Ce.d="W"in Ce?(Ce.w+6)%7+Ce.W*7-(I+5)%7:Ce.w+Ce.U*7-(I+6)%7);return"Z"in Ce?(Ce.H+=Ce.Z/100|0,Ce.M+=Ce.Z%100,m1(Ce)):v1(Ce)}}function j(Ze,At,Ut,Ce){for(var W=0,ae=At.length,I=Ut.length,A,k;W<ae;){if(Ce>=I)return-1;if(A=At.charCodeAt(W++),A===37){if(A=At.charAt(W++),k=P[A in g3?At.charAt(W++):A],!k||(Ce=k(Ze,Ut,Ce))<0)return-1}else if(A!=Ut.charCodeAt(Ce++))return-1}return Ce}function re(Ze,At,Ut){var Ce=c.exec(At.slice(Ut));return Ce?(Ze.p=d[Ce[0].toLowerCase()],Ut+Ce[0].length):-1}function Ee(Ze,At,Ut){var Ce=m.exec(At.slice(Ut));return Ce?(Ze.w=E[Ce[0].toLowerCase()],Ut+Ce[0].length):-1}function me(Ze,At,Ut){var Ce=y.exec(At.slice(Ut));return Ce?(Ze.w=g[Ce[0].toLowerCase()],Ut+Ce[0].length):-1}function ke(Ze,At,Ut){var Ce=w.exec(At.slice(Ut));return Ce?(Ze.m=_[Ce[0].toLowerCase()],Ut+Ce[0].length):-1}function Pe(Ze,At,Ut){var Ce=M.exec(At.slice(Ut));return Ce?(Ze.m=b[Ce[0].toLowerCase()],Ut+Ce[0].length):-1}function Le(Ze,At,Ut){return j(Ze,t,At,Ut)}function ut(Ze,At,Ut){return j(Ze,r,At,Ut)}function nt(Ze,At,Ut){return j(Ze,n,At,Ut)}function De(Ze){return o[Ze.getDay()]}function We(Ze){return a[Ze.getDay()]}function _t(Ze){return s[Ze.getMonth()]}function He(Ze){return l[Ze.getMonth()]}function be(Ze){return i[+(Ze.getHours()>=12)]}function Ve(Ze){return 1+~~(Ze.getMonth()/3)}function st(Ze){return o[Ze.getUTCDay()]}function Qe(Ze){return a[Ze.getUTCDay()]}function ct(Ze){return s[Ze.getUTCMonth()]}function yt(Ze){return l[Ze.getUTCMonth()]}function Wt(Ze){return i[+(Ze.getUTCHours()>=12)]}function Vt(Ze){return 1+~~(Ze.getUTCMonth()/3)}return{format:function(Ze){var At=D(Ze+="",C);return At.toString=function(){return Ze},At},parse:function(Ze){var At=Y(Ze+="",!1);return At.toString=function(){return Ze},At},utcFormat:function(Ze){var At=D(Ze+="",T);return At.toString=function(){return Ze},At},utcParse:function(Ze){var At=Y(Ze+="",!0);return At.toString=function(){return Ze},At}}}var g3={"-":"",_:" ",0:"0"},gn=/^\s*\d+/,zB=/^%/,UB=/[\\^$*+?|[\]().{}]/g;function yr(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function jB(e){return e.replace(UB,"\\$&")}function oh(e){return new RegExp("^(?:"+e.map(jB).join("|")+")","i")}function uh(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function GB(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function WB(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function HB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function VB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function qB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function y3(e,t,r){var n=gn.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function x3(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function YB(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function XB(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function QB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function b3(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function ZB(e,t,r){var n=gn.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function w3(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function KB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function JB(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ez(e,t,r){var n=gn.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function tz(e,t,r){var n=gn.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function rz(e,t,r){var n=zB.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function nz(e,t,r){var n=gn.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function iz(e,t,r){var n=gn.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function _3(e,t){return yr(e.getDate(),t,2)}function az(e,t){return yr(e.getHours(),t,2)}function oz(e,t){return yr(e.getHours()%12||12,t,2)}function uz(e,t){return yr(1+k2.count(pf(e),e),t,3)}function YI(e,t){return yr(e.getMilliseconds(),t,3)}function lz(e,t){return YI(e,t)+"000"}function sz(e,t){return yr(e.getMonth()+1,t,2)}function fz(e,t){return yr(e.getMinutes(),t,2)}function cz(e,t){return yr(e.getSeconds(),t,2)}function hz(e){var t=e.getDay();return t===0?7:t}function dz(e,t){return yr(sm.count(pf(e)-1,e),t,2)}function XI(e){var t=e.getDay();return t>=4||t===0?hl(e):hl.ceil(e)}function pz(e,t){return e=XI(e),yr(hl.count(pf(e),e)+(pf(e).getDay()===4),t,2)}function vz(e){return e.getDay()}function mz(e,t){return yr(pd.count(pf(e)-1,e),t,2)}function gz(e,t){return yr(e.getFullYear()%100,t,2)}function yz(e,t){return e=XI(e),yr(e.getFullYear()%100,t,2)}function xz(e,t){return yr(e.getFullYear()%1e4,t,4)}function bz(e,t){var r=e.getDay();return e=r>=4||r===0?hl(e):hl.ceil(e),yr(e.getFullYear()%1e4,t,4)}function wz(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yr(t/60|0,"0",2)+yr(t%60,"0",2)}function S3(e,t){return yr(e.getUTCDate(),t,2)}function _z(e,t){return yr(e.getUTCHours(),t,2)}function Sz(e,t){return yr(e.getUTCHours()%12||12,t,2)}function Ez(e,t){return yr(1+I2.count(vf(e),e),t,3)}function QI(e,t){return yr(e.getUTCMilliseconds(),t,3)}function Az(e,t){return QI(e,t)+"000"}function Tz(e,t){return yr(e.getUTCMonth()+1,t,2)}function Cz(e,t){return yr(e.getUTCMinutes(),t,2)}function Oz(e,t){return yr(e.getUTCSeconds(),t,2)}function kz(e){var t=e.getUTCDay();return t===0?7:t}function Mz(e,t){return yr(fm.count(vf(e)-1,e),t,2)}function ZI(e){var t=e.getUTCDay();return t>=4||t===0?dl(e):dl.ceil(e)}function Iz(e,t){return e=ZI(e),yr(dl.count(vf(e),e)+(vf(e).getUTCDay()===4),t,2)}function Rz(e){return e.getUTCDay()}function Fz(e,t){return yr(vd.count(vf(e)-1,e),t,2)}function Pz(e,t){return yr(e.getUTCFullYear()%100,t,2)}function Nz(e,t){return e=ZI(e),yr(e.getUTCFullYear()%100,t,2)}function Lz(e,t){return yr(e.getUTCFullYear()%1e4,t,4)}function Dz(e,t){var r=e.getUTCDay();return e=r>=4||r===0?dl(e):dl.ceil(e),yr(e.getUTCFullYear()%1e4,t,4)}function $z(){return"+0000"}function E3(){return"%"}function A3(e){return+e}function T3(e){return Math.floor(+e/1e3)}var ws,KI,JI,F2,P2;eR({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 eR(e){return ws=qI(e),KI=ws.format,JI=ws.parse,F2=ws.utcFormat,P2=ws.utcParse,ws}var tR="%Y-%m-%dT%H:%M:%S.%LZ";function Bz(e){return e.toISOString()}var zz=Date.prototype.toISOString?Bz:F2(tR);const Uz=zz;function jz(e){var t=new Date(e);return isNaN(t)?null:t}var Gz=+new Date("2000-01-01T00:00:00.000Z")?jz:P2(tR);const Wz=Gz,Hz=Object.freeze(Object.defineProperty({__proto__:null,timeFormatDefaultLocale:eR,get timeFormat(){return KI},get timeParse(){return JI},get utcFormat(){return F2},get utcParse(){return P2},timeFormatLocale:qI,isoFormat:Uz,isoParse:Wz},Symbol.toStringTag,{value:"Module"})),kte=xl(Hz);function Vz(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function cm(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function mf(e){return e=cm(Math.abs(e)),e?e[1]:NaN}function qz(e,t){return function(r,n){for(var i=r.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>n&&(l=Math.max(1,n-s)),a.push(r.substring(i-=l,i+l)),!((s+=l+1)>n));)l=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Yz(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Xz=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function hm(e){if(!(t=Xz.exec(e)))throw new Error("invalid format: "+e);var t;return new Hm({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}hm.prototype=Hm.prototype;function Hm(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Hm.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 Qz(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var rR;function Zz(e,t){var r=cm(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(rR=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+cm(e,Math.max(0,t+a-1))[0]}function C3(e,t){var r=cm(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const O3={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:Vz,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return C3(e*100,t)},r:C3,s:Zz,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function k3(e){return e}var M3=Array.prototype.map,I3=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function nR(e){var t=e.grouping===void 0||e.thousands===void 0?k3:qz(M3.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?k3:Yz(M3.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"-":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function c(y){y=hm(y);var g=y.fill,m=y.align,E=y.sign,M=y.symbol,b=y.zero,w=y.width,_=y.comma,C=y.precision,T=y.trim,P=y.type;P==="n"?(_=!0,P="g"):O3[P]||(C===void 0&&(C=12),T=!0,P="g"),(b||g==="0"&&m==="=")&&(b=!0,g="0",m="=");var D=M==="$"?r:M==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",Y=M==="$"?n:/[%p]/.test(P)?o:"",j=O3[P],re=/[defgprs%]/.test(P);C=C===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function Ee(me){var ke=D,Pe=Y,Le,ut,nt;if(P==="c")Pe=j(me)+Pe,me="";else{me=+me;var De=me<0||1/me<0;if(me=isNaN(me)?s:j(Math.abs(me),C),T&&(me=Qz(me)),De&&+me==0&&E!=="+"&&(De=!1),ke=(De?E==="("?E:l:E==="-"||E==="("?"":E)+ke,Pe=(P==="s"?I3[8+rR/3]:"")+Pe+(De&&E==="("?")":""),re){for(Le=-1,ut=me.length;++Le<ut;)if(nt=me.charCodeAt(Le),48>nt||nt>57){Pe=(nt===46?i+me.slice(Le+1):me.slice(Le))+Pe,me=me.slice(0,Le);break}}}_&&!b&&(me=t(me,1/0));var We=ke.length+me.length+Pe.length,_t=We<w?new Array(w-We+1).join(g):"";switch(_&&b&&(me=t(_t+me,_t.length?w-Pe.length:1/0),_t=""),m){case"<":me=ke+me+Pe+_t;break;case"=":me=ke+_t+me+Pe;break;case"^":me=_t.slice(0,We=_t.length>>1)+ke+me+Pe+_t.slice(We);break;default:me=_t+ke+me+Pe;break}return a(me)}return Ee.toString=function(){return y+""},Ee}function d(y,g){var m=c((y=hm(y),y.type="f",y)),E=Math.max(-8,Math.min(8,Math.floor(mf(g)/3)))*3,M=Math.pow(10,-E),b=I3[8+E/3];return function(w){return m(M*w)+b}}return{format:c,formatPrefix:d}}var Cv,iR,aR;oR({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function oR(e){return Cv=nR(e),iR=Cv.format,aR=Cv.formatPrefix,Cv}function Kz(e){return Math.max(0,-mf(Math.abs(e)))}function Jz(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(mf(t)/3)))*3-mf(Math.abs(e)))}function e7(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,mf(t)-mf(e))+1}const t7=Object.freeze(Object.defineProperty({__proto__:null,formatDefaultLocale:oR,get format(){return iR},get formatPrefix(){return aR},formatLocale:nR,formatSpecifier:hm,FormatSpecifier:Hm,precisionFixed:Kz,precisionPrefix:Jz,precisionRound:e7},Symbol.toStringTag,{value:"Module"})),Mte=xl(t7);var r7=function(e){for(var t=e.length,r,n=0;n<t;n++)if(r=e.charCodeAt(n),(r<9||r>13)&&r!==32&&r!==133&&r!==160&&r!==5760&&r!==6158&&(r<8192||r>8205)&&r!==8232&&r!==8233&&r!==8239&&r!==8287&&r!==8288&&r!==12288&&r!==65279)return!1;return!0},n7=r7,Ite=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&n7(r))return!1}else if(t!=="number")return!1;return e-e<1},i7={exports:{}};(function(e){(function(t){var r=/^\s+/,n=/\s+$/,i=0,a=t.round,o=t.min,l=t.max,s=t.random;function c(W,ae){if(W=W||"",ae=ae||{},W instanceof c)return W;if(!(this instanceof c))return new c(W,ae);var I=d(W);this._originalInput=W,this._r=I.r,this._g=I.g,this._b=I.b,this._a=I.a,this._roundA=a(100*this._a)/100,this._format=ae.format||I.format,this._gradientType=ae.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=I.ok,this._tc_id=i++}c.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 W=this.toRgb();return(W.r*299+W.g*587+W.b*114)/1e3},getLuminance:function(){var W=this.toRgb(),ae,I,A,k,$,fe;return ae=W.r/255,I=W.g/255,A=W.b/255,ae<=.03928?k=ae/12.92:k=t.pow((ae+.055)/1.055,2.4),I<=.03928?$=I/12.92:$=t.pow((I+.055)/1.055,2.4),A<=.03928?fe=A/12.92:fe=t.pow((A+.055)/1.055,2.4),.2126*k+.7152*$+.0722*fe},setAlpha:function(W){return this._a=_t(W),this._roundA=a(100*this._a)/100,this},toHsv:function(){var W=E(this._r,this._g,this._b);return{h:W.h*360,s:W.s,v:W.v,a:this._a}},toHsvString:function(){var W=E(this._r,this._g,this._b),ae=a(W.h*360),I=a(W.s*100),A=a(W.v*100);return this._a==1?"hsv("+ae+", "+I+"%, "+A+"%)":"hsva("+ae+", "+I+"%, "+A+"%, "+this._roundA+")"},toHsl:function(){var W=g(this._r,this._g,this._b);return{h:W.h*360,s:W.s,l:W.l,a:this._a}},toHslString:function(){var W=g(this._r,this._g,this._b),ae=a(W.h*360),I=a(W.s*100),A=a(W.l*100);return this._a==1?"hsl("+ae+", "+I+"%, "+A+"%)":"hsla("+ae+", "+I+"%, "+A+"%, "+this._roundA+")"},toHex:function(W){return b(this._r,this._g,this._b,W)},toHexString:function(W){return"#"+this.toHex(W)},toHex8:function(W){return w(this._r,this._g,this._b,this._a,W)},toHex8String:function(W){return"#"+this.toHex8(W)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(He(this._r,255)*100)+"%",g:a(He(this._g,255)*100)+"%",b:a(He(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(He(this._r,255)*100)+"%, "+a(He(this._g,255)*100)+"%, "+a(He(this._b,255)*100)+"%)":"rgba("+a(He(this._r,255)*100)+"%, "+a(He(this._g,255)*100)+"%, "+a(He(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:De[b(this._r,this._g,this._b,!0)]||!1},toFilter:function(W){var ae="#"+_(this._r,this._g,this._b,this._a),I=ae,A=this._gradientType?"GradientType = 1, ":"";if(W){var k=c(W);I="#"+_(k._r,k._g,k._b,k._a)}return"progid:DXImageTransform.Microsoft.gradient("+A+"startColorstr="+ae+",endColorstr="+I+")"},toString:function(W){var ae=!!W;W=W||this._format;var I=!1,A=this._a<1&&this._a>=0,k=!ae&&A&&(W==="hex"||W==="hex6"||W==="hex3"||W==="hex4"||W==="hex8"||W==="name");return k?W==="name"&&this._a===0?this.toName():this.toRgbString():(W==="rgb"&&(I=this.toRgbString()),W==="prgb"&&(I=this.toPercentageRgbString()),(W==="hex"||W==="hex6")&&(I=this.toHexString()),W==="hex3"&&(I=this.toHexString(!0)),W==="hex4"&&(I=this.toHex8String(!0)),W==="hex8"&&(I=this.toHex8String()),W==="name"&&(I=this.toName()),W==="hsl"&&(I=this.toHslString()),W==="hsv"&&(I=this.toHsvString()),I||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(W,ae){var I=W.apply(null,[this].concat([].slice.call(ae)));return this._r=I._r,this._g=I._g,this._b=I._b,this.setAlpha(I._a),this},lighten:function(){return this._applyModification(D,arguments)},brighten:function(){return this._applyModification(Y,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(T,arguments)},greyscale:function(){return this._applyModification(P,arguments)},spin:function(){return this._applyModification(re,arguments)},_applyCombination:function(W,ae){return W.apply(null,[this].concat([].slice.call(ae)))},analogous:function(){return this._applyCombination(Le,arguments)},complement:function(){return this._applyCombination(Ee,arguments)},monochromatic:function(){return this._applyCombination(ut,arguments)},splitcomplement:function(){return this._applyCombination(Pe,arguments)},triad:function(){return this._applyCombination(me,arguments)},tetrad:function(){return this._applyCombination(ke,arguments)}},c.fromRatio=function(W,ae){if(typeof W=="object"){var I={};for(var A in W)W.hasOwnProperty(A)&&(A==="a"?I[A]=W[A]:I[A]=yt(W[A]));W=I}return c(W,ae)};function d(W){var ae={r:0,g:0,b:0},I=1,A=null,k=null,$=null,fe=!1,Fe=!1;return typeof W=="string"&&(W=Ut(W)),typeof W=="object"&&(At(W.r)&&At(W.g)&&At(W.b)?(ae=y(W.r,W.g,W.b),fe=!0,Fe=String(W.r).substr(-1)==="%"?"prgb":"rgb"):At(W.h)&&At(W.s)&&At(W.v)?(A=yt(W.s),k=yt(W.v),ae=M(W.h,A,k),fe=!0,Fe="hsv"):At(W.h)&&At(W.s)&&At(W.l)&&(A=yt(W.s),$=yt(W.l),ae=m(W.h,A,$),fe=!0,Fe="hsl"),W.hasOwnProperty("a")&&(I=W.a)),I=_t(I),{ok:fe,format:W.format||Fe,r:o(255,l(ae.r,0)),g:o(255,l(ae.g,0)),b:o(255,l(ae.b,0)),a:I}}function y(W,ae,I){return{r:He(W,255)*255,g:He(ae,255)*255,b:He(I,255)*255}}function g(W,ae,I){W=He(W,255),ae=He(ae,255),I=He(I,255);var A=l(W,ae,I),k=o(W,ae,I),$,fe,Fe=(A+k)/2;if(A==k)$=fe=0;else{var ze=A-k;switch(fe=Fe>.5?ze/(2-A-k):ze/(A+k),A){case W:$=(ae-I)/ze+(ae<I?6:0);break;case ae:$=(I-W)/ze+2;break;case I:$=(W-ae)/ze+4;break}$/=6}return{h:$,s:fe,l:Fe}}function m(W,ae,I){var A,k,$;W=He(W,360),ae=He(ae,100),I=He(I,100);function fe(Qt,sr,nr){return nr<0&&(nr+=1),nr>1&&(nr-=1),nr<1/6?Qt+(sr-Qt)*6*nr:nr<1/2?sr:nr<2/3?Qt+(sr-Qt)*(2/3-nr)*6:Qt}if(ae===0)A=k=$=I;else{var Fe=I<.5?I*(1+ae):I+ae-I*ae,ze=2*I-Fe;A=fe(ze,Fe,W+1/3),k=fe(ze,Fe,W),$=fe(ze,Fe,W-1/3)}return{r:A*255,g:k*255,b:$*255}}function E(W,ae,I){W=He(W,255),ae=He(ae,255),I=He(I,255);var A=l(W,ae,I),k=o(W,ae,I),$,fe,Fe=A,ze=A-k;if(fe=A===0?0:ze/A,A==k)$=0;else{switch(A){case W:$=(ae-I)/ze+(ae<I?6:0);break;case ae:$=(I-W)/ze+2;break;case I:$=(W-ae)/ze+4;break}$/=6}return{h:$,s:fe,v:Fe}}function M(W,ae,I){W=He(W,360)*6,ae=He(ae,100),I=He(I,100);var A=t.floor(W),k=W-A,$=I*(1-ae),fe=I*(1-k*ae),Fe=I*(1-(1-k)*ae),ze=A%6,Qt=[I,fe,$,$,Fe,I][ze],sr=[Fe,I,I,fe,$,$][ze],nr=[$,$,Fe,I,I,fe][ze];return{r:Qt*255,g:sr*255,b:nr*255}}function b(W,ae,I,A){var k=[ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16))];return A&&k[0].charAt(0)==k[0].charAt(1)&&k[1].charAt(0)==k[1].charAt(1)&&k[2].charAt(0)==k[2].charAt(1)?k[0].charAt(0)+k[1].charAt(0)+k[2].charAt(0):k.join("")}function w(W,ae,I,A,k){var $=[ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16)),ct(Wt(A))];return k&&$[0].charAt(0)==$[0].charAt(1)&&$[1].charAt(0)==$[1].charAt(1)&&$[2].charAt(0)==$[2].charAt(1)&&$[3].charAt(0)==$[3].charAt(1)?$[0].charAt(0)+$[1].charAt(0)+$[2].charAt(0)+$[3].charAt(0):$.join("")}function _(W,ae,I,A){var k=[ct(Wt(A)),ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16))];return k.join("")}c.equals=function(W,ae){return!W||!ae?!1:c(W).toRgbString()==c(ae).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})};function C(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.s-=ae/100,I.s=be(I.s),c(I)}function T(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.s+=ae/100,I.s=be(I.s),c(I)}function P(W){return c(W).desaturate(100)}function D(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.l+=ae/100,I.l=be(I.l),c(I)}function Y(W,ae){ae=ae===0?0:ae||10;var I=c(W).toRgb();return I.r=l(0,o(255,I.r-a(255*-(ae/100)))),I.g=l(0,o(255,I.g-a(255*-(ae/100)))),I.b=l(0,o(255,I.b-a(255*-(ae/100)))),c(I)}function j(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.l-=ae/100,I.l=be(I.l),c(I)}function re(W,ae){var I=c(W).toHsl(),A=(I.h+ae)%360;return I.h=A<0?360+A:A,c(I)}function Ee(W){var ae=c(W).toHsl();return ae.h=(ae.h+180)%360,c(ae)}function me(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+120)%360,s:ae.s,l:ae.l}),c({h:(I+240)%360,s:ae.s,l:ae.l})]}function ke(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+90)%360,s:ae.s,l:ae.l}),c({h:(I+180)%360,s:ae.s,l:ae.l}),c({h:(I+270)%360,s:ae.s,l:ae.l})]}function Pe(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+72)%360,s:ae.s,l:ae.l}),c({h:(I+216)%360,s:ae.s,l:ae.l})]}function Le(W,ae,I){ae=ae||6,I=I||30;var A=c(W).toHsl(),k=360/I,$=[c(W)];for(A.h=(A.h-(k*ae>>1)+720)%360;--ae;)A.h=(A.h+k)%360,$.push(c(A));return $}function ut(W,ae){ae=ae||6;for(var I=c(W).toHsv(),A=I.h,k=I.s,$=I.v,fe=[],Fe=1/ae;ae--;)fe.push(c({h:A,s:k,v:$})),$=($+Fe)%1;return fe}c.mix=function(W,ae,I){I=I===0?0:I||50;var A=c(W).toRgb(),k=c(ae).toRgb(),$=I/100,fe={r:(k.r-A.r)*$+A.r,g:(k.g-A.g)*$+A.g,b:(k.b-A.b)*$+A.b,a:(k.a-A.a)*$+A.a};return c(fe)},c.readability=function(W,ae){var I=c(W),A=c(ae);return(t.max(I.getLuminance(),A.getLuminance())+.05)/(t.min(I.getLuminance(),A.getLuminance())+.05)},c.isReadable=function(W,ae,I){var A=c.readability(W,ae),k,$;switch($=!1,k=Ce(I),k.level+k.size){case"AAsmall":case"AAAlarge":$=A>=4.5;break;case"AAlarge":$=A>=3;break;case"AAAsmall":$=A>=7;break}return $},c.mostReadable=function(W,ae,I){var A=null,k=0,$,fe,Fe,ze;I=I||{},fe=I.includeFallbackColors,Fe=I.level,ze=I.size;for(var Qt=0;Qt<ae.length;Qt++)$=c.readability(W,ae[Qt]),$>k&&(k=$,A=c(ae[Qt]));return c.isReadable(W,A,{level:Fe,size:ze})||!fe?A:(I.includeFallbackColors=!1,c.mostReadable(W,["#fff","#000"],I))};var nt=c.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"},De=c.hexNames=We(nt);function We(W){var ae={};for(var I in W)W.hasOwnProperty(I)&&(ae[W[I]]=I);return ae}function _t(W){return W=parseFloat(W),(isNaN(W)||W<0||W>1)&&(W=1),W}function He(W,ae){st(W)&&(W="100%");var I=Qe(W);return W=o(ae,l(0,parseFloat(W))),I&&(W=parseInt(W*ae,10)/100),t.abs(W-ae)<1e-6?1:W%ae/parseFloat(ae)}function be(W){return o(1,l(0,W))}function Ve(W){return parseInt(W,16)}function st(W){return typeof W=="string"&&W.indexOf(".")!=-1&&parseFloat(W)===1}function Qe(W){return typeof W=="string"&&W.indexOf("%")!=-1}function ct(W){return W.length==1?"0"+W:""+W}function yt(W){return W<=1&&(W=W*100+"%"),W}function Wt(W){return t.round(parseFloat(W)*255).toString(16)}function Vt(W){return Ve(W)/255}var Ze=function(){var W="[-\\+]?\\d+%?",ae="[-\\+]?\\d*\\.\\d+%?",I="(?:"+ae+")|(?:"+W+")",A="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",k="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?";return{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+A),rgba:new RegExp("rgba"+k),hsl:new RegExp("hsl"+A),hsla:new RegExp("hsla"+k),hsv:new RegExp("hsv"+A),hsva:new RegExp("hsva"+k),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 At(W){return!!Ze.CSS_UNIT.exec(W)}function Ut(W){W=W.replace(r,"").replace(n,"").toLowerCase();var ae=!1;if(nt[W])W=nt[W],ae=!0;else if(W=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var I;return(I=Ze.rgb.exec(W))?{r:I[1],g:I[2],b:I[3]}:(I=Ze.rgba.exec(W))?{r:I[1],g:I[2],b:I[3],a:I[4]}:(I=Ze.hsl.exec(W))?{h:I[1],s:I[2],l:I[3]}:(I=Ze.hsla.exec(W))?{h:I[1],s:I[2],l:I[3],a:I[4]}:(I=Ze.hsv.exec(W))?{h:I[1],s:I[2],v:I[3]}:(I=Ze.hsva.exec(W))?{h:I[1],s:I[2],v:I[3],a:I[4]}:(I=Ze.hex8.exec(W))?{r:Ve(I[1]),g:Ve(I[2]),b:Ve(I[3]),a:Vt(I[4]),format:ae?"name":"hex8"}:(I=Ze.hex6.exec(W))?{r:Ve(I[1]),g:Ve(I[2]),b:Ve(I[3]),format:ae?"name":"hex"}:(I=Ze.hex4.exec(W))?{r:Ve(I[1]+""+I[1]),g:Ve(I[2]+""+I[2]),b:Ve(I[3]+""+I[3]),a:Vt(I[4]+""+I[4]),format:ae?"name":"hex8"}:(I=Ze.hex3.exec(W))?{r:Ve(I[1]+""+I[1]),g:Ve(I[2]+""+I[2]),b:Ve(I[3]+""+I[3]),format:ae?"name":"hex"}:!1}function Ce(W){var ae,I;return W=W||{level:"AA",size:"small"},ae=(W.level||"AA").toUpperCase(),I=(W.size||"small").toLowerCase(),ae!=="AA"&&ae!=="AAA"&&(ae="AA"),I!=="small"&&I!=="large"&&(I="small"),{level:ae,size:I}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(i7);var a7=o7;function o7(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var u7=l7;function l7(e){var t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}var s7=f7;function f7(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}var uR=c7;function c7(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var h7=d7;function d7(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],a=t[6],o=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=r,e[6]=t[9],e[7]=t[13],e[8]=n,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}var p7=v7;function v7(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],s=t[6],c=t[7],d=t[8],y=t[9],g=t[10],m=t[11],E=t[12],M=t[13],b=t[14],w=t[15],_=r*l-n*o,C=r*s-i*o,T=r*c-a*o,P=n*s-i*l,D=n*c-a*l,Y=i*c-a*s,j=d*M-y*E,re=d*b-g*E,Ee=d*w-m*E,me=y*b-g*M,ke=y*w-m*M,Pe=g*w-m*b,Le=_*Pe-C*ke+T*me+P*Ee-D*re+Y*j;return Le?(Le=1/Le,e[0]=(l*Pe-s*ke+c*me)*Le,e[1]=(i*ke-n*Pe-a*me)*Le,e[2]=(M*Y-b*D+w*P)*Le,e[3]=(g*D-y*Y-m*P)*Le,e[4]=(s*Ee-o*Pe-c*re)*Le,e[5]=(r*Pe-i*Ee+a*re)*Le,e[6]=(b*T-E*Y-w*C)*Le,e[7]=(d*Y-g*T+m*C)*Le,e[8]=(o*ke-l*Ee+c*j)*Le,e[9]=(n*Ee-r*ke-a*j)*Le,e[10]=(E*D-M*T+w*_)*Le,e[11]=(y*T-d*D-m*_)*Le,e[12]=(l*re-o*me-s*j)*Le,e[13]=(r*me-n*re+i*j)*Le,e[14]=(M*C-E*P-b*_)*Le,e[15]=(d*P-y*C+g*_)*Le,e):null}var m7=g7;function g7(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],s=t[6],c=t[7],d=t[8],y=t[9],g=t[10],m=t[11],E=t[12],M=t[13],b=t[14],w=t[15];return e[0]=l*(g*w-m*b)-y*(s*w-c*b)+M*(s*m-c*g),e[1]=-(n*(g*w-m*b)-y*(i*w-a*b)+M*(i*m-a*g)),e[2]=n*(s*w-c*b)-l*(i*w-a*b)+M*(i*c-a*s),e[3]=-(n*(s*m-c*g)-l*(i*m-a*g)+y*(i*c-a*s)),e[4]=-(o*(g*w-m*b)-d*(s*w-c*b)+E*(s*m-c*g)),e[5]=r*(g*w-m*b)-d*(i*w-a*b)+E*(i*m-a*g),e[6]=-(r*(s*w-c*b)-o*(i*w-a*b)+E*(i*c-a*s)),e[7]=r*(s*m-c*g)-o*(i*m-a*g)+d*(i*c-a*s),e[8]=o*(y*w-m*M)-d*(l*w-c*M)+E*(l*m-c*y),e[9]=-(r*(y*w-m*M)-d*(n*w-a*M)+E*(n*m-a*y)),e[10]=r*(l*w-c*M)-o*(n*w-a*M)+E*(n*c-a*l),e[11]=-(r*(l*m-c*y)-o*(n*m-a*y)+d*(n*c-a*l)),e[12]=-(o*(y*b-g*M)-d*(l*b-s*M)+E*(l*g-s*y)),e[13]=r*(y*b-g*M)-d*(n*b-i*M)+E*(n*g-i*y),e[14]=-(r*(l*b-s*M)-o*(n*b-i*M)+E*(n*s-i*l)),e[15]=r*(l*g-s*y)-o*(n*g-i*y)+d*(n*s-i*l),e}var y7=x7;function x7(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],l=e[6],s=e[7],c=e[8],d=e[9],y=e[10],g=e[11],m=e[12],E=e[13],M=e[14],b=e[15],w=t*o-r*a,_=t*l-n*a,C=t*s-i*a,T=r*l-n*o,P=r*s-i*o,D=n*s-i*l,Y=c*E-d*m,j=c*M-y*m,re=c*b-g*m,Ee=d*M-y*E,me=d*b-g*E,ke=y*b-g*M;return w*ke-_*me+C*Ee+T*re-P*j+D*Y}var b7=w7;function w7(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],s=t[5],c=t[6],d=t[7],y=t[8],g=t[9],m=t[10],E=t[11],M=t[12],b=t[13],w=t[14],_=t[15],C=r[0],T=r[1],P=r[2],D=r[3];return e[0]=C*n+T*l+P*y+D*M,e[1]=C*i+T*s+P*g+D*b,e[2]=C*a+T*c+P*m+D*w,e[3]=C*o+T*d+P*E+D*_,C=r[4],T=r[5],P=r[6],D=r[7],e[4]=C*n+T*l+P*y+D*M,e[5]=C*i+T*s+P*g+D*b,e[6]=C*a+T*c+P*m+D*w,e[7]=C*o+T*d+P*E+D*_,C=r[8],T=r[9],P=r[10],D=r[11],e[8]=C*n+T*l+P*y+D*M,e[9]=C*i+T*s+P*g+D*b,e[10]=C*a+T*c+P*m+D*w,e[11]=C*o+T*d+P*E+D*_,C=r[12],T=r[13],P=r[14],D=r[15],e[12]=C*n+T*l+P*y+D*M,e[13]=C*i+T*s+P*g+D*b,e[14]=C*a+T*c+P*m+D*w,e[15]=C*o+T*d+P*E+D*_,e}var _7=S7;function S7(e,t,r){var n=r[0],i=r[1],a=r[2],o,l,s,c,d,y,g,m,E,M,b,w;return t===e?(e[12]=t[0]*n+t[4]*i+t[8]*a+t[12],e[13]=t[1]*n+t[5]*i+t[9]*a+t[13],e[14]=t[2]*n+t[6]*i+t[10]*a+t[14],e[15]=t[3]*n+t[7]*i+t[11]*a+t[15]):(o=t[0],l=t[1],s=t[2],c=t[3],d=t[4],y=t[5],g=t[6],m=t[7],E=t[8],M=t[9],b=t[10],w=t[11],e[0]=o,e[1]=l,e[2]=s,e[3]=c,e[4]=d,e[5]=y,e[6]=g,e[7]=m,e[8]=E,e[9]=M,e[10]=b,e[11]=w,e[12]=o*n+d*i+E*a+t[12],e[13]=l*n+y*i+M*a+t[13],e[14]=s*n+g*i+b*a+t[14],e[15]=c*n+m*i+w*a+t[15]),e}var E7=A7;function A7(e,t,r){var n=r[0],i=r[1],a=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}var T7=C7;function C7(e,t,r,n){var i=n[0],a=n[1],o=n[2],l=Math.sqrt(i*i+a*a+o*o),s,c,d,y,g,m,E,M,b,w,_,C,T,P,D,Y,j,re,Ee,me,ke,Pe,Le,ut;return Math.abs(l)<1e-6?null:(l=1/l,i*=l,a*=l,o*=l,s=Math.sin(r),c=Math.cos(r),d=1-c,y=t[0],g=t[1],m=t[2],E=t[3],M=t[4],b=t[5],w=t[6],_=t[7],C=t[8],T=t[9],P=t[10],D=t[11],Y=i*i*d+c,j=a*i*d+o*s,re=o*i*d-a*s,Ee=i*a*d-o*s,me=a*a*d+c,ke=o*a*d+i*s,Pe=i*o*d+a*s,Le=a*o*d-i*s,ut=o*o*d+c,e[0]=y*Y+M*j+C*re,e[1]=g*Y+b*j+T*re,e[2]=m*Y+w*j+P*re,e[3]=E*Y+_*j+D*re,e[4]=y*Ee+M*me+C*ke,e[5]=g*Ee+b*me+T*ke,e[6]=m*Ee+w*me+P*ke,e[7]=E*Ee+_*me+D*ke,e[8]=y*Pe+M*Le+C*ut,e[9]=g*Pe+b*Le+T*ut,e[10]=m*Pe+w*Le+P*ut,e[11]=E*Pe+_*Le+D*ut,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}var O7=k7;function k7(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],l=t[6],s=t[7],c=t[8],d=t[9],y=t[10],g=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=a*i+c*n,e[5]=o*i+d*n,e[6]=l*i+y*n,e[7]=s*i+g*n,e[8]=c*i-a*n,e[9]=d*i-o*n,e[10]=y*i-l*n,e[11]=g*i-s*n,e}var M7=I7;function I7(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],s=t[3],c=t[8],d=t[9],y=t[10],g=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i-c*n,e[1]=o*i-d*n,e[2]=l*i-y*n,e[3]=s*i-g*n,e[8]=a*n+c*i,e[9]=o*n+d*i,e[10]=l*n+y*i,e[11]=s*n+g*i,e}var R7=F7;function F7(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],s=t[3],c=t[4],d=t[5],y=t[6],g=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i+c*n,e[1]=o*i+d*n,e[2]=l*i+y*n,e[3]=s*i+g*n,e[4]=c*i-a*n,e[5]=d*i-o*n,e[6]=y*i-l*n,e[7]=g*i-s*n,e}var P7=N7;function N7(e,t,r){var n,i,a,o=r[0],l=r[1],s=r[2],c=Math.sqrt(o*o+l*l+s*s);return Math.abs(c)<1e-6?null:(c=1/c,o*=c,l*=c,s*=c,n=Math.sin(t),i=Math.cos(t),a=1-i,e[0]=o*o*a+i,e[1]=l*o*a+s*n,e[2]=s*o*a-l*n,e[3]=0,e[4]=o*l*a-s*n,e[5]=l*l*a+i,e[6]=s*l*a+o*n,e[7]=0,e[8]=o*s*a+l*n,e[9]=l*s*a-o*n,e[10]=s*s*a+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}var L7=D7;function D7(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=n+n,s=i+i,c=a+a,d=n*l,y=n*s,g=n*c,m=i*s,E=i*c,M=a*c,b=o*l,w=o*s,_=o*c;return e[0]=1-(m+M),e[1]=y+_,e[2]=g-w,e[3]=0,e[4]=y-_,e[5]=1-(d+M),e[6]=E+b,e[7]=0,e[8]=g+w,e[9]=E-b,e[10]=1-(d+m),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}var $7=B7;function B7(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var z7=U7;function U7(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}var j7=G7;function G7(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=n,e[6]=r,e[7]=0,e[8]=0,e[9]=-r,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var W7=H7;function H7(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=0,e[2]=-r,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=r,e[9]=0,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var V7=q7;function q7(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[2]=0,e[3]=0,e[4]=-r,e[5]=n,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var Y7=X7;function X7(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=r+r,l=n+n,s=i+i,c=r*o,d=n*o,y=n*l,g=i*o,m=i*l,E=i*s,M=a*o,b=a*l,w=a*s;return e[0]=1-y-E,e[1]=d+w,e[2]=g-b,e[3]=0,e[4]=d-w,e[5]=1-c-E,e[6]=m+M,e[7]=0,e[8]=g+b,e[9]=m-M,e[10]=1-c-y,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var Q7=Z7;function Z7(e,t,r,n,i,a,o){var l=1/(r-t),s=1/(i-n),c=1/(a-o);return e[0]=a*2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a*2*s,e[6]=0,e[7]=0,e[8]=(r+t)*l,e[9]=(i+n)*s,e[10]=(o+a)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*c,e[15]=0,e}var K7=J7;function J7(e,t,r,n,i){var a=1/Math.tan(t/2),o=1/(n-i);return e[0]=a/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(i+n)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*i*n*o,e[15]=0,e}var e9=t9;function t9(e,t,r,n){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),s=2/(o+l),c=2/(i+a);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-((o-l)*s*.5),e[9]=(i-a)*c*.5,e[10]=n/(r-n),e[11]=-1,e[12]=0,e[13]=0,e[14]=n*r/(r-n),e[15]=0,e}var r9=n9;function n9(e,t,r,n,i,a,o){var l=1/(t-r),s=1/(n-i),c=1/(a-o);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+r)*l,e[13]=(i+n)*s,e[14]=(o+a)*c,e[15]=1,e}var i9=uR,a9=o9;function o9(e,t,r,n){var i,a,o,l,s,c,d,y,g,m,E=t[0],M=t[1],b=t[2],w=n[0],_=n[1],C=n[2],T=r[0],P=r[1],D=r[2];return Math.abs(E-T)<1e-6&&Math.abs(M-P)<1e-6&&Math.abs(b-D)<1e-6?i9(e):(d=E-T,y=M-P,g=b-D,m=1/Math.sqrt(d*d+y*y+g*g),d*=m,y*=m,g*=m,i=_*g-C*y,a=C*d-w*g,o=w*y-_*d,m=Math.sqrt(i*i+a*a+o*o),m?(m=1/m,i*=m,a*=m,o*=m):(i=0,a=0,o=0),l=y*o-g*a,s=g*i-d*o,c=d*a-y*i,m=Math.sqrt(l*l+s*s+c*c),m?(m=1/m,l*=m,s*=m,c*=m):(l=0,s=0,c=0),e[0]=i,e[1]=l,e[2]=d,e[3]=0,e[4]=a,e[5]=s,e[6]=y,e[7]=0,e[8]=o,e[9]=c,e[10]=g,e[11]=0,e[12]=-(i*E+a*M+o*b),e[13]=-(l*E+s*M+c*b),e[14]=-(d*E+y*M+g*b),e[15]=1,e)}var u9=l9;function l9(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}var Rte={create:a7,clone:u7,copy:s7,identity:uR,transpose:h7,invert:p7,adjoint:m7,determinant:y7,multiply:b7,translate:_7,scale:E7,rotate:T7,rotateX:O7,rotateY:M7,rotateZ:R7,fromRotation:P7,fromRotationTranslation:L7,fromScaling:$7,fromTranslation:z7,fromXRotation:j7,fromYRotation:W7,fromZRotation:V7,fromQuat:Y7,frustum:Q7,perspective:K7,perspectiveFromFieldOfView:e9,ortho:r9,lookAt:a9,str:u9},N2={exports:{}};N2.exports=L2;N2.exports.isMobile=L2;N2.exports.default=L2;var s9=/(android|bb\d+|meego).+mobile|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|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,f9=/(android|bb\d+|meego).+mobile|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|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function L2(e){e||(e={});var t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;var r=e.tablet?f9.test(t):s9.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var c9=!0,h9=c9,Ow;typeof Ar.matchMedia=="function"?Ow=!Ar.matchMedia("(hover: none)").matches:Ow=h9;var Fte=Ow,lR={exports:{}},rf=typeof Reflect=="object"?Reflect:null,R3=rf&&typeof rf.apply=="function"?rf.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},p0;rf&&typeof rf.ownKeys=="function"?p0=rf.ownKeys:Object.getOwnPropertySymbols?p0=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:p0=function(t){return Object.getOwnPropertyNames(t)};function d9(e){console&&console.warn&&console.warn(e)}var sR=Number.isNaN||function(t){return t!==t};function Tr(){Tr.init.call(this)}lR.exports=Tr;lR.exports.once=g9;Tr.EventEmitter=Tr;Tr.prototype._events=void 0;Tr.prototype._eventsCount=0;Tr.prototype._maxListeners=void 0;var F3=10;function Vm(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Tr,"defaultMaxListeners",{enumerable:!0,get:function(){return F3},set:function(e){if(typeof e!="number"||e<0||sR(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");F3=e}});Tr.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};Tr.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||sR(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function fR(e){return e._maxListeners===void 0?Tr.defaultMaxListeners:e._maxListeners}Tr.prototype.getMaxListeners=function(){return fR(this)};Tr.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",a=this._events;if(a!==void 0)i=i&&a.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=a[t];if(s===void 0)return!1;if(typeof s=="function")R3(s,this,r);else for(var c=s.length,d=vR(s,c),n=0;n<c;++n)R3(d[n],this,r);return!0};function cR(e,t,r,n){var i,a,o;if(Vm(r),a=e._events,a===void 0?(a=e._events=Object.create(null),e._eventsCount=0):(a.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),o===void 0)o=a[t]=r,++e._eventsCount;else if(typeof o=="function"?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),i=fR(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,d9(l)}return e}Tr.prototype.addListener=function(t,r){return cR(this,t,r,!1)};Tr.prototype.on=Tr.prototype.addListener;Tr.prototype.prependListener=function(t,r){return cR(this,t,r,!0)};function p9(){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 hR(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=p9.bind(n);return i.listener=r,n.wrapFn=i,i}Tr.prototype.once=function(t,r){return Vm(r),this.on(t,hR(this,t,r)),this};Tr.prototype.prependOnceListener=function(t,r){return Vm(r),this.prependListener(t,hR(this,t,r)),this};Tr.prototype.removeListener=function(t,r){var n,i,a,o,l;if(Vm(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){l=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():v9(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,l||r)}return this};Tr.prototype.off=Tr.prototype.removeListener;Tr.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var a=Object.keys(n),o;for(i=0;i<a.length;++i)o=a[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function dR(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?m9(i):vR(i,i.length)}Tr.prototype.listeners=function(t){return dR(this,t,!0)};Tr.prototype.rawListeners=function(t){return dR(this,t,!1)};Tr.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):pR.call(e,t)};Tr.prototype.listenerCount=pR;function pR(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Tr.prototype.eventNames=function(){return this._eventsCount>0?p0(this._events):[]};function vR(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function v9(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function m9(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function g9(e,t){return new Promise(function(r,n){function i(o){e.removeListener(t,a),n(o)}function a(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}mR(e,t,a,{once:!0}),t!=="error"&&y9(e,i,{once:!0})})}function y9(e,t,r){typeof e.on=="function"&&mR(e,"error",t,r)}function mR(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(a){n.once&&e.removeEventListener(t,i),r(a)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var gR=b9,g1={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},x9=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function b9(e){var t=[];return e.replace(x9,function(r,n,i){var a=n.toLowerCase();for(i=_9(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==g1[a])return i.unshift(n),t.push(i);if(i.length<g1[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,g1[a])))}}),t}var w9=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function _9(e){var t=e.match(w9);return t?t.map(Number):[]}var S9={left:0,top:0},Pte=E9;function E9(e,t,r){t=t||e.currentTarget||e.srcElement,Array.isArray(r)||(r=[0,0]);var n=e.clientX||0,i=e.clientY||0,a=A9(t);return r[0]=n-a.left,r[1]=i-a.top,r}function A9(e){return e===window||e===document||e===document.body?S9:e.getBoundingClientRect()}function T9(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{e=!1}return e}var Nte=T9();function C9(){var e,t=0,r=!1;function n(i,a){return e.list.push({type:i,data:a?JSON.parse(JSON.stringify(a)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(i,a){return n("check",{seg1:i,seg2:a})},segmentChop:function(i,a){return n("div_seg",{seg:i,pt:a}),n("chop",{seg:i,pt:a})},statusRemove:function(i){return n("pop_seg",{seg:i})},segmentUpdate:function(i){return n("seg_update",{seg:i})},segmentNew:function(i,a){return n("new_seg",{seg:i,primary:a})},segmentRemove:function(i){return n("rem_seg",{seg:i})},tempStatus:function(i,a,o){return n("temp_status",{seg:i,above:a,below:o})},rewind:function(i){return n("rewind",{seg:i})},status:function(i,a,o){return n("status",{seg:i,above:a,below:o})},vert:function(i){return i===r?e:(r=i,n("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),n("log",{txt:i})},reset:function(){return n("reset")},selected:function(i){return n("selected",{segs:i})},chainStart:function(i){return n("chain_start",{seg:i})},chainRemoveHead:function(i,a){return n("chain_rem_head",{index:i,pt:a})},chainRemoveTail:function(i,a){return n("chain_rem_tail",{index:i,pt:a})},chainNew:function(i,a){return n("chain_new",{pt1:i,pt2:a})},chainMatch:function(i){return n("chain_match",{index:i})},chainClose:function(i){return n("chain_close",{index:i})},chainAddHead:function(i,a){return n("chain_add_head",{index:i,pt:a})},chainAddTail:function(i,a){return n("chain_add_tail",{index:i,pt:a})},chainConnect:function(i,a){return n("chain_con",{index1:i,index2:a})},chainReverse:function(i){return n("chain_rev",{index:i})},chainJoin:function(i,a){return n("chain_join",{index1:i,index2:a})},done:function(){return n("done")}},e}var O9=C9;function k9(e){typeof e!="number"&&(e=1e-10);var t={epsilon:function(r){return typeof r=="number"&&(e=r),e},pointAboveOrOnLine:function(r,n,i){var a=n[0],o=n[1],l=i[0],s=i[1],c=r[0],d=r[1];return(l-a)*(d-o)-(s-o)*(c-a)>=-e},pointBetween:function(r,n,i){var a=r[1]-n[1],o=i[0]-n[0],l=r[0]-n[0],s=i[1]-n[1],c=l*o+a*s;if(c<e)return!1;var d=o*o+s*s;return!(c-d>-e)},pointsSameX:function(r,n){return Math.abs(r[0]-n[0])<e},pointsSameY:function(r,n){return Math.abs(r[1]-n[1])<e},pointsSame:function(r,n){return t.pointsSameX(r,n)&&t.pointsSameY(r,n)},pointsCompare:function(r,n){return t.pointsSameX(r,n)?t.pointsSameY(r,n)?0:r[1]<n[1]?-1:1:r[0]<n[0]?-1:1},pointsCollinear:function(r,n,i){var a=r[0]-n[0],o=r[1]-n[1],l=n[0]-i[0],s=n[1]-i[1];return Math.abs(a*s-l*o)<e},linesIntersect:function(r,n,i,a){var o=n[0]-r[0],l=n[1]-r[1],s=a[0]-i[0],c=a[1]-i[1],d=o*c-l*s;if(Math.abs(d)<e)return!1;var y=r[0]-i[0],g=r[1]-i[1],m=(s*g-c*y)/d,E=(o*g-l*y)/d,M={alongA:0,alongB:0,pt:[r[0]+m*o,r[1]+m*l]};return m<=-e?M.alongA=-2:m<e?M.alongA=-1:m-1<=-e?M.alongA=0:m-1<e?M.alongA=1:M.alongA=2,E<=-e?M.alongB=-2:E<e?M.alongB=-1:E-1<=-e?M.alongB=0:E-1<e?M.alongB=1:M.alongB=2,M},pointInsideRegion:function(r,n){for(var i=r[0],a=r[1],o=n[n.length-1][0],l=n[n.length-1][1],s=!1,c=0;c<n.length;c++){var d=n[c][0],y=n[c][1];y-a>e!=l-a>e&&(o-d)*(a-y)/(l-y)+d-i>e&&(s=!s),o=d,l=y}return s}};return t}var M9=k9,I9={create:function(){var e={root:{root:!0,next:null},exists:function(t){return!(t===null||t===e.root)},isEmpty:function(){return e.root.next===null},getHead:function(){return e.root.next},insertBefore:function(t,r){for(var n=e.root,i=e.root.next;i!==null;){if(r(i)){t.prev=i.prev,t.next=i,i.prev.next=t,i.prev=t;return}n=i,i=i.next}n.next=t,t.prev=n,t.next=null},findTransition:function(t){for(var r=e.root,n=e.root.next;n!==null&&!t(n);)r=n,n=n.next;return{before:r===e.root?null:r,after:n,insert:function(i){return i.prev=r,i.next=n,r.next=i,n!==null&&(n.prev=i),i}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}},R9=I9,lh=R9;function F9(e,t,r){function n(E,M){return{id:r?r.segmentId():-1,start:E,end:M,myFill:{above:null,below:null},otherFill:null}}function i(E,M,b){return{id:r?r.segmentId():-1,start:E,end:M,myFill:{above:b.myFill.above,below:b.myFill.below},otherFill:null}}var a=lh.create();function o(E,M,b,w,_,C){var T=t.pointsCompare(M,_);return T!==0?T:t.pointsSame(b,C)?0:E!==w?E?1:-1:t.pointAboveOrOnLine(b,w?_:C,w?C:_)?1:-1}function l(E,M){a.insertBefore(E,function(b){var w=o(E.isStart,E.pt,M,b.isStart,b.pt,b.other.pt);return w<0})}function s(E,M){var b=lh.node({isStart:!0,pt:E.start,seg:E,primary:M,other:null,status:null});return l(b,E.end),b}function c(E,M,b){var w=lh.node({isStart:!1,pt:M.end,seg:M,primary:b,other:E,status:null});E.other=w,l(w,E.pt)}function d(E,M){var b=s(E,M);return c(b,E,M),b}function y(E,M){r&&r.segmentChop(E.seg,M),E.other.remove(),E.seg.end=M,E.other.pt=M,l(E.other,E.pt)}function g(E,M){var b=i(M,E.seg.end,E.seg);return y(E,M),d(b,E.primary)}function m(E,M){var b=lh.create();function w(Le,ut){var nt=Le.seg.start,De=Le.seg.end,We=ut.seg.start,_t=ut.seg.end;return t.pointsCollinear(nt,We,_t)?t.pointsCollinear(De,We,_t)||t.pointAboveOrOnLine(De,We,_t)?1:-1:t.pointAboveOrOnLine(nt,We,_t)?1:-1}function _(Le){return b.findTransition(function(ut){var nt=w(Le,ut.ev);return nt>0})}function C(Le,ut){var nt=Le.seg,De=ut.seg,We=nt.start,_t=nt.end,He=De.start,be=De.end;r&&r.checkIntersection(nt,De);var Ve=t.linesIntersect(We,_t,He,be);if(Ve===!1){if(!t.pointsCollinear(We,_t,He)||t.pointsSame(We,be)||t.pointsSame(_t,He))return!1;var st=t.pointsSame(We,He),Qe=t.pointsSame(_t,be);if(st&&Qe)return ut;var ct=!st&&t.pointBetween(We,He,be),yt=!Qe&&t.pointBetween(_t,He,be);if(st)return yt?g(ut,_t):g(Le,be),ut;ct&&(Qe||(yt?g(ut,_t):g(Le,be)),g(ut,We))}else Ve.alongA===0&&(Ve.alongB===-1?g(Le,He):Ve.alongB===0?g(Le,Ve.pt):Ve.alongB===1&&g(Le,be)),Ve.alongB===0&&(Ve.alongA===-1?g(ut,We):Ve.alongA===0?g(ut,Ve.pt):Ve.alongA===1&&g(ut,_t));return!1}for(var T=[];!a.isEmpty();){var P=a.getHead();if(r&&r.vert(P.pt[0]),P.isStart){let Le=function(){if(Y){var ut=C(P,Y);if(ut)return ut}return j?C(P,j):!1};r&&r.segmentNew(P.seg,P.primary);var D=_(P),Y=D.before?D.before.ev:null,j=D.after?D.after.ev:null;r&&r.tempStatus(P.seg,Y?Y.seg:!1,j?j.seg:!1);var re=Le();if(re){if(e){var Ee;P.seg.myFill.below===null?Ee=!0:Ee=P.seg.myFill.above!==P.seg.myFill.below,Ee&&(re.seg.myFill.above=!re.seg.myFill.above)}else re.seg.otherFill=P.seg.myFill;r&&r.segmentUpdate(re.seg),P.other.remove(),P.remove()}if(a.getHead()!==P){r&&r.rewind(P.seg);continue}if(e){var Ee;P.seg.myFill.below===null?Ee=!0:Ee=P.seg.myFill.above!==P.seg.myFill.below,j?P.seg.myFill.below=j.seg.myFill.above:P.seg.myFill.below=E,Ee?P.seg.myFill.above=!P.seg.myFill.below:P.seg.myFill.above=P.seg.myFill.below}else if(P.seg.otherFill===null){var me;j?P.primary===j.primary?me=j.seg.otherFill.above:me=j.seg.myFill.above:me=P.primary?M:E,P.seg.otherFill={above:me,below:me}}r&&r.status(P.seg,Y?Y.seg:!1,j?j.seg:!1),P.other.status=D.insert(lh.node({ev:P}))}else{var ke=P.status;if(ke===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(b.exists(ke.prev)&&b.exists(ke.next)&&C(ke.prev.ev,ke.next.ev),r&&r.statusRemove(ke.ev.seg),ke.remove(),!P.primary){var Pe=P.seg.myFill;P.seg.myFill=P.seg.otherFill,P.seg.otherFill=Pe}T.push(P.seg)}a.getHead().remove()}return r&&r.done(),T}return e?{addRegion:function(E){for(var M,b=E[E.length-1],w=0;w<E.length;w++){M=b,b=E[w];var _=t.pointsCompare(M,b);_!==0&&d(n(_<0?M:b,_<0?b:M),!0)}},calculate:function(E){return m(E,!1)}}:{calculate:function(E,M,b,w){return E.forEach(function(_){d(i(_.start,_.end,_),!0)}),b.forEach(function(_){d(i(_.start,_.end,_),!1)}),m(M,w)}}}var P9=F9;function N9(e,t,r){var n=[],i=[];return e.forEach(function(a){var o=a.start,l=a.end;if(t.pointsSame(o,l)){console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");return}r&&r.chainStart(a);var s={index:0,matches_head:!1,matches_pt1:!1},c={index:0,matches_head:!1,matches_pt1:!1},d=s;function y(ke,Pe,Le){return d.index=ke,d.matches_head=Pe,d.matches_pt1=Le,d===s?(d=c,!1):(d=null,!0)}for(var g=0;g<n.length;g++){var m=n[g],E=m[0];m[1];var M=m[m.length-1];if(m[m.length-2],t.pointsSame(E,o)){if(y(g,!0,!0))break}else if(t.pointsSame(E,l)){if(y(g,!0,!1))break}else if(t.pointsSame(M,o)){if(y(g,!1,!0))break}else if(t.pointsSame(M,l)&&y(g,!1,!1))break}if(d===s){n.push([o,l]),r&&r.chainNew(o,l);return}if(d===c){r&&r.chainMatch(s.index);var b=s.index,w=s.matches_pt1?l:o,_=s.matches_head,m=n[b],C=_?m[0]:m[m.length-1],T=_?m[1]:m[m.length-2],P=_?m[m.length-1]:m[0],D=_?m[m.length-2]:m[1];if(t.pointsCollinear(T,C,w)&&(_?(r&&r.chainRemoveHead(s.index,w),m.shift()):(r&&r.chainRemoveTail(s.index,w),m.pop()),C=T),t.pointsSame(P,w)){n.splice(b,1),t.pointsCollinear(D,P,C)&&(_?(r&&r.chainRemoveTail(s.index,C),m.pop()):(r&&r.chainRemoveHead(s.index,C),m.shift())),r&&r.chainClose(s.index),i.push(m);return}_?(r&&r.chainAddHead(s.index,w),m.unshift(w)):(r&&r.chainAddTail(s.index,w),m.push(w));return}function Y(ke){r&&r.chainReverse(ke),n[ke].reverse()}function j(ke,Pe){var Le=n[ke],ut=n[Pe],nt=Le[Le.length-1],De=Le[Le.length-2],We=ut[0],_t=ut[1];t.pointsCollinear(De,nt,We)&&(r&&r.chainRemoveTail(ke,nt),Le.pop(),nt=De),t.pointsCollinear(nt,We,_t)&&(r&&r.chainRemoveHead(Pe,We),ut.shift()),r&&r.chainJoin(ke,Pe),n[ke]=Le.concat(ut),n.splice(Pe,1)}var re=s.index,Ee=c.index;r&&r.chainConnect(re,Ee);var me=n[re].length<n[Ee].length;s.matches_head?c.matches_head?me?(Y(re),j(re,Ee)):(Y(Ee),j(Ee,re)):j(Ee,re):c.matches_head?j(re,Ee):me?(Y(re),j(Ee,re)):(Y(Ee),j(re,Ee))}),i}var L9=N9;function sh(e,t,r){var n=[];return e.forEach(function(i){var a=(i.myFill.above?8:0)+(i.myFill.below?4:0)+(i.otherFill&&i.otherFill.above?2:0)+(i.otherFill&&i.otherFill.below?1:0);t[a]!==0&&n.push({id:r?r.segmentId():-1,start:i.start,end:i.end,myFill:{above:t[a]===1,below:t[a]===2},otherFill:null})}),r&&r.selected(n),n}var D9={union:function(e,t){return sh(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return sh(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return sh(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return sh(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return sh(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},$9=D9,B9={toPolygon:function(e,t){function r(a){if(a.length<=0)return e.segments({inverted:!1,regions:[]});function o(c){var d=c.slice(0,c.length-1);return e.segments({inverted:!1,regions:[d]})}for(var l=o(a[0]),s=1;s<a.length;s++)l=e.selectDifference(e.combine(l,o(a[s])));return l}if(t.type==="Polygon")return e.polygon(r(t.coordinates));if(t.type==="MultiPolygon"){for(var n=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)n=e.selectUnion(e.combine(n,r(t.coordinates[i])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){r=e.polygon(e.segments(r));function n(m,E){return t.pointInsideRegion([(m[0][0]+m[1][0])*.5,(m[0][1]+m[1][1])*.5],E)}function i(m){return{region:m,children:[]}}var a=i(null);function o(m,E){for(var M=0;M<m.children.length;M++){var b=m.children[M];if(n(E,b.region)){o(b,E);return}}for(var w=i(E),M=0;M<m.children.length;M++){var b=m.children[M];n(b.region,E)&&(w.children.push(b),m.children.splice(M,1),M--)}m.children.push(w)}for(var l=0;l<r.regions.length;l++){var s=r.regions[l];s.length<3||o(a,s)}function c(m,E){for(var M=0,b=m[m.length-1][0],w=m[m.length-1][1],_=[],C=0;C<m.length;C++){var T=m[C][0],P=m[C][1];_.push([T,P]),M+=P*b-T*w,b=T,w=P}var D=M<0;return D!==E&&_.reverse(),_.push([_[0][0],_[0][1]]),_}var d=[];function y(m){var E=[c(m.region,!1)];d.push(E);for(var M=0;M<m.children.length;M++)E.push(g(m.children[M]))}function g(m){for(var E=0;E<m.children.length;E++)y(m.children[E]);return c(m.region,!0)}for(var l=0;l<a.children.length;l++)y(a.children[l]);return d.length<=0?{type:"Polygon",coordinates:[]}:d.length==1?{type:"Polygon",coordinates:d[0]}:{type:"MultiPolygon",coordinates:d}}},z9=B9;/*
|
|
45
|
-
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
46
|
-
* @license MIT
|
|
47
|
-
* @preserve Project Home: https://github.com/voidqk/polybooljs
|
|
48
|
-
*/var U9=O9,j9=M9,P3=P9,G9=L9,fh=$9,N3=z9,xi=!1,ch=j9(),Qn;Qn={buildLog:function(e){return e===!0?xi=U9():e===!1&&(xi=!1),xi===!1?!1:xi.list},epsilon:function(e){return ch.epsilon(e)},segments:function(e){var t=P3(!0,ch,xi);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=P3(!1,ch,xi);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:fh.union(e.combined,xi),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:fh.intersect(e.combined,xi),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:fh.difference(e.combined,xi),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:fh.differenceRev(e.combined,xi),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:fh.xor(e.combined,xi),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:G9(e.segments,ch,xi),inverted:e.inverted}},polygonFromGeoJSON:function(e){return N3.toPolygon(Qn,e)},polygonToGeoJSON:function(e){return N3.fromPolygon(Qn,ch,e)},union:function(e,t){return hh(e,t,Qn.selectUnion)},intersect:function(e,t){return hh(e,t,Qn.selectIntersect)},difference:function(e,t){return hh(e,t,Qn.selectDifference)},differenceRev:function(e,t){return hh(e,t,Qn.selectDifferenceRev)},xor:function(e,t){return hh(e,t,Qn.selectXor)}};function hh(e,t,r){var n=Qn.segments(e),i=Qn.segments(t),a=Qn.combine(n,i),o=r(a);return Qn.polygon(o)}typeof window=="object"&&(window.PolyBool=Qn);var Lte=Qn,Dte=function(t,r,n,i){var a=t[0],o=t[1],l=!1;n===void 0&&(n=0),i===void 0&&(i=r.length);for(var s=i-n,c=0,d=s-1;c<s;d=c++){var y=r[c+n][0],g=r[c+n][1],m=r[d+n][0],E=r[d+n][1],M=g>o!=E>o&&a<(m-y)*(o-g)/(E-g)+y;M&&(l=!l)}return l};const $te=xl(BB);var yR={exports:{}};function W9(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s>=0?(a=o,i=o-1):n=o+1}return a}function H9(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s>0?(a=o,i=o-1):n=o+1}return a}function V9(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s<0?(a=o,n=o+1):i=o-1}return a}function q9(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s<=0?(a=o,n=o+1):i=o-1}return a}function Y9(e,t,r,n,i){for(;n<=i;){var a=n+i>>>1,o=e[a],l=r!==void 0?r(o,t):o-t;if(l===0)return a;l<=0?n=a+1:i=a-1}return-1}function dh(e,t,r,n,i,a){return typeof r=="function"?a(e,t,r,n===void 0?0:n|0,i===void 0?e.length-1:i|0):a(e,t,void 0,r===void 0?0:r|0,n===void 0?e.length-1:n|0)}var X9={ge:function(e,t,r,n,i){return dh(e,t,r,n,i,W9)},gt:function(e,t,r,n,i){return dh(e,t,r,n,i,H9)},lt:function(e,t,r,n,i){return dh(e,t,r,n,i,V9)},le:function(e,t,r,n,i){return dh(e,t,r,n,i,q9)},eq:function(e,t,r,n,i){return dh(e,t,r,n,i,Y9)}},Fd=Q9;function Q9(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var pu=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=L3(r)),Array.isArray(r)){var l={};for(o=0;o<r.length;o++)l[r[o]]=!0;r=l}for(a in r)r[a]=L3(r[a]);var s={};for(a in r){var c=r[a];if(Array.isArray(c))for(o=0;o<c.length;o++){var d=c[o];if(n&&(s[d]=!0),d in t){if(i[a]=t[d],n)for(var y=o;y<c.length;y++)s[c[y]]=!0;break}}else a in t&&(r[a]&&(i[a]=t[a]),n&&(s[a]=!0))}if(n)for(a in t)s[a]||(i[a]=t[a]);return i},y1={};function L3(e){return y1[e]?y1[e]:(typeof e=="string"&&(e=y1[e]=e.split(/\s*,\s*|\s+/)),e)}var Z9=pu,qm=K9;function K9(e){var t;return arguments.length>1&&(e=arguments),typeof e=="string"?e=e.split(/\s/).map(parseFloat):typeof e=="number"&&(e=[e]),e.length&&typeof e[0]=="number"?e.length===1?t={width:e[0],height:e[0],x:0,y:0}:e.length===2?t={width:e[0],height:e[1],x:0,y:0}:t={x:e[0],y:e[1],width:e[2]-e[0]||0,height:e[3]-e[1]||0}:e&&(e=Z9(e,{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"}),t={x:e.left||0,y:e.top||0},e.width==null?e.right?t.width=e.right-t.x:t.width=0:t.width=e.width,e.height==null?e.bottom?t.height=e.bottom-t.y:t.height=0:t.height=e.height),t}var Pd=J9;function J9(e,t){if(!e||e.length==null)throw Error("Argument should be an array");t==null?t=1:t=Math.floor(t);for(var r=Array(t*2),n=0;n<t;n++){for(var i=-1/0,a=1/0,o=n,l=e.length;o<l;o+=t)e[o]>i&&(i=e[o]),e[o]<a&&(a=e[o]);r[n]=a,r[t+n]=i}return r}var xR=function(){for(var e=0;e<arguments.length;e++)if(arguments[e]!==void 0)return arguments[e]},D2=function(e){switch(e){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}},D3=D2,Nd=eU;function eU(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=+(r||0)|0,Array.isArray(e)&&e[0]&&typeof e[0][0]=="number"){var n=e[0].length,i=e.length*n,a,o,l,s;(!t||typeof t=="string")&&(t=new(D3(t||"float32"))(i+r));var c=t.length-r;if(i!==c)throw new Error("source length "+i+" ("+n+"x"+e.length+") does not match destination length "+c);for(a=0,l=r;a<e.length;a++)for(o=0;o<n;o++)t[l++]=e[a][o]===null?NaN:e[a][o]}else if(!t||typeof t=="string"){var d=D3(t||"float32");if(Array.isArray(e)||t==="array")for(t=new d(e.length+r),a=0,l=r,s=t.length;l<s;l++,a++)t[l]=e[a]===null?NaN:e[a];else r===0?t=new d(e):(t=new d(e.length+r),t.set(e,r))}else t.set(e,r);return t}var tU=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},rU=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const $3=X9,B3=Fd,nU=qm,iU=Pd,z3=pu,x1=xR,aU=Nd,oU=tU,uU=D2,U3=rU,lU=1073741824;var sU=function(t,r){r||(r={}),t=aU(t,"float64"),r=z3(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=x1(r.maxDepth,255),i=x1(r.bounds,iU(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=j3(t,i),o=t.length>>>1,l;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?l=new(uU(r.dtype))(o):r.dtype&&(l=r.dtype,Array.isArray(l)&&(l.length=o));for(let w=0;w<o;++w)l[w]=w;let s=[],c=[],d=[],y=[];m(0,0,1,l,0,1);let g=0;for(let w=0;w<s.length;w++){let _=s[w];if(l.set)l.set(_,g);else for(let T=0,P=_.length;T<P;T++)l[T+g]=_[T];let C=g+s[w].length;y[w]=[g,C],g=C}return l.range=E,l;function m(w,_,C,T,P,D){if(!T.length)return null;let Y=s[P]||(s[P]=[]),j=d[P]||(d[P]=[]),re=c[P]||(c[P]=[]),Ee=Y.length;if(P++,P>n||D>lU){for(let We=0;We<T.length;We++)Y.push(T[We]),j.push(D),re.push(null,null,null,null);return Ee}if(Y.push(T[0]),j.push(D),T.length<=1)return re.push(null,null,null,null),Ee;let me=C*.5,ke=w+me,Pe=_+me,Le=[],ut=[],nt=[],De=[];for(let We=1,_t=T.length;We<_t;We++){let He=T[We],be=a[He*2],Ve=a[He*2+1];be<ke?Ve<Pe?Le.push(He):ut.push(He):Ve<Pe?nt.push(He):De.push(He)}return D<<=2,re.push(m(w,_,me,Le,P,D),m(w,Pe,me,ut,P,D+1),m(ke,_,me,nt,P,D+2),m(ke,Pe,me,De,P,D+3)),Ee}function E(...w){let _;if(oU(w[w.length-1])){let nt=w.pop();!w.length&&(nt.x!=null||nt.l!=null||nt.left!=null)&&(w=[nt],_={}),_=z3(nt,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else _={};w.length||(w=i);let C=nU(...w),[T,P,D,Y]=[Math.min(C.x,C.x+C.width),Math.min(C.y,C.y+C.height),Math.max(C.x,C.x+C.width),Math.max(C.y,C.y+C.height)],[j,re,Ee,me]=j3([T,P,D,Y],i),ke=x1(_.level,s.length);if(_.d!=null){let nt;typeof _.d=="number"?nt=[_.d,_.d]:_.d.length&&(nt=_.d),ke=Math.min(Math.max(Math.ceil(-U3(Math.abs(nt[0])/(i[2]-i[0]))),Math.ceil(-U3(Math.abs(nt[1])/(i[3]-i[1])))),ke)}if(ke=Math.min(ke,s.length),_.lod)return M(j,re,Ee,me,ke);let Pe=[];Le(0,0,1,0,0,1);function Le(nt,De,We,_t,He,be){if(He===null||be===null)return;let Ve=nt+We,st=De+We;if(j>Ve||re>st||Ee<nt||me<De||_t>=ke||He===be)return;let Qe=s[_t];be===void 0&&(be=Qe.length);for(let W=He;W<be;W++){let ae=Qe[W],I=t[ae*2],A=t[ae*2+1];I>=T&&I<=D&&A>=P&&A<=Y&&Pe.push(ae)}let ct=c[_t],yt=ct[He*4+0],Wt=ct[He*4+1],Vt=ct[He*4+2],Ze=ct[He*4+3],At=ut(ct,He+1),Ut=We*.5,Ce=_t+1;Le(nt,De,Ut,Ce,yt,Wt||Vt||Ze||At),Le(nt,De+Ut,Ut,Ce,Wt,Vt||Ze||At),Le(nt+Ut,De,Ut,Ce,Vt,Ze||At),Le(nt+Ut,De+Ut,Ut,Ce,Ze,At)}function ut(nt,De){let We=null,_t=0;for(;We===null;)if(We=nt[De*4+_t],_t++,_t>nt.length)return null;return We}return Pe}function M(w,_,C,T,P){let D=[];for(let Y=0;Y<P;Y++){let j=d[Y],re=y[Y][0],Ee=b(w,_,Y),me=b(C,T,Y),ke=$3.ge(j,Ee),Pe=$3.gt(j,me,ke,j.length-1);D[Y]=[ke+re,Pe+re]}return D}function b(w,_,C){let T=1,P=.5,D=.5,Y=.5;for(let j=0;j<C;j++)T<<=2,T+=w<P?_<D?0:1:_<D?2:3,Y*=.5,P+=w<P?-Y:Y,D+=_<D?-Y:Y;return T}};function j3(e,t){let[r,n,i,a]=t,o=1/(i-r),l=1/(a-n),s=new Array(e.length);for(let c=0,d=e.length/2;c<d;c++)s[2*c]=B3((e[2*c]-r)*o,0,1),s[2*c+1]=B3((e[2*c+1]-n)*l,0,1);return s}(function(e){e.exports=sU})(yR);var bR=fU;function fU(e){var t=0,r=0,n=0,i=0;return e.map(function(a){a=a.slice();var o=a[0],l=o.toUpperCase();if(o!=l)switch(a[0]=l,o){case"a":a[6]+=n,a[7]+=i;break;case"v":a[1]+=i;break;case"h":a[1]+=n;break;default:for(var s=1;s<a.length;)a[s++]+=n,a[s++]+=i}switch(l){case"Z":n=t,i=r;break;case"H":n=a[1];break;case"V":i=a[1];break;case"M":n=t=a[1],i=r=a[2];break;default:n=a[a.length-2],i=a[a.length-1]}return a})}var cU=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Vh=Math.PI*2,b1=function(t,r,n,i,a,o,l){var s=t.x,c=t.y;s*=r,c*=n;var d=i*s-a*c,y=a*s+i*c;return{x:d+o,y:y+l}},hU=function(t,r){var n=r===1.5707963267948966?.551915024494:r===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(r/4),i=Math.cos(t),a=Math.sin(t),o=Math.cos(t+r),l=Math.sin(t+r);return[{x:i-a*n,y:a+i*n},{x:o+l*n,y:l-o*n},{x:o,y:l}]},G3=function(t,r,n,i){var a=t*i-r*n<0?-1:1,o=t*n+r*i;return o>1&&(o=1),o<-1&&(o=-1),a*Math.acos(o)},dU=function(t,r,n,i,a,o,l,s,c,d,y,g){var m=Math.pow(a,2),E=Math.pow(o,2),M=Math.pow(y,2),b=Math.pow(g,2),w=m*E-m*b-E*M;w<0&&(w=0),w/=m*b+E*M,w=Math.sqrt(w)*(l===s?-1:1);var _=w*a/o*g,C=w*-o/a*y,T=d*_-c*C+(t+n)/2,P=c*_+d*C+(r+i)/2,D=(y-_)/a,Y=(g-C)/o,j=(-y-_)/a,re=(-g-C)/o,Ee=G3(1,0,D,Y),me=G3(D,Y,j,re);return s===0&&me>0&&(me-=Vh),s===1&&me<0&&(me+=Vh),[T,P,Ee,me]},pU=function(t){var r=t.px,n=t.py,i=t.cx,a=t.cy,o=t.rx,l=t.ry,s=t.xAxisRotation,c=s===void 0?0:s,d=t.largeArcFlag,y=d===void 0?0:d,g=t.sweepFlag,m=g===void 0?0:g,E=[];if(o===0||l===0)return[];var M=Math.sin(c*Vh/360),b=Math.cos(c*Vh/360),w=b*(r-i)/2+M*(n-a)/2,_=-M*(r-i)/2+b*(n-a)/2;if(w===0&&_===0)return[];o=Math.abs(o),l=Math.abs(l);var C=Math.pow(w,2)/Math.pow(o,2)+Math.pow(_,2)/Math.pow(l,2);C>1&&(o*=Math.sqrt(C),l*=Math.sqrt(C));var T=dU(r,n,i,a,o,l,y,m,M,b,w,_),P=cU(T,4),D=P[0],Y=P[1],j=P[2],re=P[3],Ee=Math.abs(re)/(Vh/4);Math.abs(1-Ee)<1e-7&&(Ee=1);var me=Math.max(Math.ceil(Ee),1);re/=me;for(var ke=0;ke<me;ke++)E.push(hU(j,re)),j+=re;return E.map(function(Pe){var Le=b1(Pe[0],o,l,b,M,D,Y),ut=Le.x,nt=Le.y,De=b1(Pe[1],o,l,b,M,D,Y),We=De.x,_t=De.y,He=b1(Pe[2],o,l,b,M,D,Y),be=He.x,Ve=He.y;return{x1:ut,y1:nt,x2:We,y2:_t,x:be,y:Ve}})};const vU=Object.freeze(Object.defineProperty({__proto__:null,default:pU},Symbol.toStringTag,{value:"Module"})),mU=xl(vU);var gU=xU,yU=mU;function xU(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,s=null,c=0,d=0,y=0,g=e.length;y<g;y++){var m=e[y],E=m[0];switch(E){case"M":a=m[1],o=m[2];break;case"A":var M=yU({px:c,py:d,cx:m[6],cy:m[7],rx:m[1],ry:m[2],xAxisRotation:m[3],largeArcFlag:m[4],sweepFlag:m[5]});if(!M.length)continue;for(var b=0,w;b<M.length;b++)w=M[b],m=["C",w.x1,w.y1,w.x2,w.y2,w.x,w.y],b<M.length-1&&r.push(m);break;case"S":var _=c,C=d;(t=="C"||t=="S")&&(_+=_-n,C+=C-i),m=["C",_,C,m[1],m[2],m[3],m[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,s=d*2-s):(l=c,s=d),m=W3(c,d,l,s,m[1],m[2]);break;case"Q":l=m[1],s=m[2],m=W3(c,d,m[1],m[2],m[3],m[4]);break;case"L":m=Ov(c,d,m[1],m[2]);break;case"H":m=Ov(c,d,m[1],d);break;case"V":m=Ov(c,d,c,m[1]);break;case"Z":m=Ov(c,d,a,o);break}t=E,c=m[m.length-2],d=m[m.length-1],m.length>4?(n=m[m.length-4],i=m[m.length-3]):(n=c,i=d),r.push(m)}return r}function Ov(e,t,r,n){return["C",e,t,r,n,r,n]}function W3(e,t,r,n,i,a){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}var wR=function(t){return typeof t!="string"?!1:(t=t.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4))},bU=gR,wU=bR,_U=gU,SU=wR,EU=AU;function AU(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!SU(e))throw Error("String is not an SVG path.");e=bU(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=wU(e),e=_U(e),!e.length)return[0,0,0,0];for(var t=[1/0,1/0,-1/0,-1/0],r=0,n=e.length;r<n;r++)for(var i=e[r].slice(1),a=0;a<i.length;a+=2)i[a+0]<t[0]&&(t[0]=i[a+0]),i[a+1]<t[1]&&(t[1]=i[a+1]),i[a+0]>t[2]&&(t[2]=i[a+0]),i[a+1]>t[3]&&(t[3]=i[a+1]);return t}var qu=Math.PI,H3=SR(120),TU=CU;function CU(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,s=null,c=0,d=0,y=0,g=e.length;y<g;y++){var m=e[y],E=m[0];switch(E){case"M":a=m[1],o=m[2];break;case"A":m=_R(c,d,m[1],m[2],SR(m[3]),m[4],m[5],m[6],m[7]),m.unshift("C"),m.length>7&&(r.push(m.splice(0,7)),m.unshift("C"));break;case"S":var M=c,b=d;(t=="C"||t=="S")&&(M+=M-n,b+=b-i),m=["C",M,b,m[1],m[2],m[3],m[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,s=d*2-s):(l=c,s=d),m=V3(c,d,l,s,m[1],m[2]);break;case"Q":l=m[1],s=m[2],m=V3(c,d,m[1],m[2],m[3],m[4]);break;case"L":m=kv(c,d,m[1],m[2]);break;case"H":m=kv(c,d,m[1],d);break;case"V":m=kv(c,d,c,m[1]);break;case"Z":m=kv(c,d,a,o);break}t=E,c=m[m.length-2],d=m[m.length-1],m.length>4?(n=m[m.length-4],i=m[m.length-3]):(n=c,i=d),r.push(m)}return r}function kv(e,t,r,n){return["C",e,t,r,n,r,n]}function V3(e,t,r,n,i,a){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}function _R(e,t,r,n,i,a,o,l,s,c){if(c)C=c[0],T=c[1],w=c[2],_=c[3];else{var d=w1(e,t,-i);e=d.x,t=d.y,d=w1(l,s,-i),l=d.x,s=d.y;var y=(e-l)/2,g=(t-s)/2,m=y*y/(r*r)+g*g/(n*n);m>1&&(m=Math.sqrt(m),r=m*r,n=m*n);var E=r*r,M=n*n,b=(a==o?-1:1)*Math.sqrt(Math.abs((E*M-E*g*g-M*y*y)/(E*g*g+M*y*y)));b==1/0&&(b=1);var w=b*r*g/n+(e+l)/2,_=b*-n*y/r+(t+s)/2,C=Math.asin(((t-_)/n).toFixed(9)),T=Math.asin(((s-_)/n).toFixed(9));C=e<w?qu-C:C,T=l<w?qu-T:T,C<0&&(C=qu*2+C),T<0&&(T=qu*2+T),o&&C>T&&(C=C-qu*2),!o&&T>C&&(T=T-qu*2)}if(Math.abs(T-C)>H3){var P=T,D=l,Y=s;T=C+H3*(o&&T>C?1:-1),l=w+r*Math.cos(T),s=_+n*Math.sin(T);var j=_R(l,s,r,n,i,0,o,D,Y,[T,P,w,_])}var re=Math.tan((T-C)/4),Ee=4/3*r*re,me=4/3*n*re,ke=[2*e-(e+Ee*Math.sin(C)),2*t-(t-me*Math.cos(C)),l+Ee*Math.sin(T),s-me*Math.cos(T),l,s];if(c)return ke;j&&(ke=ke.concat(j));for(var Pe=0;Pe<ke.length;){var Le=w1(ke[Pe],ke[Pe+1],i);ke[Pe++]=Le.x,ke[Pe++]=Le.y}return ke}function w1(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function SR(e){return e*(qu/180)}var OU=bR,kU=TU,MU={M:"moveTo",C:"bezierCurveTo"},IU=function(e,t){e.beginPath(),kU(OU(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[MU[n]].apply(e,i)}),e.closePath()},RU=Fd,FU=PU,qh=1e20;function PU(e,t){t||(t={});var r=t.cutoff==null?.25:t.cutoff,n=t.radius==null?8:t.radius,i=t.channel||0,a,o,l,s,c,d,y,g,m,E,M;if(ArrayBuffer.isView(e)||Array.isArray(e)){if(!t.width||!t.height)throw Error("For raw data width and height should be provided by options");a=t.width,o=t.height,s=e,t.stride?d=t.stride:d=Math.floor(e.length/a/o)}else window.HTMLCanvasElement&&e instanceof window.HTMLCanvasElement?(g=e,y=g.getContext("2d"),a=g.width,o=g.height,m=y.getImageData(0,0,a,o),s=m.data,d=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(g=e.canvas,y=e,a=g.width,o=g.height,m=y.getImageData(0,0,a,o),s=m.data,d=4):window.ImageData&&e instanceof window.ImageData&&(m=e,a=e.width,o=e.height,s=m.data,d=4);if(l=Math.max(a,o),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(c=s,s=Array(a*o),E=0,M=c.length;E<M;E++)s[E]=c[E*d+i]/255;else if(d!==1)throw Error("Raw data can have only 1 value per pixel");var b=Array(a*o),w=Array(a*o),_=Array(l),C=Array(l),T=Array(l+1),P=Array(l);for(E=0,M=a*o;E<M;E++){var D=s[E];b[E]=D===1?0:D===0?qh:Math.pow(Math.max(0,.5-D),2),w[E]=D===1?qh:D===0?0:Math.pow(Math.max(0,D-.5),2)}q3(b,a,o,_,C,P,T),q3(w,a,o,_,C,P,T);var Y=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(E=0,M=a*o;E<M;E++)Y[E]=RU(1-((b[E]-w[E])/n+r),0,1);return Y}function q3(e,t,r,n,i,a,o){for(var l=0;l<t;l++){for(var s=0;s<r;s++)n[s]=e[s*t+l];for(Y3(n,i,a,o,r),s=0;s<r;s++)e[s*t+l]=i[s]}for(s=0;s<r;s++){for(l=0;l<t;l++)n[l]=e[s*t+l];for(Y3(n,i,a,o,t),l=0;l<t;l++)e[s*t+l]=Math.sqrt(i[l])}}function Y3(e,t,r,n,i){r[0]=0,n[0]=-qh,n[1]=+qh;for(var a=1,o=0;a<i;a++){for(var l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);l<=n[o];)o--,l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);o++,r[o]=a,n[o]=l,n[o+1]=+qh}for(a=0,o=0;a<i;a++){for(;n[o+1]<a;)o++;t[a]=(a-r[o])*(a-r[o])+e[r[o]]}}var NU=EU,LU=gR,DU=IU,$U=wR,BU=FU,kw=document.createElement("canvas"),Bn=kw.getContext("2d"),Bte=zU;function zU(e,t){if(!$U(e))throw Error("Argument should be valid svg path string");t||(t={});var r,n;t.shape?(r=t.shape[0],n=t.shape[1]):(r=kw.width=t.w||t.width||200,n=kw.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||NU(e),l=[r/(o[2]-o[0]),n/(o[3]-o[1])],s=Math.min(l[0]||0,l[1]||0)/2;if(Bn.fillStyle="black",Bn.fillRect(0,0,r,n),Bn.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?Bn.strokeStyle="white":Bn.strokeStyle="black",Bn.lineWidth=Math.abs(a)),Bn.translate(r*.5,n*.5),Bn.scale(s,s),UU()){var c=new Path2D(e);Bn.fill(c),a&&Bn.stroke(c)}else{var d=LU(e);DU(Bn,d),Bn.fill(),a&&Bn.stroke()}Bn.setTransform(1,0,0,1,0,0);var y=BU(Bn,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return y}var Mv;function UU(){if(Mv!=null)return Mv;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return Mv=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return Mv=r&&r.data&&r.data[3]===255}var jU={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]},GU=Object.prototype.toString,ER=function(e){var t;return GU.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},X3=jU,WU=ER,Wu=xR,HU=VU,Q3={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function VU(e){var t,r=[],n=1,i;if(typeof e=="string")if(X3[e])r=X3[e].slice(),i="rgb";else if(e==="transparent")n=0,i="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var a=e.slice(1),o=a.length,l=o<=4;n=1,l?(r=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],o===4&&(n=parseInt(a[3]+a[3],16)/255)):(r=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],o===8&&(n=parseInt(a[6]+a[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),i="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var s=t[1],c=s==="rgb",a=s.replace(/a$/,"");i=a;var o=a==="cmyk"?4:a==="gray"?1:3;r=t[2].trim().split(/\s*,\s*/).map(function(m,E){if(/%$/.test(m))return E===o?parseFloat(m)/100:a==="rgb"?parseFloat(m)*255/100:parseFloat(m);if(a[E]==="h"){if(/deg$/.test(m))return parseFloat(m);if(Q3[m]!==void 0)return Q3[m]}return parseFloat(m)}),s===a&&r.push(1),n=c||r[o]===void 0?1:r[o],r=r.slice(0,o)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(r=e.match(/([0-9]+)/g).map(function(y){return parseFloat(y)}),i=e.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(e))i="rgb",r=[e>>>16,(e&65280)>>>8,e&255];else if(WU(e)){var d=Wu(e.r,e.red,e.R,null);d!==null?(i="rgb",r=[d,Wu(e.g,e.green,e.G),Wu(e.b,e.blue,e.B)]):(i="hsl",r=[Wu(e.h,e.hue,e.H),Wu(e.s,e.saturation,e.S),Wu(e.l,e.lightness,e.L,e.b,e.brightness)]),n=Wu(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||Ar.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(e))&&(r=[e[0],e[1],e[2]],i="rgb",n=e.length===4?e[3]:1);return{space:i,values:r,alpha:n}}var qU={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,a,o,l,s;if(r===0)return s=n*255,[s,s,s];n<.5?a=n*(1+r):a=n+r-n*r,i=2*n-a,l=[0,0,0];for(var c=0;c<3;c++)o=t+1/3*-(c-1),o<0?o++:o>1&&o--,6*o<1?s=i+(a-i)*6*o:2*o<1?s=a:3*o<2?s=i+(a-i)*(2/3-o)*6:s=i,l[c]=s*255;return l}},YU=HU,XU=qU,Iv=Fd,QU=function(t){var r,n=YU(t);return n.space?(r=Array(3),r[0]=Iv(n.values[0],0,255),r[1]=Iv(n.values[1],0,255),r[2]=Iv(n.values[2],0,255),n.space[0]==="h"&&(r=XU.rgb(r)),r.push(Iv(n.alpha,0,1)),r):[]},ZU=QU,Rv=Fd,KU=D2,Ym=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=KU(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=ZU(t),t[0]/=255,t[1]/=255,t[2]/=255),JU(t)?(i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3]!=null?t[3]:255,a&&(i[0]/=255,i[1]/=255,i[2]/=255,i[3]/=255),i):(a?(i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3]!=null?t[3]:1):(i[0]=Rv(Math.floor(t[0]*255),0,255),i[1]=Rv(Math.floor(t[1]*255),0,255),i[2]=Rv(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:Rv(Math.floor(t[3]*255),0,255)),i)};function JU(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}var Xm={exports:{}},Fv=Fd;Xm.exports=AR;Xm.exports.to=AR;Xm.exports.from=ej;function AR(e,t){t==null&&(t=!0);var r=e[0],n=e[1],i=e[2],a=e[3];a==null&&(a=t?1:255),t&&(r*=255,n*=255,i*=255,a*=255),r=Fv(r,0,255)&255,n=Fv(n,0,255)&255,i=Fv(i,0,255)&255,a=Fv(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function ej(e,t){e=+e;var r=e>>>24,n=(e&16711680)>>>16,i=(e&65280)>>>8,a=e&255;return t===!1?[r,n,i,a]:[r/255,n/255,i/255,a/255]}var TR=function(e){typeof e=="string"&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")},CR=function(t,r,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var i=0,a=n.length;i<a;i++){var o=n[i];for(var l in o)if(!(r[l]!==void 0&&!Array.isArray(r[l])&&t[l]===r[l])&&l in r){var s;if(o[l]===!0)s=r[l];else{if(o[l]===!1)continue;if(typeof o[l]=="function"&&(s=o[l](r[l],t,r),s===void 0))continue}t[l]=s}}return t},tj=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),nu={exports:{}};nu.exports=Yh;nu.exports.float32=nu.exports.float=Yh;nu.exports.fract32=nu.exports.fract=rj;var Z3=new Float32Array(1);function rj(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=Yh(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return Yh(e-Yh(e))}function Yh(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(Z3[0]=e,Z3[0])}function nj(e,t){return oj(e)||lj(e,t)||OR(e,t)||fj()}function ij(e){return aj(e)||uj(e)||OR(e)||sj()}function aj(e){if(Array.isArray(e))return Mw(e)}function oj(e){if(Array.isArray(e))return e}function uj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lj(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function OR(e,t){if(!!e){if(typeof e=="string")return Mw(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 Mw(e,t)}}function Mw(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 sj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
49
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
50
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var cj=Ym,hj=Pd,dj=Xm.exports,pj=yR.exports,ol=bl,Pv=TR,vj=pu,mj=CR,gj=Nd,K3=tj,Nv=nu.exports,yj=qm,xj=pn;function pn(e,t){var r=this;if(!(this instanceof pn))return new pn(e,t);typeof e=="function"?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n=e._gl,i,a=[],o={},l=[],s=[null],c=[null],d=255,y=100;this.tooManyColors=K3,i=e.texture({data:new Uint8Array(d*4),width:d,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),ol(this,{regl:e,gl:n,groups:l,markerCache:c,markerTextures:s,palette:a,paletteIds:o,paletteTexture:i,maxColors:d,maxSize:y,canvas:n.canvas}),this.update(t);var g={uniforms:{constPointSize:!!t.constPointSize,opacity:e.prop("opacity"),paletteSize:function(b,w){return[r.tooManyColors?0:d,i.height]},pixelRatio:e.context("pixelRatio"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translate:e.prop("translate"),translateFract:e.prop("translateFract"),markerTexture:e.prop("markerTexture"),paletteTexture:i},attributes:{x:function(b,w){return w.xAttr||{buffer:w.positionBuffer,stride:8,offset:0}},y:function(b,w){return w.yAttr||{buffer:w.positionBuffer,stride:8,offset:4}},xFract:function(b,w){return w.xAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:0}},yFract:function(b,w){return w.yAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:4}},size:function(b,w){return w.size.length?{buffer:w.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(w.size*255/r.maxSize)]}},borderSize:function(b,w){return w.borderSize.length?{buffer:w.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(w.borderSize*255/r.maxSize)]}},colorId:function(b,w){return w.color.length?{buffer:w.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?a.slice(w.color*4,w.color*4+4):[w.color]}},borderColorId:function(b,w){return w.borderColor.length?{buffer:w.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?a.slice(w.borderColor*4,w.borderColor*4+4):[w.borderColor]}},isActive:function(b,w){return w.activation===!0?{constant:[1]}:w.activation?w.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:e.prop("viewport")},viewport:e.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:e.prop("elements"),count:e.prop("count"),offset:e.prop("offset"),primitive:"points"},m=ol({},g);m.frag=Pv([`precision highp float;
|
|
51
|
-
#define GLSLIFY 1
|
|
52
|
-
|
|
53
|
-
uniform float opacity;
|
|
54
|
-
uniform sampler2D markerTexture;
|
|
55
|
-
|
|
56
|
-
varying vec4 fragColor, fragBorderColor;
|
|
57
|
-
varying float fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
58
|
-
|
|
59
|
-
float smoothStep(float x, float y) {
|
|
60
|
-
return 1.0 / (1.0 + exp(50.0*(x - y)));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
void main() {
|
|
64
|
-
float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
|
|
65
|
-
|
|
66
|
-
// max-distance alpha
|
|
67
|
-
if (dist < 0.003) discard;
|
|
68
|
-
|
|
69
|
-
// null-border case
|
|
70
|
-
if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
|
|
71
|
-
float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
|
|
72
|
-
gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
|
|
76
|
-
float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
|
|
77
|
-
|
|
78
|
-
vec4 color = fragBorderColor;
|
|
79
|
-
color.a *= borderColorAmt;
|
|
80
|
-
color = mix(color, fragColor, colorAmt);
|
|
81
|
-
color.a *= opacity;
|
|
82
|
-
|
|
83
|
-
gl_FragColor = color;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
`]),m.vert=Pv([`precision highp float;
|
|
88
|
-
#define GLSLIFY 1
|
|
89
|
-
|
|
90
|
-
attribute float x, y, xFract, yFract;
|
|
91
|
-
attribute float size, borderSize;
|
|
92
|
-
attribute vec4 colorId, borderColorId;
|
|
93
|
-
attribute float isActive;
|
|
94
|
-
|
|
95
|
-
uniform bool constPointSize;
|
|
96
|
-
uniform float pixelRatio;
|
|
97
|
-
uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
|
|
98
|
-
uniform sampler2D paletteTexture;
|
|
99
|
-
|
|
100
|
-
const float maxSize = 100.;
|
|
101
|
-
const float borderLevel = .5;
|
|
102
|
-
|
|
103
|
-
varying vec4 fragColor, fragBorderColor;
|
|
104
|
-
varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
105
|
-
|
|
106
|
-
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
107
|
-
|
|
108
|
-
bool isDirect = (paletteSize.x < 1.);
|
|
109
|
-
|
|
110
|
-
vec4 getColor(vec4 id) {
|
|
111
|
-
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
112
|
-
vec2(
|
|
113
|
-
(id.x + .5) / paletteSize.x,
|
|
114
|
-
(id.y + .5) / paletteSize.y
|
|
115
|
-
)
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
void main() {
|
|
120
|
-
// ignore inactive points
|
|
121
|
-
if (isActive == 0.) return;
|
|
122
|
-
|
|
123
|
-
vec2 position = vec2(x, y);
|
|
124
|
-
vec2 positionFract = vec2(xFract, yFract);
|
|
125
|
-
|
|
126
|
-
vec4 color = getColor(colorId);
|
|
127
|
-
vec4 borderColor = getColor(borderColorId);
|
|
128
|
-
|
|
129
|
-
float size = size * maxSize / 255.;
|
|
130
|
-
float borderSize = borderSize * maxSize / 255.;
|
|
131
|
-
|
|
132
|
-
gl_PointSize = 2. * size * pointSizeScale;
|
|
133
|
-
fragPointSize = size * pixelRatio;
|
|
134
|
-
|
|
135
|
-
vec2 pos = (position + translate) * scale
|
|
136
|
-
+ (positionFract + translateFract) * scale
|
|
137
|
-
+ (position + translate) * scaleFract
|
|
138
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
139
|
-
|
|
140
|
-
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
141
|
-
|
|
142
|
-
fragColor = color;
|
|
143
|
-
fragBorderColor = borderColor;
|
|
144
|
-
fragWidth = 1. / gl_PointSize;
|
|
145
|
-
|
|
146
|
-
fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
|
|
147
|
-
fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
|
|
148
|
-
}`]),this.drawMarker=e(m);var E=ol({},g);E.frag=Pv([`precision highp float;
|
|
149
|
-
#define GLSLIFY 1
|
|
150
|
-
|
|
151
|
-
varying vec4 fragColor, fragBorderColor;
|
|
152
|
-
varying float fragBorderRadius, fragWidth;
|
|
153
|
-
|
|
154
|
-
uniform float opacity;
|
|
155
|
-
|
|
156
|
-
float smoothStep(float edge0, float edge1, float x) {
|
|
157
|
-
float t;
|
|
158
|
-
t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
|
|
159
|
-
return t * t * (3.0 - 2.0 * t);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
void main() {
|
|
163
|
-
float radius, alpha = 1.0, delta = fragWidth;
|
|
164
|
-
|
|
165
|
-
radius = length(2.0 * gl_PointCoord.xy - 1.0);
|
|
166
|
-
|
|
167
|
-
if (radius > 1.0 + delta) {
|
|
168
|
-
discard;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
|
|
172
|
-
|
|
173
|
-
float borderRadius = fragBorderRadius;
|
|
174
|
-
float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
|
|
175
|
-
vec4 color = mix(fragColor, fragBorderColor, ratio);
|
|
176
|
-
color.a *= alpha * opacity;
|
|
177
|
-
gl_FragColor = color;
|
|
178
|
-
}
|
|
179
|
-
`]),E.vert=Pv([`precision highp float;
|
|
180
|
-
#define GLSLIFY 1
|
|
181
|
-
|
|
182
|
-
attribute float x, y, xFract, yFract;
|
|
183
|
-
attribute float size, borderSize;
|
|
184
|
-
attribute vec4 colorId, borderColorId;
|
|
185
|
-
attribute float isActive;
|
|
186
|
-
|
|
187
|
-
uniform bool constPointSize;
|
|
188
|
-
uniform float pixelRatio;
|
|
189
|
-
uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
|
|
190
|
-
uniform sampler2D paletteTexture;
|
|
191
|
-
|
|
192
|
-
const float maxSize = 100.;
|
|
193
|
-
|
|
194
|
-
varying vec4 fragColor, fragBorderColor;
|
|
195
|
-
varying float fragBorderRadius, fragWidth;
|
|
196
|
-
|
|
197
|
-
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
198
|
-
|
|
199
|
-
bool isDirect = (paletteSize.x < 1.);
|
|
200
|
-
|
|
201
|
-
vec4 getColor(vec4 id) {
|
|
202
|
-
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
203
|
-
vec2(
|
|
204
|
-
(id.x + .5) / paletteSize.x,
|
|
205
|
-
(id.y + .5) / paletteSize.y
|
|
206
|
-
)
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
void main() {
|
|
211
|
-
// ignore inactive points
|
|
212
|
-
if (isActive == 0.) return;
|
|
213
|
-
|
|
214
|
-
vec2 position = vec2(x, y);
|
|
215
|
-
vec2 positionFract = vec2(xFract, yFract);
|
|
216
|
-
|
|
217
|
-
vec4 color = getColor(colorId);
|
|
218
|
-
vec4 borderColor = getColor(borderColorId);
|
|
219
|
-
|
|
220
|
-
float size = size * maxSize / 255.;
|
|
221
|
-
float borderSize = borderSize * maxSize / 255.;
|
|
222
|
-
|
|
223
|
-
gl_PointSize = (size + borderSize) * pointSizeScale;
|
|
224
|
-
|
|
225
|
-
vec2 pos = (position + translate) * scale
|
|
226
|
-
+ (positionFract + translateFract) * scale
|
|
227
|
-
+ (position + translate) * scaleFract
|
|
228
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
229
|
-
|
|
230
|
-
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
231
|
-
|
|
232
|
-
fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
|
|
233
|
-
fragColor = color;
|
|
234
|
-
fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
|
|
235
|
-
fragWidth = 1. / gl_PointSize;
|
|
236
|
-
}
|
|
237
|
-
`]),K3&&(E.frag=E.frag.replace("smoothstep","smoothStep"),m.frag=m.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(E)}pn.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};pn.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};pn.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(r.length===1&&Array.isArray(r[0])&&(r[0][0]===null||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var a=0;a<r.length;a++)this.drawItem(a,r[a]);else i.forEach(function(o,l){e.drawItem(l)});return this};pn.prototype.drawItem=function(e,t){var r=this.groups,n=r[e];if(typeof t=="number"&&(e=t,n=r[t],t=null),!!(n&&n.count&&n.opacity)){n.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,n,t));for(var i=[],a=1;a<n.activation.length;a++)!n.activation[a]||n.activation[a]!==!0&&!n.activation[a].data.length||i.push.apply(i,ij(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};pn.prototype.getMarkerDrawOptions=function(e,t,r){var n=t.range,i=t.tree,a=t.viewport,o=t.activation,l=t.selectionBuffer,s=t.count;if(this.regl,!i)return r?[ol({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[ol({},t,{markerTexture:this.markerTextures[e],activation:o[e],offset:0})];var c=[],d=i.range(n,{lod:!0,px:[(n[2]-n[0])/a.width,(n[3]-n[1])/a.height]});if(r){for(var y=o[e],g=y.data,m=new Uint8Array(s),E=0;E<r.length;E++){var M=r[E];m[M]=g?g[M]:1}l.subdata(m)}for(var b=d.length;b--;){var w=nj(d[b],2),_=w[0],C=w[1];c.push(ol({},t,{markerTexture:this.markerTextures[e],activation:r?l:o[e],offset:_,count:C-_}))}return c};pn.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!!r.length){r.length===1&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,a=this.gl,o=this.regl,l=this.maxSize,s=this.maxColors,c=this.palette;this.groups=i=r.map(function(d,y){var g=i[y];if(d===void 0)return g;d===null?d={positions:null}:typeof d=="function"?d={ondraw:d}:typeof d[0]=="number"&&(d={positions:d}),d=vj(d,{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"}),d.positions===null&&(d.positions=[]),d.tooManyColors!=null&&(e.tooManyColors=d.tooManyColors),g||(i[y]=g={id:y,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:o.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},d=ol({},pn.defaults,d)),d.positions&&!("marker"in d)&&(d.marker=g.marker,delete g.marker),d.marker&&!("positions"in d)&&(d.positions=g.positions,delete g.positions);var m=0,E=0;if(mj(g,d,[{snap:!0,size:function(De,We){return De==null&&(De=pn.defaults.size),m+=De&&De.length?1:0,De},borderSize:function(De,We){return De==null&&(De=pn.defaults.borderSize),m+=De&&De.length?1:0,De},opacity:parseFloat,color:function(De,We){return De==null&&(De=pn.defaults.color),De=e.updateColor(De),E++,De},borderColor:function(De,We){return De==null&&(De=pn.defaults.borderColor),De=e.updateColor(De),E++,De},bounds:function(De,We,_t){return"range"in _t||(_t.range=null),De},positions:function(De,We,_t){var He=We.snap,be=We.positionBuffer,Ve=We.positionFractBuffer,st=We.selectionBuffer;if(De.x||De.y)return De.x.length?We.xAttr={buffer:o.buffer(De.x),offset:0,stride:4,count:De.x.length}:We.xAttr={buffer:De.x.buffer,offset:De.x.offset*4||0,stride:(De.x.stride||1)*4,count:De.x.count},De.y.length?We.yAttr={buffer:o.buffer(De.y),offset:0,stride:4,count:De.y.length}:We.yAttr={buffer:De.y.buffer,offset:De.y.offset*4||0,stride:(De.y.stride||1)*4,count:De.y.count},We.count=Math.max(We.xAttr.count,We.yAttr.count),De;De=gj(De,"float64");var Qe=We.count=Math.floor(De.length/2),ct=We.bounds=Qe?hj(De,2):null;if(!_t.range&&!We.range&&(delete We.range,_t.range=ct),!_t.marker&&!We.marker&&(delete We.marker,_t.marker=null),He&&(He===!0||Qe>He)?We.tree=pj(De,{bounds:ct}):He&&He.length&&(We.tree=He),We.tree){var yt={primitive:"points",usage:"static",data:We.tree,type:"uint32"};We.elements?We.elements(yt):We.elements=o.elements(yt)}var Wt=Nv.float32(De);be({data:Wt,usage:"dynamic"});var Vt=Nv.fract32(De,Wt);return Ve({data:Vt,usage:"dynamic"}),st({data:new Uint8Array(Qe),type:"uint8",usage:"stream"}),De}},{marker:function(De,We,_t){var He=We.activation;if(He.forEach(function(Vt){return Vt&&Vt.destroy&&Vt.destroy()}),He.length=0,!De||typeof De[0]=="number"){var be=e.addMarker(De);He[be]=!0}else{for(var Ve=[],st=0,Qe=Math.min(De.length,We.count);st<Qe;st++){var ct=e.addMarker(De[st]);Ve[ct]||(Ve[ct]=new Uint8Array(We.count)),Ve[ct][st]=1}for(var yt=0;yt<Ve.length;yt++)if(!!Ve[yt]){var Wt={data:Ve[yt],type:"uint8",usage:"static"};He[yt]?He[yt](Wt):He[yt]=o.buffer(Wt),He[yt].data=Ve[yt]}}return De},range:function(De,We,_t){var He=We.bounds;if(!!He)return De||(De=He),We.scale=[1/(De[2]-De[0]),1/(De[3]-De[1])],We.translate=[-De[0],-De[1]],We.scaleFract=Nv.fract(We.scale),We.translateFract=Nv.fract(We.translate),De},viewport:function(De){var We=yj(De||[a.drawingBufferWidth,a.drawingBufferHeight]);return We}}]),m){var M=g,b=M.count,w=M.size,_=M.borderSize,C=M.sizeBuffer,T=new Uint8Array(b*2);if(w.length||_.length)for(var P=0;P<b;P++)T[P*2]=Math.round((w[P]==null?w:w[P])*255/l),T[P*2+1]=Math.round((_[P]==null?_:_[P])*255/l);C({data:T,usage:"dynamic"})}if(E){var D=g,Y=D.count,j=D.color,re=D.borderColor,Ee=D.colorBuffer,me;if(e.tooManyColors){if(j.length||re.length){me=new Uint8Array(Y*8);for(var ke=0;ke<Y;ke++){var Pe=j[ke];me[ke*8]=c[Pe*4],me[ke*8+1]=c[Pe*4+1],me[ke*8+2]=c[Pe*4+2],me[ke*8+3]=c[Pe*4+3];var Le=re[ke];me[ke*8+4]=c[Le*4],me[ke*8+5]=c[Le*4+1],me[ke*8+6]=c[Le*4+2],me[ke*8+7]=c[Le*4+3]}}}else if(j.length||re.length){me=new Uint8Array(Y*4+2);for(var ut=0;ut<Y;ut++)j[ut]!=null&&(me[ut*4]=j[ut]%s,me[ut*4+1]=Math.floor(j[ut]/s)),re[ut]!=null&&(me[ut*4+2]=re[ut]%s,me[ut*4+3]=Math.floor(re[ut]/s))}Ee({data:me||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return g})}};pn.prototype.addMarker=function(e){var t=this.markerTextures,r=this.regl,n=this.markerCache,i=e==null?0:n.indexOf(e);if(i>=0)return i;var a;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)a=e;else{a=new Uint8Array(e.length);for(var o=0,l=e.length;o<l;o++)a[o]=e[o]*255}var s=Math.floor(Math.sqrt(a.length));return i=t.length,n.push(e),t.push(r.texture({channels:1,data:a,radius:s,mag:"linear",min:"linear"})),i};pn.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if(typeof e[0]=="number"){var a=[];if(Array.isArray(e))for(var o=0;o<e.length;o+=4)a.push(e.slice(o,o+4));else for(var l=0;l<e.length;l+=4)a.push(e.subarray(l,l+4));e=a}for(var s=0;s<e.length;s++){var c=e[s];c=cj(c,"uint8");var d=dj(c,!1);if(t[d]==null){var y=r.length;t[d]=Math.floor(y/4),r[y]=c[0],r[y+1]=c[1],r[y+2]=c[2],r[y+3]=c[3]}i[s]=t[d]}return!this.tooManyColors&&r.length>n*4&&(this.tooManyColors=!0),this.updatePalette(r),i.length===1?i[0]:i};pn.prototype.updatePalette=function(e){if(!this.tooManyColors){var t=this.maxColors,r=this.paletteTexture,n=Math.ceil(e.length*.25/t);if(n>1){e=e.slice();for(var i=e.length*.25%t;i<n*t;i++)e.push(0,0,0,0)}r.height<n&&r.resize(t,n),r.subimage({width:Math.min(e.length*.25,t),height:n,data:e},0,0)}};pn.prototype.destroy=function(){return this.groups.forEach(function(e){e.sizeBuffer.destroy(),e.positionBuffer.destroy(),e.positionFractBuffer.destroy(),e.colorBuffer.destroy(),e.activation.forEach(function(t){return t&&t.destroy&&t.destroy()}),e.selectionBuffer.destroy(),e.elements&&e.elements.destroy()}),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach(function(e){return e&&e.destroy&&e.destroy()}),this};var bj=bl,wj=function(t,r){var n=new xj(t,r),i=n.render.bind(n);return bj(i,{render:i,update:n.update.bind(n),draw:n.draw.bind(n),destroy:n.destroy.bind(n),regl:n.regl,gl:n.gl,canvas:n.gl.canvas,groups:n.groups,markers:n.markerCache,palette:n.palette}),i},zte=wj,$2={exports:{}};$2.exports=Qm;$2.exports.default=Qm;function Qm(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=kR(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var l,s,c,d,y,g,m;if(n&&(a=Tj(e,t,a,r)),e.length>80*r){l=c=e[0],s=d=e[1];for(var E=r;E<i;E+=r)y=e[E],g=e[E+1],y<l&&(l=y),g<s&&(s=g),y>c&&(c=y),g>d&&(d=g);m=Math.max(c-l,d-s),m=m!==0?1/m:0}return md(a,o,r,l,s,m),o}function kR(e,t,r,n,i){var a,o;if(i===Fw(e,t,r,n)>0)for(a=t;a<r;a+=n)o=J3(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=J3(a,e[a],e[a+1],o);return o&&Zm(o,o.next)&&(yd(o),o=o.next),o}function iu(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(Zm(r,r.next)||zr(r.prev,r,r.next)===0)){if(yd(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function md(e,t,r,n,i,a,o){if(!!e){!o&&a&&Ij(e,n,i,a);for(var l=e,s,c;e.prev!==e.next;){if(s=e.prev,c=e.next,a?Sj(e,n,i,a):_j(e)){t.push(s.i/r),t.push(e.i/r),t.push(c.i/r),yd(e),e=c.next,l=c.next;continue}if(e=c,e===l){o?o===1?(e=Ej(iu(e),t,r),md(e,t,r,n,i,a,2)):o===2&&Aj(e,t,r,n,i,a):md(iu(e),t,r,n,i,a,1);break}}}}function _j(e){var t=e.prev,r=e,n=e.next;if(zr(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(Bs(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&zr(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Sj(e,t,r,n){var i=e.prev,a=e,o=e.next;if(zr(i,a,o)>=0)return!1;for(var l=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,s=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,c=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,d=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,y=Iw(l,s,t,r,n),g=Iw(c,d,t,r,n),m=e.prevZ,E=e.nextZ;m&&m.z>=y&&E&&E.z<=g;){if(m!==e.prev&&m!==e.next&&Bs(i.x,i.y,a.x,a.y,o.x,o.y,m.x,m.y)&&zr(m.prev,m,m.next)>=0||(m=m.prevZ,E!==e.prev&&E!==e.next&&Bs(i.x,i.y,a.x,a.y,o.x,o.y,E.x,E.y)&&zr(E.prev,E,E.next)>=0))return!1;E=E.nextZ}for(;m&&m.z>=y;){if(m!==e.prev&&m!==e.next&&Bs(i.x,i.y,a.x,a.y,o.x,o.y,m.x,m.y)&&zr(m.prev,m,m.next)>=0)return!1;m=m.prevZ}for(;E&&E.z<=g;){if(E!==e.prev&&E!==e.next&&Bs(i.x,i.y,a.x,a.y,o.x,o.y,E.x,E.y)&&zr(E.prev,E,E.next)>=0)return!1;E=E.nextZ}return!0}function Ej(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!Zm(i,a)&&MR(i,n,n.next,a)&&gd(i,a)&&gd(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),yd(n),yd(n.next),n=e=a),n=n.next}while(n!==e);return iu(n)}function Aj(e,t,r,n,i,a){var o=e;do{for(var l=o.next.next;l!==o.prev;){if(o.i!==l.i&&Pj(o,l)){var s=IR(o,l);o=iu(o,o.next),s=iu(s,s.next),md(o,t,r,n,i,a),md(s,t,r,n,i,a);return}l=l.next}o=o.next}while(o!==e)}function Tj(e,t,r,n){var i=[],a,o,l,s,c;for(a=0,o=t.length;a<o;a++)l=t[a]*n,s=a<o-1?t[a+1]*n:e.length,c=kR(e,l,s,n,!1),c===c.next&&(c.steiner=!0),i.push(Fj(c));for(i.sort(Cj),a=0;a<i.length;a++)r=Oj(i[a],r),r=iu(r,r.next);return r}function Cj(e,t){return e.x-t.x}function Oj(e,t){var r=kj(e,t);if(!r)return t;var n=IR(r,e),i=iu(r,r.next);return iu(n,n.next),t===r?i:t}function kj(e,t){var r=t,n=e.x,i=e.y,a=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a){if(a=l,l===n){if(i===r.y)return r;if(i===r.next.y)return r.next}o=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!o)return null;if(n===a)return o;var s=o,c=o.x,d=o.y,y=1/0,g;r=o;do n>=r.x&&r.x>=c&&n!==r.x&&Bs(i<d?n:a,i,c,d,i<d?a:n,i,r.x,r.y)&&(g=Math.abs(i-r.y)/(n-r.x),gd(r,e)&&(g<y||g===y&&(r.x>o.x||r.x===o.x&&Mj(o,r)))&&(o=r,y=g)),r=r.next;while(r!==s);return o}function Mj(e,t){return zr(e.prev,e,t.prev)<0&&zr(t.next,e,e.next)<0}function Ij(e,t,r,n){var i=e;do i.z===null&&(i.z=Iw(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,Rj(i)}function Rj(e){var t,r,n,i,a,o,l,s,c=1;do{for(r=e,e=null,a=null,o=0;r;){for(o++,n=r,l=0,t=0;t<c&&(l++,n=n.nextZ,!!n);t++);for(s=c;l>0||s>0&&n;)l!==0&&(s===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,s--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;r=n}a.nextZ=null,c*=2}while(o>1);return e}function Iw(e,t,r,n,i){return e=32767*(e-r)*i,t=32767*(t-n)*i,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function Fj(e){var t=e,r=e;do(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next;while(t!==e);return r}function Bs(e,t,r,n,i,a,o,l){return(i-o)*(t-l)-(e-o)*(a-l)>=0&&(e-o)*(n-l)-(r-o)*(t-l)>=0&&(r-o)*(a-l)-(i-o)*(n-l)>=0}function Pj(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!Nj(e,t)&&(gd(e,t)&&gd(t,e)&&Lj(e,t)&&(zr(e.prev,e,t.prev)||zr(e,t.prev,t))||Zm(e,t)&&zr(e.prev,e,e.next)>0&&zr(t.prev,t,t.next)>0)}function zr(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function Zm(e,t){return e.x===t.x&&e.y===t.y}function MR(e,t,r,n){var i=Dv(zr(e,t,r)),a=Dv(zr(e,t,n)),o=Dv(zr(r,n,e)),l=Dv(zr(r,n,t));return!!(i!==a&&o!==l||i===0&&Lv(e,r,t)||a===0&&Lv(e,n,t)||o===0&&Lv(r,e,n)||l===0&&Lv(r,t,n))}function Lv(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function Dv(e){return e>0?1:e<0?-1:0}function Nj(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&MR(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function gd(e,t){return zr(e.prev,e,e.next)<0?zr(e,t,e.next)>=0&&zr(e,e.prev,t)>=0:zr(e,t,e.prev)<0||zr(e,e.next,t)<0}function Lj(e,t){var r=e,n=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==e);return n}function IR(e,t){var r=new Rw(e.i,e.x,e.y),n=new Rw(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function J3(e,t,r,n){var i=new Rw(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function yd(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Rw(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}Qm.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(Fw(e,0,a,r));if(i)for(var l=0,s=t.length;l<s;l++){var c=t[l]*r,d=l<s-1?t[l+1]*r:e.length;o-=Math.abs(Fw(e,c,d,r))}var y=0;for(l=0;l<n.length;l+=3){var g=n[l]*r,m=n[l+1]*r,E=n[l+2]*r;y+=Math.abs((e[g]-e[E])*(e[m+1]-e[g+1])-(e[g]-e[m])*(e[E+1]-e[g+1]))}return o===0&&y===0?0:Math.abs((y-o)/o)};function Fw(e,t,r,n){for(var i=0,a=t,o=r-n;a<r;a+=n)i+=(e[o]-e[a])*(e[a+1]+e[o+1]),o=a;return i}Qm.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,i=0;i<e.length;i++){for(var a=0;a<e[i].length;a++)for(var o=0;o<t;o++)r.vertices.push(e[i][a][o]);i>0&&(n+=e[i-1].length,r.holes.push(n))}return r};var Dj=Pd,$j=Bj;function Bj(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=Dj(e,t));for(var n=0;n<t;n++){var i=r[t+n],a=r[n],o=n,l=e.length;if(i===1/0&&a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:e[o]===a?0:.5;else if(i===1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:0;else if(a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===a?0:1;else{var s=i-a;for(o=n;o<l;o+=t)isNaN(e[o])||(e[o]=s===0?.5:(e[o]-a)/s)}}return e}var zj=function(){var e,t;if(typeof WeakMap!="function")return!1;try{e=new WeakMap([[t={},"one"],[{},"two"],[{},"three"]])}catch{return!1}return!(String(e)!=="[object WeakMap]"||typeof e.set!="function"||e.set({},1)!==e||typeof e.delete!="function"||typeof e.has!="function"||e.get(t)!=="one")},Uj=function(){},jj=Uj(),no=function(e){return e!==jj&&e!==null},_1,eT;function RR(){if(eT)return _1;eT=1;var e=Object.create,t=Object.getPrototypeOf,r={};return _1=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},_1}var Gj=no,Wj={function:!0,object:!0},B2=function(e){return Gj(e)&&Wj[typeof e]||!1},Hj=no,qi=function(e){if(!Hj(e))throw new TypeError("Cannot use null or undefined");return e},S1,tT;function Vj(){if(tT)return S1;tT=1;var e=Object.create,t;return RR()()||(t=FR()),S1=function(){var r,n,i;return!t||t.level!==1?e:(r={},n={},i={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(a){if(a==="__proto__"){n[a]={configurable:!0,enumerable:!1,writable:!0,value:void 0};return}n[a]=i}),Object.defineProperties(r,n),Object.defineProperty(t,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:r}),function(a,o){return e(a===null?r:a,o)})}(),S1}var E1,rT;function FR(){if(rT)return E1;rT=1;var e=B2,t=qi,r=Object.prototype.isPrototypeOf,n=Object.defineProperty,i={configurable:!0,enumerable:!1,writable:!0,value:void 0},a;return a=function(o,l){if(t(o),l===null||e(l))return o;throw new TypeError("Prototype must be null or an object")},E1=function(o){var l,s;return o?(o.level===2?o.set?(s=o.set,l=function(c,d){return s.call(a(c,d),d),c}):l=function(c,d){return a(c,d).__proto__=d,c}:l=function c(d,y){var g;return a(d,y),g=r.call(c.nullPolyfill,d),g&&delete c.nullPolyfill.__proto__,y===null&&(y=c.nullPolyfill),d.__proto__=y,g&&n(c.nullPolyfill,"__proto__",i),d},Object.defineProperty(l,"level",{configurable:!1,enumerable:!1,writable:!1,value:o.level})):null}(function(){var o=Object.create(null),l={},s,c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(c){try{s=c.set,s.call(o,l)}catch{}if(Object.getPrototypeOf(o)===l)return{set:s,level:2}}return o.__proto__=l,Object.getPrototypeOf(o)===l?{level:2}:(o={},o.__proto__=l,Object.getPrototypeOf(o)===l?{level:1}:!1)}()),Vj(),E1}var A1,nT;function z2(){return nT||(nT=1,A1=RR()()?Object.setPrototypeOf:FR()),A1}var T1,iT;function qj(){if(iT)return T1;iT=1;var e=B2;return T1=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},T1}var C1,aT;function Yj(){if(aT)return C1;aT=1;var e=Object.create(null),t=Math.random;return C1=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},C1}var Mi={exports:{}},Xj=void 0,If=function(e){return e!==Xj&&e!==null},Qj=If,Zj={object:!0,function:!0,undefined:!0},U2=function(e){return Qj(e)?hasOwnProperty.call(Zj,typeof e):!1},Kj=U2,Jj=function(e){if(!Kj(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},eG=Jj,tG=function(e){if(typeof e!="function"||!hasOwnProperty.call(e,"length"))return!1;try{if(typeof e.length!="number"||typeof e.call!="function"||typeof e.apply!="function")return!1}catch{return!1}return!eG(e)},rG=tG,nG=/^\s*class[\s{/}]/,iG=Function.prototype.toString,PR=function(e){return!(!rG(e)||nG.test(iG.call(e)))},aG=function(){var e=Object.assign,t;return typeof e!="function"?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")},O1,oT;function oG(){return oT||(oT=1,O1=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),O1}var k1,uT;function uG(){if(uT)return k1;uT=1;var e=no,t=Object.keys;return k1=function(r){return t(e(r)?Object(r):r)},k1}var M1,lT;function lG(){return lT||(lT=1,M1=oG()()?Object.keys:uG()),M1}var I1,sT;function sG(){if(sT)return I1;sT=1;var e=lG(),t=qi,r=Math.max;return I1=function(n,i){var a,o,l=r(arguments.length,2),s;for(n=Object(t(n)),s=function(c){try{n[c]=i[c]}catch(d){a||(a=d)}},o=1;o<l;++o)i=arguments[o],e(i).forEach(s);if(a!==void 0)throw a;return n},I1}var Km=aG()?Object.assign:sG(),fG=no,cG=Array.prototype.forEach,hG=Object.create,dG=function(e,t){var r;for(r in e)t[r]=e[r]},j2=function(e){var t=hG(null);return cG.call(arguments,function(r){!fG(r)||dG(Object(r),t)}),t},R1="razdwatrzy",pG=function(){return typeof R1.contains!="function"?!1:R1.contains("dwa")===!0&&R1.contains("foo")===!1},F1,fT;function vG(){if(fT)return F1;fT=1;var e=String.prototype.indexOf;return F1=function(t){return e.call(this,t,arguments[1])>-1},F1}var NR=pG()?String.prototype.contains:vG(),v0=If,cT=PR,LR=Km,DR=j2,Xh=NR,mG=Mi.exports=function(e,t){var r,n,i,a,o;return arguments.length<2||typeof e!="string"?(a=t,t=e,e=null):a=arguments[2],v0(e)?(r=Xh.call(e,"c"),n=Xh.call(e,"e"),i=Xh.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?LR(DR(a),o):o};mG.gs=function(e,t,r){var n,i,a,o;return typeof e!="string"?(a=r,r=t,t=e,e=null):a=arguments[3],v0(t)?cT(t)?v0(r)?cT(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,v0(e)?(n=Xh.call(e,"c"),i=Xh.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?LR(DR(a),o):o};var P1,hT;function Jm(){if(hT)return P1;hT=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return P1=function(r){return e.call(r)===t},P1}var N1,dT;function eg(){if(dT)return N1;dT=1;var e=Object.prototype.toString,t=e.call("");return N1=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},N1}var L1={exports:{}},D1,pT;function gG(){return pT||(pT=1,D1=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),D1}var $1,vT;function yG(){if(vT)return $1;vT=1;var e=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};return $1=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}(),$1}var B1,mT;function tg(){return mT||(mT=1,B1=gG()()?globalThis:yG()),B1}var z1,gT;function xG(){if(gT)return z1;gT=1;var e=tg(),t={object:!0,symbol:!0};return z1=function(){var r=e.Symbol,n;if(typeof r!="function")return!1;n=r("test symbol");try{String(n)}catch{return!1}return!(!t[typeof r.iterator]||!t[typeof r.toPrimitive]||!t[typeof r.toStringTag])},z1}var U1,yT;function bG(){return yT||(yT=1,U1=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),U1}var j1,xT;function $R(){if(xT)return j1;xT=1;var e=bG();return j1=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},j1}var G1,bT;function wG(){if(bT)return G1;bT=1;var e=Mi.exports,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return G1=function(a){for(var o=0,l,s;i[a+(o||"")];)++o;return a+=o||"",i[a]=!0,l="@@"+a,r(n,l,e.gs(null,function(c){s||(s=!0,r(this,l,e(c)),s=!1)})),l},G1}var W1,wT;function _G(){if(wT)return W1;wT=1;var e=Mi.exports,t=tg().Symbol;return W1=function(r){return Object.defineProperties(r,{hasInstance:e("",t&&t.hasInstance||r("hasInstance")),isConcatSpreadable:e("",t&&t.isConcatSpreadable||r("isConcatSpreadable")),iterator:e("",t&&t.iterator||r("iterator")),match:e("",t&&t.match||r("match")),replace:e("",t&&t.replace||r("replace")),search:e("",t&&t.search||r("search")),species:e("",t&&t.species||r("species")),split:e("",t&&t.split||r("split")),toPrimitive:e("",t&&t.toPrimitive||r("toPrimitive")),toStringTag:e("",t&&t.toStringTag||r("toStringTag")),unscopables:e("",t&&t.unscopables||r("unscopables"))})},W1}var H1,_T;function SG(){if(_T)return H1;_T=1;var e=Mi.exports,t=$R(),r=Object.create(null);return H1=function(n){return Object.defineProperties(n,{for:e(function(i){return r[i]?r[i]:r[i]=n(String(i))}),keyFor:e(function(i){var a;t(i);for(a in r)if(r[a]===i)return a})})},H1}var V1,ST;function EG(){if(ST)return V1;ST=1;var e=Mi.exports,t=$R(),r=tg().Symbol,n=wG(),i=_G(),a=SG(),o=Object.create,l=Object.defineProperties,s=Object.defineProperty,c,d,y;if(typeof r=="function")try{String(r()),y=!0}catch{}else r=null;return d=function(m){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return c(m)},V1=c=function g(m){var E;if(this instanceof g)throw new TypeError("Symbol is not a constructor");return y?r(m):(E=o(d.prototype),m=m===void 0?"":String(m),l(E,{__description__:e("",m),__name__:e("",n(m))}))},i(c),a(c),l(d.prototype,{constructor:e(c),toString:e("",function(){return this.__name__})}),l(c.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),s(c.prototype,c.toPrimitive,e("",function(){var g=t(this);return typeof g=="symbol"?g:g.toString()})),s(c.prototype,c.toStringTag,e("c","Symbol")),s(d.prototype,c.toStringTag,e("c",c.prototype[c.toStringTag])),s(d.prototype,c.toPrimitive,e("c",c.prototype[c.toPrimitive])),V1}var q1,ET;function Ol(){return ET||(ET=1,q1=xG()()?tg().Symbol:EG()),q1}var Y1,AT;function AG(){if(AT)return Y1;AT=1;var e=qi;return Y1=function(){return e(this).length=0,this},Y1}var ba=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},X1,TT;function TG(){if(TT)return X1;TT=1;var e=If,t=U2,r=Object.prototype.toString;return X1=function(n){if(!e(n))return null;if(t(n)){var i=n.toString;if(typeof i!="function"||i===r)return null}try{return""+n}catch{return null}},X1}var Q1,CT;function CG(){return CT||(CT=1,Q1=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),Q1}var Z1,OT;function OG(){if(OT)return Z1;OT=1;var e=CG(),t=/[\n\r\u2028\u2029]/g;return Z1=function(r){var n=e(r);return n===null?"<Non-coercible to string value>":(n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){switch(i){case`
|
|
238
|
-
`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),n)},Z1}var K1,kT;function BR(){if(kT)return K1;kT=1;var e=If,t=U2,r=TG(),n=OG(),i=function(a,o){return a.replace("%v",n(o))};return K1=function(a,o,l){if(!t(l))throw new TypeError(i(o,a));if(!e(a)){if("default"in l)return l.default;if(l.isOptional)return null}var s=r(l.errorMessage);throw e(s)||(s=o),new TypeError(i(s,a))},K1}var J1,MT;function kG(){if(MT)return J1;MT=1;var e=BR(),t=If;return J1=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},J1}var ex,IT;function MG(){if(IT)return ex;IT=1;var e=BR(),t=PR;return ex=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},ex}var tx,RT;function IG(){return RT||(RT=1,tx=function(){var e=Array.from,t,r;return typeof e!="function"?!1:(t=["raz","dwa"],r=e(t),Boolean(r&&r!==t&&r[1]==="dwa"))}),tx}var rx,FT;function RG(){if(FT)return rx;FT=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return rx=function(r){return typeof r=="function"&&t(e.call(r))},rx}var FG=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},nx,PT;function PG(){return PT||(PT=1,nx=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),nx}var NG=FG()?Math.sign:PG(),LG=NG,DG=Math.abs,$G=Math.floor,BG=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:LG(e)*$G(DG(e)))},zG=BG,UG=Math.max,kl=function(e){return UG(0,zG(e))},ix,NT;function jG(){if(NT)return ix;NT=1;var e=Ol().iterator,t=Jm(),r=RG(),n=kl,i=ba,a=qi,o=no,l=eg(),s=Array.isArray,c=Function.prototype.call,d={configurable:!0,enumerable:!0,writable:!0,value:null},y=Object.defineProperty;return ix=function(g){var m=arguments[1],E=arguments[2],M,b,w,_,C,T,P,D,Y,j;if(g=Object(a(g)),o(m)&&i(m),!this||this===Array||!r(this)){if(!m){if(t(g))return C=g.length,C!==1?Array.apply(null,g):(_=new Array(1),_[0]=g[0],_);if(s(g)){for(_=new Array(C=g.length),b=0;b<C;++b)_[b]=g[b];return _}}_=[]}else M=this;if(!s(g)){if((Y=g[e])!==void 0){for(P=i(Y).call(g),M&&(_=new M),D=P.next(),b=0;!D.done;)j=m?c.call(m,E,D.value,b):D.value,M?(d.value=j,y(_,b,d)):_[b]=j,D=P.next(),++b;C=b}else if(l(g)){for(C=g.length,M&&(_=new M),b=0,w=0;b<C;++b)j=g[b],b+1<C&&(T=j.charCodeAt(0),T>=55296&&T<=56319&&(j+=g[++b])),j=m?c.call(m,E,j,w):j,M?(d.value=j,y(_,w,d)):_[w]=j,++w;C=w}}if(C===void 0)for(C=n(g.length),M&&(_=new M(C)),b=0;b<C;++b)j=m?c.call(m,E,g[b],b):g[b],M?(d.value=j,y(_,b,d)):_[b]=j;return M&&(d.value=null,_.length=C),_},ix}var ax,LT;function rg(){return LT||(LT=1,ax=IG()()?Array.from:jG()),ax}var ox,DT;function GG(){if(DT)return ox;DT=1;var e=rg(),t=Km,r=qi;return ox=function(n){var i=Object(r(n)),a=arguments[1],o=Object(arguments[2]);if(i!==n&&!a)return i;var l={};return a?e(a,function(s){(o.ensure||s in n)&&(l[s]=n[s])}):t(l,n),l},ox}var WG=ba,HG=qi,VG=Function.prototype.bind,$T=Function.prototype.call,qG=Object.keys,YG=Object.prototype.propertyIsEnumerable,XG=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(HG(r)),WG(n),i=qG(r),o&&i.sort(typeof o=="function"?VG.call(o,r):void 0),typeof e!="function"&&(e=i[e]),$T.call(e,i,function(l,s){return YG.call(r,l)?$T.call(n,a,r[l],l,r,s):t})}},ng=XG("forEach"),ux,BT;function G2(){if(BT)return ux;BT=1;var e=ba,t=ng,r=Function.prototype.call;return ux=function(n,i){var a={},o=arguments[2];return e(i),t(n,function(l,s,c,d){a[s]=r.call(i,o,l,s,c,d)}),a},ux}var lx,zT;function QG(){if(zT)return lx;zT=1;var e=If,t=kG(),r=MG(),n=GG(),i=j2,a=G2(),o=Function.prototype.bind,l=Object.defineProperty,s=Object.prototype.hasOwnProperty,c;return c=function(d,y,g){var m=t(y)&&r(y.value),E;return E=n(y),delete E.writable,delete E.value,E.get=function(){return!g.overwriteDefinition&&s.call(this,d)?m:(y.value=o.call(m,g.resolveContext?g.resolveContext(this):this),l(this,d,y),this[d])},E},lx=function(d){var y=i(arguments[1]);return e(y.resolveContext)&&r(y.resolveContext),a(d,function(g,m){return c(m,g,y)})},lx}var sx,UT;function zR(){if(UT)return sx;UT=1;var e=AG(),t=Km,r=ba,n=qi,i=Mi.exports,a=QG(),o=Ol(),l=Object.defineProperty,s=Object.defineProperties,c;return sx=c=function(d,y){if(!(this instanceof c))throw new TypeError("Constructor requires 'new'");s(this,{__list__:i("w",n(d)),__context__:i("w",y),__nextIndex__:i("w",0)}),y&&(r(y.on),y.on("_add",this._onAdd),y.on("_delete",this._onDelete),y.on("_clear",this._onClear))},delete c.prototype.constructor,s(c.prototype,t({_next:i(function(){var d;if(!!this.__list__){if(this.__redo__&&(d=this.__redo__.shift(),d!==void 0))return d;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:i(function(){return this._createResult(this._next())}),_createResult:i(function(d){return d===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(d)}}),_resolve:i(function(d){return this.__list__[d]}),_unBind:i(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:i(function(){return"[object "+(this[o.toStringTag]||"Object")+"]"})},a({_onAdd:i(function(d){if(!(d>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){l(this,"__redo__",i("c",[d]));return}this.__redo__.forEach(function(y,g){y>=d&&(this.__redo__[g]=++y)},this),this.__redo__.push(d)}}),_onDelete:i(function(d){var y;d>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(y=this.__redo__.indexOf(d),y!==-1&&this.__redo__.splice(y,1),this.__redo__.forEach(function(g,m){g>d&&(this.__redo__[m]=--g)},this)))}),_onClear:i(function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0})}))),l(c.prototype,o.iterator,i(function(){return this})),sx}var jT;function ZG(){if(jT)return L1.exports;jT=1;var e=z2(),t=NR,r=Mi.exports,n=Ol(),i=zR(),a=Object.defineProperty,o;return o=L1.exports=function(l,s){if(!(this instanceof o))throw new TypeError("Constructor requires 'new'");i.call(this,l),s?t.call(s,"key+value")?s="key+value":t.call(s,"key")?s="key":s="value":s="value",a(this,"__kind__",r("",s))},e&&e(o,i),delete o.prototype.constructor,o.prototype=Object.create(i.prototype,{_resolve:r(function(l){return this.__kind__==="value"?this.__list__[l]:this.__kind__==="key+value"?[l,this.__list__[l]]:l})}),a(o.prototype,n.toStringTag,r("c","Array Iterator")),L1.exports}var fx={exports:{}},GT;function KG(){if(GT)return fx.exports;GT=1;var e=z2(),t=Mi.exports,r=Ol(),n=zR(),i=Object.defineProperty,a;return a=fx.exports=function(o){if(!(this instanceof a))throw new TypeError("Constructor requires 'new'");o=String(o),n.call(this,o),i(this,"__length__",t("",o.length))},e&&e(a,n),delete a.prototype.constructor,a.prototype=Object.create(n.prototype,{_next:t(function(){if(!!this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:t(function(o){var l=this.__list__[o],s;return this.__nextIndex__===this.__length__?l:(s=l.charCodeAt(0),s>=55296&&s<=56319?l+this.__list__[this.__nextIndex__++]:l)})}),i(a.prototype,r.toStringTag,t("c","String Iterator")),fx.exports}var cx,WT;function JG(){if(WT)return cx;WT=1;var e=Jm(),t=no,r=eg(),n=Ol().iterator,i=Array.isArray;return cx=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},cx}var hx,HT;function eW(){if(HT)return hx;HT=1;var e=JG();return hx=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},hx}var dx,VT;function UR(){if(VT)return dx;VT=1;var e=Jm(),t=eg(),r=ZG(),n=KG(),i=eW(),a=Ol().iterator;return dx=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},dx}var px,qT;function tW(){if(qT)return px;qT=1;var e=Jm(),t=ba,r=eg(),n=UR(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return px=function(l,s){var c,d=arguments[2],y,g,m,E,M,b,w;if(i(l)||e(l)?c="array":r(l)?c="string":l=n(l),t(s),g=function(){m=!0},c==="array"){o.call(l,function(_){return a.call(s,d,_,g),m});return}if(c==="string"){for(M=l.length,E=0;E<M&&(b=l[E],E+1<M&&(w=b.charCodeAt(0),w>=55296&&w<=56319&&(b+=l[++E])),a.call(s,d,b,g),!m);++E);return}for(y=l.next();!y.done;){if(a.call(s,d,y.value,g),m)return;y=l.next()}},px}var vx,YT;function rW(){return YT||(YT=1,vx=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),vx}var mx,XT;function nW(){if(XT)return mx;XT=1;var e=no,t=z2(),r=qj(),n=qi,i=Yj(),a=Mi.exports,o=UR(),l=tW(),s=Ol().toStringTag,c=rW(),d=Array.isArray,y=Object.defineProperty,g=Object.prototype.hasOwnProperty,m=Object.getPrototypeOf,E;return mx=E=function(){var M=arguments[0],b;if(!(this instanceof E))throw new TypeError("Constructor requires 'new'");return b=c&&t&&WeakMap!==E?t(new WeakMap,m(this)):this,e(M)&&(d(M)||(M=o(M))),y(b,"__weakMapData__",a("c","$weakMap$"+i())),M&&l(M,function(w){n(w),b.set(w[0],w[1])}),b},c&&(t&&t(E,WeakMap),E.prototype=Object.create(WeakMap.prototype,{constructor:a(E)})),Object.defineProperties(E.prototype,{delete:a(function(M){return g.call(r(M),this.__weakMapData__)?(delete M[this.__weakMapData__],!0):!1}),get:a(function(M){if(!!g.call(r(M),this.__weakMapData__))return M[this.__weakMapData__]}),has:a(function(M){return g.call(r(M),this.__weakMapData__)}),set:a(function(M,b){return y(r(M),this.__weakMapData__,a("c",b)),this}),toString:a(function(){return"[object WeakMap]"})}),y(E.prototype,s,a("c","WeakMap")),mx}var jR=zj()?WeakMap:nW(),iW=function(e,t,r){if(typeof Array.prototype.findIndex=="function")return e.findIndex(t,r);if(typeof t!="function")throw new TypeError("predicate must be a function");var n=Object(e),i=n.length;if(i===0)return-1;for(var a=0;a<i;a++)if(t.call(r,n[a],a,n))return a;return-1};const $v=Ym,aW=Pd,Pw=bl,_s=TR,oW=pu,uW=Nd,QT=$2.exports,lW=$j,{float32:sW,fract32:gx}=nu.exports,fW=jR,ZT=qm,cW=iW;var Ute=wr;function wr(e,t){if(!(this instanceof wr))return new wr(e,t);if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=e._gl,this.regl=e,this.passes=[],this.shaders=wr.shaders.has(e)?wr.shaders.get(e):wr.shaders.set(e,wr.createShaders(e)).get(e),this.update(t)}wr.dashMult=2;wr.maxPatternLength=256;wr.precisionThreshold=3e6;wr.maxPoints=1e4;wr.maxLines=2048;wr.shaders=new fW;wr.createShaders=function(e){let t=e.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),r={primitive:"triangle strip",instances:e.prop("count"),count:4,offset:0,uniforms:{miterMode:(o,l)=>l.join==="round"?2:1,miterLimit:e.prop("miterLimit"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),thickness:e.prop("thickness"),dashTexture:e.prop("dashTexture"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),dashLength:e.prop("dashLength"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight],depth:e.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:(o,l)=>!l.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},n=e(Pw({vert:_s("./rect-vert.glsl"),frag:_s("./rect-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},r)),i;try{i=e(Pw({cull:{enable:!0,face:"back"},vert:_s("./miter-vert.glsl"),frag:_s("./miter-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aColor:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:e.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},r))}catch{i=n}return{fill:e({primitive:"triangle",elements:(o,l)=>l.triangles,offset:0,vert:_s("./fill-vert.glsl"),frag:_s("./fill-frag.glsl"),uniforms:{scale:e.prop("scale"),color:e.prop("fill"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight]},attributes:{position:{buffer:e.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8}},blend:r.blend,depth:{enable:!1},scissor:r.scissor,stencil:r.stencil,viewport:r.viewport}),rect:n,miter:i}};wr.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};wr.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};wr.prototype.draw=function(...e){return(e.length?e:this.passes).forEach((t,r)=>{if(t&&Array.isArray(t))return this.draw(...t);typeof t=="number"&&(t=this.passes[t]),t&&t.count>1&&t.opacity&&(this.regl._refresh(),t.fill&&t.triangles&&t.triangles.length>2&&this.shaders.fill(t),t.thickness&&(t.scale[0]*t.viewport.width>wr.precisionThreshold||t.scale[1]*t.viewport.height>wr.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=wr.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};wr.prototype.update=function(e){if(!e)return;e.length!=null?typeof e[0]=="number"&&(e=[{positions:e}]):Array.isArray(e)||(e=[e]);let{regl:t,gl:r}=this;if(e.forEach((i,a)=>{let o=this.passes[a];if(i!==void 0){if(i===null){this.passes[a]=null;return}if(typeof i[0]=="number"&&(i={positions:i}),i=oW(i,{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"}),o||(this.passes[a]=o={id:a,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:t.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:t.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},i=Pw({},wr.defaults,i)),i.thickness!=null&&(o.thickness=parseFloat(i.thickness)),i.opacity!=null&&(o.opacity=parseFloat(i.opacity)),i.miterLimit!=null&&(o.miterLimit=parseFloat(i.miterLimit)),i.overlay!=null&&(o.overlay=!!i.overlay,a<wr.maxLines&&(o.depth=2*(wr.maxLines-1-a%wr.maxLines)/wr.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?$v(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=ZT(i.viewport)),o.viewport||(o.viewport=ZT([r.drawingBufferWidth,r.drawingBufferHeight])),i.close!=null&&(o.close=i.close),i.positions===null&&(i.positions=[]),i.positions){let c,d;if(i.positions.x&&i.positions.y){let E=i.positions.x,M=i.positions.y;d=o.count=Math.max(E.length,M.length),c=new Float64Array(d*2);for(let b=0;b<d;b++)c[b*2]=E[b],c[b*2+1]=M[b]}else c=uW(i.positions,"float64"),d=o.count=Math.floor(c.length/2);let y=o.bounds=aW(c,2);if(o.fill){let E=[],M={},b=0;for(let w=0,_=0,C=o.count;w<C;w++){let T=c[w*2],P=c[w*2+1];isNaN(T)||isNaN(P)||T==null||P==null?(T=c[b*2],P=c[b*2+1],M[w]=b):b=w,E[_++]=T,E[_++]=P}if(i.splitNull){o.count-1 in M||(M[o.count]=o.count-1);let w=Object.keys(M).map(Number).sort((P,D)=>P-D),_=[],C=0,T=o.hole!=null?o.hole[0]:null;if(T!=null){let P=cW(w,D=>D>=T);w=w.slice(0,P),w.push(T)}for(let P=0;P<w.length;P++){let D=E.slice(C*2,w[P]*2).concat(T?E.slice(T*2):[]),Y=(o.hole||[]).map(re=>re-T+(w[P]-C)),j=QT(D,Y);j=j.map(re=>re+C+(re+C<w[P]?0:T-w[P])),_.push(...j),C=w[P]+1}for(let P=0,D=_.length;P<D;P++)M[_[P]]!=null&&(_[P]=M[_[P]]);o.triangles=_}else{let w=QT(E,o.hole||[]);for(let _=0,C=w.length;_<C;_++)M[w[_]]!=null&&(w[_]=M[w[_]]);o.triangles=w}}let g=new Float64Array(c);lW(g,2,y);let m=new Float64Array(d*2+6);o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(m[0]=g[d*2-4],m[1]=g[d*2-3]):(m[0]=g[d*2-2],m[1]=g[d*2-1]):(m[0]=g[0],m[1]=g[1]),m.set(g,2),o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(m[d*2+2]=g[2],m[d*2+3]=g[3],o.count-=1):(m[d*2+2]=g[0],m[d*2+3]=g[1],m[d*2+4]=g[2],m[d*2+5]=g[3]):(m[d*2+2]=g[d*2-2],m[d*2+3]=g[d*2-1],m[d*2+4]=g[d*2-2],m[d*2+5]=g[d*2-1]);var l=sW(m);o.positionBuffer(l);var s=gx(m,l);o.positionFractBuffer(s)}if(i.range?o.range=i.range:o.range||(o.range=o.bounds),(i.range||i.positions)&&o.count){let c=o.bounds,d=c[2]-c[0],y=c[3]-c[1],g=o.range[2]-o.range[0],m=o.range[3]-o.range[1];o.scale=[d/g,y/m],o.translate=[-o.range[0]/g+c[0]/g||0,-o.range[1]/m+c[1]/m||0],o.scaleFract=gx(o.scale),o.translateFract=gx(o.translate)}if(i.dashes){let c=0,d;if(!i.dashes||i.dashes.length<2)c=1,d=new Uint8Array([255,255,255,255,255,255,255,255]);else{c=0;for(let m=0;m<i.dashes.length;++m)c+=i.dashes[m];d=new Uint8Array(c*wr.dashMult);let y=0,g=255;for(let m=0;m<2;m++)for(let E=0;E<i.dashes.length;++E){for(let M=0,b=i.dashes[E]*wr.dashMult*.5;M<b;++M)d[y++]=g;g^=255}}o.dashLength=c,o.dashTexture({channels:1,data:d,width:d.length,height:1,mag:"linear",min:"linear"},0,0)}if(i.color){let c=o.count,d=i.color;d||(d="transparent");let y=new Uint8Array(c*4+4);if(!Array.isArray(d)||typeof d[0]=="number"){let g=$v(d,"uint8");for(let m=0;m<c+1;m++)y.set(g,m*4)}else{for(let g=0;g<c;g++){let m=$v(d[g],"uint8");y.set(m,g*4)}y.set($v(d[0],"uint8"),c*4)}o.colorBuffer({usage:"dynamic",type:"uint8",data:y})}}}),e.length<this.passes.length){for(let i=e.length;i<this.passes.length;i++){let a=this.passes[i];!a||(a.colorBuffer.destroy(),a.positionBuffer.destroy(),a.dashTexture.destroy())}this.passes.length=e.length}let n=[];for(let i=0;i<this.passes.length;i++)this.passes[i]!==null&&n.push(this.passes[i]);return this.passes=n,this};wr.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const hW=Pd,dW=Ym,pW=CR,vW=pu,KT=bl,JT=Nd,{float32:mW,fract32:yx}=nu.exports;var jte=gW;const eC=[[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 gW(e,t){if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let r=e._gl,n,i,a,o,l,s,c={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},d=[];return o=e.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),i=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),a=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),s=e.buffer({usage:"static",type:"float",data:eC}),E(t),n=e({vert:`
|
|
239
|
-
precision highp float;
|
|
240
|
-
|
|
241
|
-
attribute vec2 position, positionFract;
|
|
242
|
-
attribute vec4 error;
|
|
243
|
-
attribute vec4 color;
|
|
244
|
-
|
|
245
|
-
attribute vec2 direction, lineOffset, capOffset;
|
|
246
|
-
|
|
247
|
-
uniform vec4 viewport;
|
|
248
|
-
uniform float lineWidth, capSize;
|
|
249
|
-
uniform vec2 scale, scaleFract, translate, translateFract;
|
|
250
|
-
|
|
251
|
-
varying vec4 fragColor;
|
|
252
|
-
|
|
253
|
-
void main() {
|
|
254
|
-
fragColor = color / 255.;
|
|
255
|
-
|
|
256
|
-
vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
|
|
257
|
-
|
|
258
|
-
vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
|
|
259
|
-
|
|
260
|
-
vec2 position = position + dxy;
|
|
261
|
-
|
|
262
|
-
vec2 pos = (position + translate) * scale
|
|
263
|
-
+ (positionFract + translateFract) * scale
|
|
264
|
-
+ (position + translate) * scaleFract
|
|
265
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
266
|
-
|
|
267
|
-
pos += pixelOffset / viewport.zw;
|
|
268
|
-
|
|
269
|
-
gl_Position = vec4(pos * 2. - 1., 0, 1);
|
|
270
|
-
}
|
|
271
|
-
`,frag:`
|
|
272
|
-
precision highp float;
|
|
273
|
-
|
|
274
|
-
varying vec4 fragColor;
|
|
275
|
-
|
|
276
|
-
uniform float opacity;
|
|
277
|
-
|
|
278
|
-
void main() {
|
|
279
|
-
gl_FragColor = fragColor;
|
|
280
|
-
gl_FragColor.a *= opacity;
|
|
281
|
-
}
|
|
282
|
-
`,uniforms:{range:e.prop("range"),lineWidth:e.prop("lineWidth"),capSize:e.prop("capSize"),opacity:e.prop("opacity"),scale:e.prop("scale"),translate:e.prop("translate"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),viewport:(b,w)=>[w.viewport.x,w.viewport.y,b.viewportWidth,b.viewportHeight]},attributes:{color:{buffer:o,offset:(b,w)=>w.offset*4,divisor:1},position:{buffer:i,offset:(b,w)=>w.offset*8,divisor:1},positionFract:{buffer:a,offset:(b,w)=>w.offset*8,divisor:1},error:{buffer:l,offset:(b,w)=>w.offset*16,divisor:1},direction:{buffer:s,stride:24,offset:0},lineOffset:{buffer:s,stride:24,offset:8},capOffset:{buffer:s,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:e.prop("viewport")},viewport:e.prop("viewport"),stencil:!1,instances:e.prop("count"),count:eC.length}),KT(y,{update:E,draw:g,destroy:M,regl:e,gl:r,canvas:r.canvas,groups:d}),y;function y(b){b?E(b):b===null&&M(),g()}function g(b){if(typeof b=="number")return m(b);b&&!Array.isArray(b)&&(b=[b]),e._refresh(),d.forEach((w,_)=>{if(!!w){if(b&&(b[_]?w.draw=!0:w.draw=!1),!w.draw){w.draw=!0;return}m(_)}})}function m(b){typeof b=="number"&&(b=d[b]),b!=null&&(!(b&&b.count&&b.color&&b.opacity&&b.positions&&b.positions.length>1)||(b.scaleRatio=[b.scale[0]*b.viewport.width,b.scale[1]*b.viewport.height],n(b),b.after&&b.after(b)))}function E(b){if(!b)return;b.length!=null?typeof b[0]=="number"&&(b=[{positions:b}]):Array.isArray(b)||(b=[b]);let w=0,_=0;if(y.groups=d=b.map((P,D)=>{let Y=d[D];if(P)typeof P=="function"?P={after:P}:typeof P[0]=="number"&&(P={positions:P});else return Y;return P=vW(P,{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"}),Y||(d[D]=Y={id:D,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},P=KT({},c,P)),pW(Y,P,[{lineWidth:j=>+j*.5,capSize:j=>+j*.5,opacity:parseFloat,errors:j=>(j=JT(j),_+=j.length,j),positions:(j,re)=>(j=JT(j,"float64"),re.count=Math.floor(j.length/2),re.bounds=hW(j,2),re.offset=w,w+=re.count,j)},{color:(j,re)=>{let Ee=re.count;if(j||(j="transparent"),!Array.isArray(j)||typeof j[0]=="number"){let ke=j;j=Array(Ee);for(let Pe=0;Pe<Ee;Pe++)j[Pe]=ke}if(j.length<Ee)throw Error("Not enough colors");let me=new Uint8Array(Ee*4);for(let ke=0;ke<Ee;ke++){let Pe=dW(j[ke],"uint8");me.set(Pe,ke*4)}return me},range:(j,re,Ee)=>{let me=re.bounds;return j||(j=me),re.scale=[1/(j[2]-j[0]),1/(j[3]-j[1])],re.translate=[-j[0],-j[1]],re.scaleFract=yx(re.scale),re.translateFract=yx(re.translate),j},viewport:j=>{let re;return Array.isArray(j)?re={x:j[0],y:j[1],width:j[2]-j[0],height:j[3]-j[1]}:j?(re={x:j.x||j.left||0,y:j.y||j.top||0},j.right?re.width=j.right-re.x:re.width=j.w||j.width||0,j.bottom?re.height=j.bottom-re.y:re.height=j.h||j.height||0):re={x:0,y:0,width:r.drawingBufferWidth,height:r.drawingBufferHeight},re}}]),Y}),w||_){let P=d.reduce((re,Ee,me)=>re+(Ee?Ee.count:0),0),D=new Float64Array(P*2),Y=new Uint8Array(P*4),j=new Float32Array(P*4);d.forEach((re,Ee)=>{if(!re)return;let{positions:me,count:ke,offset:Pe,color:Le,errors:ut}=re;!ke||(Y.set(Le,Pe*4),j.set(ut,Pe*4),D.set(me,Pe*2))});var C=mW(D);i(C);var T=yx(D,C);a(T),o(Y),l(j)}}function M(){i.destroy(),a.destroy(),o.destroy(),l.destroy(),s.destroy()}}var tC=/[\'\"]/,yW=function(t){return t?(tC.test(t.charAt(0))&&(t=t.substr(1)),tC.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const GR=["inherit","initial","unset"],WR=["caption","icon","menu","message-box","small-caption","status-bar"],HR=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],VR=["normal","italic","oblique"],qR=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function YR(e,t){if(typeof e!="string")return[e];var r=[e];typeof t=="string"||Array.isArray(t)?t={brackets:t}:t||(t={});var n=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],i=t.escape||"___",a=!!t.flat;n.forEach(function(s){var c=new RegExp(["\\",s[0],"[^\\",s[0],"\\",s[1],"]*\\",s[1]].join("")),d=[];function y(g,m,E){var M=r.push(g.slice(s[0].length,-s[1].length))-1;return d.push(M),i+M+i}r.forEach(function(g,m){for(var E,M=0;g!=E;)if(E=g,g=g.replace(c,y),M++>1e4)throw Error("References have circular dependency. Please, check them.");r[m]=g}),d=d.reverse(),r=r.map(function(g){return d.forEach(function(m){g=g.replace(new RegExp("(\\"+i+m+"\\"+i+")","g"),s[0]+"$1"+s[1])}),g})});var o=new RegExp("\\"+i+"([0-9]+)\\"+i);function l(s,c,d){for(var y=[],g,m=0;g=o.exec(s);){if(m++>1e4)throw Error("Circular references in parenthesis");y.push(s.slice(0,g.index)),y.push(l(c[g[1]],c)),s=s.slice(g.index+g[0].length)}return y.push(s),y}return a?r:l(r[0],r)}function XR(e,t){if(t&&t.flat){var r=t&&t.escape||"___",n=e[0],i;if(!n)return"";for(var a=new RegExp("\\"+r+"([0-9]+)\\"+r),o=0;n!=i;){if(o++>1e4)throw Error("Circular references in "+e);i=n,n=n.replace(a,l)}return n}return e.reduce(function s(c,d){return Array.isArray(d)&&(d=d.reduce(s,"")),c+d},"");function l(s,c){if(e[c]==null)throw Error("Reference "+c+"is undefined");return e[c]}}function W2(e,t){return Array.isArray(e)?XR(e,t):YR(e,t)}W2.parse=YR;W2.stringify=XR;var xW=W2,rC=xW,bW=function(t,r,n){if(t==null)throw Error("First argument should be a string");if(r==null)throw Error("Separator should be a string or a RegExp");n?(typeof n=="string"||Array.isArray(n))&&(n={ignore:n}):n={},n.escape==null&&(n.escape=!0),n.ignore==null?n.ignore=["[]","()","{}","<>",'""',"''","``","\u201C\u201D","\xAB\xBB"]:(typeof n.ignore=="string"&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map(function(y){return y.length===1&&(y=y+y),y}));var i=rC.parse(t,{flat:!0,brackets:n.ignore}),a=i[0],o=a.split(r);if(n.escape){for(var l=[],s=0;s<o.length;s++){var c=o[s],d=o[s+1];c[c.length-1]==="\\"&&c[c.length-2]!=="\\"?(l.push(c+r+d),s++):l.push(c)}o=l}for(var s=0;s<o.length;s++)i[0]=o[s],o[s]=rC.stringify(i,{flat:!0});return o};const wW=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var _W=wW,QR={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||_W.indexOf(t)!==-1}},SW=yW,EW=GR,AW=WR,TW=HR,CW=VR,OW=qR,xx=bW,kW=QR.isSize,MW=ZR,ph=ZR.cache={};function ZR(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(ph[e])return ph[e];if(e==="")throw new Error("Cannot parse an empty string.");if(AW.indexOf(e)!==-1)return ph[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=xx(e,/\s+/),n;n=r.shift();){if(EW.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),ph[e]=t;if(CW.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(OW.indexOf(n)!==-1){t.stretch=n;continue}if(TW.indexOf(n)!==-1){t.weight=n;continue}if(kW(n)){var i=xx(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=nC(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=nC(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=xx(r.join(" "),/\s*,\s*/).map(SW),ph[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function nC(e){var t=parseFloat(e);return t.toString()===e?t:e}var IW=pu,RW=QR.isSize,FW=Ld(GR),PW=Ld(WR),NW=Ld(HR),LW=Ld(VR),DW=Ld(qR),$W={normal:1,"small-caps":1},BW={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},bx={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},KR=function(t){if(t=IW(t,{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"}),t.system)return t.system&&vh(t.system,PW),t.system;if(vh(t.style,LW),vh(t.variant,$W),vh(t.weight,NW),vh(t.stretch,DW),t.size==null&&(t.size=bx.size),typeof t.size=="number"&&(t.size+="px"),!RW)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=bx.family),Array.isArray(t.family)&&(t.family.length||(t.family=[bx.family]),t.family=t.family.map(function(n){return BW[n]?n:'"'+n+'"'}).join(", "));var r=[];return r.push(t.style),t.variant!==t.style&&r.push(t.variant),t.weight!==t.variant&&t.weight!==t.style&&r.push(t.weight),t.stretch!==t.weight&&t.stretch!==t.variant&&t.stretch!==t.style&&r.push(t.stretch),r.push(t.size+(t.lineHeight==null||t.lineHeight==="normal"||t.lineHeight+""=="1"?"":"/"+t.lineHeight)),r.push(t.family),r.filter(Boolean).join(" ")};function vh(e,t){if(e&&!t[e]&&!FW[e])throw Error("Unknown keyword `"+e+"`");return e}function Ld(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var zW={parse:MW,stringify:KR},JR={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ar,function(){var r=function(F,H){for(var K=Object.keys(H),Se=0;Se<K.length;++Se)F[K[Se]]=H[K[Se]];return F},n=0,i=0,a=5,o=6;function l(F,H){this.id=n++,this.type=F,this.data=H}function s(F){return F.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function c(F){if(F.length===0)return[];var H=F.charAt(0),K=F.charAt(F.length-1);if(F.length>1&&H===K&&(H==='"'||H==="'"))return['"'+s(F.substr(1,F.length-2))+'"'];var Se=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(F);if(Se)return c(F.substr(0,Se.index)).concat(c(Se[1])).concat(c(F.substr(Se.index+Se[0].length)));var Me=F.split(".");if(Me.length===1)return['"'+s(F)+'"'];for(var ye=[],we=0;we<Me.length;++we)ye=ye.concat(c(Me[we]));return ye}function d(F){return"["+c(F).join("][")+"]"}function y(F,H){return new l(F,d(H+""))}function g(F){return typeof F=="function"&&!F._reglType||F instanceof l}function m(F,H){if(typeof F=="function")return new l(i,F);if(typeof F=="number"||typeof F=="boolean")return new l(a,F);if(Array.isArray(F))return new l(o,F.map(function(K,Se){return m(K)}));if(F instanceof l)return F}var E={DynamicVariable:l,define:y,isDynamic:g,unbox:m,accessor:d},M={next:typeof requestAnimationFrame=="function"?function(F){return requestAnimationFrame(F)}:function(F){return setTimeout(F,16)},cancel:typeof cancelAnimationFrame=="function"?function(F){return cancelAnimationFrame(F)}:clearTimeout},b=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date};function w(){var F={"":0},H=[""];return{id:function(K){var Se=F[K];return Se||(Se=F[K]=H.length,H.push(K),Se)},str:function(K){return H[K]}}}function _(F,H,K){var Se=document.createElement("canvas");r(Se.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),F.appendChild(Se),F===document.body&&(Se.style.position="absolute",r(F.style,{margin:0,padding:0}));function Me(){var Ye=window.innerWidth,Xe=window.innerHeight;if(F!==document.body){var et=Se.getBoundingClientRect();Ye=et.right-et.left,Xe=et.bottom-et.top}Se.width=K*Ye,Se.height=K*Xe}var ye;F!==document.body&&typeof ResizeObserver=="function"?(ye=new ResizeObserver(function(){setTimeout(Me)}),ye.observe(F)):window.addEventListener("resize",Me,!1);function we(){ye?ye.disconnect():window.removeEventListener("resize",Me),F.removeChild(Se)}return Me(),{canvas:Se,onDestroy:we}}function C(F,H){function K(Se){try{return F.getContext(Se,H)}catch{return null}}return K("webgl")||K("experimental-webgl")||K("webgl-experimental")}function T(F){return typeof F.nodeName=="string"&&typeof F.appendChild=="function"&&typeof F.getBoundingClientRect=="function"}function P(F){return typeof F.drawArrays=="function"||typeof F.drawElements=="function"}function D(F){return typeof F=="string"?F.split():F}function Y(F){return typeof F=="string"?document.querySelector(F):F}function j(F){var H=F||{},K,Se,Me,ye,we={},Ye=[],Xe=[],et=typeof window>"u"?1:window.devicePixelRatio,ft=!1,It={},St=function(he){},it=function(){};if(typeof H=="string"?K=document.querySelector(H):typeof H=="object"&&(T(H)?K=H:P(H)?(ye=H,Me=ye.canvas):("gl"in H?ye=H.gl:"canvas"in H?Me=Y(H.canvas):"container"in H&&(Se=Y(H.container)),"attributes"in H&&(we=H.attributes),"extensions"in H&&(Ye=D(H.extensions)),"optionalExtensions"in H&&(Xe=D(H.optionalExtensions)),"onDone"in H&&(St=H.onDone),"profile"in H&&(ft=!!H.profile),"pixelRatio"in H&&(et=+H.pixelRatio),"cachedCode"in H&&(It=H.cachedCode))),K&&(K.nodeName.toLowerCase()==="canvas"?Me=K:Se=K),!ye){if(!Me){var Ge=_(Se||document.body,St,et);if(!Ge)return null;Me=Ge.canvas,it=Ge.onDestroy}we.premultipliedAlpha===void 0&&(we.premultipliedAlpha=!0),ye=C(Me,we)}return ye?{gl:ye,canvas:Me,container:Se,extensions:Ye,optionalExtensions:Xe,pixelRatio:et,profile:ft,cachedCode:It,onDone:St,onDestroy:it}:(it(),St("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function re(F,H){var K={};function Se(we){var Ye=we.toLowerCase(),Xe;try{Xe=K[Ye]=F.getExtension(Ye)}catch{}return!!Xe}for(var Me=0;Me<H.extensions.length;++Me){var ye=H.extensions[Me];if(!Se(ye))return H.onDestroy(),H.onDone('"'+ye+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return H.optionalExtensions.forEach(Se),{extensions:K,restore:function(){Object.keys(K).forEach(function(we){if(K[we]&&!Se(we))throw new Error("(regl): error restoring extension "+we)})}}}function Ee(F,H){for(var K=Array(F),Se=0;Se<F;++Se)K[Se]=H(Se);return K}var me=5120,ke=5121,Pe=5122,Le=5123,ut=5124,nt=5125,De=5126;function We(F){for(var H=16;H<=1<<28;H*=16)if(F<=H)return H;return 0}function _t(F){var H,K;return H=(F>65535)<<4,F>>>=H,K=(F>255)<<3,F>>>=K,H|=K,K=(F>15)<<2,F>>>=K,H|=K,K=(F>3)<<1,F>>>=K,H|=K,H|F>>1}function He(){var F=Ee(8,function(){return[]});function H(ye){var we=We(ye),Ye=F[_t(we)>>2];return Ye.length>0?Ye.pop():new ArrayBuffer(we)}function K(ye){F[_t(ye.byteLength)>>2].push(ye)}function Se(ye,we){var Ye=null;switch(ye){case me:Ye=new Int8Array(H(we),0,we);break;case ke:Ye=new Uint8Array(H(we),0,we);break;case Pe:Ye=new Int16Array(H(2*we),0,we);break;case Le:Ye=new Uint16Array(H(2*we),0,we);break;case ut:Ye=new Int32Array(H(4*we),0,we);break;case nt:Ye=new Uint32Array(H(4*we),0,we);break;case De:Ye=new Float32Array(H(4*we),0,we);break;default:return null}return Ye.length!==we?Ye.subarray(0,we):Ye}function Me(ye){K(ye.buffer)}return{alloc:H,free:K,allocType:Se,freeType:Me}}var be=He();be.zero=He();var Ve=3408,st=3410,Qe=3411,ct=3412,yt=3413,Wt=3414,Vt=3415,Ze=33901,At=33902,Ut=3379,Ce=3386,W=34921,ae=36347,I=36348,A=35661,k=35660,$=34930,fe=36349,Fe=34076,ze=34024,Qt=7936,sr=7937,nr=7938,Hr=35724,kr=34047,Xi=36063,mu=34852,wa=3553,pi=34067,ep=34069,Ii=33984,gu=6408,Fl=5126,Pl=5121,Nl=36160,Ng=36053,_a=36064,Lg=16384,Ll=function(F,H){var K=1;H.ext_texture_filter_anisotropic&&(K=F.getParameter(kr));var Se=1,Me=1;H.webgl_draw_buffers&&(Se=F.getParameter(mu),Me=F.getParameter(Xi));var ye=!!H.oes_texture_float;if(ye){var we=F.createTexture();F.bindTexture(wa,we),F.texImage2D(wa,0,gu,1,1,0,gu,Fl,null);var Ye=F.createFramebuffer();if(F.bindFramebuffer(Nl,Ye),F.framebufferTexture2D(Nl,_a,wa,we,0),F.bindTexture(wa,null),F.checkFramebufferStatus(Nl)!==Ng)ye=!1;else{F.viewport(0,0,1,1),F.clearColor(1,0,0,1),F.clear(Lg);var Xe=be.allocType(Fl,4);F.readPixels(0,0,1,1,gu,Fl,Xe),F.getError()?ye=!1:(F.deleteFramebuffer(Ye),F.deleteTexture(we),ye=Xe[0]===1),be.freeType(Xe)}}var et=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ft=!0;if(!et){var It=F.createTexture(),St=be.allocType(Pl,36);F.activeTexture(Ii),F.bindTexture(pi,It),F.texImage2D(ep,0,gu,3,3,0,gu,Pl,St),be.freeType(St),F.bindTexture(pi,null),F.deleteTexture(It),ft=!F.getError()}return{colorBits:[F.getParameter(st),F.getParameter(Qe),F.getParameter(ct),F.getParameter(yt)],depthBits:F.getParameter(Wt),stencilBits:F.getParameter(Vt),subpixelBits:F.getParameter(Ve),extensions:Object.keys(H).filter(function(it){return!!H[it]}),maxAnisotropic:K,maxDrawbuffers:Se,maxColorAttachments:Me,pointSizeDims:F.getParameter(Ze),lineWidthDims:F.getParameter(At),maxViewportDims:F.getParameter(Ce),maxCombinedTextureUnits:F.getParameter(A),maxCubeMapSize:F.getParameter(Fe),maxRenderbufferSize:F.getParameter(ze),maxTextureUnits:F.getParameter($),maxTextureSize:F.getParameter(Ut),maxAttributes:F.getParameter(W),maxVertexUniforms:F.getParameter(ae),maxVertexTextureUnits:F.getParameter(k),maxVaryingVectors:F.getParameter(I),maxFragmentUniforms:F.getParameter(fe),glsl:F.getParameter(Hr),renderer:F.getParameter(sr),vendor:F.getParameter(Qt),version:F.getParameter(nr),readFloat:ye,npotTextureCube:ft}},Jr=function(F){return F instanceof Uint8Array||F instanceof Uint16Array||F instanceof Uint32Array||F instanceof Int8Array||F instanceof Int16Array||F instanceof Int32Array||F instanceof Float32Array||F instanceof Float64Array||F instanceof Uint8ClampedArray};function ei(F){return!!F&&typeof F=="object"&&Array.isArray(F.shape)&&Array.isArray(F.stride)&&typeof F.offset=="number"&&F.shape.length===F.stride.length&&(Array.isArray(F.data)||Jr(F.data))}var Ln=function(F){return Object.keys(F).map(function(H){return F[H]})},ir={shape:np,flatten:vi};function tp(F,H,K){for(var Se=0;Se<H;++Se)K[Se]=F[Se]}function Ri(F,H,K,Se){for(var Me=0,ye=0;ye<H;++ye)for(var we=F[ye],Ye=0;Ye<K;++Ye)Se[Me++]=we[Ye]}function oo(F,H,K,Se,Me,ye){for(var we=ye,Ye=0;Ye<H;++Ye)for(var Xe=F[Ye],et=0;et<K;++et)for(var ft=Xe[et],It=0;It<Se;++It)Me[we++]=ft[It]}function rp(F,H,K,Se,Me){for(var ye=1,we=K+1;we<H.length;++we)ye*=H[we];var Ye=H[K];if(H.length-K===4){var Xe=H[K+1],et=H[K+2],ft=H[K+3];for(we=0;we<Ye;++we)oo(F[we],Xe,et,ft,Se,Me),Me+=ye}else for(we=0;we<Ye;++we)rp(F[we],H,K+1,Se,Me),Me+=ye}function vi(F,H,K,Se){var Me=1;if(H.length)for(var ye=0;ye<H.length;++ye)Me*=H[ye];else Me=0;var we=Se||be.allocType(K,Me);switch(H.length){case 0:break;case 1:tp(F,H[0],we);break;case 2:Ri(F,H[0],H[1],we);break;case 3:oo(F,H[0],H[1],H[2],we,0);break;default:rp(F,H,0,we,0)}return we}function np(F){for(var H=[],K=F;K.length;K=K[0])H.push(K.length);return H}var yu={"[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},Dg=5120,ip=5122,$g=5124,ap=5121,Bg=5123,xu=5125,Lf=5126,op=5126,bu={int8:Dg,int16:ip,int32:$g,uint8:ap,uint16:Bg,uint32:xu,float:Lf,float32:op},Dl=35048,Df=35040,Qi={dynamic:Dl,stream:Df,static:35044},Gn=ir.flatten,$l=ir.shape,Bl=35044,ti=35040,wu=5121,_u=5126,Xr=[];Xr[5120]=1,Xr[5122]=2,Xr[5124]=4,Xr[5121]=1,Xr[5123]=2,Xr[5125]=4,Xr[5126]=4;function Sa(F){return yu[Object.prototype.toString.call(F)]|0}function $f(F,H){for(var K=0;K<H.length;++K)F[K]=H[K]}function Bf(F,H,K,Se,Me,ye,we){for(var Ye=0,Xe=0;Xe<K;++Xe)for(var et=0;et<Se;++et)F[Ye++]=H[Me*Xe+ye*et+we]}function up(F,H,K,Se){var Me=0,ye={};function we(he){this.id=Me++,this.buffer=F.createBuffer(),this.type=he,this.usage=Bl,this.byteLength=0,this.dimension=1,this.dtype=wu,this.persistentData=null,K.profile&&(this.stats={size:0})}we.prototype.bind=function(){F.bindBuffer(this.type,this.buffer)},we.prototype.destroy=function(){St(this)};var Ye=[];function Xe(he,Te){var qe=Ye.pop();return qe||(qe=new we(he)),qe.bind(),It(qe,Te,ti,0,1,!1),qe}function et(he){Ye.push(he)}function ft(he,Te,qe){he.byteLength=Te.byteLength,F.bufferData(he.type,Te,qe)}function It(he,Te,qe,Ke,Ne,pt){var ot;if(he.usage=qe,Array.isArray(Te)){if(he.dtype=Ke||_u,Te.length>0){var Rt;if(Array.isArray(Te[0])){ot=$l(Te);for(var $e=1,Ie=1;Ie<ot.length;++Ie)$e*=ot[Ie];he.dimension=$e,Rt=Gn(Te,ot,he.dtype),ft(he,Rt,qe),pt?he.persistentData=Rt:be.freeType(Rt)}else if(typeof Te[0]=="number"){he.dimension=Ne;var mt=be.allocType(he.dtype,Te.length);$f(mt,Te),ft(he,mt,qe),pt?he.persistentData=mt:be.freeType(mt)}else Jr(Te[0])&&(he.dimension=Te[0].length,he.dtype=Ke||Sa(Te[0])||_u,Rt=Gn(Te,[Te.length,Te[0].length],he.dtype),ft(he,Rt,qe),pt?he.persistentData=Rt:be.freeType(Rt))}}else if(Jr(Te))he.dtype=Ke||Sa(Te),he.dimension=Ne,ft(he,Te,qe),pt&&(he.persistentData=new Uint8Array(new Uint8Array(Te.buffer)));else if(ei(Te)){ot=Te.shape;var Ae=Te.stride,ht=Te.offset,Je=0,Ft=0,er=0,xt=0;ot.length===1?(Je=ot[0],Ft=1,er=Ae[0],xt=0):ot.length===2&&(Je=ot[0],Ft=ot[1],er=Ae[0],xt=Ae[1]),he.dtype=Ke||Sa(Te.data)||_u,he.dimension=Ft;var Bt=be.allocType(he.dtype,Je*Ft);Bf(Bt,Te.data,Je,Ft,er,xt,ht),ft(he,Bt,qe),pt?he.persistentData=Bt:be.freeType(Bt)}else Te instanceof ArrayBuffer&&(he.dtype=wu,he.dimension=Ne,ft(he,Te,qe),pt&&(he.persistentData=new Uint8Array(new Uint8Array(Te))))}function St(he){H.bufferCount--,Se(he);var Te=he.buffer;F.deleteBuffer(Te),he.buffer=null,delete ye[he.id]}function it(he,Te,qe,Ke){H.bufferCount++;var Ne=new we(Te);ye[Ne.id]=Ne;function pt($e){var Ie=Bl,mt=null,Ae=0,ht=0,Je=1;return Array.isArray($e)||Jr($e)||ei($e)||$e instanceof ArrayBuffer?mt=$e:typeof $e=="number"?Ae=$e|0:$e&&("data"in $e&&(mt=$e.data),"usage"in $e&&(Ie=Qi[$e.usage]),"type"in $e&&(ht=bu[$e.type]),"dimension"in $e&&(Je=$e.dimension|0),"length"in $e&&(Ae=$e.length|0)),Ne.bind(),mt?It(Ne,mt,Ie,ht,Je,Ke):(Ae&&F.bufferData(Ne.type,Ae,Ie),Ne.dtype=ht||wu,Ne.usage=Ie,Ne.dimension=Je,Ne.byteLength=Ae),K.profile&&(Ne.stats.size=Ne.byteLength*Xr[Ne.dtype]),pt}function ot($e,Ie){F.bufferSubData(Ne.type,Ie,$e)}function Rt($e,Ie){var mt=(Ie||0)|0,Ae;if(Ne.bind(),Jr($e)||$e instanceof ArrayBuffer)ot($e,mt);else if(Array.isArray($e)){if($e.length>0){if(typeof $e[0]=="number"){var ht=be.allocType(Ne.dtype,$e.length);$f(ht,$e),ot(ht,mt),be.freeType(ht)}else if(Array.isArray($e[0])||Jr($e[0])){Ae=$l($e);var Je=Gn($e,Ae,Ne.dtype);ot(Je,mt),be.freeType(Je)}}}else if(ei($e)){Ae=$e.shape;var Ft=$e.stride,er=0,xt=0,Bt=0,lt=0;Ae.length===1?(er=Ae[0],xt=1,Bt=Ft[0],lt=0):Ae.length===2&&(er=Ae[0],xt=Ae[1],Bt=Ft[0],lt=Ft[1]);var tr=Array.isArray($e.data)?Ne.dtype:Sa($e.data),ur=be.allocType(tr,er*xt);Bf(ur,$e.data,er,xt,Bt,lt,$e.offset),ot(ur,mt),be.freeType(ur)}return pt}return qe||pt(he),pt._reglType="buffer",pt._buffer=Ne,pt.subdata=Rt,K.profile&&(pt.stats=Ne.stats),pt.destroy=function(){St(Ne)},pt}function Ge(){Ln(ye).forEach(function(he){he.buffer=F.createBuffer(),F.bindBuffer(he.type,he.buffer),F.bufferData(he.type,he.persistentData||he.byteLength,he.usage)})}return K.profile&&(H.getTotalBufferSize=function(){var he=0;return Object.keys(ye).forEach(function(Te){he+=ye[Te].stats.size}),he}),{create:it,createStream:Xe,destroyStream:et,clear:function(){Ln(ye).forEach(St),Ye.forEach(St)},getBuffer:function(he){return he&&he._buffer instanceof we?he._buffer:null},restore:Ge,_initBuffer:It}}var zf=0,lp=0,sp=1,Uf=1,jf=4,Gf=4,en={points:zf,point:lp,lines:sp,line:Uf,triangles:jf,triangle:Gf,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},fp=0,zl=1,Zi=4,uo=5120,Ea=5121,Wf=5122,Aa=5123,Ul=5124,Ki=5125,lo=34963,mr=35040,Hf=35044;function jl(F,H,K,Se){var Me={},ye=0,we={uint8:Ea,uint16:Aa};H.oes_element_index_uint&&(we.uint32=Ki);function Ye(Ge){this.id=ye++,Me[this.id]=this,this.buffer=Ge,this.primType=Zi,this.vertCount=0,this.type=0}Ye.prototype.bind=function(){this.buffer.bind()};var Xe=[];function et(Ge){var he=Xe.pop();return he||(he=new Ye(K.create(null,lo,!0,!1)._buffer)),It(he,Ge,mr,-1,-1,0,0),he}function ft(Ge){Xe.push(Ge)}function It(Ge,he,Te,qe,Ke,Ne,pt){Ge.buffer.bind();var ot;if(he){var Rt=pt;!pt&&(!Jr(he)||ei(he)&&!Jr(he.data))&&(Rt=H.oes_element_index_uint?Ki:Aa),K._initBuffer(Ge.buffer,he,Te,Rt,3)}else F.bufferData(lo,Ne,Te),Ge.buffer.dtype=ot||Ea,Ge.buffer.usage=Te,Ge.buffer.dimension=3,Ge.buffer.byteLength=Ne;if(ot=pt,!pt){switch(Ge.buffer.dtype){case Ea:case uo:ot=Ea;break;case Aa:case Wf:ot=Aa;break;case Ki:case Ul:ot=Ki;break}Ge.buffer.dtype=ot}Ge.type=ot;var $e=Ke;$e<0&&($e=Ge.buffer.byteLength,ot===Aa?$e>>=1:ot===Ki&&($e>>=2)),Ge.vertCount=$e;var Ie=qe;if(qe<0){Ie=Zi;var mt=Ge.buffer.dimension;mt===1&&(Ie=fp),mt===2&&(Ie=zl),mt===3&&(Ie=Zi)}Ge.primType=Ie}function St(Ge){Se.elementsCount--,delete Me[Ge.id],Ge.buffer.destroy(),Ge.buffer=null}function it(Ge,he){var Te=K.create(null,lo,!0),qe=new Ye(Te._buffer);Se.elementsCount++;function Ke(Ne){if(!Ne)Te(),qe.primType=Zi,qe.vertCount=0,qe.type=Ea;else if(typeof Ne=="number")Te(Ne),qe.primType=Zi,qe.vertCount=Ne|0,qe.type=Ea;else{var pt=null,ot=Hf,Rt=-1,$e=-1,Ie=0,mt=0;Array.isArray(Ne)||Jr(Ne)||ei(Ne)?pt=Ne:("data"in Ne&&(pt=Ne.data),"usage"in Ne&&(ot=Qi[Ne.usage]),"primitive"in Ne&&(Rt=en[Ne.primitive]),"count"in Ne&&($e=Ne.count|0),"type"in Ne&&(mt=we[Ne.type]),"length"in Ne?Ie=Ne.length|0:(Ie=$e,mt===Aa||mt===Wf?Ie*=2:(mt===Ki||mt===Ul)&&(Ie*=4))),It(qe,pt,ot,Rt,$e,Ie,mt)}return Ke}return Ke(Ge),Ke._reglType="elements",Ke._elements=qe,Ke.subdata=function(Ne,pt){return Te.subdata(Ne,pt),Ke},Ke.destroy=function(){St(qe)},Ke}return{create:it,createStream:et,destroyStream:ft,getElements:function(Ge){return typeof Ge=="function"&&Ge._elements instanceof Ye?Ge._elements:null},clear:function(){Ln(Me).forEach(St)}}}var cp=new Float32Array(1),zg=new Uint32Array(cp.buffer),Gl=5123;function Su(F){for(var H=be.allocType(Gl,F.length),K=0;K<F.length;++K)if(isNaN(F[K]))H[K]=65535;else if(F[K]===1/0)H[K]=31744;else if(F[K]===-1/0)H[K]=64512;else{cp[0]=F[K];var Se=zg[0],Me=Se>>>31<<15,ye=(Se<<1>>>24)-127,we=Se>>13&(1<<10)-1;if(ye<-24)H[K]=Me;else if(ye<-14){var Ye=-14-ye;H[K]=Me+(we+(1<<10)>>Ye)}else ye>15?H[K]=Me+31744:H[K]=Me+(ye+15<<10)+we}return H}function ri(F){return Array.isArray(F)||Jr(F)}var Wl=34467,ni=3553,so=34067,fo=34069,Ji=6408,Hl=6406,Fi=6407,Pi=6409,Eu=6410,hp=32854,co=32855,Vl=36194,Vf=32819,dp=32820,ho=33635,Ta=34042,ea=6402,Au=34041,Tu=35904,Ca=35906,Oa=36193,qf=33776,ql=33777,Cu=33778,Yf=33779,pp=35986,Xf=35987,vp=34798,Qf=35840,mp=35841,Zf=35842,gp=35843,ka=36196,ii=5121,Kf=5123,Jf=5125,Ou=5126,yp=10242,ku=10243,Ug=10497,po=33071,Yl=33648,ec=10240,Xl=10241,Ma=9728,Mu=9729,Ql=9984,Zl=9985,xp=9986,vo=9987,jg=33170,Kl=4352,Gg=4353,bp=4354,Iu=34046,Wg=3317,tc=37440,wp=37441,Ni=37443,rc=37444,Ia=33984,nc=[Ql,xp,Zl,vo],mi=[0,Pi,Eu,Fi,Ji],On={};On[Pi]=On[Hl]=On[ea]=1,On[Au]=On[Eu]=2,On[Fi]=On[Tu]=3,On[Ji]=On[Ca]=4;function Ra(F){return"[object "+F+"]"}var _p=Ra("HTMLCanvasElement"),Sp=Ra("OffscreenCanvas"),Ep=Ra("CanvasRenderingContext2D"),ic=Ra("ImageBitmap"),ac=Ra("HTMLImageElement"),Ap=Ra("HTMLVideoElement"),Hg=Object.keys(yu).concat([_p,Sp,Ep,ic,ac,Ap]),mo=[];mo[ii]=1,mo[Ou]=4,mo[Oa]=2,mo[Kf]=2,mo[Jf]=4;var Qr=[];Qr[hp]=2,Qr[co]=2,Qr[Vl]=2,Qr[Au]=4,Qr[qf]=.5,Qr[ql]=.5,Qr[Cu]=1,Qr[Yf]=1,Qr[pp]=.5,Qr[Xf]=1,Qr[vp]=1,Qr[Qf]=.5,Qr[mp]=.25,Qr[Zf]=.5,Qr[gp]=.25,Qr[ka]=.5;function Tp(F){return Array.isArray(F)&&(F.length===0||typeof F[0]=="number")}function Cp(F){if(!Array.isArray(F))return!1;var H=F.length;return!(H===0||!ri(F[0]))}function Fa(F){return Object.prototype.toString.call(F)}function Op(F){return Fa(F)===_p}function kp(F){return Fa(F)===Sp}function Vg(F){return Fa(F)===Ep}function qg(F){return Fa(F)===ic}function Yg(F){return Fa(F)===ac}function Xg(F){return Fa(F)===Ap}function Jl(F){if(!F)return!1;var H=Fa(F);return Hg.indexOf(H)>=0?!0:Tp(F)||Cp(F)||ei(F)}function oc(F){return yu[Object.prototype.toString.call(F)]|0}function Mp(F,H){var K=H.length;switch(F.type){case ii:case Kf:case Jf:case Ou:var Se=be.allocType(F.type,K);Se.set(H),F.data=Se;break;case Oa:F.data=Su(H);break}}function uc(F,H){return be.allocType(F.type===Oa?Ou:F.type,H)}function Ip(F,H){F.type===Oa?(F.data=Su(H),be.freeType(H)):F.data=H}function Qg(F,H,K,Se,Me,ye){for(var we=F.width,Ye=F.height,Xe=F.channels,et=we*Ye*Xe,ft=uc(F,et),It=0,St=0;St<Ye;++St)for(var it=0;it<we;++it)for(var Ge=0;Ge<Xe;++Ge)ft[It++]=H[K*it+Se*St+Me*Ge+ye];Ip(F,ft)}function Li(F,H,K,Se,Me,ye){var we;if(typeof Qr[F]<"u"?we=Qr[F]:we=On[F]*mo[H],ye&&(we*=6),Me){for(var Ye=0,Xe=K;Xe>=1;)Ye+=we*Xe*Xe,Xe/=2;return Ye}else return we*K*Se}function Zg(F,H,K,Se,Me,ye,we){var Ye={"don't care":Kl,"dont care":Kl,nice:bp,fast:Gg},Xe={repeat:Ug,clamp:po,mirror:Yl},et={nearest:Ma,linear:Mu},ft=r({mipmap:vo,"nearest mipmap nearest":Ql,"linear mipmap nearest":Zl,"nearest mipmap linear":xp,"linear mipmap linear":vo},et),It={none:0,browser:rc},St={uint8:ii,rgba4:Vf,rgb565:ho,"rgb5 a1":dp},it={alpha:Hl,luminance:Pi,"luminance alpha":Eu,rgb:Fi,rgba:Ji,rgba4:hp,"rgb5 a1":co,rgb565:Vl},Ge={};H.ext_srgb&&(it.srgb=Tu,it.srgba=Ca),H.oes_texture_float&&(St.float32=St.float=Ou),H.oes_texture_half_float&&(St.float16=St["half float"]=Oa),H.webgl_depth_texture&&(r(it,{depth:ea,"depth stencil":Au}),r(St,{uint16:Kf,uint32:Jf,"depth stencil":Ta})),H.webgl_compressed_texture_s3tc&&r(Ge,{"rgb s3tc dxt1":qf,"rgba s3tc dxt1":ql,"rgba s3tc dxt3":Cu,"rgba s3tc dxt5":Yf}),H.webgl_compressed_texture_atc&&r(Ge,{"rgb atc":pp,"rgba atc explicit alpha":Xf,"rgba atc interpolated alpha":vp}),H.webgl_compressed_texture_pvrtc&&r(Ge,{"rgb pvrtc 4bppv1":Qf,"rgb pvrtc 2bppv1":mp,"rgba pvrtc 4bppv1":Zf,"rgba pvrtc 2bppv1":gp}),H.webgl_compressed_texture_etc1&&(Ge["rgb etc1"]=ka);var he=Array.prototype.slice.call(F.getParameter(Wl));Object.keys(Ge).forEach(function(q){var xe=Ge[q];he.indexOf(xe)>=0&&(it[q]=xe)});var Te=Object.keys(it);K.textureFormats=Te;var qe=[];Object.keys(it).forEach(function(q){var xe=it[q];qe[xe]=q});var Ke=[];Object.keys(St).forEach(function(q){var xe=St[q];Ke[xe]=q});var Ne=[];Object.keys(et).forEach(function(q){var xe=et[q];Ne[xe]=q});var pt=[];Object.keys(ft).forEach(function(q){var xe=ft[q];pt[xe]=q});var ot=[];Object.keys(Xe).forEach(function(q){var xe=Xe[q];ot[xe]=q});var Rt=Te.reduce(function(q,xe){var ge=it[xe];return ge===Pi||ge===Hl||ge===Pi||ge===Eu||ge===ea||ge===Au||H.ext_srgb&&(ge===Tu||ge===Ca)?q[ge]=ge:ge===co||xe.indexOf("rgba")>=0?q[ge]=Ji:q[ge]=Fi,q},{});function $e(){this.internalformat=Ji,this.format=Ji,this.type=ii,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=rc,this.width=0,this.height=0,this.channels=0}function Ie(q,xe){q.internalformat=xe.internalformat,q.format=xe.format,q.type=xe.type,q.compressed=xe.compressed,q.premultiplyAlpha=xe.premultiplyAlpha,q.flipY=xe.flipY,q.unpackAlignment=xe.unpackAlignment,q.colorSpace=xe.colorSpace,q.width=xe.width,q.height=xe.height,q.channels=xe.channels}function mt(q,xe){if(!(typeof xe!="object"||!xe)){if("premultiplyAlpha"in xe&&(q.premultiplyAlpha=xe.premultiplyAlpha),"flipY"in xe&&(q.flipY=xe.flipY),"alignment"in xe&&(q.unpackAlignment=xe.alignment),"colorSpace"in xe&&(q.colorSpace=It[xe.colorSpace]),"type"in xe){var ge=xe.type;q.type=St[ge]}var Tt=q.width,rr=q.height,Ir=q.channels,Ct=!1;"shape"in xe?(Tt=xe.shape[0],rr=xe.shape[1],xe.shape.length===3&&(Ir=xe.shape[2],Ct=!0)):("radius"in xe&&(Tt=rr=xe.radius),"width"in xe&&(Tt=xe.width),"height"in xe&&(rr=xe.height),"channels"in xe&&(Ir=xe.channels,Ct=!0)),q.width=Tt|0,q.height=rr|0,q.channels=Ir|0;var U=!1;if("format"in xe){var V=xe.format,ee=q.internalformat=it[V];q.format=Rt[ee],V in St&&("type"in xe||(q.type=St[V])),V in Ge&&(q.compressed=!0),U=!0}!Ct&&U?q.channels=On[q.format]:Ct&&!U&&q.channels!==mi[q.format]&&(q.format=q.internalformat=mi[q.channels])}}function Ae(q){F.pixelStorei(tc,q.flipY),F.pixelStorei(wp,q.premultiplyAlpha),F.pixelStorei(Ni,q.colorSpace),F.pixelStorei(Wg,q.unpackAlignment)}function ht(){$e.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Je(q,xe){var ge=null;if(Jl(xe)?ge=xe:xe&&(mt(q,xe),"x"in xe&&(q.xOffset=xe.x|0),"y"in xe&&(q.yOffset=xe.y|0),Jl(xe.data)&&(ge=xe.data)),xe.copy){var Tt=Me.viewportWidth,rr=Me.viewportHeight;q.width=q.width||Tt-q.xOffset,q.height=q.height||rr-q.yOffset,q.needsCopy=!0}else if(!ge)q.width=q.width||1,q.height=q.height||1,q.channels=q.channels||4;else if(Jr(ge))q.channels=q.channels||4,q.data=ge,!("type"in xe)&&q.type===ii&&(q.type=oc(ge));else if(Tp(ge))q.channels=q.channels||4,Mp(q,ge),q.alignment=1,q.needsFree=!0;else if(ei(ge)){var Ir=ge.data;!Array.isArray(Ir)&&q.type===ii&&(q.type=oc(Ir));var Ct=ge.shape,U=ge.stride,V,ee,_e,pe,de,ce;Ct.length===3?(_e=Ct[2],ce=U[2]):(_e=1,ce=1),V=Ct[0],ee=Ct[1],pe=U[0],de=U[1],q.alignment=1,q.width=V,q.height=ee,q.channels=_e,q.format=q.internalformat=mi[_e],q.needsFree=!0,Qg(q,Ir,pe,de,ce,ge.offset)}else if(Op(ge)||kp(ge)||Vg(ge))Op(ge)||kp(ge)?q.element=ge:q.element=ge.canvas,q.width=q.element.width,q.height=q.element.height,q.channels=4;else if(qg(ge))q.element=ge,q.width=ge.width,q.height=ge.height,q.channels=4;else if(Yg(ge))q.element=ge,q.width=ge.naturalWidth,q.height=ge.naturalHeight,q.channels=4;else if(Xg(ge))q.element=ge,q.width=ge.videoWidth,q.height=ge.videoHeight,q.channels=4;else if(Cp(ge)){var se=q.width||ge[0].length,Z=q.height||ge.length,ne=q.channels;ri(ge[0][0])?ne=ne||ge[0][0].length:ne=ne||1;for(var Q=ir.shape(ge),ve=1,Oe=0;Oe<Q.length;++Oe)ve*=Q[Oe];var Be=uc(q,ve);ir.flatten(ge,Q,"",Be),Ip(q,Be),q.alignment=1,q.width=se,q.height=Z,q.channels=ne,q.format=q.internalformat=mi[ne],q.needsFree=!0}q.type===Ou||q.type}function Ft(q,xe,ge){var Tt=q.element,rr=q.data,Ir=q.internalformat,Ct=q.format,U=q.type,V=q.width,ee=q.height;Ae(q),Tt?F.texImage2D(xe,ge,Ct,Ct,U,Tt):q.compressed?F.compressedTexImage2D(xe,ge,Ir,V,ee,0,rr):q.needsCopy?(Se(),F.copyTexImage2D(xe,ge,Ct,q.xOffset,q.yOffset,V,ee,0)):F.texImage2D(xe,ge,Ct,V,ee,0,Ct,U,rr||null)}function er(q,xe,ge,Tt,rr){var Ir=q.element,Ct=q.data,U=q.internalformat,V=q.format,ee=q.type,_e=q.width,pe=q.height;Ae(q),Ir?F.texSubImage2D(xe,rr,ge,Tt,V,ee,Ir):q.compressed?F.compressedTexSubImage2D(xe,rr,ge,Tt,U,_e,pe,Ct):q.needsCopy?(Se(),F.copyTexSubImage2D(xe,rr,ge,Tt,q.xOffset,q.yOffset,_e,pe)):F.texSubImage2D(xe,rr,ge,Tt,_e,pe,V,ee,Ct)}var xt=[];function Bt(){return xt.pop()||new ht}function lt(q){q.needsFree&&be.freeType(q.data),ht.call(q),xt.push(q)}function tr(){$e.call(this),this.genMipmaps=!1,this.mipmapHint=Kl,this.mipmask=0,this.images=Array(16)}function ur(q,xe,ge){var Tt=q.images[0]=Bt();q.mipmask=1,Tt.width=q.width=xe,Tt.height=q.height=ge,Tt.channels=q.channels=4}function cr(q,xe){var ge=null;if(Jl(xe))ge=q.images[0]=Bt(),Ie(ge,q),Je(ge,xe),q.mipmask=1;else if(mt(q,xe),Array.isArray(xe.mipmap))for(var Tt=xe.mipmap,rr=0;rr<Tt.length;++rr)ge=q.images[rr]=Bt(),Ie(ge,q),ge.width>>=rr,ge.height>>=rr,Je(ge,Tt[rr]),q.mipmask|=1<<rr;else ge=q.images[0]=Bt(),Ie(ge,q),Je(ge,xe),q.mipmask=1;Ie(q,q.images[0]),q.compressed&&(q.internalformat===qf||q.internalformat===ql||q.internalformat===Cu||q.internalformat)}function nn(q,xe){for(var ge=q.images,Tt=0;Tt<ge.length;++Tt){if(!ge[Tt])return;Ft(ge[Tt],xe,Tt)}}var lr=[];function Hn(){var q=lr.pop()||new tr;$e.call(q),q.mipmask=0;for(var xe=0;xe<16;++xe)q.images[xe]=null;return q}function Er(q){for(var xe=q.images,ge=0;ge<xe.length;++ge)xe[ge]&<(xe[ge]),xe[ge]=null;lr.push(q)}function bn(){this.minFilter=Ma,this.magFilter=Ma,this.wrapS=po,this.wrapT=po,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Kl}function Vn(q,xe){if("min"in xe){var ge=xe.min;q.minFilter=ft[ge],nc.indexOf(q.minFilter)>=0&&!("faces"in xe)&&(q.genMipmaps=!0)}if("mag"in xe){var Tt=xe.mag;q.magFilter=et[Tt]}var rr=q.wrapS,Ir=q.wrapT;if("wrap"in xe){var Ct=xe.wrap;typeof Ct=="string"?rr=Ir=Xe[Ct]:Array.isArray(Ct)&&(rr=Xe[Ct[0]],Ir=Xe[Ct[1]])}else{if("wrapS"in xe){var U=xe.wrapS;rr=Xe[U]}if("wrapT"in xe){var V=xe.wrapT;Ir=Xe[V]}}if(q.wrapS=rr,q.wrapT=Ir,"anisotropic"in xe&&(xe.anisotropic,q.anisotropic=xe.anisotropic),"mipmap"in xe){var ee=!1;switch(typeof xe.mipmap){case"string":q.mipmapHint=Ye[xe.mipmap],q.genMipmaps=!0,ee=!0;break;case"boolean":ee=q.genMipmaps=xe.mipmap;break;case"object":q.genMipmaps=!1,ee=!0;break}ee&&!("min"in xe)&&(q.minFilter=Ql)}}function Mn(q,xe){F.texParameteri(xe,Xl,q.minFilter),F.texParameteri(xe,ec,q.magFilter),F.texParameteri(xe,yp,q.wrapS),F.texParameteri(xe,ku,q.wrapT),H.ext_texture_filter_anisotropic&&F.texParameteri(xe,Iu,q.anisotropic),q.genMipmaps&&(F.hint(jg,q.mipmapHint),F.generateMipmap(xe))}var zi=0,an={},on=K.maxTextureUnits,Yt=Array(on).map(function(){return null});function li(q){$e.call(this),this.mipmask=0,this.internalformat=Ji,this.id=zi++,this.refCount=1,this.target=q,this.texture=F.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new bn,we.profile&&(this.stats={size:0})}function br(q){F.activeTexture(Ia),F.bindTexture(q.target,q.texture)}function un(){var q=Yt[0];q?F.bindTexture(q.target,q.texture):F.bindTexture(ni,null)}function Dn(q){var xe=q.texture,ge=q.unit,Tt=q.target;ge>=0&&(F.activeTexture(Ia+ge),F.bindTexture(Tt,null),Yt[ge]=null),F.deleteTexture(xe),q.texture=null,q.params=null,q.pixels=null,q.refCount=0,delete an[q.id],ye.textureCount--}r(li.prototype,{bind:function(){var q=this;q.bindCount+=1;var xe=q.unit;if(xe<0){for(var ge=0;ge<on;++ge){var Tt=Yt[ge];if(Tt){if(Tt.bindCount>0)continue;Tt.unit=-1}Yt[ge]=q,xe=ge;break}we.profile&&ye.maxTextureUnits<xe+1&&(ye.maxTextureUnits=xe+1),q.unit=xe,F.activeTexture(Ia+xe),F.bindTexture(q.target,q.texture)}return xe},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Dn(this)}});function $n(q,xe){var ge=new li(ni);an[ge.id]=ge,ye.textureCount++;function Tt(Ct,U){var V=ge.texInfo;bn.call(V);var ee=Hn();return typeof Ct=="number"?typeof U=="number"?ur(ee,Ct|0,U|0):ur(ee,Ct|0,Ct|0):Ct?(Vn(V,Ct),cr(ee,Ct)):ur(ee,1,1),V.genMipmaps&&(ee.mipmask=(ee.width<<1)-1),ge.mipmask=ee.mipmask,Ie(ge,ee),ge.internalformat=ee.internalformat,Tt.width=ee.width,Tt.height=ee.height,br(ge),nn(ee,ni),Mn(V,ni),un(),Er(ee),we.profile&&(ge.stats.size=Li(ge.internalformat,ge.type,ee.width,ee.height,V.genMipmaps,!1)),Tt.format=qe[ge.internalformat],Tt.type=Ke[ge.type],Tt.mag=Ne[V.magFilter],Tt.min=pt[V.minFilter],Tt.wrapS=ot[V.wrapS],Tt.wrapT=ot[V.wrapT],Tt}function rr(Ct,U,V,ee){var _e=U|0,pe=V|0,de=ee|0,ce=Bt();return Ie(ce,ge),ce.width=0,ce.height=0,Je(ce,Ct),ce.width=ce.width||(ge.width>>de)-_e,ce.height=ce.height||(ge.height>>de)-pe,br(ge),er(ce,ni,_e,pe,de),un(),lt(ce),Tt}function Ir(Ct,U){var V=Ct|0,ee=U|0||V;if(V===ge.width&&ee===ge.height)return Tt;Tt.width=ge.width=V,Tt.height=ge.height=ee,br(ge);for(var _e=0;ge.mipmask>>_e;++_e){var pe=V>>_e,de=ee>>_e;if(!pe||!de)break;F.texImage2D(ni,_e,ge.format,pe,de,0,ge.format,ge.type,null)}return un(),we.profile&&(ge.stats.size=Li(ge.internalformat,ge.type,V,ee,!1,!1)),Tt}return Tt(q,xe),Tt.subimage=rr,Tt.resize=Ir,Tt._reglType="texture2d",Tt._texture=ge,we.profile&&(Tt.stats=ge.stats),Tt.destroy=function(){ge.decRef()},Tt}function Zt(q,xe,ge,Tt,rr,Ir){var Ct=new li(so);an[Ct.id]=Ct,ye.cubeCount++;var U=new Array(6);function V(pe,de,ce,se,Z,ne){var Q,ve=Ct.texInfo;for(bn.call(ve),Q=0;Q<6;++Q)U[Q]=Hn();if(typeof pe=="number"||!pe){var Oe=pe|0||1;for(Q=0;Q<6;++Q)ur(U[Q],Oe,Oe)}else if(typeof pe=="object")if(de)cr(U[0],pe),cr(U[1],de),cr(U[2],ce),cr(U[3],se),cr(U[4],Z),cr(U[5],ne);else if(Vn(ve,pe),mt(Ct,pe),"faces"in pe){var Be=pe.faces;for(Q=0;Q<6;++Q)Ie(U[Q],Ct),cr(U[Q],Be[Q])}else for(Q=0;Q<6;++Q)cr(U[Q],pe);for(Ie(Ct,U[0]),ve.genMipmaps?Ct.mipmask=(U[0].width<<1)-1:Ct.mipmask=U[0].mipmask,Ct.internalformat=U[0].internalformat,V.width=U[0].width,V.height=U[0].height,br(Ct),Q=0;Q<6;++Q)nn(U[Q],fo+Q);for(Mn(ve,so),un(),we.profile&&(Ct.stats.size=Li(Ct.internalformat,Ct.type,V.width,V.height,ve.genMipmaps,!0)),V.format=qe[Ct.internalformat],V.type=Ke[Ct.type],V.mag=Ne[ve.magFilter],V.min=pt[ve.minFilter],V.wrapS=ot[ve.wrapS],V.wrapT=ot[ve.wrapT],Q=0;Q<6;++Q)Er(U[Q]);return V}function ee(pe,de,ce,se,Z){var ne=ce|0,Q=se|0,ve=Z|0,Oe=Bt();return Ie(Oe,Ct),Oe.width=0,Oe.height=0,Je(Oe,de),Oe.width=Oe.width||(Ct.width>>ve)-ne,Oe.height=Oe.height||(Ct.height>>ve)-Q,br(Ct),er(Oe,fo+pe,ne,Q,ve),un(),lt(Oe),V}function _e(pe){var de=pe|0;if(de!==Ct.width){V.width=Ct.width=de,V.height=Ct.height=de,br(Ct);for(var ce=0;ce<6;++ce)for(var se=0;Ct.mipmask>>se;++se)F.texImage2D(fo+ce,se,Ct.format,de>>se,de>>se,0,Ct.format,Ct.type,null);return un(),we.profile&&(Ct.stats.size=Li(Ct.internalformat,Ct.type,V.width,V.height,!1,!0)),V}}return V(q,xe,ge,Tt,rr,Ir),V.subimage=ee,V.resize=_e,V._reglType="textureCube",V._texture=Ct,we.profile&&(V.stats=Ct.stats),V.destroy=function(){Ct.decRef()},V}function fr(){for(var q=0;q<on;++q)F.activeTexture(Ia+q),F.bindTexture(ni,null),Yt[q]=null;Ln(an).forEach(Dn),ye.cubeCount=0,ye.textureCount=0}we.profile&&(ye.getTotalTextureSize=function(){var q=0;return Object.keys(an).forEach(function(xe){q+=an[xe].stats.size}),q});function Cr(){for(var q=0;q<on;++q){var xe=Yt[q];xe&&(xe.bindCount=0,xe.unit=-1,Yt[q]=null)}Ln(an).forEach(function(ge){ge.texture=F.createTexture(),F.bindTexture(ge.target,ge.texture);for(var Tt=0;Tt<32;++Tt)if((ge.mipmask&1<<Tt)!==0)if(ge.target===ni)F.texImage2D(ni,Tt,ge.internalformat,ge.width>>Tt,ge.height>>Tt,0,ge.internalformat,ge.type,null);else for(var rr=0;rr<6;++rr)F.texImage2D(fo+rr,Tt,ge.internalformat,ge.width>>Tt,ge.height>>Tt,0,ge.internalformat,ge.type,null);Mn(ge.texInfo,ge.target)})}function ln(){for(var q=0;q<on;++q){var xe=Yt[q];xe&&(xe.bindCount=0,xe.unit=-1,Yt[q]=null),F.activeTexture(Ia+q),F.bindTexture(ni,null),F.bindTexture(so,null)}}return{create2D:$n,createCube:Zt,clear:fr,getTexture:function(q){return null},restore:Cr,refresh:ln}}var ta=36161,es=32854,Rp=32855,lc=36194,Fp=33189,Pp=36168,Np=34041,sc=35907,Lp=34836,Dp=34842,$p=34843,ai=[];ai[es]=2,ai[Rp]=2,ai[lc]=2,ai[Fp]=2,ai[Pp]=1,ai[Np]=4,ai[sc]=4,ai[Lp]=16,ai[Dp]=8,ai[$p]=6;function Bp(F,H,K){return ai[F]*H*K}var zp=function(F,H,K,Se,Me){var ye={rgba4:es,rgb565:lc,"rgb5 a1":Rp,depth:Fp,stencil:Pp,"depth stencil":Np};H.ext_srgb&&(ye.srgba=sc),H.ext_color_buffer_half_float&&(ye.rgba16f=Dp,ye.rgb16f=$p),H.webgl_color_buffer_float&&(ye.rgba32f=Lp);var we=[];Object.keys(ye).forEach(function(it){var Ge=ye[it];we[Ge]=it});var Ye=0,Xe={};function et(it){this.id=Ye++,this.refCount=1,this.renderbuffer=it,this.format=es,this.width=0,this.height=0,Me.profile&&(this.stats={size:0})}et.prototype.decRef=function(){--this.refCount<=0&&ft(this)};function ft(it){var Ge=it.renderbuffer;F.bindRenderbuffer(ta,null),F.deleteRenderbuffer(Ge),it.renderbuffer=null,it.refCount=0,delete Xe[it.id],Se.renderbufferCount--}function It(it,Ge){var he=new et(F.createRenderbuffer());Xe[he.id]=he,Se.renderbufferCount++;function Te(Ke,Ne){var pt=0,ot=0,Rt=es;if(typeof Ke=="object"&&Ke){var $e=Ke;if("shape"in $e){var Ie=$e.shape;pt=Ie[0]|0,ot=Ie[1]|0}else"radius"in $e&&(pt=ot=$e.radius|0),"width"in $e&&(pt=$e.width|0),"height"in $e&&(ot=$e.height|0);"format"in $e&&(Rt=ye[$e.format])}else typeof Ke=="number"?(pt=Ke|0,typeof Ne=="number"?ot=Ne|0:ot=pt):Ke||(pt=ot=1);if(!(pt===he.width&&ot===he.height&&Rt===he.format))return Te.width=he.width=pt,Te.height=he.height=ot,he.format=Rt,F.bindRenderbuffer(ta,he.renderbuffer),F.renderbufferStorage(ta,Rt,pt,ot),Me.profile&&(he.stats.size=Bp(he.format,he.width,he.height)),Te.format=we[he.format],Te}function qe(Ke,Ne){var pt=Ke|0,ot=Ne|0||pt;return pt===he.width&&ot===he.height||(Te.width=he.width=pt,Te.height=he.height=ot,F.bindRenderbuffer(ta,he.renderbuffer),F.renderbufferStorage(ta,he.format,pt,ot),Me.profile&&(he.stats.size=Bp(he.format,he.width,he.height))),Te}return Te(it,Ge),Te.resize=qe,Te._reglType="renderbuffer",Te._renderbuffer=he,Me.profile&&(Te.stats=he.stats),Te.destroy=function(){he.decRef()},Te}Me.profile&&(Se.getTotalRenderbufferSize=function(){var it=0;return Object.keys(Xe).forEach(function(Ge){it+=Xe[Ge].stats.size}),it});function St(){Ln(Xe).forEach(function(it){it.renderbuffer=F.createRenderbuffer(),F.bindRenderbuffer(ta,it.renderbuffer),F.renderbufferStorage(ta,it.format,it.width,it.height)}),F.bindRenderbuffer(ta,null)}return{create:It,clear:function(){Ln(Xe).forEach(ft)},restore:St}},Di=36160,fc=36161,go=3553,yo=34069,xo=36064,oi=36096,Up=36128,jp=33306,Kg=36053,Jg=36193,Gp=5121,ey=5126,ty=6407,ry=6408,cc=[];cc[ry]=4,cc[ty]=3;var ts=[];ts[Gp]=1,ts[ey]=4,ts[Jg]=2;function hc(F,H,K,Se,Me,ye){var we={cur:null,next:null,dirty:!1,setFBO:null},Ye=["rgba"],Xe=["rgba4","rgb565","rgb5 a1"];H.ext_srgb&&Xe.push("srgba"),H.ext_color_buffer_half_float&&Xe.push("rgba16f","rgb16f"),H.webgl_color_buffer_float&&Xe.push("rgba32f"),H.oes_texture_half_float,H.oes_texture_float;function et(Ae,ht,Je){this.target=Ae,this.texture=ht,this.renderbuffer=Je;var Ft=0,er=0;ht?(Ft=ht.width,er=ht.height):Je&&(Ft=Je.width,er=Je.height),this.width=Ft,this.height=er}function ft(Ae){Ae&&(Ae.texture&&Ae.texture._texture.decRef(),Ae.renderbuffer&&Ae.renderbuffer._renderbuffer.decRef())}function It(Ae,ht,Je){if(!!Ae)if(Ae.texture){var Ft=Ae.texture._texture;Math.max(1,Ft.width),Math.max(1,Ft.height),Ft.refCount+=1}else{var er=Ae.renderbuffer._renderbuffer;er.refCount+=1}}function St(Ae,ht){ht&&(ht.texture?F.framebufferTexture2D(Di,Ae,ht.target,ht.texture._texture.texture,0):F.framebufferRenderbuffer(Di,Ae,fc,ht.renderbuffer._renderbuffer.renderbuffer))}function it(Ae){var ht=go,Je=null,Ft=null,er=Ae;typeof Ae=="object"&&(er=Ae.data,"target"in Ae&&(ht=Ae.target|0));var xt=er._reglType;return xt==="texture2d"||xt==="textureCube"?Je=er:xt==="renderbuffer"&&(Ft=er,ht=fc),new et(ht,Je,Ft)}function Ge(Ae,ht,Je,Ft,er){if(Je){var xt=Se.create2D({width:Ae,height:ht,format:Ft,type:er});return xt._texture.refCount=0,new et(go,xt,null)}else{var Bt=Me.create({width:Ae,height:ht,format:Ft});return Bt._renderbuffer.refCount=0,new et(fc,null,Bt)}}function he(Ae){return Ae&&(Ae.texture||Ae.renderbuffer)}function Te(Ae,ht,Je){Ae&&(Ae.texture?Ae.texture.resize(ht,Je):Ae.renderbuffer&&Ae.renderbuffer.resize(ht,Je),Ae.width=ht,Ae.height=Je)}var qe=0,Ke={};function Ne(){this.id=qe++,Ke[this.id]=this,this.framebuffer=F.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function pt(Ae){Ae.colorAttachments.forEach(ft),ft(Ae.depthAttachment),ft(Ae.stencilAttachment),ft(Ae.depthStencilAttachment)}function ot(Ae){var ht=Ae.framebuffer;F.deleteFramebuffer(ht),Ae.framebuffer=null,ye.framebufferCount--,delete Ke[Ae.id]}function Rt(Ae){var ht;F.bindFramebuffer(Di,Ae.framebuffer);var Je=Ae.colorAttachments;for(ht=0;ht<Je.length;++ht)St(xo+ht,Je[ht]);for(ht=Je.length;ht<K.maxColorAttachments;++ht)F.framebufferTexture2D(Di,xo+ht,go,null,0);F.framebufferTexture2D(Di,jp,go,null,0),F.framebufferTexture2D(Di,oi,go,null,0),F.framebufferTexture2D(Di,Up,go,null,0),St(oi,Ae.depthAttachment),St(Up,Ae.stencilAttachment),St(jp,Ae.depthStencilAttachment);var Ft=F.checkFramebufferStatus(Di);F.isContextLost(),F.bindFramebuffer(Di,we.next?we.next.framebuffer:null),we.cur=we.next,F.getError()}function $e(Ae,ht){var Je=new Ne;ye.framebufferCount++;function Ft(xt,Bt){var lt,tr=0,ur=0,cr=!0,nn=!0,lr=null,Hn=!0,Er="rgba",bn="uint8",Vn=1,Mn=null,zi=null,an=null,on=!1;if(typeof xt=="number")tr=xt|0,ur=Bt|0||tr;else if(!xt)tr=ur=1;else{var Yt=xt;if("shape"in Yt){var li=Yt.shape;tr=li[0],ur=li[1]}else"radius"in Yt&&(tr=ur=Yt.radius),"width"in Yt&&(tr=Yt.width),"height"in Yt&&(ur=Yt.height);("color"in Yt||"colors"in Yt)&&(lr=Yt.color||Yt.colors),lr||("colorCount"in Yt&&(Vn=Yt.colorCount|0),"colorTexture"in Yt&&(Hn=!!Yt.colorTexture,Er="rgba4"),"colorType"in Yt&&(bn=Yt.colorType,Hn||(bn==="half float"||bn==="float16"?Er="rgba16f":(bn==="float"||bn==="float32")&&(Er="rgba32f"))),"colorFormat"in Yt&&(Er=Yt.colorFormat,Ye.indexOf(Er)>=0?Hn=!0:Xe.indexOf(Er)>=0&&(Hn=!1))),("depthTexture"in Yt||"depthStencilTexture"in Yt)&&(on=!!(Yt.depthTexture||Yt.depthStencilTexture)),"depth"in Yt&&(typeof Yt.depth=="boolean"?cr=Yt.depth:(Mn=Yt.depth,nn=!1)),"stencil"in Yt&&(typeof Yt.stencil=="boolean"?nn=Yt.stencil:(zi=Yt.stencil,cr=!1)),"depthStencil"in Yt&&(typeof Yt.depthStencil=="boolean"?cr=nn=Yt.depthStencil:(an=Yt.depthStencil,cr=!1,nn=!1))}var br=null,un=null,Dn=null,$n=null;if(Array.isArray(lr))br=lr.map(it);else if(lr)br=[it(lr)];else for(br=new Array(Vn),lt=0;lt<Vn;++lt)br[lt]=Ge(tr,ur,Hn,Er,bn);for(tr=tr||br[0].width,ur=ur||br[0].height,Mn?un=it(Mn):cr&&!nn&&(un=Ge(tr,ur,on,"depth","uint32")),zi?Dn=it(zi):nn&&!cr&&(Dn=Ge(tr,ur,!1,"stencil","uint8")),an?$n=it(an):!Mn&&!zi&&nn&&cr&&($n=Ge(tr,ur,on,"depth stencil","depth stencil")),lt=0;lt<br.length;++lt)It(br[lt]),br[lt]&&br[lt].texture&&cc[br[lt].texture._texture.format]*ts[br[lt].texture._texture.type];return It(un),It(Dn),It($n),pt(Je),Je.width=tr,Je.height=ur,Je.colorAttachments=br,Je.depthAttachment=un,Je.stencilAttachment=Dn,Je.depthStencilAttachment=$n,Ft.color=br.map(he),Ft.depth=he(un),Ft.stencil=he(Dn),Ft.depthStencil=he($n),Ft.width=Je.width,Ft.height=Je.height,Rt(Je),Ft}function er(xt,Bt){var lt=Math.max(xt|0,1),tr=Math.max(Bt|0||lt,1);if(lt===Je.width&&tr===Je.height)return Ft;for(var ur=Je.colorAttachments,cr=0;cr<ur.length;++cr)Te(ur[cr],lt,tr);return Te(Je.depthAttachment,lt,tr),Te(Je.stencilAttachment,lt,tr),Te(Je.depthStencilAttachment,lt,tr),Je.width=Ft.width=lt,Je.height=Ft.height=tr,Rt(Je),Ft}return Ft(Ae,ht),r(Ft,{resize:er,_reglType:"framebuffer",_framebuffer:Je,destroy:function(){ot(Je),pt(Je)},use:function(xt){we.setFBO({framebuffer:Ft},xt)}})}function Ie(Ae){var ht=Array(6);function Je(er){var xt,Bt={color:null},lt=0,tr=null,ur="rgba",cr="uint8",nn=1;if(typeof er=="number")lt=er|0;else if(!er)lt=1;else{var lr=er;if("shape"in lr){var Hn=lr.shape;lt=Hn[0]}else"radius"in lr&&(lt=lr.radius|0),"width"in lr?lt=lr.width|0:"height"in lr&&(lt=lr.height|0);("color"in lr||"colors"in lr)&&(tr=lr.color||lr.colors),tr||("colorCount"in lr&&(nn=lr.colorCount|0),"colorType"in lr&&(cr=lr.colorType),"colorFormat"in lr&&(ur=lr.colorFormat)),"depth"in lr&&(Bt.depth=lr.depth),"stencil"in lr&&(Bt.stencil=lr.stencil),"depthStencil"in lr&&(Bt.depthStencil=lr.depthStencil)}var Er;if(tr)if(Array.isArray(tr))for(Er=[],xt=0;xt<tr.length;++xt)Er[xt]=tr[xt];else Er=[tr];else{Er=Array(nn);var bn={radius:lt,format:ur,type:cr};for(xt=0;xt<nn;++xt)Er[xt]=Se.createCube(bn)}for(Bt.color=Array(Er.length),xt=0;xt<Er.length;++xt){var Vn=Er[xt];lt=lt||Vn.width,Bt.color[xt]={target:yo,data:Er[xt]}}for(xt=0;xt<6;++xt){for(var Mn=0;Mn<Er.length;++Mn)Bt.color[Mn].target=yo+xt;xt>0&&(Bt.depth=ht[0].depth,Bt.stencil=ht[0].stencil,Bt.depthStencil=ht[0].depthStencil),ht[xt]?ht[xt](Bt):ht[xt]=$e(Bt)}return r(Je,{width:lt,height:lt,color:Er})}function Ft(er){var xt,Bt=er|0;if(Bt===Je.width)return Je;var lt=Je.color;for(xt=0;xt<lt.length;++xt)lt[xt].resize(Bt);for(xt=0;xt<6;++xt)ht[xt].resize(Bt);return Je.width=Je.height=Bt,Je}return Je(Ae),r(Je,{faces:ht,resize:Ft,_reglType:"framebufferCube",destroy:function(){ht.forEach(function(er){er.destroy()})}})}function mt(){we.cur=null,we.next=null,we.dirty=!0,Ln(Ke).forEach(function(Ae){Ae.framebuffer=F.createFramebuffer(),Rt(Ae)})}return r(we,{getFramebuffer:function(Ae){if(typeof Ae=="function"&&Ae._reglType==="framebuffer"){var ht=Ae._framebuffer;if(ht instanceof Ne)return ht}return null},create:$e,createCube:Ie,clear:function(){Ln(Ke).forEach(ot)},restore:mt})}var dc=5126,Wp=34962,rs=34963;function pc(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=dc,this.offset=0,this.stride=0,this.divisor=0}function ny(F,H,K,Se,Me,ye,we){for(var Ye=K.maxAttributes,Xe=new Array(Ye),et=0;et<Ye;++et)Xe[et]=new pc;var ft=0,It={},St={Record:pc,scope:{},state:Xe,currentVAO:null,targetVAO:null,restore:Ge()?ot:function(){},createVAO:Rt,getVAO:Te,destroyBuffer:it,setVAO:Ge()?qe:Ke,clear:Ge()?Ne:function(){}};function it($e){for(var Ie=0;Ie<Xe.length;++Ie){var mt=Xe[Ie];mt.buffer===$e&&(F.disableVertexAttribArray(Ie),mt.buffer=null)}}function Ge(){return H.oes_vertex_array_object}function he(){return H.angle_instanced_arrays}function Te($e){return typeof $e=="function"&&$e._vao?$e._vao:null}function qe($e){if($e!==St.currentVAO){var Ie=Ge();$e?Ie.bindVertexArrayOES($e.vao):Ie.bindVertexArrayOES(null),St.currentVAO=$e}}function Ke($e){if($e!==St.currentVAO){if($e)$e.bindAttrs();else{for(var Ie=he(),mt=0;mt<Xe.length;++mt){var Ae=Xe[mt];Ae.buffer?(F.enableVertexAttribArray(mt),Ae.buffer.bind(),F.vertexAttribPointer(mt,Ae.size,Ae.type,Ae.normalized,Ae.stride,Ae.offfset),Ie&&Ae.divisor&&Ie.vertexAttribDivisorANGLE(mt,Ae.divisor)):(F.disableVertexAttribArray(mt),F.vertexAttrib4f(mt,Ae.x,Ae.y,Ae.z,Ae.w))}we.elements?F.bindBuffer(rs,we.elements.buffer.buffer):F.bindBuffer(rs,null)}St.currentVAO=$e}}function Ne(){Ln(It).forEach(function($e){$e.destroy()})}function pt(){this.id=++ft,this.attributes=[],this.elements=null,this.ownsElements=!1,this.count=0,this.offset=0,this.instances=-1,this.primitive=4;var $e=Ge();$e?this.vao=$e.createVertexArrayOES():this.vao=null,It[this.id]=this,this.buffers=[]}pt.prototype.bindAttrs=function(){for(var $e=he(),Ie=this.attributes,mt=0;mt<Ie.length;++mt){var Ae=Ie[mt];Ae.buffer?(F.enableVertexAttribArray(mt),F.bindBuffer(Wp,Ae.buffer.buffer),F.vertexAttribPointer(mt,Ae.size,Ae.type,Ae.normalized,Ae.stride,Ae.offset),$e&&Ae.divisor&&$e.vertexAttribDivisorANGLE(mt,Ae.divisor)):(F.disableVertexAttribArray(mt),F.vertexAttrib4f(mt,Ae.x,Ae.y,Ae.z,Ae.w))}for(var ht=Ie.length;ht<Ye;++ht)F.disableVertexAttribArray(ht);var Je=ye.getElements(this.elements);Je?F.bindBuffer(rs,Je.buffer.buffer):F.bindBuffer(rs,null)},pt.prototype.refresh=function(){var $e=Ge();$e&&($e.bindVertexArrayOES(this.vao),this.bindAttrs(),St.currentVAO=null,$e.bindVertexArrayOES(null))},pt.prototype.destroy=function(){if(this.vao){var $e=Ge();this===St.currentVAO&&(St.currentVAO=null,$e.bindVertexArrayOES(null)),$e.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),It[this.id]&&(delete It[this.id],Se.vaoCount-=1)};function ot(){var $e=Ge();$e&&Ln(It).forEach(function(Ie){Ie.refresh()})}function Rt($e){var Ie=new pt;Se.vaoCount+=1;function mt(Ae){var ht;if(Array.isArray(Ae))ht=Ae,Ie.elements&&Ie.ownsElements&&Ie.elements.destroy(),Ie.elements=null,Ie.ownsElements=!1,Ie.offset=0,Ie.count=0,Ie.instances=-1,Ie.primitive=4;else{if(Ae.elements){var Je=Ae.elements;Ie.ownsElements?typeof Je=="function"&&Je._reglType==="elements"?(Ie.elements.destroy(),Ie.ownsElements=!1):(Ie.elements(Je),Ie.ownsElements=!1):ye.getElements(Ae.elements)?(Ie.elements=Ae.elements,Ie.ownsElements=!1):(Ie.elements=ye.create(Ae.elements),Ie.ownsElements=!0)}else Ie.elements=null,Ie.ownsElements=!1;ht=Ae.attributes,Ie.offset=0,Ie.count=-1,Ie.instances=-1,Ie.primitive=4,Ie.elements&&(Ie.count=Ie.elements._elements.vertCount,Ie.primitive=Ie.elements._elements.primType),"offset"in Ae&&(Ie.offset=Ae.offset|0),"count"in Ae&&(Ie.count=Ae.count|0),"instances"in Ae&&(Ie.instances=Ae.instances|0),"primitive"in Ae&&(Ie.primitive=en[Ae.primitive])}var Ft={},er=Ie.attributes;er.length=ht.length;for(var xt=0;xt<ht.length;++xt){var Bt=ht[xt],lt=er[xt]=new pc,tr=Bt.data||Bt;if(Array.isArray(tr)||Jr(tr)||ei(tr)){var ur;Ie.buffers[xt]&&(ur=Ie.buffers[xt],Jr(tr)&&ur._buffer.byteLength>=tr.byteLength?ur.subdata(tr):(ur.destroy(),Ie.buffers[xt]=null)),Ie.buffers[xt]||(ur=Ie.buffers[xt]=Me.create(Bt,Wp,!1,!0)),lt.buffer=Me.getBuffer(ur),lt.size=lt.buffer.dimension|0,lt.normalized=!1,lt.type=lt.buffer.dtype,lt.offset=0,lt.stride=0,lt.divisor=0,lt.state=1,Ft[xt]=1}else Me.getBuffer(Bt)?(lt.buffer=Me.getBuffer(Bt),lt.size=lt.buffer.dimension|0,lt.normalized=!1,lt.type=lt.buffer.dtype,lt.offset=0,lt.stride=0,lt.divisor=0,lt.state=1):Me.getBuffer(Bt.buffer)?(lt.buffer=Me.getBuffer(Bt.buffer),lt.size=(+Bt.size||lt.buffer.dimension)|0,lt.normalized=!!Bt.normalized||!1,"type"in Bt?lt.type=bu[Bt.type]:lt.type=lt.buffer.dtype,lt.offset=(Bt.offset||0)|0,lt.stride=(Bt.stride||0)|0,lt.divisor=(Bt.divisor||0)|0,lt.state=1):"x"in Bt&&(lt.x=+Bt.x||0,lt.y=+Bt.y||0,lt.z=+Bt.z||0,lt.w=+Bt.w||0,lt.state=2)}for(var cr=0;cr<Ie.buffers.length;++cr)!Ft[cr]&&Ie.buffers[cr]&&(Ie.buffers[cr].destroy(),Ie.buffers[cr]=null);return Ie.refresh(),mt}return mt.destroy=function(){for(var Ae=0;Ae<Ie.buffers.length;++Ae)Ie.buffers[Ae]&&Ie.buffers[Ae].destroy();Ie.buffers.length=0,Ie.ownsElements&&(Ie.elements.destroy(),Ie.elements=null,Ie.ownsElements=!1),Ie.destroy()},mt._vao=Ie,mt._reglType="vao",mt($e)}return St}var vc=35632,iy=35633,ay=35718,mc=35721;function Hp(F,H,K,Se){var Me={},ye={};function we(he,Te,qe,Ke){this.name=he,this.id=Te,this.location=qe,this.info=Ke}function Ye(he,Te){for(var qe=0;qe<he.length;++qe)if(he[qe].id===Te.id){he[qe].location=Te.location;return}he.push(Te)}function Xe(he,Te,qe){var Ke=he===vc?Me:ye,Ne=Ke[Te];if(!Ne){var pt=H.str(Te);Ne=F.createShader(he),F.shaderSource(Ne,pt),F.compileShader(Ne),Ke[Te]=Ne}return Ne}var et={},ft=[],It=0;function St(he,Te){this.id=It++,this.fragId=he,this.vertId=Te,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Se.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function it(he,Te,qe){var Ke,Ne,pt=Xe(vc,he.fragId),ot=Xe(iy,he.vertId),Rt=he.program=F.createProgram();if(F.attachShader(Rt,pt),F.attachShader(Rt,ot),qe)for(Ke=0;Ke<qe.length;++Ke){var $e=qe[Ke];F.bindAttribLocation(Rt,$e[0],$e[1])}F.linkProgram(Rt);var Ie=F.getProgramParameter(Rt,ay);Se.profile&&(he.stats.uniformsCount=Ie);var mt=he.uniforms;for(Ke=0;Ke<Ie;++Ke)if(Ne=F.getActiveUniform(Rt,Ke),Ne)if(Ne.size>1)for(var Ae=0;Ae<Ne.size;++Ae){var ht=Ne.name.replace("[0]","["+Ae+"]");Ye(mt,new we(ht,H.id(ht),F.getUniformLocation(Rt,ht),Ne))}else Ye(mt,new we(Ne.name,H.id(Ne.name),F.getUniformLocation(Rt,Ne.name),Ne));var Je=F.getProgramParameter(Rt,mc);Se.profile&&(he.stats.attributesCount=Je);var Ft=he.attributes;for(Ke=0;Ke<Je;++Ke)Ne=F.getActiveAttrib(Rt,Ke),Ne&&Ye(Ft,new we(Ne.name,H.id(Ne.name),F.getAttribLocation(Rt,Ne.name),Ne))}Se.profile&&(K.getMaxUniformsCount=function(){var he=0;return ft.forEach(function(Te){Te.stats.uniformsCount>he&&(he=Te.stats.uniformsCount)}),he},K.getMaxAttributesCount=function(){var he=0;return ft.forEach(function(Te){Te.stats.attributesCount>he&&(he=Te.stats.attributesCount)}),he});function Ge(){Me={},ye={};for(var he=0;he<ft.length;++he)it(ft[he],null,ft[he].attributes.map(function(Te){return[Te.location,Te.name]}))}return{clear:function(){var he=F.deleteShader.bind(F);Ln(Me).forEach(he),Me={},Ln(ye).forEach(he),ye={},ft.forEach(function(Te){F.deleteProgram(Te.program)}),ft.length=0,et={},K.shaderCount=0},program:function(he,Te,qe,Ke){var Ne=et[Te];Ne||(Ne=et[Te]={});var pt=Ne[he];if(pt&&(pt.refCount++,!Ke))return pt;var ot=new St(Te,he);return K.shaderCount++,it(ot,qe,Ke),pt||(Ne[he]=ot),ft.push(ot),r(ot,{destroy:function(){if(ot.refCount--,ot.refCount<=0){F.deleteProgram(ot.program);var Rt=ft.indexOf(ot);ft.splice(Rt,1),K.shaderCount--}Ne[ot.vertId].refCount<=0&&(F.deleteShader(ye[ot.vertId]),delete ye[ot.vertId],delete et[ot.fragId][ot.vertId]),Object.keys(et[ot.fragId]).length||(F.deleteShader(Me[ot.fragId]),delete Me[ot.fragId],delete et[ot.fragId])}})},restore:Ge,shader:Xe,frag:-1,vert:-1}}var Vp=6408,gc=5121,oy=3333,uy=5126;function qp(F,H,K,Se,Me,ye,we){function Ye(ft){var It;H.next===null?It=gc:It=H.next.colorAttachments[0].texture._texture.type;var St=0,it=0,Ge=Se.framebufferWidth,he=Se.framebufferHeight,Te=null;Jr(ft)?Te=ft:ft&&(St=ft.x|0,it=ft.y|0,Ge=(ft.width||Se.framebufferWidth-St)|0,he=(ft.height||Se.framebufferHeight-it)|0,Te=ft.data||null),K();var qe=Ge*he*4;return Te||(It===gc?Te=new Uint8Array(qe):It===uy&&(Te=Te||new Float32Array(qe))),F.pixelStorei(oy,4),F.readPixels(St,it,Ge,he,Vp,It,Te),Te}function Xe(ft){var It;return H.setFBO({framebuffer:ft.framebuffer},function(){It=Ye(ft)}),It}function et(ft){return!ft||!("framebuffer"in ft)?Ye(ft):Xe(ft)}return et}function Yp(F){return yc(Xp(xc(F)))}function Xp(F){return sy(cy(ly(F),F.length*8))}function yc(F){for(var H="0123456789abcdef",K="",Se,Me=0;Me<F.length;Me++)Se=F.charCodeAt(Me),K+=H.charAt(Se>>>4&15)+H.charAt(Se&15);return K}function xc(F){for(var H="",K=-1,Se,Me;++K<F.length;)Se=F.charCodeAt(K),Me=K+1<F.length?F.charCodeAt(K+1):0,55296<=Se&&Se<=56319&&56320<=Me&&Me<=57343&&(Se=65536+((Se&1023)<<10)+(Me&1023),K++),Se<=127?H+=String.fromCharCode(Se):Se<=2047?H+=String.fromCharCode(192|Se>>>6&31,128|Se&63):Se<=65535?H+=String.fromCharCode(224|Se>>>12&15,128|Se>>>6&63,128|Se&63):Se<=2097151&&(H+=String.fromCharCode(240|Se>>>18&7,128|Se>>>12&63,128|Se>>>6&63,128|Se&63));return H}function ly(F){for(var H=Array(F.length>>2),K=0;K<H.length;K++)H[K]=0;for(var K=0;K<F.length*8;K+=8)H[K>>5]|=(F.charCodeAt(K/8)&255)<<24-K%32;return H}function sy(F){for(var H="",K=0;K<F.length*32;K+=8)H+=String.fromCharCode(F[K>>5]>>>24-K%32&255);return H}function gi(F,H){return F>>>H|F<<32-H}function Qp(F,H){return F>>>H}function fy(F,H,K){return F&H^~F&K}function Zp(F,H,K){return F&H^F&K^H&K}function Kp(F){return gi(F,2)^gi(F,13)^gi(F,22)}function bc(F){return gi(F,6)^gi(F,11)^gi(F,25)}function Jp(F){return gi(F,7)^gi(F,18)^Qp(F,3)}function ns(F){return gi(F,17)^gi(F,19)^Qp(F,10)}var is=new Array(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);function cy(F,H){var K=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),Se=new Array(64),Me,ye,we,Ye,Xe,et,ft,It,St,it,Ge,he;for(F[H>>5]|=128<<24-H%32,F[(H+64>>9<<4)+15]=H,St=0;St<F.length;St+=16){for(Me=K[0],ye=K[1],we=K[2],Ye=K[3],Xe=K[4],et=K[5],ft=K[6],It=K[7],it=0;it<64;it++)it<16?Se[it]=F[it+St]:Se[it]=jr(jr(jr(ns(Se[it-2]),Se[it-7]),Jp(Se[it-15])),Se[it-16]),Ge=jr(jr(jr(jr(It,bc(Xe)),fy(Xe,et,ft)),is[it]),Se[it]),he=jr(Kp(Me),Zp(Me,ye,we)),It=ft,ft=et,et=Xe,Xe=jr(Ye,Ge),Ye=we,we=ye,ye=Me,Me=jr(Ge,he);K[0]=jr(Me,K[0]),K[1]=jr(ye,K[1]),K[2]=jr(we,K[2]),K[3]=jr(Ye,K[3]),K[4]=jr(Xe,K[4]),K[5]=jr(et,K[5]),K[6]=jr(ft,K[6]),K[7]=jr(It,K[7])}return K}function jr(F,H){var K=(F&65535)+(H&65535),Se=(F>>16)+(H>>16)+(K>>16);return Se<<16|K&65535}function Pa(F){return Array.prototype.slice.call(F)}function bo(F){return Pa(F).join("")}function hy(F){var H=F&&F.cache,K=0,Se=[],Me=[],ye=[];function we(Ge,he){var Te=he&&he.stable;if(!Te){for(var qe=0;qe<Me.length;++qe)if(Me[qe]===Ge&&!ye[qe])return Se[qe]}var Ke="g"+K++;return Se.push(Ke),Me.push(Ge),ye.push(Te),Ke}function Ye(){var Ge=[];function he(){Ge.push.apply(Ge,Pa(arguments))}var Te=[];function qe(){var Ke="v"+K++;return Te.push(Ke),arguments.length>0&&(Ge.push(Ke,"="),Ge.push.apply(Ge,Pa(arguments)),Ge.push(";")),Ke}return r(he,{def:qe,toString:function(){return bo([Te.length>0?"var "+Te.join(",")+";":"",bo(Ge)])}})}function Xe(){var Ge=Ye(),he=Ye(),Te=Ge.toString,qe=he.toString;function Ke(Ne,pt){he(Ne,pt,"=",Ge.def(Ne,pt),";")}return r(function(){Ge.apply(Ge,Pa(arguments))},{def:Ge.def,entry:Ge,exit:he,save:Ke,set:function(Ne,pt,ot){Ke(Ne,pt),Ge(Ne,pt,"=",ot,";")},toString:function(){return Te()+qe()}})}function et(){var Ge=bo(arguments),he=Xe(),Te=Xe(),qe=he.toString,Ke=Te.toString;return r(he,{then:function(){return he.apply(he,Pa(arguments)),this},else:function(){return Te.apply(Te,Pa(arguments)),this},toString:function(){var Ne=Ke();return Ne&&(Ne="else{"+Ne+"}"),bo(["if(",Ge,"){",qe(),"}",Ne])}})}var ft=Ye(),It={};function St(Ge,he){var Te=[];function qe(){var Rt="a"+Te.length;return Te.push(Rt),Rt}he=he||0;for(var Ke=0;Ke<he;++Ke)qe();var Ne=Xe(),pt=Ne.toString,ot=It[Ge]=r(Ne,{arg:qe,toString:function(){return bo(["function(",Te.join(),"){",pt(),"}"])}});return ot}function it(){var Ge=['"use strict";',ft,"return {"];Object.keys(It).forEach(function(Ke){Ge.push('"',Ke,'":',It[Ke].toString(),",")}),Ge.push("}");var he=bo(Ge).replace(/;/g,`;
|
|
283
|
-
`).replace(/}/g,`}
|
|
284
|
-
`).replace(/{/g,`{
|
|
285
|
-
`),Te;if(H&&(Te=Yp(he),H[Te]))return H[Te].apply(null,Me);var qe=Function.apply(null,Se.concat(he));return H&&(H[Te]=qe),qe.apply(null,Me)}return{global:ft,link:we,block:Ye,proc:St,scope:Xe,cond:et,compile:it}}var Na="xyzw".split(""),wc=5121,La=1,Ru=2,Fu=0,as=1,_c=2,os=3,Da=4,Sc=5,ev=6,tv="dither",rv="blend.enable",nv="blend.color",us="blend.equation",ls="blend.func",Ec="depth.enable",Ac="depth.func",iv="depth.range",Pu="depth.mask",Tc="colorMask",av="cull.enable",Cc="cull.face",ss="frontFace",Oc="lineWidth",Nu="polygonOffset.enable",wo="polygonOffset.offset",kc="sample.alpha",Mc="sample.enable",Lu="sample.coverage",Wn="stencil.enable",Ic="stencil.mask",Rc="stencil.func",Du="stencil.opFront",$a="stencil.opBack",ov="scissor.enable",fs="scissor.box",$i="viewport",Ba="profile",ra="framebuffer",$u="vert",cs="frag",_o="elements",So="primitive",tn="count",hs="offset",ds="instances",ui="vao",Bu="Width",zu="Height",Eo=ra+Bu,Ao=ra+zu,dy=$i+Bu,uv=$i+zu,Fc="drawingBuffer",Pc=Fc+Bu,Nc=Fc+zu,py=[ls,us,Rc,Du,$a,Lu,$i,fs,wo],za=34962,Lc=34963,vy=2884,my=3042,lv=3024,sv=2960,ps=2929,fv=3089,vs=32823,cv=32926,Uu=32928,Dr=5126,ms=35664,Bi=35665,To=35666,gs=5124,Dc=35667,ju=35668,Co=35669,$c=35670,Bc=35671,zc=35672,Uc=35673,jc=35674,Gu=35675,Gc=35676,Wc=35678,u=35680,f=4,h=1028,p=1029,v=2304,x=2305,O=32775,S=32776,R=519,N=7680,L=0,B=1,z=32774,ie=513,oe=36160,G=36064,X={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},J={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},ue={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},le={cw:v,ccw:x};function te(F){return Array.isArray(F)||Jr(F)||ei(F)}function Re(F){return F.sort(function(H,K){return H===$i?-1:K===$i?1:H<K?-1:1})}function Ue(F,H,K,Se){this.thisDep=F,this.contextDep=H,this.propDep=K,this.append=Se}function tt(F){return F&&!(F.thisDep||F.contextDep||F.propDep)}function je(F){return new Ue(!1,!1,!1,F)}function at(F,H){var K=F.type;if(K===Fu){var Se=F.data.length;return new Ue(!0,Se>=1,Se>=2,H)}else if(K===Da){var Me=F.data;return new Ue(Me.thisDep,Me.contextDep,Me.propDep,H)}else{if(K===Sc)return new Ue(!1,!1,!1,H);if(K===ev){for(var ye=!1,we=!1,Ye=!1,Xe=0;Xe<F.data.length;++Xe){var et=F.data[Xe];if(et.type===as)Ye=!0;else if(et.type===_c)we=!0;else if(et.type===os)ye=!0;else if(et.type===Fu){ye=!0;var ft=et.data;ft>=1&&(we=!0),ft>=2&&(Ye=!0)}else et.type===Da&&(ye=ye||et.data.thisDep,we=we||et.data.contextDep,Ye=Ye||et.data.propDep)}return new Ue(ye,we,Ye,H)}else return new Ue(K===os,K===_c,K===as,H)}}var vt=new Ue(!1,!1,!1,function(){});function jt(F,H,K,Se,Me,ye,we,Ye,Xe,et,ft,It,St,it,Ge,he){var Te=et.Record,qe={add:32774,subtract:32778,"reverse subtract":32779};K.ext_blend_minmax&&(qe.min=O,qe.max=S);var Ke=K.angle_instanced_arrays,Ne=K.webgl_draw_buffers,pt=K.oes_vertex_array_object,ot={dirty:!0,profile:he.profile},Rt={},$e=[],Ie={},mt={};function Ae(U){return U.replace(".","_")}function ht(U,V,ee){var _e=Ae(U);$e.push(U),Rt[_e]=ot[_e]=!!ee,Ie[_e]=V}function Je(U,V,ee){var _e=Ae(U);$e.push(U),Array.isArray(ee)?(ot[_e]=ee.slice(),Rt[_e]=ee.slice()):ot[_e]=Rt[_e]=ee,mt[_e]=V}function Ft(U){return!!isNaN(U)}ht(tv,lv),ht(rv,my),Je(nv,"blendColor",[0,0,0,0]),Je(us,"blendEquationSeparate",[z,z]),Je(ls,"blendFuncSeparate",[B,L,B,L]),ht(Ec,ps,!0),Je(Ac,"depthFunc",ie),Je(iv,"depthRange",[0,1]),Je(Pu,"depthMask",!0),Je(Tc,Tc,[!0,!0,!0,!0]),ht(av,vy),Je(Cc,"cullFace",p),Je(ss,ss,x),Je(Oc,Oc,1),ht(Nu,vs),Je(wo,"polygonOffset",[0,0]),ht(kc,cv),ht(Mc,Uu),Je(Lu,"sampleCoverage",[1,!1]),ht(Wn,sv),Je(Ic,"stencilMask",-1),Je(Rc,"stencilFunc",[R,0,-1]),Je(Du,"stencilOpSeparate",[h,N,N,N]),Je($a,"stencilOpSeparate",[p,N,N,N]),ht(ov,fv),Je(fs,"scissor",[0,0,F.drawingBufferWidth,F.drawingBufferHeight]),Je($i,$i,[0,0,F.drawingBufferWidth,F.drawingBufferHeight]);var er={gl:F,context:St,strings:H,next:Rt,current:ot,draw:It,elements:ye,buffer:Me,shader:ft,attributes:et.state,vao:et,uniforms:Xe,framebuffer:Ye,extensions:K,timer:it,isBufferArgs:te},xt={primTypes:en,compareFuncs:J,blendFuncs:X,blendEquations:qe,stencilOps:ue,glTypes:bu,orientationType:le};Ne&&(xt.backBuffer=[p],xt.drawBuffer=Ee(Se.maxDrawbuffers,function(U){return U===0?[0]:Ee(U,function(V){return G+V})}));var Bt=0;function lt(){var U=hy({cache:Ge}),V=U.link,ee=U.global;U.id=Bt++,U.batchId="0";var _e=V(er),pe=U.shared={props:"a0"};Object.keys(er).forEach(function(ne){pe[ne]=ee.def(_e,".",ne)});var de=U.next={},ce=U.current={};Object.keys(mt).forEach(function(ne){Array.isArray(ot[ne])&&(de[ne]=ee.def(pe.next,".",ne),ce[ne]=ee.def(pe.current,".",ne))});var se=U.constants={};Object.keys(xt).forEach(function(ne){se[ne]=ee.def(JSON.stringify(xt[ne]))}),U.invoke=function(ne,Q){switch(Q.type){case Fu:var ve=["this",pe.context,pe.props,U.batchId];return ne.def(V(Q.data),".call(",ve.slice(0,Math.max(Q.data.length+1,4)),")");case as:return ne.def(pe.props,Q.data);case _c:return ne.def(pe.context,Q.data);case os:return ne.def("this",Q.data);case Da:return Q.data.append(U,ne),Q.data.ref;case Sc:return Q.data.toString();case ev:return Q.data.map(function(Oe){return U.invoke(ne,Oe)})}},U.attribCache={};var Z={};return U.scopeAttrib=function(ne){var Q=H.id(ne);if(Q in Z)return Z[Q];var ve=et.scope[Q];ve||(ve=et.scope[Q]=new Te);var Oe=Z[Q]=V(ve);return Oe},U}function tr(U){var V=U.static,ee=U.dynamic,_e;if(Ba in V){var pe=!!V[Ba];_e=je(function(ce,se){return pe}),_e.enable=pe}else if(Ba in ee){var de=ee[Ba];_e=at(de,function(ce,se){return ce.invoke(se,de)})}return _e}function ur(U,V){var ee=U.static,_e=U.dynamic;if(ra in ee){var pe=ee[ra];return pe?(pe=Ye.getFramebuffer(pe),je(function(ce,se){var Z=ce.link(pe),ne=ce.shared;se.set(ne.framebuffer,".next",Z);var Q=ne.context;return se.set(Q,"."+Eo,Z+".width"),se.set(Q,"."+Ao,Z+".height"),Z})):je(function(ce,se){var Z=ce.shared;se.set(Z.framebuffer,".next","null");var ne=Z.context;return se.set(ne,"."+Eo,ne+"."+Pc),se.set(ne,"."+Ao,ne+"."+Nc),"null"})}else if(ra in _e){var de=_e[ra];return at(de,function(ce,se){var Z=ce.invoke(se,de),ne=ce.shared,Q=ne.framebuffer,ve=se.def(Q,".getFramebuffer(",Z,")");se.set(Q,".next",ve);var Oe=ne.context;return se.set(Oe,"."+Eo,ve+"?"+ve+".width:"+Oe+"."+Pc),se.set(Oe,"."+Ao,ve+"?"+ve+".height:"+Oe+"."+Nc),ve})}else return null}function cr(U,V,ee){var _e=U.static,pe=U.dynamic;function de(Z){if(Z in _e){var ne=_e[Z],Q=!0,ve=ne.x|0,Oe=ne.y|0,Be,Lt;return"width"in ne?Be=ne.width|0:Q=!1,"height"in ne?Lt=ne.height|0:Q=!1,new Ue(!Q&&V&&V.thisDep,!Q&&V&&V.contextDep,!Q&&V&&V.propDep,function(Pt,Et){var Dt=Pt.shared.context,wt=Be;"width"in ne||(wt=Et.def(Dt,".",Eo,"-",ve));var Ot=Lt;return"height"in ne||(Ot=Et.def(Dt,".",Ao,"-",Oe)),[ve,Oe,wt,Ot]})}else if(Z in pe){var Mt=pe[Z],gt=at(Mt,function(Pt,Et){var Dt=Pt.invoke(Et,Mt),wt=Pt.shared.context,Ot=Et.def(Dt,".x|0"),kt=Et.def(Dt,".y|0"),Ht=Et.def('"width" in ',Dt,"?",Dt,".width|0:","(",wt,".",Eo,"-",Ot,")"),Rr=Et.def('"height" in ',Dt,"?",Dt,".height|0:","(",wt,".",Ao,"-",kt,")");return[Ot,kt,Ht,Rr]});return V&&(gt.thisDep=gt.thisDep||V.thisDep,gt.contextDep=gt.contextDep||V.contextDep,gt.propDep=gt.propDep||V.propDep),gt}else return V?new Ue(V.thisDep,V.contextDep,V.propDep,function(Pt,Et){var Dt=Pt.shared.context;return[0,0,Et.def(Dt,".",Eo),Et.def(Dt,".",Ao)]}):null}var ce=de($i);if(ce){var se=ce;ce=new Ue(ce.thisDep,ce.contextDep,ce.propDep,function(Z,ne){var Q=se.append(Z,ne),ve=Z.shared.context;return ne.set(ve,"."+dy,Q[2]),ne.set(ve,"."+uv,Q[3]),Q})}return{viewport:ce,scissor_box:de(fs)}}function nn(U,V){var ee=U.static,_e=typeof ee[cs]=="string"&&typeof ee[$u]=="string";if(_e){if(Object.keys(V.dynamic).length>0)return null;var pe=V.static,de=Object.keys(pe);if(de.length>0&&typeof pe[de[0]]=="number"){for(var ce=[],se=0;se<de.length;++se)ce.push([pe[de[se]]|0,de[se]]);return ce}}return null}function lr(U,V,ee){var _e=U.static,pe=U.dynamic;function de(Q){if(Q in _e){var ve=H.id(_e[Q]),Oe=je(function(){return ve});return Oe.id=ve,Oe}else if(Q in pe){var Be=pe[Q];return at(Be,function(Lt,Mt){var gt=Lt.invoke(Mt,Be),Pt=Mt.def(Lt.shared.strings,".id(",gt,")");return Pt})}return null}var ce=de(cs),se=de($u),Z=null,ne;return tt(ce)&&tt(se)?(Z=ft.program(se.id,ce.id,null,ee),ne=je(function(Q,ve){return Q.link(Z)})):ne=new Ue(ce&&ce.thisDep||se&&se.thisDep,ce&&ce.contextDep||se&&se.contextDep,ce&&ce.propDep||se&&se.propDep,function(Q,ve){var Oe=Q.shared.shader,Be;ce?Be=ce.append(Q,ve):Be=ve.def(Oe,".",cs);var Lt;se?Lt=se.append(Q,ve):Lt=ve.def(Oe,".",$u);var Mt=Oe+".program("+Lt+","+Be;return ve.def(Mt+")")}),{frag:ce,vert:se,progVar:ne,program:Z}}function Hn(U,V){var ee=U.static,_e=U.dynamic,pe={},de=!1;function ce(){if(ui in ee){var Et=ee[ui];return Et!==null&&et.getVAO(Et)===null&&(Et=et.createVAO(Et)),de=!0,pe.vao=Et,je(function(wt){var Ot=et.getVAO(Et);return Ot?wt.link(Ot):"null"})}else if(ui in _e){de=!0;var Dt=_e[ui];return at(Dt,function(wt,Ot){var kt=wt.invoke(Ot,Dt);return Ot.def(wt.shared.vao+".getVAO("+kt+")")})}return null}var se=ce(),Z=!1;function ne(){if(_o in ee){var Et=ee[_o];if(pe.elements=Et,te(Et)){var Dt=pe.elements=ye.create(Et,!0);Et=ye.getElements(Dt),Z=!0}else Et&&(Et=ye.getElements(Et),Z=!0);var wt=je(function(kt,Ht){if(Et){var Rr=kt.link(Et);return kt.ELEMENTS=Rr,Rr}return kt.ELEMENTS=null,null});return wt.value=Et,wt}else if(_o in _e){Z=!0;var Ot=_e[_o];return at(Ot,function(kt,Ht){var Rr=kt.shared,qn=Rr.isBufferArgs,Ua=Rr.elements,Oo=kt.invoke(Ht,Ot),ko=Ht.def("null"),yi=Ht.def(qn,"(",Oo,")"),Hc=kt.cond(yi).then(ko,"=",Ua,".createStream(",Oo,");").else(ko,"=",Ua,".getElements(",Oo,");");return Ht.entry(Hc),Ht.exit(kt.cond(yi).then(Ua,".destroyStream(",ko,");")),kt.ELEMENTS=ko,ko})}else if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Ht){return Ht.def(kt.shared.vao+".currentVAO?"+kt.shared.elements+".getElements("+kt.shared.vao+".currentVAO.elements):null")});return null}var Q=ne();function ve(){if(So in ee){var Et=ee[So];return pe.primitive=Et,je(function(wt,Ot){return en[Et]})}else if(So in _e){var Dt=_e[So];return at(Dt,function(wt,Ot){var kt=wt.constants.primTypes,Ht=wt.invoke(Ot,Dt);return Ot.def(kt,"[",Ht,"]")})}else{if(Z)return tt(Q)?Q.value?je(function(wt,Ot){return Ot.def(wt.ELEMENTS,".primType")}):je(function(){return f}):new Ue(Q.thisDep,Q.contextDep,Q.propDep,function(wt,Ot){var kt=wt.ELEMENTS;return Ot.def(kt,"?",kt,".primType:",f)});if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(wt,Ot){return Ot.def(wt.shared.vao+".currentVAO?"+wt.shared.vao+".currentVAO.primitive:"+f)})}return null}function Oe(Et,Dt){if(Et in ee){var wt=ee[Et]|0;return Dt?pe.offset=wt:pe.instances=wt,je(function(kt,Ht){return Dt&&(kt.OFFSET=wt),wt})}else if(Et in _e){var Ot=_e[Et];return at(Ot,function(kt,Ht){var Rr=kt.invoke(Ht,Ot);return Dt&&(kt.OFFSET=Rr),Rr})}else if(Dt){if(Z)return je(function(kt,Ht){return kt.OFFSET=0,0});if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Ht){return Ht.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.offset:0")})}else if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Ht){return Ht.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.instances:-1")});return null}var Be=Oe(hs,!0);function Lt(){if(tn in ee){var Et=ee[tn]|0;return pe.count=Et,je(function(){return Et})}else if(tn in _e){var Dt=_e[tn];return at(Dt,function(Ht,Rr){var qn=Ht.invoke(Rr,Dt);return qn})}else if(Z)if(tt(Q)){if(Q)return Be?new Ue(Be.thisDep,Be.contextDep,Be.propDep,function(Ht,Rr){var qn=Rr.def(Ht.ELEMENTS,".vertCount-",Ht.OFFSET);return qn}):je(function(Ht,Rr){return Rr.def(Ht.ELEMENTS,".vertCount")});var wt=je(function(){return-1});return wt}else{var Ot=new Ue(Q.thisDep||Be.thisDep,Q.contextDep||Be.contextDep,Q.propDep||Be.propDep,function(Ht,Rr){var qn=Ht.ELEMENTS;return Ht.OFFSET?Rr.def(qn,"?",qn,".vertCount-",Ht.OFFSET,":-1"):Rr.def(qn,"?",qn,".vertCount:-1")});return Ot}else if(de){var kt=new Ue(se.thisDep,se.contextDep,se.propDep,function(Ht,Rr){return Rr.def(Ht.shared.vao,".currentVAO?",Ht.shared.vao,".currentVAO.count:-1")});return kt}return null}var Mt=ve(),gt=Lt(),Pt=Oe(ds,!1);return{elements:Q,primitive:Mt,count:gt,instances:Pt,offset:Be,vao:se,vaoActive:de,elementsActive:Z,static:pe}}function Er(U,V){var ee=U.static,_e=U.dynamic,pe={};return $e.forEach(function(de){var ce=Ae(de);function se(Z,ne){if(de in ee){var Q=Z(ee[de]);pe[ce]=je(function(){return Q})}else if(de in _e){var ve=_e[de];pe[ce]=at(ve,function(Oe,Be){return ne(Oe,Be,Oe.invoke(Be,ve))})}}switch(de){case av:case rv:case tv:case Wn:case Ec:case ov:case Nu:case kc:case Mc:case Pu:return se(function(Z){return Z},function(Z,ne,Q){return Q});case Ac:return se(function(Z){return J[Z]},function(Z,ne,Q){var ve=Z.constants.compareFuncs;return ne.def(ve,"[",Q,"]")});case iv:return se(function(Z){return Z},function(Z,ne,Q){var ve=ne.def("+",Q,"[0]"),Oe=ne.def("+",Q,"[1]");return[ve,Oe]});case ls:return se(function(Z){var ne="srcRGB"in Z?Z.srcRGB:Z.src,Q="srcAlpha"in Z?Z.srcAlpha:Z.src,ve="dstRGB"in Z?Z.dstRGB:Z.dst,Oe="dstAlpha"in Z?Z.dstAlpha:Z.dst;return[X[ne],X[ve],X[Q],X[Oe]]},function(Z,ne,Q){var ve=Z.constants.blendFuncs;function Oe(Dt,wt){var Ot=ne.def('"',Dt,wt,'" in ',Q,"?",Q,".",Dt,wt,":",Q,".",Dt);return Ot}var Be=Oe("src","RGB"),Lt=Oe("dst","RGB"),Mt=ne.def(ve,"[",Be,"]"),gt=ne.def(ve,"[",Oe("src","Alpha"),"]"),Pt=ne.def(ve,"[",Lt,"]"),Et=ne.def(ve,"[",Oe("dst","Alpha"),"]");return[Mt,Pt,gt,Et]});case us:return se(function(Z){if(typeof Z=="string")return[qe[Z],qe[Z]];if(typeof Z=="object")return[qe[Z.rgb],qe[Z.alpha]]},function(Z,ne,Q){var ve=Z.constants.blendEquations,Oe=ne.def(),Be=ne.def(),Lt=Z.cond("typeof ",Q,'==="string"');return Lt.then(Oe,"=",Be,"=",ve,"[",Q,"];"),Lt.else(Oe,"=",ve,"[",Q,".rgb];",Be,"=",ve,"[",Q,".alpha];"),ne(Lt),[Oe,Be]});case nv:return se(function(Z){return Ee(4,function(ne){return+Z[ne]})},function(Z,ne,Q){return Ee(4,function(ve){return ne.def("+",Q,"[",ve,"]")})});case Ic:return se(function(Z){return Z|0},function(Z,ne,Q){return ne.def(Q,"|0")});case Rc:return se(function(Z){var ne=Z.cmp||"keep",Q=Z.ref||0,ve="mask"in Z?Z.mask:-1;return[J[ne],Q,ve]},function(Z,ne,Q){var ve=Z.constants.compareFuncs,Oe=ne.def('"cmp" in ',Q,"?",ve,"[",Q,".cmp]",":",N),Be=ne.def(Q,".ref|0"),Lt=ne.def('"mask" in ',Q,"?",Q,".mask|0:-1");return[Oe,Be,Lt]});case Du:case $a:return se(function(Z){var ne=Z.fail||"keep",Q=Z.zfail||"keep",ve=Z.zpass||"keep";return[de===$a?p:h,ue[ne],ue[Q],ue[ve]]},function(Z,ne,Q){var ve=Z.constants.stencilOps;function Oe(Be){return ne.def('"',Be,'" in ',Q,"?",ve,"[",Q,".",Be,"]:",N)}return[de===$a?p:h,Oe("fail"),Oe("zfail"),Oe("zpass")]});case wo:return se(function(Z){var ne=Z.factor|0,Q=Z.units|0;return[ne,Q]},function(Z,ne,Q){var ve=ne.def(Q,".factor|0"),Oe=ne.def(Q,".units|0");return[ve,Oe]});case Cc:return se(function(Z){var ne=0;return Z==="front"?ne=h:Z==="back"&&(ne=p),ne},function(Z,ne,Q){return ne.def(Q,'==="front"?',h,":",p)});case Oc:return se(function(Z){return Z},function(Z,ne,Q){return Q});case ss:return se(function(Z){return le[Z]},function(Z,ne,Q){return ne.def(Q+'==="cw"?'+v+":"+x)});case Tc:return se(function(Z){return Z.map(function(ne){return!!ne})},function(Z,ne,Q){return Ee(4,function(ve){return"!!"+Q+"["+ve+"]"})});case Lu:return se(function(Z){var ne="value"in Z?Z.value:1,Q=!!Z.invert;return[ne,Q]},function(Z,ne,Q){var ve=ne.def('"value" in ',Q,"?+",Q,".value:1"),Oe=ne.def("!!",Q,".invert");return[ve,Oe]})}}),pe}function bn(U,V){var ee=U.static,_e=U.dynamic,pe={};return Object.keys(ee).forEach(function(de){var ce=ee[de],se;if(typeof ce=="number"||typeof ce=="boolean")se=je(function(){return ce});else if(typeof ce=="function"){var Z=ce._reglType;Z==="texture2d"||Z==="textureCube"?se=je(function(ne){return ne.link(ce)}):(Z==="framebuffer"||Z==="framebufferCube")&&(se=je(function(ne){return ne.link(ce.color[0])}))}else ri(ce)&&(se=je(function(ne){var Q=ne.global.def("[",Ee(ce.length,function(ve){return ce[ve]}),"]");return Q}));se.value=ce,pe[de]=se}),Object.keys(_e).forEach(function(de){var ce=_e[de];pe[de]=at(ce,function(se,Z){return se.invoke(Z,ce)})}),pe}function Vn(U,V){var ee=U.static,_e=U.dynamic,pe={};return Object.keys(ee).forEach(function(de){var ce=ee[de],se=H.id(de),Z=new Te;if(te(ce))Z.state=La,Z.buffer=Me.getBuffer(Me.create(ce,za,!1,!0)),Z.type=0;else{var ne=Me.getBuffer(ce);if(ne)Z.state=La,Z.buffer=ne,Z.type=0;else if("constant"in ce){var Q=ce.constant;Z.buffer="null",Z.state=Ru,typeof Q=="number"?Z.x=Q:Na.forEach(function(Pt,Et){Et<Q.length&&(Z[Pt]=Q[Et])})}else{te(ce.buffer)?ne=Me.getBuffer(Me.create(ce.buffer,za,!1,!0)):ne=Me.getBuffer(ce.buffer);var ve=ce.offset|0,Oe=ce.stride|0,Be=ce.size|0,Lt=!!ce.normalized,Mt=0;"type"in ce&&(Mt=bu[ce.type]);var gt=ce.divisor|0;Z.buffer=ne,Z.state=La,Z.size=Be,Z.normalized=Lt,Z.type=Mt||ne.dtype,Z.offset=ve,Z.stride=Oe,Z.divisor=gt}}pe[de]=je(function(Pt,Et){var Dt=Pt.attribCache;if(se in Dt)return Dt[se];var wt={isStream:!1};return Object.keys(Z).forEach(function(Ot){wt[Ot]=Z[Ot]}),Z.buffer&&(wt.buffer=Pt.link(Z.buffer),wt.type=wt.type||wt.buffer+".dtype"),Dt[se]=wt,wt})}),Object.keys(_e).forEach(function(de){var ce=_e[de];function se(Z,ne){var Q=Z.invoke(ne,ce),ve=Z.shared,Oe=Z.constants,Be=ve.isBufferArgs,Lt=ve.buffer,Mt={isStream:ne.def(!1)},gt=new Te;gt.state=La,Object.keys(gt).forEach(function(wt){Mt[wt]=ne.def(""+gt[wt])});var Pt=Mt.buffer,Et=Mt.type;ne("if(",Be,"(",Q,")){",Mt.isStream,"=true;",Pt,"=",Lt,".createStream(",za,",",Q,");",Et,"=",Pt,".dtype;","}else{",Pt,"=",Lt,".getBuffer(",Q,");","if(",Pt,"){",Et,"=",Pt,".dtype;",'}else if("constant" in ',Q,"){",Mt.state,"=",Ru,";","if(typeof "+Q+'.constant === "number"){',Mt[Na[0]],"=",Q,".constant;",Na.slice(1).map(function(wt){return Mt[wt]}).join("="),"=0;","}else{",Na.map(function(wt,Ot){return Mt[wt]+"="+Q+".constant.length>"+Ot+"?"+Q+".constant["+Ot+"]:0;"}).join(""),"}}else{","if(",Be,"(",Q,".buffer)){",Pt,"=",Lt,".createStream(",za,",",Q,".buffer);","}else{",Pt,"=",Lt,".getBuffer(",Q,".buffer);","}",Et,'="type" in ',Q,"?",Oe.glTypes,"[",Q,".type]:",Pt,".dtype;",Mt.normalized,"=!!",Q,".normalized;");function Dt(wt){ne(Mt[wt],"=",Q,".",wt,"|0;")}return Dt("size"),Dt("offset"),Dt("stride"),Dt("divisor"),ne("}}"),ne.exit("if(",Mt.isStream,"){",Lt,".destroyStream(",Pt,");","}"),Mt}pe[de]=at(ce,se)}),pe}function Mn(U){var V=U.static,ee=U.dynamic,_e={};return Object.keys(V).forEach(function(pe){var de=V[pe];_e[pe]=je(function(ce,se){return typeof de=="number"||typeof de=="boolean"?""+de:ce.link(de)})}),Object.keys(ee).forEach(function(pe){var de=ee[pe];_e[pe]=at(de,function(ce,se){return ce.invoke(se,de)})}),_e}function zi(U,V,ee,_e,pe){U.static,U.dynamic;var de=nn(U,V),ce=ur(U),se=cr(U,ce),Z=Hn(U),ne=Er(U),Q=lr(U,pe,de);function ve(Pt){var Et=se[Pt];Et&&(ne[Pt]=Et)}ve($i),ve(Ae(fs));var Oe=Object.keys(ne).length>0,Be={framebuffer:ce,draw:Z,shader:Q,state:ne,dirty:Oe,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Be.profile=tr(U),Be.uniforms=bn(ee),Be.drawVAO=Be.scopeVAO=Z.vao,!Be.drawVAO&&Q.program&&!de&&K.angle_instanced_arrays&&Z.static.elements){var Lt=!0,Mt=Q.program.attributes.map(function(Pt){var Et=V.static[Pt];return Lt=Lt&&!!Et,Et});if(Lt&&Mt.length>0){var gt=et.getVAO(et.createVAO({attributes:Mt,elements:Z.static.elements}));Be.drawVAO=new Ue(null,null,null,function(Pt,Et){return Pt.link(gt)}),Be.useVAO=!0}}return de?Be.useVAO=!0:Be.attributes=Vn(V),Be.context=Mn(_e),Be}function an(U,V,ee){var _e=U.shared,pe=_e.context,de=U.scope();Object.keys(ee).forEach(function(ce){V.save(pe,"."+ce);var se=ee[ce],Z=se.append(U,V);Array.isArray(Z)?de(pe,".",ce,"=[",Z.join(),"];"):de(pe,".",ce,"=",Z,";")}),V(de)}function on(U,V,ee,_e){var pe=U.shared,de=pe.gl,ce=pe.framebuffer,se;Ne&&(se=V.def(pe.extensions,".webgl_draw_buffers"));var Z=U.constants,ne=Z.drawBuffer,Q=Z.backBuffer,ve;ee?ve=ee.append(U,V):ve=V.def(ce,".next"),_e||V("if(",ve,"!==",ce,".cur){"),V("if(",ve,"){",de,".bindFramebuffer(",oe,",",ve,".framebuffer);"),Ne&&V(se,".drawBuffersWEBGL(",ne,"[",ve,".colorAttachments.length]);"),V("}else{",de,".bindFramebuffer(",oe,",null);"),Ne&&V(se,".drawBuffersWEBGL(",Q,");"),V("}",ce,".cur=",ve,";"),_e||V("}")}function Yt(U,V,ee){var _e=U.shared,pe=_e.gl,de=U.current,ce=U.next,se=_e.current,Z=_e.next,ne=U.cond(se,".dirty");$e.forEach(function(Q){var ve=Ae(Q);if(!(ve in ee.state)){var Oe,Be;if(ve in ce){Oe=ce[ve],Be=de[ve];var Lt=Ee(ot[ve].length,function(gt){return ne.def(Oe,"[",gt,"]")});ne(U.cond(Lt.map(function(gt,Pt){return gt+"!=="+Be+"["+Pt+"]"}).join("||")).then(pe,".",mt[ve],"(",Lt,");",Lt.map(function(gt,Pt){return Be+"["+Pt+"]="+gt}).join(";"),";"))}else{Oe=ne.def(Z,".",ve);var Mt=U.cond(Oe,"!==",se,".",ve);ne(Mt),ve in Ie?Mt(U.cond(Oe).then(pe,".enable(",Ie[ve],");").else(pe,".disable(",Ie[ve],");"),se,".",ve,"=",Oe,";"):Mt(pe,".",mt[ve],"(",Oe,");",se,".",ve,"=",Oe,";")}}}),Object.keys(ee.state).length===0&&ne(se,".dirty=false;"),V(ne)}function li(U,V,ee,_e){var pe=U.shared,de=U.current,ce=pe.current,se=pe.gl,Z;Re(Object.keys(ee)).forEach(function(ne){var Q=ee[ne];if(!(_e&&!_e(Q))){var ve=Q.append(U,V);if(Ie[ne]){var Oe=Ie[ne];tt(Q)?(Z=U.link(ve,{stable:!0}),V(U.cond(Z).then(se,".enable(",Oe,");").else(se,".disable(",Oe,");")),V(ce,".",ne,"=",Z,";")):(V(U.cond(ve).then(se,".enable(",Oe,");").else(se,".disable(",Oe,");")),V(ce,".",ne,"=",ve,";"))}else if(ri(ve)){var Be=de[ne];V(se,".",mt[ne],"(",ve,");",ve.map(function(Lt,Mt){return Be+"["+Mt+"]="+Lt}).join(";"),";")}else tt(Q)?(Z=U.link(ve,{stable:!0}),V(se,".",mt[ne],"(",Z,");",ce,".",ne,"=",Z,";")):V(se,".",mt[ne],"(",ve,");",ce,".",ne,"=",ve,";")}})}function br(U,V){Ke&&(U.instancing=V.def(U.shared.extensions,".angle_instanced_arrays"))}function un(U,V,ee,_e,pe){var de=U.shared,ce=U.stats,se=de.current,Z=de.timer,ne=ee.profile;function Q(){return typeof performance>"u"?"Date.now()":"performance.now()"}var ve,Oe;function Be(Dt){ve=V.def(),Dt(ve,"=",Q(),";"),typeof pe=="string"?Dt(ce,".count+=",pe,";"):Dt(ce,".count++;"),it&&(_e?(Oe=V.def(),Dt(Oe,"=",Z,".getNumPendingQueries();")):Dt(Z,".beginQuery(",ce,");"))}function Lt(Dt){Dt(ce,".cpuTime+=",Q(),"-",ve,";"),it&&(_e?Dt(Z,".pushScopeStats(",Oe,",",Z,".getNumPendingQueries(),",ce,");"):Dt(Z,".endQuery();"))}function Mt(Dt){var wt=V.def(se,".profile");V(se,".profile=",Dt,";"),V.exit(se,".profile=",wt,";")}var gt;if(ne){if(tt(ne)){ne.enable?(Be(V),Lt(V.exit),Mt("true")):Mt("false");return}gt=ne.append(U,V),Mt(gt)}else gt=V.def(se,".profile");var Pt=U.block();Be(Pt),V("if(",gt,"){",Pt,"}");var Et=U.block();Lt(Et),V.exit("if(",gt,"){",Et,"}")}function Dn(U,V,ee,_e,pe){var de=U.shared;function ce(Z){switch(Z){case ms:case Dc:case Bc:return 2;case Bi:case ju:case zc:return 3;case To:case Co:case Uc:return 4;default:return 1}}function se(Z,ne,Q){var ve=de.gl,Oe=V.def(Z,".location"),Be=V.def(de.attributes,"[",Oe,"]"),Lt=Q.state,Mt=Q.buffer,gt=[Q.x,Q.y,Q.z,Q.w],Pt=["buffer","normalized","offset","stride"];function Et(){V("if(!",Be,".buffer){",ve,".enableVertexAttribArray(",Oe,");}");var wt=Q.type,Ot;if(Q.size?Ot=V.def(Q.size,"||",ne):Ot=ne,V("if(",Be,".type!==",wt,"||",Be,".size!==",Ot,"||",Pt.map(function(Ht){return Be+"."+Ht+"!=="+Q[Ht]}).join("||"),"){",ve,".bindBuffer(",za,",",Mt,".buffer);",ve,".vertexAttribPointer(",[Oe,Ot,wt,Q.normalized,Q.stride,Q.offset],");",Be,".type=",wt,";",Be,".size=",Ot,";",Pt.map(function(Ht){return Be+"."+Ht+"="+Q[Ht]+";"}).join(""),"}"),Ke){var kt=Q.divisor;V("if(",Be,".divisor!==",kt,"){",U.instancing,".vertexAttribDivisorANGLE(",[Oe,kt],");",Be,".divisor=",kt,";}")}}function Dt(){V("if(",Be,".buffer){",ve,".disableVertexAttribArray(",Oe,");",Be,".buffer=null;","}if(",Na.map(function(wt,Ot){return Be+"."+wt+"!=="+gt[Ot]}).join("||"),"){",ve,".vertexAttrib4f(",Oe,",",gt,");",Na.map(function(wt,Ot){return Be+"."+wt+"="+gt[Ot]+";"}).join(""),"}")}Lt===La?Et():Lt===Ru?Dt():(V("if(",Lt,"===",La,"){"),Et(),V("}else{"),Dt(),V("}"))}_e.forEach(function(Z){var ne=Z.name,Q=ee.attributes[ne],ve;if(Q){if(!pe(Q))return;ve=Q.append(U,V)}else{if(!pe(vt))return;var Oe=U.scopeAttrib(ne);ve={},Object.keys(new Te).forEach(function(Be){ve[Be]=V.def(Oe,".",Be)})}se(U.link(Z),ce(Z.info.type),ve)})}function $n(U,V,ee,_e,pe,de){for(var ce=U.shared,se=ce.gl,Z,ne=0;ne<_e.length;++ne){var Q=_e[ne],ve=Q.name,Oe=Q.info.type,Be=ee.uniforms[ve],Lt=U.link(Q),Mt=Lt+".location",gt;if(Be){if(!pe(Be))continue;if(tt(Be)){var Pt=Be.value;if(Oe===Wc||Oe===u){var Et=U.link(Pt._texture||Pt.color[0]._texture);V(se,".uniform1i(",Mt,",",Et+".bind());"),V.exit(Et,".unbind();")}else if(Oe===jc||Oe===Gu||Oe===Gc){var Dt=U.global.def("new Float32Array(["+Array.prototype.slice.call(Pt)+"])"),wt=2;Oe===Gu?wt=3:Oe===Gc&&(wt=4),V(se,".uniformMatrix",wt,"fv(",Mt,",false,",Dt,");")}else{switch(Oe){case Dr:Z="1f";break;case ms:Z="2f";break;case Bi:Z="3f";break;case To:Z="4f";break;case $c:Z="1i";break;case gs:Z="1i";break;case Bc:Z="2i";break;case Dc:Z="2i";break;case zc:Z="3i";break;case ju:Z="3i";break;case Uc:Z="4i";break;case Co:Z="4i";break}V(se,".uniform",Z,"(",Mt,",",ri(Pt)?Array.prototype.slice.call(Pt):Pt,");")}continue}else gt=Be.append(U,V)}else{if(!pe(vt))continue;gt=V.def(ce.uniforms,"[",H.id(ve),"]")}Oe===Wc?V("if(",gt,"&&",gt,'._reglType==="framebuffer"){',gt,"=",gt,".color[0];","}"):Oe===u&&V("if(",gt,"&&",gt,'._reglType==="framebufferCube"){',gt,"=",gt,".color[0];","}");var Ot=1;switch(Oe){case Wc:case u:var kt=V.def(gt,"._texture");V(se,".uniform1i(",Mt,",",kt,".bind());"),V.exit(kt,".unbind();");continue;case gs:case $c:Z="1i";break;case Dc:case Bc:Z="2i",Ot=2;break;case ju:case zc:Z="3i",Ot=3;break;case Co:case Uc:Z="4i",Ot=4;break;case Dr:Z="1f";break;case ms:Z="2f",Ot=2;break;case Bi:Z="3f",Ot=3;break;case To:Z="4f",Ot=4;break;case jc:Z="Matrix2fv";break;case Gu:Z="Matrix3fv";break;case Gc:Z="Matrix4fv";break}if(Z.charAt(0)==="M"){V(se,".uniform",Z,"(",Mt,",");var Ht=Math.pow(Oe-jc+2,2),Rr=U.global.def("new Float32Array(",Ht,")");Array.isArray(gt)?V("false,(",Ee(Ht,function(yi){return Rr+"["+yi+"]="+gt[yi]}),",",Rr,")"):V("false,(Array.isArray(",gt,")||",gt," instanceof Float32Array)?",gt,":(",Ee(Ht,function(yi){return Rr+"["+yi+"]="+gt+"["+yi+"]"}),",",Rr,")"),V(");")}else if(Ot>1){for(var qn=[],Ua=[],Oo=0;Oo<Ot;++Oo)Array.isArray(gt)?Ua.push(gt[Oo]):Ua.push(V.def(gt+"["+Oo+"]")),de&&qn.push(V.def());de&&V("if(!",U.batchId,"||",qn.map(function(yi,Hc){return yi+"!=="+Ua[Hc]}).join("||"),"){",qn.map(function(yi,Hc){return yi+"="+Ua[Hc]+";"}).join("")),V(se,".uniform",Z,"(",Mt,",",Ua.join(","),");"),de&&V("}")}else{if(de){var ko=V.def();V("if(!",U.batchId,"||",ko,"!==",gt,"){",ko,"=",gt,";")}V(se,".uniform",Z,"(",Mt,",",gt,");"),de&&V("}")}}}function Zt(U,V,ee,_e){var pe=U.shared,de=pe.gl,ce=pe.draw,se=_e.draw;function Z(){var Ot=se.elements,kt,Ht=V;return Ot?((Ot.contextDep&&_e.contextDynamic||Ot.propDep)&&(Ht=ee),kt=Ot.append(U,Ht),se.elementsActive&&Ht("if("+kt+")"+de+".bindBuffer("+Lc+","+kt+".buffer.buffer);")):(kt=Ht.def(),Ht(kt,"=",ce,".",_o,";","if(",kt,"){",de,".bindBuffer(",Lc,",",kt,".buffer.buffer);}","else if(",pe.vao,".currentVAO){",kt,"=",U.shared.elements+".getElements("+pe.vao,".currentVAO.elements);",pt?"":"if("+kt+")"+de+".bindBuffer("+Lc+","+kt+".buffer.buffer);","}")),kt}function ne(){var Ot=se.count,kt,Ht=V;return Ot?((Ot.contextDep&&_e.contextDynamic||Ot.propDep)&&(Ht=ee),kt=Ot.append(U,Ht)):kt=Ht.def(ce,".",tn),kt}var Q=Z();function ve(Ot){var kt=se[Ot];return kt?kt.contextDep&&_e.contextDynamic||kt.propDep?kt.append(U,ee):kt.append(U,V):V.def(ce,".",Ot)}var Oe=ve(So),Be=ve(hs),Lt=ne();if(typeof Lt=="number"){if(Lt===0)return}else ee("if(",Lt,"){"),ee.exit("}");var Mt,gt;Ke&&(Mt=ve(ds),gt=U.instancing);var Pt=Q+".type",Et=se.elements&&tt(se.elements)&&!se.vaoActive;function Dt(){function Ot(){ee(gt,".drawElementsInstancedANGLE(",[Oe,Lt,Pt,Be+"<<(("+Pt+"-"+wc+")>>1)",Mt],");")}function kt(){ee(gt,".drawArraysInstancedANGLE(",[Oe,Be,Lt,Mt],");")}Q&&Q!=="null"?Et?Ot():(ee("if(",Q,"){"),Ot(),ee("}else{"),kt(),ee("}")):kt()}function wt(){function Ot(){ee(de+".drawElements("+[Oe,Lt,Pt,Be+"<<(("+Pt+"-"+wc+")>>1)"]+");")}function kt(){ee(de+".drawArrays("+[Oe,Be,Lt]+");")}Q&&Q!=="null"?Et?Ot():(ee("if(",Q,"){"),Ot(),ee("}else{"),kt(),ee("}")):kt()}Ke&&(typeof Mt!="number"||Mt>=0)?typeof Mt=="string"?(ee("if(",Mt,">0){"),Dt(),ee("}else if(",Mt,"<0){"),wt(),ee("}")):Dt():wt()}function fr(U,V,ee,_e,pe){var de=lt(),ce=de.proc("body",pe);return Ke&&(de.instancing=ce.def(de.shared.extensions,".angle_instanced_arrays")),U(de,ce,ee,_e),de.compile().body}function Cr(U,V,ee,_e){br(U,V),ee.useVAO?ee.drawVAO?V(U.shared.vao,".setVAO(",ee.drawVAO.append(U,V),");"):V(U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"):(V(U.shared.vao,".setVAO(null);"),Dn(U,V,ee,_e.attributes,function(){return!0})),$n(U,V,ee,_e.uniforms,function(){return!0},!1),Zt(U,V,V,ee)}function ln(U,V){var ee=U.proc("draw",1);br(U,ee),an(U,ee,V.context),on(U,ee,V.framebuffer),Yt(U,ee,V),li(U,ee,V.state),un(U,ee,V,!1,!0);var _e=V.shader.progVar.append(U,ee);if(ee(U.shared.gl,".useProgram(",_e,".program);"),V.shader.program)Cr(U,ee,V,V.shader.program);else{ee(U.shared.vao,".setVAO(null);");var pe=U.global.def("{}"),de=ee.def(_e,".id"),ce=ee.def(pe,"[",de,"]");ee(U.cond(ce).then(ce,".call(this,a0);").else(ce,"=",pe,"[",de,"]=",U.link(function(se){return fr(Cr,U,V,se,1)}),"(",_e,");",ce,".call(this,a0);"))}Object.keys(V.state).length>0&&ee(U.shared.current,".dirty=true;"),U.shared.vao&&ee(U.shared.vao,".setVAO(null);")}function q(U,V,ee,_e){U.batchId="a1",br(U,V);function pe(){return!0}Dn(U,V,ee,_e.attributes,pe),$n(U,V,ee,_e.uniforms,pe,!1),Zt(U,V,V,ee)}function xe(U,V,ee,_e){br(U,V);var pe=ee.contextDep,de=V.def(),ce="a0",se="a1",Z=V.def();U.shared.props=Z,U.batchId=de;var ne=U.scope(),Q=U.scope();V(ne.entry,"for(",de,"=0;",de,"<",se,";++",de,"){",Z,"=",ce,"[",de,"];",Q,"}",ne.exit);function ve(Pt){return Pt.contextDep&&pe||Pt.propDep}function Oe(Pt){return!ve(Pt)}if(ee.needsContext&&an(U,Q,ee.context),ee.needsFramebuffer&&on(U,Q,ee.framebuffer),li(U,Q,ee.state,ve),ee.profile&&ve(ee.profile)&&un(U,Q,ee,!1,!0),_e)ee.useVAO?ee.drawVAO?ve(ee.drawVAO)?Q(U.shared.vao,".setVAO(",ee.drawVAO.append(U,Q),");"):ne(U.shared.vao,".setVAO(",ee.drawVAO.append(U,ne),");"):ne(U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"):(ne(U.shared.vao,".setVAO(null);"),Dn(U,ne,ee,_e.attributes,Oe),Dn(U,Q,ee,_e.attributes,ve)),$n(U,ne,ee,_e.uniforms,Oe,!1),$n(U,Q,ee,_e.uniforms,ve,!0),Zt(U,ne,Q,ee);else{var Be=U.global.def("{}"),Lt=ee.shader.progVar.append(U,Q),Mt=Q.def(Lt,".id"),gt=Q.def(Be,"[",Mt,"]");Q(U.shared.gl,".useProgram(",Lt,".program);","if(!",gt,"){",gt,"=",Be,"[",Mt,"]=",U.link(function(Pt){return fr(q,U,ee,Pt,2)}),"(",Lt,");}",gt,".call(this,a0[",de,"],",de,");")}}function ge(U,V){var ee=U.proc("batch",2);U.batchId="0",br(U,ee);var _e=!1,pe=!0;Object.keys(V.context).forEach(function(Be){_e=_e||V.context[Be].propDep}),_e||(an(U,ee,V.context),pe=!1);var de=V.framebuffer,ce=!1;de?(de.propDep?_e=ce=!0:de.contextDep&&_e&&(ce=!0),ce||on(U,ee,de)):on(U,ee,null),V.state.viewport&&V.state.viewport.propDep&&(_e=!0);function se(Be){return Be.contextDep&&_e||Be.propDep}Yt(U,ee,V),li(U,ee,V.state,function(Be){return!se(Be)}),(!V.profile||!se(V.profile))&&un(U,ee,V,!1,"a1"),V.contextDep=_e,V.needsContext=pe,V.needsFramebuffer=ce;var Z=V.shader.progVar;if(Z.contextDep&&_e||Z.propDep)xe(U,ee,V,null);else{var ne=Z.append(U,ee);if(ee(U.shared.gl,".useProgram(",ne,".program);"),V.shader.program)xe(U,ee,V,V.shader.program);else{ee(U.shared.vao,".setVAO(null);");var Q=U.global.def("{}"),ve=ee.def(ne,".id"),Oe=ee.def(Q,"[",ve,"]");ee(U.cond(Oe).then(Oe,".call(this,a0,a1);").else(Oe,"=",Q,"[",ve,"]=",U.link(function(Be){return fr(xe,U,V,Be,2)}),"(",ne,");",Oe,".call(this,a0,a1);"))}}Object.keys(V.state).length>0&&ee(U.shared.current,".dirty=true;"),U.shared.vao&&ee(U.shared.vao,".setVAO(null);")}function Tt(U,V){var ee=U.proc("scope",3);U.batchId="a2";var _e=U.shared,pe=_e.current;if(an(U,ee,V.context),V.framebuffer&&V.framebuffer.append(U,ee),Re(Object.keys(V.state)).forEach(function(se){var Z=V.state[se],ne=Z.append(U,ee);ri(ne)?ne.forEach(function(Q,ve){Ft(Q)?ee.set(U.next[se],"["+ve+"]",Q):ee.set(U.next[se],"["+ve+"]",U.link(Q,{stable:!0}))}):tt(Z)?ee.set(_e.next,"."+se,U.link(ne,{stable:!0})):ee.set(_e.next,"."+se,ne)}),un(U,ee,V,!0,!0),[_o,hs,tn,ds,So].forEach(function(se){var Z=V.draw[se];if(!!Z){var ne=Z.append(U,ee);Ft(ne)?ee.set(_e.draw,"."+se,ne):ee.set(_e.draw,"."+se,U.link(ne),{stable:!0})}}),Object.keys(V.uniforms).forEach(function(se){var Z=V.uniforms[se].append(U,ee);Array.isArray(Z)&&(Z="["+Z.map(function(ne){return Ft(ne)?ne:U.link(ne,{stable:!0})})+"]"),ee.set(_e.uniforms,"["+U.link(H.id(se),{stable:!0})+"]",Z)}),Object.keys(V.attributes).forEach(function(se){var Z=V.attributes[se].append(U,ee),ne=U.scopeAttrib(se);Object.keys(new Te).forEach(function(Q){ee.set(ne,"."+Q,Z[Q])})}),V.scopeVAO){var de=V.scopeVAO.append(U,ee);Ft(de)?ee.set(_e.vao,".targetVAO",de):ee.set(_e.vao,".targetVAO",U.link(de,{stable:!0}))}function ce(se){var Z=V.shader[se];if(Z){var ne=Z.append(U,ee);Ft(ne)?ee.set(_e.shader,"."+se,ne):ee.set(_e.shader,"."+se,U.link(ne,{stable:!0}))}}ce($u),ce(cs),Object.keys(V.state).length>0&&(ee(pe,".dirty=true;"),ee.exit(pe,".dirty=true;")),ee("a1(",U.shared.context,",a0,",U.batchId,");")}function rr(U){if(!(typeof U!="object"||ri(U))){for(var V=Object.keys(U),ee=0;ee<V.length;++ee)if(E.isDynamic(U[V[ee]]))return!0;return!1}}function Ir(U,V,ee){var _e=V.static[ee];if(!_e||!rr(_e))return;var pe=U.global,de=Object.keys(_e),ce=!1,se=!1,Z=!1,ne=U.global.def("{}");de.forEach(function(ve){var Oe=_e[ve];if(E.isDynamic(Oe)){typeof Oe=="function"&&(Oe=_e[ve]=E.unbox(Oe));var Be=at(Oe,null);ce=ce||Be.thisDep,Z=Z||Be.propDep,se=se||Be.contextDep}else{switch(pe(ne,".",ve,"="),typeof Oe){case"number":pe(Oe);break;case"string":pe('"',Oe,'"');break;case"object":Array.isArray(Oe)&&pe("[",Oe.join(),"]");break;default:pe(U.link(Oe));break}pe(";")}});function Q(ve,Oe){de.forEach(function(Be){var Lt=_e[Be];if(!!E.isDynamic(Lt)){var Mt=ve.invoke(Oe,Lt);Oe(ne,".",Be,"=",Mt,";")}})}V.dynamic[ee]=new E.DynamicVariable(Da,{thisDep:ce,contextDep:se,propDep:Z,ref:ne,append:Q}),delete V.static[ee]}function Ct(U,V,ee,_e,pe){var de=lt();de.stats=de.link(pe),Object.keys(V.static).forEach(function(se){Ir(de,V,se)}),py.forEach(function(se){Ir(de,U,se)});var ce=zi(U,V,ee,_e,de);return ce.shader.program&&(ce.shader.program.attributes.sort(function(se,Z){return se.name<Z.name?-1:1}),ce.shader.program.uniforms.sort(function(se,Z){return se.name<Z.name?-1:1})),ln(de,ce),Tt(de,ce),ge(de,ce),r(de.compile(),{destroy:function(){ce.shader.program.destroy()}})}return{next:Rt,current:ot,procs:function(){var U=lt(),V=U.proc("poll"),ee=U.proc("refresh"),_e=U.block();V(_e),ee(_e);var pe=U.shared,de=pe.gl,ce=pe.next,se=pe.current;_e(se,".dirty=false;"),on(U,V),on(U,ee,null,!0);var Z;Ke&&(Z=U.link(Ke)),K.oes_vertex_array_object&&ee(U.link(K.oes_vertex_array_object),".bindVertexArrayOES(null);");var ne=ee.def(pe.attributes),Q=ee.def(0),ve=U.cond(Q,".buffer");ve.then(de,".enableVertexAttribArray(i);",de,".bindBuffer(",za,",",Q,".buffer.buffer);",de,".vertexAttribPointer(i,",Q,".size,",Q,".type,",Q,".normalized,",Q,".stride,",Q,".offset);").else(de,".disableVertexAttribArray(i);",de,".vertexAttrib4f(i,",Q,".x,",Q,".y,",Q,".z,",Q,".w);",Q,".buffer=null;");var Oe=U.link(Se.maxAttributes,{stable:!0});return ee("for(var i=0;i<",Oe,";++i){",Q,"=",ne,"[i];",ve,"}"),Ke&&ee("for(var i=0;i<",Oe,";++i){",Z,".vertexAttribDivisorANGLE(i,",ne,"[i].divisor);","}"),ee(U.shared.vao,".currentVAO=null;",U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"),Object.keys(Ie).forEach(function(Be){var Lt=Ie[Be],Mt=_e.def(ce,".",Be),gt=U.block();gt("if(",Mt,"){",de,".enable(",Lt,")}else{",de,".disable(",Lt,")}",se,".",Be,"=",Mt,";"),ee(gt),V("if(",Mt,"!==",se,".",Be,"){",gt,"}")}),Object.keys(mt).forEach(function(Be){var Lt=mt[Be],Mt=ot[Be],gt,Pt,Et=U.block();if(Et(de,".",Lt,"("),ri(Mt)){var Dt=Mt.length;gt=U.global.def(ce,".",Be),Pt=U.global.def(se,".",Be),Et(Ee(Dt,function(wt){return gt+"["+wt+"]"}),");",Ee(Dt,function(wt){return Pt+"["+wt+"]="+gt+"["+wt+"];"}).join("")),V("if(",Ee(Dt,function(wt){return gt+"["+wt+"]!=="+Pt+"["+wt+"]"}).join("||"),"){",Et,"}")}else gt=_e.def(ce,".",Be),Pt=_e.def(se,".",Be),Et(gt,");",se,".",Be,"=",gt,";"),V("if(",gt,"!==",Pt,"){",Et,"}");ee(Et)}),U.compile()}(),compile:Ct}}function bt(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var zt=34918,ar=34919,Mr=35007,dr=function(F,H){if(!H.ext_disjoint_timer_query)return null;var K=[];function Se(){return K.pop()||H.ext_disjoint_timer_query.createQueryEXT()}function Me(qe){K.push(qe)}var ye=[];function we(qe){var Ke=Se();H.ext_disjoint_timer_query.beginQueryEXT(Mr,Ke),ye.push(Ke),it(ye.length-1,ye.length,qe)}function Ye(){H.ext_disjoint_timer_query.endQueryEXT(Mr)}function Xe(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var et=[];function ft(){return et.pop()||new Xe}function It(qe){et.push(qe)}var St=[];function it(qe,Ke,Ne){var pt=ft();pt.startQueryIndex=qe,pt.endQueryIndex=Ke,pt.sum=0,pt.stats=Ne,St.push(pt)}var Ge=[],he=[];function Te(){var qe,Ke,Ne=ye.length;if(Ne!==0){he.length=Math.max(he.length,Ne+1),Ge.length=Math.max(Ge.length,Ne+1),Ge[0]=0,he[0]=0;var pt=0;for(qe=0,Ke=0;Ke<ye.length;++Ke){var ot=ye[Ke];H.ext_disjoint_timer_query.getQueryObjectEXT(ot,ar)?(pt+=H.ext_disjoint_timer_query.getQueryObjectEXT(ot,zt),Me(ot)):ye[qe++]=ot,Ge[Ke+1]=pt,he[Ke+1]=qe}for(ye.length=qe,qe=0,Ke=0;Ke<St.length;++Ke){var Rt=St[Ke],$e=Rt.startQueryIndex,Ie=Rt.endQueryIndex;Rt.sum+=Ge[Ie]-Ge[$e];var mt=he[$e],Ae=he[Ie];Ae===mt?(Rt.stats.gpuTime+=Rt.sum/1e6,It(Rt)):(Rt.startQueryIndex=mt,Rt.endQueryIndex=Ae,St[qe++]=Rt)}St.length=qe}}return{beginQuery:we,endQuery:Ye,pushScopeStats:it,update:Te,getNumPendingQueries:function(){return ye.length},clear:function(){K.push.apply(K,ye);for(var qe=0;qe<K.length;qe++)H.ext_disjoint_timer_query.deleteQueryEXT(K[qe]);ye.length=0,K.length=0},restore:function(){ye.length=0,K.length=0}}},rt=16384,Gt=256,qt=1024,or=34962,Sr="webglcontextlost",$r="webglcontextrestored",Vr=1,cn=2,xn=3;function rn(F,H){for(var K=0;K<F.length;++K)if(F[K]===H)return K;return-1}function kn(F){var H=j(F);if(!H)return null;var K=H.gl,Se=K.getContextAttributes();K.isContextLost();var Me=re(K,H);if(!Me)return null;var ye=w(),we=bt(),Ye=H.cachedCode||{},Xe=Me.extensions,et=dr(K,Xe),ft=b(),It=K.drawingBufferWidth,St=K.drawingBufferHeight,it={tick:0,time:0,viewportWidth:It,viewportHeight:St,framebufferWidth:It,framebufferHeight:St,drawingBufferWidth:It,drawingBufferHeight:St,pixelRatio:H.pixelRatio},Ge={},he={elements:null,primitive:4,count:-1,offset:0,instances:-1},Te=Ll(K,Xe),qe=up(K,we,H,pt),Ke=jl(K,Xe,qe,we),Ne=ny(K,Xe,Te,we,qe,Ke,he);function pt(Zt){return Ne.destroyBuffer(Zt)}var ot=Hp(K,ye,we,H),Rt=Zg(K,Xe,Te,function(){mt.procs.poll()},it,we,H),$e=zp(K,Xe,Te,we,H),Ie=hc(K,Xe,Te,Rt,$e,we),mt=jt(K,ye,Xe,Te,qe,Ke,Rt,Ie,Ge,Ne,ot,he,it,et,Ye,H),Ae=qp(K,Ie,mt.procs.poll,it),ht=mt.next,Je=K.canvas,Ft=[],er=[],xt=[],Bt=[H.onDestroy],lt=null;function tr(){if(Ft.length===0){et&&et.update(),lt=null;return}lt=M.next(tr),on();for(var Zt=Ft.length-1;Zt>=0;--Zt){var fr=Ft[Zt];fr&&fr(it,null,0)}K.flush(),et&&et.update()}function ur(){!lt&&Ft.length>0&&(lt=M.next(tr))}function cr(){lt&&(M.cancel(tr),lt=null)}function nn(Zt){Zt.preventDefault(),cr(),er.forEach(function(fr){fr()})}function lr(Zt){K.getError(),Me.restore(),ot.restore(),qe.restore(),Rt.restore(),$e.restore(),Ie.restore(),Ne.restore(),et&&et.restore(),mt.procs.refresh(),ur(),xt.forEach(function(fr){fr()})}Je&&(Je.addEventListener(Sr,nn,!1),Je.addEventListener($r,lr,!1));function Hn(){Ft.length=0,cr(),Je&&(Je.removeEventListener(Sr,nn),Je.removeEventListener($r,lr)),ot.clear(),Ie.clear(),$e.clear(),Ne.clear(),Rt.clear(),Ke.clear(),qe.clear(),et&&et.clear(),Bt.forEach(function(Zt){Zt()})}function Er(Zt){function fr(pe){var de=r({},pe);delete de.uniforms,delete de.attributes,delete de.context,delete de.vao,"stencil"in de&&de.stencil.op&&(de.stencil.opBack=de.stencil.opFront=de.stencil.op,delete de.stencil.op);function ce(se){if(se in de){var Z=de[se];delete de[se],Object.keys(Z).forEach(function(ne){de[se+"."+ne]=Z[ne]})}}return ce("blend"),ce("depth"),ce("cull"),ce("stencil"),ce("polygonOffset"),ce("scissor"),ce("sample"),"vao"in pe&&(de.vao=pe.vao),de}function Cr(pe,de){var ce={},se={};return Object.keys(pe).forEach(function(Z){var ne=pe[Z];if(E.isDynamic(ne)){se[Z]=E.unbox(ne,Z);return}else if(de&&Array.isArray(ne)){for(var Q=0;Q<ne.length;++Q)if(E.isDynamic(ne[Q])){se[Z]=E.unbox(ne,Z);return}}ce[Z]=ne}),{dynamic:se,static:ce}}var ln=Cr(Zt.context||{},!0),q=Cr(Zt.uniforms||{},!0),xe=Cr(Zt.attributes||{},!1),ge=Cr(fr(Zt),!1),Tt={gpuTime:0,cpuTime:0,count:0},rr=mt.compile(ge,xe,q,ln,Tt),Ir=rr.draw,Ct=rr.batch,U=rr.scope,V=[];function ee(pe){for(;V.length<pe;)V.push(null);return V}function _e(pe,de){var ce;if(typeof pe=="function")return U.call(this,null,pe,0);if(typeof de=="function")if(typeof pe=="number")for(ce=0;ce<pe;++ce)U.call(this,null,de,ce);else if(Array.isArray(pe))for(ce=0;ce<pe.length;++ce)U.call(this,pe[ce],de,ce);else return U.call(this,pe,de,0);else if(typeof pe=="number"){if(pe>0)return Ct.call(this,ee(pe|0),pe|0)}else if(Array.isArray(pe)){if(pe.length)return Ct.call(this,pe,pe.length)}else return Ir.call(this,pe)}return r(_e,{stats:Tt,destroy:function(){rr.destroy()}})}var bn=Ie.setFBO=Er({framebuffer:E.define.call(null,Vr,"framebuffer")});function Vn(Zt,fr){var Cr=0;mt.procs.poll();var ln=fr.color;ln&&(K.clearColor(+ln[0]||0,+ln[1]||0,+ln[2]||0,+ln[3]||0),Cr|=rt),"depth"in fr&&(K.clearDepth(+fr.depth),Cr|=Gt),"stencil"in fr&&(K.clearStencil(fr.stencil|0),Cr|=qt),K.clear(Cr)}function Mn(Zt){if("framebuffer"in Zt)if(Zt.framebuffer&&Zt.framebuffer_reglType==="framebufferCube")for(var fr=0;fr<6;++fr)bn(r({framebuffer:Zt.framebuffer.faces[fr]},Zt),Vn);else bn(Zt,Vn);else Vn(null,Zt)}function zi(Zt){Ft.push(Zt);function fr(){var Cr=rn(Ft,Zt);function ln(){var q=rn(Ft,ln);Ft[q]=Ft[Ft.length-1],Ft.length-=1,Ft.length<=0&&cr()}Ft[Cr]=ln}return ur(),{cancel:fr}}function an(){var Zt=ht.viewport,fr=ht.scissor_box;Zt[0]=Zt[1]=fr[0]=fr[1]=0,it.viewportWidth=it.framebufferWidth=it.drawingBufferWidth=Zt[2]=fr[2]=K.drawingBufferWidth,it.viewportHeight=it.framebufferHeight=it.drawingBufferHeight=Zt[3]=fr[3]=K.drawingBufferHeight}function on(){it.tick+=1,it.time=li(),an(),mt.procs.poll()}function Yt(){Rt.refresh(),an(),mt.procs.refresh(),et&&et.update()}function li(){return(b()-ft)/1e3}Yt();function br(Zt,fr){var Cr;switch(Zt){case"frame":return zi(fr);case"lost":Cr=er;break;case"restore":Cr=xt;break;case"destroy":Cr=Bt;break}return Cr.push(fr),{cancel:function(){for(var ln=0;ln<Cr.length;++ln)if(Cr[ln]===fr){Cr[ln]=Cr[Cr.length-1],Cr.pop();return}}}}function un(){return Ye}function Dn(Zt){Object.entries(Zt).forEach(function(fr){Ye[fr[0]]=fr[1]})}var $n=r(Er,{clear:Mn,prop:E.define.bind(null,Vr),context:E.define.bind(null,cn),this:E.define.bind(null,xn),draw:Er({}),buffer:function(Zt){return qe.create(Zt,or,!1,!1)},elements:function(Zt){return Ke.create(Zt,!1)},texture:Rt.create2D,cube:Rt.createCube,renderbuffer:$e.create,framebuffer:Ie.create,framebufferCube:Ie.createCube,vao:Ne.createVAO,attributes:Se,frame:zi,on:br,limits:Te,hasExtension:function(Zt){return Te.extensions.indexOf(Zt.toLowerCase())>=0},read:Ae,destroy:Hn,_gl:K,_refresh:Yt,poll:function(){on(),et&&et.update()},now:li,stats:we,getCachedCode:un,preloadCachedCode:Dn});return H.onDone(null,$n),$n}return kn})})(JR);var UW=pu,jW=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},aC(t)?t={container:t}:GW(t)?t={container:t}:WW(t)?t={gl:t}:t=UW(t,{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),t.pixelRatio||(t.pixelRatio=Ar.pixelRatio||1),t.gl)return t.gl;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if(typeof t.container=="string"){var r=document.querySelector(t.container);if(!r)throw Error("Element "+t.container+" is not found");t.container=r}aC(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=oC(),t.container.appendChild(t.canvas),iC(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=oC(),t.container.appendChild(t.canvas),iC(t);else throw Error("Not DOM environment. Use headless-gl.");return t.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(n){try{t.gl=t.canvas.getContext(n,t.attrs)}catch{}return t.gl}),t.gl};function iC(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*Ar.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*Ar.innerHeight);else{var t=e.container.getBoundingClientRect();e.canvas.width=e.width||t.right-t.left,e.canvas.height=e.height||t.bottom-t.top}}function aC(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function GW(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function WW(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function oC(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var HW=KR,VW=[32,126],qW=YW;function YW(e){e=e||{};var t=e.shape?e.shape:e.canvas?[e.canvas.width,e.canvas.height]:[512,512],r=e.canvas||document.createElement("canvas"),n=e.font,i=typeof e.step=="number"?[e.step,e.step]:e.step||[32,32],a=e.chars||VW;if(n&&typeof n!="string"&&(n=HW(n)),!Array.isArray(a))a=String(a).split("");else if(a.length===2&&typeof a[0]=="number"&&typeof a[1]=="number"){for(var o=[],l=a[0],s=0;l<=a[1];l++)o[s++]=String.fromCharCode(l);a=o}t=t.slice(),r.width=t[0],r.height=t[1];var c=r.getContext("2d");c.fillStyle="#000",c.fillRect(0,0,r.width,r.height),c.font=n,c.textAlign="center",c.textBaseline="middle",c.fillStyle="#fff";for(var d=i[0]/2,y=i[1]/2,l=0;l<a.length;l++)c.fillText(a[l],d,y),(d+=i[0])>t[0]-i[0]/2&&(d=i[0]/2,y+=i[1]);return r}var pr={},Ur={},H2=32;Ur.INT_BITS=H2;Ur.INT_MAX=2147483647;Ur.INT_MIN=-1<<H2-1;Ur.sign=function(e){return(e>0)-(e<0)};Ur.abs=function(e){var t=e>>H2-1;return(e^t)-t};Ur.min=function(e,t){return t^(e^t)&-(e<t)};Ur.max=function(e,t){return e^(e^t)&-(e<t)};Ur.isPow2=function(e){return!(e&e-1)&&!!e};Ur.log2=function(e){var t,r;return t=(e>65535)<<4,e>>>=t,r=(e>255)<<3,e>>>=r,t|=r,r=(e>15)<<2,e>>>=r,t|=r,r=(e>3)<<1,e>>>=r,t|=r,t|e>>1};Ur.log10=function(e){return e>=1e9?9:e>=1e8?8:e>=1e7?7:e>=1e6?6:e>=1e5?5:e>=1e4?4:e>=1e3?3:e>=100?2:e>=10?1:0};Ur.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function eF(e){var t=32;return e&=-e,e&&t--,e&65535&&(t-=16),e&16711935&&(t-=8),e&252645135&&(t-=4),e&858993459&&(t-=2),e&1431655765&&(t-=1),t}Ur.countTrailingZeros=eF;Ur.nextPow2=function(e){return e+=e===0,--e,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e+1};Ur.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};Ur.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var Th=new Array(256);(function(e){for(var t=0;t<256;++t){var r=t,n=t,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=r&1,--i;e[t]=n<<i&255}})(Th);Ur.reverse=function(e){return Th[e&255]<<24|Th[e>>>8&255]<<16|Th[e>>>16&255]<<8|Th[e>>>24&255]};Ur.interleave2=function(e,t){return e&=65535,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t&=65535,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1};Ur.deinterleave2=function(e,t){return e=e>>>t&1431655765,e=(e|e>>>1)&858993459,e=(e|e>>>2)&252645135,e=(e|e>>>4)&16711935,e=(e|e>>>16)&65535,e<<16>>16};Ur.interleave3=function(e,t,r){return e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,t&=1023,t=(t|t<<16)&4278190335,t=(t|t<<8)&251719695,t=(t|t<<4)&3272356035,t=(t|t<<2)&1227133513,e|=t<<1,r&=1023,r=(r|r<<16)&4278190335,r=(r|r<<8)&251719695,r=(r|r<<4)&3272356035,r=(r|r<<2)&1227133513,e|r<<2};Ur.deinterleave3=function(e,t){return e=e>>>t&1227133513,e=(e|e>>>2)&3272356035,e=(e|e>>>4)&251719695,e=(e|e>>>8)&4278190335,e=(e|e>>>16)&1023,e<<22>>22};Ur.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>eF(e)+1};function tF(e,t,r){var n=e[r]|0;if(n<=0)return[];var i=new Array(n),a;if(r===e.length-1)for(a=0;a<n;++a)i[a]=t;else for(a=0;a<n;++a)i[a]=tF(e,t,r+1);return i}function XW(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function QW(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return XW(e|0,t);break;case"object":if(typeof e.length=="number")return tF(e,t,0);break}return[]}var ZW=QW,rF={},ig={};ig.byteLength=eH;ig.toByteArray=rH;ig.fromByteArray=aH;var oa=[],wi=[],KW=typeof Uint8Array<"u"?Uint8Array:Array,wx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ss=0,JW=wx.length;Ss<JW;++Ss)oa[Ss]=wx[Ss],wi[wx.charCodeAt(Ss)]=Ss;wi["-".charCodeAt(0)]=62;wi["_".charCodeAt(0)]=63;function nF(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function eH(e){var t=nF(e),r=t[0],n=t[1];return(r+n)*3/4-n}function tH(e,t,r){return(t+r)*3/4-r}function rH(e){var t,r=nF(e),n=r[0],i=r[1],a=new KW(tH(e,n,i)),o=0,l=i>0?n-4:n,s;for(s=0;s<l;s+=4)t=wi[e.charCodeAt(s)]<<18|wi[e.charCodeAt(s+1)]<<12|wi[e.charCodeAt(s+2)]<<6|wi[e.charCodeAt(s+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=wi[e.charCodeAt(s)]<<2|wi[e.charCodeAt(s+1)]>>4,a[o++]=t&255),i===1&&(t=wi[e.charCodeAt(s)]<<10|wi[e.charCodeAt(s+1)]<<4|wi[e.charCodeAt(s+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function nH(e){return oa[e>>18&63]+oa[e>>12&63]+oa[e>>6&63]+oa[e&63]}function iH(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(nH(n));return i.join("")}function aH(e){for(var t,r=e.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(iH(e,o,o+a>l?l:o+a));return n===1?(t=e[r-1],i.push(oa[t>>2]+oa[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(oa[t>>10]+oa[t>>4&63]+oa[t<<2&63]+"=")),i.join("")}var V2={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */V2.read=function(e,t,r,n,i){var a,o,l=i*8-n-1,s=(1<<l)-1,c=s>>1,d=-7,y=r?i-1:0,g=r?-1:1,m=e[t+y];for(y+=g,a=m&(1<<-d)-1,m>>=-d,d+=l;d>0;a=a*256+e[t+y],y+=g,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+e[t+y],y+=g,d-=8);if(a===0)a=1-c;else{if(a===s)return o?NaN:(m?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-c}return(m?-1:1)*o*Math.pow(2,a-n)};V2.write=function(e,t,r,n,i,a){var o,l,s,c=a*8-i-1,d=(1<<c)-1,y=d>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:a-1,E=n?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=d):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),o+y>=1?t+=g/s:t+=g*Math.pow(2,1-y),t*s>=2&&(o++,s/=2),o+y>=d?(l=0,o=d):o+y>=1?(l=(t*s-1)*Math.pow(2,i),o=o+y):(l=t*Math.pow(2,y-1)*Math.pow(2,i),o=0));i>=8;e[r+m]=l&255,m+=E,l/=256,i-=8);for(o=o<<i|l,c+=i;c>0;e[r+m]=o&255,m+=E,o/=256,c-=8);e[r+m-E]|=M*128};/*!
|
|
286
|
-
* The buffer module from node.js, for the browser.
|
|
287
|
-
*
|
|
288
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
289
|
-
* @license MIT
|
|
290
|
-
*/(function(e){var t=ig,r=V2;e.Buffer=o,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50;var n=2147483647;e.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=i(),!o.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 i(){try{var I=new Uint8Array(1);return I.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},I.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function a(I){if(I>n)throw new RangeError('The value "'+I+'" is invalid for option "size"');var A=new Uint8Array(I);return A.__proto__=o.prototype,A}function o(I,A,k){if(typeof I=="number"){if(typeof A=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(I)}return l(I,A,k)}typeof Symbol<"u"&&Symbol.species!=null&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192;function l(I,A,k){if(typeof I=="string")return y(I,A);if(ArrayBuffer.isView(I))return g(I);if(I==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(W(I,ArrayBuffer)||I&&W(I.buffer,ArrayBuffer))return m(I,A,k);if(typeof I=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var $=I.valueOf&&I.valueOf();if($!=null&&$!==I)return o.from($,A,k);var fe=E(I);if(fe)return fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]=="function")return o.from(I[Symbol.toPrimitive]("string"),A,k);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}o.from=function(I,A,k){return l(I,A,k)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array;function s(I){if(typeof I!="number")throw new TypeError('"size" argument must be of type number');if(I<0)throw new RangeError('The value "'+I+'" is invalid for option "size"')}function c(I,A,k){return s(I),I<=0?a(I):A!==void 0?typeof k=="string"?a(I).fill(A,k):a(I).fill(A):a(I)}o.alloc=function(I,A,k){return c(I,A,k)};function d(I){return s(I),a(I<0?0:M(I)|0)}o.allocUnsafe=function(I){return d(I)},o.allocUnsafeSlow=function(I){return d(I)};function y(I,A){if((typeof A!="string"||A==="")&&(A="utf8"),!o.isEncoding(A))throw new TypeError("Unknown encoding: "+A);var k=w(I,A)|0,$=a(k),fe=$.write(I,A);return fe!==k&&($=$.slice(0,fe)),$}function g(I){for(var A=I.length<0?0:M(I.length)|0,k=a(A),$=0;$<A;$+=1)k[$]=I[$]&255;return k}function m(I,A,k){if(A<0||I.byteLength<A)throw new RangeError('"offset" is outside of buffer bounds');if(I.byteLength<A+(k||0))throw new RangeError('"length" is outside of buffer bounds');var $;return A===void 0&&k===void 0?$=new Uint8Array(I):k===void 0?$=new Uint8Array(I,A):$=new Uint8Array(I,A,k),$.__proto__=o.prototype,$}function E(I){if(o.isBuffer(I)){var A=M(I.length)|0,k=a(A);return k.length===0||I.copy(k,0,0,A),k}if(I.length!==void 0)return typeof I.length!="number"||ae(I.length)?a(0):g(I);if(I.type==="Buffer"&&Array.isArray(I.data))return g(I.data)}function M(I){if(I>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return I|0}function b(I){return+I!=I&&(I=0),o.alloc(+I)}o.isBuffer=function(A){return A!=null&&A._isBuffer===!0&&A!==o.prototype},o.compare=function(A,k){if(W(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),W(k,Uint8Array)&&(k=o.from(k,k.offset,k.byteLength)),!o.isBuffer(A)||!o.isBuffer(k))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===k)return 0;for(var $=A.length,fe=k.length,Fe=0,ze=Math.min($,fe);Fe<ze;++Fe)if(A[Fe]!==k[Fe]){$=A[Fe],fe=k[Fe];break}return $<fe?-1:fe<$?1:0},o.isEncoding=function(A){switch(String(A).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}},o.concat=function(A,k){if(!Array.isArray(A))throw new TypeError('"list" argument must be an Array of Buffers');if(A.length===0)return o.alloc(0);var $;if(k===void 0)for(k=0,$=0;$<A.length;++$)k+=A[$].length;var fe=o.allocUnsafe(k),Fe=0;for($=0;$<A.length;++$){var ze=A[$];if(W(ze,Uint8Array)&&(ze=o.from(ze)),!o.isBuffer(ze))throw new TypeError('"list" argument must be an Array of Buffers');ze.copy(fe,Fe),Fe+=ze.length}return fe};function w(I,A){if(o.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||W(I,ArrayBuffer))return I.byteLength;if(typeof I!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);var k=I.length,$=arguments.length>2&&arguments[2]===!0;if(!$&&k===0)return 0;for(var fe=!1;;)switch(A){case"ascii":case"latin1":case"binary":return k;case"utf8":case"utf-8":return Vt(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k*2;case"hex":return k>>>1;case"base64":return Ut(I).length;default:if(fe)return $?-1:Vt(I).length;A=(""+A).toLowerCase(),fe=!0}}o.byteLength=w;function _(I,A,k){var $=!1;if((A===void 0||A<0)&&(A=0),A>this.length||((k===void 0||k>this.length)&&(k=this.length),k<=0)||(k>>>=0,A>>>=0,k<=A))return"";for(I||(I="utf8");;)switch(I){case"hex":return We(this,A,k);case"utf8":case"utf-8":return Pe(this,A,k);case"ascii":return nt(this,A,k);case"latin1":case"binary":return De(this,A,k);case"base64":return ke(this,A,k);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,A,k);default:if($)throw new TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),$=!0}}o.prototype._isBuffer=!0;function C(I,A,k){var $=I[A];I[A]=I[k],I[k]=$}o.prototype.swap16=function(){var A=this.length;if(A%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var k=0;k<A;k+=2)C(this,k,k+1);return this},o.prototype.swap32=function(){var A=this.length;if(A%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var k=0;k<A;k+=4)C(this,k,k+3),C(this,k+1,k+2);return this},o.prototype.swap64=function(){var A=this.length;if(A%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var k=0;k<A;k+=8)C(this,k,k+7),C(this,k+1,k+6),C(this,k+2,k+5),C(this,k+3,k+4);return this},o.prototype.toString=function(){var A=this.length;return A===0?"":arguments.length===0?Pe(this,0,A):_.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A?!0:o.compare(this,A)===0},o.prototype.inspect=function(){var A="",k=e.INSPECT_MAX_BYTES;return A=this.toString("hex",0,k).replace(/(.{2})/g,"$1 ").trim(),this.length>k&&(A+=" ... "),"<Buffer "+A+">"},o.prototype.compare=function(A,k,$,fe,Fe){if(W(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),!o.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(k===void 0&&(k=0),$===void 0&&($=A?A.length:0),fe===void 0&&(fe=0),Fe===void 0&&(Fe=this.length),k<0||$>A.length||fe<0||Fe>this.length)throw new RangeError("out of range index");if(fe>=Fe&&k>=$)return 0;if(fe>=Fe)return-1;if(k>=$)return 1;if(k>>>=0,$>>>=0,fe>>>=0,Fe>>>=0,this===A)return 0;for(var ze=Fe-fe,Qt=$-k,sr=Math.min(ze,Qt),nr=this.slice(fe,Fe),Hr=A.slice(k,$),kr=0;kr<sr;++kr)if(nr[kr]!==Hr[kr]){ze=nr[kr],Qt=Hr[kr];break}return ze<Qt?-1:Qt<ze?1:0};function T(I,A,k,$,fe){if(I.length===0)return-1;if(typeof k=="string"?($=k,k=0):k>2147483647?k=2147483647:k<-2147483648&&(k=-2147483648),k=+k,ae(k)&&(k=fe?0:I.length-1),k<0&&(k=I.length+k),k>=I.length){if(fe)return-1;k=I.length-1}else if(k<0)if(fe)k=0;else return-1;if(typeof A=="string"&&(A=o.from(A,$)),o.isBuffer(A))return A.length===0?-1:P(I,A,k,$,fe);if(typeof A=="number")return A=A&255,typeof Uint8Array.prototype.indexOf=="function"?fe?Uint8Array.prototype.indexOf.call(I,A,k):Uint8Array.prototype.lastIndexOf.call(I,A,k):P(I,[A],k,$,fe);throw new TypeError("val must be string, number or Buffer")}function P(I,A,k,$,fe){var Fe=1,ze=I.length,Qt=A.length;if($!==void 0&&($=String($).toLowerCase(),$==="ucs2"||$==="ucs-2"||$==="utf16le"||$==="utf-16le")){if(I.length<2||A.length<2)return-1;Fe=2,ze/=2,Qt/=2,k/=2}function sr(mu,wa){return Fe===1?mu[wa]:mu.readUInt16BE(wa*Fe)}var nr;if(fe){var Hr=-1;for(nr=k;nr<ze;nr++)if(sr(I,nr)===sr(A,Hr===-1?0:nr-Hr)){if(Hr===-1&&(Hr=nr),nr-Hr+1===Qt)return Hr*Fe}else Hr!==-1&&(nr-=nr-Hr),Hr=-1}else for(k+Qt>ze&&(k=ze-Qt),nr=k;nr>=0;nr--){for(var kr=!0,Xi=0;Xi<Qt;Xi++)if(sr(I,nr+Xi)!==sr(A,Xi)){kr=!1;break}if(kr)return nr}return-1}o.prototype.includes=function(A,k,$){return this.indexOf(A,k,$)!==-1},o.prototype.indexOf=function(A,k,$){return T(this,A,k,$,!0)},o.prototype.lastIndexOf=function(A,k,$){return T(this,A,k,$,!1)};function D(I,A,k,$){k=Number(k)||0;var fe=I.length-k;$?($=Number($),$>fe&&($=fe)):$=fe;var Fe=A.length;$>Fe/2&&($=Fe/2);for(var ze=0;ze<$;++ze){var Qt=parseInt(A.substr(ze*2,2),16);if(ae(Qt))return ze;I[k+ze]=Qt}return ze}function Y(I,A,k,$){return Ce(Vt(A,I.length-k),I,k,$)}function j(I,A,k,$){return Ce(Ze(A),I,k,$)}function re(I,A,k,$){return j(I,A,k,$)}function Ee(I,A,k,$){return Ce(Ut(A),I,k,$)}function me(I,A,k,$){return Ce(At(A,I.length-k),I,k,$)}o.prototype.write=function(A,k,$,fe){if(k===void 0)fe="utf8",$=this.length,k=0;else if($===void 0&&typeof k=="string")fe=k,$=this.length,k=0;else if(isFinite(k))k=k>>>0,isFinite($)?($=$>>>0,fe===void 0&&(fe="utf8")):(fe=$,$=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Fe=this.length-k;if(($===void 0||$>Fe)&&($=Fe),A.length>0&&($<0||k<0)||k>this.length)throw new RangeError("Attempt to write outside buffer bounds");fe||(fe="utf8");for(var ze=!1;;)switch(fe){case"hex":return D(this,A,k,$);case"utf8":case"utf-8":return Y(this,A,k,$);case"ascii":return j(this,A,k,$);case"latin1":case"binary":return re(this,A,k,$);case"base64":return Ee(this,A,k,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,A,k,$);default:if(ze)throw new TypeError("Unknown encoding: "+fe);fe=(""+fe).toLowerCase(),ze=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ke(I,A,k){return A===0&&k===I.length?t.fromByteArray(I):t.fromByteArray(I.slice(A,k))}function Pe(I,A,k){k=Math.min(I.length,k);for(var $=[],fe=A;fe<k;){var Fe=I[fe],ze=null,Qt=Fe>239?4:Fe>223?3:Fe>191?2:1;if(fe+Qt<=k){var sr,nr,Hr,kr;switch(Qt){case 1:Fe<128&&(ze=Fe);break;case 2:sr=I[fe+1],(sr&192)===128&&(kr=(Fe&31)<<6|sr&63,kr>127&&(ze=kr));break;case 3:sr=I[fe+1],nr=I[fe+2],(sr&192)===128&&(nr&192)===128&&(kr=(Fe&15)<<12|(sr&63)<<6|nr&63,kr>2047&&(kr<55296||kr>57343)&&(ze=kr));break;case 4:sr=I[fe+1],nr=I[fe+2],Hr=I[fe+3],(sr&192)===128&&(nr&192)===128&&(Hr&192)===128&&(kr=(Fe&15)<<18|(sr&63)<<12|(nr&63)<<6|Hr&63,kr>65535&&kr<1114112&&(ze=kr))}}ze===null?(ze=65533,Qt=1):ze>65535&&(ze-=65536,$.push(ze>>>10&1023|55296),ze=56320|ze&1023),$.push(ze),fe+=Qt}return ut($)}var Le=4096;function ut(I){var A=I.length;if(A<=Le)return String.fromCharCode.apply(String,I);for(var k="",$=0;$<A;)k+=String.fromCharCode.apply(String,I.slice($,$+=Le));return k}function nt(I,A,k){var $="";k=Math.min(I.length,k);for(var fe=A;fe<k;++fe)$+=String.fromCharCode(I[fe]&127);return $}function De(I,A,k){var $="";k=Math.min(I.length,k);for(var fe=A;fe<k;++fe)$+=String.fromCharCode(I[fe]);return $}function We(I,A,k){var $=I.length;(!A||A<0)&&(A=0),(!k||k<0||k>$)&&(k=$);for(var fe="",Fe=A;Fe<k;++Fe)fe+=Wt(I[Fe]);return fe}function _t(I,A,k){for(var $=I.slice(A,k),fe="",Fe=0;Fe<$.length;Fe+=2)fe+=String.fromCharCode($[Fe]+$[Fe+1]*256);return fe}o.prototype.slice=function(A,k){var $=this.length;A=~~A,k=k===void 0?$:~~k,A<0?(A+=$,A<0&&(A=0)):A>$&&(A=$),k<0?(k+=$,k<0&&(k=0)):k>$&&(k=$),k<A&&(k=A);var fe=this.subarray(A,k);return fe.__proto__=o.prototype,fe};function He(I,A,k){if(I%1!==0||I<0)throw new RangeError("offset is not uint");if(I+A>k)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUIntLE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A],Fe=1,ze=0;++ze<k&&(Fe*=256);)fe+=this[A+ze]*Fe;return fe},o.prototype.readUIntBE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A+--k],Fe=1;k>0&&(Fe*=256);)fe+=this[A+--k]*Fe;return fe},o.prototype.readUInt8=function(A,k){return A=A>>>0,k||He(A,1,this.length),this[A]},o.prototype.readUInt16LE=function(A,k){return A=A>>>0,k||He(A,2,this.length),this[A]|this[A+1]<<8},o.prototype.readUInt16BE=function(A,k){return A=A>>>0,k||He(A,2,this.length),this[A]<<8|this[A+1]},o.prototype.readUInt32LE=function(A,k){return A=A>>>0,k||He(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+this[A+3]*16777216},o.prototype.readUInt32BE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]*16777216+(this[A+1]<<16|this[A+2]<<8|this[A+3])},o.prototype.readIntLE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A],Fe=1,ze=0;++ze<k&&(Fe*=256);)fe+=this[A+ze]*Fe;return Fe*=128,fe>=Fe&&(fe-=Math.pow(2,8*k)),fe},o.prototype.readIntBE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=k,Fe=1,ze=this[A+--fe];fe>0&&(Fe*=256);)ze+=this[A+--fe]*Fe;return Fe*=128,ze>=Fe&&(ze-=Math.pow(2,8*k)),ze},o.prototype.readInt8=function(A,k){return A=A>>>0,k||He(A,1,this.length),this[A]&128?(255-this[A]+1)*-1:this[A]},o.prototype.readInt16LE=function(A,k){A=A>>>0,k||He(A,2,this.length);var $=this[A]|this[A+1]<<8;return $&32768?$|4294901760:$},o.prototype.readInt16BE=function(A,k){A=A>>>0,k||He(A,2,this.length);var $=this[A+1]|this[A]<<8;return $&32768?$|4294901760:$},o.prototype.readInt32LE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},o.prototype.readInt32BE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},o.prototype.readFloatLE=function(A,k){return A=A>>>0,k||He(A,4,this.length),r.read(this,A,!0,23,4)},o.prototype.readFloatBE=function(A,k){return A=A>>>0,k||He(A,4,this.length),r.read(this,A,!1,23,4)},o.prototype.readDoubleLE=function(A,k){return A=A>>>0,k||He(A,8,this.length),r.read(this,A,!0,52,8)},o.prototype.readDoubleBE=function(A,k){return A=A>>>0,k||He(A,8,this.length),r.read(this,A,!1,52,8)};function be(I,A,k,$,fe,Fe){if(!o.isBuffer(I))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>fe||A<Fe)throw new RangeError('"value" argument is out of bounds');if(k+$>I.length)throw new RangeError("Index out of range")}o.prototype.writeUIntLE=function(A,k,$,fe){if(A=+A,k=k>>>0,$=$>>>0,!fe){var Fe=Math.pow(2,8*$)-1;be(this,A,k,$,Fe,0)}var ze=1,Qt=0;for(this[k]=A&255;++Qt<$&&(ze*=256);)this[k+Qt]=A/ze&255;return k+$},o.prototype.writeUIntBE=function(A,k,$,fe){if(A=+A,k=k>>>0,$=$>>>0,!fe){var Fe=Math.pow(2,8*$)-1;be(this,A,k,$,Fe,0)}var ze=$-1,Qt=1;for(this[k+ze]=A&255;--ze>=0&&(Qt*=256);)this[k+ze]=A/Qt&255;return k+$},o.prototype.writeUInt8=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,1,255,0),this[k]=A&255,k+1},o.prototype.writeUInt16LE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,2,65535,0),this[k]=A&255,this[k+1]=A>>>8,k+2},o.prototype.writeUInt16BE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,2,65535,0),this[k]=A>>>8,this[k+1]=A&255,k+2},o.prototype.writeUInt32LE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,4,4294967295,0),this[k+3]=A>>>24,this[k+2]=A>>>16,this[k+1]=A>>>8,this[k]=A&255,k+4},o.prototype.writeUInt32BE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,4,4294967295,0),this[k]=A>>>24,this[k+1]=A>>>16,this[k+2]=A>>>8,this[k+3]=A&255,k+4},o.prototype.writeIntLE=function(A,k,$,fe){if(A=+A,k=k>>>0,!fe){var Fe=Math.pow(2,8*$-1);be(this,A,k,$,Fe-1,-Fe)}var ze=0,Qt=1,sr=0;for(this[k]=A&255;++ze<$&&(Qt*=256);)A<0&&sr===0&&this[k+ze-1]!==0&&(sr=1),this[k+ze]=(A/Qt>>0)-sr&255;return k+$},o.prototype.writeIntBE=function(A,k,$,fe){if(A=+A,k=k>>>0,!fe){var Fe=Math.pow(2,8*$-1);be(this,A,k,$,Fe-1,-Fe)}var ze=$-1,Qt=1,sr=0;for(this[k+ze]=A&255;--ze>=0&&(Qt*=256);)A<0&&sr===0&&this[k+ze+1]!==0&&(sr=1),this[k+ze]=(A/Qt>>0)-sr&255;return k+$},o.prototype.writeInt8=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,1,127,-128),A<0&&(A=255+A+1),this[k]=A&255,k+1},o.prototype.writeInt16LE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,2,32767,-32768),this[k]=A&255,this[k+1]=A>>>8,k+2},o.prototype.writeInt16BE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,2,32767,-32768),this[k]=A>>>8,this[k+1]=A&255,k+2},o.prototype.writeInt32LE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,4,2147483647,-2147483648),this[k]=A&255,this[k+1]=A>>>8,this[k+2]=A>>>16,this[k+3]=A>>>24,k+4},o.prototype.writeInt32BE=function(A,k,$){return A=+A,k=k>>>0,$||be(this,A,k,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[k]=A>>>24,this[k+1]=A>>>16,this[k+2]=A>>>8,this[k+3]=A&255,k+4};function Ve(I,A,k,$,fe,Fe){if(k+$>I.length)throw new RangeError("Index out of range");if(k<0)throw new RangeError("Index out of range")}function st(I,A,k,$,fe){return A=+A,k=k>>>0,fe||Ve(I,A,k,4),r.write(I,A,k,$,23,4),k+4}o.prototype.writeFloatLE=function(A,k,$){return st(this,A,k,!0,$)},o.prototype.writeFloatBE=function(A,k,$){return st(this,A,k,!1,$)};function Qe(I,A,k,$,fe){return A=+A,k=k>>>0,fe||Ve(I,A,k,8),r.write(I,A,k,$,52,8),k+8}o.prototype.writeDoubleLE=function(A,k,$){return Qe(this,A,k,!0,$)},o.prototype.writeDoubleBE=function(A,k,$){return Qe(this,A,k,!1,$)},o.prototype.copy=function(A,k,$,fe){if(!o.isBuffer(A))throw new TypeError("argument should be a Buffer");if($||($=0),!fe&&fe!==0&&(fe=this.length),k>=A.length&&(k=A.length),k||(k=0),fe>0&&fe<$&&(fe=$),fe===$||A.length===0||this.length===0)return 0;if(k<0)throw new RangeError("targetStart out of bounds");if($<0||$>=this.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("sourceEnd out of bounds");fe>this.length&&(fe=this.length),A.length-k<fe-$&&(fe=A.length-k+$);var Fe=fe-$;if(this===A&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(k,$,fe);else if(this===A&&$<k&&k<fe)for(var ze=Fe-1;ze>=0;--ze)A[ze+k]=this[ze+$];else Uint8Array.prototype.set.call(A,this.subarray($,fe),k);return Fe},o.prototype.fill=function(A,k,$,fe){if(typeof A=="string"){if(typeof k=="string"?(fe=k,k=0,$=this.length):typeof $=="string"&&(fe=$,$=this.length),fe!==void 0&&typeof fe!="string")throw new TypeError("encoding must be a string");if(typeof fe=="string"&&!o.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);if(A.length===1){var Fe=A.charCodeAt(0);(fe==="utf8"&&Fe<128||fe==="latin1")&&(A=Fe)}}else typeof A=="number"&&(A=A&255);if(k<0||this.length<k||this.length<$)throw new RangeError("Out of range index");if($<=k)return this;k=k>>>0,$=$===void 0?this.length:$>>>0,A||(A=0);var ze;if(typeof A=="number")for(ze=k;ze<$;++ze)this[ze]=A;else{var Qt=o.isBuffer(A)?A:o.from(A,fe),sr=Qt.length;if(sr===0)throw new TypeError('The value "'+A+'" is invalid for argument "value"');for(ze=0;ze<$-k;++ze)this[ze+k]=Qt[ze%sr]}return this};var ct=/[^+/0-9A-Za-z-_]/g;function yt(I){if(I=I.split("=")[0],I=I.trim().replace(ct,""),I.length<2)return"";for(;I.length%4!==0;)I=I+"=";return I}function Wt(I){return I<16?"0"+I.toString(16):I.toString(16)}function Vt(I,A){A=A||1/0;for(var k,$=I.length,fe=null,Fe=[],ze=0;ze<$;++ze){if(k=I.charCodeAt(ze),k>55295&&k<57344){if(!fe){if(k>56319){(A-=3)>-1&&Fe.push(239,191,189);continue}else if(ze+1===$){(A-=3)>-1&&Fe.push(239,191,189);continue}fe=k;continue}if(k<56320){(A-=3)>-1&&Fe.push(239,191,189),fe=k;continue}k=(fe-55296<<10|k-56320)+65536}else fe&&(A-=3)>-1&&Fe.push(239,191,189);if(fe=null,k<128){if((A-=1)<0)break;Fe.push(k)}else if(k<2048){if((A-=2)<0)break;Fe.push(k>>6|192,k&63|128)}else if(k<65536){if((A-=3)<0)break;Fe.push(k>>12|224,k>>6&63|128,k&63|128)}else if(k<1114112){if((A-=4)<0)break;Fe.push(k>>18|240,k>>12&63|128,k>>6&63|128,k&63|128)}else throw new Error("Invalid code point")}return Fe}function Ze(I){for(var A=[],k=0;k<I.length;++k)A.push(I.charCodeAt(k)&255);return A}function At(I,A){for(var k,$,fe,Fe=[],ze=0;ze<I.length&&!((A-=2)<0);++ze)k=I.charCodeAt(ze),$=k>>8,fe=k%256,Fe.push(fe),Fe.push($);return Fe}function Ut(I){return t.toByteArray(yt(I))}function Ce(I,A,k,$){for(var fe=0;fe<$&&!(fe+k>=A.length||fe>=I.length);++fe)A[fe+k]=I[fe];return fe}function W(I,A){return I instanceof A||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===A.name}function ae(I){return I!==I}})(rF);var au=Ur,_n=ZW,iF=rF.Buffer;Ar.__TYPEDARRAY_POOL||(Ar.__TYPEDARRAY_POOL={UINT8:_n([32,0]),UINT16:_n([32,0]),UINT32:_n([32,0]),BIGUINT64:_n([32,0]),INT8:_n([32,0]),INT16:_n([32,0]),INT32:_n([32,0]),BIGINT64:_n([32,0]),FLOAT:_n([32,0]),DOUBLE:_n([32,0]),DATA:_n([32,0]),UINT8C:_n([32,0]),BUFFER:_n([32,0])});var oH=typeof Uint8ClampedArray<"u",uH=typeof BigUint64Array<"u",lH=typeof BigInt64Array<"u",qr=Ar.__TYPEDARRAY_POOL;qr.UINT8C||(qr.UINT8C=_n([32,0]));qr.BIGUINT64||(qr.BIGUINT64=_n([32,0]));qr.BIGINT64||(qr.BIGINT64=_n([32,0]));qr.BUFFER||(qr.BUFFER=_n([32,0]));var ag=qr.DATA,og=qr.BUFFER;pr.free=function(t){if(iF.isBuffer(t))og[au.log2(t.length)].push(t);else{if(Object.prototype.toString.call(t)!=="[object ArrayBuffer]"&&(t=t.buffer),!t)return;var r=t.length||t.byteLength,n=au.log2(r)|0;ag[n].push(t)}};function aF(e){if(!!e){var t=e.length||e.byteLength,r=au.log2(t);ag[r].push(e)}}function sH(e){aF(e.buffer)}pr.freeUint8=pr.freeUint16=pr.freeUint32=pr.freeBigUint64=pr.freeInt8=pr.freeInt16=pr.freeInt32=pr.freeBigInt64=pr.freeFloat32=pr.freeFloat=pr.freeFloat64=pr.freeDouble=pr.freeUint8Clamped=pr.freeDataView=sH;pr.freeArrayBuffer=aF;pr.freeBuffer=function(t){og[au.log2(t.length)].push(t)};pr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return Jn(t);switch(r){case"uint8":return q2(t);case"uint16":return oF(t);case"uint32":return uF(t);case"int8":return lF(t);case"int16":return sF(t);case"int32":return fF(t);case"float":case"float32":return cF(t);case"double":case"float64":return hF(t);case"uint8_clamped":return dF(t);case"bigint64":return vF(t);case"biguint64":return pF(t);case"buffer":return gF(t);case"data":case"dataview":return mF(t);default:return null}return null};function Jn(t){var t=au.nextPow2(t),r=au.log2(t),n=ag[r];return n.length>0?n.pop():new ArrayBuffer(t)}pr.mallocArrayBuffer=Jn;function q2(e){return new Uint8Array(Jn(e),0,e)}pr.mallocUint8=q2;function oF(e){return new Uint16Array(Jn(2*e),0,e)}pr.mallocUint16=oF;function uF(e){return new Uint32Array(Jn(4*e),0,e)}pr.mallocUint32=uF;function lF(e){return new Int8Array(Jn(e),0,e)}pr.mallocInt8=lF;function sF(e){return new Int16Array(Jn(2*e),0,e)}pr.mallocInt16=sF;function fF(e){return new Int32Array(Jn(4*e),0,e)}pr.mallocInt32=fF;function cF(e){return new Float32Array(Jn(4*e),0,e)}pr.mallocFloat32=pr.mallocFloat=cF;function hF(e){return new Float64Array(Jn(8*e),0,e)}pr.mallocFloat64=pr.mallocDouble=hF;function dF(e){return oH?new Uint8ClampedArray(Jn(e),0,e):q2(e)}pr.mallocUint8Clamped=dF;function pF(e){return uH?new BigUint64Array(Jn(8*e),0,e):null}pr.mallocBigUint64=pF;function vF(e){return lH?new BigInt64Array(Jn(8*e),0,e):null}pr.mallocBigInt64=vF;function mF(e){return new DataView(Jn(e),0,e)}pr.mallocDataView=mF;function gF(e){e=au.nextPow2(e);var t=au.log2(e),r=og[t];return r.length>0?r.pop():new iF(e)}pr.mallocBuffer=gF;pr.clearCache=function(){for(var t=0;t<32;++t)qr.UINT8[t].length=0,qr.UINT16[t].length=0,qr.UINT32[t].length=0,qr.INT8[t].length=0,qr.INT16[t].length=0,qr.INT32[t].length=0,qr.FLOAT[t].length=0,qr.DOUBLE[t].length=0,qr.BIGUINT64[t].length=0,qr.BIGINT64[t].length=0,qr.UINT8C[t].length=0,ag[t].length=0,og[t].length=0};var yF=function(t,r){r||(r=[0,""]),t=String(t);var n=parseFloat(t,10);return r[0]=n,r[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",r},fH=yF,cH=xF,mh=96;function Nw(e,t){var r=fH(getComputedStyle(e).getPropertyValue(t));return r[0]*xF(r[1],e)}function hH(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=Nw(r,"font-size")/128;return t.removeChild(r),n}function xF(e,t){switch(t=t||document.body,e=(e||"px").trim().toLowerCase(),(t===window||t===document)&&(t=document.body),e){case"%":return t.clientHeight/100;case"ch":case"ex":return hH(e,t);case"em":return Nw(t,"font-size");case"rem":return Nw(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 mh;case"cm":return mh/2.54;case"mm":return mh/25.4;case"pt":return mh/72;case"pc":return mh/6}return 1}var dH=ug,pH=ug.canvas=document.createElement("canvas"),Bv=pH.getContext("2d"),bF=dm([32,126]);ug.createPairs=dm;ug.ascii=bF;function ug(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=dm(t):Array.isArray(t)?n=t:(t.o?n=dm(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=bF),Bv.font=i+"px "+e;for(var o=0;o<n.length;o++){var l=n[o],s=Bv.measureText(l[0]).width+Bv.measureText(l[1]).width,c=Bv.measureText(l).width;if(Math.abs(s-c)>i*a){var d=(c-s)/i;r[l]=d*1e3}}return r}function dm(e){for(var t=[],r=e[0];r<=e[1];r++)for(var n=String.fromCharCode(r),i=e[0];i<e[1];i++){var a=String.fromCharCode(i),o=n+a;t.push(o)}return t}var vH=Do;Do.canvas=document.createElement("canvas");Do.cache={};function Do(o,t){t||(t={}),(typeof o=="string"||Array.isArray(o))&&(t.family=o);var r=Array.isArray(t.family)?t.family.join(", "):t.family;if(!r)throw Error("`family` must be defined");var n=t.size||t.fontSize||t.em||48,i=t.weight||t.fontWeight||"",a=t.style||t.fontStyle||"",o=[a,i,n].join(" ")+"px "+r,l=t.origin||"top";if(Do.cache[r]&&n<=Do.cache[r].em)return uC(Do.cache[r],l);var s=t.canvas||Do.canvas,c=s.getContext("2d"),d={upper:t.upper!==void 0?t.upper:"H",lower:t.lower!==void 0?t.lower:"x",descent:t.descent!==void 0?t.descent:"p",ascent:t.ascent!==void 0?t.ascent:"h",tittle:t.tittle!==void 0?t.tittle:"i",overshoot:t.overshoot!==void 0?t.overshoot:"O"},y=Math.ceil(n*1.5);s.height=y,s.width=y*.5,c.font=o;var g="H",m={top:0};c.clearRect(0,0,y,y),c.textBaseline="top",c.fillStyle="black",c.fillText(g,0,0);var E=na(c.getImageData(0,0,y,y));c.clearRect(0,0,y,y),c.textBaseline="bottom",c.fillText(g,0,y);var M=na(c.getImageData(0,0,y,y));m.lineHeight=m.bottom=y-M+E,c.clearRect(0,0,y,y),c.textBaseline="alphabetic",c.fillText(g,0,y);var b=na(c.getImageData(0,0,y,y)),w=y-b-1+E;m.baseline=m.alphabetic=w,c.clearRect(0,0,y,y),c.textBaseline="middle",c.fillText(g,0,y*.5);var _=na(c.getImageData(0,0,y,y));m.median=m.middle=y-_-1+E-y*.5,c.clearRect(0,0,y,y),c.textBaseline="hanging",c.fillText(g,0,y*.5);var C=na(c.getImageData(0,0,y,y));m.hanging=y-C-1+E-y*.5,c.clearRect(0,0,y,y),c.textBaseline="ideographic",c.fillText(g,0,y);var T=na(c.getImageData(0,0,y,y));if(m.ideographic=y-T-1+E,d.upper&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.upper,0,0),m.upper=na(c.getImageData(0,0,y,y)),m.capHeight=m.baseline-m.upper),d.lower&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.lower,0,0),m.lower=na(c.getImageData(0,0,y,y)),m.xHeight=m.baseline-m.lower),d.tittle&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.tittle,0,0),m.tittle=na(c.getImageData(0,0,y,y))),d.ascent&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.ascent,0,0),m.ascent=na(c.getImageData(0,0,y,y))),d.descent&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.descent,0,0),m.descent=lC(c.getImageData(0,0,y,y))),d.overshoot){c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.overshoot,0,0);var P=lC(c.getImageData(0,0,y,y));m.overshoot=P-w}for(var D in m)m[D]/=n;return m.em=n,Do.cache[r]=m,uC(m,l)}function uC(e,t){var r={};typeof t=="string"&&(t=e[t]);for(var n in e)n!=="em"&&(r[n]=e[n]-t);return r}function na(e){for(var t=e.height,r=e.data,n=3;n<r.length;n+=4)if(r[n]!==0)return Math.floor((n-3)*.25/t)}function lC(e){for(var t=e.height,r=e.data,n=r.length-1;n>0;n-=4)if(r[n]!==0)return Math.floor((n-3)*.25/t)}var Es=zW,mH=pu,gH=JR.exports,yH=jW,xH=jR,_x=Ym,bH=qW,Mo=pr,wH=qm,_H=ER,SH=yF,EH=cH,AH=dH,TH=bl,CH=vH,OH=Nd,kH=Ur,sC=kH.nextPow2,fC=new xH,m0=!1;if(document.body){var Sx=document.body.appendChild(document.createElement("div"));Sx.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(Sx).fontStretch&&(m0=!0),document.body.removeChild(Sx)}var xr=function(t){MH(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=yH(t),this.shader=fC.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||gH({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(),fC.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(_H(t)?t:{})};xr.prototype.createShader=function(){var t=this.regl,r=t({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:t.prop("count"),offset:t.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:t.this("sizeBuffer")},width:{offset:0,stride:8,buffer:t.this("sizeBuffer")},char:t.this("charBuffer"),position:t.this("position")},uniforms:{atlasSize:function(i,a){return[a.atlas.width,a.atlas.height]},atlasDim:function(i,a){return[a.atlas.cols,a.atlas.rows]},atlas:function(i,a){return a.atlas.texture},charStep:function(i,a){return a.atlas.step},em:function(i,a){return a.atlas.em},color:t.prop("color"),opacity:t.prop("opacity"),viewport:t.this("viewportArray"),scale:t.this("scale"),align:t.prop("align"),baseline:t.prop("baseline"),translate:t.this("translate"),positionOffset:t.prop("positionOffset")},primitive:"points",viewport:t.this("viewport"),vert:`
|
|
291
|
-
precision highp float;
|
|
292
|
-
attribute float width, charOffset, char;
|
|
293
|
-
attribute vec2 position;
|
|
294
|
-
uniform float fontSize, charStep, em, align, baseline;
|
|
295
|
-
uniform vec4 viewport;
|
|
296
|
-
uniform vec4 color;
|
|
297
|
-
uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
|
|
298
|
-
varying vec2 charCoord, charId;
|
|
299
|
-
varying float charWidth;
|
|
300
|
-
varying vec4 fontColor;
|
|
301
|
-
void main () {
|
|
302
|
-
vec2 offset = floor(em * (vec2(align + charOffset, baseline)
|
|
303
|
-
+ vec2(positionOffset.x, -positionOffset.y)))
|
|
304
|
-
/ (viewport.zw * scale.xy);
|
|
305
|
-
|
|
306
|
-
vec2 position = (position + translate) * scale;
|
|
307
|
-
position += offset * scale;
|
|
308
|
-
|
|
309
|
-
charCoord = position * viewport.zw + viewport.xy;
|
|
310
|
-
|
|
311
|
-
gl_Position = vec4(position * 2. - 1., 0, 1);
|
|
312
|
-
|
|
313
|
-
gl_PointSize = charStep;
|
|
314
|
-
|
|
315
|
-
charId.x = mod(char, atlasDim.x);
|
|
316
|
-
charId.y = floor(char / atlasDim.x);
|
|
317
|
-
|
|
318
|
-
charWidth = width * em;
|
|
319
|
-
|
|
320
|
-
fontColor = color / 255.;
|
|
321
|
-
}`,frag:`
|
|
322
|
-
precision highp float;
|
|
323
|
-
uniform float fontSize, charStep, opacity;
|
|
324
|
-
uniform vec2 atlasSize;
|
|
325
|
-
uniform vec4 viewport;
|
|
326
|
-
uniform sampler2D atlas;
|
|
327
|
-
varying vec4 fontColor;
|
|
328
|
-
varying vec2 charCoord, charId;
|
|
329
|
-
varying float charWidth;
|
|
330
|
-
|
|
331
|
-
float lightness(vec4 color) {
|
|
332
|
-
return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
void main () {
|
|
336
|
-
vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
|
|
337
|
-
float halfCharStep = floor(charStep * .5 + .5);
|
|
338
|
-
|
|
339
|
-
// invert y and shift by 1px (FF expecially needs that)
|
|
340
|
-
uv.y = charStep - uv.y;
|
|
341
|
-
|
|
342
|
-
// ignore points outside of character bounding box
|
|
343
|
-
float halfCharWidth = ceil(charWidth * .5);
|
|
344
|
-
if (floor(uv.x) > halfCharStep + halfCharWidth ||
|
|
345
|
-
floor(uv.x) < halfCharStep - halfCharWidth) return;
|
|
346
|
-
|
|
347
|
-
uv += charId * charStep;
|
|
348
|
-
uv = uv / atlasSize;
|
|
349
|
-
|
|
350
|
-
vec4 color = fontColor;
|
|
351
|
-
vec4 mask = texture2D(atlas, uv);
|
|
352
|
-
|
|
353
|
-
float maskY = lightness(mask);
|
|
354
|
-
// float colorY = lightness(color);
|
|
355
|
-
color.a *= maskY;
|
|
356
|
-
color.a *= opacity;
|
|
357
|
-
|
|
358
|
-
// color.a += .1;
|
|
359
|
-
|
|
360
|
-
// antialiasing, see yiq color space y-channel formula
|
|
361
|
-
// color.rgb += (1. - color.rgb) * (1. - mask.rgb);
|
|
362
|
-
|
|
363
|
-
gl_FragColor = color;
|
|
364
|
-
}`}),n={};return{regl:t,draw:r,atlas:n}};xr.prototype.update=function(t){var r=this;if(typeof t=="string")t={text:t};else if(!t)return;t=mH(t,{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),t.opacity!=null&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map(function(Qe){return parseFloat(Qe)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=wH(t.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]),t.kerning!=null&&(this.kerning=t.kerning),t.offset!=null&&(typeof t.offset=="number"&&(t.offset=[t.offset,0]),this.positionOffset=OH(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!t.font&&(t.font=xr.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(Qe,ct){if(typeof Qe=="string")try{Qe=Es.parse(Qe)}catch{Qe=Es.parse(xr.baseFontSize+"px "+Qe)}else Qe=Es.parse(Es.stringify(Qe));var yt=Es.stringify({size:xr.baseFontSize,family:Qe.family,stretch:m0?Qe.stretch:void 0,variant:Qe.variant,weight:Qe.weight,style:Qe.style}),Wt=SH(Qe.size),Vt=Math.round(Wt[0]*EH(Wt[1]));if(Vt!==r.fontSize[ct]&&(i=!0,r.fontSize[ct]=Vt),(!r.font[ct]||yt!=r.font[ct].baseString)&&(n=!0,r.font[ct]=xr.fonts[yt],!r.font[ct])){var Ze=Qe.family.join(", "),At=[Qe.style];Qe.style!=Qe.variant&&At.push(Qe.variant),Qe.variant!=Qe.weight&&At.push(Qe.weight),m0&&Qe.weight!=Qe.stretch&&At.push(Qe.stretch),r.font[ct]={baseString:yt,family:Ze,weight:Qe.weight,stretch:Qe.stretch,style:Qe.style,variant:Qe.variant,width:{},kerning:{},metrics:CH(Ze,{origin:"top",fontSize:xr.baseFontSize,fontStyle:At.join(" ")})},xr.fonts[yt]=r.font[ct]}}),(n||i)&&this.font.forEach(function(Qe,ct){var yt=Es.stringify({size:r.fontSize[ct],family:Qe.family,stretch:m0?Qe.stretch:void 0,variant:Qe.variant,weight:Qe.weight,style:Qe.style});if(r.fontAtlas[ct]=r.shader.atlas[yt],!r.fontAtlas[ct]){var Wt=Qe.metrics;r.shader.atlas[yt]=r.fontAtlas[ct]={fontString:yt,step:Math.ceil(r.fontSize[ct]*Wt.bottom*.5)*2,em:r.fontSize[ct],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var l;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var s=1;s<t.text.length;s++)this.textOffsets[s]=this.textOffsets[s-1]+t.text[s-1].length,this.count+=t.text[s].length,this.counts.push(t.text[s].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];l=[],this.font.forEach(function(Qe,ct){xr.atlasContext.font=Qe.baseString;for(var yt=r.fontAtlas[ct],Wt=0;Wt<r.text.length;Wt++){var Vt=r.text.charAt(Wt);if(yt.ids[Vt]==null&&(yt.ids[Vt]=yt.chars.length,yt.chars.push(Vt),l.push(Vt)),Qe.width[Vt]==null&&(Qe.width[Vt]=xr.atlasContext.measureText(Vt).width/xr.baseFontSize,r.kerning)){var Ze=[];for(var At in Qe.width)Ze.push(At+Vt,Vt+At);TH(Qe.kerning,AH(Qe.family,{pairs:Ze}))}}})}if(t.position)if(t.position.length>2){for(var c=!t.position[0].length,d=Mo.mallocFloat(this.count*2),y=0,g=0;y<this.counts.length;y++){var m=this.counts[y];if(c)for(var E=0;E<m;E++)d[g++]=t.position[y*2],d[g++]=t.position[y*2+1];else for(var M=0;M<m;M++)d[g++]=t.position[y][0],d[g++]=t.position[y][1]}this.position.call?this.position({type:"float",data:d}):this.position=this.regl.buffer({type:"float",data:d}),Mo.freeFloat(d)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var b=Mo.mallocUint8(this.count),w=Mo.mallocFloat(this.count*2);this.textWidth=[];for(var _=0,C=0;_<this.counts.length;_++){for(var T=this.counts[_],P=this.font[_]||this.font[0],D=this.fontAtlas[_]||this.fontAtlas[0],Y=0;Y<T;Y++){var j=this.text.charAt(C),re=this.text.charAt(C-1);if(b[C]=D.ids[j],w[C*2]=P.width[j],Y){var Ee=w[C*2-2],me=w[C*2],ke=w[C*2-1],Pe=ke+Ee*.5+me*.5;if(this.kerning){var Le=P.kerning[re+j];Le&&(Pe+=Le*.001)}w[C*2+1]=Pe}else w[C*2+1]=w[C*2]*.5;C++}this.textWidth.push(w.length?w[C*2-2]*.5+w[C*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:b,type:"uint8",usage:"stream"}),this.sizeBuffer({data:w,type:"float",usage:"stream"}),Mo.freeUint8(b),Mo.freeFloat(w),l.length&&this.font.forEach(function(Qe,ct){var yt=r.fontAtlas[ct],Wt=yt.step,Vt=Math.floor(xr.maxAtlasSize/Wt),Ze=Math.min(Vt,yt.chars.length),At=Math.ceil(yt.chars.length/Ze),Ut=sC(Ze*Wt),Ce=sC(At*Wt);yt.width=Ut,yt.height=Ce,yt.rows=At,yt.cols=Ze,yt.em&&yt.texture({data:bH({canvas:xr.atlasCanvas,font:yt.fontString,chars:yt.chars,shape:[Ut,Ce],step:[Wt,Wt]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(Qe,ct){var yt=Array.isArray(r.align)?r.align.length>1?r.align[ct]:r.align[0]:r.align;if(typeof yt=="number")return yt;switch(yt){case"right":case"end":return-Qe;case"center":case"centre":case"middle":return-Qe*.5}return 0})),this.baseline==null&&t.baseline==null&&(t.baseline=0),t.baseline!=null&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(Qe,ct){var yt=(r.font[ct]||r.font[0]).metrics,Wt=0;return Wt+=yt.bottom*.5,typeof Qe=="number"?Wt+=Qe-yt.baseline:Wt+=-yt[Qe],Wt*=-1,Wt})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=_x(t.color,"uint8");else{var ut;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var nt=t.color.length;ut=Mo.mallocUint8(nt);for(var De=(t.color.subarray||t.color.slice).bind(t.color),We=0;We<nt;We+=4)ut.set(_x(De(We,We+4),"uint8"),We)}else{var _t=t.color.length;ut=Mo.mallocUint8(_t*4);for(var He=0;He<_t;He++)ut.set(_x(t.color[He]||0,"uint8"),He*4)}this.color=ut}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var be=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(be){var Ve=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(Ve);for(var st=0;st<this.batch.length;st++)this.batch[st]={count:this.counts.length>1?this.counts[st]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[st]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(st*4,st*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[st]:this.opacity,baseline:this.baselineOffset[st]!=null?this.baselineOffset[st]:this.baselineOffset[0],align:this.align?this.alignOffset[st]!=null?this.alignOffset[st]:this.alignOffset[0]:0,atlas:this.fontAtlas[st]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(st*2,st*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=[]}};xr.prototype.destroy=function(){};xr.prototype.kerning=!0;xr.prototype.position={constant:new Float32Array(2)};xr.prototype.translate=null;xr.prototype.scale=null;xr.prototype.font=null;xr.prototype.text="";xr.prototype.positionOffset=[0,0];xr.prototype.opacity=1;xr.prototype.color=new Uint8Array([0,0,0,255]);xr.prototype.alignOffset=[0,0];xr.maxAtlasSize=1024;xr.atlasCanvas=document.createElement("canvas");xr.atlasContext=xr.atlasCanvas.getContext("2d",{alpha:!1});xr.baseFontSize=64;xr.fonts={};function MH(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var Gte=xr;function IH(e,t){return e.parent===t.parent?1:2}function RH(e){return e.reduce(FH,0)/e.length}function FH(e,t){return e+t.x}function PH(e){return 1+e.reduce(NH,0)}function NH(e,t){return Math.max(e,t.y)}function LH(e){for(var t;t=e.children;)e=t[0];return e}function DH(e){for(var t;t=e.children;)e=t[t.length-1];return e}function $H(){var e=IH,t=1,r=1,n=!1;function i(a){var o,l=0;a.eachAfter(function(g){var m=g.children;m?(g.x=RH(m),g.y=PH(m)):(g.x=o?l+=e(g,o):0,g.y=0,o=g)});var s=LH(a),c=DH(a),d=s.x-e(s,c)/2,y=c.x+e(c,s)/2;return a.eachAfter(n?function(g){g.x=(g.x-a.x)*t,g.y=(a.y-g.y)*r}:function(g){g.x=(g.x-d)/(y-d)*t,g.y=(1-(a.y?g.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function BH(e){var t=0,r=e.children,n=r&&r.length;if(!n)t=1;else for(;--n>=0;)t+=r[n].value;e.value=t}function zH(){return this.eachAfter(BH)}function UH(e){var t=this,r,n=[t],i,a,o;do for(r=n.reverse(),n=[];t=r.pop();)if(e(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)n.push(i[a]);while(n.length);return this}function jH(e){for(var t=this,r=[t],n,i;t=r.pop();)if(e(t),n=t.children,n)for(i=n.length-1;i>=0;--i)r.push(n[i]);return this}function GH(e){for(var t=this,r=[t],n=[],i,a,o;t=r.pop();)if(n.push(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)r.push(i[a]);for(;t=n.pop();)e(t);return this}function WH(e){return this.eachAfter(function(t){for(var r=+e(t.data)||0,n=t.children,i=n&&n.length;--i>=0;)r+=n[i].value;t.value=r})}function HH(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function VH(e){for(var t=this,r=qH(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var i=n.length;e!==r;)n.splice(i,0,e),e=e.parent;return n}function qH(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;for(e=r.pop(),t=n.pop();e===t;)i=e,e=r.pop(),t=n.pop();return i}function YH(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function XH(){var e=[];return this.each(function(t){e.push(t)}),e}function QH(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function ZH(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function Y2(e,t){var r=new gf(e),n=+e.value&&(r.value=e.value),i,a=[r],o,l,s,c;for(t==null&&(t=JH);i=a.pop();)if(n&&(i.value=+i.data.value),(l=t(i.data))&&(c=l.length))for(i.children=new Array(c),s=c-1;s>=0;--s)a.push(o=i.children[s]=new gf(l[s])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(wF)}function KH(){return Y2(this).eachBefore(eV)}function JH(e){return e.children}function eV(e){e.data=e.data.data}function wF(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function gf(e){this.data=e,this.depth=this.height=0,this.parent=null}gf.prototype=Y2.prototype={constructor:gf,count:zH,each:UH,eachAfter:GH,eachBefore:jH,sum:WH,sort:HH,path:VH,ancestors:YH,descendants:XH,leaves:QH,links:ZH,copy:KH};var tV=Array.prototype.slice;function rV(e){for(var t=e.length,r,n;t;)n=Math.random()*t--|0,r=e[t],e[t]=e[n],e[n]=r;return e}function _F(e){for(var t=0,r=(e=rV(tV.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&SF(a,i)?++t:(a=iV(n=nV(n,i)),t=0);return a}function nV(e,t){var r,n;if(Ex(t,e))return[t];for(r=0;r<e.length;++r)if(zv(t,e[r])&&Ex(Ch(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(zv(Ch(e[r],e[n]),t)&&zv(Ch(e[r],t),e[n])&&zv(Ch(e[n],t),e[r])&&Ex(EF(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function zv(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function SF(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function Ex(e,t){for(var r=0;r<t.length;++r)if(!SF(e,t[r]))return!1;return!0}function iV(e){switch(e.length){case 1:return aV(e[0]);case 2:return Ch(e[0],e[1]);case 3:return EF(e[0],e[1],e[2])}}function aV(e){return{x:e.x,y:e.y,r:e.r}}function Ch(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,l=t.r,s=a-r,c=o-n,d=l-i,y=Math.sqrt(s*s+c*c);return{x:(r+a+s/y*d)/2,y:(n+o+c/y*d)/2,r:(y+i+l)/2}}function EF(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,l=t.y,s=t.r,c=r.x,d=r.y,y=r.r,g=n-o,m=n-c,E=i-l,M=i-d,b=s-a,w=y-a,_=n*n+i*i-a*a,C=_-o*o-l*l+s*s,T=_-c*c-d*d+y*y,P=m*E-g*M,D=(E*T-M*C)/(P*2)-n,Y=(M*b-E*w)/P,j=(m*C-g*T)/(P*2)-i,re=(g*w-m*b)/P,Ee=Y*Y+re*re-1,me=2*(a+D*Y+j*re),ke=D*D+j*j-a*a,Pe=-(Ee?(me+Math.sqrt(me*me-4*Ee*ke))/(2*Ee):ke/me);return{x:n+D+Y*Pe,y:i+j+re*Pe,r:Pe}}function cC(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,l,s,c=n*n+o*o;c?(a=t.r+r.r,a*=a,s=e.r+r.r,s*=s,a>s?(i=(c+s-a)/(2*c),l=Math.sqrt(Math.max(0,s/c-i*i)),r.x=e.x-i*n-l*o,r.y=e.y-i*o+l*n):(i=(c+a-s)/(2*c),l=Math.sqrt(Math.max(0,a/c-i*i)),r.x=t.x+i*n-l*o,r.y=t.y+i*o+l*n)):(r.x=t.x+r.r,r.y=t.y)}function hC(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function dC(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,a=(t.y*r.r+r.y*t.r)/n;return i*i+a*a}function Uv(e){this._=e,this.next=null,this.previous=null}function AF(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,l,s,c,d,y;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;cC(r,t,n=e[2]),t=new Uv(t),r=new Uv(r),n=new Uv(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(l=3;l<i;++l){cC(t._,r._,n=e[l]),n=new Uv(n),s=r.next,c=t.previous,d=r._.r,y=t._.r;do if(d<=y){if(hC(s._,n._)){r=s,t.next=r,r.previous=t,--l;continue e}d+=s._.r,s=s.next}else{if(hC(c._,n._)){t=c,t.next=r,r.previous=t,--l;continue e}y+=c._.r,c=c.previous}while(s!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=dC(t);(n=n.next)!==r;)(o=dC(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=_F(t),l=0;l<i;++l)t=e[l],t.x-=n.x,t.y-=n.y;return n.r}function oV(e){return AF(e),e}function uV(e){return e==null?null:pm(e)}function pm(e){if(typeof e!="function")throw new Error;return e}function Qu(){return 0}function Is(e){return function(){return e}}function lV(e){return Math.sqrt(e.value)}function sV(){var e=null,t=1,r=1,n=Qu;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(pC(e)).eachAfter(Ax(n,.5)).eachBefore(vC(1)):a.eachBefore(pC(lV)).eachAfter(Ax(Qu,1)).eachAfter(Ax(n,a.r/Math.min(t,r))).eachBefore(vC(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=uV(a),i):e},i.size=function(a){return arguments.length?(t=+a[0],r=+a[1],i):[t,r]},i.padding=function(a){return arguments.length?(n=typeof a=="function"?a:Is(+a),i):n},i}function pC(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function Ax(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,l;if(o)for(i=0;i<a;++i)n[i].r+=o;if(l=AF(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=l+o}}}function vC(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}function TF(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Dd(e,t,r,n,i){for(var a=e.children,o,l=-1,s=a.length,c=e.value&&(n-t)/e.value;++l<s;)o=a[l],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function fV(){var e=1,t=1,r=0,n=!1;function i(o){var l=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/l,o.eachBefore(a(t,l)),n&&o.eachBefore(TF),o}function a(o,l){return function(s){s.children&&Dd(s,s.x0,o*(s.depth+1)/l,s.x1,o*(s.depth+2)/l);var c=s.x0,d=s.y0,y=s.x1-r,g=s.y1-r;y<c&&(c=y=(c+y)/2),g<d&&(d=g=(d+g)/2),s.x0=c,s.y0=d,s.x1=y,s.y1=g}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var mC="$",cV={depth:-1},gC={};function hV(e){return e.id}function dV(e){return e.parentId}function pV(){var e=hV,t=dV;function r(n){var i,a,o=n.length,l,s,c,d=new Array(o),y,g,m={};for(a=0;a<o;++a)i=n[a],c=d[a]=new gf(i),(y=e(i,a,n))!=null&&(y+="")&&(g=mC+(c.id=y),m[g]=g in m?gC:c);for(a=0;a<o;++a)if(c=d[a],y=t(n[a],a,n),y==null||!(y+="")){if(l)throw new Error("multiple roots");l=c}else{if(s=m[mC+y],!s)throw new Error("missing: "+y);if(s===gC)throw new Error("ambiguous: "+y);s.children?s.children.push(c):s.children=[c],c.parent=s}if(!l)throw new Error("no root");if(l.parent=cV,l.eachBefore(function(E){E.depth=E.parent.depth+1,--o}).eachBefore(wF),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(n){return arguments.length?(e=pm(n),r):e},r.parentId=function(n){return arguments.length?(t=pm(n),r):t},r}function vV(e,t){return e.parent===t.parent?1:2}function Tx(e){var t=e.children;return t?t[0]:e.t}function Cx(e){var t=e.children;return t?t[t.length-1]:e.t}function mV(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function gV(e){for(var t=0,r=0,n=e.children,i=n.length,a;--i>=0;)a=n[i],a.z+=t,a.m+=t,t+=a.s+(r+=a.c)}function yV(e,t,r){return e.a.parent===t.parent?e.a:r}function g0(e,t){this._=e,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=t}g0.prototype=Object.create(gf.prototype);function xV(e){for(var t=new g0(e,0),r,n=[t],i,a,o,l;r=n.pop();)if(a=r._.children)for(r.children=new Array(l=a.length),o=l-1;o>=0;--o)n.push(i=r.children[o]=new g0(a[o],o)),i.parent=r;return(t.parent=new g0(null,0)).children=[t],t}function bV(){var e=vV,t=1,r=1,n=null;function i(c){var d=xV(c);if(d.eachAfter(a),d.parent.m=-d.z,d.eachBefore(o),n)c.eachBefore(s);else{var y=c,g=c,m=c;c.eachBefore(function(_){_.x<y.x&&(y=_),_.x>g.x&&(g=_),_.depth>m.depth&&(m=_)});var E=y===g?1:e(y,g)/2,M=E-y.x,b=t/(g.x+E+M),w=r/(m.depth||1);c.eachBefore(function(_){_.x=(_.x+M)*b,_.y=_.depth*w})}return c}function a(c){var d=c.children,y=c.parent.children,g=c.i?y[c.i-1]:null;if(d){gV(c);var m=(d[0].z+d[d.length-1].z)/2;g?(c.z=g.z+e(c._,g._),c.m=c.z-m):c.z=m}else g&&(c.z=g.z+e(c._,g._));c.parent.A=l(c,g,c.parent.A||y[0])}function o(c){c._.x=c.z+c.parent.m,c.m+=c.parent.m}function l(c,d,y){if(d){for(var g=c,m=c,E=d,M=g.parent.children[0],b=g.m,w=m.m,_=E.m,C=M.m,T;E=Cx(E),g=Tx(g),E&&g;)M=Tx(M),m=Cx(m),m.a=c,T=E.z+_-g.z-b+e(E._,g._),T>0&&(mV(yV(E,c,y),c,T),b+=T,w+=T),_+=E.m,b+=g.m,C+=M.m,w+=m.m;E&&!Cx(m)&&(m.t=E,m.m+=_-w),g&&!Tx(M)&&(M.t=g,M.m+=b-C,y=c)}return y}function s(c){c.x*=t,c.y=c.depth*r}return i.separation=function(c){return arguments.length?(e=c,i):e},i.size=function(c){return arguments.length?(n=!1,t=+c[0],r=+c[1],i):n?null:[t,r]},i.nodeSize=function(c){return arguments.length?(n=!0,t=+c[0],r=+c[1],i):n?[t,r]:null},i}function lg(e,t,r,n,i){for(var a=e.children,o,l=-1,s=a.length,c=e.value&&(i-r)/e.value;++l<s;)o=a[l],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*c}var CF=(1+Math.sqrt(5))/2;function OF(e,t,r,n,i,a){for(var o=[],l=t.children,s,c,d=0,y=0,g=l.length,m,E,M=t.value,b,w,_,C,T,P,D;d<g;){m=i-r,E=a-n;do b=l[y++].value;while(!b&&y<g);for(w=_=b,P=Math.max(E/m,m/E)/(M*e),D=b*b*P,T=Math.max(_/D,D/w);y<g;++y){if(b+=c=l[y].value,c<w&&(w=c),c>_&&(_=c),D=b*b*P,C=Math.max(_/D,D/w),C>T){b-=c;break}T=C}o.push(s={value:b,dice:m<E,children:l.slice(d,y)}),s.dice?Dd(s,r,n,i,M?n+=E*b/M:a):lg(s,r,n,M?r+=m*b/M:i,a),M-=b,d=y}return o}const kF=function e(t){function r(n,i,a,o,l){OF(t,n,i,a,o,l)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(CF);function wV(){var e=kF,t=!1,r=1,n=1,i=[0],a=Qu,o=Qu,l=Qu,s=Qu,c=Qu;function d(g){return g.x0=g.y0=0,g.x1=r,g.y1=n,g.eachBefore(y),i=[0],t&&g.eachBefore(TF),g}function y(g){var m=i[g.depth],E=g.x0+m,M=g.y0+m,b=g.x1-m,w=g.y1-m;b<E&&(E=b=(E+b)/2),w<M&&(M=w=(M+w)/2),g.x0=E,g.y0=M,g.x1=b,g.y1=w,g.children&&(m=i[g.depth+1]=a(g)/2,E+=c(g)-m,M+=o(g)-m,b-=l(g)-m,w-=s(g)-m,b<E&&(E=b=(E+b)/2),w<M&&(M=w=(M+w)/2),e(g,E,M,b,w))}return d.round=function(g){return arguments.length?(t=!!g,d):t},d.size=function(g){return arguments.length?(r=+g[0],n=+g[1],d):[r,n]},d.tile=function(g){return arguments.length?(e=pm(g),d):e},d.padding=function(g){return arguments.length?d.paddingInner(g).paddingOuter(g):d.paddingInner()},d.paddingInner=function(g){return arguments.length?(a=typeof g=="function"?g:Is(+g),d):a},d.paddingOuter=function(g){return arguments.length?d.paddingTop(g).paddingRight(g).paddingBottom(g).paddingLeft(g):d.paddingTop()},d.paddingTop=function(g){return arguments.length?(o=typeof g=="function"?g:Is(+g),d):o},d.paddingRight=function(g){return arguments.length?(l=typeof g=="function"?g:Is(+g),d):l},d.paddingBottom=function(g){return arguments.length?(s=typeof g=="function"?g:Is(+g),d):s},d.paddingLeft=function(g){return arguments.length?(c=typeof g=="function"?g:Is(+g),d):c},d}function _V(e,t,r,n,i){var a=e.children,o,l=a.length,s,c=new Array(l+1);for(c[0]=s=o=0;o<l;++o)c[o+1]=s+=a[o].value;d(0,l,e.value,t,r,n,i);function d(y,g,m,E,M,b,w){if(y>=g-1){var _=a[y];_.x0=E,_.y0=M,_.x1=b,_.y1=w;return}for(var C=c[y],T=m/2+C,P=y+1,D=g-1;P<D;){var Y=P+D>>>1;c[Y]<T?P=Y+1:D=Y}T-c[P-1]<c[P]-T&&y+1<P&&--P;var j=c[P]-C,re=m-j;if(b-E>w-M){var Ee=(E*re+b*j)/m;d(y,P,j,E,M,Ee,w),d(P,g,re,Ee,M,b,w)}else{var me=(M*re+w*j)/m;d(y,P,j,E,M,b,me),d(P,g,re,E,me,b,w)}}}function SV(e,t,r,n,i){(e.depth&1?lg:Dd)(e,t,r,n,i)}const EV=function e(t){function r(n,i,a,o,l){if((s=n._squarify)&&s.ratio===t)for(var s,c,d,y,g=-1,m,E=s.length,M=n.value;++g<E;){for(c=s[g],d=c.children,y=c.value=0,m=d.length;y<m;++y)c.value+=d[y].value;c.dice?Dd(c,i,a,o,a+=(l-a)*c.value/M):lg(c,i,a,i+=(o-i)*c.value/M,l),M-=c.value}else n._squarify=s=OF(t,n,i,a,o,l),s.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(CF),AV=Object.freeze(Object.defineProperty({__proto__:null,cluster:$H,hierarchy:Y2,pack:sV,packSiblings:oV,packEnclose:_F,partition:fV,stratify:pV,tree:bV,treemap:wV,treemapBinary:_V,treemapDice:Dd,treemapSlice:lg,treemapSliceDice:SV,treemapSquarify:kF,treemapResquarify:EV},Symbol.toStringTag,{value:"Module"})),Wte=xl(AV);function Rf(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function $d(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function vu(){}var pl=.7,yf=1/pl,nf="\\s*([+-]?\\d+)\\s*",xd="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",pa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",TV=/^#([0-9a-f]{3,8})$/,CV=new RegExp("^rgb\\("+[nf,nf,nf]+"\\)$"),OV=new RegExp("^rgb\\("+[pa,pa,pa]+"\\)$"),kV=new RegExp("^rgba\\("+[nf,nf,nf,xd]+"\\)$"),MV=new RegExp("^rgba\\("+[pa,pa,pa,xd]+"\\)$"),IV=new RegExp("^hsl\\("+[xd,pa,pa]+"\\)$"),RV=new RegExp("^hsla\\("+[xd,pa,pa,xd]+"\\)$"),yC={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};Rf(vu,bd,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:xC,formatHex:xC,formatHsl:FV,formatRgb:bC,toString:bC});function xC(){return this.rgb().formatHex()}function FV(){return MF(this).formatHsl()}function bC(){return this.rgb().formatRgb()}function bd(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=TV.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?wC(t):r===3?new An(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?jv(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?jv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=CV.exec(e))?new An(t[1],t[2],t[3],1):(t=OV.exec(e))?new An(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=kV.exec(e))?jv(t[1],t[2],t[3],t[4]):(t=MV.exec(e))?jv(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=IV.exec(e))?EC(t[1],t[2]/100,t[3]/100,1):(t=RV.exec(e))?EC(t[1],t[2]/100,t[3]/100,t[4]):yC.hasOwnProperty(e)?wC(yC[e]):e==="transparent"?new An(NaN,NaN,NaN,0):null}function wC(e){return new An(e>>16&255,e>>8&255,e&255,1)}function jv(e,t,r,n){return n<=0&&(e=t=r=NaN),new An(e,t,r,n)}function X2(e){return e instanceof vu||(e=bd(e)),e?(e=e.rgb(),new An(e.r,e.g,e.b,e.opacity)):new An}function vm(e,t,r,n){return arguments.length===1?X2(e):new An(e,t,r,n==null?1:n)}function An(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Rf(An,vm,$d(vu,{brighter:function(e){return e=e==null?yf:Math.pow(yf,e),new An(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?pl:Math.pow(pl,e),new An(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},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:_C,formatHex:_C,formatRgb:SC,toString:SC}));function _C(){return"#"+Ox(this.r)+Ox(this.g)+Ox(this.b)}function SC(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function Ox(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function EC(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ua(e,t,r,n)}function MF(e){if(e instanceof ua)return new ua(e.h,e.s,e.l,e.opacity);if(e instanceof vu||(e=bd(e)),!e)return new ua;if(e instanceof ua)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,l=a-i,s=(a+i)/2;return l?(t===a?o=(r-n)/l+(r<n)*6:r===a?o=(n-t)/l+2:o=(t-r)/l+4,l/=s<.5?a+i:2-a-i,o*=60):l=s>0&&s<1?0:o,new ua(o,l,s,e.opacity)}function Lw(e,t,r,n){return arguments.length===1?MF(e):new ua(e,t,r,n==null?1:n)}function ua(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Rf(ua,Lw,$d(vu,{brighter:function(e){return e=e==null?yf:Math.pow(yf,e),new ua(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?pl:Math.pow(pl,e),new ua(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new An(kx(e>=240?e-240:e+120,i,n),kx(e,i,n),kx(e<120?e+240:e-120,i,n),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 e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function kx(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}var IF=Math.PI/180,RF=180/Math.PI,mm=18,FF=.96422,PF=1,NF=.82521,LF=4/29,af=6/29,DF=3*af*af,PV=af*af*af;function $F(e){if(e instanceof va)return new va(e.l,e.a,e.b,e.opacity);if(e instanceof Va)return BF(e);e instanceof An||(e=X2(e));var t=Fx(e.r),r=Fx(e.g),n=Fx(e.b),i=Mx((.2225045*t+.7168786*r+.0606169*n)/PF),a,o;return t===r&&r===n?a=o=i:(a=Mx((.4360747*t+.3850649*r+.1430804*n)/FF),o=Mx((.0139322*t+.0971045*r+.7141733*n)/NF)),new va(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Dw(e,t,r,n){return arguments.length===1?$F(e):new va(e,t,r,n==null?1:n)}function va(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}Rf(va,Dw,$d(vu,{brighter:function(e){return new va(this.l+mm*(e==null?1:e),this.a,this.b,this.opacity)},darker:function(e){return new va(this.l-mm*(e==null?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=FF*Ix(t),e=PF*Ix(e),r=NF*Ix(r),new An(Rx(3.1338561*t-1.6168667*e-.4906146*r),Rx(-.9787684*t+1.9161415*e+.033454*r),Rx(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function Mx(e){return e>PV?Math.pow(e,1/3):e/DF+LF}function Ix(e){return e>af?e*e*e:DF*(e-LF)}function Rx(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Fx(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function NV(e){if(e instanceof Va)return new Va(e.h,e.c,e.l,e.opacity);if(e instanceof va||(e=$F(e)),e.a===0&&e.b===0)return new Va(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*RF;return new Va(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function $w(e,t,r,n){return arguments.length===1?NV(e):new Va(e,t,r,n==null?1:n)}function Va(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function BF(e){if(isNaN(e.h))return new va(e.l,0,0,e.opacity);var t=e.h*IF;return new va(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}Rf(Va,$w,$d(vu,{brighter:function(e){return new Va(this.h,this.c,this.l+mm*(e==null?1:e),this.opacity)},darker:function(e){return new Va(this.h,this.c,this.l-mm*(e==null?1:e),this.opacity)},rgb:function(){return BF(this).rgb()}}));var zF=-.14861,Q2=1.78277,Z2=-.29227,sg=-.90649,wd=1.97294,AC=wd*sg,TC=wd*Q2,CC=Q2*Z2-sg*zF;function LV(e){if(e instanceof ul)return new ul(e.h,e.s,e.l,e.opacity);e instanceof An||(e=X2(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(CC*n+AC*t-TC*r)/(CC+AC-TC),a=n-i,o=(wd*(r-i)-Z2*a)/sg,l=Math.sqrt(o*o+a*a)/(wd*i*(1-i)),s=l?Math.atan2(o,a)*RF-120:NaN;return new ul(s<0?s+360:s,l,i,e.opacity)}function Bw(e,t,r,n){return arguments.length===1?LV(e):new ul(e,t,r,n==null?1:n)}function ul(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Rf(ul,Bw,$d(vu,{brighter:function(e){return e=e==null?yf:Math.pow(yf,e),new ul(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?pl:Math.pow(pl,e),new ul(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*IF,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new An(255*(t+r*(zF*n+Q2*i)),255*(t+r*(Z2*n+sg*i)),255*(t+r*(wd*n)),this.opacity)}}));function UF(e,t,r,n,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*r+(1+3*e+3*a-3*o)*n+o*i)/6}function jF(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,l=n<t-1?e[n+2]:2*a-i;return UF((r-n/t)*t,o,i,a,l)}}function GF(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],l=e[(n+2)%t];return UF((r-n/t)*t,i,a,o,l)}}function fg(e){return function(){return e}}function WF(e,t){return function(r){return e+r*t}}function DV(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function cg(e,t){var r=t-e;return r?WF(e,r>180||r<-180?r-360*Math.round(r/360):r):fg(isNaN(e)?t:e)}function $V(e){return(e=+e)==1?vn:function(t,r){return r-t?DV(t,r,e):fg(isNaN(t)?r:t)}}function vn(e,t){var r=t-e;return r?WF(e,r):fg(isNaN(e)?t:e)}const zw=function e(t){var r=$V(t);function n(i,a){var o=r((i=vm(i)).r,(a=vm(a)).r),l=r(i.g,a.g),s=r(i.b,a.b),c=vn(i.opacity,a.opacity);return function(d){return i.r=o(d),i.g=l(d),i.b=s(d),i.opacity=c(d),i+""}}return n.gamma=e,n}(1);function HF(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,l;for(o=0;o<r;++o)l=vm(t[o]),n[o]=l.r||0,i[o]=l.g||0,a[o]=l.b||0;return n=e(n),i=e(i),a=e(a),l.opacity=1,function(s){return l.r=n(s),l.g=i(s),l.b=a(s),l+""}}}var BV=HF(jF),zV=HF(GF);function K2(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function VF(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function UV(e,t){return(VF(t)?K2:qF)(e,t)}function qF(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=J2(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(l){for(o=0;o<n;++o)a[o]=i[o](l);return a}}function YF(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function aa(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function XF(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=J2(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Uw=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Px=new RegExp(Uw.source,"g");function jV(e){return function(){return e}}function GV(e){return function(t){return e(t)+""}}function QF(e,t){var r=Uw.lastIndex=Px.lastIndex=0,n,i,a,o=-1,l=[],s=[];for(e=e+"",t=t+"";(n=Uw.exec(e))&&(i=Px.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(i=i[0])?l[o]?l[o]+=i:l[++o]=i:(l[++o]=null,s.push({i:o,x:aa(n,i)})),r=Px.lastIndex;return r<t.length&&(a=t.slice(r),l[o]?l[o]+=a:l[++o]=a),l.length<2?s[0]?GV(s[0].x):jV(t):(t=s.length,function(c){for(var d=0,y;d<t;++d)l[(y=s[d]).i]=y.x(c);return l.join("")})}function J2(e,t){var r=typeof t,n;return t==null||r==="boolean"?fg(t):(r==="number"?aa:r==="string"?(n=bd(t))?(t=n,zw):QF:t instanceof bd?zw:t instanceof Date?YF:VF(t)?K2:Array.isArray(t)?qF:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?XF:aa)(e,t)}function WV(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function HV(e,t){var r=cg(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function VV(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var OC=180/Math.PI,jw={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ZF(e,t,r,n,i,a){var o,l,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*r+t*n)&&(r-=e*s,n-=t*s),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,s/=l),e*n<t*r&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*OC,skewX:Math.atan(s)*OC,scaleX:o,scaleY:l}}var gh,Nx,kC,Gv;function qV(e){return e==="none"?jw:(gh||(gh=document.createElement("DIV"),Nx=document.documentElement,kC=document.defaultView),gh.style.transform=e,e=kC.getComputedStyle(Nx.appendChild(gh),null).getPropertyValue("transform"),Nx.removeChild(gh),e=e.slice(7,-1).split(","),ZF(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function YV(e){return e==null||(Gv||(Gv=document.createElementNS("http://www.w3.org/2000/svg","g")),Gv.setAttribute("transform",e),!(e=Gv.transform.baseVal.consolidate()))?jw:(e=e.matrix,ZF(e.a,e.b,e.c,e.d,e.e,e.f))}function KF(e,t,r,n){function i(c){return c.length?c.pop()+" ":""}function a(c,d,y,g,m,E){if(c!==y||d!==g){var M=m.push("translate(",null,t,null,r);E.push({i:M-4,x:aa(c,y)},{i:M-2,x:aa(d,g)})}else(y||g)&&m.push("translate("+y+t+g+r)}function o(c,d,y,g){c!==d?(c-d>180?d+=360:d-c>180&&(c+=360),g.push({i:y.push(i(y)+"rotate(",null,n)-2,x:aa(c,d)})):d&&y.push(i(y)+"rotate("+d+n)}function l(c,d,y,g){c!==d?g.push({i:y.push(i(y)+"skewX(",null,n)-2,x:aa(c,d)}):d&&y.push(i(y)+"skewX("+d+n)}function s(c,d,y,g,m,E){if(c!==y||d!==g){var M=m.push(i(m)+"scale(",null,",",null,")");E.push({i:M-4,x:aa(c,y)},{i:M-2,x:aa(d,g)})}else(y!==1||g!==1)&&m.push(i(m)+"scale("+y+","+g+")")}return function(c,d){var y=[],g=[];return c=e(c),d=e(d),a(c.translateX,c.translateY,d.translateX,d.translateY,y,g),o(c.rotate,d.rotate,y,g),l(c.skewX,d.skewX,y,g),s(c.scaleX,c.scaleY,d.scaleX,d.scaleY,y,g),c=d=null,function(m){for(var E=-1,M=g.length,b;++E<M;)y[(b=g[E]).i]=b.x(m);return y.join("")}}}var XV=KF(qV,"px, ","px)","deg)"),QV=KF(YV,", ",")",")"),yh=Math.SQRT2,Lx=2,MC=4,ZV=1e-12;function IC(e){return((e=Math.exp(e))+1/e)/2}function KV(e){return((e=Math.exp(e))-1/e)/2}function JV(e){return((e=Math.exp(2*e))-1)/(e+1)}function eq(e,t){var r=e[0],n=e[1],i=e[2],a=t[0],o=t[1],l=t[2],s=a-r,c=o-n,d=s*s+c*c,y,g;if(d<ZV)g=Math.log(l/i)/yh,y=function(_){return[r+_*s,n+_*c,i*Math.exp(yh*_*g)]};else{var m=Math.sqrt(d),E=(l*l-i*i+MC*d)/(2*i*Lx*m),M=(l*l-i*i-MC*d)/(2*l*Lx*m),b=Math.log(Math.sqrt(E*E+1)-E),w=Math.log(Math.sqrt(M*M+1)-M);g=(w-b)/yh,y=function(_){var C=_*g,T=IC(b),P=i/(Lx*m)*(T*JV(yh*C+b)-KV(b));return[r+P*s,n+P*c,i*T/IC(yh*C+b)]}}return y.duration=g*1e3,y}function JF(e){return function(t,r){var n=e((t=Lw(t)).h,(r=Lw(r)).h),i=vn(t.s,r.s),a=vn(t.l,r.l),o=vn(t.opacity,r.opacity);return function(l){return t.h=n(l),t.s=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const tq=JF(cg);var rq=JF(vn);function nq(e,t){var r=vn((e=Dw(e)).l,(t=Dw(t)).l),n=vn(e.a,t.a),i=vn(e.b,t.b),a=vn(e.opacity,t.opacity);return function(o){return e.l=r(o),e.a=n(o),e.b=i(o),e.opacity=a(o),e+""}}function eP(e){return function(t,r){var n=e((t=$w(t)).h,(r=$w(r)).h),i=vn(t.c,r.c),a=vn(t.l,r.l),o=vn(t.opacity,r.opacity);return function(l){return t.h=n(l),t.c=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const iq=eP(cg);var aq=eP(vn);function tP(e){return function t(r){r=+r;function n(i,a){var o=e((i=Bw(i)).h,(a=Bw(a)).h),l=vn(i.s,a.s),s=vn(i.l,a.l),c=vn(i.opacity,a.opacity);return function(d){return i.h=o(d),i.s=l(d),i.l=s(Math.pow(d,r)),i.opacity=c(d),i+""}}return n.gamma=t,n}(1)}const oq=tP(cg);var uq=tP(vn);function lq(e,t){for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var l=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[l](o-l)}}function sq(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const fq=Object.freeze(Object.defineProperty({__proto__:null,interpolate:J2,interpolateArray:UV,interpolateBasis:jF,interpolateBasisClosed:GF,interpolateDate:YF,interpolateDiscrete:WV,interpolateHue:HV,interpolateNumber:aa,interpolateNumberArray:K2,interpolateObject:XF,interpolateRound:VV,interpolateString:QF,interpolateTransformCss:XV,interpolateTransformSvg:QV,interpolateZoom:eq,interpolateRgb:zw,interpolateRgbBasis:BV,interpolateRgbBasisClosed:zV,interpolateHsl:tq,interpolateHslLong:rq,interpolateLab:nq,interpolateHcl:iq,interpolateHclLong:aq,interpolateCubehelix:oq,interpolateCubehelixLong:uq,piecewise:lq,quantize:sq},Symbol.toStringTag,{value:"Module"})),Hte=xl(fq);var cq="Expected a function",rP="__lodash_hash_undefined__",nP=1/0,hq=9007199254740991,dq="[object Function]",pq="[object GeneratorFunction]",vq="[object Symbol]",mq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gq=/^\w*$/,yq=/^\./,xq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bq=/[\\^$.*+?()[\]{}|]/g,wq=/\\(\\)?/g,_q=/^\[object .+?Constructor\]$/,Sq=/^(?:0|[1-9]\d*)$/,Eq=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,Aq=typeof self=="object"&&self&&self.Object===Object&&self,eS=Eq||Aq||Function("return this")();function Tq(e,t){return e==null?void 0:e[t]}function Cq(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var Oq=Array.prototype,kq=Function.prototype,iP=Object.prototype,Dx=eS["__core-js_shared__"],RC=function(){var e=/[^.]+$/.exec(Dx&&Dx.keys&&Dx.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),aP=kq.toString,hg=iP.hasOwnProperty,oP=iP.toString,Mq=RegExp("^"+aP.call(hg).replace(bq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),FC=eS.Symbol,Iq=Oq.splice,Rq=uP(eS,"Map"),_d=uP(Object,"create"),PC=FC?FC.prototype:void 0,NC=PC?PC.toString:void 0;function vl(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Fq(){this.__data__=_d?_d(null):{}}function Pq(e){return this.has(e)&&delete this.__data__[e]}function Nq(e){var t=this.__data__;if(_d){var r=t[e];return r===rP?void 0:r}return hg.call(t,e)?t[e]:void 0}function Lq(e){var t=this.__data__;return _d?t[e]!==void 0:hg.call(t,e)}function Dq(e,t){var r=this.__data__;return r[e]=_d&&t===void 0?rP:t,this}vl.prototype.clear=Fq;vl.prototype.delete=Pq;vl.prototype.get=Nq;vl.prototype.has=Lq;vl.prototype.set=Dq;function Ff(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function $q(){this.__data__=[]}function Bq(e){var t=this.__data__,r=dg(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Iq.call(t,r,1),!0}function zq(e){var t=this.__data__,r=dg(t,e);return r<0?void 0:t[r][1]}function Uq(e){return dg(this.__data__,e)>-1}function jq(e,t){var r=this.__data__,n=dg(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Ff.prototype.clear=$q;Ff.prototype.delete=Bq;Ff.prototype.get=zq;Ff.prototype.has=Uq;Ff.prototype.set=jq;function Ml(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gq(){this.__data__={hash:new vl,map:new(Rq||Ff),string:new vl}}function Wq(e){return pg(this,e).delete(e)}function Hq(e){return pg(this,e).get(e)}function Vq(e){return pg(this,e).has(e)}function qq(e,t){return pg(this,e).set(e,t),this}Ml.prototype.clear=Gq;Ml.prototype.delete=Wq;Ml.prototype.get=Hq;Ml.prototype.has=Vq;Ml.prototype.set=qq;function Yq(e,t,r){var n=e[t];(!(hg.call(e,t)&&lP(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function dg(e,t){for(var r=e.length;r--;)if(lP(e[r][0],t))return r;return-1}function Xq(e){if(!gm(e)||rY(e))return!1;var t=oY(e)||Cq(e)?Mq:_q;return t.test(aY(e))}function Qq(e,t,r,n){if(!gm(e))return e;t=eY(t,e)?[t]:Kq(t);for(var i=-1,a=t.length,o=a-1,l=e;l!=null&&++i<a;){var s=iY(t[i]),c=r;if(i!=o){var d=l[s];c=n?n(d,s,l):void 0,c===void 0&&(c=gm(d)?d:Jq(t[i+1])?[]:{})}Yq(l,s,c),l=l[s]}return e}function Zq(e){if(typeof e=="string")return e;if(rS(e))return NC?NC.call(e):"";var t=e+"";return t=="0"&&1/e==-nP?"-0":t}function Kq(e){return sP(e)?e:nY(e)}function pg(e,t){var r=e.__data__;return tY(t)?r[typeof t=="string"?"string":"hash"]:r.map}function uP(e,t){var r=Tq(e,t);return Xq(r)?r:void 0}function Jq(e,t){return t=t==null?hq:t,!!t&&(typeof e=="number"||Sq.test(e))&&e>-1&&e%1==0&&e<t}function eY(e,t){if(sP(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||rS(e)?!0:gq.test(e)||!mq.test(e)||t!=null&&e in Object(t)}function tY(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function rY(e){return!!RC&&RC in e}var nY=tS(function(e){e=lY(e);var t=[];return yq.test(e)&&t.push(""),e.replace(xq,function(r,n,i,a){t.push(i?a.replace(wq,"$1"):n||r)}),t});function iY(e){if(typeof e=="string"||rS(e))return e;var t=e+"";return t=="0"&&1/e==-nP?"-0":t}function aY(e){if(e!=null){try{return aP.call(e)}catch{}try{return e+""}catch{}}return""}function tS(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(cq);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o),o};return r.cache=new(tS.Cache||Ml),r}tS.Cache=Ml;function lP(e,t){return e===t||e!==e&&t!==t}var sP=Array.isArray;function oY(e){var t=gm(e)?oP.call(e):"";return t==dq||t==pq}function gm(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function uY(e){return!!e&&typeof e=="object"}function rS(e){return typeof e=="symbol"||uY(e)&&oP.call(e)==vq}function lY(e){return e==null?"":Zq(e)}function sY(e,t,r){return e==null?e:Qq(e,t,r)}var Vte=sY,vg={exports:{}},Bd={};/** @license React v17.0.2
|
|
365
|
-
* react-jsx-runtime.production.min.js
|
|
366
|
-
*
|
|
367
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
368
|
-
*
|
|
369
|
-
* This source code is licensed under the MIT license found in the
|
|
370
|
-
* LICENSE file in the root directory of this source tree.
|
|
371
|
-
*/var fY=Kt.exports,fP=60103;Bd.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var LC=Symbol.for;fP=LC("react.element"),Bd.Fragment=LC("react.fragment")}var cY=fY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hY=Object.prototype.hasOwnProperty,dY={key:!0,ref:!0,__self:!0,__source:!0};function cP(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)hY.call(t,n)&&!dY.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:fP,type:e,key:a,ref:o,props:i,_owner:cY.current}}Bd.jsx=cP;Bd.jsxs=cP;(function(e){e.exports=Bd})(vg);const qte=vg.exports.Fragment,ma=vg.exports.jsx,pY=vg.exports.jsxs;var vY=kl,hP=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:vY(e)},Il={},dP={exports:{}};(function(e){var t=Km,r=B2,n=no,i=Error.captureStackTrace;e.exports=function(a){var o=new Error(a),l=arguments[1],s=arguments[2];return n(s)||r(l)&&(s=l,l=null),n(s)&&t(o,s),n(l)&&(o.code=l),i&&i(o,e.exports),o}})(dP);var ym={exports:{}},$x,DC;function pP(){if(DC)return $x;DC=1;var e=qi,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return $x=function(a,o){var l,s=Object(e(o));if(a=Object(e(a)),n(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){l=d}}),typeof i=="function"&&i(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){l=d}}),l!==void 0)throw l;return a},$x}var $C=kl,vP=function(e,t){return t},Bx,BC,zC,UC;try{Object.defineProperty(vP,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}vP.length===1?(Bx={configurable:!0,writable:!1,enumerable:!1},BC=Object.defineProperty,ym.exports=function(e,t){return t=$C(t),e.length===t?e:(Bx.value=t,BC(e,"length",Bx))}):(UC=pP(),zC=function(){var e=[];return function(t){var r,n=0;if(e[t])return e[t];for(r=[];t--;)r.push("a"+(++n).toString(36));return new Function("fn","return function ("+r.join(", ")+") { return fn.apply(this, arguments); };")}}(),ym.exports=function(e,t){var r;if(t=$C(t),e.length===t)return e;r=zC(t)(e);try{UC(r,e)}catch{}return r});var Gw={exports:{}};(function(e,t){var r=Mi.exports,n=ba,i=Function.prototype.apply,a=Function.prototype.call,o=Object.create,l=Object.defineProperty,s=Object.defineProperties,c=Object.prototype.hasOwnProperty,d={configurable:!0,enumerable:!1,writable:!0},y,g,m,E,M,b,w;y=function(_,C){var T;return n(C),c.call(this,"__ee__")?T=this.__ee__:(T=d.value=o(null),l(this,"__ee__",d),d.value=null),T[_]?typeof T[_]=="object"?T[_].push(C):T[_]=[T[_],C]:T[_]=C,this},g=function(_,C){var T,P;return n(C),P=this,y.call(this,_,T=function(){m.call(P,_,T),i.call(C,this,arguments)}),T.__eeOnceListener__=C,this},m=function(_,C){var T,P,D,Y;if(n(C),!c.call(this,"__ee__"))return this;if(T=this.__ee__,!T[_])return this;if(P=T[_],typeof P=="object")for(Y=0;D=P[Y];++Y)(D===C||D.__eeOnceListener__===C)&&(P.length===2?T[_]=P[Y?0:1]:P.splice(Y,1));else(P===C||P.__eeOnceListener__===C)&&delete T[_];return this},E=function(_){var C,T,P,D,Y;if(!!c.call(this,"__ee__")&&(D=this.__ee__[_],!!D))if(typeof D=="object"){for(T=arguments.length,Y=new Array(T-1),C=1;C<T;++C)Y[C-1]=arguments[C];for(D=D.slice(),C=0;P=D[C];++C)i.call(P,this,Y)}else switch(arguments.length){case 1:a.call(D,this);break;case 2:a.call(D,this,arguments[1]);break;case 3:a.call(D,this,arguments[1],arguments[2]);break;default:for(T=arguments.length,Y=new Array(T-1),C=1;C<T;++C)Y[C-1]=arguments[C];i.call(D,this,Y)}},M={on:y,once:g,off:m,emit:E},b={on:r(y),once:r(g),off:r(m),emit:r(E)},w=s({},b),e.exports=t=function(_){return _==null?o(w):s(Object(_),b)},t.methods=M})(Gw,Gw.exports);var mY=rg(),gY=Array.isArray,yY=function(e){return gY(e)?e:mY(e)},xY=yY,bY=no,wY=ba,_Y=Array.prototype.slice,mP;mP=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(_Y.call(e,this.length))};var SY=function(e){return e=xY(e),e.forEach(function(t){bY(t)&&wY(t)}),mP.bind(e)},Wv=ba,EY=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:Wv(e.get)},e.set!==void 0?(t.set=Wv(e.set),e.delete&&(t.delete=Wv(e.delete)),e.clear&&(t.clear=Wv(e.clear)),t):(t.set=t.get,t))},Hv=dP.exports,Vv=ym.exports,xh=Mi.exports,gP=Gw.exports.methods,AY=SY,TY=EY,zx=Function.prototype.apply,Ux=Function.prototype.call,jC=Object.create,CY=Object.defineProperties,OY=gP.on,kY=gP.emit,MY=function(e,t,r){var n=jC(null),i,a,o,l,s,c,d,y,g,m,E,M,b,w,_;return t!==!1?a=t:isNaN(e.length)?a=1:a=e.length,r.normalizer&&(m=TY(r.normalizer),o=m.get,l=m.set,s=m.delete,c=m.clear),r.resolvers!=null&&(_=AY(r.resolvers)),o?w=Vv(function(C){var T,P,D=arguments;if(_&&(D=_(D)),T=o(D),T!==null&&hasOwnProperty.call(n,T))return E&&i.emit("get",T,D,this),n[T];if(D.length===1?P=Ux.call(e,this,D[0]):P=zx.call(e,this,D),T===null){if(T=o(D),T!==null)throw Hv("Circular invocation","CIRCULAR_INVOCATION");T=l(D)}else if(hasOwnProperty.call(n,T))throw Hv("Circular invocation","CIRCULAR_INVOCATION");return n[T]=P,M&&i.emit("set",T,null,P),P},a):t===0?w=function(){var C;if(hasOwnProperty.call(n,"data"))return E&&i.emit("get","data",arguments,this),n.data;if(arguments.length?C=zx.call(e,this,arguments):C=Ux.call(e,this),hasOwnProperty.call(n,"data"))throw Hv("Circular invocation","CIRCULAR_INVOCATION");return n.data=C,M&&i.emit("set","data",null,C),C}:w=function(C){var T,P=arguments,D;if(_&&(P=_(arguments)),D=String(P[0]),hasOwnProperty.call(n,D))return E&&i.emit("get",D,P,this),n[D];if(P.length===1?T=Ux.call(e,this,P[0]):T=zx.call(e,this,P),hasOwnProperty.call(n,D))throw Hv("Circular invocation","CIRCULAR_INVOCATION");return n[D]=T,M&&i.emit("set",D,null,T),T},i={original:e,memoized:w,profileName:r.profileName,get:function(C){return _&&(C=_(C)),o?o(C):String(C[0])},has:function(C){return hasOwnProperty.call(n,C)},delete:function(C){var T;!hasOwnProperty.call(n,C)||(s&&s(C),T=n[C],delete n[C],b&&i.emit("delete",C,T))},clear:function(){var C=n;c&&c(),n=jC(null),i.emit("clear",C)},on:function(C,T){return C==="get"?E=!0:C==="set"?M=!0:C==="delete"&&(b=!0),OY.call(this,C,T)},emit:kY,updateEnv:function(){e=i.original}},o?d=Vv(function(C){var T,P=arguments;_&&(P=_(P)),T=o(P),T!==null&&i.delete(T)},a):t===0?d=function(){return i.delete("data")}:d=function(C){return _&&(C=_(arguments)[0]),i.delete(C)},y=Vv(function(){var C,T=arguments;return t===0?n.data:(_&&(T=_(T)),o?C=o(T):C=String(T[0]),n[C])}),g=Vv(function(){var C,T=arguments;return t===0?i.has("data"):(_&&(T=_(T)),o?C=o(T):C=String(T[0]),C===null?!1:i.has(C))}),CY(w,{__memoized__:xh(!0),delete:xh(d),clear:xh(i.clear),_get:xh(y),_has:xh(g)}),i},IY=ba,RY=ng,GC=Il,FY=MY,PY=hP,NY=function e(t){var r,n,i;if(IY(t),r=Object(arguments[1]),r.async&&r.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=PY(r.length,t.length,r.async&&GC.async),i=FY(t,n,r),RY(GC,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},jx,WC;function LY(){return WC||(WC=1,jx=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),jx}var Gx,HC;function DY(){return HC||(HC=1,Gx=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),Gx}var Wx,VC;function $Y(){return VC||(VC=1,Wx=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),Wx}var Hx,qC;function BY(){return qC||(qC=1,Hx=function(e){return e!==e}),Hx}var Vx,YC;function zY(){return YC||(YC=1,Vx=$Y()()?Number.isNaN:BY()),Vx}var qx,XC;function nS(){if(XC)return qx;XC=1;var e=zY(),t=kl,r=qi,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return qx=function(l){var s,c,d,y;if(!e(l))return n.apply(this,arguments);for(c=t(r(this).length),d=arguments[1],isNaN(d)?d=0:d>=0?d=o(d):d=t(this.length)-o(a(d)),s=d;s<c;++s)if(i.call(this,s)&&(y=this[s],e(y)))return s;return-1},qx}var Yx,QC;function UY(){if(QC)return Yx;QC=1;var e=nS(),t=Object.create;return Yx=function(){var r=0,n=[],i=t(null);return{get:function(a){var o=0,l=n,s,c=a.length;if(c===0)return l[c]||null;if(l=l[c]){for(;o<c-1;){if(s=e.call(l[0],a[o]),s===-1)return null;l=l[1][s],++o}return s=e.call(l[0],a[o]),s===-1?null:l[1][s]||null}return null},set:function(a){var o=0,l=n,s,c=a.length;if(c===0)l[c]=++r;else{for(l[c]||(l[c]=[[],[]]),l=l[c];o<c-1;)s=e.call(l[0],a[o]),s===-1&&(s=l[0].push(a[o])-1,l[1].push([[],[]])),l=l[1][s],++o;s=e.call(l[0],a[o]),s===-1&&(s=l[0].push(a[o])-1),l[1][s]=++r}return i[r]=a,r},delete:function(a){var o=0,l=n,s,c=i[a],d=c.length,y=[];if(d===0)delete l[d];else if(l=l[d]){for(;o<d-1;){if(s=e.call(l[0],c[o]),s===-1)return;y.push(l,s),l=l[1][s],++o}if(s=e.call(l[0],c[o]),s===-1)return;for(a=l[1][s],l[0].splice(s,1),l[1].splice(s,1);!l[0].length&&y.length;)s=y.pop(),l=y.pop(),l[0].splice(s,1),l[1].splice(s,1)}delete i[a]},clear:function(){n=[],i=t(null)}}},Yx}var Xx,ZC;function jY(){if(ZC)return Xx;ZC=1;var e=nS();return Xx=function(){var t=0,r=[],n=[];return{get:function(i){var a=e.call(r,i[0]);return a===-1?null:n[a]},set:function(i){return r.push(i[0]),n.push(++t),t},delete:function(i){var a=e.call(n,i);a!==-1&&(r.splice(a,1),n.splice(a,1))},clear:function(){r=[],n=[]}}},Xx}var Qx,KC;function GY(){if(KC)return Qx;KC=1;var e=nS(),t=Object.create;return Qx=function(r){var n=0,i=[[],[]],a=t(null);return{get:function(o){for(var l=0,s=i,c;l<r-1;){if(c=e.call(s[0],o[l]),c===-1)return null;s=s[1][c],++l}return c=e.call(s[0],o[l]),c===-1?null:s[1][c]||null},set:function(o){for(var l=0,s=i,c;l<r-1;)c=e.call(s[0],o[l]),c===-1&&(c=s[0].push(o[l])-1,s[1].push([[],[]])),s=s[1][c],++l;return c=e.call(s[0],o[l]),c===-1&&(c=s[0].push(o[l])-1),s[1][c]=++n,a[n]=o,n},delete:function(o){for(var l=0,s=i,c,d=[],y=a[o];l<r-1;){if(c=e.call(s[0],y[l]),c===-1)return;d.push(s,c),s=s[1][c],++l}if(c=e.call(s[0],y[l]),c!==-1){for(o=s[1][c],s[0].splice(c,1),s[1].splice(c,1);!s[0].length&&d.length;)c=d.pop(),s=d.pop(),s[0].splice(c,1),s[1].splice(c,1);delete a[o]}},clear:function(){i=[[],[]],a=t(null)}}},Qx}var JC={},Zx,eO;function iS(){if(eO)return Zx;eO=1;var e=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r},t=function(r){var n=document.createTextNode(""),i,a,o=0;return new r(function(){var l;if(i)a&&(i=a.concat(i));else{if(!a)return;i=a}if(a=i,i=null,typeof a=="function"){l=a,a=null,l();return}for(n.data=o=++o%2;a;)l=a.shift(),a.length||(a=null),l()}).observe(n,{characterData:!0}),function(l){if(e(l),i){typeof i=="function"?i=[i,l]:i.push(l);return}i=l,n.data=o=++o%2}};return Zx=function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(r){queueMicrotask(e(r))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return t(MutationObserver);if(typeof WebKitMutationObserver=="function")return t(WebKitMutationObserver)}return typeof setImmediate=="function"?function(r){setImmediate(e(r))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(r){setTimeout(e(r),0)}:null}(),Zx}var tO;function WY(){if(tO)return JC;tO=1;var e=rg(),t=G2(),r=pP(),n=ym.exports,i=iS(),a=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;return Il.async=function(s,c){var d=l(null),y=l(null),g=c.memoized,m=c.original,E,M,b;c.memoized=n(function(w){var _=arguments,C=_[_.length-1];return typeof C=="function"&&(E=C,_=a.call(_,0,-1)),g.apply(M=this,b=_)},g);try{r(c.memoized,g)}catch{}c.on("get",function(w){var _,C,T;if(!!E){if(d[w]){typeof d[w]=="function"?d[w]=[d[w],E]:d[w].push(E),E=null;return}_=E,C=M,T=b,E=M=b=null,i(function(){var P;hasOwnProperty.call(y,w)?(P=y[w],c.emit("getasync",w,T,C),o.call(_,P.context,P.args)):(E=_,M=C,b=T,g.apply(C,T))})}}),c.original=function(){var w,_,C,T;return E?(w=e(arguments),_=function P(D){var Y,j,re=P.id;if(re==null){i(o.bind(P,this,arguments));return}if(delete P.id,Y=d[re],delete d[re],!!Y)return j=e(arguments),c.has(re)&&(D?c.delete(re):(y[re]={context:this,args:j},c.emit("setasync",re,typeof Y=="function"?1:Y.length))),typeof Y=="function"?T=o.call(Y,this,j):Y.forEach(function(Ee){T=o.call(Ee,this,j)},this),T},C=E,E=M=b=null,w.push(_),T=o.call(m,this,w),_.cb=C,E=_,T):o.call(m,this,arguments)},c.on("set",function(w){if(!E){c.delete(w);return}d[w]?typeof d[w]=="function"?d[w]=[d[w],E.cb]:d[w].push(E.cb):d[w]=E.cb,delete E.cb,E.id=w,E=null}),c.on("delete",function(w){var _;hasOwnProperty.call(d,w)||!y[w]||(_=y[w],delete y[w],c.emit("deleteasync",w,a.call(_.args,1)))}),c.on("clear",function(){var w=y;y=l(null),c.emit("clearasync",t(w,function(_){return a.call(_.args,1)}))})},JC}var rO={},Kx,nO;function HY(){if(nO)return Kx;nO=1;var e=Array.prototype.forEach,t=Object.create;return Kx=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},Kx}var Jx,iO;function yP(){return iO||(iO=1,Jx=function(e){return typeof e=="function"}),Jx}var eb,aO;function VY(){if(aO)return eb;aO=1;var e=yP();return eb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},eb}var tb,oO;function qY(){if(oO)return tb;oO=1;var e=qi,t=VY();return tb=function(r){return t(e(r))},tb}var rb,uO;function YY(){if(uO)return rb;uO=1;var e=yP();return rb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},rb}var nb,lO;function XY(){if(lO)return nb;lO=1;var e=YY(),t=/[\n\r\u2028\u2029]/g;return nb=function(r){var n=e(r);return n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),n},nb}var qv={exports:{}},sO;function xP(){if(sO)return qv.exports;sO=1,qv.exports=e,qv.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return qv.exports}var fO;function QY(){if(fO)return rO;fO=1;var e=G2(),t=HY(),r=qY(),n=XY(),i=xP(),a=iS(),o=Object.create,l=t("then","then:finally","done","done:finally");return Il.promise=function(s,c){var d=o(null),y=o(null),g=o(null);if(s===!0)s=null;else if(s=r(s),!l[s])throw new TypeError("'"+n(s)+"' is not valid promise mode");c.on("set",function(m,E,M){var b=!1;if(!i(M)){y[m]=M,c.emit("setasync",m,1);return}d[m]=1,g[m]=M;var w=function(P){var D=d[m];if(b)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
|
372
|
-
Consider to rely on 'then' or 'done' mode instead.`);!D||(delete d[m],y[m]=P,c.emit("setasync",m,D))},_=function(){b=!0,d[m]&&(delete d[m],delete g[m],c.delete(m))},C=s;if(C||(C="then"),C==="then"){var T=function(){a(_)};M=M.then(function(P){a(w.bind(this,P))},T),typeof M.finally=="function"&&M.finally(T)}else if(C==="done"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");M.done(w,_)}else if(C==="done:finally"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof M.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");M.done(w),M.finally(_)}}),c.on("get",function(m,E,M){var b;if(d[m]){++d[m];return}b=g[m];var w=function(){c.emit("getasync",m,E,M)};i(b)?typeof b.done=="function"?b.done(w):b.then(function(){a(w)}):w()}),c.on("delete",function(m){if(delete g[m],d[m]){delete d[m];return}if(!!hasOwnProperty.call(y,m)){var E=y[m];delete y[m],c.emit("deleteasync",m,[E])}}),c.on("clear",function(){var m=y;y=o(null),d=o(null),g=o(null),c.emit("clearasync",e(m,function(E){return[E]}))})},rO}var cO={},hO;function ZY(){if(hO)return cO;hO=1;var e=ba,t=ng,r=Il,n=Function.prototype.apply;return r.dispose=function(i,a,o){var l;if(e(i),o.async&&r.async||o.promise&&r.promise){a.on("deleteasync",l=function(s,c){n.call(i,null,c)}),a.on("clearasync",function(s){t(s,function(c,d){l(d,c)})});return}a.on("delete",l=function(s,c){i(c)}),a.on("clear",function(s){t(s,function(c,d){l(d,c)})})},cO}var dO={},ib,pO;function KY(){return pO||(pO=1,ib=2147483647),ib}var ab,vO;function JY(){if(vO)return ab;vO=1;var e=kl,t=KY();return ab=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},ab}var mO;function eX(){if(mO)return dO;mO=1;var e=rg(),t=ng,r=iS(),n=xP(),i=JY(),a=Il,o=Function.prototype,l=Math.max,s=Math.min,c=Object.create;return a.maxAge=function(d,y,g){var m,E,M,b;d=i(d),d&&(m=c(null),E=g.async&&a.async||g.promise&&a.promise?"async":"",y.on("set"+E,function(w){m[w]=setTimeout(function(){y.delete(w)},d),typeof m[w].unref=="function"&&m[w].unref(),b&&(b[w]&&b[w]!=="nextTick"&&clearTimeout(b[w]),b[w]=setTimeout(function(){delete b[w]},M),typeof b[w].unref=="function"&&b[w].unref())}),y.on("delete"+E,function(w){clearTimeout(m[w]),delete m[w],b&&(b[w]!=="nextTick"&&clearTimeout(b[w]),delete b[w])}),g.preFetch&&(g.preFetch===!0||isNaN(g.preFetch)?M=.333:M=l(s(Number(g.preFetch),1),0),M&&(b={},M=(1-M)*d,y.on("get"+E,function(w,_,C){b[w]||(b[w]="nextTick",r(function(){var T;b[w]==="nextTick"&&(delete b[w],y.delete(w),g.async&&(_=e(_),_.push(o)),T=y.memoized.apply(C,_),g.promise&&n(T)&&(typeof T.done=="function"?T.done(o,o):T.then(o,o)))}))}))),y.on("clear"+E,function(){t(m,function(w){clearTimeout(w)}),m={},b&&(t(b,function(w){w!=="nextTick"&&clearTimeout(w)}),b={})}))},dO}var gO={},ob,yO;function tX(){if(yO)return ob;yO=1;var e=kl,t=Object.create,r=Object.prototype.hasOwnProperty;return ob=function(n){var i=0,a=1,o=t(null),l=t(null),s=0,c;return n=e(n),{hit:function(d){var y=l[d],g=++s;if(o[g]=d,l[d]=g,!y)return++i,i<=n?void 0:(d=o[a],c(d),d);if(delete o[y],a===y)for(;!r.call(o,++a););},delete:c=function(d){var y=l[d];if(!!y&&(delete o[y],delete l[d],--i,a===y)){if(!i){s=0,a=1;return}for(;!r.call(o,++a););}},clear:function(){i=0,a=1,o=t(null),l=t(null),s=0}}},ob}var xO;function rX(){if(xO)return gO;xO=1;var e=kl,t=tX(),r=Il;return r.max=function(n,i,a){var o,l,s;n=e(n),n&&(l=t(n),o=a.async&&r.async||a.promise&&r.promise?"async":"",i.on("set"+o,s=function(c){c=l.hit(c),c!==void 0&&i.delete(c)}),i.on("get"+o,s),i.on("delete"+o,l.delete),i.on("clear"+o,l.clear))},gO}var bO={},wO;function nX(){if(wO)return bO;wO=1;var e=Mi.exports,t=Il,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,a,o){var l,s;l=r(null),s=o.async&&t.async||o.promise&&t.promise?"async":"",a.on("set"+s,function(c,d){l[c]=d||1}),a.on("get"+s,function(c){++l[c]}),a.on("delete"+s,function(c){delete l[c]}),a.on("clear"+s,function(){l={}}),n(a.memoized,{deleteRef:e(function(){var c=a.get(arguments);return c===null||!l[c]?null:--l[c]?!1:(a.delete(c),!0)}),getRefCount:e(function(){var c=a.get(arguments);return c===null||!l[c]?0:l[c]})})},bO}var iX=j2,aX=hP,oX=NY,Yte=function(e){var t=iX(arguments[1]),r;return t.normalizer||(r=t.length=aX(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=LY():r>1&&(t.normalizer=DY()(r)):r===!1?t.normalizer=UY()():r===1?t.normalizer=jY()():t.normalizer=GY()(r))),t.async&&WY(),t.promise&&QY(),t.dispose&&ZY(),t.maxAge&&eX(),t.max&&rX(),t.refCounter&&nX(),oX(e,t)},uX="Expected a function",_O=0/0,lX="[object Symbol]",sX=/^\s+|\s+$/g,fX=/^[-+]0x[0-9a-f]+$/i,cX=/^0b[01]+$/i,hX=/^0o[0-7]+$/i,dX=parseInt,pX=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,vX=typeof self=="object"&&self&&self.Object===Object&&self,mX=pX||vX||Function("return this")(),gX=Object.prototype,yX=gX.toString,xX=Math.max,bX=Math.min,ub=function(){return mX.Date.now()};function wX(e,t,r){var n,i,a,o,l,s,c=0,d=!1,y=!1,g=!0;if(typeof e!="function")throw new TypeError(uX);t=SO(t)||0,Ww(r)&&(d=!!r.leading,y="maxWait"in r,a=y?xX(SO(r.maxWait)||0,t):a,g="trailing"in r?!!r.trailing:g);function m(D){var Y=n,j=i;return n=i=void 0,c=D,o=e.apply(j,Y),o}function E(D){return c=D,l=setTimeout(w,t),d?m(D):o}function M(D){var Y=D-s,j=D-c,re=t-Y;return y?bX(re,a-j):re}function b(D){var Y=D-s,j=D-c;return s===void 0||Y>=t||Y<0||y&&j>=a}function w(){var D=ub();if(b(D))return _(D);l=setTimeout(w,M(D))}function _(D){return l=void 0,g&&n?m(D):(n=i=void 0,o)}function C(){l!==void 0&&clearTimeout(l),c=0,n=s=i=l=void 0}function T(){return l===void 0?o:_(ub())}function P(){var D=ub(),Y=b(D);if(n=arguments,i=this,s=D,Y){if(l===void 0)return E(s);if(y)return l=setTimeout(w,t),m(s)}return l===void 0&&(l=setTimeout(w,t)),o}return P.cancel=C,P.flush=T,P}function Ww(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function _X(e){return!!e&&typeof e=="object"}function SX(e){return typeof e=="symbol"||_X(e)&&yX.call(e)==lX}function SO(e){if(typeof e=="number")return e;if(SX(e))return _O;if(Ww(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ww(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(sX,"");var r=cX.test(e);return r||hX.test(e)?dX(e.slice(2),r?2:8):fX.test(e)?_O:+e}var Xte=wX,bP={exports:{}};/*!
|
|
373
|
-
Copyright (c) 2018 Jed Watson.
|
|
374
|
-
Licensed under the MIT License (MIT), see
|
|
375
|
-
http://jedwatson.github.io/classnames
|
|
376
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=r.apply(null,a);l&&n.push(l)}}else if(o==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var s in a)t.call(a,s)&&a[s]&&n.push(s)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(bP);const Qte=bP.exports;function ga(){return ga=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},ga.apply(this,arguments)}function xf(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Hw(e,t){return Hw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Hw(e,t)}function zd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hw(e,t)}function EX(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function AX(e,t){e.classList?e.classList.add(t):EX(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function EO(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function TX(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=EO(e.className,t):e.setAttribute("class",EO(e.className&&e.className.baseVal||"",t))}const AO={disabled:!1},wP=Tn.createContext(null);var _P=function(t){return t.scrollTop},Oh="unmounted",Yu="exited",Xu="entering",Rs="entered",Vw="exiting",io=function(e){zd(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,l=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?l?(s=Yu,a.appearStatus=Xu):s=Rs:n.unmountOnExit||n.mountOnEnter?s=Oh:s=Yu,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Oh?{status:Yu}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Xu&&o!==Rs&&(a=Xu):(o===Xu||o===Rs)&&(a=Vw)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,l;return a=o=l=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,l=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Xu){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Ah.findDOMNode(this);o&&_P(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yu&&this.setState({status:Oh})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,s=this.props.nodeRef?[l]:[Ah.findDOMNode(this),l],c=s[0],d=s[1],y=this.getTimeouts(),g=l?y.appear:y.enter;if(!i&&!o||AO.disabled){this.safeSetState({status:Rs},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Xu},function(){a.props.onEntering(c,d),a.onTransitionEnd(g,function(){a.safeSetState({status:Rs},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:Ah.findDOMNode(this);if(!a||AO.disabled){this.safeSetState({status:Yu},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Vw},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Yu},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(l){o&&(o=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Ah.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],d=s[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Oh)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=xf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ma(wP.Provider,{value:null,children:typeof o=="function"?o(i,l):Tn.cloneElement(Tn.Children.only(o),l)})},t}(Tn.Component);io.contextType=wP;io.propTypes={};function As(){}io.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:As,onEntering:As,onEntered:As,onExit:As,onExiting:As,onExited:As};io.UNMOUNTED=Oh;io.EXITED=Yu;io.ENTERING=Xu;io.ENTERED=Rs;io.EXITING=Vw;const CX=io;var OX=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return AX(t,n)})},lb=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return TX(t,n)})},aS=function(e){zd(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1];n.removeClasses(d,"exit"),n.addClass(d,y?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,s)},n.onEntering=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1],g=y?"appear":"enter";n.addClass(d,g,"active"),n.props.onEntering&&n.props.onEntering(l,s)},n.onEntered=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1],g=y?"appear":"enter";n.removeClasses(d,g),n.addClass(d,g,"done"),n.props.onEntered&&n.props.onEntered(l,s)},n.onExit=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var s=n.resolveArguments(l),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,s){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,s]},n.getClassNames=function(l){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",y=c?""+d+l:s[l],g=c?y+"-active":s[l+"Active"],m=c?y+"-done":s[l+"Done"];return{baseClassName:y,activeClassName:g,doneClassName:m}},n}var r=t.prototype;return r.addClass=function(i,a,o){var l=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(l+=" "+c),o==="active"&&i&&_P(i),l&&(this.appliedClasses[a][o]=l,OX(i,l))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],l=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},l&&lb(i,l),s&&lb(i,s),c&&lb(i,c)},r.render=function(){var i=this.props;i.classNames;var a=xf(i,["classNames"]);return ma(CX,{...a,onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited})},t}(Tn.Component);aS.defaultProps={classNames:""};aS.propTypes={};const Zte=aS;function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}/**!
|
|
377
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
378
|
-
* @version 1.16.1
|
|
379
|
-
* @license
|
|
380
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
381
|
-
*
|
|
382
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
383
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
384
|
-
* in the Software without restriction, including without limitation the rights
|
|
385
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
386
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
387
|
-
* furnished to do so, subject to the following conditions:
|
|
388
|
-
*
|
|
389
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
390
|
-
* copies or substantial portions of the Software.
|
|
391
|
-
*
|
|
392
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
393
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
394
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
395
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
396
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
397
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
398
|
-
* SOFTWARE.
|
|
399
|
-
*/var Ud=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",kX=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Ud&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function MX(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function IX(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},kX))}}var RX=Ud&&window.Promise,FX=RX?MX:IX;function SP(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Rl(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function oS(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function jd(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Rl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:jd(oS(e))}function EP(e){return e&&e.referenceNode?e.referenceNode:e}var TO=Ud&&!!(window.MSInputMethodContext&&document.documentMode),CO=Ud&&/MSIE 10/.test(navigator.userAgent);function Pf(e){return e===11?TO:e===10?CO:TO||CO}function bf(e){if(!e)return document.documentElement;for(var t=Pf(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Rl(r,"position")==="static"?bf(r):r}function PX(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||bf(e.firstElementChild)===e}function qw(e){return e.parentNode!==null?qw(e.parentNode):e}function xm(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,i=r?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var o=a.commonAncestorContainer;if(e!==o&&t!==o||n.contains(i))return PX(o)?o:bf(o);var l=qw(e);return l.host?xm(l.host,t):xm(e,qw(t).host)}function wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=t==="top"?"scrollTop":"scrollLeft",n=e.nodeName;if(n==="BODY"||n==="HTML"){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[r]}return e[r]}function NX(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=wf(t,"top"),i=wf(t,"left"),a=r?-1:1;return e.top+=n*a,e.bottom+=n*a,e.left+=i*a,e.right+=i*a,e}function OO(e,t){var r=t==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function kO(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Pf(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function AP(e){var t=e.body,r=e.documentElement,n=Pf(10)&&getComputedStyle(r);return{height:kO("Height",t,r,n),width:kO("Width",t,r,n)}}var LX=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},DX=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),_f=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},Ei=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};function ou(e){return Ei({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Yw(e){var t={};try{if(Pf(10)){t=e.getBoundingClientRect();var r=wf(e,"top"),n=wf(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch{}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a=e.nodeName==="HTML"?AP(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,l=a.height||e.clientHeight||i.height,s=e.offsetWidth-o,c=e.offsetHeight-l;if(s||c){var d=Rl(e);s-=OO(d,"x"),c-=OO(d,"y"),i.width-=s,i.height-=c}return ou(i)}function uS(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Pf(10),i=t.nodeName==="HTML",a=Yw(e),o=Yw(t),l=jd(e),s=Rl(t),c=parseFloat(s.borderTopWidth),d=parseFloat(s.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var y=ou({top:a.top-o.top-c,left:a.left-o.left-d,width:a.width,height:a.height});if(y.marginTop=0,y.marginLeft=0,!n&&i){var g=parseFloat(s.marginTop),m=parseFloat(s.marginLeft);y.top-=c-g,y.bottom-=c-g,y.left-=d-m,y.right-=d-m,y.marginTop=g,y.marginLeft=m}return(n&&!r?t.contains(l):t===l&&l.nodeName!=="BODY")&&(y=NX(y,t)),y}function $X(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=uS(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:wf(r),l=t?0:wf(r,"left"),s={top:o-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:i,height:a};return ou(s)}function TP(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Rl(e,"position")==="fixed")return!0;var r=oS(e);return r?TP(r):!1}function CP(e){if(!e||!e.parentElement||Pf())return document.documentElement;for(var t=e.parentElement;t&&Rl(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function lS(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?CP(e):xm(e,EP(t));if(n==="viewport")a=$X(o,i);else{var l=void 0;n==="scrollParent"?(l=jd(oS(t)),l.nodeName==="BODY"&&(l=e.ownerDocument.documentElement)):n==="window"?l=e.ownerDocument.documentElement:l=n;var s=uS(l,o,i);if(l.nodeName==="HTML"&&!TP(o)){var c=AP(e.ownerDocument),d=c.height,y=c.width;a.top+=s.top-s.marginTop,a.bottom=d+s.top,a.left+=s.left-s.marginLeft,a.right=y+s.left}else a=s}r=r||0;var g=typeof r=="number";return a.left+=g?r:r.left||0,a.top+=g?r:r.top||0,a.right-=g?r:r.right||0,a.bottom-=g?r:r.bottom||0,a}function BX(e){var t=e.width,r=e.height;return t*r}function OP(e,t,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var o=lS(r,n,a,i),l={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},s=Object.keys(l).map(function(g){return Ei({key:g},l[g],{area:BX(l[g])})}).sort(function(g,m){return m.area-g.area}),c=s.filter(function(g){var m=g.width,E=g.height;return m>=r.clientWidth&&E>=r.clientHeight}),d=c.length>0?c[0].key:s[0].key,y=e.split("-")[1];return d+(y?"-"+y:"")}function kP(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?CP(t):xm(t,EP(r));return uS(r,i,n)}function MP(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),a={width:e.offsetWidth+i,height:e.offsetHeight+n};return a}function bm(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return t[r]})}function IP(e,t,r){r=r.split("-")[0];var n=MP(e),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",l=a?"left":"top",s=a?"height":"width",c=a?"width":"height";return i[o]=t[o]+t[s]/2-n[s]/2,r===l?i[l]=t[l]-n[c]:i[l]=t[bm(l)],i}function Gd(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function zX(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=Gd(e,function(i){return i[t]===r});return e.indexOf(n)}function RP(e,t,r){var n=r===void 0?e:e.slice(0,zX(e,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&SP(a)&&(t.offsets.popper=ou(t.offsets.popper),t.offsets.reference=ou(t.offsets.reference),t=a(t,i))}),t}function UX(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=kP(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=OP(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=IP(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=RP(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function FP(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function sS(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],a=i?""+i+r:e;if(typeof document.body.style[a]<"u")return a}return null}function jX(){return this.state.isDestroyed=!0,FP(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[sS("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function PP(e){var t=e.ownerDocument;return t?t.defaultView:window}function NP(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||NP(jd(a.parentNode),t,r,n),n.push(a)}function GX(e,t,r,n){r.updateBound=n,PP(e).addEventListener("resize",r.updateBound,{passive:!0});var i=jd(e);return NP(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function WX(){this.state.eventsEnabled||(this.state=GX(this.reference,this.options,this.state,this.scheduleUpdate))}function HX(e,t){return PP(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(r){r.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function VX(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=HX(this.reference,this.state))}function fS(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function Xw(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&fS(t[r])&&(n="px"),e.style[r]=t[r]+n})}function qX(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function YX(e){return Xw(e.instance.popper,e.styles),qX(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Xw(e.arrowElement,e.arrowStyles),e}function XX(e,t,r,n,i){var a=kP(i,t,e,r.positionFixed),o=OP(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),Xw(t,{position:r.positionFixed?"fixed":"absolute"}),r}function QX(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=Math.round,o=Math.floor,l=function(w){return w},s=a(i.width),c=a(n.width),d=["left","right"].indexOf(e.placement)!==-1,y=e.placement.indexOf("-")!==-1,g=s%2===c%2,m=s%2===1&&c%2===1,E=t?d||y||g?a:o:l,M=t?a:l;return{left:E(m&&!y&&t?n.left-1:n.left),top:M(n.top),bottom:M(n.bottom),right:E(n.right)}}var ZX=Ud&&/Firefox/i.test(navigator.userAgent);function KX(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=Gd(e.instance.modifiers,function(C){return C.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=a!==void 0?a:t.gpuAcceleration,l=bf(e.instance.popper),s=Yw(l),c={position:i.position},d=QX(e,window.devicePixelRatio<2||!ZX),y=r==="bottom"?"top":"bottom",g=n==="right"?"left":"right",m=sS("transform"),E=void 0,M=void 0;if(y==="bottom"?l.nodeName==="HTML"?M=-l.clientHeight+d.bottom:M=-s.height+d.bottom:M=d.top,g==="right"?l.nodeName==="HTML"?E=-l.clientWidth+d.right:E=-s.width+d.right:E=d.left,o&&m)c[m]="translate3d("+E+"px, "+M+"px, 0)",c[y]=0,c[g]=0,c.willChange="transform";else{var b=y==="bottom"?-1:1,w=g==="right"?-1:1;c[y]=M*b,c[g]=E*w,c.willChange=y+", "+g}var _={"x-placement":e.placement};return e.attributes=Ei({},_,e.attributes),e.styles=Ei({},c,e.styles),e.arrowStyles=Ei({},e.offsets.arrow,e.arrowStyles),e}function LP(e,t,r){var n=Gd(e,function(l){var s=l.name;return s===t}),i=!!n&&e.some(function(l){return l.name===r&&l.enabled&&l.order<n.order});if(!i){var a="`"+t+"`",o="`"+r+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function JX(e,t){var r;if(!LP(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if(typeof n=="string"){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,o=a.popper,l=a.reference,s=["left","right"].indexOf(i)!==-1,c=s?"height":"width",d=s?"Top":"Left",y=d.toLowerCase(),g=s?"left":"top",m=s?"bottom":"right",E=MP(n)[c];l[m]-E<o[y]&&(e.offsets.popper[y]-=o[y]-(l[m]-E)),l[y]+E>o[m]&&(e.offsets.popper[y]+=l[y]+E-o[m]),e.offsets.popper=ou(e.offsets.popper);var M=l[y]+l[c]/2-E/2,b=Rl(e.instance.popper),w=parseFloat(b["margin"+d]),_=parseFloat(b["border"+d+"Width"]),C=M-e.offsets.popper[y]-w-_;return C=Math.max(Math.min(o[c]-E,C),0),e.arrowElement=n,e.offsets.arrow=(r={},_f(r,y,Math.round(C)),_f(r,g,""),r),e}function eQ(e){return e==="end"?"start":e==="start"?"end":e}var DP=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],sb=DP.slice(3);function MO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=sb.indexOf(e),n=sb.slice(r+1).concat(sb.slice(0,r));return t?n.reverse():n}var fb={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function tQ(e,t){if(FP(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=lS(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=bm(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case fb.FLIP:o=[n,i];break;case fb.CLOCKWISE:o=MO(n);break;case fb.COUNTERCLOCKWISE:o=MO(n,!0);break;default:o=t.behavior}return o.forEach(function(l,s){if(n!==l||o.length===s+1)return e;n=e.placement.split("-")[0],i=bm(n);var c=e.offsets.popper,d=e.offsets.reference,y=Math.floor,g=n==="left"&&y(c.right)>y(d.left)||n==="right"&&y(c.left)<y(d.right)||n==="top"&&y(c.bottom)>y(d.top)||n==="bottom"&&y(c.top)<y(d.bottom),m=y(c.left)<y(r.left),E=y(c.right)>y(r.right),M=y(c.top)<y(r.top),b=y(c.bottom)>y(r.bottom),w=n==="left"&&m||n==="right"&&E||n==="top"&&M||n==="bottom"&&b,_=["top","bottom"].indexOf(n)!==-1,C=!!t.flipVariations&&(_&&a==="start"&&m||_&&a==="end"&&E||!_&&a==="start"&&M||!_&&a==="end"&&b),T=!!t.flipVariationsByContent&&(_&&a==="start"&&E||_&&a==="end"&&m||!_&&a==="start"&&b||!_&&a==="end"&&M),P=C||T;(g||w||P)&&(e.flipped=!0,(g||w)&&(n=o[s+1]),P&&(a=eQ(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=Ei({},e.offsets.popper,IP(e.instance.popper,e.offsets.reference,e.placement)),e=RP(e.instance.modifiers,e,"flip"))}),e}function rQ(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,l=o?"right":"bottom",s=o?"left":"top",c=o?"width":"height";return r[l]<a(n[s])&&(e.offsets.popper[s]=a(n[s])-r[c]),r[s]>a(n[l])&&(e.offsets.popper[s]=a(n[l])),e}function nQ(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(o.indexOf("%")===0){var l=void 0;switch(o){case"%p":l=r;break;case"%":case"%r":default:l=n}var s=ou(l);return s[t]/100*a}else if(o==="vh"||o==="vw"){var c=void 0;return o==="vh"?c=Math.max(document.documentElement.clientHeight,window.innerHeight||0):c=Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}else return a}function iQ(e,t,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=e.split(/(\+|\-)/).map(function(d){return d.trim()}),l=o.indexOf(Gd(o,function(d){return d.search(/,|\s/)!==-1}));o[l]&&o[l].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=l!==-1?[o.slice(0,l).concat([o[l].split(s)[0]]),[o[l].split(s)[1]].concat(o.slice(l+1))]:[o];return c=c.map(function(d,y){var g=(y===1?!a:a)?"height":"width",m=!1;return d.reduce(function(E,M){return E[E.length-1]===""&&["+","-"].indexOf(M)!==-1?(E[E.length-1]=M,m=!0,E):m?(E[E.length-1]+=M,m=!1,E):E.concat(M)},[]).map(function(E){return nQ(E,g,t,r)})}),c.forEach(function(d,y){d.forEach(function(g,m){fS(g)&&(i[y]+=g*(d[m-1]==="-"?-1:1))})}),i}function aQ(e,t){var r=t.offset,n=e.placement,i=e.offsets,a=i.popper,o=i.reference,l=n.split("-")[0],s=void 0;return fS(+r)?s=[+r,0]:s=iQ(r,a,o,l),l==="left"?(a.top+=s[0],a.left-=s[1]):l==="right"?(a.top+=s[0],a.left+=s[1]):l==="top"?(a.left+=s[0],a.top-=s[1]):l==="bottom"&&(a.left+=s[0],a.top+=s[1]),e.popper=a,e}function oQ(e,t){var r=t.boundariesElement||bf(e.instance.popper);e.instance.reference===r&&(r=bf(r));var n=sS("transform"),i=e.instance.popper.style,a=i.top,o=i.left,l=i[n];i.top="",i.left="",i[n]="";var s=lS(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=l,t.boundaries=s;var c=t.priority,d=e.offsets.popper,y={primary:function(m){var E=d[m];return d[m]<s[m]&&!t.escapeWithReference&&(E=Math.max(d[m],s[m])),_f({},m,E)},secondary:function(m){var E=m==="right"?"left":"top",M=d[E];return d[m]>s[m]&&!t.escapeWithReference&&(M=Math.min(d[E],s[m]-(m==="right"?d.width:d.height))),_f({},E,M)}};return c.forEach(function(g){var m=["left","top"].indexOf(g)!==-1?"primary":"secondary";d=Ei({},d,y[m](g))}),e.offsets.popper=d,e}function uQ(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,a=i.reference,o=i.popper,l=["bottom","top"].indexOf(r)!==-1,s=l?"left":"top",c=l?"width":"height",d={start:_f({},s,a[s]),end:_f({},s,a[s]+a[c]-o[c])};e.offsets.popper=Ei({},o,d[n])}return e}function lQ(e){if(!LP(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=Gd(e.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function sQ(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,o=["left","right"].indexOf(r)!==-1,l=["top","left"].indexOf(r)===-1;return i[o?"left":"top"]=a[r]-(l?i[o?"width":"height"]:0),e.placement=bm(t),e.offsets.popper=ou(i),e}var fQ={shift:{order:100,enabled:!0,fn:uQ},offset:{order:200,enabled:!0,fn:aQ,offset:0},preventOverflow:{order:300,enabled:!0,fn:oQ,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:rQ},arrow:{order:500,enabled:!0,fn:JX,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:tQ,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:sQ},hide:{order:800,enabled:!0,fn:lQ},computeStyle:{order:850,enabled:!0,fn:KX,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:YX,onLoad:XX,gpuAcceleration:void 0}},cQ={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:fQ},mg=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};LX(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=FX(this.update.bind(this)),this.options=Ei({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(Ei({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=Ei({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Ei({name:o},n.options.modifiers[o])}).sort(function(o,l){return o.order-l.order}),this.modifiers.forEach(function(o){o.enabled&&SP(o.onLoad)&&o.onLoad(n.reference,n.popper,n.options,o,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return DX(e,[{key:"update",value:function(){return UX.call(this)}},{key:"destroy",value:function(){return jX.call(this)}},{key:"enableEventListeners",value:function(){return WX.call(this)}},{key:"disableEventListeners",value:function(){return VX.call(this)}}]),e}();mg.Utils=(typeof window<"u"?window:global).PopperUtils;mg.placements=DP;mg.Defaults=cQ;const Kte=mg;/*!
|
|
400
|
-
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
401
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
402
|
-
* Copyright 2022 Fonticons, Inc.
|
|
403
|
-
*/function IO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Nt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IO(Object(r),!0).forEach(function(n){pQ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function wm(e){return wm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wm(e)}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dQ(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function pQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cS(e,t){return mQ(e)||yQ(e,t)||$P(e,t)||bQ()}function gg(e){return vQ(e)||gQ(e)||$P(e)||xQ()}function vQ(e){if(Array.isArray(e))return Qw(e)}function mQ(e){if(Array.isArray(e))return e}function gQ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function $P(e,t){if(!!e){if(typeof e=="string")return Qw(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 Qw(e,t)}}function Qw(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 xQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
404
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
405
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var FO=function(){},hS={},BP={},zP=null,UP={mark:FO,measure:FO};try{typeof window<"u"&&(hS=window),typeof document<"u"&&(BP=document),typeof MutationObserver<"u"&&(zP=MutationObserver),typeof performance<"u"&&(UP=performance)}catch{}var wQ=hS.navigator||{},PO=wQ.userAgent,NO=PO===void 0?"":PO,uu=hS,Lr=BP,LO=zP,Xv=UP;uu.document;var ao=!!Lr.documentElement&&!!Lr.head&&typeof Lr.addEventListener=="function"&&typeof Lr.createElement=="function",jP=~NO.indexOf("MSIE")||~NO.indexOf("Trident/"),Qa="___FONT_AWESOME___",Zw=16,GP="fa",WP="svg-inline--fa",ml="data-fa-i2svg",Kw="data-fa-pseudo-element",_Q="data-fa-pseudo-element-pending",dS="data-prefix",pS="data-icon",DO="fontawesome-i2svg",SQ="async",EQ=["HTML","HEAD","STYLE","SCRIPT"],HP=function(){try{return!0}catch{return!1}}(),vS={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},_m={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},VP={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},AQ={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},TQ=/fa[srltdbk\-\ ]/,qP="fa-layers-text",CQ=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,OQ={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},YP=[1,2,3,4,5,6,7,8,9,10],kQ=YP.concat([11,12,13,14,15,16,17,18,19,20]),MQ=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],nl={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},IQ=[].concat(gg(Object.keys(_m)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",nl.GROUP,nl.SWAP_OPACITY,nl.PRIMARY,nl.SECONDARY]).concat(YP.map(function(e){return"".concat(e,"x")})).concat(kQ.map(function(e){return"w-".concat(e)})),XP=uu.FontAwesomeConfig||{};function RQ(e){var t=Lr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function FQ(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Lr&&typeof Lr.querySelector=="function"){var PQ=[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];PQ.forEach(function(e){var t=cS(e,2),r=t[0],n=t[1],i=FQ(RQ(r));i!=null&&(XP[n]=i)})}var NQ={familyPrefix:GP,styleDefault:"solid",replacementClass:WP,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Qh=Nt(Nt({},NQ),XP);Qh.autoReplaceSvg||(Qh.observeMutations=!1);var Xt={};Object.keys(Qh).forEach(function(e){Object.defineProperty(Xt,e,{enumerable:!0,set:function(r){Qh[e]=r,y0.forEach(function(n){return n(Xt)})},get:function(){return Qh[e]}})});uu.FontAwesomeConfig=Xt;var y0=[];function LQ(e){return y0.push(e),function(){y0.splice(y0.indexOf(e),1)}}var Io=Zw,ca={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function DQ(e){if(!(!e||!ao)){var t=Lr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Lr.head.childNodes,n=null,i=r.length-1;i>-1;i--){var a=r[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(n=a)}return Lr.head.insertBefore(t,n),e}}var $Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Sd(){for(var e=12,t="";e-- >0;)t+=$Q[Math.random()*62|0];return t}function Nf(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function mS(e){return e.classList?Nf(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function QP(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function BQ(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(QP(e[r]),'" ')},"").trim()}function yg(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function gS(e){return e.size!==ca.size||e.x!==ca.x||e.y!==ca.y||e.rotate!==ca.rotate||e.flipX||e.flipY}function zQ(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(l)},c={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:s,path:c}}function UQ(e){var t=e.transform,r=e.width,n=r===void 0?Zw:r,i=e.height,a=i===void 0?Zw:i,o=e.startCentered,l=o===void 0?!1:o,s="";return l&&jP?s+="translate(".concat(t.x/Io-n/2,"em, ").concat(t.y/Io-a/2,"em) "):l?s+="translate(calc(-50% + ".concat(t.x/Io,"em), calc(-50% + ").concat(t.y/Io,"em)) "):s+="translate(".concat(t.x/Io,"em, ").concat(t.y/Io,"em) "),s+="scale(".concat(t.size/Io*(t.flipX?-1:1),", ").concat(t.size/Io*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var jQ=`:root, :host {
|
|
406
|
-
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
407
|
-
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
408
|
-
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
409
|
-
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
|
410
|
-
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
411
|
-
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
415
|
-
overflow: visible;
|
|
416
|
-
box-sizing: content-box;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.svg-inline--fa {
|
|
420
|
-
display: var(--fa-display, inline-block);
|
|
421
|
-
height: 1em;
|
|
422
|
-
overflow: visible;
|
|
423
|
-
vertical-align: -0.125em;
|
|
424
|
-
}
|
|
425
|
-
.svg-inline--fa.fa-2xs {
|
|
426
|
-
vertical-align: 0.1em;
|
|
427
|
-
}
|
|
428
|
-
.svg-inline--fa.fa-xs {
|
|
429
|
-
vertical-align: 0em;
|
|
430
|
-
}
|
|
431
|
-
.svg-inline--fa.fa-sm {
|
|
432
|
-
vertical-align: -0.0714285705em;
|
|
433
|
-
}
|
|
434
|
-
.svg-inline--fa.fa-lg {
|
|
435
|
-
vertical-align: -0.2em;
|
|
436
|
-
}
|
|
437
|
-
.svg-inline--fa.fa-xl {
|
|
438
|
-
vertical-align: -0.25em;
|
|
439
|
-
}
|
|
440
|
-
.svg-inline--fa.fa-2xl {
|
|
441
|
-
vertical-align: -0.3125em;
|
|
442
|
-
}
|
|
443
|
-
.svg-inline--fa.fa-pull-left {
|
|
444
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
445
|
-
width: auto;
|
|
446
|
-
}
|
|
447
|
-
.svg-inline--fa.fa-pull-right {
|
|
448
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
449
|
-
width: auto;
|
|
450
|
-
}
|
|
451
|
-
.svg-inline--fa.fa-li {
|
|
452
|
-
width: var(--fa-li-width, 2em);
|
|
453
|
-
top: 0.25em;
|
|
454
|
-
}
|
|
455
|
-
.svg-inline--fa.fa-fw {
|
|
456
|
-
width: var(--fa-fw-width, 1.25em);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.fa-layers svg.svg-inline--fa {
|
|
460
|
-
bottom: 0;
|
|
461
|
-
left: 0;
|
|
462
|
-
margin: auto;
|
|
463
|
-
position: absolute;
|
|
464
|
-
right: 0;
|
|
465
|
-
top: 0;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.fa-layers-counter, .fa-layers-text {
|
|
469
|
-
display: inline-block;
|
|
470
|
-
position: absolute;
|
|
471
|
-
text-align: center;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.fa-layers {
|
|
475
|
-
display: inline-block;
|
|
476
|
-
height: 1em;
|
|
477
|
-
position: relative;
|
|
478
|
-
text-align: center;
|
|
479
|
-
vertical-align: -0.125em;
|
|
480
|
-
width: 1em;
|
|
481
|
-
}
|
|
482
|
-
.fa-layers svg.svg-inline--fa {
|
|
483
|
-
-webkit-transform-origin: center center;
|
|
484
|
-
transform-origin: center center;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.fa-layers-text {
|
|
488
|
-
left: 50%;
|
|
489
|
-
top: 50%;
|
|
490
|
-
-webkit-transform: translate(-50%, -50%);
|
|
491
|
-
transform: translate(-50%, -50%);
|
|
492
|
-
-webkit-transform-origin: center center;
|
|
493
|
-
transform-origin: center center;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.fa-layers-counter {
|
|
497
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
498
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
499
|
-
box-sizing: border-box;
|
|
500
|
-
color: var(--fa-inverse, #fff);
|
|
501
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
502
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
503
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
504
|
-
overflow: hidden;
|
|
505
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
506
|
-
right: var(--fa-right, 0);
|
|
507
|
-
text-overflow: ellipsis;
|
|
508
|
-
top: var(--fa-top, 0);
|
|
509
|
-
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
|
510
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
511
|
-
-webkit-transform-origin: top right;
|
|
512
|
-
transform-origin: top right;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
.fa-layers-bottom-right {
|
|
516
|
-
bottom: var(--fa-bottom, 0);
|
|
517
|
-
right: var(--fa-right, 0);
|
|
518
|
-
top: auto;
|
|
519
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
520
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
521
|
-
-webkit-transform-origin: bottom right;
|
|
522
|
-
transform-origin: bottom right;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.fa-layers-bottom-left {
|
|
526
|
-
bottom: var(--fa-bottom, 0);
|
|
527
|
-
left: var(--fa-left, 0);
|
|
528
|
-
right: auto;
|
|
529
|
-
top: auto;
|
|
530
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
531
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
532
|
-
-webkit-transform-origin: bottom left;
|
|
533
|
-
transform-origin: bottom left;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.fa-layers-top-right {
|
|
537
|
-
top: var(--fa-top, 0);
|
|
538
|
-
right: var(--fa-right, 0);
|
|
539
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
540
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
541
|
-
-webkit-transform-origin: top right;
|
|
542
|
-
transform-origin: top right;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
.fa-layers-top-left {
|
|
546
|
-
left: var(--fa-left, 0);
|
|
547
|
-
right: auto;
|
|
548
|
-
top: var(--fa-top, 0);
|
|
549
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
550
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
551
|
-
-webkit-transform-origin: top left;
|
|
552
|
-
transform-origin: top left;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.fa-1x {
|
|
556
|
-
font-size: 1em;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.fa-2x {
|
|
560
|
-
font-size: 2em;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.fa-3x {
|
|
564
|
-
font-size: 3em;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.fa-4x {
|
|
568
|
-
font-size: 4em;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.fa-5x {
|
|
572
|
-
font-size: 5em;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.fa-6x {
|
|
576
|
-
font-size: 6em;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.fa-7x {
|
|
580
|
-
font-size: 7em;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.fa-8x {
|
|
584
|
-
font-size: 8em;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
.fa-9x {
|
|
588
|
-
font-size: 9em;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
.fa-10x {
|
|
592
|
-
font-size: 10em;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
.fa-2xs {
|
|
596
|
-
font-size: 0.625em;
|
|
597
|
-
line-height: 0.1em;
|
|
598
|
-
vertical-align: 0.225em;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.fa-xs {
|
|
602
|
-
font-size: 0.75em;
|
|
603
|
-
line-height: 0.0833333337em;
|
|
604
|
-
vertical-align: 0.125em;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.fa-sm {
|
|
608
|
-
font-size: 0.875em;
|
|
609
|
-
line-height: 0.0714285718em;
|
|
610
|
-
vertical-align: 0.0535714295em;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.fa-lg {
|
|
614
|
-
font-size: 1.25em;
|
|
615
|
-
line-height: 0.05em;
|
|
616
|
-
vertical-align: -0.075em;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
.fa-xl {
|
|
620
|
-
font-size: 1.5em;
|
|
621
|
-
line-height: 0.0416666682em;
|
|
622
|
-
vertical-align: -0.125em;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.fa-2xl {
|
|
626
|
-
font-size: 2em;
|
|
627
|
-
line-height: 0.03125em;
|
|
628
|
-
vertical-align: -0.1875em;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.fa-fw {
|
|
632
|
-
text-align: center;
|
|
633
|
-
width: 1.25em;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.fa-ul {
|
|
637
|
-
list-style-type: none;
|
|
638
|
-
margin-left: var(--fa-li-margin, 2.5em);
|
|
639
|
-
padding-left: 0;
|
|
640
|
-
}
|
|
641
|
-
.fa-ul > li {
|
|
642
|
-
position: relative;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.fa-li {
|
|
646
|
-
left: calc(var(--fa-li-width, 2em) * -1);
|
|
647
|
-
position: absolute;
|
|
648
|
-
text-align: center;
|
|
649
|
-
width: var(--fa-li-width, 2em);
|
|
650
|
-
line-height: inherit;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
.fa-border {
|
|
654
|
-
border-color: var(--fa-border-color, #eee);
|
|
655
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
656
|
-
border-style: var(--fa-border-style, solid);
|
|
657
|
-
border-width: var(--fa-border-width, 0.08em);
|
|
658
|
-
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.fa-pull-left {
|
|
662
|
-
float: left;
|
|
663
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.fa-pull-right {
|
|
667
|
-
float: right;
|
|
668
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
.fa-beat {
|
|
672
|
-
-webkit-animation-name: fa-beat;
|
|
673
|
-
animation-name: fa-beat;
|
|
674
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
675
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
676
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
677
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
678
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
679
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
680
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
681
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
682
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
683
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.fa-bounce {
|
|
687
|
-
-webkit-animation-name: fa-bounce;
|
|
688
|
-
animation-name: fa-bounce;
|
|
689
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
690
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
691
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
692
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
693
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
694
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
695
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
696
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
697
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
698
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.fa-fade {
|
|
702
|
-
-webkit-animation-name: fa-fade;
|
|
703
|
-
animation-name: fa-fade;
|
|
704
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
705
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
706
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
707
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
708
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
709
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
710
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
711
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
712
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
713
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.fa-beat-fade {
|
|
717
|
-
-webkit-animation-name: fa-beat-fade;
|
|
718
|
-
animation-name: fa-beat-fade;
|
|
719
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
720
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
721
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
722
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
723
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
724
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
725
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
726
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
727
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
728
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.fa-flip {
|
|
732
|
-
-webkit-animation-name: fa-flip;
|
|
733
|
-
animation-name: fa-flip;
|
|
734
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
735
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
736
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
737
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
738
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
739
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
740
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
741
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
742
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
743
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
.fa-shake {
|
|
747
|
-
-webkit-animation-name: fa-shake;
|
|
748
|
-
animation-name: fa-shake;
|
|
749
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
750
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
751
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
752
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
753
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
754
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
755
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
756
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
757
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
758
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.fa-spin {
|
|
762
|
-
-webkit-animation-name: fa-spin;
|
|
763
|
-
animation-name: fa-spin;
|
|
764
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
765
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
766
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
767
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
768
|
-
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
|
769
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
770
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
771
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
772
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
773
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
.fa-spin-reverse {
|
|
777
|
-
--fa-animation-direction: reverse;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
.fa-pulse,
|
|
781
|
-
.fa-spin-pulse {
|
|
782
|
-
-webkit-animation-name: fa-spin;
|
|
783
|
-
animation-name: fa-spin;
|
|
784
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
785
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
786
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
787
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
788
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
789
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
790
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
791
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
@media (prefers-reduced-motion: reduce) {
|
|
795
|
-
.fa-beat,
|
|
796
|
-
.fa-bounce,
|
|
797
|
-
.fa-fade,
|
|
798
|
-
.fa-beat-fade,
|
|
799
|
-
.fa-flip,
|
|
800
|
-
.fa-pulse,
|
|
801
|
-
.fa-shake,
|
|
802
|
-
.fa-spin,
|
|
803
|
-
.fa-spin-pulse {
|
|
804
|
-
-webkit-animation-delay: -1ms;
|
|
805
|
-
animation-delay: -1ms;
|
|
806
|
-
-webkit-animation-duration: 1ms;
|
|
807
|
-
animation-duration: 1ms;
|
|
808
|
-
-webkit-animation-iteration-count: 1;
|
|
809
|
-
animation-iteration-count: 1;
|
|
810
|
-
transition-delay: 0s;
|
|
811
|
-
transition-duration: 0s;
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
@-webkit-keyframes fa-beat {
|
|
815
|
-
0%, 90% {
|
|
816
|
-
-webkit-transform: scale(1);
|
|
817
|
-
transform: scale(1);
|
|
818
|
-
}
|
|
819
|
-
45% {
|
|
820
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
821
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
@keyframes fa-beat {
|
|
825
|
-
0%, 90% {
|
|
826
|
-
-webkit-transform: scale(1);
|
|
827
|
-
transform: scale(1);
|
|
828
|
-
}
|
|
829
|
-
45% {
|
|
830
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
831
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
@-webkit-keyframes fa-bounce {
|
|
835
|
-
0% {
|
|
836
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
837
|
-
transform: scale(1, 1) translateY(0);
|
|
838
|
-
}
|
|
839
|
-
10% {
|
|
840
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
841
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
842
|
-
}
|
|
843
|
-
30% {
|
|
844
|
-
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
845
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
846
|
-
}
|
|
847
|
-
50% {
|
|
848
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
849
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
850
|
-
}
|
|
851
|
-
57% {
|
|
852
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
853
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
854
|
-
}
|
|
855
|
-
64% {
|
|
856
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
857
|
-
transform: scale(1, 1) translateY(0);
|
|
858
|
-
}
|
|
859
|
-
100% {
|
|
860
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
861
|
-
transform: scale(1, 1) translateY(0);
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
@keyframes fa-bounce {
|
|
865
|
-
0% {
|
|
866
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
867
|
-
transform: scale(1, 1) translateY(0);
|
|
868
|
-
}
|
|
869
|
-
10% {
|
|
870
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
871
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
872
|
-
}
|
|
873
|
-
30% {
|
|
874
|
-
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
875
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
876
|
-
}
|
|
877
|
-
50% {
|
|
878
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
879
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
880
|
-
}
|
|
881
|
-
57% {
|
|
882
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
883
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
884
|
-
}
|
|
885
|
-
64% {
|
|
886
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
887
|
-
transform: scale(1, 1) translateY(0);
|
|
888
|
-
}
|
|
889
|
-
100% {
|
|
890
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
891
|
-
transform: scale(1, 1) translateY(0);
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
@-webkit-keyframes fa-fade {
|
|
895
|
-
50% {
|
|
896
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
@keyframes fa-fade {
|
|
900
|
-
50% {
|
|
901
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
@-webkit-keyframes fa-beat-fade {
|
|
905
|
-
0%, 100% {
|
|
906
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
907
|
-
-webkit-transform: scale(1);
|
|
908
|
-
transform: scale(1);
|
|
909
|
-
}
|
|
910
|
-
50% {
|
|
911
|
-
opacity: 1;
|
|
912
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
913
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
@keyframes fa-beat-fade {
|
|
917
|
-
0%, 100% {
|
|
918
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
919
|
-
-webkit-transform: scale(1);
|
|
920
|
-
transform: scale(1);
|
|
921
|
-
}
|
|
922
|
-
50% {
|
|
923
|
-
opacity: 1;
|
|
924
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
925
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
@-webkit-keyframes fa-flip {
|
|
929
|
-
50% {
|
|
930
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
931
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
@keyframes fa-flip {
|
|
935
|
-
50% {
|
|
936
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
937
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
@-webkit-keyframes fa-shake {
|
|
941
|
-
0% {
|
|
942
|
-
-webkit-transform: rotate(-15deg);
|
|
943
|
-
transform: rotate(-15deg);
|
|
944
|
-
}
|
|
945
|
-
4% {
|
|
946
|
-
-webkit-transform: rotate(15deg);
|
|
947
|
-
transform: rotate(15deg);
|
|
948
|
-
}
|
|
949
|
-
8%, 24% {
|
|
950
|
-
-webkit-transform: rotate(-18deg);
|
|
951
|
-
transform: rotate(-18deg);
|
|
952
|
-
}
|
|
953
|
-
12%, 28% {
|
|
954
|
-
-webkit-transform: rotate(18deg);
|
|
955
|
-
transform: rotate(18deg);
|
|
956
|
-
}
|
|
957
|
-
16% {
|
|
958
|
-
-webkit-transform: rotate(-22deg);
|
|
959
|
-
transform: rotate(-22deg);
|
|
960
|
-
}
|
|
961
|
-
20% {
|
|
962
|
-
-webkit-transform: rotate(22deg);
|
|
963
|
-
transform: rotate(22deg);
|
|
964
|
-
}
|
|
965
|
-
32% {
|
|
966
|
-
-webkit-transform: rotate(-12deg);
|
|
967
|
-
transform: rotate(-12deg);
|
|
968
|
-
}
|
|
969
|
-
36% {
|
|
970
|
-
-webkit-transform: rotate(12deg);
|
|
971
|
-
transform: rotate(12deg);
|
|
972
|
-
}
|
|
973
|
-
40%, 100% {
|
|
974
|
-
-webkit-transform: rotate(0deg);
|
|
975
|
-
transform: rotate(0deg);
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
@keyframes fa-shake {
|
|
979
|
-
0% {
|
|
980
|
-
-webkit-transform: rotate(-15deg);
|
|
981
|
-
transform: rotate(-15deg);
|
|
982
|
-
}
|
|
983
|
-
4% {
|
|
984
|
-
-webkit-transform: rotate(15deg);
|
|
985
|
-
transform: rotate(15deg);
|
|
986
|
-
}
|
|
987
|
-
8%, 24% {
|
|
988
|
-
-webkit-transform: rotate(-18deg);
|
|
989
|
-
transform: rotate(-18deg);
|
|
990
|
-
}
|
|
991
|
-
12%, 28% {
|
|
992
|
-
-webkit-transform: rotate(18deg);
|
|
993
|
-
transform: rotate(18deg);
|
|
994
|
-
}
|
|
995
|
-
16% {
|
|
996
|
-
-webkit-transform: rotate(-22deg);
|
|
997
|
-
transform: rotate(-22deg);
|
|
998
|
-
}
|
|
999
|
-
20% {
|
|
1000
|
-
-webkit-transform: rotate(22deg);
|
|
1001
|
-
transform: rotate(22deg);
|
|
1002
|
-
}
|
|
1003
|
-
32% {
|
|
1004
|
-
-webkit-transform: rotate(-12deg);
|
|
1005
|
-
transform: rotate(-12deg);
|
|
1006
|
-
}
|
|
1007
|
-
36% {
|
|
1008
|
-
-webkit-transform: rotate(12deg);
|
|
1009
|
-
transform: rotate(12deg);
|
|
1010
|
-
}
|
|
1011
|
-
40%, 100% {
|
|
1012
|
-
-webkit-transform: rotate(0deg);
|
|
1013
|
-
transform: rotate(0deg);
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
@-webkit-keyframes fa-spin {
|
|
1017
|
-
0% {
|
|
1018
|
-
-webkit-transform: rotate(0deg);
|
|
1019
|
-
transform: rotate(0deg);
|
|
1020
|
-
}
|
|
1021
|
-
100% {
|
|
1022
|
-
-webkit-transform: rotate(360deg);
|
|
1023
|
-
transform: rotate(360deg);
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
@keyframes fa-spin {
|
|
1027
|
-
0% {
|
|
1028
|
-
-webkit-transform: rotate(0deg);
|
|
1029
|
-
transform: rotate(0deg);
|
|
1030
|
-
}
|
|
1031
|
-
100% {
|
|
1032
|
-
-webkit-transform: rotate(360deg);
|
|
1033
|
-
transform: rotate(360deg);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
.fa-rotate-90 {
|
|
1037
|
-
-webkit-transform: rotate(90deg);
|
|
1038
|
-
transform: rotate(90deg);
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
.fa-rotate-180 {
|
|
1042
|
-
-webkit-transform: rotate(180deg);
|
|
1043
|
-
transform: rotate(180deg);
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
.fa-rotate-270 {
|
|
1047
|
-
-webkit-transform: rotate(270deg);
|
|
1048
|
-
transform: rotate(270deg);
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.fa-flip-horizontal {
|
|
1052
|
-
-webkit-transform: scale(-1, 1);
|
|
1053
|
-
transform: scale(-1, 1);
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
.fa-flip-vertical {
|
|
1057
|
-
-webkit-transform: scale(1, -1);
|
|
1058
|
-
transform: scale(1, -1);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
.fa-flip-both,
|
|
1062
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
1063
|
-
-webkit-transform: scale(-1, -1);
|
|
1064
|
-
transform: scale(-1, -1);
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
.fa-rotate-by {
|
|
1068
|
-
-webkit-transform: rotate(var(--fa-rotate-angle, none));
|
|
1069
|
-
transform: rotate(var(--fa-rotate-angle, none));
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
.fa-stack {
|
|
1073
|
-
display: inline-block;
|
|
1074
|
-
vertical-align: middle;
|
|
1075
|
-
height: 2em;
|
|
1076
|
-
position: relative;
|
|
1077
|
-
width: 2.5em;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
.fa-stack-1x,
|
|
1081
|
-
.fa-stack-2x {
|
|
1082
|
-
bottom: 0;
|
|
1083
|
-
left: 0;
|
|
1084
|
-
margin: auto;
|
|
1085
|
-
position: absolute;
|
|
1086
|
-
right: 0;
|
|
1087
|
-
top: 0;
|
|
1088
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
.svg-inline--fa.fa-stack-1x {
|
|
1092
|
-
height: 1em;
|
|
1093
|
-
width: 1.25em;
|
|
1094
|
-
}
|
|
1095
|
-
.svg-inline--fa.fa-stack-2x {
|
|
1096
|
-
height: 2em;
|
|
1097
|
-
width: 2.5em;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
.fa-inverse {
|
|
1101
|
-
color: var(--fa-inverse, #fff);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
.sr-only,
|
|
1105
|
-
.fa-sr-only {
|
|
1106
|
-
position: absolute;
|
|
1107
|
-
width: 1px;
|
|
1108
|
-
height: 1px;
|
|
1109
|
-
padding: 0;
|
|
1110
|
-
margin: -1px;
|
|
1111
|
-
overflow: hidden;
|
|
1112
|
-
clip: rect(0, 0, 0, 0);
|
|
1113
|
-
white-space: nowrap;
|
|
1114
|
-
border-width: 0;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
.sr-only-focusable:not(:focus),
|
|
1118
|
-
.fa-sr-only-focusable:not(:focus) {
|
|
1119
|
-
position: absolute;
|
|
1120
|
-
width: 1px;
|
|
1121
|
-
height: 1px;
|
|
1122
|
-
padding: 0;
|
|
1123
|
-
margin: -1px;
|
|
1124
|
-
overflow: hidden;
|
|
1125
|
-
clip: rect(0, 0, 0, 0);
|
|
1126
|
-
white-space: nowrap;
|
|
1127
|
-
border-width: 0;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
.svg-inline--fa .fa-primary {
|
|
1131
|
-
fill: var(--fa-primary-color, currentColor);
|
|
1132
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
.svg-inline--fa .fa-secondary {
|
|
1136
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
1137
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1141
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1145
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
.svg-inline--fa mask .fa-primary,
|
|
1149
|
-
.svg-inline--fa mask .fa-secondary {
|
|
1150
|
-
fill: black;
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
.fad.fa-inverse,
|
|
1154
|
-
.fa-duotone.fa-inverse {
|
|
1155
|
-
color: var(--fa-inverse, #fff);
|
|
1156
|
-
}`;function ZP(){var e=GP,t=WP,r=Xt.familyPrefix,n=Xt.replacementClass,i=jQ;if(r!==e||n!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(l,".".concat(n))}return i}var $O=!1;function cb(){Xt.autoAddCss&&!$O&&(DQ(ZP()),$O=!0)}var GQ={mixout:function(){return{dom:{css:ZP,insertCss:cb}}},hooks:function(){return{beforeDOMElementCreation:function(){cb()},beforeI2svg:function(){cb()}}}},Za=uu||{};Za[Qa]||(Za[Qa]={});Za[Qa].styles||(Za[Qa].styles={});Za[Qa].hooks||(Za[Qa].hooks={});Za[Qa].shims||(Za[Qa].shims=[]);var Hi=Za[Qa],KP=[],WQ=function e(){Lr.removeEventListener("DOMContentLoaded",e),Sm=1,KP.map(function(t){return t()})},Sm=!1;ao&&(Sm=(Lr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Lr.readyState),Sm||Lr.addEventListener("DOMContentLoaded",WQ));function HQ(e){!ao||(Sm?setTimeout(e,0):KP.push(e))}function Wd(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?QP(e):"<".concat(t," ").concat(BQ(n),">").concat(a.map(Wd).join(""),"</").concat(t,">")}function BO(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var VQ=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},hb=function(t,r,n,i){var a=Object.keys(t),o=a.length,l=i!==void 0?VQ(r,i):r,s,c,d;for(n===void 0?(s=1,d=t[a[0]]):(s=0,d=n);s<o;s++)c=a[s],d=l(d,t[c],c,t);return d};function qQ(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),r--)}else t.push(i)}return t}function Jw(e){var t=qQ(e);return t.length===1?t[0].toString(16):null}function YQ(e,t){var r=e.length,n=e.charCodeAt(t),i;return n>=55296&&n<=56319&&r>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(n-55296)*1024+i-56320+65536:n}function zO(e){return Object.keys(e).reduce(function(t,r){var n=e[r],i=!!n.icon;return i?t[n.iconName]=n.icon:t[r]=n,t},{})}function e_(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,a=zO(t);typeof Hi.hooks.addPack=="function"&&!i?Hi.hooks.addPack(e,zO(t)):Hi.styles[e]=Nt(Nt({},Hi.styles[e]||{}),a),e==="fas"&&e_("fa",t)}var Zh=Hi.styles,XQ=Hi.shims,QQ=Object.values(VP),yS=null,JP={},e4={},t4={},r4={},n4={},ZQ=Object.keys(vS);function KQ(e){return~IQ.indexOf(e)}function JQ(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!KQ(i)?i:null}var i4=function(){var t=function(a){return hb(Zh,function(o,l,s){return o[s]=hb(l,a,{}),o},{})};JP=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var l=a[2].filter(function(s){return typeof s=="number"});l.forEach(function(s){i[s.toString(16)]=o})}return i}),e4=t(function(i,a,o){if(i[o]=o,a[2]){var l=a[2].filter(function(s){return typeof s=="string"});l.forEach(function(s){i[s]=o})}return i}),n4=t(function(i,a,o){var l=a[2];return i[o]=o,l.forEach(function(s){i[s]=o}),i});var r="far"in Zh||Xt.autoFetchSvg,n=hb(XQ,function(i,a){var o=a[0],l=a[1],s=a[2];return l==="far"&&!r&&(l="fas"),typeof o=="string"&&(i.names[o]={prefix:l,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:l,iconName:s}),i},{names:{},unicodes:{}});t4=n.names,r4=n.unicodes,yS=xg(Xt.styleDefault)};LQ(function(e){yS=xg(e.styleDefault)});i4();function xS(e,t){return(JP[e]||{})[t]}function eZ(e,t){return(e4[e]||{})[t]}function zs(e,t){return(n4[e]||{})[t]}function a4(e){return t4[e]||{prefix:null,iconName:null}}function tZ(e){var t=r4[e],r=xS("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function lu(){return yS}var bS=function(){return{prefix:null,iconName:null,rest:[]}};function xg(e){var t=vS[e],r=_m[e]||_m[t],n=e in Hi.styles?e:null;return r||n||null}function bg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,i=null,a=e.reduce(function(o,l){var s=JQ(Xt.familyPrefix,l);if(Zh[l]?(l=QQ.includes(l)?AQ[l]:l,i=l,o.prefix=l):ZQ.indexOf(l)>-1?(i=l,o.prefix=xg(l)):s?o.iconName=s:l!==Xt.replacementClass&&o.rest.push(l),!n&&o.prefix&&o.iconName){var c=i==="fa"?a4(o.iconName):{},d=zs(o.prefix,o.iconName);c.prefix&&(i=null),o.iconName=c.iconName||d||o.iconName,o.prefix=c.prefix||o.prefix,o.prefix==="far"&&!Zh.far&&Zh.fas&&!Xt.autoFetchSvg&&(o.prefix="fas")}return o},bS());return(a.prefix==="fa"||i==="fa")&&(a.prefix=lu()||"fas"),a}var rZ=function(){function e(){hQ(this,e),this.definitions={}}return dQ(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(l){r.definitions[l]=Nt(Nt({},r.definitions[l]||{}),o[l]),e_(l,o[l]);var s=VP[l];s&&e_(s,o[l]),i4()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(function(a){var o=i[a],l=o.prefix,s=o.iconName,c=o.icon,d=c[2];r[l]||(r[l]={}),d.length>0&&d.forEach(function(y){typeof y=="string"&&(r[l][y]=c)}),r[l][s]=c}),r}}]),e}(),UO=[],Us={},of={},nZ=Object.keys(of);function iZ(e,t){var r=t.mixoutsTo;return UO=e,Us={},Object.keys(of).forEach(function(n){nZ.indexOf(n)===-1&&delete of[n]}),UO.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),wm(i[o])==="object"&&Object.keys(i[o]).forEach(function(l){r[o]||(r[o]={}),r[o][l]=i[o][l]})}),n.hooks){var a=n.hooks();Object.keys(a).forEach(function(o){Us[o]||(Us[o]=[]),Us[o].push(a[o])})}n.provides&&n.provides(of)}),r}function t_(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var a=Us[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function gl(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Us[e]||[];i.forEach(function(a){a.apply(null,r)})}function Ka(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return of[e]?of[e].apply(null,t):void 0}function r_(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||lu();if(!!t)return t=zs(r,t)||t,BO(o4.definitions,r,t)||BO(Hi.styles,r,t)}var o4=new rZ,aZ=function(){Xt.autoReplaceSvg=!1,Xt.observeMutations=!1,gl("noAuto")},oZ={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ao?(gl("beforeI2svg",t),Ka("pseudoElements2svg",t),Ka("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;Xt.autoReplaceSvg===!1&&(Xt.autoReplaceSvg=!0),Xt.observeMutations=!0,HQ(function(){lZ({autoReplaceSvgRoot:r}),gl("watch",t)})}},uZ={icon:function(t){if(t===null)return null;if(wm(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:zs(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=xg(t[0]);return{prefix:n,iconName:zs(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(Xt.familyPrefix,"-"))>-1||t.match(TQ))){var i=bg(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||lu(),iconName:zs(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=lu();return{prefix:a,iconName:zs(a,t)||t}}}},hi={noAuto:aZ,config:Xt,dom:oZ,parse:uZ,library:o4,findIconDefinition:r_,toHtml:Wd},lZ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Lr:r;(Object.keys(Hi.styles).length>0||Xt.autoFetchSvg)&&ao&&Xt.autoReplaceSvg&&hi.dom.i2svg({node:n})};function wg(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Wd(n)})}}),Object.defineProperty(e,"node",{get:function(){if(!!ao){var n=Lr.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function sZ(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(gS(o)&&r.found&&!n.found){var l=r.width,s=r.height,c={x:l/s/2,y:.5};i.style=yg(Nt(Nt({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function fZ(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(Xt.familyPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Nt(Nt({},i),{},{id:o}),children:n}]}]}function wS(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,s=e.title,c=e.maskId,d=e.titleId,y=e.extra,g=e.watchable,m=g===void 0?!1:g,E=n.found?n:r,M=E.width,b=E.height,w=i==="fak",_=[Xt.replacementClass,a?"".concat(Xt.familyPrefix,"-").concat(a):""].filter(function(re){return y.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(y.classes).join(" "),C={children:[],attributes:Nt(Nt({},y.attributes),{},{"data-prefix":i,"data-icon":a,class:_,role:y.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(M," ").concat(b)})},T=w&&!~y.classes.indexOf("fa-fw")?{width:"".concat(M/b*16*.0625,"em")}:{};m&&(C.attributes[ml]=""),s&&(C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(d||Sd())},children:[s]}),delete C.attributes.title);var P=Nt(Nt({},C),{},{prefix:i,iconName:a,main:r,mask:n,maskId:c,transform:o,symbol:l,styles:Nt(Nt({},T),y.styles)}),D=n.found&&r.found?Ka("generateAbstractMask",P)||{children:[],attributes:{}}:Ka("generateAbstractIcon",P)||{children:[],attributes:{}},Y=D.children,j=D.attributes;return P.children=Y,P.attributes=j,l?fZ(P):sZ(P)}function jO(e){var t=e.content,r=e.width,n=e.height,i=e.transform,a=e.title,o=e.extra,l=e.watchable,s=l===void 0?!1:l,c=Nt(Nt(Nt({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[ml]="");var d=Nt({},o.styles);gS(i)&&(d.transform=UQ({transform:i,startCentered:!0,width:r,height:n}),d["-webkit-transform"]=d.transform);var y=yg(d);y.length>0&&(c.style=y);var g=[];return g.push({tag:"span",attributes:c,children:[t]}),a&&g.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),g}function cZ(e){var t=e.content,r=e.title,n=e.extra,i=Nt(Nt(Nt({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=yg(n.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),r&&o.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),o}var db=Hi.styles;function n_(e){var t=e[0],r=e[1],n=e.slice(4),i=cS(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(Xt.familyPrefix,"-").concat(nl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Xt.familyPrefix,"-").concat(nl.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Xt.familyPrefix,"-").concat(nl.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var hZ={found:!1,width:512,height:512};function dZ(e,t){!HP&&!Xt.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function i_(e,t){var r=t;return t==="fa"&&Xt.styleDefault!==null&&(t=lu()),new Promise(function(n,i){if(Ka("missingIconAbstract"),r==="fa"){var a=a4(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&db[t]&&db[t][e]){var o=db[t][e];return n(n_(o))}dZ(e,t),n(Nt(Nt({},hZ),{},{icon:Xt.showMissingIcons&&e?Ka("missingIconAbstract")||{}:{}}))})}var GO=function(){},a_=Xt.measurePerformance&&Xv&&Xv.mark&&Xv.measure?Xv:{mark:GO,measure:GO},kh='FA "6.1.1"',pZ=function(t){return a_.mark("".concat(kh," ").concat(t," begins")),function(){return u4(t)}},u4=function(t){a_.mark("".concat(kh," ").concat(t," ends")),a_.measure("".concat(kh," ").concat(t),"".concat(kh," ").concat(t," begins"),"".concat(kh," ").concat(t," ends"))},_S={begin:pZ,end:u4},x0=function(){};function WO(e){var t=e.getAttribute?e.getAttribute(ml):null;return typeof t=="string"}function vZ(e){var t=e.getAttribute?e.getAttribute(dS):null,r=e.getAttribute?e.getAttribute(pS):null;return t&&r}function mZ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Xt.replacementClass)}function gZ(){if(Xt.autoReplaceSvg===!0)return b0.replace;var e=b0[Xt.autoReplaceSvg];return e||b0.replace}function yZ(e){return Lr.createElementNS("http://www.w3.org/2000/svg",e)}function xZ(e){return Lr.createElement(e)}function l4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?yZ:xZ:r;if(typeof e=="string")return Lr.createTextNode(e);var i=n(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(l4(o,{ceFn:n}))}),i}function bZ(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var b0={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(l4(i),r)}),r.getAttribute(ml)===null&&Xt.keepOriginalSource){var n=Lr.createComment(bZ(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~mS(r).indexOf(Xt.replacementClass))return b0.replace(t);var i=new RegExp("".concat(Xt.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(l,s){return s===Xt.replacementClass||s.match(i)?l.toSvg.push(s):l.toNode.push(s),l},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(l){return Wd(l)}).join(`
|
|
1157
|
-
`);r.setAttribute(ml,""),r.innerHTML=o}};function HO(e){e()}function s4(e,t){var r=typeof t=="function"?t:x0;if(e.length===0)r();else{var n=HO;Xt.mutateApproach===SQ&&(n=uu.requestAnimationFrame||HO),n(function(){var i=gZ(),a=_S.begin("mutate");e.map(i),a(),r()})}}var SS=!1;function f4(){SS=!0}function o_(){SS=!1}var Em=null;function VO(e){if(!!LO&&!!Xt.observeMutations){var t=e.treeCallback,r=t===void 0?x0:t,n=e.nodeCallback,i=n===void 0?x0:n,a=e.pseudoElementsCallback,o=a===void 0?x0:a,l=e.observeMutationsRoot,s=l===void 0?Lr:l;Em=new LO(function(c){if(!SS){var d=lu();Nf(c).forEach(function(y){if(y.type==="childList"&&y.addedNodes.length>0&&!WO(y.addedNodes[0])&&(Xt.searchPseudoElements&&o(y.target),r(y.target)),y.type==="attributes"&&y.target.parentNode&&Xt.searchPseudoElements&&o(y.target.parentNode),y.type==="attributes"&&WO(y.target)&&~MQ.indexOf(y.attributeName))if(y.attributeName==="class"&&vZ(y.target)){var g=bg(mS(y.target)),m=g.prefix,E=g.iconName;y.target.setAttribute(dS,m||d),E&&y.target.setAttribute(pS,E)}else mZ(y.target)&&i(y.target)})}}),ao&&Em.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function wZ(){!Em||Em.disconnect()}function _Z(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var a=i.split(":"),o=a[0],l=a.slice(1);return o&&l.length>0&&(n[o]=l.join(":").trim()),n},{})),r}function SZ(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=bg(mS(e));return i.prefix||(i.prefix=lu()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||i.prefix&&n.length>0&&(i.iconName=eZ(i.prefix,e.innerText)||xS(i.prefix,Jw(e.innerText))),i}function EZ(e){var t=Nf(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return Xt.autoA11y&&(r?t["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(n||Sd()):(t["aria-hidden"]="true",t.focusable="false")),t}function AZ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ca,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function qO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=SZ(e),n=r.iconName,i=r.prefix,a=r.rest,o=EZ(e),l=t_("parseNodeAttributes",{},e),s=t.styleParser?_Z(e):[];return Nt({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:ca,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},l)}var TZ=Hi.styles;function c4(e){var t=Xt.autoReplaceSvg==="nest"?qO(e,{styleParser:!1}):qO(e);return~t.extra.classes.indexOf(qP)?Ka("generateLayersText",e,t):Ka("generateSvgReplacementMutation",e,t)}function YO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ao)return Promise.resolve();var r=Lr.documentElement.classList,n=function(y){return r.add("".concat(DO,"-").concat(y))},i=function(y){return r.remove("".concat(DO,"-").concat(y))},a=Xt.autoFetchSvg?Object.keys(vS):Object.keys(TZ),o=[".".concat(qP,":not([").concat(ml,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(ml,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=Nf(e.querySelectorAll(o))}catch{}if(l.length>0)n("pending"),i("complete");else return Promise.resolve();var s=_S.begin("onTree"),c=l.reduce(function(d,y){try{var g=c4(y);g&&d.push(g)}catch(m){HP||m.name==="MissingIcon"&&console.error(m)}return d},[]);return new Promise(function(d,y){Promise.all(c).then(function(g){s4(g,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),s(),d()})}).catch(function(g){s(),y(g)})})}function CZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;c4(e).then(function(r){r&&s4([r],t)})}function OZ(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:r_(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:r_(i||{})),e(n,Nt(Nt({},r),{},{mask:i}))}}var kZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?ca:n,a=r.symbol,o=a===void 0?!1:a,l=r.mask,s=l===void 0?null:l,c=r.maskId,d=c===void 0?null:c,y=r.title,g=y===void 0?null:y,m=r.titleId,E=m===void 0?null:m,M=r.classes,b=M===void 0?[]:M,w=r.attributes,_=w===void 0?{}:w,C=r.styles,T=C===void 0?{}:C;if(!!t){var P=t.prefix,D=t.iconName,Y=t.icon;return wg(Nt({type:"icon"},t),function(){return gl("beforeDOMElementCreation",{iconDefinition:t,params:r}),Xt.autoA11y&&(g?_["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(E||Sd()):(_["aria-hidden"]="true",_.focusable="false")),wS({icons:{main:n_(Y),mask:s?n_(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:P,iconName:D,transform:Nt(Nt({},ca),i),symbol:o,title:g,maskId:d,titleId:E,extra:{attributes:_,styles:T,classes:b}})})}},MZ={mixout:function(){return{icon:OZ(kZ)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=YO,r.nodeCallback=CZ,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?Lr:n,a=r.callback,o=a===void 0?function(){}:a;return YO(i,o)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,a=n.title,o=n.titleId,l=n.prefix,s=n.transform,c=n.symbol,d=n.mask,y=n.maskId,g=n.extra;return new Promise(function(m,E){Promise.all([i_(i,l),d.iconName?i_(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(M){var b=cS(M,2),w=b[0],_=b[1];m([r,wS({icons:{main:w,mask:_},prefix:l,iconName:i,transform:s,symbol:c,maskId:y,title:a,titleId:o,extra:g,watchable:!0})])}).catch(E)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.transform,l=r.styles,s=yg(l);s.length>0&&(i.style=s);var c;return gS(o)&&(c=Ka("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(c||a.icon),{children:n,attributes:i}}}},IZ={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.classes,a=i===void 0?[]:i;return wg({type:"layer"},function(){gl("beforeDOMElementCreation",{assembler:r,params:n});var o=[];return r(function(l){Array.isArray(l)?l.map(function(s){o=o.concat(s.abstract)}):o=o.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(Xt.familyPrefix,"-layers")].concat(gg(a)).join(" ")},children:o}]})}}}},RZ={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.title,a=i===void 0?null:i,o=n.classes,l=o===void 0?[]:o,s=n.attributes,c=s===void 0?{}:s,d=n.styles,y=d===void 0?{}:d;return wg({type:"counter",content:r},function(){return gl("beforeDOMElementCreation",{content:r,params:n}),cZ({content:r.toString(),title:a,extra:{attributes:c,styles:y,classes:["".concat(Xt.familyPrefix,"-layers-counter")].concat(gg(l))}})})}}}},FZ={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?ca:i,o=n.title,l=o===void 0?null:o,s=n.classes,c=s===void 0?[]:s,d=n.attributes,y=d===void 0?{}:d,g=n.styles,m=g===void 0?{}:g;return wg({type:"text",content:r},function(){return gl("beforeDOMElementCreation",{content:r,params:n}),jO({content:r,transform:Nt(Nt({},ca),a),title:l,extra:{attributes:y,styles:m,classes:["".concat(Xt.familyPrefix,"-layers-text")].concat(gg(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,l=null,s=null;if(jP){var c=parseInt(getComputedStyle(r).fontSize,10),d=r.getBoundingClientRect();l=d.width/c,s=d.height/c}return Xt.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([r,jO({content:r.innerHTML,width:l,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},PZ=new RegExp('"',"ug"),XO=[1105920,1112319];function NZ(e){var t=e.replace(PZ,""),r=YQ(t,0),n=r>=XO[0]&&r<=XO[1],i=t.length===2?t[0]===t[1]:!1;return{value:Jw(i?t[0]:t),isSecondary:n||i}}function QO(e,t){var r="".concat(_Q).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=Nf(e.children),o=a.filter(function(D){return D.getAttribute(Kw)===t})[0],l=uu.getComputedStyle(e,t),s=l.getPropertyValue("font-family").match(CQ),c=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(o&&!s)return e.removeChild(o),n();if(s&&d!=="none"&&d!==""){var y=l.getPropertyValue("content"),g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?_m[s[2].toLowerCase()]:OQ[c],m=NZ(y),E=m.value,M=m.isSecondary,b=s[0].startsWith("FontAwesome"),w=xS(g,E),_=w;if(b){var C=tZ(E);C.iconName&&C.prefix&&(w=C.iconName,g=C.prefix)}if(w&&!M&&(!o||o.getAttribute(dS)!==g||o.getAttribute(pS)!==_)){e.setAttribute(r,_),o&&e.removeChild(o);var T=AZ(),P=T.extra;P.attributes[Kw]=t,i_(w,g).then(function(D){var Y=wS(Nt(Nt({},T),{},{icons:{main:D,mask:bS()},prefix:g,iconName:_,extra:P,watchable:!0})),j=Lr.createElement("svg");t==="::before"?e.insertBefore(j,e.firstChild):e.appendChild(j),j.outerHTML=Y.map(function(re){return Wd(re)}).join(`
|
|
1158
|
-
`),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function LZ(e){return Promise.all([QO(e,"::before"),QO(e,"::after")])}function DZ(e){return e.parentNode!==document.head&&!~EQ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Kw)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ZO(e){if(!!ao)return new Promise(function(t,r){var n=Nf(e.querySelectorAll("*")).filter(DZ).map(LZ),i=_S.begin("searchPseudoElements");f4(),Promise.all(n).then(function(){i(),o_(),t()}).catch(function(){i(),o_(),r()})})}var $Z={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=ZO,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?Lr:n;Xt.searchPseudoElements&&ZO(i)}}},KO=!1,BZ={mixout:function(){return{dom:{unwatch:function(){f4(),KO=!0}}}},hooks:function(){return{bootstrap:function(){VO(t_("mutationObserverCallbacks",{}))},noAuto:function(){wZ()},watch:function(r){var n=r.observeMutationsRoot;KO?o_():VO(t_("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},JO=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,i){var a=i.toLowerCase().split("-"),o=a[0],l=a.slice(1).join("-");if(o&&l==="h")return n.flipX=!0,n;if(o&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(o){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},r)},zZ={mixout:function(){return{parse:{transform:function(r){return JO(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=JO(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,a=r.containerWidth,o=r.iconWidth,l={transform:"translate(".concat(a/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),d="rotate(".concat(i.rotate," 0 0)"),y={transform:"".concat(s," ").concat(c," ").concat(d)},g={transform:"translate(".concat(o/2*-1," -256)")},m={outer:l,inner:y,path:g};return{tag:"g",attributes:Nt({},m.outer),children:[{tag:"g",attributes:Nt({},m.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Nt(Nt({},n.icon.attributes),m.path)}]}]}}}},pb={x:0,y:0,width:"100%",height:"100%"};function e5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function UZ(e){return e.tag==="g"?e.children:[e]}var jZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?bg(i.split(" ").map(function(o){return o.trim()})):bS();return a.prefix||(a.prefix=lu()),r.mask=a,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.mask,l=r.maskId,s=r.transform,c=a.width,d=a.icon,y=o.width,g=o.icon,m=zQ({transform:s,containerWidth:y,iconWidth:c}),E={tag:"rect",attributes:Nt(Nt({},pb),{},{fill:"white"})},M=d.children?{children:d.children.map(e5)}:{},b={tag:"g",attributes:Nt({},m.inner),children:[e5(Nt({tag:d.tag,attributes:Nt(Nt({},d.attributes),m.path)},M))]},w={tag:"g",attributes:Nt({},m.outer),children:[b]},_="mask-".concat(l||Sd()),C="clip-".concat(l||Sd()),T={tag:"mask",attributes:Nt(Nt({},pb),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[E,w]},P={tag:"defs",children:[{tag:"clipPath",attributes:{id:C},children:UZ(g)},T]};return n.push(P,{tag:"rect",attributes:Nt({fill:"currentColor","clip-path":"url(#".concat(C,")"),mask:"url(#".concat(_,")")},pb)}),{children:n,attributes:i}}}},GZ={provides:function(t){var r=!1;uu.matchMedia&&(r=uu.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Nt(Nt({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Nt(Nt({},a),{},{attributeName:"opacity"}),l={tag:"circle",attributes:Nt(Nt({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||l.children.push({tag:"animate",attributes:Nt(Nt({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Nt(Nt({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:Nt(Nt({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:Nt(Nt({},o),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:Nt(Nt({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Nt(Nt({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},WZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return r.symbol=a,r}}}},HZ=[GQ,MZ,IZ,RZ,FZ,$Z,BZ,zZ,jZ,GZ,WZ];iZ(HZ,{mixoutsTo:hi});hi.noAuto;hi.config;hi.library;hi.dom;var u_=hi.parse;hi.findIconDefinition;hi.toHtml;var VZ=hi.icon;hi.layer;hi.text;hi.counter;function t5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function jo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?t5(Object(r),!0).forEach(function(n){js(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Am(e){return Am=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Am(e)}function js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qZ(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function h4(e,t){if(e==null)return{};var r=qZ(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(r[n]=e[n]))}return r}function l_(e){return YZ(e)||XZ(e)||QZ(e)||ZZ()}function YZ(e){if(Array.isArray(e))return s_(e)}function XZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QZ(e,t){if(!!e){if(typeof e=="string")return s_(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 s_(e,t)}}function s_(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 ZZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1159
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KZ(e){var t,r=e.beat,n=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,d=e.spinReverse,y=e.pulse,g=e.fixedWidth,m=e.inverse,E=e.border,M=e.listItem,b=e.flip,w=e.size,_=e.rotation,C=e.pull,T=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":y,"fa-fw":g,"fa-inverse":m,"fa-border":E,"fa-li":M,"fa-flip-horizontal":b==="horizontal"||b==="both","fa-flip-vertical":b==="vertical"||b==="both"},js(t,"fa-".concat(w),typeof w<"u"&&w!==null),js(t,"fa-rotate-".concat(_),typeof _<"u"&&_!==null&&_!==0),js(t,"fa-pull-".concat(C),typeof C<"u"&&C!==null),js(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(T).map(function(P){return T[P]?P:null}).filter(function(P){return P})}function JZ(e){return e=e-0,e===e}function d4(e){return JZ(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var eK=["style"];function tK(e){return e.charAt(0).toUpperCase()+e.slice(1)}function rK(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=d4(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[tK(i)]=a:t[i]=a,t},{})}function p4(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(s){return p4(e,s)}),i=Object.keys(t.attributes||{}).reduce(function(s,c){var d=t.attributes[c];switch(c){case"class":s.attrs.className=d,delete t.attributes.class;break;case"style":s.attrs.style=rK(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=d:s.attrs[d4(c)]=d}return s},{attrs:{}}),a=r.style,o=a===void 0?{}:a,l=h4(r,eK);return i.attrs.style=jo(jo({},i.attrs.style),o),e.apply(void 0,[t.tag,jo(jo({},i.attrs),l)].concat(l_(n)))}var v4=!1;try{v4=!0}catch{}function nK(){if(!v4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function r5(e){if(e&&Am(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(u_.icon)return u_.icon(e);if(e===null)return null;if(e&&Am(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function vb(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?js({},e,t):{}}var iK=["forwardedRef"];function _g(e){var t=e.forwardedRef,r=h4(e,iK),n=r.icon,i=r.mask,a=r.symbol,o=r.className,l=r.title,s=r.titleId,c=r.maskId,d=r5(n),y=vb("classes",[].concat(l_(KZ(r)),l_(o.split(" ")))),g=vb("transform",typeof r.transform=="string"?u_.transform(r.transform):r.transform),m=vb("mask",r5(i)),E=VZ(d,jo(jo(jo(jo({},y),g),m),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!E)return nK("Could not find icon",d),null;var M=E.abstract,b={ref:t};return Object.keys(r).forEach(function(w){_g.defaultProps.hasOwnProperty(w)||(b[w]=r[w])}),aK(M[0],b)}_g.displayName="FontAwesomeIcon";_g.propTypes={beat:hr.exports.bool,border:hr.exports.bool,bounce:hr.exports.bool,className:hr.exports.string,fade:hr.exports.bool,flash:hr.exports.bool,mask:hr.exports.oneOfType([hr.exports.object,hr.exports.array,hr.exports.string]),maskId:hr.exports.string,fixedWidth:hr.exports.bool,inverse:hr.exports.bool,flip:hr.exports.oneOf(["horizontal","vertical","both"]),icon:hr.exports.oneOfType([hr.exports.object,hr.exports.array,hr.exports.string]),listItem:hr.exports.bool,pull:hr.exports.oneOf(["right","left"]),pulse:hr.exports.bool,rotation:hr.exports.oneOf([0,90,180,270]),shake:hr.exports.bool,size:hr.exports.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:hr.exports.bool,spinPulse:hr.exports.bool,spinReverse:hr.exports.bool,symbol:hr.exports.oneOfType([hr.exports.bool,hr.exports.string]),title:hr.exports.string,titleId:hr.exports.string,transform:hr.exports.oneOfType([hr.exports.string,hr.exports.object]),swapOpacity:hr.exports.bool};_g.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var aK=p4.bind(null,Tn.createElement),m4={exports:{}},g4={exports:{}},w0=1;function oK(){return w0=(w0*9301+49297)%233280,w0/233280}function uK(e){w0=e}var lK={nextValue:oK,seed:uK},f_=lK,Zu="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",Go,n5,Mh;function c_(){Mh=!1}function y4(e){if(!e){Go!==Zu&&(Go=Zu,c_());return}if(e!==Go){if(e.length!==Zu.length)throw new Error("Custom alphabet for shortid must be "+Zu.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(r,n,i){return n!==i.lastIndexOf(r)});if(t.length)throw new Error("Custom alphabet for shortid must be "+Zu.length+" unique characters. These characters were not unique: "+t.join(", "));Go=e,c_()}}function sK(e){return y4(e),Go}function fK(e){f_.seed(e),n5!==e&&(c_(),n5=e)}function cK(){Go||y4(Zu);for(var e=Go.split(""),t=[],r=f_.nextValue(),n;e.length>0;)r=f_.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function x4(){return Mh||(Mh=cK(),Mh)}function hK(e){var t=x4();return t[e]}function dK(){return Go||Zu}var ES={get:dK,characters:sK,seed:fK,lookup:hK,shuffled:x4},mb=typeof window=="object"&&(window.crypto||window.msCrypto),h_;!mb||!mb.getRandomValues?h_=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:h_=function(e){return mb.getRandomValues(new Uint8Array(e))};var pK=h_,vK=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*r/t.length),a="";;)for(var o=e(i),l=i;l--;)if(a+=t[o[l]&n]||"",a.length===+r)return a},mK=ES,gK=pK,yK=vK;function xK(e){for(var t=0,r,n="";!r;)n=n+yK(gK,mK.get(),1),r=e<Math.pow(16,t+1),t++;return n}var bK=xK,Qv=bK,wK=1567752802062,_K=7,Zv,i5;function SK(e){var t="",r=Math.floor((Date.now()-wK)*.001);return r===i5?Zv++:(Zv=0,i5=r),t=t+Qv(_K),t=t+Qv(e),Zv>0&&(t=t+Qv(Zv)),t=t+Qv(r),t}var EK=SK,AK=ES;function TK(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+AK.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var CK=TK;(function(e){var t=ES,r=EK,n=CK,i=0;function a(c){return t.seed(c),e.exports}function o(c){return i=c,e.exports}function l(c){return c!==void 0&&t.characters(c),t.shuffled()}function s(){return r(i)}e.exports=s,e.exports.generate=s,e.exports.seed=a,e.exports.worker=o,e.exports.characters=l,e.exports.isValid=n})(g4);(function(e){e.exports=g4.exports})(m4);const Jte=y_(m4.exports);var OK=Tn.createContext(null);function kK(e){e()}var b4=kK,MK=function(t){return b4=t},IK=function(){return b4};function RK(){var e=IK(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e(function(){for(var i=t;i;)i.callback(),i=i.next})},get:function(){for(var i=[],a=t;a;)i.push(a),a=a.next;return i},subscribe:function(i){var a=!0,o=r={callback:i,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){!a||t===null||(a=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var a5={notify:function(){},get:function(){return[]}};function FK(e,t){var r,n=a5;function i(y){return s(),n.subscribe(y)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function l(){return Boolean(r)}function s(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=RK())}function c(){r&&(r(),r=void 0,n.clear(),n=a5)}var d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:s,tryUnsubscribe:c,getListeners:function(){return n}};return d}var PK=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Kt.exports.useLayoutEffect:Kt.exports.useEffect,w4={exports:{}},_r={};/** @license React v16.13.1
|
|
1160
|
-
* react-is.production.min.js
|
|
1161
|
-
*
|
|
1162
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1163
|
-
*
|
|
1164
|
-
* This source code is licensed under the MIT license found in the
|
|
1165
|
-
* LICENSE file in the root directory of this source tree.
|
|
1166
|
-
*/var yn=typeof Symbol=="function"&&Symbol.for,AS=yn?Symbol.for("react.element"):60103,TS=yn?Symbol.for("react.portal"):60106,Sg=yn?Symbol.for("react.fragment"):60107,Eg=yn?Symbol.for("react.strict_mode"):60108,Ag=yn?Symbol.for("react.profiler"):60114,Tg=yn?Symbol.for("react.provider"):60109,Cg=yn?Symbol.for("react.context"):60110,CS=yn?Symbol.for("react.async_mode"):60111,Og=yn?Symbol.for("react.concurrent_mode"):60111,kg=yn?Symbol.for("react.forward_ref"):60112,Mg=yn?Symbol.for("react.suspense"):60113,NK=yn?Symbol.for("react.suspense_list"):60120,Ig=yn?Symbol.for("react.memo"):60115,Rg=yn?Symbol.for("react.lazy"):60116,LK=yn?Symbol.for("react.block"):60121,DK=yn?Symbol.for("react.fundamental"):60117,$K=yn?Symbol.for("react.responder"):60118,BK=yn?Symbol.for("react.scope"):60119;function di(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case AS:switch(e=e.type,e){case CS:case Og:case Sg:case Ag:case Eg:case Mg:return e;default:switch(e=e&&e.$$typeof,e){case Cg:case kg:case Rg:case Ig:case Tg:return e;default:return t}}case TS:return t}}}function _4(e){return di(e)===Og}_r.AsyncMode=CS;_r.ConcurrentMode=Og;_r.ContextConsumer=Cg;_r.ContextProvider=Tg;_r.Element=AS;_r.ForwardRef=kg;_r.Fragment=Sg;_r.Lazy=Rg;_r.Memo=Ig;_r.Portal=TS;_r.Profiler=Ag;_r.StrictMode=Eg;_r.Suspense=Mg;_r.isAsyncMode=function(e){return _4(e)||di(e)===CS};_r.isConcurrentMode=_4;_r.isContextConsumer=function(e){return di(e)===Cg};_r.isContextProvider=function(e){return di(e)===Tg};_r.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===AS};_r.isForwardRef=function(e){return di(e)===kg};_r.isFragment=function(e){return di(e)===Sg};_r.isLazy=function(e){return di(e)===Rg};_r.isMemo=function(e){return di(e)===Ig};_r.isPortal=function(e){return di(e)===TS};_r.isProfiler=function(e){return di(e)===Ag};_r.isStrictMode=function(e){return di(e)===Eg};_r.isSuspense=function(e){return di(e)===Mg};_r.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Sg||e===Og||e===Ag||e===Eg||e===Mg||e===NK||typeof e=="object"&&e!==null&&(e.$$typeof===Rg||e.$$typeof===Ig||e.$$typeof===Tg||e.$$typeof===Cg||e.$$typeof===kg||e.$$typeof===DK||e.$$typeof===$K||e.$$typeof===BK||e.$$typeof===LK)};_r.typeOf=di;(function(e){e.exports=_r})(w4);var OS=w4.exports,zK={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},UK={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},jK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},S4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kS={};kS[OS.ForwardRef]=jK;kS[OS.Memo]=S4;function o5(e){return OS.isMemo(e)?S4:kS[e.$$typeof]||zK}var GK=Object.defineProperty,WK=Object.getOwnPropertyNames,u5=Object.getOwnPropertySymbols,HK=Object.getOwnPropertyDescriptor,VK=Object.getPrototypeOf,l5=Object.prototype;function E4(e,t,r){if(typeof t!="string"){if(l5){var n=VK(t);n&&n!==l5&&E4(e,n,r)}var i=WK(t);u5&&(i=i.concat(u5(t)));for(var a=o5(e),o=o5(t),l=0;l<i.length;++l){var s=i[l];if(!UK[s]&&!(r&&r[s])&&!(o&&o[s])&&!(a&&a[s])){var c=HK(t,s);try{GK(e,s,c)}catch{}}}}return e}var s5=E4,A4={exports:{}},Or={};/** @license React v17.0.2
|
|
1167
|
-
* react-is.production.min.js
|
|
1168
|
-
*
|
|
1169
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1170
|
-
*
|
|
1171
|
-
* This source code is licensed under the MIT license found in the
|
|
1172
|
-
* LICENSE file in the root directory of this source tree.
|
|
1173
|
-
*/var Fg=60103,Pg=60106,Hd=60107,Vd=60108,qd=60114,Yd=60109,Xd=60110,Qd=60112,Zd=60113,MS=60120,Kd=60115,Jd=60116,T4=60121,C4=60122,O4=60117,k4=60129,M4=60131;if(typeof Symbol=="function"&&Symbol.for){var wn=Symbol.for;Fg=wn("react.element"),Pg=wn("react.portal"),Hd=wn("react.fragment"),Vd=wn("react.strict_mode"),qd=wn("react.profiler"),Yd=wn("react.provider"),Xd=wn("react.context"),Qd=wn("react.forward_ref"),Zd=wn("react.suspense"),MS=wn("react.suspense_list"),Kd=wn("react.memo"),Jd=wn("react.lazy"),T4=wn("react.block"),C4=wn("react.server.block"),O4=wn("react.fundamental"),k4=wn("react.debug_trace_mode"),M4=wn("react.legacy_hidden")}function Yi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Fg:switch(e=e.type,e){case Hd:case qd:case Vd:case Zd:case MS:return e;default:switch(e=e&&e.$$typeof,e){case Xd:case Qd:case Jd:case Kd:case Yd:return e;default:return t}}case Pg:return t}}}var qK=Yd,YK=Fg,XK=Qd,QK=Hd,ZK=Jd,KK=Kd,JK=Pg,eJ=qd,tJ=Vd,rJ=Zd;Or.ContextConsumer=Xd;Or.ContextProvider=qK;Or.Element=YK;Or.ForwardRef=XK;Or.Fragment=QK;Or.Lazy=ZK;Or.Memo=KK;Or.Portal=JK;Or.Profiler=eJ;Or.StrictMode=tJ;Or.Suspense=rJ;Or.isAsyncMode=function(){return!1};Or.isConcurrentMode=function(){return!1};Or.isContextConsumer=function(e){return Yi(e)===Xd};Or.isContextProvider=function(e){return Yi(e)===Yd};Or.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fg};Or.isForwardRef=function(e){return Yi(e)===Qd};Or.isFragment=function(e){return Yi(e)===Hd};Or.isLazy=function(e){return Yi(e)===Jd};Or.isMemo=function(e){return Yi(e)===Kd};Or.isPortal=function(e){return Yi(e)===Pg};Or.isProfiler=function(e){return Yi(e)===qd};Or.isStrictMode=function(e){return Yi(e)===Vd};Or.isSuspense=function(e){return Yi(e)===Zd};Or.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hd||e===qd||e===k4||e===Vd||e===Zd||e===MS||e===M4||typeof e=="object"&&e!==null&&(e.$$typeof===Jd||e.$$typeof===Kd||e.$$typeof===Yd||e.$$typeof===Xd||e.$$typeof===Qd||e.$$typeof===O4||e.$$typeof===T4||e[0]===C4)};Or.typeOf=Yi;(function(e){e.exports=Or})(A4);var nJ=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],iJ=["reactReduxForwardedRef"],aJ=[],oJ=[null,null];function uJ(e,t){var r=e[1];return[t.payload,r+1]}function f5(e,t,r){PK(function(){return e.apply(void 0,t)},r)}function lJ(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function sJ(e,t,r,n,i,a,o,l,s,c){if(!!e){var d=!1,y=null,g=function(){if(!d){var M=t.getState(),b,w;try{b=n(M,i.current)}catch(_){w=_,y=_}w||(y=null),b===a.current?o.current||s():(a.current=b,l.current=b,o.current=!0,c({type:"STORE_UPDATED",payload:{error:w}}))}};r.onStateChange=g,r.trySubscribe(),g();var m=function(){if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,y)throw y};return m}}var fJ=function(){return[null,0]};function cJ(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(C){return"ConnectAdvanced("+C+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,l=r.renderCountProp,s=l===void 0?void 0:l,c=r.shouldHandleStateChanges,d=c===void 0?!0:c,y=r.storeKey,g=y===void 0?"store":y;r.withRef;var m=r.forwardRef,E=m===void 0?!1:m,M=r.context,b=M===void 0?OK:M,w=xf(r,nJ),_=b;return function(T){var P=T.displayName||T.name||"Component",D=i(P),Y=ga({},w,{getDisplayName:i,methodName:o,renderCountProp:s,shouldHandleStateChanges:d,storeKey:g,displayName:D,wrappedComponentName:P,WrappedComponent:T}),j=w.pure;function re(Le){return e(Le.dispatch,Y)}var Ee=j?Kt.exports.useMemo:function(Le){return Le()};function me(Le){var ut=Kt.exports.useMemo(function(){var fe=Le.reactReduxForwardedRef,Fe=xf(Le,iJ);return[Le.context,fe,Fe]},[Le]),nt=ut[0],De=ut[1],We=ut[2],_t=Kt.exports.useMemo(function(){return nt&&nt.Consumer&&A4.exports.isContextConsumer(Tn.createElement(nt.Consumer,null))?nt:_},[nt,_]),He=Kt.exports.useContext(_t),be=Boolean(Le.store)&&Boolean(Le.store.getState)&&Boolean(Le.store.dispatch);Boolean(He)&&Boolean(He.store);var Ve=be?Le.store:He.store,st=Kt.exports.useMemo(function(){return re(Ve)},[Ve]),Qe=Kt.exports.useMemo(function(){if(!d)return oJ;var fe=FK(Ve,be?null:He.subscription),Fe=fe.notifyNestedSubs.bind(fe);return[fe,Fe]},[Ve,be,He]),ct=Qe[0],yt=Qe[1],Wt=Kt.exports.useMemo(function(){return be?He:ga({},He,{subscription:ct})},[be,He,ct]),Vt=Kt.exports.useReducer(uJ,aJ,fJ),Ze=Vt[0],At=Ze[0],Ut=Vt[1];if(At&&At.error)throw At.error;var Ce=Kt.exports.useRef(),W=Kt.exports.useRef(We),ae=Kt.exports.useRef(),I=Kt.exports.useRef(!1),A=Ee(function(){return ae.current&&We===W.current?ae.current:st(Ve.getState(),We)},[Ve,At,We]);f5(lJ,[W,Ce,I,We,A,ae,yt]),f5(sJ,[d,Ve,ct,st,W,Ce,I,ae,yt,Ut],[Ve,ct,st]);var k=Kt.exports.useMemo(function(){return ma(T,{...A,ref:De})},[De,T,A]),$=Kt.exports.useMemo(function(){return d?ma(_t.Provider,{value:Wt,children:k}):k},[_t,k,Wt]);return $}var ke=j?Tn.memo(me):me;if(ke.WrappedComponent=T,ke.displayName=me.displayName=D,E){var Pe=Tn.forwardRef(function(ut,nt){return ma(ke,{...ut,reactReduxForwardedRef:nt})});return Pe.displayName=D,Pe.WrappedComponent=T,s5(Pe,T)}return s5(ke,T)}}function c5(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function gb(e,t){if(c5(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(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!c5(e[r[i]],t[r[i]]))return!1;return!0}function hJ(e,t){var r={},n=function(o){var l=e[o];typeof l=="function"&&(r[o]=function(){return t(l.apply(void 0,arguments))})};for(var i in e)n(i);return r}function IS(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function h5(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function I4(e,t){return function(n,i){i.displayName;var a=function(l,s){return a.dependsOnOwnProps?a.mapToProps(l,s):a.mapToProps(l)};return a.dependsOnOwnProps=!0,a.mapToProps=function(l,s){a.mapToProps=e,a.dependsOnOwnProps=h5(e);var c=a(l,s);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=h5(c),c=a(l,s)),c},a}}function dJ(e){return typeof e=="function"?I4(e):void 0}function pJ(e){return e?void 0:IS(function(t){return{dispatch:t}})}function vJ(e){return e&&typeof e=="object"?IS(function(t){return hJ(e,t)}):void 0}const mJ=[dJ,pJ,vJ];function gJ(e){return typeof e=="function"?I4(e):void 0}function yJ(e){return e?void 0:IS(function(){return{}})}const xJ=[gJ,yJ];function bJ(e,t,r){return ga({},r,e,t)}function wJ(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,l;return function(c,d,y){var g=e(c,d,y);return o?(!i||!a(g,l))&&(l=g):(o=!0,l=g),l}}}function _J(e){return typeof e=="function"?wJ(e):void 0}function SJ(e){return e?void 0:function(){return bJ}}const EJ=[_J,SJ];var AJ=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function TJ(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function CJ(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,l=i.areStatePropsEqual,s=!1,c,d,y,g,m;function E(C,T){return c=C,d=T,y=e(c,d),g=t(n,d),m=r(y,g,d),s=!0,m}function M(){return y=e(c,d),t.dependsOnOwnProps&&(g=t(n,d)),m=r(y,g,d),m}function b(){return e.dependsOnOwnProps&&(y=e(c,d)),t.dependsOnOwnProps&&(g=t(n,d)),m=r(y,g,d),m}function w(){var C=e(c,d),T=!l(C,y);return y=C,T&&(m=r(y,g,d)),m}function _(C,T){var P=!o(T,d),D=!a(C,c);return c=C,d=T,P&&D?M():P?b():D?w():m}return function(T,P){return s?_(T,P):E(T,P)}}function OJ(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=xf(t,AJ),o=r(e,a),l=n(e,a),s=i(e,a),c=a.pure?CJ:TJ;return c(o,l,s,e,a)}var kJ=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function yb(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(a,o){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+o.wrappedComponentName+".")}}function MJ(e,t){return e===t}function IJ(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?cJ:r,i=t.mapStateToPropsFactories,a=i===void 0?xJ:i,o=t.mapDispatchToPropsFactories,l=o===void 0?mJ:o,s=t.mergePropsFactories,c=s===void 0?EJ:s,d=t.selectorFactory,y=d===void 0?OJ:d;return function(m,E,M,b){b===void 0&&(b={});var w=b,_=w.pure,C=_===void 0?!0:_,T=w.areStatesEqual,P=T===void 0?MJ:T,D=w.areOwnPropsEqual,Y=D===void 0?gb:D,j=w.areStatePropsEqual,re=j===void 0?gb:j,Ee=w.areMergedPropsEqual,me=Ee===void 0?gb:Ee,ke=xf(w,kJ),Pe=yb(m,a,"mapStateToProps"),Le=yb(E,l,"mapDispatchToProps"),ut=yb(M,c,"mergeProps");return n(y,ga({methodName:"connect",getDisplayName:function(De){return"Connect("+De+")"},shouldHandleStateChanges:Boolean(m),initMapStateToProps:Pe,initMapDispatchToProps:Le,initMergeProps:ut,pure:C,areStatesEqual:P,areOwnPropsEqual:Y,areStatePropsEqual:re,areMergedPropsEqual:me},ke))}}const R4=IJ();MK(x_.exports.unstable_batchedUpdates);function RJ(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function F4(e,t){var r=Kt.exports.useState(function(){return{inputs:t,result:e()}})[0],n=Kt.exports.useRef(!0),i=Kt.exports.useRef(r),a=n.current||Boolean(t&&i.current.inputs&&RJ(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return Kt.exports.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function FJ(e,t){return F4(function(){return e},t)}var zn=F4,dn=FJ,PJ=!0,xb="Invariant failed";function NJ(e,t){if(!e){if(PJ)throw new Error(xb);var r=typeof t=="function"?t():t,n=r?xb+": "+r:xb;throw new Error(n)}}var Gs=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,l=i-r,s={top:r,right:n,bottom:i,left:a,width:o,height:l,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return s},P4=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},d5=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},LJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},bb={top:0,right:0,bottom:0,left:0},RS=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?bb:n,a=t.border,o=a===void 0?bb:a,l=t.padding,s=l===void 0?bb:l,c=Gs(P4(r,i)),d=Gs(d5(r,o)),y=Gs(d5(d,s));return{marginBox:c,borderBox:Gs(r),paddingBox:d,contentBox:y,margin:i,border:o,padding:s}},bi=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&NJ(!1),i},DJ=function(){return{x:window.pageXOffset,y:window.pageYOffset}},$J=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,l=LJ(n,r);return RS({borderBox:l,border:i,margin:a,padding:o})},d_=function(t,r){return r===void 0&&(r=DJ()),$J(t,r)},N4=function(t,r){var n={top:bi(r.marginTop),right:bi(r.marginRight),bottom:bi(r.marginBottom),left:bi(r.marginLeft)},i={top:bi(r.paddingTop),right:bi(r.paddingRight),bottom:bi(r.paddingBottom),left:bi(r.paddingLeft)},a={top:bi(r.borderTopWidth),right:bi(r.borderRightWidth),bottom:bi(r.borderBottomWidth),left:bi(r.borderLeftWidth)};return RS({borderBox:t,margin:n,padding:i,border:a})},L4=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return N4(r,n)},BJ=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];r=l,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){!n||(cancelAnimationFrame(n),n=null)},i};const zJ=BJ;function D4(e,t){}D4.bind(null,"warn");D4.bind(null,"error");function UJ(){}function jJ(e,t){return ga({},e,{},t)}function GJ(e,t,r){var n=t.map(function(i){var a=jJ(r,i.options);return e.addEventListener(i.eventName,i.fn,a),function(){e.removeEventListener(i.eventName,i.fn,a)}});return function(){n.forEach(function(a){a()})}}var WJ="Invariant failed";function Tm(e){this.message=e}Tm.prototype.toString=function(){return this.message};function si(e,t){if(!e)throw new Tm(WJ)}(function(e){zd(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.callbacks=null,n.unbind=UJ,n.onWindowError=function(l){var s=n.getCallbacks();s.isDragging()&&s.tryAbort();var c=l.error;c instanceof Tm&&l.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(l){n.callbacks=l},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=GJ(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof Tm){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(Tn.Component);var yl={x:0,y:0},HJ=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},VJ=function(t,r){return t.x===r.x&&t.y===r.y},qJ=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},YJ=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},XJ=function(e,t){var r=Gs({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r},QJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},ZJ={top:0,right:0,bottom:0,left:0},KJ=function(t,r){return r?QJ(t,r.scroll.diff.displacement):t},JJ=function(t,r,n){if(n&&n.increasedBy){var i;return ga({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},eee=function(t,r){return r&&r.shouldClipSubject?XJ(r.pageMarginBox,t):Gs(t)},tee=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=KJ(t.marginBox,i),o=JJ(a,n,r),l=eee(o,i);return{page:t,withPlaceholder:r,active:l}};function $4(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function ree(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function B4(e,t){if(e.find)return e.find(t);var r=ree(e,t);if(r!==-1)return e[r]}Kr(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});Kr(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var nee=Kr(function(e){return $4(e)}),iee=Kr(function(e){return $4(e)});Kr(function(e,t){var r=iee(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function aee(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}Kr(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var oee={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},uee={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};Kr(function(t,r){var n=r[t.line];return{value:n,point:YJ(t.line,n)}});var _0=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},lee=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},see=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},FS={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Ed={opacity:{drop:0,combining:.7},scale:{drop:.75}},fee={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Hu=fee.outOfTheWay+"s "+FS.outOfTheWay,S0={fluid:"opacity "+Hu,snap:"transform "+Hu+", opacity "+Hu,drop:function(t){var r=t+"s "+FS.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+Hu,placeholder:"height "+Hu+", width "+Hu+", margin "+Hu},p5=function(t){return VJ(t,yl)?null:"translate("+t.x+"px, "+t.y+"px)"},p_={moveTo:p5,drop:function(t,r){var n=p5(t);return n?r?n+" scale("+Ed.scale.drop+")":n:null}},z4=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=HJ({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},cee=function(){var e=document.documentElement;return e||si(!1),e},hee=function(){var e=cee(),t=z4({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};Kr(function(e){return nee(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var dee="data-rbd",v5={contextId:dee+"-scroll-container-context-id"},Kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Kt.exports.useLayoutEffect:Kt.exports.useEffect,U4=Tn.createContext(null),pee=0,vee={separator:"::"};function j4(e,t){return t===void 0&&(t=vee),zn(function(){return""+e+t.separator+pee++},[t.separator,e])}var PS=Tn.createContext(null);function mee(e){var t=Kt.exports.useRef(e);return Kt.exports.useEffect(function(){t.current=e}),t}var gee=9,yee=13,xee=33,bee=34,wee=35,_ee=36,Kv;Kv={},Kv[yee]=!0,Kv[gee]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=B4(t,function(n){return"on"+n in document});return r||e})();var Ts;Ts={},Ts[bee]=!0,Ts[xee]=!0,Ts[_ee]=!0,Ts[wee]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=B4(t,function(n){return n in Element.prototype});return r||e})();var G4=function(t){return function(r){return t===r}},See=G4("scroll"),Eee=G4("auto"),m5=function(t,r){return r(t.overflowX)||r(t.overflowY)},Aee=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return m5(n,See)||m5(n,Eee)},Tee=function(){return!1},Cee=function e(t){return t==null?null:t===document.body?Tee()?t:null:t===document.documentElement?null:Aee(t)?t:e(t.parentElement)},v_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Oee=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},kee=function(e){var t=Cee(e),r=Oee(e);return{closestScrollable:t,isFixedOnPage:r}},Mee=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,s=e.closest,c=function(){if(!s)return null;var m=s.scrollSize,E=s.client,M=z4({scrollHeight:m.scrollHeight,scrollWidth:m.scrollWidth,height:E.paddingBox.height,width:E.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:E,scrollSize:m,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:M,diff:{value:yl,displacement:yl}}}}(),d=a==="vertical"?oee:uee,y=tee({page:l,withPlaceholder:null,axis:d,frame:c}),g={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:d,isEnabled:r,client:o,page:l,frame:c,subject:y};return g},Iee=function(t,r){var n=L4(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,s={top:i,right:l,bottom:o,left:a},c=P4(s,n.border),d=RS({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return d},Ree=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,c=n.closestScrollable,d=Iee(t,c),y=d_(d,i),g=function(){if(!c)return null;var E=L4(c),M={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:E,page:d_(E,i),scroll:v_(c),scrollSize:M,shouldClipSubject:s}}(),m=Mee({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:d,page:y,closest:g});return m},Fee={passive:!1},Pee={passive:!0},g5=function(e){return e.shouldPublishImmediately?Fee:Pee};function Cm(e){var t=Kt.exports.useContext(e);return t||si(!1),t}var Jv=function(t){return t&&t.env.closestScrollable||null};function Nee(e){var t=Kt.exports.useRef(null),r=Cm(PS),n=j4("droppable"),i=r.registry,a=r.marshal,o=mee(e),l=zn(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=Kt.exports.useRef(l),c=zn(function(){return Kr(function(T,P){t.current||si(!1);var D={x:T,y:P};a.updateDroppableScroll(l.id,D)})},[l.id,a]),d=dn(function(){var T=t.current;return!T||!T.env.closestScrollable?yl:v_(T.env.closestScrollable)},[]),y=dn(function(){var T=d();c(T.x,T.y)},[d,c]),g=zn(function(){return zJ(y)},[y]),m=dn(function(){var T=t.current,P=Jv(T);T&&P||si(!1);var D=T.scrollOptions;if(D.shouldPublishImmediately){y();return}g()},[g,y]),E=dn(function(T,P){t.current&&si(!1);var D=o.current,Y=D.getDroppableRef();Y||si(!1);var j=kee(Y),re={ref:Y,descriptor:l,env:j,scrollOptions:P};t.current=re;var Ee=Ree({ref:Y,descriptor:l,env:j,windowScroll:T,direction:D.direction,isDropDisabled:D.isDropDisabled,isCombineEnabled:D.isCombineEnabled,shouldClipSubject:!D.ignoreContainerClipping}),me=j.closestScrollable;return me&&(me.setAttribute(v5.contextId,r.contextId),me.addEventListener("scroll",m,g5(re.scrollOptions))),Ee},[r.contextId,l,m,o]),M=dn(function(){var T=t.current,P=Jv(T);return T&&P||si(!1),v_(P)},[]),b=dn(function(){var T=t.current;T||si(!1);var P=Jv(T);t.current=null,P&&(g.cancel(),P.removeAttribute(v5.contextId),P.removeEventListener("scroll",m,g5(T.scrollOptions)))},[m,g]),w=dn(function(T){var P=t.current;P||si(!1);var D=Jv(P);D||si(!1),D.scrollTop+=T.y,D.scrollLeft+=T.x},[]),_=zn(function(){return{getDimensionAndWatchScroll:E,getScrollWhileDragging:M,dragStopped:b,scroll:w}},[b,E,M,w]),C=zn(function(){return{uniqueId:n,descriptor:l,callbacks:_}},[_,l,n]);Kh(function(){return s.current=C.descriptor,i.droppable.register(C),function(){t.current&&b(),i.droppable.unregister(C)}},[_,l,b,C,a,i.droppable]),Kh(function(){!t.current||a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),Kh(function(){!t.current||a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function wb(){}var y5={width:0,height:0,margin:ZJ},Lee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?y5:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},Dee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=Lee({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?S0.placeholder:null}};function $ee(e){var t=Kt.exports.useRef(null),r=dn(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=Kt.exports.useState(e.animate==="open"),s=l[0],c=l[1];Kt.exports.useEffect(function(){return s?n!=="open"?(r(),c(!1),wb):t.current?wb:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):wb},[n,s,r]);var d=dn(function(g){g.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),y=Dee({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return Tn.createElement(e.placeholder.tagName,{style:y,"data-rbd-placeholder-context-id":o,onTransitionEnd:d,ref:e.innerRef})}var Bee=Tn.memo($ee),NS=Tn.createContext(null),zee=function(e){zd(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:Boolean(n.props.on),data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(i.on),data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(Tn.PureComponent),x5={dragging:5e3,dropAnimating:4500},Uee=function(t,r){return r?S0.drop(r.duration):t?S0.snap:S0.fluid},jee=function(t,r){return t?r?Ed.opacity.drop:Ed.opacity.combining:null},Gee=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function Wee(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),l=Gee(e),s=Boolean(a),c=s?p_.drop(n,o):p_.moveTo(n),d={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:Uee(l,a),transform:c,opacity:jee(o,s),zIndex:s?x5.dropAnimating:x5.dragging,pointerEvents:"none"};return d}function Hee(e){return{transform:p_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function Vee(e){return e.type==="DRAGGING"?Wee(e):Hee(e)}function qee(e,t,r){r===void 0&&(r=yl);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=N4(i,n),o=d_(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},s={x:a.marginBox.width,y:a.marginBox.height},c={descriptor:e,placeholder:l,displaceBy:s,client:a,page:o};return c}function Yee(e){var t=j4("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,s=zn(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),c=dn(function(m){var E=i();return E||si(!1),qee(r,E,m)},[r,i]),d=zn(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:c}},[r,c,s,t]),y=Kt.exports.useRef(d),g=Kt.exports.useRef(!0);Kh(function(){return n.draggable.register(y.current),function(){return n.draggable.unregister(y.current)}},[n.draggable]),Kh(function(){if(g.current){g.current=!1;return}var m=y.current;y.current=d,n.draggable.update(d,m)},[d,n.draggable])}function Xee(e){e.preventDefault()}function Qee(e){var t=Kt.exports.useRef(null),r=dn(function(re){t.current=re},[]),n=dn(function(){return t.current},[]),i=Cm(PS),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,s=Cm(NS),c=s.type,d=s.droppableId,y=zn(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}},[e.draggableId,e.index,c,d]),g=e.children,m=e.draggableId,E=e.isEnabled,M=e.shouldRespectForcePress,b=e.canDragInteractiveElements,w=e.isClone,_=e.mapped,C=e.dropAnimationFinished;if(!w){var T=zn(function(){return{descriptor:y,registry:l,getDraggableRef:n,canDragInteractiveElements:b,shouldRespectForcePress:M,isEnabled:E}},[y,l,n,b,M,E]);Yee(T)}var P=zn(function(){return E?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Xee}:null},[a,o,m,E]),D=dn(function(re){_.type==="DRAGGING"&&(!_.dropping||re.propertyName==="transform"&&C())},[C,_]),Y=zn(function(){var re=Vee(_),Ee=_.type==="DRAGGING"&&_.dropping?D:null,me={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":m,style:re,onTransitionEnd:Ee},dragHandleProps:P};return me},[a,P,m,_,D,r]),j=zn(function(){return{draggableId:y.id,type:y.type,source:{index:y.index,droppableId:y.droppableId}}},[y.droppableId,y.id,y.index,y.type]);return g(Y,_.snapshot,j)}var W4=function(e,t){return e===t},H4=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Zee=function(t){return t.combine?t.combine.draggableId:null},Kee=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function Jee(){var e=Kr(function(i,a){return{x:i,y:a}}),t=Kr(function(i,a,o,l,s){return{isDragging:!0,isClone:a,isDropAnimating:Boolean(s),dropAnimation:s,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=Kr(function(i,a,o,l,s,c,d){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:c,mode:a,offset:i,dimension:o,forceShouldAnimate:d,snapshot:t(a,l,s,c,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,s=a.dimensions.draggables[o.draggableId],c=_0(a.impact),d=Kee(a.impact),y=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,s,o.isClone,c,d,y)}if(a.phase==="DROP_ANIMATING"){var g=a.completed;if(g.result.draggableId!==o.draggableId)return null;var m=o.isClone,E=a.dimensions.draggables[o.draggableId],M=g.result,b=M.mode,w=H4(M),_=Zee(M),C=a.dropDuration,T={duration:C,curve:FS.drop,moveTo:a.newHomeClientOffset,opacity:_?Ed.opacity.drop:null,scale:_?Ed.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:E,dropping:T,draggingOver:w,combineWith:_,mode:b,forceShouldAnimate:null,snapshot:t(b,m,w,_,T)}}}return null};return n}function V4(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var ete={mapped:{type:"SECONDARY",offset:yl,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:V4(null)}};function tte(){var e=Kr(function(o,l){return{x:o,y:l}}),t=Kr(V4),r=Kr(function(o,l,s){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:s,snapshot:t(l)}}}),n=function(l){return l?r(yl,l,!0):null},i=function(l,s,c,d){var y=c.displaced.visible[l],g=Boolean(d.inVirtualList&&d.effected[l]),m=aee(c),E=m&&m.draggableId===l?s:null;if(!y){if(!g)return n(E);if(c.displaced.invisible[l])return null;var M=qJ(d.displacedBy.point),b=e(M.x,M.y);return r(b,E,!0)}if(g)return n(E);var w=c.displacedBy.point,_=e(w.x,w.y);return r(_,E,y.shouldAnimate)},a=function(l,s){if(l.isDragging)return l.critical.draggable.id===s.draggableId?null:i(s.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var c=l.completed;return c.result.draggableId===s.draggableId?null:i(s.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return a}var rte=function(){var t=Jee(),r=tte(),n=function(a,o){return t(a,o)||r(a,o)||ete};return n},nte={dropAnimationFinished:see},ite=R4(rte,nte,null,{context:U4,pure:!0,areStatePropsEqual:W4})(Qee);function q4(e){var t=Cm(NS),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:ma(ite,{...e})}function ere(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return ma(q4,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function ate(e){var t=Kt.exports.useContext(PS);t||si(!1);var r=t.contextId,n=t.isMovementAllowed,i=Kt.exports.useRef(null),a=Kt.exports.useRef(null),o=e.children,l=e.droppableId,s=e.type,c=e.mode,d=e.direction,y=e.ignoreContainerClipping,g=e.isDropDisabled,m=e.isCombineEnabled,E=e.snapshot,M=e.useClone,b=e.updateViewportMaxScroll,w=e.getContainerForClone,_=dn(function(){return i.current},[]),C=dn(function(me){i.current=me},[]);dn(function(){return a.current},[]);var T=dn(function(me){a.current=me},[]),P=dn(function(){n()&&b({maxScroll:hee()})},[n,b]);Nee({droppableId:l,type:s,mode:c,direction:d,isDropDisabled:g,isCombineEnabled:m,ignoreContainerClipping:y,getDroppableRef:_});var D=ma(zee,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(me){var ke=me.onClose,Pe=me.data,Le=me.animate;return ma(Bee,{placeholder:Pe,onClose:ke,innerRef:T,animate:Le,contextId:r,onTransitionEnd:P})}}),Y=zn(function(){return{innerRef:C,placeholder:D,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,D,C]),j=M?M.dragging.draggableId:null,re=zn(function(){return{droppableId:l,type:s,isUsingCloneFor:j}},[l,j,s]);function Ee(){if(!M)return null;var me=M.dragging,ke=M.render,Pe=ma(q4,{draggableId:me.draggableId,index:me.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Le,ut){return ke(Le,ut,me)}});return Ah.createPortal(Pe,w())}return pY(NS.Provider,{value:re,children:[o(Y,E),Ee()]})}var _b=function(t,r){return t===r.droppable.type},b5=function(t,r){return r.draggables[t.draggable.id]},ote=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=ga({},t,{shouldAnimatePlaceholder:!1}),n=Kr(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Kr(function(o,l,s,c,d,y){var g=d.descriptor.id,m=d.descriptor.droppableId===o;if(m){var E=y?{render:y,dragging:n(d.descriptor)}:null,M={isDraggingOver:s,draggingOverWith:s?g:null,draggingFromThisWith:g,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!1,snapshot:M,useClone:E}}if(!l)return r;if(!c)return t;var b={isDraggingOver:s,draggingOverWith:g,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!0,snapshot:b,useClone:null}}),a=function(l,s){var c=s.droppableId,d=s.type,y=!s.isDropDisabled,g=s.renderClone;if(l.isDragging){var m=l.critical;if(!_b(d,m))return r;var E=b5(m,l.dimensions),M=_0(l.impact)===c;return i(c,y,M,M,E,g)}if(l.phase==="DROP_ANIMATING"){var b=l.completed;if(!_b(d,b.critical))return r;var w=b5(b.critical,l.dimensions);return i(c,y,H4(b.result)===c,_0(b.impact)===c,w,g)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var _=l.completed;if(!_b(d,_.critical))return r;var C=_0(_.impact)===c,T=Boolean(_.impact.at&&_.impact.at.type==="COMBINE"),P=_.critical.droppable.id===c;return C?T?t:r:P?t:r}return r};return a},ute={updateViewportMaxScroll:lee};function lte(){return document.body||si(!1),document.body}var ste={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:lte},fte=R4(ote,ute,null,{context:U4,pure:!0,areStatePropsEqual:W4})(ate);fte.defaultProps=ste;var cte=typeof performance=="object"&&typeof performance.now=="function",w5=cte?function(){return performance.now()}:function(){return Date.now()};function _5(e){cancelAnimationFrame(e.id)}function hte(e,t){var r=w5();function n(){w5()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var Cs=null;function S5(e){if(e===void 0&&(e=!1),Cs===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Cs="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Cs="negative":Cs="positive-ascending"),document.body.removeChild(t),Cs}return Cs}var dte=150,pte=function(t,r){return t};function vte(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,y=e.validateProps;return r=t=function(g){zd(m,g);function m(M){var b;return b=g.call(this,M)||this,b._instanceProps=c(b.props,Yv(Yv(b))),b._outerRef=void 0,b._resetIsScrollingTimeoutId=null,b.state={instance:Yv(Yv(b)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof b.props.initialScrollOffset=="number"?b.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},b._callOnItemsRendered=void 0,b._callOnItemsRendered=Kr(function(w,_,C,T){return b.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:_,visibleStartIndex:C,visibleStopIndex:T})}),b._callOnScroll=void 0,b._callOnScroll=Kr(function(w,_,C){return b.props.onScroll({scrollDirection:w,scrollOffset:_,scrollUpdateWasRequested:C})}),b._getItemStyle=void 0,b._getItemStyle=function(w){var _=b.props,C=_.direction,T=_.itemSize,P=_.layout,D=b._getItemStyleCache(d&&T,d&&P,d&&C),Y;if(D.hasOwnProperty(w))Y=D[w];else{var j=n(b.props,w,b._instanceProps),re=a(b.props,w,b._instanceProps),Ee=C==="horizontal"||P==="horizontal",me=C==="rtl",ke=Ee?j:0;D[w]=Y={position:"absolute",left:me?void 0:ke,right:me?ke:void 0,top:Ee?0:j,height:Ee?"100%":re,width:Ee?re:"100%"}}return Y},b._getItemStyleCache=void 0,b._getItemStyleCache=Kr(function(w,_,C){return{}}),b._onScrollHorizontal=function(w){var _=w.currentTarget,C=_.clientWidth,T=_.scrollLeft,P=_.scrollWidth;b.setState(function(D){if(D.scrollOffset===T)return null;var Y=b.props.direction,j=T;if(Y==="rtl")switch(S5()){case"negative":j=-T;break;case"positive-descending":j=P-C-T;break}return j=Math.max(0,Math.min(j,P-C)),{isScrolling:!0,scrollDirection:D.scrollOffset<T?"forward":"backward",scrollOffset:j,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._onScrollVertical=function(w){var _=w.currentTarget,C=_.clientHeight,T=_.scrollHeight,P=_.scrollTop;b.setState(function(D){if(D.scrollOffset===P)return null;var Y=Math.max(0,Math.min(P,T-C));return{isScrolling:!0,scrollDirection:D.scrollOffset<Y?"forward":"backward",scrollOffset:Y,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._outerRefSetter=function(w){var _=b.props.outerRef;b._outerRef=w,typeof _=="function"?_(w):_!=null&&typeof _=="object"&&_.hasOwnProperty("current")&&(_.current=w)},b._resetIsScrollingDebounced=function(){b._resetIsScrollingTimeoutId!==null&&_5(b._resetIsScrollingTimeoutId),b._resetIsScrollingTimeoutId=hte(b._resetIsScrolling,dte)},b._resetIsScrolling=function(){b._resetIsScrollingTimeoutId=null,b.setState({isScrolling:!1},function(){b._getItemStyleCache(-1,null)})},b}m.getDerivedStateFromProps=function(b,w){return mte(b,w),y(b),null};var E=m.prototype;return E.scrollTo=function(b){b=Math.max(0,b),this.setState(function(w){return w.scrollOffset===b?null:{scrollDirection:w.scrollOffset<b?"forward":"backward",scrollOffset:b,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},E.scrollToItem=function(b,w){w===void 0&&(w="auto");var _=this.props.itemCount,C=this.state.scrollOffset;b=Math.max(0,Math.min(b,_-1)),this.scrollTo(o(this.props,b,w,C,this._instanceProps))},E.componentDidMount=function(){var b=this.props,w=b.direction,_=b.initialScrollOffset,C=b.layout;if(typeof _=="number"&&this._outerRef!=null){var T=this._outerRef;w==="horizontal"||C==="horizontal"?T.scrollLeft=_:T.scrollTop=_}this._callPropsCallbacks()},E.componentDidUpdate=function(){var b=this.props,w=b.direction,_=b.layout,C=this.state,T=C.scrollOffset,P=C.scrollUpdateWasRequested;if(P&&this._outerRef!=null){var D=this._outerRef;if(w==="horizontal"||_==="horizontal")if(w==="rtl")switch(S5()){case"negative":D.scrollLeft=-T;break;case"positive-ascending":D.scrollLeft=T;break;default:var Y=D.clientWidth,j=D.scrollWidth;D.scrollLeft=j-Y-T;break}else D.scrollLeft=T;else D.scrollTop=T}this._callPropsCallbacks()},E.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_5(this._resetIsScrollingTimeoutId)},E.render=function(){var b=this.props,w=b.children,_=b.className,C=b.direction,T=b.height,P=b.innerRef,D=b.innerElementType,Y=b.innerTagName,j=b.itemCount,re=b.itemData,Ee=b.itemKey,me=Ee===void 0?pte:Ee,ke=b.layout,Pe=b.outerElementType,Le=b.outerTagName,ut=b.style,nt=b.useIsScrolling,De=b.width,We=this.state.isScrolling,_t=C==="horizontal"||ke==="horizontal",He=_t?this._onScrollHorizontal:this._onScrollVertical,be=this._getRangeToRender(),Ve=be[0],st=be[1],Qe=[];if(j>0)for(var ct=Ve;ct<=st;ct++)Qe.push(Kt.exports.createElement(w,{data:re,key:me(ct,re),index:ct,isScrolling:nt?We:void 0,style:this._getItemStyle(ct)}));var yt=i(this.props,this._instanceProps);return Kt.exports.createElement(Pe||Le||"div",{className:_,onScroll:He,ref:this._outerRefSetter,style:ga({position:"relative",height:T,width:De,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:C},ut)},Kt.exports.createElement(D||Y||"div",{children:Qe,ref:P,style:{height:_t?"100%":yt,pointerEvents:We?"none":void 0,width:_t?yt:"100%"}}))},E._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var b=this.props.itemCount;if(b>0){var w=this._getRangeToRender(),_=w[0],C=w[1],T=w[2],P=w[3];this._callOnItemsRendered(_,C,T,P)}}if(typeof this.props.onScroll=="function"){var D=this.state,Y=D.scrollDirection,j=D.scrollOffset,re=D.scrollUpdateWasRequested;this._callOnScroll(Y,j,re)}},E._getRangeToRender=function(){var b=this.props,w=b.itemCount,_=b.overscanCount,C=this.state,T=C.isScrolling,P=C.scrollDirection,D=C.scrollOffset;if(w===0)return[0,0,0,0];var Y=l(this.props,D,this._instanceProps),j=s(this.props,Y,D,this._instanceProps),re=!T||P==="backward"?Math.max(1,_):1,Ee=!T||P==="forward"?Math.max(1,_):1;return[Math.max(0,Y-re),Math.max(0,Math.min(w-1,j+Ee)),Y,j]},m}(Kt.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var mte=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},tre=vte({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,s=t.itemSize,c=t.layout,d=t.width,y=a==="horizontal"||c==="horizontal",g=y?d:o,m=Math.max(0,l*s-g),E=Math.min(m,r*s),M=Math.max(0,r*s-g+s);switch(n==="smart"&&(i>=M-g&&i<=E+g?n="auto":n="center"),n){case"start":return E;case"end":return M;case"center":{var b=Math.round(M+(E-M)/2);return b<Math.ceil(g/2)?0:b>m+Math.floor(g/2)?m:b}case"auto":default:return i>=M&&i<=E?i:i<M?M:E}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,s=t.layout,c=t.width,d=i==="horizontal"||s==="horizontal",y=r*l,g=d?c:a,m=Math.ceil((g+n-y)/l);return Math.max(0,Math.min(o-1,r+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),gte=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},yte=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),xte=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},bte=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},E5=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},wte=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ti=void 0;typeof window<"u"?Ti=window:typeof self<"u"?Ti=self:Ti=global;var m_=null,g_=null,A5=20,Sb=Ti.clearTimeout,T5=Ti.setTimeout,Eb=Ti.cancelAnimationFrame||Ti.mozCancelAnimationFrame||Ti.webkitCancelAnimationFrame,C5=Ti.requestAnimationFrame||Ti.mozRequestAnimationFrame||Ti.webkitRequestAnimationFrame;Eb==null||C5==null?(m_=Sb,g_=function(t){return T5(t,A5)}):(m_=function(t){var r=wte(t,2),n=r[0],i=r[1];Eb(n),Sb(i)},g_=function(t){var r=C5(function(){Sb(n),t()}),n=T5(function(){Eb(r),t()},A5);return[r,n]});function _te(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){o=function(T){var P=T.__resizeTriggers__,D=P.firstElementChild,Y=P.lastElementChild,j=D.firstElementChild;Y.scrollLeft=Y.scrollWidth,Y.scrollTop=Y.scrollHeight,j.style.width=D.offsetWidth+1+"px",j.style.height=D.offsetHeight+1+"px",D.scrollLeft=D.scrollWidth,D.scrollTop=D.scrollHeight},a=function(T){return T.offsetWidth!==T.__resizeLast__.width||T.offsetHeight!==T.__resizeLast__.height},l=function(T){if(!(T.target.className&&typeof T.target.className.indexOf=="function"&&T.target.className.indexOf("contract-trigger")<0&&T.target.className.indexOf("expand-trigger")<0)){var P=this;o(this),this.__resizeRAF__&&m_(this.__resizeRAF__),this.__resizeRAF__=g_(function(){a(P)&&(P.__resizeLast__.width=P.offsetWidth,P.__resizeLast__.height=P.offsetHeight,P.__resizeListeners__.forEach(function(j){j.call(P,T)}))})}};var c=!1,d="";n="animationstart";var y="Webkit Moz O ms".split(" "),g="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),m="";{var E=document.createElement("fakeelement");if(E.style.animationName!==void 0&&(c=!0),c===!1){for(var M=0;M<y.length;M++)if(E.style[y[M]+"AnimationName"]!==void 0){m=y[M],d="-"+m.toLowerCase()+"-",n=g[M],c=!0;break}}}r="resizeanim",t="@"+d+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=d+"animation: 1ms "+r+"; "}var b=function(T){if(!T.getElementById("detectElementResize")){var P=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',D=T.head||T.getElementsByTagName("head")[0],Y=T.createElement("style");Y.id="detectElementResize",Y.type="text/css",e!=null&&Y.setAttribute("nonce",e),Y.styleSheet?Y.styleSheet.cssText=P:Y.appendChild(T.createTextNode(P)),D.appendChild(Y)}},w=function(T,P){if(s)T.attachEvent("onresize",P);else{if(!T.__resizeTriggers__){var D=T.ownerDocument,Y=Ti.getComputedStyle(T);Y&&Y.position==="static"&&(T.style.position="relative"),b(D),T.__resizeLast__={},T.__resizeListeners__=[],(T.__resizeTriggers__=D.createElement("div")).className="resize-triggers";var j=D.createElement("div");j.className="expand-trigger",j.appendChild(D.createElement("div"));var re=D.createElement("div");re.className="contract-trigger",T.__resizeTriggers__.appendChild(j),T.__resizeTriggers__.appendChild(re),T.appendChild(T.__resizeTriggers__),o(T),T.addEventListener("scroll",l,!0),n&&(T.__resizeTriggers__.__animationListener__=function(me){me.animationName===r&&o(T)},T.__resizeTriggers__.addEventListener(n,T.__resizeTriggers__.__animationListener__))}T.__resizeListeners__.push(P)}},_=function(T,P){if(s)T.detachEvent("onresize",P);else if(T.__resizeListeners__.splice(T.__resizeListeners__.indexOf(P),1),!T.__resizeListeners__.length){T.removeEventListener("scroll",l,!0),T.__resizeTriggers__.__animationListener__&&(T.__resizeTriggers__.removeEventListener(n,T.__resizeTriggers__.__animationListener__),T.__resizeTriggers__.__animationListener__=null);try{T.__resizeTriggers__=!T.removeChild(T.__resizeTriggers__)}catch{}}};return{addResizeListener:w,removeResizeListener:_}}var Ste=function(e){bte(t,e);function t(){var r,n,i,a;gte(this,t);for(var o=arguments.length,l=Array(o),s=0;s<o;s++)l[s]=arguments[s];return a=(n=(i=E5(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var c=i.props,d=c.disableHeight,y=c.disableWidth,g=c.onResize;if(i._parentNode){var m=i._parentNode.offsetHeight||0,E=i._parentNode.offsetWidth||0,M=window.getComputedStyle(i._parentNode)||{},b=parseInt(M.paddingLeft,10)||0,w=parseInt(M.paddingRight,10)||0,_=parseInt(M.paddingTop,10)||0,C=parseInt(M.paddingBottom,10)||0,T=m-_-C,P=E-b-w;(!d&&i.state.height!==T||!y&&i.state.width!==P)&&(i.setState({height:m-_-C,width:E-b-w}),g({height:m,width:E}))}},i._setRef=function(c){i._autoSizer=c},n),E5(i,a)}return yte(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=_te(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,s=n.style,c=this.state,d=c.height,y=c.width,g={overflow:"visible"},m={},E=!1;return o||(d===0&&(E=!0),g.height=0,m.height=d),l||(y===0&&(E=!0),g.width=0,m.width=y),Kt.exports.createElement("div",{className:a,ref:this._setRef,style:xte({},g,s)},!E&&i(m))}}]),t}(Kt.exports.PureComponent);Ste.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var Ete=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,Ate=typeof self=="object"&&self&&self.Object===Object&&self,Tte=Ete||Ate||Function("return this")(),O5=Tte.Symbol;O5&&O5.isConcatSpreadable;export{Kt as A,hr as B,Vte as C,Kr as D,Ote as E,ma as F,Xte as G,Yte as H,Zte as I,Qte as J,pY as K,Ah as L,_g as M,qte as N,Jte as O,Kte as P,Ste as Q,Tn as R,tre as S,ere as T,fte as U,O2 as V,Mte as a,Nte as b,Lte as c,fB as d,lR as e,Ite as f,Rte as g,Fte as h,N2 as i,Y7 as j,$te as k,Ym as l,Pte as m,Dte as n,yR as o,gR as p,JR as q,kte as r,Bte as s,i7 as t,zte as u,Ute as v,jte as w,Gte as x,Wte as y,Hte as z};
|
|
1174
|
-
//# sourceMappingURL=vendor.d0e2a5b9.js.map
|