@deephaven/embed-chart 0.37.4-logout.0 → 0.37.4-logout.17
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/App-e9cb33ce.js +2 -0
- package/build/assets/App-e9cb33ce.js.map +1 -0
- package/build/assets/index-0e86c69a.js +9 -0
- package/build/assets/index-0e86c69a.js.map +1 -0
- package/build/assets/index-d295a2b4.css +6 -0
- package/build/assets/index-d2bed521.css +1 -0
- package/build/assets/index-e43a389c.js +2 -0
- package/build/assets/index-e43a389c.js.map +1 -0
- package/build/assets/logo-8e1e546e.png +0 -0
- package/build/assets/plotly-24e988bc.js +7 -0
- package/build/assets/plotly-24e988bc.js.map +1 -0
- package/build/assets/useConnection-1a8db09b.js +2 -0
- package/build/assets/useConnection-1a8db09b.js.map +1 -0
- package/build/assets/vendor-24ebff0f.js +1179 -0
- package/build/assets/vendor-24ebff0f.js.map +1 -0
- package/build/index.html +3 -3
- package/package.json +14 -14
- package/build/assets/App-3a867655.js +0 -2
- package/build/assets/App-3a867655.js.map +0 -1
- package/build/assets/index-04780174.css +0 -6
- package/build/assets/index-58d4f776.css +0 -1
- package/build/assets/index-66628aac.js +0 -2
- package/build/assets/index-66628aac.js.map +0 -1
- package/build/assets/index-d8e3351a.js +0 -2
- package/build/assets/index-d8e3351a.js.map +0 -1
- package/build/assets/plotly-652a0245.js +0 -7
- package/build/assets/plotly-652a0245.js.map +0 -1
- package/build/assets/useConnection-e7995e6c.js +0 -2
- package/build/assets/useConnection-e7995e6c.js.map +0 -1
- package/build/assets/vendor-fc22456a.js +0 -1151
- package/build/assets/vendor-fc22456a.js.map +0 -1
|
@@ -0,0 +1,1179 @@
|
|
|
1
|
+
import{g as yi,c as Zt,a as Pl}from"./helpers-042e6b4d.js";var pk={exports:{}},Xd={};/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/var JE=Object.getOwnPropertySymbols,c8=Object.prototype.hasOwnProperty,h8=Object.prototype.propertyIsEnumerable;function d8(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function p8(){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 Fl=p8()?Object.assign:function(e,t){for(var r,n=d8(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)c8.call(r,o)&&(n[o]=r[o]);if(JE){i=JE(r);for(var u=0;u<i.length;u++)h8.call(r,i[u])&&(n[i[u]]=r[i[u]])}}return n},vk={exports:{}},gr={};/** @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 M2=Fl,Bf=60103,mk=60106;gr.Fragment=60107;gr.StrictMode=60108;gr.Profiler=60114;var gk=60109,yk=60110,bk=60112;gr.Suspense=60113;var xk=60115,wk=60116;if(typeof Symbol=="function"&&Symbol.for){var Yi=Symbol.for;Bf=Yi("react.element"),mk=Yi("react.portal"),gr.Fragment=Yi("react.fragment"),gr.StrictMode=Yi("react.strict_mode"),gr.Profiler=Yi("react.profiler"),gk=Yi("react.provider"),yk=Yi("react.context"),bk=Yi("react.forward_ref"),gr.Suspense=Yi("react.suspense"),xk=Yi("react.memo"),wk=Yi("react.lazy")}var eA=typeof Symbol=="function"&&Symbol.iterator;function v8(e){return e===null||typeof e!="object"?null:(e=eA&&e[eA]||e["@@iterator"],typeof e=="function"?e:null)}function Kd(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 _k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sk={};function zf(e,t,r){this.props=e,this.context=t,this.refs=Sk,this.updater=r||_k}zf.prototype.isReactComponent={};zf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Kd(85));this.updater.enqueueSetState(this,e,t,"setState")};zf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ek(){}Ek.prototype=zf.prototype;function k2(e,t,r){this.props=e,this.context=t,this.refs=Sk,this.updater=r||_k}var R2=k2.prototype=new Ek;R2.constructor=k2;M2(R2,zf.prototype);R2.isPureReactComponent=!0;var I2={current:null},Ak=Object.prototype.hasOwnProperty,Ck={key:!0,ref:!0,__self:!0,__source:!0};function Tk(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)Ak.call(t,n)&&!Ck.hasOwnProperty(n)&&(i[n]=t[n]);var u=arguments.length-2;if(u===1)i.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps,u)i[n]===void 0&&(i[n]=u[n]);return{$$typeof:Bf,type:e,key:a,ref:o,props:i,_owner:I2.current}}function m8(e,t){return{$$typeof:Bf,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function P2(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bf}function g8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var tA=/\/+/g;function h1(e,t){return typeof e=="object"&&e!==null&&e.key!=null?g8(""+e.key):t.toString(36)}function D0(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 Bf:case mk:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+h1(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(tA,"$&/")+"/"),D0(i,t,r,"",function(c){return c})):i!=null&&(P2(i)&&(i=m8(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(tA,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var s=n+h1(a,u);o+=D0(a,t,r,s,i)}else if(s=v8(e),typeof s=="function")for(e=s.call(e),u=0;!(a=e.next()).done;)a=a.value,s=n+h1(a,u++),o+=D0(a,t,r,s,i);else if(a==="object")throw t=""+e,Error(Kd(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function Uv(e,t,r){if(e==null)return e;var n=[],i=0;return D0(e,n,"","",function(a){return t.call(r,a,i++)}),n}function y8(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 Ok={current:null};function fo(){var e=Ok.current;if(e===null)throw Error(Kd(321));return e}var b8={ReactCurrentDispatcher:Ok,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:I2,IsSomeRendererActing:{current:!1},assign:M2};gr.Children={map:Uv,forEach:function(e,t,r){Uv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Uv(e,function(){t++}),t},toArray:function(e){return Uv(e,function(t){return t})||[]},only:function(e){if(!P2(e))throw Error(Kd(143));return e}};gr.Component=zf;gr.PureComponent=k2;gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b8;gr.cloneElement=function(e,t,r){if(e==null)throw Error(Kd(267,e));var n=M2({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=I2.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)Ak.call(t,s)&&!Ck.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&u!==void 0?u[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];n.children=u}return{$$typeof:Bf,type:e.type,key:i,ref:a,props:n,_owner:o}};gr.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:yk,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:gk,_context:e},e.Consumer=e};gr.createElement=Tk;gr.createFactory=function(e){var t=Tk.bind(null,e);return t.type=e,t};gr.createRef=function(){return{current:null}};gr.forwardRef=function(e){return{$$typeof:bk,render:e}};gr.isValidElement=P2;gr.lazy=function(e){return{$$typeof:wk,_payload:{_status:-1,_result:e},_init:y8}};gr.memo=function(e,t){return{$$typeof:xk,type:e,compare:t===void 0?null:t}};gr.useCallback=function(e,t){return fo().useCallback(e,t)};gr.useContext=function(e,t){return fo().useContext(e,t)};gr.useDebugValue=function(){};gr.useEffect=function(e,t){return fo().useEffect(e,t)};gr.useImperativeHandle=function(e,t,r){return fo().useImperativeHandle(e,t,r)};gr.useLayoutEffect=function(e,t){return fo().useLayoutEffect(e,t)};gr.useMemo=function(e,t){return fo().useMemo(e,t)};gr.useReducer=function(e,t,r){return fo().useReducer(e,t,r)};gr.useRef=function(e){return fo().useRef(e)};gr.useState=function(e){return fo().useState(e)};gr.version="17.0.2";vk.exports=gr;var jt=vk.exports;const wr=yi(jt);/** @license React v17.0.2
|
|
13
|
+
* react-jsx-runtime.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
|
+
*/var x8=jt,Mk=60103;Xd.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var rA=Symbol.for;Mk=rA("react.element"),Xd.Fragment=rA("react.fragment")}var w8=x8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_8=Object.prototype.hasOwnProperty,S8={key:!0,ref:!0,__self:!0,__source:!0};function kk(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)_8.call(t,n)&&!S8.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:Mk,type:e,key:a,ref:o,props:i,_owner:w8.current}}Xd.jsx=kk;Xd.jsxs=kk;pk.exports=Xd;var ioe=pk.exports,Rk={exports:{}},$i={},Ik={exports:{}},Pk={};/** @license React v0.20.2
|
|
20
|
+
* scheduler.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
|
+
*/(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,u=o.now();e.unstable_now=function(){return o.now()-u}}if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,c=null,d=function(){if(s!==null)try{var xe=e.unstable_now();s(!0,xe),s=null}catch(Ye){throw setTimeout(d,0),Ye}};t=function(xe){s!==null?setTimeout(t,0,xe):(s=xe,setTimeout(d,0))},r=function(xe,Ye){c=setTimeout(xe,Ye)},n=function(){clearTimeout(c)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var g=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var y=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 y!="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 A=!1,E=null,w=-1,x=5,_=0;e.unstable_shouldYield=function(){return e.unstable_now()>=_},i=function(){},e.unstable_forceFrameRate=function(xe){0>xe||125<xe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<xe?Math.floor(1e3/xe):5};var T=new MessageChannel,C=T.port2;T.port1.onmessage=function(){if(E!==null){var xe=e.unstable_now();_=xe+x;try{E(!0,xe)?C.postMessage(null):(A=!1,E=null)}catch(Ye){throw C.postMessage(null),Ye}}else A=!1},t=function(xe){E=xe,A||(A=!0,C.postMessage(null))},r=function(xe,Ye){w=g(function(){xe(e.unstable_now())},Ye)},n=function(){v(w),w=-1}}function R(xe,Ye){var lt=xe.length;xe.push(Ye);e:for(;;){var Ue=lt-1>>>1,vt=xe[Ue];if(vt!==void 0&&0<j(vt,Ye))xe[Ue]=Ye,xe[lt]=vt,lt=Ue;else break e}}function N(xe){return xe=xe[0],xe===void 0?null:xe}function V(xe){var Ye=xe[0];if(Ye!==void 0){var lt=xe.pop();if(lt!==Ye){xe[0]=lt;e:for(var Ue=0,vt=xe.length;Ue<vt;){var Rt=2*(Ue+1)-1,Xt=xe[Rt],q=Rt+1,U=xe[q];if(Xt!==void 0&&0>j(Xt,lt))U!==void 0&&0>j(U,Xt)?(xe[Ue]=U,xe[q]=lt,Ue=q):(xe[Ue]=Xt,xe[Rt]=lt,Ue=Rt);else if(U!==void 0&&0>j(U,lt))xe[Ue]=U,xe[q]=lt,Ue=q;else break e}}return Ye}return null}function j(xe,Ye){var lt=xe.sortIndex-Ye.sortIndex;return lt!==0?lt:xe.id-Ye.id}var ne=[],Te=[],be=1,Re=null,De=3,Le=!1,We=!1,it=!1;function Ie(xe){for(var Ye=N(Te);Ye!==null;){if(Ye.callback===null)V(Te);else if(Ye.startTime<=xe)V(Te),Ye.sortIndex=Ye.expirationTime,R(ne,Ye);else break;Ye=N(Te)}}function Ve(xe){if(it=!1,Ie(xe),!We)if(N(ne)!==null)We=!0,t(Mt);else{var Ye=N(Te);Ye!==null&&r(Ve,Ye.startTime-xe)}}function Mt(xe,Ye){We=!1,it&&(it=!1,n()),Le=!0;var lt=De;try{for(Ie(Ye),Re=N(ne);Re!==null&&(!(Re.expirationTime>Ye)||xe&&!e.unstable_shouldYield());){var Ue=Re.callback;if(typeof Ue=="function"){Re.callback=null,De=Re.priorityLevel;var vt=Ue(Re.expirationTime<=Ye);Ye=e.unstable_now(),typeof vt=="function"?Re.callback=vt:Re===N(ne)&&V(ne),Ie(Ye)}else V(ne);Re=N(ne)}if(Re!==null)var Rt=!0;else{var Xt=N(Te);Xt!==null&&r(Ve,Xt.startTime-Ye),Rt=!1}return Rt}finally{Re=null,De=lt,Le=!1}}var pt=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(xe){xe.callback=null},e.unstable_continueExecution=function(){We||Le||(We=!0,t(Mt))},e.unstable_getCurrentPriorityLevel=function(){return De},e.unstable_getFirstCallbackNode=function(){return N(ne)},e.unstable_next=function(xe){switch(De){case 1:case 2:case 3:var Ye=3;break;default:Ye=De}var lt=De;De=Ye;try{return xe()}finally{De=lt}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=pt,e.unstable_runWithPriority=function(xe,Ye){switch(xe){case 1:case 2:case 3:case 4:case 5:break;default:xe=3}var lt=De;De=xe;try{return Ye()}finally{De=lt}},e.unstable_scheduleCallback=function(xe,Ye,lt){var Ue=e.unstable_now();switch(typeof lt=="object"&<!==null?(lt=lt.delay,lt=typeof lt=="number"&&0<lt?Ue+lt:Ue):lt=Ue,xe){case 1:var vt=-1;break;case 2:vt=250;break;case 5:vt=1073741823;break;case 4:vt=1e4;break;default:vt=5e3}return vt=lt+vt,xe={id:be++,callback:Ye,priorityLevel:xe,startTime:lt,expirationTime:vt,sortIndex:-1},lt>Ue?(xe.sortIndex=lt,R(Te,xe),N(ne)===null&&xe===N(Te)&&(it?n():it=!0,r(Ve,lt-Ue))):(xe.sortIndex=vt,R(ne,xe),We||Le||(We=!0,t(Mt))),xe},e.unstable_wrapCallback=function(xe){var Ye=De;return function(){var lt=De;De=Ye;try{return xe.apply(this,arguments)}finally{De=lt}}}})(Pk);Ik.exports=Pk;var E8=Ik.exports;/** @license React v17.0.2
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var gg=jt,jr=Fl,_n=E8;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(!gg)throw Error(dt(227));var Fk=new Set,gd={};function Nl(e,t){wf(e,t),wf(e+"Capture",t)}function wf(e,t){for(gd[e]=t,e=0;e<t.length;e++)Fk.add(t[e])}var oo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A8=/^[: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]*$/,nA=Object.prototype.hasOwnProperty,iA={},aA={};function C8(e){return nA.call(aA,e)?!0:nA.call(iA,e)?!1:A8.test(e)?aA[e]=!0:(iA[e]=!0,!1)}function T8(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 O8(e,t,r,n){if(t===null||typeof t>"u"||T8(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 Yn(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 In={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){In[e]=new Yn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];In[t]=new Yn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){In[e]=new Yn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){In[e]=new Yn(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){In[e]=new Yn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){In[e]=new Yn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){In[e]=new Yn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){In[e]=new Yn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){In[e]=new Yn(e,5,!1,e.toLowerCase(),null,!1,!1)});var F2=/[\-:]([a-z])/g;function N2(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(F2,N2);In[t]=new Yn(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(F2,N2);In[t]=new Yn(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(F2,N2);In[t]=new Yn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){In[e]=new Yn(e,1,!1,e.toLowerCase(),null,!1,!1)});In.xlinkHref=new Yn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){In[e]=new Yn(e,1,!1,e.toLowerCase(),null,!0,!0)});function L2(e,t,r,n){var i=In.hasOwnProperty(t)?In[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||(O8(t,r,i,n)&&(r=null),n||i===null?C8(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 Ll=gg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Dh=60103,ol=60106,Ho=60107,$2=60108,Xh=60114,D2=60109,B2=60110,yg=60112,Kh=60113,dm=60120,bg=60115,z2=60116,U2=60121,j2=60128,Nk=60129,G2=60130,yw=60131;if(typeof Symbol=="function"&&Symbol.for){var gn=Symbol.for;Dh=gn("react.element"),ol=gn("react.portal"),Ho=gn("react.fragment"),$2=gn("react.strict_mode"),Xh=gn("react.profiler"),D2=gn("react.provider"),B2=gn("react.context"),yg=gn("react.forward_ref"),Kh=gn("react.suspense"),dm=gn("react.suspense_list"),bg=gn("react.memo"),z2=gn("react.lazy"),U2=gn("react.block"),gn("react.scope"),j2=gn("react.opaque.id"),Nk=gn("react.debug_trace_mode"),G2=gn("react.offscreen"),yw=gn("react.legacy_hidden")}var oA=typeof Symbol=="function"&&Symbol.iterator;function lh(e){return e===null||typeof e!="object"?null:(e=oA&&e[oA]||e["@@iterator"],typeof e=="function"?e:null)}var d1;function Bh(e){if(d1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);d1=t&&t[1]||""}return`
|
|
34
|
+
`+d1+e}var p1=!1;function jv(e,t){if(!e||p1)return"";p1=!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(`
|
|
35
|
+
`),a=n.stack.split(`
|
|
36
|
+
`),o=i.length-1,u=a.length-1;1<=o&&0<=u&&i[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(i[o]!==a[u]){if(o!==1||u!==1)do if(o--,u--,0>u||i[o]!==a[u])return`
|
|
37
|
+
`+i[o].replace(" at new "," at ");while(1<=o&&0<=u);break}}}finally{p1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Bh(e):""}function M8(e){switch(e.tag){case 5:return Bh(e.type);case 16:return Bh("Lazy");case 13:return Bh("Suspense");case 19:return Bh("SuspenseList");case 0:case 2:case 15:return e=jv(e.type,!1),e;case 11:return e=jv(e.type.render,!1),e;case 22:return e=jv(e.type._render,!1),e;case 1:return e=jv(e.type,!0),e;default:return""}}function of(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 Ho:return"Fragment";case ol:return"Portal";case Xh:return"Profiler";case $2:return"StrictMode";case Kh:return"Suspense";case dm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case B2:return(e.displayName||"Context")+".Consumer";case D2:return(e._context.displayName||"Context")+".Provider";case yg:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case bg:return of(e.type);case U2:return of(e._render);case z2:t=e._payload,e=e._init;try{return of(e(t))}catch{}}return null}function uu(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Lk(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function k8(e){var t=Lk(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 Gv(e){e._valueTracker||(e._valueTracker=k8(e))}function $k(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Lk(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function pm(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 bw(e,t){var r=t.checked;return jr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function uA(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=uu(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 Dk(e,t){t=t.checked,t!=null&&L2(e,"checked",t,!1)}function xw(e,t){Dk(e,t);var r=uu(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")?ww(e,t.type,r):t.hasOwnProperty("defaultValue")&&ww(e,t.type,uu(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lA(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 ww(e,t,r){(t!=="number"||pm(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function R8(e){var t="";return gg.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function _w(e,t){return e=jr({children:void 0},t),(t=R8(t.children))&&(e.children=t),e}function uf(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=""+uu(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 Sw(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(dt(91));return jr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sA(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:uu(r)}}function Bk(e,t){var r=uu(t.value),n=uu(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 fA(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ew={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function zk(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 Aw(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?zk(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Hv,Uk=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!==Ew.svg||"innerHTML"in e)e.innerHTML=t;else{for(Hv=Hv||document.createElement("div"),Hv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Hv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yd(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Qh={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},I8=["Webkit","ms","Moz","O"];Object.keys(Qh).forEach(function(e){I8.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qh[t]=Qh[e]})});function jk(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Qh.hasOwnProperty(e)&&Qh[e]?(""+t).trim():t+"px"}function Gk(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=jk(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var P8=jr({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 Cw(e,t){if(t){if(P8[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 Tw(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 H2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ow=null,lf=null,sf=null;function cA(e){if(e=Zd(e)){if(typeof Ow!="function")throw Error(dt(280));var t=e.stateNode;t&&(t=Ag(t),Ow(e.stateNode,e.type,t))}}function Hk(e){lf?sf?sf.push(e):sf=[e]:lf=e}function Wk(){if(lf){var e=lf,t=sf;if(sf=lf=null,cA(e),t)for(e=0;e<t.length;e++)cA(t[e])}}function W2(e,t){return e(t)}function qk(e,t,r,n,i){return e(t,r,n,i)}function q2(){}var Vk=W2,ul=!1,v1=!1;function V2(){(lf!==null||sf!==null)&&(q2(),Wk())}function F8(e,t,r){if(v1)return e(t,r);v1=!0;try{return Vk(e,t,r)}finally{v1=!1,V2()}}function bd(e,t){var r=e.stateNode;if(r===null)return null;var n=Ag(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 Mw=!1;if(oo)try{var sh={};Object.defineProperty(sh,"passive",{get:function(){Mw=!0}}),window.addEventListener("test",sh,sh),window.removeEventListener("test",sh,sh)}catch{Mw=!1}function N8(e,t,r,n,i,a,o,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var Zh=!1,vm=null,mm=!1,kw=null,L8={onError:function(e){Zh=!0,vm=e}};function $8(e,t,r,n,i,a,o,u,s){Zh=!1,vm=null,N8.apply(L8,arguments)}function D8(e,t,r,n,i,a,o,u,s){if($8.apply(this,arguments),Zh){if(Zh){var c=vm;Zh=!1,vm=null}else throw Error(dt(198));mm||(mm=!0,kw=c)}}function $l(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&1026&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Yk(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 hA(e){if($l(e)!==e)throw Error(dt(188))}function B8(e){var t=e.alternate;if(!t){if(t=$l(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 hA(i),e;if(a===n)return hA(i),t;a=a.sibling}throw Error(dt(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,u=i.child;u;){if(u===r){o=!0,r=i,n=a;break}if(u===n){o=!0,n=i,r=a;break}u=u.sibling}if(!o){for(u=a.child;u;){if(u===r){o=!0,r=a,n=i;break}if(u===n){o=!0,n=a,r=i;break}u=u.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 Xk(e){if(e=B8(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 dA(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Kk,Y2,Qk,Zk,Rw=!1,ya=[],Zo=null,Jo=null,eu=null,xd=new Map,wd=new Map,fh=[],pA="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 Iw(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function vA(e,t){switch(e){case"focusin":case"focusout":Zo=null;break;case"dragenter":case"dragleave":Jo=null;break;case"mouseover":case"mouseout":eu=null;break;case"pointerover":case"pointerout":xd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wd.delete(t.pointerId)}}function ch(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Iw(t,r,n,i,a),t!==null&&(t=Zd(t),t!==null&&Y2(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function z8(e,t,r,n,i){switch(t){case"focusin":return Zo=ch(Zo,e,t,r,n,i),!0;case"dragenter":return Jo=ch(Jo,e,t,r,n,i),!0;case"mouseover":return eu=ch(eu,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return xd.set(a,ch(xd.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,wd.set(a,ch(wd.get(a)||null,e,t,r,n,i)),!0}return!1}function U8(e){var t=ll(e.target);if(t!==null){var r=$l(t);if(r!==null){if(t=r.tag,t===13){if(t=Yk(r),t!==null){e.blockedOn=t,Zk(e.lanePriority,function(){_n.unstable_runWithPriority(e.priority,function(){Qk(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function B0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Z2(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Zd(r),t!==null&&Y2(t),e.blockedOn=r,!1;t.shift()}return!0}function mA(e,t,r){B0(e)&&r.delete(t)}function j8(){for(Rw=!1;0<ya.length;){var e=ya[0];if(e.blockedOn!==null){e=Zd(e.blockedOn),e!==null&&Kk(e);break}for(var t=e.targetContainers;0<t.length;){var r=Z2(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&ya.shift()}Zo!==null&&B0(Zo)&&(Zo=null),Jo!==null&&B0(Jo)&&(Jo=null),eu!==null&&B0(eu)&&(eu=null),xd.forEach(mA),wd.forEach(mA)}function hh(e,t){e.blockedOn===t&&(e.blockedOn=null,Rw||(Rw=!0,_n.unstable_scheduleCallback(_n.unstable_NormalPriority,j8)))}function Jk(e){function t(i){return hh(i,e)}if(0<ya.length){hh(ya[0],e);for(var r=1;r<ya.length;r++){var n=ya[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Zo!==null&&hh(Zo,e),Jo!==null&&hh(Jo,e),eu!==null&&hh(eu,e),xd.forEach(t),wd.forEach(t),r=0;r<fh.length;r++)n=fh[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<fh.length&&(r=fh[0],r.blockedOn===null);)U8(r),r.blockedOn===null&&fh.shift()}function Wv(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Vs={animationend:Wv("Animation","AnimationEnd"),animationiteration:Wv("Animation","AnimationIteration"),animationstart:Wv("Animation","AnimationStart"),transitionend:Wv("Transition","TransitionEnd")},m1={},eR={};oo&&(eR=document.createElement("div").style,"AnimationEvent"in window||(delete Vs.animationend.animation,delete Vs.animationiteration.animation,delete Vs.animationstart.animation),"TransitionEvent"in window||delete Vs.transitionend.transition);function xg(e){if(m1[e])return m1[e];if(!Vs[e])return e;var t=Vs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in eR)return m1[e]=t[r];return e}var tR=xg("animationend"),rR=xg("animationiteration"),nR=xg("animationstart"),iR=xg("transitionend"),aR=new Map,X2=new Map,G8=["abort","abort",tR,"animationEnd",rR,"animationIteration",nR,"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",iR,"transitionEnd","waiting","waiting"];function K2(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)),X2.set(n,t),aR.set(n,i),Nl(i,[n])}}var H8=_n.unstable_now;H8();var Nr=8;function js(e){if(1&e)return Nr=15,1;if(2&e)return Nr=14,2;if(4&e)return Nr=13,4;var t=24&e;return t!==0?(Nr=12,t):e&32?(Nr=11,32):(t=192&e,t!==0?(Nr=10,t):e&256?(Nr=9,256):(t=3584&e,t!==0?(Nr=8,t):e&4096?(Nr=7,4096):(t=4186112&e,t!==0?(Nr=6,t):(t=62914560&e,t!==0?(Nr=5,t):e&67108864?(Nr=4,67108864):e&134217728?(Nr=3,134217728):(t=805306368&e,t!==0?(Nr=2,t):1073741824&e?(Nr=1,1073741824):(Nr=8,e))))))}function W8(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 q8(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 _d(e,t){var r=e.pendingLanes;if(r===0)return Nr=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,u=e.pingedLanes;if(a!==0)n=a,i=Nr=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=js(s),i=Nr):(u&=a,u!==0&&(n=js(u),i=Nr))}else a=r&~o,a!==0?(n=js(a),i=Nr):u!==0&&(n=js(u),i=Nr);if(n===0)return 0;if(n=31-lu(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&!(t&o)){if(js(t),i<=Nr)return t;Nr=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-lu(t),i=1<<r,n|=e[r],t&=~i;return n}function oR(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gm(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Gs(24&~t),e===0?gm(10,t):e;case 10:return e=Gs(192&~t),e===0?gm(8,t):e;case 8:return e=Gs(3584&~t),e===0&&(e=Gs(4186112&~t),e===0&&(e=512)),e;case 2:return t=Gs(805306368&~t),t===0&&(t=268435456),t}throw Error(dt(358,e))}function Gs(e){return e&-e}function g1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function wg(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-lu(t),e[t]=r}var lu=Math.clz32?Math.clz32:X8,V8=Math.log,Y8=Math.LN2;function X8(e){return e===0?32:31-(V8(e)/Y8|0)|0}var K8=_n.unstable_UserBlockingPriority,Q8=_n.unstable_runWithPriority,z0=!0;function Z8(e,t,r,n){ul||q2();var i=Q2,a=ul;ul=!0;try{qk(i,e,t,r,n)}finally{(ul=a)||V2()}}function J8(e,t,r,n){Q8(K8,Q2.bind(null,e,t,r,n))}function Q2(e,t,r,n){if(z0){var i;if((i=(t&4)===0)&&0<ya.length&&-1<pA.indexOf(e))e=Iw(null,e,t,r,n),ya.push(e);else{var a=Z2(e,t,r,n);if(a===null)i&&vA(e,n);else{if(i){if(-1<pA.indexOf(e)){e=Iw(a,e,t,r,n),ya.push(e);return}if(z8(a,e,t,r,n))return;vA(e,n)}bR(e,t,n,null,r)}}}}function Z2(e,t,r,n){var i=H2(n);if(i=ll(i),i!==null){var a=$l(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=Yk(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 bR(e,t,n,i,r),null}var qo=null,J2=null,U0=null;function uR(){if(U0)return U0;var e,t=J2,r=t.length,n,i="value"in qo?qo.value:qo.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 U0=i.slice(e,1<n?1-n:void 0)}function j0(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 qv(){return!0}function gA(){return!1}function bi(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 u in e)e.hasOwnProperty(u)&&(r=e[u],this[u]=r?r(a):a[u]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?qv:gA,this.isPropagationStopped=gA,this}return jr(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=qv)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=qv)},persist:function(){},isPersistent:qv}),t}var Uf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eS=bi(Uf),Qd=jr({},Uf,{view:0,detail:0}),eL=bi(Qd),y1,b1,dh,_g=jr({},Qd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tS,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!==dh&&(dh&&e.type==="mousemove"?(y1=e.screenX-dh.screenX,b1=e.screenY-dh.screenY):b1=y1=0,dh=e),y1)},movementY:function(e){return"movementY"in e?e.movementY:b1}}),yA=bi(_g),tL=jr({},_g,{dataTransfer:0}),rL=bi(tL),nL=jr({},Qd,{relatedTarget:0}),x1=bi(nL),iL=jr({},Uf,{animationName:0,elapsedTime:0,pseudoElement:0}),aL=bi(iL),oL=jr({},Uf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uL=bi(oL),lL=jr({},Uf,{data:0}),bA=bi(lL),sL={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fL={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"},cL={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hL(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cL[e])?!!t[e]:!1}function tS(){return hL}var dL=jr({},Qd,{key:function(e){if(e.key){var t=sL[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=j0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fL[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tS,charCode:function(e){return e.type==="keypress"?j0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?j0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),pL=bi(dL),vL=jr({},_g,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xA=bi(vL),mL=jr({},Qd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tS}),gL=bi(mL),yL=jr({},Uf,{propertyName:0,elapsedTime:0,pseudoElement:0}),bL=bi(yL),xL=jr({},_g,{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}),wL=bi(xL),_L=[9,13,27,32],rS=oo&&"CompositionEvent"in window,Jh=null;oo&&"documentMode"in document&&(Jh=document.documentMode);var SL=oo&&"TextEvent"in window&&!Jh,lR=oo&&(!rS||Jh&&8<Jh&&11>=Jh),wA=String.fromCharCode(32),_A=!1;function sR(e,t){switch(e){case"keyup":return _L.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fR(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ys=!1;function EL(e,t){switch(e){case"compositionend":return fR(t);case"keypress":return t.which!==32?null:(_A=!0,wA);case"textInput":return e=t.data,e===wA&&_A?null:e;default:return null}}function AL(e,t){if(Ys)return e==="compositionend"||!rS&&sR(e,t)?(e=uR(),U0=J2=qo=null,Ys=!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 lR&&t.locale!=="ko"?null:t.data;default:return null}}var CL={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 SA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!CL[e.type]:t==="textarea"}function cR(e,t,r,n){Hk(n),t=ym(t,"onChange"),0<t.length&&(r=new eS("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ed=null,Sd=null;function TL(e){mR(e,0)}function Sg(e){var t=Ks(e);if($k(t))return e}function OL(e,t){if(e==="change")return t}var hR=!1;if(oo){var w1;if(oo){var _1="oninput"in document;if(!_1){var EA=document.createElement("div");EA.setAttribute("oninput","return;"),_1=typeof EA.oninput=="function"}w1=_1}else w1=!1;hR=w1&&(!document.documentMode||9<document.documentMode)}function AA(){ed&&(ed.detachEvent("onpropertychange",dR),Sd=ed=null)}function dR(e){if(e.propertyName==="value"&&Sg(Sd)){var t=[];if(cR(t,Sd,e,H2(e)),e=TL,ul)e(t);else{ul=!0;try{W2(e,t)}finally{ul=!1,V2()}}}}function ML(e,t,r){e==="focusin"?(AA(),ed=t,Sd=r,ed.attachEvent("onpropertychange",dR)):e==="focusout"&&AA()}function kL(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Sg(Sd)}function RL(e,t){if(e==="click")return Sg(t)}function IL(e,t){if(e==="input"||e==="change")return Sg(t)}function PL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ki=typeof Object.is=="function"?Object.is:PL,FL=Object.prototype.hasOwnProperty;function Ed(e,t){if(ki(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(!FL.call(t,r[n])||!ki(e[r[n]],t[r[n]]))return!1;return!0}function CA(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TA(e,t){var r=CA(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=CA(r)}}function pR(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pR(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function OA(){for(var e=window,t=pm();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=pm(e.document)}return t}function Pw(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 NL=oo&&"documentMode"in document&&11>=document.documentMode,Xs=null,Fw=null,td=null,Nw=!1;function MA(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Nw||Xs==null||Xs!==pm(n)||(n=Xs,"selectionStart"in n&&Pw(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}),td&&Ed(td,n)||(td=n,n=ym(Fw,"onSelect"),0<n.length&&(t=new eS("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Xs)))}K2("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);K2("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);K2(G8,2);for(var kA="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),S1=0;S1<kA.length;S1++)X2.set(kA[S1],0);wf("onMouseEnter",["mouseout","mouseover"]);wf("onMouseLeave",["mouseout","mouseover"]);wf("onPointerEnter",["pointerout","pointerover"]);wf("onPointerLeave",["pointerout","pointerover"]);Nl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Nl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Nl("onBeforeInput",["compositionend","keypress","textInput","paste"]);Nl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Nl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Nl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),vR=new Set("cancel close invalid load scroll toggle".split(" ").concat(zh));function RA(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,D8(n,t,void 0,e),e.currentTarget=null}function mR(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 u=n[o],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==a&&i.isPropagationStopped())break e;RA(i,u,c),a=s}else for(o=0;o<n.length;o++){if(u=n[o],s=u.instance,c=u.currentTarget,u=u.listener,s!==a&&i.isPropagationStopped())break e;RA(i,u,c),a=s}}}if(mm)throw e=kw,mm=!1,kw=null,e}function Lr(e,t){var r=wR(t),n=e+"__bubble";r.has(n)||(yR(t,e,2,!1),r.add(n))}var IA="_reactListening"+Math.random().toString(36).slice(2);function gR(e){e[IA]||(e[IA]=!0,Fk.forEach(function(t){vR.has(t)||PA(t,!1,e,null),PA(t,!0,e,null)}))}function PA(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&&vR.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=wR(a),u=e+"__"+(t?"capture":"bubble");o.has(u)||(t&&(i|=4),yR(a,e,i,t),o.add(u))}function yR(e,t,r,n){var i=X2.get(t);switch(i===void 0?2:i){case 0:i=Z8;break;case 1:i=J8;break;default:i=Q2}r=i.bind(null,t,r,e),i=void 0,!Mw||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 bR(e,t,r,n,i){var a=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var u=n.stateNode.containerInfo;if(u===i||u.nodeType===8&&u.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(;u!==null;){if(o=ll(u),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}u=u.parentNode}}n=n.return}F8(function(){var c=a,d=H2(r),g=[];e:{var v=aR.get(e);if(v!==void 0){var y=eS,A=e;switch(e){case"keypress":if(j0(r)===0)break e;case"keydown":case"keyup":y=pL;break;case"focusin":A="focus",y=x1;break;case"focusout":A="blur",y=x1;break;case"beforeblur":case"afterblur":y=x1;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":y=yA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=rL;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=gL;break;case tR:case rR:case nR:y=aL;break;case iR:y=bL;break;case"scroll":y=eL;break;case"wheel":y=wL;break;case"copy":case"cut":case"paste":y=uL;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=xA}var E=(t&4)!==0,w=!E&&e==="scroll",x=E?v!==null?v+"Capture":null:v;E=[];for(var _=c,T;_!==null;){T=_;var C=T.stateNode;if(T.tag===5&&C!==null&&(T=C,x!==null&&(C=bd(_,x),C!=null&&E.push(Ad(_,C,T)))),w)break;_=_.return}0<E.length&&(v=new y(v,A,null,r,d),g.push({event:v,listeners:E}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",v&&!(t&16)&&(A=r.relatedTarget||r.fromElement)&&(ll(A)||A[jf]))break e;if((y||v)&&(v=d.window===d?d:(v=d.ownerDocument)?v.defaultView||v.parentWindow:window,y?(A=r.relatedTarget||r.toElement,y=c,A=A?ll(A):null,A!==null&&(w=$l(A),A!==w||A.tag!==5&&A.tag!==6)&&(A=null)):(y=null,A=c),y!==A)){if(E=yA,C="onMouseLeave",x="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(E=xA,C="onPointerLeave",x="onPointerEnter",_="pointer"),w=y==null?v:Ks(y),T=A==null?v:Ks(A),v=new E(C,_+"leave",y,r,d),v.target=w,v.relatedTarget=T,C=null,ll(d)===c&&(E=new E(x,_+"enter",A,r,d),E.target=T,E.relatedTarget=w,C=E),w=C,y&&A)t:{for(E=y,x=A,_=0,T=E;T;T=Is(T))_++;for(T=0,C=x;C;C=Is(C))T++;for(;0<_-T;)E=Is(E),_--;for(;0<T-_;)x=Is(x),T--;for(;_--;){if(E===x||x!==null&&E===x.alternate)break t;E=Is(E),x=Is(x)}E=null}else E=null;y!==null&&FA(g,v,y,E,!1),A!==null&&w!==null&&FA(g,w,A,E,!0)}}e:{if(v=c?Ks(c):window,y=v.nodeName&&v.nodeName.toLowerCase(),y==="select"||y==="input"&&v.type==="file")var R=OL;else if(SA(v))if(hR)R=IL;else{R=kL;var N=ML}else(y=v.nodeName)&&y.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(R=RL);if(R&&(R=R(e,c))){cR(g,R,r,d);break e}N&&N(e,v,c),e==="focusout"&&(N=v._wrapperState)&&N.controlled&&v.type==="number"&&ww(v,"number",v.value)}switch(N=c?Ks(c):window,e){case"focusin":(SA(N)||N.contentEditable==="true")&&(Xs=N,Fw=c,td=null);break;case"focusout":td=Fw=Xs=null;break;case"mousedown":Nw=!0;break;case"contextmenu":case"mouseup":case"dragend":Nw=!1,MA(g,r,d);break;case"selectionchange":if(NL)break;case"keydown":case"keyup":MA(g,r,d)}var V;if(rS)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 Ys?sR(e,r)&&(j="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(j="onCompositionStart");j&&(lR&&r.locale!=="ko"&&(Ys||j!=="onCompositionStart"?j==="onCompositionEnd"&&Ys&&(V=uR()):(qo=d,J2="value"in qo?qo.value:qo.textContent,Ys=!0)),N=ym(c,j),0<N.length&&(j=new bA(j,e,null,r,d),g.push({event:j,listeners:N}),V?j.data=V:(V=fR(r),V!==null&&(j.data=V)))),(V=SL?EL(e,r):AL(e,r))&&(c=ym(c,"onBeforeInput"),0<c.length&&(d=new bA("onBeforeInput","beforeinput",null,r,d),g.push({event:d,listeners:c}),d.data=V))}mR(g,t)})}function Ad(e,t,r){return{instance:e,listener:t,currentTarget:r}}function ym(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=bd(e,r),a!=null&&n.unshift(Ad(e,a,i)),a=bd(e,t),a!=null&&n.push(Ad(e,a,i))),e=e.return}return n}function Is(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function FA(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var u=r,s=u.alternate,c=u.stateNode;if(s!==null&&s===n)break;u.tag===5&&c!==null&&(u=c,i?(s=bd(r,a),s!=null&&o.unshift(Ad(r,s,u))):i||(s=bd(r,a),s!=null&&o.push(Ad(r,s,u)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function bm(){}var E1=null,A1=null;function xR(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Lw(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 NA=typeof setTimeout=="function"?setTimeout:void 0,LL=typeof clearTimeout=="function"?clearTimeout:void 0;function nS(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function ff(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function LA(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 C1=0;function $L(e){return{$$typeof:j2,toString:e,valueOf:e}}var Eg=Math.random().toString(36).slice(2),Vo="__reactFiber$"+Eg,xm="__reactProps$"+Eg,jf="__reactContainer$"+Eg,$A="__reactEvents$"+Eg;function ll(e){var t=e[Vo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[jf]||r[Vo]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=LA(e);e!==null;){if(r=e[Vo])return r;e=LA(e)}return t}e=r,r=e.parentNode}return null}function Zd(e){return e=e[Vo]||e[jf],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ks(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(dt(33))}function Ag(e){return e[xm]||null}function wR(e){var t=e[$A];return t===void 0&&(t=e[$A]=new Set),t}var $w=[],Qs=-1;function gu(e){return{current:e}}function Dr(e){0>Qs||(e.current=$w[Qs],$w[Qs]=null,Qs--)}function Yr(e,t){Qs++,$w[Qs]=e.current,e.current=t}var su={},Bn=gu(su),ii=gu(!1),xl=su;function _f(e,t){var r=e.type.contextTypes;if(!r)return su;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 ai(e){return e=e.childContextTypes,e!=null}function wm(){Dr(ii),Dr(Bn)}function DA(e,t,r){if(Bn.current!==su)throw Error(dt(168));Yr(Bn,t),Yr(ii,r)}function _R(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,of(t)||"Unknown",i));return jr({},r,n)}function G0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||su,xl=Bn.current,Yr(Bn,e),Yr(ii,ii.current),!0}function BA(e,t,r){var n=e.stateNode;if(!n)throw Error(dt(169));r?(e=_R(e,t,xl),n.__reactInternalMemoizedMergedChildContext=e,Dr(ii),Dr(Bn),Yr(Bn,e)):Dr(ii),Yr(ii,r)}var iS=null,pl=null,DL=_n.unstable_runWithPriority,aS=_n.unstable_scheduleCallback,Dw=_n.unstable_cancelCallback,BL=_n.unstable_shouldYield,zA=_n.unstable_requestPaint,Bw=_n.unstable_now,zL=_n.unstable_getCurrentPriorityLevel,Cg=_n.unstable_ImmediatePriority,SR=_n.unstable_UserBlockingPriority,ER=_n.unstable_NormalPriority,AR=_n.unstable_LowPriority,CR=_n.unstable_IdlePriority,T1={},UL=zA!==void 0?zA:function(){},eo=null,H0=null,O1=!1,UA=Bw(),$n=1e4>UA?Bw:function(){return Bw()-UA};function Sf(){switch(zL()){case Cg:return 99;case SR:return 98;case ER:return 97;case AR:return 96;case CR:return 95;default:throw Error(dt(332))}}function TR(e){switch(e){case 99:return Cg;case 98:return SR;case 97:return ER;case 96:return AR;case 95:return CR;default:throw Error(dt(332))}}function wl(e,t){return e=TR(e),DL(e,t)}function Cd(e,t,r){return e=TR(e),aS(e,t,r)}function Ta(){if(H0!==null){var e=H0;H0=null,Dw(e)}OR()}function OR(){if(!O1&&eo!==null){O1=!0;var e=0;try{var t=eo;wl(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),eo=null}catch(r){throw eo!==null&&(eo=eo.slice(e+1)),aS(Cg,Ta),r}finally{O1=!1}}}var jL=Ll.ReactCurrentBatchConfig;function Ki(e,t){if(e&&e.defaultProps){t=jr({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var _m=gu(null),Sm=null,Zs=null,Em=null;function oS(){Em=Zs=Sm=null}function uS(e){var t=_m.current;Dr(_m),e.type._context._currentValue=t}function MR(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 cf(e,t){Sm=e,Em=Zs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Zi=!0),e.firstContext=null)}function Ni(e,t){if(Em!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Em=e,t=1073741823),t={context:e,observedBits:t,next:null},Zs===null){if(Sm===null)throw Error(dt(308));Zs=t,Sm.dependencies={lanes:0,firstContext:t,responders:null}}else Zs=Zs.next=t;return e._currentValue}var Uo=!1;function lS(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function kR(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 tu(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ru(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 jA(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 Td(e,t,r,n){var i=e.updateQueue;Uo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var s=u,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 g=d.lastBaseUpdate;g!==o&&(g===null?d.firstBaseUpdate=c:g.next=c,d.lastBaseUpdate=s)}}if(a!==null){g=i.baseState,o=0,d=c=s=null;do{u=a.lane;var v=a.eventTime;if((n&u)===u){d!==null&&(d=d.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,A=a;switch(u=t,v=r,A.tag){case 1:if(y=A.payload,typeof y=="function"){g=y.call(v,g,u);break e}g=y;break e;case 3:y.flags=y.flags&-4097|64;case 0:if(y=A.payload,u=typeof y=="function"?y.call(v,g,u):y,u==null)break e;g=jr({},g,u);break e;case 2:Uo=!0}}a.callback!==null&&(e.flags|=32,u=i.effects,u===null?i.effects=[a]:u.push(a))}else v={eventTime:v,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=v,s=g):d=d.next=v,o|=u;if(a=a.next,a===null){if(u=i.shared.pending,u===null)break;a=u.next,u.next=null,i.lastBaseUpdate=u,i.shared.pending=null}}while(1);d===null&&(s=g),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=d,ep|=o,e.lanes=o,e.memoizedState=g}}function GA(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 RR=new gg.Component().refs;function Am(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:jr({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Tg={isMounted:function(e){return(e=e._reactInternals)?$l(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=gi(),i=nu(e),a=tu(n,i);a.payload=t,r!=null&&(a.callback=r),ru(e,a),iu(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=gi(),i=nu(e),a=tu(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),ru(e,a),iu(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=gi(),n=nu(e),i=tu(r,n);i.tag=2,t!=null&&(i.callback=t),ru(e,i),iu(e,n,r)}};function HA(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?!Ed(r,n)||!Ed(i,a):!0}function IR(e,t,r){var n=!1,i=su,a=t.contextType;return typeof a=="object"&&a!==null?a=Ni(a):(i=ai(t)?xl:Bn.current,n=t.contextTypes,a=(n=n!=null)?_f(e,i):su),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Tg,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function WA(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&&Tg.enqueueReplaceState(t,t.state,null)}function zw(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=RR,lS(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Ni(a):(a=ai(t)?xl:Bn.current,i.context=_f(e,a)),Td(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Am(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&&Tg.enqueueReplaceState(i,i.state,null),Td(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Vv=Array.isArray;function ph(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===RR&&(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 Yv(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 PR(e){function t(w,x){if(e){var _=w.lastEffect;_!==null?(_.nextEffect=x,w.lastEffect=x):w.firstEffect=w.lastEffect=x,x.nextEffect=null,x.flags=8}}function r(w,x){if(!e)return null;for(;x!==null;)t(w,x),x=x.sibling;return null}function n(w,x){for(w=new Map;x!==null;)x.key!==null?w.set(x.key,x):w.set(x.index,x),x=x.sibling;return w}function i(w,x){return w=cu(w,x),w.index=0,w.sibling=null,w}function a(w,x,_){return w.index=_,e?(_=w.alternate,_!==null?(_=_.index,_<x?(w.flags=2,x):_):(w.flags=2,x)):x}function o(w){return e&&w.alternate===null&&(w.flags=2),w}function u(w,x,_,T){return x===null||x.tag!==6?(x=P1(_,w.mode,T),x.return=w,x):(x=i(x,_),x.return=w,x)}function s(w,x,_,T){return x!==null&&x.elementType===_.type?(T=i(x,_.props),T.ref=ph(w,x,_),T.return=w,T):(T=Y0(_.type,_.key,_.props,null,w.mode,T),T.ref=ph(w,x,_),T.return=w,T)}function c(w,x,_,T){return x===null||x.tag!==4||x.stateNode.containerInfo!==_.containerInfo||x.stateNode.implementation!==_.implementation?(x=F1(_,w.mode,T),x.return=w,x):(x=i(x,_.children||[]),x.return=w,x)}function d(w,x,_,T,C){return x===null||x.tag!==7?(x=vf(_,w.mode,T,C),x.return=w,x):(x=i(x,_),x.return=w,x)}function g(w,x,_){if(typeof x=="string"||typeof x=="number")return x=P1(""+x,w.mode,_),x.return=w,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Dh:return _=Y0(x.type,x.key,x.props,null,w.mode,_),_.ref=ph(w,null,x),_.return=w,_;case ol:return x=F1(x,w.mode,_),x.return=w,x}if(Vv(x)||lh(x))return x=vf(x,w.mode,_,null),x.return=w,x;Yv(w,x)}return null}function v(w,x,_,T){var C=x!==null?x.key:null;if(typeof _=="string"||typeof _=="number")return C!==null?null:u(w,x,""+_,T);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Dh:return _.key===C?_.type===Ho?d(w,x,_.props.children,T,C):s(w,x,_,T):null;case ol:return _.key===C?c(w,x,_,T):null}if(Vv(_)||lh(_))return C!==null?null:d(w,x,_,T,null);Yv(w,_)}return null}function y(w,x,_,T,C){if(typeof T=="string"||typeof T=="number")return w=w.get(_)||null,u(x,w,""+T,C);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Dh:return w=w.get(T.key===null?_:T.key)||null,T.type===Ho?d(x,w,T.props.children,C,T.key):s(x,w,T,C);case ol:return w=w.get(T.key===null?_:T.key)||null,c(x,w,T,C)}if(Vv(T)||lh(T))return w=w.get(_)||null,d(x,w,T,C,null);Yv(x,T)}return null}function A(w,x,_,T){for(var C=null,R=null,N=x,V=x=0,j=null;N!==null&&V<_.length;V++){N.index>V?(j=N,N=null):j=N.sibling;var ne=v(w,N,_[V],T);if(ne===null){N===null&&(N=j);break}e&&N&&ne.alternate===null&&t(w,N),x=a(ne,x,V),R===null?C=ne:R.sibling=ne,R=ne,N=j}if(V===_.length)return r(w,N),C;if(N===null){for(;V<_.length;V++)N=g(w,_[V],T),N!==null&&(x=a(N,x,V),R===null?C=N:R.sibling=N,R=N);return C}for(N=n(w,N);V<_.length;V++)j=y(N,w,V,_[V],T),j!==null&&(e&&j.alternate!==null&&N.delete(j.key===null?V:j.key),x=a(j,x,V),R===null?C=j:R.sibling=j,R=j);return e&&N.forEach(function(Te){return t(w,Te)}),C}function E(w,x,_,T){var C=lh(_);if(typeof C!="function")throw Error(dt(150));if(_=C.call(_),_==null)throw Error(dt(151));for(var R=C=null,N=x,V=x=0,j=null,ne=_.next();N!==null&&!ne.done;V++,ne=_.next()){N.index>V?(j=N,N=null):j=N.sibling;var Te=v(w,N,ne.value,T);if(Te===null){N===null&&(N=j);break}e&&N&&Te.alternate===null&&t(w,N),x=a(Te,x,V),R===null?C=Te:R.sibling=Te,R=Te,N=j}if(ne.done)return r(w,N),C;if(N===null){for(;!ne.done;V++,ne=_.next())ne=g(w,ne.value,T),ne!==null&&(x=a(ne,x,V),R===null?C=ne:R.sibling=ne,R=ne);return C}for(N=n(w,N);!ne.done;V++,ne=_.next())ne=y(N,w,V,ne.value,T),ne!==null&&(e&&ne.alternate!==null&&N.delete(ne.key===null?V:ne.key),x=a(ne,x,V),R===null?C=ne:R.sibling=ne,R=ne);return e&&N.forEach(function(be){return t(w,be)}),C}return function(w,x,_,T){var C=typeof _=="object"&&_!==null&&_.type===Ho&&_.key===null;C&&(_=_.props.children);var R=typeof _=="object"&&_!==null;if(R)switch(_.$$typeof){case Dh:e:{for(R=_.key,C=x;C!==null;){if(C.key===R){switch(C.tag){case 7:if(_.type===Ho){r(w,C.sibling),x=i(C,_.props.children),x.return=w,w=x;break e}break;default:if(C.elementType===_.type){r(w,C.sibling),x=i(C,_.props),x.ref=ph(w,C,_),x.return=w,w=x;break e}}r(w,C);break}else t(w,C);C=C.sibling}_.type===Ho?(x=vf(_.props.children,w.mode,T,_.key),x.return=w,w=x):(T=Y0(_.type,_.key,_.props,null,w.mode,T),T.ref=ph(w,x,_),T.return=w,w=T)}return o(w);case ol:e:{for(C=_.key;x!==null;){if(x.key===C)if(x.tag===4&&x.stateNode.containerInfo===_.containerInfo&&x.stateNode.implementation===_.implementation){r(w,x.sibling),x=i(x,_.children||[]),x.return=w,w=x;break e}else{r(w,x);break}else t(w,x);x=x.sibling}x=F1(_,w.mode,T),x.return=w,w=x}return o(w)}if(typeof _=="string"||typeof _=="number")return _=""+_,x!==null&&x.tag===6?(r(w,x.sibling),x=i(x,_),x.return=w,w=x):(r(w,x),x=P1(_,w.mode,T),x.return=w,w=x),o(w);if(Vv(_))return A(w,x,_,T);if(lh(_))return E(w,x,_,T);if(R&&Yv(w,_),typeof _>"u"&&!C)switch(w.tag){case 1:case 22:case 0:case 11:case 15:throw Error(dt(152,of(w.type)||"Component"))}return r(w,x)}}var Cm=PR(!0),FR=PR(!1),Jd={},_a=gu(Jd),Od=gu(Jd),Md=gu(Jd);function sl(e){if(e===Jd)throw Error(dt(174));return e}function Uw(e,t){switch(Yr(Md,t),Yr(Od,e),Yr(_a,Jd),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Aw(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Aw(t,e)}Dr(_a),Yr(_a,t)}function Ef(){Dr(_a),Dr(Od),Dr(Md)}function qA(e){sl(Md.current);var t=sl(_a.current),r=Aw(t,e.type);t!==r&&(Yr(Od,e),Yr(_a,r))}function sS(e){Od.current===e&&(Dr(_a),Dr(Od))}var qr=gu(0);function Tm(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)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 ro=null,Yo=null,Sa=!1;function NR(e,t){var r=Ri(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 VA(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 jw(e){if(Sa){var t=Yo;if(t){var r=t;if(!VA(e,t)){if(t=ff(r.nextSibling),!t||!VA(e,t)){e.flags=e.flags&-1025|2,Sa=!1,ro=e;return}NR(ro,r)}ro=e,Yo=ff(t.firstChild)}else e.flags=e.flags&-1025|2,Sa=!1,ro=e}}function YA(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ro=e}function Xv(e){if(e!==ro)return!1;if(!Sa)return YA(e),Sa=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Lw(t,e.memoizedProps))for(t=Yo;t;)NR(e,t),t=ff(t.nextSibling);if(YA(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){Yo=ff(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Yo=null}}else Yo=ro?ff(e.stateNode.nextSibling):null;return!0}function M1(){Yo=ro=null,Sa=!1}var hf=[];function fS(){for(var e=0;e<hf.length;e++)hf[e]._workInProgressVersionPrimary=null;hf.length=0}var rd=Ll.ReactCurrentDispatcher,Pi=Ll.ReactCurrentBatchConfig,kd=0,Qr=null,Ln=null,kn=null,Om=!1,nd=!1;function ei(){throw Error(dt(321))}function cS(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ki(e[r],t[r]))return!1;return!0}function hS(e,t,r,n,i,a){if(kd=a,Qr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rd.current=e===null||e.memoizedState===null?HL:WL,e=r(n,i),nd){a=0;do{if(nd=!1,!(25>a))throw Error(dt(301));a+=1,kn=Ln=null,t.updateQueue=null,rd.current=qL,e=r(n,i)}while(nd)}if(rd.current=Im,t=Ln!==null&&Ln.next!==null,kd=0,kn=Ln=Qr=null,Om=!1,t)throw Error(dt(300));return e}function fl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kn===null?Qr.memoizedState=kn=e:kn=kn.next=e,kn}function Dl(){if(Ln===null){var e=Qr.alternate;e=e!==null?e.memoizedState:null}else e=Ln.next;var t=kn===null?Qr.memoizedState:kn.next;if(t!==null)kn=t,Ln=e;else{if(e===null)throw Error(dt(310));Ln=e,e={memoizedState:Ln.memoizedState,baseState:Ln.baseState,baseQueue:Ln.baseQueue,queue:Ln.queue,next:null},kn===null?Qr.memoizedState=kn=e:kn=kn.next=e}return kn}function ba(e,t){return typeof t=="function"?t(e):t}function vh(e){var t=Dl(),r=t.queue;if(r===null)throw Error(dt(311));r.lastRenderedReducer=e;var n=Ln,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 u=o=a=null,s=i;do{var c=s.lane;if((kd&c)===c)u!==null&&(u=u.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};u===null?(o=u=d,a=n):u=u.next=d,Qr.lanes|=c,ep|=c}s=s.next}while(s!==null&&s!==i);u===null?a=n:u.next=o,ki(n,t.memoizedState)||(Zi=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=u,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function mh(e){var t=Dl(),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);ki(a,t.memoizedState)||(Zi=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function XA(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=(kd&e)===e)&&(t._workInProgressVersionPrimary=n,hf.push(t))),e)return r(t._source);throw hf.push(t),Error(dt(350))}function LR(e,t,r,n){var i=Vn;if(i===null)throw Error(dt(349));var a=t._getVersion,o=a(t._source),u=rd.current,s=u.useState(function(){return XA(i,t,r)}),c=s[1],d=s[0];s=kn;var g=e.memoizedState,v=g.refs,y=v.getSnapshot,A=g.source;g=g.subscribe;var E=Qr;return e.memoizedState={refs:v,source:t,subscribe:n},u.useEffect(function(){v.getSnapshot=r,v.setSnapshot=c;var w=a(t._source);if(!ki(o,w)){w=r(t._source),ki(d,w)||(c(w),w=nu(E),i.mutableReadLanes|=w&i.pendingLanes),w=i.mutableReadLanes,i.entangledLanes|=w;for(var x=i.entanglements,_=w;0<_;){var T=31-lu(_),C=1<<T;x[T]|=w,_&=~C}}},[r,t,n]),u.useEffect(function(){return n(t._source,function(){var w=v.getSnapshot,x=v.setSnapshot;try{x(w(t._source));var _=nu(E);i.mutableReadLanes|=_&i.pendingLanes}catch(T){x(function(){throw T})}})},[t,n]),ki(y,r)&&ki(A,t)&&ki(g,n)||(e={pending:null,dispatch:null,lastRenderedReducer:ba,lastRenderedState:d},e.dispatch=c=vS.bind(null,Qr,e),s.queue=e,s.baseQueue=null,d=XA(i,t,r),s.memoizedState=s.baseState=d),d}function $R(e,t,r){var n=Dl();return LR(n,e,t,r)}function gh(e){var t=fl();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ba,lastRenderedState:e},e=e.dispatch=vS.bind(null,Qr,e),[t.memoizedState,e]}function Mm(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Qr.updateQueue,t===null?(t={lastEffect:null},Qr.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 KA(e){var t=fl();return e={current:e},t.memoizedState=e}function km(){return Dl().memoizedState}function Gw(e,t,r,n){var i=fl();Qr.flags|=e,i.memoizedState=Mm(1|t,r,void 0,n===void 0?null:n)}function dS(e,t,r,n){var i=Dl();n=n===void 0?null:n;var a=void 0;if(Ln!==null){var o=Ln.memoizedState;if(a=o.destroy,n!==null&&cS(n,o.deps)){Mm(t,r,a,n);return}}Qr.flags|=e,i.memoizedState=Mm(1|t,r,a,n)}function QA(e,t){return Gw(516,4,e,t)}function Rm(e,t){return dS(516,4,e,t)}function DR(e,t){return dS(4,2,e,t)}function BR(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 zR(e,t,r){return r=r!=null?r.concat([e]):null,dS(4,2,BR.bind(null,t,e),r)}function pS(){}function UR(e,t){var r=Dl();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&cS(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function jR(e,t){var r=Dl();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&cS(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function GL(e,t){var r=Sf();wl(98>r?98:r,function(){e(!0)}),wl(97<r?97:r,function(){var n=Pi.transition;Pi.transition=1;try{e(!1),t()}finally{Pi.transition=n}})}function vS(e,t,r){var n=gi(),i=nu(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===Qr||o!==null&&o===Qr)nd=Om=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var u=t.lastRenderedState,s=o(u,r);if(a.eagerReducer=o,a.eagerState=s,ki(s,u))return}catch{}finally{}iu(e,i,n)}}var Im={readContext:Ni,useCallback:ei,useContext:ei,useEffect:ei,useImperativeHandle:ei,useLayoutEffect:ei,useMemo:ei,useReducer:ei,useRef:ei,useState:ei,useDebugValue:ei,useDeferredValue:ei,useTransition:ei,useMutableSource:ei,useOpaqueIdentifier:ei,unstable_isNewReconciler:!1},HL={readContext:Ni,useCallback:function(e,t){return fl().memoizedState=[e,t===void 0?null:t],e},useContext:Ni,useEffect:QA,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Gw(4,2,BR.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Gw(4,2,e,t)},useMemo:function(e,t){var r=fl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=fl();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=vS.bind(null,Qr,e),[n.memoizedState,e]},useRef:KA,useState:gh,useDebugValue:pS,useDeferredValue:function(e){var t=gh(e),r=t[0],n=t[1];return QA(function(){var i=Pi.transition;Pi.transition=1;try{n(e)}finally{Pi.transition=i}},[e]),r},useTransition:function(){var e=gh(!1),t=e[0];return e=GL.bind(null,e[1]),KA(e),[e,t]},useMutableSource:function(e,t,r){var n=fl();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},LR(n,e,t,r)},useOpaqueIdentifier:function(){if(Sa){var e=!1,t=$L(function(){throw e||(e=!0,r("r:"+(C1++).toString(36))),Error(dt(355))}),r=gh(t)[1];return!(Qr.mode&2)&&(Qr.flags|=516,Mm(5,function(){r("r:"+(C1++).toString(36))},void 0,null)),t}return t="r:"+(C1++).toString(36),gh(t),t},unstable_isNewReconciler:!1},WL={readContext:Ni,useCallback:UR,useContext:Ni,useEffect:Rm,useImperativeHandle:zR,useLayoutEffect:DR,useMemo:jR,useReducer:vh,useRef:km,useState:function(){return vh(ba)},useDebugValue:pS,useDeferredValue:function(e){var t=vh(ba),r=t[0],n=t[1];return Rm(function(){var i=Pi.transition;Pi.transition=1;try{n(e)}finally{Pi.transition=i}},[e]),r},useTransition:function(){var e=vh(ba)[0];return[km().current,e]},useMutableSource:$R,useOpaqueIdentifier:function(){return vh(ba)[0]},unstable_isNewReconciler:!1},qL={readContext:Ni,useCallback:UR,useContext:Ni,useEffect:Rm,useImperativeHandle:zR,useLayoutEffect:DR,useMemo:jR,useReducer:mh,useRef:km,useState:function(){return mh(ba)},useDebugValue:pS,useDeferredValue:function(e){var t=mh(ba),r=t[0],n=t[1];return Rm(function(){var i=Pi.transition;Pi.transition=1;try{n(e)}finally{Pi.transition=i}},[e]),r},useTransition:function(){var e=mh(ba)[0];return[km().current,e]},useMutableSource:$R,useOpaqueIdentifier:function(){return mh(ba)[0]},unstable_isNewReconciler:!1},VL=Ll.ReactCurrentOwner,Zi=!1;function ti(e,t,r,n){t.child=e===null?FR(t,null,r,n):Cm(t,e.child,r,n)}function ZA(e,t,r,n,i){r=r.render;var a=t.ref;return cf(t,i),n=hS(e,t,r,n,a,i),e!==null&&!Zi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,no(e,t,i)):(t.flags|=1,ti(e,t,n,i),t.child)}function JA(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!wS(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,GR(e,t,o,n,i,a)):(e=Y0(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,!(i&a)&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:Ed,r(i,n)&&e.ref===t.ref)?no(e,t,a):(t.flags|=1,e=cu(o,n),e.ref=t.ref,e.return=t,t.child=e)}function GR(e,t,r,n,i,a){if(e!==null&&Ed(e.memoizedProps,n)&&e.ref===t.ref)if(Zi=!1,(a&i)!==0)e.flags&16384&&(Zi=!0);else return t.lanes=e.lanes,no(e,t,a);return Hw(e,t,r,n,a)}function k1(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))t.memoizedState={baseLanes:0},Qv(t,r);else if(r&1073741824)t.memoizedState={baseLanes:0},Qv(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Qv(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Qv(t,n);return ti(e,t,i,r),t.child}function HR(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Hw(e,t,r,n,i){var a=ai(r)?xl:Bn.current;return a=_f(t,a),cf(t,i),r=hS(e,t,r,n,a,i),e!==null&&!Zi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,no(e,t,i)):(t.flags|=1,ti(e,t,r,i),t.child)}function e3(e,t,r,n,i){if(ai(r)){var a=!0;G0(t)}else a=!1;if(cf(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),IR(t,r,n),zw(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,c=r.contextType;typeof c=="object"&&c!==null?c=Ni(c):(c=ai(r)?xl:Bn.current,c=_f(t,c));var d=r.getDerivedStateFromProps,g=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==n||s!==c)&&WA(t,o,n,c),Uo=!1;var v=t.memoizedState;o.state=v,Td(t,n,o,i),s=t.memoizedState,u!==n||v!==s||ii.current||Uo?(typeof d=="function"&&(Am(t,r,d,n),s=t.memoizedState),(u=Uo||HA(t,r,u,n,v,s,c))?(g||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=u):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,kR(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Ki(t.type,u),o.props=c,g=t.pendingProps,v=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Ni(s):(s=ai(r)?xl:Bn.current,s=_f(t,s));var y=r.getDerivedStateFromProps;(d=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==g||v!==s)&&WA(t,o,n,s),Uo=!1,v=t.memoizedState,o.state=v,Td(t,n,o,i);var A=t.memoizedState;u!==g||v!==A||ii.current||Uo?(typeof y=="function"&&(Am(t,r,y,n),A=t.memoizedState),(c=Uo||HA(t,r,c,n,v,A,s))?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,A,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,A,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=A),o.props=n,o.state=A,o.context=s,n=c):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=256),n=!1)}return Ww(e,t,r,n,a,i)}function Ww(e,t,r,n,i,a){HR(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&BA(t,r,!1),no(e,t,a);n=t.stateNode,VL.current=t;var u=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=Cm(t,e.child,null,a),t.child=Cm(t,null,u,a)):ti(e,t,u,a),t.memoizedState=n.state,i&&BA(t,r,!0),t.child}function t3(e){var t=e.stateNode;t.pendingContext?DA(e,t.pendingContext,t.pendingContext!==t.context):t.context&&DA(e,t.context,!1),Uw(e,t.containerInfo)}var Kv={dehydrated:null,retryLane:0};function r3(e,t,r){var n=t.pendingProps,i=qr.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),Yr(qr,i&1),e===null?(n.fallback!==void 0&&jw(t),e=n.children,i=n.fallback,a?(e=n3(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Kv,e):typeof n.unstable_expectedLoadTime=="number"?(e=n3(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Kv,t.lanes=33554432,e):(r=_S({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=a3(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=Kv,n):(r=i3(e,t,n.children,r),t.memoizedState=null,r):a?(n=a3(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=Kv,n):(r=i3(e,t,n.children,r),t.memoizedState=null,r)}function n3(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},!(i&2)&&a!==null?(a.childLanes=0,a.pendingProps=t):a=_S(t,i,0,null),r=vf(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function i3(e,t,r,n){var i=e.child;return e=i.sibling,r=cu(i,{mode:"visible",children:r}),!(t.mode&2)&&(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 a3(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var u={mode:"hidden",children:r};return!(a&2)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=cu(o,u),e!==null?n=cu(e,n):(n=vf(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function o3(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),MR(e.return,t)}function R1(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 u3(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(ti(e,t,n.children,r),n=qr.current,n&2)n=n&1|2,t.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&o3(e,r);else if(e.tag===19)o3(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(Yr(qr,n),!(t.mode&2))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Tm(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),R1(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&&Tm(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}R1(t,!0,r,null,a,t.lastEffect);break;case"together":R1(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function no(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),ep|=t.lanes,r&t.childLanes){if(e!==null&&t.child!==e.child)throw Error(dt(153));if(t.child!==null){for(e=t.child,r=cu(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=cu(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var WR,qw,qR,VR;WR=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}};qw=function(){};qR=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,sl(_a.current);var a=null;switch(r){case"input":i=bw(e,i),n=bw(e,n),a=[];break;case"option":i=_w(e,i),n=_w(e,n),a=[];break;case"select":i=jr({},i,{value:void 0}),n=jr({},n,{value:void 0}),a=[];break;case"textarea":i=Sw(e,i),n=Sw(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=bm)}Cw(r,n);var o;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var u=i[c];for(o in u)u.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(gd.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var s=n[c];if(u=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&s!==u&&(s!=null||u!=null))if(c==="style")if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&u[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,u=u?u.__html:void 0,s!=null&&u!==s&&(a=a||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(gd.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&Lr("scroll",e),a||u===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===j2?s.toString():(a=a||[]).push(c,s))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};VR=function(e,t,r,n){r!==n&&(t.flags|=4)};function yh(e,t){if(!Sa)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 YL(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 ai(t.type)&&wm(),null;case 3:return Ef(),Dr(ii),Dr(Bn),fS(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Xv(t)?t.flags|=4:n.hydrate||(t.flags|=256)),qw(t),null;case 5:sS(t);var i=sl(Md.current);if(r=t.type,e!==null&&t.stateNode!=null)qR(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=sl(_a.current),Xv(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Vo]=t,n[xm]=a,r){case"dialog":Lr("cancel",n),Lr("close",n);break;case"iframe":case"object":case"embed":Lr("load",n);break;case"video":case"audio":for(e=0;e<zh.length;e++)Lr(zh[e],n);break;case"source":Lr("error",n);break;case"img":case"image":case"link":Lr("error",n),Lr("load",n);break;case"details":Lr("toggle",n);break;case"input":uA(n,a),Lr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Lr("invalid",n);break;case"textarea":sA(n,a),Lr("invalid",n)}Cw(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]):gd.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Lr("scroll",n));switch(r){case"input":Gv(n),lA(n,a,!0);break;case"textarea":Gv(n),fA(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=bm)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===Ew.html&&(e=zk(r)),e===Ew.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[Vo]=t,e[xm]=n,WR(e,t,!1,!1),t.stateNode=e,o=Tw(r,n),r){case"dialog":Lr("cancel",e),Lr("close",e),i=n;break;case"iframe":case"object":case"embed":Lr("load",e),i=n;break;case"video":case"audio":for(i=0;i<zh.length;i++)Lr(zh[i],e);i=n;break;case"source":Lr("error",e),i=n;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),i=n;break;case"details":Lr("toggle",e),i=n;break;case"input":uA(e,n),i=bw(e,n),Lr("invalid",e);break;case"option":i=_w(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=jr({},n,{value:void 0}),Lr("invalid",e);break;case"textarea":sA(e,n),i=Sw(e,n),Lr("invalid",e);break;default:i=n}Cw(r,i);var u=i;for(a in u)if(u.hasOwnProperty(a)){var s=u[a];a==="style"?Gk(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Uk(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&yd(e,s):typeof s=="number"&&yd(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(gd.hasOwnProperty(a)?s!=null&&a==="onScroll"&&Lr("scroll",e):s!=null&&L2(e,a,s,o))}switch(r){case"input":Gv(e),lA(e,n,!1);break;case"textarea":Gv(e),fA(e);break;case"option":n.value!=null&&e.setAttribute("value",""+uu(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?uf(e,!!n.multiple,a,!1):n.defaultValue!=null&&uf(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=bm)}xR(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)VR(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(dt(166));r=sl(Md.current),sl(_a.current),Xv(t)?(n=t.stateNode,r=t.memoizedProps,n[Vo]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Vo]=t,t.stateNode=n)}return null;case 13:return Dr(qr),n=t.memoizedState,t.flags&64?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Xv(t):r=e.memoizedState!==null,n&&!r&&t.mode&2&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||qr.current&1?Rn===0&&(Rn=3):((Rn===0||Rn===3)&&(Rn=4),Vn===null||!(ep&134217727)&&!(Hf&134217727)||df(Vn,Dn))),(n||r)&&(t.flags|=4),null);case 4:return Ef(),qw(t),e===null&&gR(t.stateNode.containerInfo),null;case 10:return uS(t),null;case 17:return ai(t.type)&&wm(),null;case 19:if(Dr(qr),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)yh(n,!1);else{if(Rn!==0||e!==null&&e.flags&64)for(e=t.child;e!==null;){if(o=Tm(e),o!==null){for(t.flags|=64,yh(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 Yr(qr,qr.current&1|2),t.child}e=e.sibling}n.tail!==null&&$n()>Zw&&(t.flags|=64,a=!0,yh(n,!1),t.lanes=33554432)}else{if(!a)if(e=Tm(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),yh(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Sa)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*$n()-n.renderingStartTime>Zw&&r!==1073741824&&(t.flags|=64,a=!0,yh(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=$n(),r.sibling=null,t=qr.current,Yr(qr,a?t&1|2:t&1),r):null;case 23:case 24:return xS(),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 XL(e){switch(e.tag){case 1:ai(e.type)&&wm();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ef(),Dr(ii),Dr(Bn),fS(),t=e.flags,t&64)throw Error(dt(285));return e.flags=t&-4097|64,e;case 5:return sS(e),null;case 13:return Dr(qr),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Dr(qr),null;case 4:return Ef(),null;case 10:return uS(e),null;case 23:case 24:return xS(),null;default:return null}}function mS(e,t){try{var r="",n=t;do r+=M8(n),n=n.return;while(n);var i=r}catch(a){i=`
|
|
38
|
+
Error generating stack: `+a.message+`
|
|
39
|
+
`+a.stack}return{value:e,source:t,stack:i}}function Vw(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var KL=typeof WeakMap=="function"?WeakMap:Map;function YR(e,t,r){r=tu(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Fm||(Fm=!0,Jw=n),Vw(e,t)},r}function XR(e,t,r){r=tu(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Vw(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(xa===null?xa=new Set([this]):xa.add(this),Vw(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var QL=typeof WeakSet=="function"?WeakSet:Set;function l3(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){au(e,r)}else t.current=null}function ZL(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:Ki(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&nS(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(dt(163))}function JL(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&&i&1&&(iI(r,e),u$(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:Ki(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&GA(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}GA(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&xR(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&&Jk(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(dt(163))}function s3(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=jk("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 f3(e,t){if(pl&&typeof pl.onCommitFiberUnmount=="function")try{pl.onCommitFiberUnmount(iS,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)iI(t,r);else{n=t;try{i()}catch(a){au(n,a)}}r=r.next}while(r!==e)}break;case 1:if(l3(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){au(t,a)}break;case 5:l3(t);break;case 4:KR(e,t)}}function c3(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 h3(e){return e.tag===5||e.tag===3||e.tag===4}function d3(e){e:{for(var t=e.return;t!==null;){if(h3(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&&(yd(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||h3(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?Yw(e,r,t):Xw(e,r,t)}function Yw(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=bm));else if(n!==4&&(e=e.child,e!==null))for(Yw(e,t,r),e=e.sibling;e!==null;)Yw(e,t,r),e=e.sibling}function Xw(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(Xw(e,t,r),e=e.sibling;e!==null;)Xw(e,t,r),e=e.sibling}function KR(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,u=r,s=u;;)if(f3(o,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===u)break e;for(;s.sibling===null;){if(s.return===null||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(o=i,u=r.stateNode,o.nodeType===8?o.parentNode.removeChild(u):o.removeChild(u)):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(f3(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 I1(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[xm]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Dk(r,n),Tw(e,i),t=Tw(e,n),i=0;i<a.length;i+=2){var o=a[i],u=a[i+1];o==="style"?Gk(r,u):o==="dangerouslySetInnerHTML"?Uk(r,u):o==="children"?yd(r,u):L2(r,o,u,t)}switch(e){case"input":xw(r,n);break;case"textarea":Bk(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?uf(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?uf(r,!!n.multiple,n.defaultValue,!0):uf(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,Jk(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(bS=$n(),s3(t.child,!0)),p3(t);return;case 19:p3(t);return;case 17:return;case 23:case 24:s3(t,t.memoizedState!==null);return}throw Error(dt(163))}function p3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new QL),t.forEach(function(n){var i=f$.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function e$(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var t$=Math.ceil,Pm=Ll.ReactCurrentDispatcher,gS=Ll.ReactCurrentOwner,er=0,Vn=null,dn=null,Dn=0,_l=0,Kw=gu(0),Rn=0,Og=null,Gf=0,ep=0,Hf=0,yS=0,Qw=null,bS=0,Zw=1/0;function Wf(){Zw=$n()+500}var zt=null,Fm=!1,Jw=null,xa=null,fu=!1,id=null,Uh=90,e_=[],t_=[],ao=null,ad=0,r_=null,W0=-1,to=0,q0=0,od=null,V0=!1;function gi(){return er&48?$n():W0!==-1?W0:W0=$n()}function nu(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return Sf()===99?1:2;if(to===0&&(to=Gf),jL.transition!==0){q0!==0&&(q0=Qw!==null?Qw.pendingLanes:0),e=to;var t=4186112&~q0;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Sf(),er&4&&e===98?e=gm(12,to):(e=W8(e),e=gm(e,to)),e}function iu(e,t,r){if(50<ad)throw ad=0,r_=null,Error(dt(185));if(e=Mg(e,t),e===null)return null;wg(e,t,r),e===Vn&&(Hf|=t,Rn===4&&df(e,Dn));var n=Sf();t===1?er&8&&!(er&48)?n_(e):(Li(e,r),er===0&&(Wf(),Ta())):(!(er&4)||n!==98&&n!==99||(ao===null?ao=new Set([e]):ao.add(e)),Li(e,r)),Qw=e}function Mg(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 Li(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var u=31-lu(o),s=1<<u,c=a[u];if(c===-1){if(!(s&n)||s&i){c=t,js(s);var d=Nr;a[u]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);o&=~s}if(n=_d(e,e===Vn?Dn:0),t=Nr,n===0)r!==null&&(r!==T1&&Dw(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==T1&&Dw(r)}t===15?(r=n_.bind(null,e),eo===null?(eo=[r],H0=aS(Cg,OR)):eo.push(r),r=T1):t===14?r=Cd(99,n_.bind(null,e)):(r=q8(t),r=Cd(r,QR.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function QR(e){if(W0=-1,q0=to=0,er&48)throw Error(dt(327));var t=e.callbackNode;if(yu()&&e.callbackNode!==t)return null;var r=_d(e,e===Vn?Dn:0);if(r===0)return null;var n=r,i=er;er|=16;var a=tI();(Vn!==e||Dn!==n)&&(Wf(),pf(e,n));do try{i$();break}catch(u){eI(e,u)}while(1);if(oS(),Pm.current=a,er=i,dn!==null?n=0:(Vn=null,Dn=0,n=Rn),Gf&Hf)pf(e,0);else if(n!==0){if(n===2&&(er|=64,e.hydrate&&(e.hydrate=!1,nS(e.containerInfo)),r=oR(e),r!==0&&(n=jh(e,r))),n===1)throw t=Og,pf(e,0),df(e,r),Li(e,$n()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(dt(345));case 2:el(e);break;case 3:if(df(e,r),(r&62914560)===r&&(n=bS+500-$n(),10<n)){if(_d(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){gi(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=NA(el.bind(null,e),n);break}el(e);break;case 4:if(df(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-lu(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=$n()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*t$(r/1960))-r,10<r){e.timeoutHandle=NA(el.bind(null,e),r);break}el(e);break;case 5:el(e);break;default:throw Error(dt(329))}}return Li(e,$n()),e.callbackNode===t?QR.bind(null,e):null}function df(e,t){for(t&=~yS,t&=~Hf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-lu(t),n=1<<r;e[r]=-1,t&=~n}}function n_(e){if(er&48)throw Error(dt(327));if(yu(),e===Vn&&e.expiredLanes&Dn){var t=Dn,r=jh(e,t);Gf&Hf&&(t=_d(e,t),r=jh(e,t))}else t=_d(e,0),r=jh(e,t);if(e.tag!==0&&r===2&&(er|=64,e.hydrate&&(e.hydrate=!1,nS(e.containerInfo)),t=oR(e),t!==0&&(r=jh(e,t))),r===1)throw r=Og,pf(e,0),df(e,t),Li(e,$n()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,el(e),Li(e,$n()),null}function r$(){if(ao!==null){var e=ao;ao=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Li(t,$n())})}Ta()}function ZR(e,t){var r=er;er|=1;try{return e(t)}finally{er=r,er===0&&(Wf(),Ta())}}function JR(e,t){var r=er;er&=-2,er|=8;try{return e(t)}finally{er=r,er===0&&(Wf(),Ta())}}function Qv(e,t){Yr(Kw,_l),_l|=t,Gf|=t}function xS(){_l=Kw.current,Dr(Kw)}function pf(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,LL(r)),dn!==null)for(r=dn.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&wm();break;case 3:Ef(),Dr(ii),Dr(Bn),fS();break;case 5:sS(n);break;case 4:Ef();break;case 13:Dr(qr);break;case 19:Dr(qr);break;case 10:uS(n);break;case 23:case 24:xS()}r=r.return}Vn=e,dn=cu(e.current,null),Dn=_l=Gf=t,Rn=0,Og=null,yS=Hf=ep=0}function eI(e,t){do{var r=dn;try{if(oS(),rd.current=Im,Om){for(var n=Qr.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Om=!1}if(kd=0,kn=Ln=Qr=null,nd=!1,gS.current=null,r===null||r.return===null){Rn=1,Og=t,dn=null;break}e:{var a=e,o=r.return,u=r,s=t;if(t=Dn,u.flags|=2048,u.firstEffect=u.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s;if(!(u.mode&2)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var g=(qr.current&1)!==0,v=o;do{var y;if(y=v.tag===13){var A=v.memoizedState;if(A!==null)y=A.dehydrated!==null;else{var E=v.memoizedProps;y=E.fallback===void 0?!1:E.unstable_avoidThisFallback!==!0?!0:!g}}if(y){var w=v.updateQueue;if(w===null){var x=new Set;x.add(c),v.updateQueue=x}else w.add(c);if(!(v.mode&2)){if(v.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var _=tu(-1,1);_.tag=2,ru(u,_)}u.lanes|=1;break e}s=void 0,u=t;var T=a.pingCache;if(T===null?(T=a.pingCache=new KL,s=new Set,T.set(c,s)):(s=T.get(c),s===void 0&&(s=new Set,T.set(c,s))),!s.has(u)){s.add(u);var C=s$.bind(null,a,c,u);c.then(C,C)}v.flags|=4096,v.lanes=t;break e}v=v.return}while(v!==null);s=Error((of(u.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
40
|
+
|
|
41
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Rn!==5&&(Rn=2),s=mS(s,u),v=o;do{switch(v.tag){case 3:a=s,v.flags|=4096,t&=-t,v.lanes|=t;var R=YR(v,a,t);jA(v,R);break e;case 1:a=s;var N=v.type,V=v.stateNode;if(!(v.flags&64)&&(typeof N.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(xa===null||!xa.has(V)))){v.flags|=4096,t&=-t,v.lanes|=t;var j=XR(v,a,t);jA(v,j);break e}}v=v.return}while(v!==null)}nI(r)}catch(ne){t=ne,dn===r&&r!==null&&(dn=r=r.return);continue}break}while(1)}function tI(){var e=Pm.current;return Pm.current=Im,e===null?Im:e}function jh(e,t){var r=er;er|=16;var n=tI();Vn===e&&Dn===t||pf(e,t);do try{n$();break}catch(i){eI(e,i)}while(1);if(oS(),er=r,Pm.current=n,dn!==null)throw Error(dt(261));return Vn=null,Dn=0,Rn}function n$(){for(;dn!==null;)rI(dn)}function i$(){for(;dn!==null&&!BL();)rI(dn)}function rI(e){var t=aI(e.alternate,e,_l);e.memoizedProps=e.pendingProps,t===null?nI(e):dn=t,gS.current=null}function nI(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&2048){if(r=XL(t),r!==null){r.flags&=2047,dn=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(r=YL(r,t,_l),r!==null){dn=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||_l&1073741824||!(r.mode&4)){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)&&(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))}if(t=t.sibling,t!==null){dn=t;return}dn=t=e}while(t!==null);Rn===0&&(Rn=5)}function el(e){var t=Sf();return wl(99,a$.bind(null,e,t)),null}function a$(e,t){do yu();while(id!==null);if(er&48)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,u=e.expirationTimes;0<a;){var s=31-lu(a),c=1<<s;i[s]=0,o[s]=-1,u[s]=-1,a&=~c}if(ao!==null&&!(n&24)&&ao.has(e)&&ao.delete(e),e===Vn&&(dn=Vn=null,Dn=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=er,er|=32,gS.current=null,E1=z0,o=OA(),Pw(o)){if("selectionStart"in o)u={start:o.selectionStart,end:o.selectionEnd};else e:if(u=(u=o.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&c.rangeCount!==0){u=c.anchorNode,a=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch{u=null;break e}var d=0,g=-1,v=-1,y=0,A=0,E=o,w=null;t:for(;;){for(var x;E!==u||a!==0&&E.nodeType!==3||(g=d+a),E!==s||c!==0&&E.nodeType!==3||(v=d+c),E.nodeType===3&&(d+=E.nodeValue.length),(x=E.firstChild)!==null;)w=E,E=x;for(;;){if(E===o)break t;if(w===u&&++y===a&&(g=d),w===s&&++A===c&&(v=d),(x=E.nextSibling)!==null)break;E=w,w=E.parentNode}E=x}u=g===-1||v===-1?null:{start:g,end:v}}else u=null;u=u||{start:0,end:0}}else u=null;A1={focusedElem:o,selectionRange:u},z0=!1,od=null,V0=!1,zt=n;do try{o$()}catch(ne){if(zt===null)throw Error(dt(330));au(zt,ne),zt=zt.nextEffect}while(zt!==null);od=null,zt=n;do try{for(o=e;zt!==null;){var _=zt.flags;if(_&16&&yd(zt.stateNode,""),_&128){var T=zt.alternate;if(T!==null){var C=T.ref;C!==null&&(typeof C=="function"?C(null):C.current=null)}}switch(_&1038){case 2:d3(zt),zt.flags&=-3;break;case 6:d3(zt),zt.flags&=-3,I1(zt.alternate,zt);break;case 1024:zt.flags&=-1025;break;case 1028:zt.flags&=-1025,I1(zt.alternate,zt);break;case 4:I1(zt.alternate,zt);break;case 8:u=zt,KR(o,u);var R=u.alternate;c3(u),R!==null&&c3(R)}zt=zt.nextEffect}}catch(ne){if(zt===null)throw Error(dt(330));au(zt,ne),zt=zt.nextEffect}while(zt!==null);if(C=A1,T=OA(),_=C.focusedElem,o=C.selectionRange,T!==_&&_&&_.ownerDocument&&pR(_.ownerDocument.documentElement,_)){for(o!==null&&Pw(_)&&(T=o.start,C=o.end,C===void 0&&(C=T),"selectionStart"in _?(_.selectionStart=T,_.selectionEnd=Math.min(C,_.value.length)):(C=(T=_.ownerDocument||document)&&T.defaultView||window,C.getSelection&&(C=C.getSelection(),u=_.textContent.length,R=Math.min(o.start,u),o=o.end===void 0?R:Math.min(o.end,u),!C.extend&&R>o&&(u=o,o=R,R=u),u=TA(_,R),a=TA(_,o),u&&a&&(C.rangeCount!==1||C.anchorNode!==u.node||C.anchorOffset!==u.offset||C.focusNode!==a.node||C.focusOffset!==a.offset)&&(T=T.createRange(),T.setStart(u.node,u.offset),C.removeAllRanges(),R>o?(C.addRange(T),C.extend(a.node,a.offset)):(T.setEnd(a.node,a.offset),C.addRange(T)))))),T=[],C=_;C=C.parentNode;)C.nodeType===1&&T.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<T.length;_++)C=T[_],C.element.scrollLeft=C.left,C.element.scrollTop=C.top}z0=!!E1,A1=E1=null,e.current=r,zt=n;do try{for(_=e;zt!==null;){var N=zt.flags;if(N&36&&JL(_,zt.alternate,zt),N&128){T=void 0;var V=zt.ref;if(V!==null){var j=zt.stateNode;switch(zt.tag){case 5:T=j;break;default:T=j}typeof V=="function"?V(T):V.current=T}}zt=zt.nextEffect}}catch(ne){if(zt===null)throw Error(dt(330));au(zt,ne),zt=zt.nextEffect}while(zt!==null);zt=null,UL(),er=i}else e.current=r;if(fu)fu=!1,id=e,Uh=t;else for(zt=n;zt!==null;)t=zt.nextEffect,zt.nextEffect=null,zt.flags&8&&(N=zt,N.sibling=null,N.stateNode=null),zt=t;if(n=e.pendingLanes,n===0&&(xa=null),n===1?e===r_?ad++:(ad=0,r_=e):ad=0,r=r.stateNode,pl&&typeof pl.onCommitFiberRoot=="function")try{pl.onCommitFiberRoot(iS,r,void 0,(r.current.flags&64)===64)}catch{}if(Li(e,$n()),Fm)throw Fm=!1,e=Jw,Jw=null,e;return er&8||Ta(),null}function o$(){for(;zt!==null;){var e=zt.alternate;V0||od===null||(zt.flags&8?dA(zt,od)&&(V0=!0):zt.tag===13&&e$(e,zt)&&dA(zt,od)&&(V0=!0));var t=zt.flags;t&256&&ZL(e,zt),!(t&512)||fu||(fu=!0,Cd(97,function(){return yu(),null})),zt=zt.nextEffect}}function yu(){if(Uh!==90){var e=97<Uh?97:Uh;return Uh=90,wl(e,l$)}return!1}function u$(e,t){e_.push(t,e),fu||(fu=!0,Cd(97,function(){return yu(),null}))}function iI(e,t){t_.push(t,e),fu||(fu=!0,Cd(97,function(){return yu(),null}))}function l$(){if(id===null)return!1;var e=id;if(id=null,er&48)throw Error(dt(331));var t=er;er|=32;var r=t_;t_=[];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));au(a,s)}}for(r=e_,e_=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var u=i.create;i.destroy=u()}catch(s){if(a===null)throw Error(dt(330));au(a,s)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return er=t,Ta(),!0}function v3(e,t,r){t=mS(r,t),t=YR(e,t,1),ru(e,t),t=gi(),e=Mg(e,1),e!==null&&(wg(e,1,t),Li(e,t))}function au(e,t){if(e.tag===3)v3(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){v3(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(xa===null||!xa.has(n))){e=mS(t,e);var i=XR(r,e,1);if(ru(r,i),i=gi(),r=Mg(r,1),r!==null)wg(r,1,i),Li(r,i);else if(typeof n.componentDidCatch=="function"&&(xa===null||!xa.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function s$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=gi(),e.pingedLanes|=e.suspendedLanes&r,Vn===e&&(Dn&r)===r&&(Rn===4||Rn===3&&(Dn&62914560)===Dn&&500>$n()-bS?pf(e,0):yS|=r),Li(e,t)}function f$(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,t&2?t&4?(to===0&&(to=Gf),t=Gs(62914560&~to),t===0&&(t=4194304)):t=Sf()===99?1:2:t=1),r=gi(),e=Mg(e,t),e!==null&&(wg(e,t,r),Li(e,r))}var aI;aI=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||ii.current)Zi=!0;else if(r&n)Zi=!!(e.flags&16384);else{switch(Zi=!1,t.tag){case 3:t3(t),M1();break;case 5:qA(t);break;case 1:ai(t.type)&&G0(t);break;case 4:Uw(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Yr(_m,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return r&t.child.childLanes?r3(e,t,r):(Yr(qr,qr.current&1),t=no(e,t,r),t!==null?t.sibling:null);Yr(qr,qr.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&64){if(n)return u3(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Yr(qr,qr.current),n)break;return null;case 23:case 24:return t.lanes=0,k1(e,t,r)}return no(e,t,r)}else Zi=!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=_f(t,Bn.current),cf(t,r),i=hS(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,ai(n)){var a=!0;G0(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,lS(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&Am(t,n,o,e),i.updater=Tg,t.stateNode=i,i._reactInternals=t,zw(t,n,e,r),t=Ww(null,t,n,!0,a,r)}else t.tag=0,ti(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=h$(i),e=Ki(i,e),a){case 0:t=Hw(null,t,i,e,r);break e;case 1:t=e3(null,t,i,e,r);break e;case 11:t=ZA(null,t,i,e,r);break e;case 14:t=JA(null,t,i,Ki(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:Ki(n,i),Hw(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ki(n,i),e3(e,t,n,i,r);case 3:if(t3(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,kR(e,t),Td(t,n,null,r),n=t.memoizedState.element,n===i)M1(),t=no(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Yo=ff(t.stateNode.containerInfo.firstChild),ro=t,a=Sa=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],hf.push(a);for(r=FR(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else ti(e,t,n,r),M1();t=t.child}return t;case 5:return qA(t),e===null&&jw(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Lw(n,i)?o=null:a!==null&&Lw(n,a)&&(t.flags|=16),HR(e,t),ti(e,t,o,r),t.child;case 6:return e===null&&jw(t),null;case 13:return r3(e,t,r);case 4:return Uw(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Cm(t,null,n,r):ti(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ki(n,i),ZA(e,t,n,i,r);case 7:return ti(e,t,t.pendingProps,r),t.child;case 8:return ti(e,t,t.pendingProps.children,r),t.child;case 12:return ti(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 u=t.type._context;if(Yr(_m,u._currentValue),u._currentValue=a,o!==null)if(u=o.value,a=ki(u,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(u,a):1073741823)|0,a===0){if(o.children===i.children&&!ii.current){t=no(e,t,r);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var s=u.dependencies;if(s!==null){o=u.child;for(var c=s.firstContext;c!==null;){if(c.context===n&&c.observedBits&a){u.tag===1&&(c=tu(-1,r&-r),c.tag=2,ru(u,c)),u.lanes|=r,c=u.alternate,c!==null&&(c.lanes|=r),MR(u.return,r),s.lanes|=r;break}c=c.next}}else o=u.tag===10&&u.type===t.type?null:u.child;if(o!==null)o.return=u;else for(o=u;o!==null;){if(o===t){o=null;break}if(u=o.sibling,u!==null){u.return=o.return,o=u;break}o=o.return}u=o}ti(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,cf(t,r),i=Ni(i,a.unstable_observedBits),n=n(i),t.flags|=1,ti(e,t,n,r),t.child;case 14:return i=t.type,a=Ki(i,t.pendingProps),a=Ki(i.type,a),JA(e,t,i,a,n,r);case 15:return GR(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ki(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ai(n)?(e=!0,G0(t)):e=!1,cf(t,r),IR(t,n,i),zw(t,n,i,r),Ww(null,t,n,!0,e,r);case 19:return u3(e,t,r);case 23:return k1(e,t,r);case 24:return k1(e,t,r)}throw Error(dt(156,t.tag))};function c$(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 Ri(e,t,r,n){return new c$(e,t,r,n)}function wS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function h$(e){if(typeof e=="function")return wS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yg)return 11;if(e===bg)return 14}return 2}function cu(e,t){var r=e.alternate;return r===null?(r=Ri(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 Y0(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")wS(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ho:return vf(r.children,i,a,t);case Nk:o=8,i|=16;break;case $2:o=8,i|=1;break;case Xh:return e=Ri(12,r,t,i|8),e.elementType=Xh,e.type=Xh,e.lanes=a,e;case Kh:return e=Ri(13,r,t,i),e.type=Kh,e.elementType=Kh,e.lanes=a,e;case dm:return e=Ri(19,r,t,i),e.elementType=dm,e.lanes=a,e;case G2:return _S(r,i,a,t);case yw:return e=Ri(24,r,t,i),e.elementType=yw,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D2:o=10;break e;case B2:o=9;break e;case yg:o=11;break e;case bg:o=14;break e;case z2:o=16,n=null;break e;case U2:o=22;break e}throw Error(dt(130,e==null?e:typeof e,""))}return t=Ri(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function vf(e,t,r,n){return e=Ri(7,e,n,t),e.lanes=r,e}function _S(e,t,r,n){return e=Ri(23,e,n,t),e.elementType=G2,e.lanes=r,e}function P1(e,t,r){return e=Ri(6,e,null,t),e.lanes=r,e}function F1(e,t,r){return t=Ri(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function d$(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=g1(0),this.expirationTimes=g1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=g1(0),this.mutableSourceEagerHydrationData=null}function p$(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ol,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Nm(e,t,r,n){var i=t.current,a=gi(),o=nu(i);e:if(r){r=r._reactInternals;t:{if($l(r)!==r||r.tag!==1)throw Error(dt(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(ai(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(u!==null);throw Error(dt(171))}if(r.tag===1){var s=r.type;if(ai(s)){r=_R(r,s,u);break e}}r=u}else r=su;return t.context===null?t.context=r:t.pendingContext=r,t=tu(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),ru(i,t),iu(i,o,a),o}function N1(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 m3(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function SS(e,t){m3(e,t),(e=e.alternate)&&m3(e,t)}function v$(){return null}function ES(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new d$(e,t,r!=null&&r.hydrate===!0),t=Ri(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,lS(t),e[jf]=r.current,gR(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}ES.prototype.render=function(e){Nm(e,this._internalRoot,null,null)};ES.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Nm(null,e,null,function(){t[jf]=null})};function tp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function m$(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 ES(e,0,t?{hydrate:!0}:void 0)}function kg(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var u=i;i=function(){var c=N1(o);u.call(c)}}Nm(t,o,e,i)}else{if(a=r._reactRootContainer=m$(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var c=N1(o);s.call(c)}}JR(function(){Nm(t,o,e,i)})}return N1(o)}Kk=function(e){if(e.tag===13){var t=gi();iu(e,4,t),SS(e,4)}};Y2=function(e){if(e.tag===13){var t=gi();iu(e,67108864,t),SS(e,67108864)}};Qk=function(e){if(e.tag===13){var t=gi(),r=nu(e);iu(e,r,t),SS(e,r)}};Zk=function(e,t){return t()};Ow=function(e,t,r){switch(t){case"input":if(xw(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=Ag(n);if(!i)throw Error(dt(90));$k(n),xw(n,i)}}}break;case"textarea":Bk(e,r);break;case"select":t=r.value,t!=null&&uf(e,!!r.multiple,t,!1)}};W2=ZR;qk=function(e,t,r,n,i){var a=er;er|=4;try{return wl(98,e.bind(null,t,r,n,i))}finally{er=a,er===0&&(Wf(),Ta())}};q2=function(){!(er&49)&&(r$(),yu())};Vk=function(e,t){var r=er;er|=2;try{return e(t)}finally{er=r,er===0&&(Wf(),Ta())}};function oI(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!tp(t))throw Error(dt(200));return p$(e,t,null,r)}var g$={Events:[Zd,Ks,Ag,Hk,Wk,yu,{current:!1}]},bh={findFiberByHostInstance:ll,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},y$={bundleType:bh.bundleType,version:bh.version,rendererPackageName:bh.rendererPackageName,rendererConfig:bh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ll.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Xk(e),e===null?null:e.stateNode},findFiberByHostInstance:bh.findFiberByHostInstance||v$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zv.isDisabled&&Zv.supportsFiber)try{iS=Zv.inject(y$),pl=Zv}catch{}}$i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g$;$i.createPortal=oI;$i.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=Xk(t),e=e===null?null:e.stateNode,e};$i.flushSync=function(e,t){var r=er;if(r&48)return e(t);er|=1;try{if(e)return wl(99,e.bind(null,t))}finally{er=r,Ta()}};$i.hydrate=function(e,t,r){if(!tp(t))throw Error(dt(200));return kg(null,e,t,!0,r)};$i.render=function(e,t,r){if(!tp(t))throw Error(dt(200));return kg(null,e,t,!1,r)};$i.unmountComponentAtNode=function(e){if(!tp(e))throw Error(dt(40));return e._reactRootContainer?(JR(function(){kg(null,null,e,!1,function(){e._reactRootContainer=null,e[jf]=null})}),!0):!1};$i.unstable_batchedUpdates=ZR;$i.unstable_createPortal=function(e,t){return oI(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};$i.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!tp(r))throw Error(dt(200));if(e==null||e._reactInternals===void 0)throw Error(dt(38));return kg(e,t,r,!1,n)};$i.version="17.0.2";function uI(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uI)}catch(e){console.error(e)}}uI(),Rk.exports=$i;var AS=Rk.exports;const Gh=yi(AS);var lI={exports:{}},b$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",x$=b$,w$=x$;function sI(){}function fI(){}fI.resetWarningCache=sI;var _$=function(){function e(n,i,a,o,u,s){if(s!==w$){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:fI,resetWarningCache:sI};return r.PropTypes=r,r};lI.exports=_$();var S$=lI.exports;const hr=yi(S$);var E$=function(){},A$=E$(),co=function(e){return e!==A$&&e!==null},C$=co,T$=Array.prototype.forEach,O$=Object.create,M$=function(e,t){var r;for(r in e)t[r]=e[r]},CS=function(e){var t=O$(null);return T$.call(arguments,function(r){C$(r)&&M$(Object(r),t)}),t},k$=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},L1,g3;function R$(){return g3||(g3=1,L1=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),L1}var I$=k$()?Math.sign:R$(),P$=I$,F$=Math.abs,N$=Math.floor,L$=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:P$(e)*N$(F$(e)))},$$=L$,D$=Math.max,Bl=function(e){return D$(0,$$(e))},B$=Bl,cI=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:B$(e)},Oa=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},z$=co,ra=function(e){if(!z$(e))throw new TypeError("Cannot use null or undefined");return e},U$=Oa,j$=ra,G$=Function.prototype.bind,y3=Function.prototype.call,H$=Object.keys,W$=Object.prototype.propertyIsEnumerable,q$=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(j$(r)),U$(n),i=H$(r),o&&i.sort(typeof o=="function"?G$.call(o,r):void 0),typeof e!="function"&&(e=i[e]),y3.call(e,i,function(u,s){return W$.call(r,u)?y3.call(n,a,r[u],u,r,s):t})}},Rg=q$("forEach"),zl={},hI={exports:{}},V$=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")},$1,b3;function Y$(){return b3||(b3=1,$1=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),$1}var D1,x3;function X$(){if(x3)return D1;x3=1;var e=co,t=Object.keys;return D1=function(r){return t(e(r)?Object(r):r)},D1}var B1,w3;function K$(){return w3||(w3=1,B1=Y$()()?Object.keys:X$()),B1}var z1,_3;function Q$(){if(_3)return z1;_3=1;var e=K$(),t=ra,r=Math.max;return z1=function(n,i){var a,o,u=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<u;++o)i=arguments[o],e(i).forEach(s);if(a!==void 0)throw a;return n},z1}var Ig=V$()?Object.assign:Q$(),Z$=co,J$={function:!0,object:!0},TS=function(e){return Z$(e)&&J$[typeof e]||!1};(function(e){var t=Ig,r=TS,n=co,i=Error.captureStackTrace;e.exports=function(a){var o=new Error(a),u=arguments[1],s=arguments[2];return n(s)||r(u)&&(s=u,u=null),n(s)&&t(o,s),n(u)&&(o.code=u),i&&i(o,e.exports),o}})(hI);var eD=hI.exports,i_={exports:{}},U1,S3;function dI(){if(S3)return U1;S3=1;var e=ra,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return U1=function(a,o){var u,s=Object(e(o));if(a=Object(e(a)),n(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){u=d}}),typeof i=="function"&&i(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){u=d}}),u!==void 0)throw u;return a},U1}var E3=Bl,pI=function(e,t){return t},j1,A3,C3,T3;try{Object.defineProperty(pI,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}pI.length===1?(j1={configurable:!0,writable:!1,enumerable:!1},A3=Object.defineProperty,i_.exports=function(e,t){return t=E3(t),e.length===t?e:(j1.value=t,A3(e,"length",j1))}):(T3=dI(),C3=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); };")}}(),i_.exports=function(e,t){var r;if(t=E3(t),e.length===t)return e;r=C3(t)(e);try{T3(r,e)}catch{}return r});var vI=i_.exports,mI={exports:{}},tD=void 0,qf=function(e){return e!==tD&&e!==null},rD=qf,nD={object:!0,function:!0,undefined:!0},OS=function(e){return rD(e)?hasOwnProperty.call(nD,typeof e):!1},iD=OS,aD=function(e){if(!iD(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},oD=aD,uD=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!oD(e)},lD=uD,sD=/^\s*class[\s{/}]/,fD=Function.prototype.toString,gI=function(e){return!(!lD(e)||sD.test(fD.call(e)))},G1="razdwatrzy",cD=function(){return typeof G1.contains!="function"?!1:G1.contains("dwa")===!0&&G1.contains("foo")===!1},H1,O3;function hD(){if(O3)return H1;O3=1;var e=String.prototype.indexOf;return H1=function(t){return e.call(this,t,arguments[1])>-1},H1}var yI=cD()?String.prototype.contains:hD(),X0=qf,M3=gI,bI=Ig,xI=CS,ud=yI,dD=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],X0(e)?(r=ud.call(e,"c"),n=ud.call(e,"e"),i=ud.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?bI(xI(a),o):o};dD.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],X0(t)?M3(t)?X0(r)?M3(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,X0(e)?(n=ud.call(e,"c"),i=ud.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?bI(xI(a),o):o};var na=mI.exports,a_={exports:{}};(function(e,t){var r=na,n=Oa,i=Function.prototype.apply,a=Function.prototype.call,o=Object.create,u=Object.defineProperty,s=Object.defineProperties,c=Object.prototype.hasOwnProperty,d={configurable:!0,enumerable:!1,writable:!0},g,v,y,A,E,w,x;g=function(_,T){var C;return n(T),c.call(this,"__ee__")?C=this.__ee__:(C=d.value=o(null),u(this,"__ee__",d),d.value=null),C[_]?typeof C[_]=="object"?C[_].push(T):C[_]=[C[_],T]:C[_]=T,this},v=function(_,T){var C,R;return n(T),R=this,g.call(this,_,C=function(){y.call(R,_,C),i.call(T,this,arguments)}),C.__eeOnceListener__=T,this},y=function(_,T){var C,R,N,V;if(n(T),!c.call(this,"__ee__"))return this;if(C=this.__ee__,!C[_])return this;if(R=C[_],typeof R=="object")for(V=0;N=R[V];++V)(N===T||N.__eeOnceListener__===T)&&(R.length===2?C[_]=R[V?0:1]:R.splice(V,1));else(R===T||R.__eeOnceListener__===T)&&delete C[_];return this},A=function(_){var T,C,R,N,V;if(c.call(this,"__ee__")&&(N=this.__ee__[_],!!N))if(typeof N=="object"){for(C=arguments.length,V=new Array(C-1),T=1;T<C;++T)V[T-1]=arguments[T];for(N=N.slice(),T=0;R=N[T];++T)i.call(R,this,V)}else switch(arguments.length){case 1:a.call(N,this);break;case 2:a.call(N,this,arguments[1]);break;case 3:a.call(N,this,arguments[1],arguments[2]);break;default:for(C=arguments.length,V=new Array(C-1),T=1;T<C;++T)V[T-1]=arguments[T];i.call(N,this,V)}},E={on:g,once:v,off:y,emit:A},w={on:r(g),once:r(v),off:r(y),emit:r(A)},x=s({},w),e.exports=t=function(_){return _==null?o(x):s(Object(_),w)},t.methods=E})(a_,a_.exports);var pD=a_.exports,W1,k3;function vD(){return k3||(k3=1,W1=function(){var e=Array.from,t,r;return typeof e!="function"?!1:(t=["raz","dwa"],r=e(t),!!(r&&r!==t&&r[1]==="dwa"))}),W1}var q1,R3;function mD(){return R3||(R3=1,q1=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),q1}var V1,I3;function gD(){if(I3)return V1;I3=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 V1=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__}}(),V1}var Y1,P3;function Pg(){return P3||(P3=1,Y1=mD()()?globalThis:gD()),Y1}var X1,F3;function yD(){if(F3)return X1;F3=1;var e=Pg(),t={object:!0,symbol:!0};return X1=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])},X1}var K1,N3;function bD(){return N3||(N3=1,K1=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),K1}var Q1,L3;function wI(){if(L3)return Q1;L3=1;var e=bD();return Q1=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},Q1}var Z1,$3;function xD(){if($3)return Z1;$3=1;var e=na,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return Z1=function(a){for(var o=0,u,s;i[a+(o||"")];)++o;return a+=o||"",i[a]=!0,u="@@"+a,r(n,u,e.gs(null,function(c){s||(s=!0,r(this,u,e(c)),s=!1)})),u},Z1}var J1,D3;function wD(){if(D3)return J1;D3=1;var e=na,t=Pg().Symbol;return J1=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"))})},J1}var eb,B3;function _D(){if(B3)return eb;B3=1;var e=na,t=wI(),r=Object.create(null);return eb=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})})},eb}var tb,z3;function SD(){if(z3)return tb;z3=1;var e=na,t=wI(),r=Pg().Symbol,n=xD(),i=wD(),a=_D(),o=Object.create,u=Object.defineProperties,s=Object.defineProperty,c,d,g;if(typeof r=="function")try{String(r()),g=!0}catch{}else r=null;return d=function(y){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return c(y)},tb=c=function v(y){var A;if(this instanceof v)throw new TypeError("Symbol is not a constructor");return g?r(y):(A=o(d.prototype),y=y===void 0?"":String(y),u(A,{__description__:e("",y),__name__:e("",n(y))}))},i(c),a(c),u(d.prototype,{constructor:e(c),toString:e("",function(){return this.__name__})}),u(c.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),s(c.prototype,c.toPrimitive,e("",function(){var v=t(this);return typeof v=="symbol"?v:v.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])),tb}var rb,U3;function Ul(){return U3||(U3=1,rb=yD()()?Pg().Symbol:SD()),rb}var nb,j3;function Fg(){if(j3)return nb;j3=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return nb=function(r){return e.call(r)===t},nb}var ib,G3;function ED(){if(G3)return ib;G3=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return ib=function(r){return typeof r=="function"&&t(e.call(r))},ib}var ab,H3;function Ng(){if(H3)return ab;H3=1;var e=Object.prototype.toString,t=e.call("");return ab=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},ab}var ob,W3;function AD(){if(W3)return ob;W3=1;var e=Ul().iterator,t=Fg(),r=ED(),n=Bl,i=Oa,a=ra,o=co,u=Ng(),s=Array.isArray,c=Function.prototype.call,d={configurable:!0,enumerable:!0,writable:!0,value:null},g=Object.defineProperty;return ob=function(v){var y=arguments[1],A=arguments[2],E,w,x,_,T,C,R,N,V,j;if(v=Object(a(v)),o(y)&&i(y),!this||this===Array||!r(this)){if(!y){if(t(v))return T=v.length,T!==1?Array.apply(null,v):(_=new Array(1),_[0]=v[0],_);if(s(v)){for(_=new Array(T=v.length),w=0;w<T;++w)_[w]=v[w];return _}}_=[]}else E=this;if(!s(v)){if((V=v[e])!==void 0){for(R=i(V).call(v),E&&(_=new E),N=R.next(),w=0;!N.done;)j=y?c.call(y,A,N.value,w):N.value,E?(d.value=j,g(_,w,d)):_[w]=j,N=R.next(),++w;T=w}else if(u(v)){for(T=v.length,E&&(_=new E),w=0,x=0;w<T;++w)j=v[w],w+1<T&&(C=j.charCodeAt(0),C>=55296&&C<=56319&&(j+=v[++w])),j=y?c.call(y,A,j,x):j,E?(d.value=j,g(_,x,d)):_[x]=j,++x;T=x}}if(T===void 0)for(T=n(v.length),E&&(_=new E(T)),w=0;w<T;++w)j=y?c.call(y,A,v[w],w):v[w],E?(d.value=j,g(_,w,d)):_[w]=j;return E&&(d.value=null,_.length=T),_},ob}var ub,q3;function Lg(){return q3||(q3=1,ub=vD()()?Array.from:AD()),ub}var CD=Lg(),TD=Array.isArray,OD=function(e){return TD(e)?e:CD(e)},MD=OD,kD=co,RD=Oa,ID=Array.prototype.slice,_I;_I=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(ID.call(e,this.length))};var PD=function(e){return e=MD(e),e.forEach(function(t){kD(t)&&RD(t)}),_I.bind(e)},Jv=Oa,FD=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:Jv(e.get)},e.set!==void 0?(t.set=Jv(e.set),e.delete&&(t.delete=Jv(e.delete)),e.clear&&(t.clear=Jv(e.clear)),t):(t.set=t.get,t))},e0=eD,t0=vI,xh=na,SI=pD.methods,ND=PD,LD=FD,lb=Function.prototype.apply,sb=Function.prototype.call,V3=Object.create,$D=Object.defineProperties,DD=SI.on,BD=SI.emit,zD=function(e,t,r){var n=V3(null),i,a,o,u,s,c,d,g,v,y,A,E,w,x,_;return t!==!1?a=t:isNaN(e.length)?a=1:a=e.length,r.normalizer&&(y=LD(r.normalizer),o=y.get,u=y.set,s=y.delete,c=y.clear),r.resolvers!=null&&(_=ND(r.resolvers)),o?x=t0(function(T){var C,R,N=arguments;if(_&&(N=_(N)),C=o(N),C!==null&&hasOwnProperty.call(n,C))return A&&i.emit("get",C,N,this),n[C];if(N.length===1?R=sb.call(e,this,N[0]):R=lb.call(e,this,N),C===null){if(C=o(N),C!==null)throw e0("Circular invocation","CIRCULAR_INVOCATION");C=u(N)}else if(hasOwnProperty.call(n,C))throw e0("Circular invocation","CIRCULAR_INVOCATION");return n[C]=R,E&&i.emit("set",C,null,R),R},a):t===0?x=function(){var T;if(hasOwnProperty.call(n,"data"))return A&&i.emit("get","data",arguments,this),n.data;if(arguments.length?T=lb.call(e,this,arguments):T=sb.call(e,this),hasOwnProperty.call(n,"data"))throw e0("Circular invocation","CIRCULAR_INVOCATION");return n.data=T,E&&i.emit("set","data",null,T),T}:x=function(T){var C,R=arguments,N;if(_&&(R=_(arguments)),N=String(R[0]),hasOwnProperty.call(n,N))return A&&i.emit("get",N,R,this),n[N];if(R.length===1?C=sb.call(e,this,R[0]):C=lb.call(e,this,R),hasOwnProperty.call(n,N))throw e0("Circular invocation","CIRCULAR_INVOCATION");return n[N]=C,E&&i.emit("set",N,null,C),C},i={original:e,memoized:x,profileName:r.profileName,get:function(T){return _&&(T=_(T)),o?o(T):String(T[0])},has:function(T){return hasOwnProperty.call(n,T)},delete:function(T){var C;hasOwnProperty.call(n,T)&&(s&&s(T),C=n[T],delete n[T],w&&i.emit("delete",T,C))},clear:function(){var T=n;c&&c(),n=V3(null),i.emit("clear",T)},on:function(T,C){return T==="get"?A=!0:T==="set"?E=!0:T==="delete"&&(w=!0),DD.call(this,T,C)},emit:BD,updateEnv:function(){e=i.original}},o?d=t0(function(T){var C,R=arguments;_&&(R=_(R)),C=o(R),C!==null&&i.delete(C)},a):t===0?d=function(){return i.delete("data")}:d=function(T){return _&&(T=_(arguments)[0]),i.delete(T)},g=t0(function(){var T,C=arguments;return t===0?n.data:(_&&(C=_(C)),o?T=o(C):T=String(C[0]),n[T])}),v=t0(function(){var T,C=arguments;return t===0?i.has("data"):(_&&(C=_(C)),o?T=o(C):T=String(C[0]),T===null?!1:i.has(T))}),$D(x,{__memoized__:xh(!0),delete:xh(d),clear:xh(i.clear),_get:xh(g),_has:xh(v)}),i},UD=Oa,jD=Rg,Y3=zl,GD=zD,HD=cI,WD=function e(t){var r,n,i;if(UD(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=HD(r.length,t.length,r.async&&Y3.async),i=GD(t,n,r),jD(Y3,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},fb,X3;function qD(){return X3||(X3=1,fb=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),fb}var cb,K3;function VD(){return K3||(K3=1,cb=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),cb}var hb,Q3;function YD(){return Q3||(Q3=1,hb=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),hb}var db,Z3;function XD(){return Z3||(Z3=1,db=function(e){return e!==e}),db}var pb,J3;function KD(){return J3||(J3=1,pb=YD()()?Number.isNaN:XD()),pb}var vb,eC;function MS(){if(eC)return vb;eC=1;var e=KD(),t=Bl,r=ra,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return vb=function(u){var s,c,d,g;if(!e(u))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)&&(g=this[s],e(g)))return s;return-1},vb}var mb,tC;function QD(){if(tC)return mb;tC=1;var e=MS(),t=Object.create;return mb=function(){var r=0,n=[],i=t(null);return{get:function(a){var o=0,u=n,s,c=a.length;if(c===0)return u[c]||null;if(u=u[c]){for(;o<c-1;){if(s=e.call(u[0],a[o]),s===-1)return null;u=u[1][s],++o}return s=e.call(u[0],a[o]),s===-1?null:u[1][s]||null}return null},set:function(a){var o=0,u=n,s,c=a.length;if(c===0)u[c]=++r;else{for(u[c]||(u[c]=[[],[]]),u=u[c];o<c-1;)s=e.call(u[0],a[o]),s===-1&&(s=u[0].push(a[o])-1,u[1].push([[],[]])),u=u[1][s],++o;s=e.call(u[0],a[o]),s===-1&&(s=u[0].push(a[o])-1),u[1][s]=++r}return i[r]=a,r},delete:function(a){var o=0,u=n,s,c=i[a],d=c.length,g=[];if(d===0)delete u[d];else if(u=u[d]){for(;o<d-1;){if(s=e.call(u[0],c[o]),s===-1)return;g.push(u,s),u=u[1][s],++o}if(s=e.call(u[0],c[o]),s===-1)return;for(a=u[1][s],u[0].splice(s,1),u[1].splice(s,1);!u[0].length&&g.length;)s=g.pop(),u=g.pop(),u[0].splice(s,1),u[1].splice(s,1)}delete i[a]},clear:function(){n=[],i=t(null)}}},mb}var gb,rC;function ZD(){if(rC)return gb;rC=1;var e=MS();return gb=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=[]}}},gb}var yb,nC;function JD(){if(nC)return yb;nC=1;var e=MS(),t=Object.create;return yb=function(r){var n=0,i=[[],[]],a=t(null);return{get:function(o){for(var u=0,s=i,c;u<r-1;){if(c=e.call(s[0],o[u]),c===-1)return null;s=s[1][c],++u}return c=e.call(s[0],o[u]),c===-1?null:s[1][c]||null},set:function(o){for(var u=0,s=i,c;u<r-1;)c=e.call(s[0],o[u]),c===-1&&(c=s[0].push(o[u])-1,s[1].push([[],[]])),s=s[1][c],++u;return c=e.call(s[0],o[u]),c===-1&&(c=s[0].push(o[u])-1),s[1][c]=++n,a[n]=o,n},delete:function(o){for(var u=0,s=i,c,d=[],g=a[o];u<r-1;){if(c=e.call(s[0],g[u]),c===-1)return;d.push(s,c),s=s[1][c],++u}if(c=e.call(s[0],g[u]),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)}}},yb}var iC={},bb,aC;function kS(){if(aC)return bb;aC=1;var e=Oa,t=Rg,r=Function.prototype.call;return bb=function(n,i){var a={},o=arguments[2];return e(i),t(n,function(u,s,c,d){a[s]=r.call(i,o,u,s,c,d)}),a},bb}var xb,oC;function RS(){if(oC)return xb;oC=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 u;if(i)a&&(i=a.concat(i));else{if(!a)return;i=a}if(a=i,i=null,typeof a=="function"){u=a,a=null,u();return}for(n.data=o=++o%2;a;)u=a.shift(),a.length||(a=null),u()}).observe(n,{characterData:!0}),function(u){if(e(u),i){typeof i=="function"?i=[i,u]:i.push(u);return}i=u,n.data=o=++o%2}};return xb=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}(),xb}var uC;function eB(){if(uC)return iC;uC=1;var e=Lg(),t=kS(),r=dI(),n=vI,i=RS(),a=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;return zl.async=function(s,c){var d=u(null),g=u(null),v=c.memoized,y=c.original,A,E,w;c.memoized=n(function(x){var _=arguments,T=_[_.length-1];return typeof T=="function"&&(A=T,_=a.call(_,0,-1)),v.apply(E=this,w=_)},v);try{r(c.memoized,v)}catch{}c.on("get",function(x){var _,T,C;if(A){if(d[x]){typeof d[x]=="function"?d[x]=[d[x],A]:d[x].push(A),A=null;return}_=A,T=E,C=w,A=E=w=null,i(function(){var R;hasOwnProperty.call(g,x)?(R=g[x],c.emit("getasync",x,C,T),o.call(_,R.context,R.args)):(A=_,E=T,w=C,v.apply(T,C))})}}),c.original=function(){var x,_,T,C;return A?(x=e(arguments),_=function R(N){var V,j,ne=R.id;if(ne==null){i(o.bind(R,this,arguments));return}if(delete R.id,V=d[ne],delete d[ne],!!V)return j=e(arguments),c.has(ne)&&(N?c.delete(ne):(g[ne]={context:this,args:j},c.emit("setasync",ne,typeof V=="function"?1:V.length))),typeof V=="function"?C=o.call(V,this,j):V.forEach(function(Te){C=o.call(Te,this,j)},this),C},T=A,A=E=w=null,x.push(_),C=o.call(y,this,x),_.cb=T,A=_,C):o.call(y,this,arguments)},c.on("set",function(x){if(!A){c.delete(x);return}d[x]?typeof d[x]=="function"?d[x]=[d[x],A.cb]:d[x].push(A.cb):d[x]=A.cb,delete A.cb,A.id=x,A=null}),c.on("delete",function(x){var _;hasOwnProperty.call(d,x)||g[x]&&(_=g[x],delete g[x],c.emit("deleteasync",x,a.call(_.args,1)))}),c.on("clear",function(){var x=g;g=u(null),c.emit("clearasync",t(x,function(_){return a.call(_.args,1)}))})},iC}var lC={},wb,sC;function tB(){if(sC)return wb;sC=1;var e=Array.prototype.forEach,t=Object.create;return wb=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},wb}var _b,fC;function EI(){return fC||(fC=1,_b=function(e){return typeof e=="function"}),_b}var Sb,cC;function rB(){if(cC)return Sb;cC=1;var e=EI();return Sb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},Sb}var Eb,hC;function nB(){if(hC)return Eb;hC=1;var e=ra,t=rB();return Eb=function(r){return t(e(r))},Eb}var Ab,dC;function iB(){if(dC)return Ab;dC=1;var e=EI();return Ab=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},Ab}var Cb,pC;function aB(){if(pC)return Cb;pC=1;var e=iB(),t=/[\n\r\u2028\u2029]/g;return Cb=function(r){var n=e(r);return n.length>100&&(n=n.slice(0,99)+"…"),n=n.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),n},Cb}var r0={exports:{}},vC;function AI(){if(vC)return r0.exports;vC=1,r0.exports=e,r0.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return r0.exports}var mC;function oB(){if(mC)return lC;mC=1;var e=kS(),t=tB(),r=nB(),n=aB(),i=AI(),a=RS(),o=Object.create,u=t("then","then:finally","done","done:finally");return zl.promise=function(s,c){var d=o(null),g=o(null),v=o(null);if(s===!0)s=null;else if(s=r(s),!u[s])throw new TypeError("'"+n(s)+"' is not valid promise mode");c.on("set",function(y,A,E){var w=!1;if(!i(E)){g[y]=E,c.emit("setasync",y,1);return}d[y]=1,v[y]=E;var x=function(R){var N=d[y];if(w)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)
|
|
42
|
+
Consider to rely on 'then' or 'done' mode instead.`);N&&(delete d[y],g[y]=R,c.emit("setasync",y,N))},_=function(){w=!0,d[y]&&(delete d[y],delete v[y],c.delete(y))},T=s;if(T||(T="then"),T==="then"){var C=function(){a(_)};E=E.then(function(R){a(x.bind(this,R))},C),typeof E.finally=="function"&&E.finally(C)}else if(T==="done"){if(typeof E.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");E.done(x,_)}else if(T==="done:finally"){if(typeof E.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof E.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");E.done(x),E.finally(_)}}),c.on("get",function(y,A,E){var w;if(d[y]){++d[y];return}w=v[y];var x=function(){c.emit("getasync",y,A,E)};i(w)?typeof w.done=="function"?w.done(x):w.then(function(){a(x)}):x()}),c.on("delete",function(y){if(delete v[y],d[y]){delete d[y];return}if(hasOwnProperty.call(g,y)){var A=g[y];delete g[y],c.emit("deleteasync",y,[A])}}),c.on("clear",function(){var y=g;g=o(null),d=o(null),v=o(null),c.emit("clearasync",e(y,function(A){return[A]}))})},lC}var gC={},yC;function uB(){if(yC)return gC;yC=1;var e=Oa,t=Rg,r=zl,n=Function.prototype.apply;return r.dispose=function(i,a,o){var u;if(e(i),o.async&&r.async||o.promise&&r.promise){a.on("deleteasync",u=function(s,c){n.call(i,null,c)}),a.on("clearasync",function(s){t(s,function(c,d){u(d,c)})});return}a.on("delete",u=function(s,c){i(c)}),a.on("clear",function(s){t(s,function(c,d){u(d,c)})})},gC}var bC={},Tb,xC;function lB(){return xC||(xC=1,Tb=2147483647),Tb}var Ob,wC;function sB(){if(wC)return Ob;wC=1;var e=Bl,t=lB();return Ob=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},Ob}var _C;function fB(){if(_C)return bC;_C=1;var e=Lg(),t=Rg,r=RS(),n=AI(),i=sB(),a=zl,o=Function.prototype,u=Math.max,s=Math.min,c=Object.create;return a.maxAge=function(d,g,v){var y,A,E,w;d=i(d),d&&(y=c(null),A=v.async&&a.async||v.promise&&a.promise?"async":"",g.on("set"+A,function(x){y[x]=setTimeout(function(){g.delete(x)},d),typeof y[x].unref=="function"&&y[x].unref(),w&&(w[x]&&w[x]!=="nextTick"&&clearTimeout(w[x]),w[x]=setTimeout(function(){delete w[x]},E),typeof w[x].unref=="function"&&w[x].unref())}),g.on("delete"+A,function(x){clearTimeout(y[x]),delete y[x],w&&(w[x]!=="nextTick"&&clearTimeout(w[x]),delete w[x])}),v.preFetch&&(v.preFetch===!0||isNaN(v.preFetch)?E=.333:E=u(s(Number(v.preFetch),1),0),E&&(w={},E=(1-E)*d,g.on("get"+A,function(x,_,T){w[x]||(w[x]="nextTick",r(function(){var C;w[x]==="nextTick"&&(delete w[x],g.delete(x),v.async&&(_=e(_),_.push(o)),C=g.memoized.apply(T,_),v.promise&&n(C)&&(typeof C.done=="function"?C.done(o,o):C.then(o,o)))}))}))),g.on("clear"+A,function(){t(y,function(x){clearTimeout(x)}),y={},w&&(t(w,function(x){x!=="nextTick"&&clearTimeout(x)}),w={})}))},bC}var SC={},Mb,EC;function cB(){if(EC)return Mb;EC=1;var e=Bl,t=Object.create,r=Object.prototype.hasOwnProperty;return Mb=function(n){var i=0,a=1,o=t(null),u=t(null),s=0,c;return n=e(n),{hit:function(d){var g=u[d],v=++s;if(o[v]=d,u[d]=v,!g)return++i,i<=n?void 0:(d=o[a],c(d),d);if(delete o[g],a===g)for(;!r.call(o,++a););},delete:c=function(d){var g=u[d];if(g&&(delete o[g],delete u[d],--i,a===g)){if(!i){s=0,a=1;return}for(;!r.call(o,++a););}},clear:function(){i=0,a=1,o=t(null),u=t(null),s=0}}},Mb}var AC;function hB(){if(AC)return SC;AC=1;var e=Bl,t=cB(),r=zl;return r.max=function(n,i,a){var o,u,s;n=e(n),n&&(u=t(n),o=a.async&&r.async||a.promise&&r.promise?"async":"",i.on("set"+o,s=function(c){c=u.hit(c),c!==void 0&&i.delete(c)}),i.on("get"+o,s),i.on("delete"+o,u.delete),i.on("clear"+o,u.clear))},SC}var CC={},TC;function dB(){if(TC)return CC;TC=1;var e=na,t=zl,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,a,o){var u,s;u=r(null),s=o.async&&t.async||o.promise&&t.promise?"async":"",a.on("set"+s,function(c,d){u[c]=d||1}),a.on("get"+s,function(c){++u[c]}),a.on("delete"+s,function(c){delete u[c]}),a.on("clear"+s,function(){u={}}),n(a.memoized,{deleteRef:e(function(){var c=a.get(arguments);return c===null||!u[c]?null:--u[c]?!1:(a.delete(c),!0)}),getRefCount:e(function(){var c=a.get(arguments);return c===null||!u[c]?0:u[c]})})},CC}var pB=CS,vB=cI,mB=WD,gB=function(e){var t=pB(arguments[1]),r;return t.normalizer||(r=t.length=vB(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=qD():r>1&&(t.normalizer=VD()(r)):r===!1?t.normalizer=QD()():r===1?t.normalizer=ZD()():t.normalizer=JD()(r))),t.async&&eB(),t.promise&&oB(),t.dispose&&uB(),t.maxAge&&fB(),t.max&&hB(),t.refCounter&&dB(),mB(e,t)};const aoe=yi(gB);var CI={exports:{}};/*!
|
|
43
|
+
Copyright (c) 2018 Jed Watson.
|
|
44
|
+
Licensed under the MIT License (MIT), see
|
|
45
|
+
http://jedwatson.github.io/classnames
|
|
46
|
+
*/(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 u=r.apply(null,a);u&&n.push(u)}}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})()})(CI);var yB=CI.exports;const ooe=yi(yB);var bB="Expected a function",OC=0/0,xB="[object Symbol]",wB=/^\s+|\s+$/g,_B=/^[-+]0x[0-9a-f]+$/i,SB=/^0b[01]+$/i,EB=/^0o[0-7]+$/i,AB=parseInt,CB=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,TB=typeof self=="object"&&self&&self.Object===Object&&self,OB=CB||TB||Function("return this")(),MB=Object.prototype,kB=MB.toString,RB=Math.max,IB=Math.min,kb=function(){return OB.Date.now()};function PB(e,t,r){var n,i,a,o,u,s,c=0,d=!1,g=!1,v=!0;if(typeof e!="function")throw new TypeError(bB);t=MC(t)||0,o_(r)&&(d=!!r.leading,g="maxWait"in r,a=g?RB(MC(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v);function y(N){var V=n,j=i;return n=i=void 0,c=N,o=e.apply(j,V),o}function A(N){return c=N,u=setTimeout(x,t),d?y(N):o}function E(N){var V=N-s,j=N-c,ne=t-V;return g?IB(ne,a-j):ne}function w(N){var V=N-s,j=N-c;return s===void 0||V>=t||V<0||g&&j>=a}function x(){var N=kb();if(w(N))return _(N);u=setTimeout(x,E(N))}function _(N){return u=void 0,v&&n?y(N):(n=i=void 0,o)}function T(){u!==void 0&&clearTimeout(u),c=0,n=s=i=u=void 0}function C(){return u===void 0?o:_(kb())}function R(){var N=kb(),V=w(N);if(n=arguments,i=this,s=N,V){if(u===void 0)return A(s);if(g)return u=setTimeout(x,t),y(s)}return u===void 0&&(u=setTimeout(x,t)),o}return R.cancel=T,R.flush=C,R}function o_(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function FB(e){return!!e&&typeof e=="object"}function NB(e){return typeof e=="symbol"||FB(e)&&kB.call(e)==xB}function MC(e){if(typeof e=="number")return e;if(NB(e))return OC;if(o_(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=o_(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(wB,"");var r=SB.test(e);return r||EB.test(e)?AB(e.slice(2),r?2:8):_B.test(e)?OC:+e}var LB=PB;const uoe=yi(LB);function ni(){return ni=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},ni.apply(this,arguments)}function Af(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 u_(e,t){return u_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},u_(e,t)}function rp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u_(e,t)}function $B(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function DB(e,t){e.classList?e.classList.add(t):$B(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function kC(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function BB(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=kC(e.className,t):e.setAttribute("class",kC(e.className&&e.className.baseVal||"",t))}const RC={disabled:!1},TI=wr.createContext(null);var OI=function(t){return t.scrollTop},Hh="unmounted",tl="exited",rl="entering",Hs="entered",l_="exiting",ho=function(e){rp(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,u=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?u?(s=tl,a.appearStatus=rl):s=Hs:n.unmountOnExit||n.mountOnEnter?s=Hh:s=tl,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Hh?{status:tl}: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!==rl&&o!==Hs&&(a=rl):(o===rl||o===Hs)&&(a=l_)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,u;return a=o=u=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,u=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:u}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===rl){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Gh.findDOMNode(this);o&&OI(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tl&&this.setState({status:Hh})},r.performEnter=function(i){var a=this,o=this.props.enter,u=this.context?this.context.isMounting:i,s=this.props.nodeRef?[u]:[Gh.findDOMNode(this),u],c=s[0],d=s[1],g=this.getTimeouts(),v=u?g.appear:g.enter;if(!i&&!o||RC.disabled){this.safeSetState({status:Hs},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:rl},function(){a.props.onEntering(c,d),a.onTransitionEnd(v,function(){a.safeSetState({status:Hs},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),u=this.props.nodeRef?void 0:Gh.findDOMNode(this);if(!a||RC.disabled){this.safeSetState({status:tl},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:l_},function(){i.props.onExiting(u),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:tl},function(){i.props.onExited(u)})})})},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(u){o&&(o=!1,a.nextCallback=null,i(u))},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:Gh.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!o||u){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===Hh)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 u=Af(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return wr.createElement(TI.Provider,{value:null},typeof o=="function"?o(i,u):wr.cloneElement(wr.Children.only(o),u))},t}(wr.Component);ho.contextType=TI;ho.propTypes={};function Ps(){}ho.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ps,onEntering:Ps,onEntered:Ps,onExit:Ps,onExiting:Ps,onExited:Ps};ho.UNMOUNTED=Hh;ho.EXITED=tl;ho.ENTERING=rl;ho.ENTERED=Hs;ho.EXITING=l_;const zB=ho;var UB=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return DB(t,n)})},Rb=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return BB(t,n)})},IS=function(e){rp(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(u,s){var c=n.resolveArguments(u,s),d=c[0],g=c[1];n.removeClasses(d,"exit"),n.addClass(d,g?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,s)},n.onEntering=function(u,s){var c=n.resolveArguments(u,s),d=c[0],g=c[1],v=g?"appear":"enter";n.addClass(d,v,"active"),n.props.onEntering&&n.props.onEntering(u,s)},n.onEntered=function(u,s){var c=n.resolveArguments(u,s),d=c[0],g=c[1],v=g?"appear":"enter";n.removeClasses(d,v),n.addClass(d,v,"done"),n.props.onEntered&&n.props.onEntered(u,s)},n.onExit=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var s=n.resolveArguments(u),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,s){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,s]},n.getClassNames=function(u){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",g=c?""+d+u:s[u],v=c?g+"-active":s[u+"Active"],y=c?g+"-done":s[u+"Done"];return{baseClassName:g,activeClassName:v,doneClassName:y}},n}var r=t.prototype;return r.addClass=function(i,a,o){var u=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(u+=" "+c),o==="active"&&i&&OI(i),u&&(this.appliedClasses[a][o]=u,UB(i,u))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],u=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},u&&Rb(i,u),s&&Rb(i,s),c&&Rb(i,c)},r.render=function(){var i=this.props;i.classNames;var a=Af(i,["classNames"]);return wr.createElement(zB,ni({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(wr.Component);IS.defaultProps={classNames:""};IS.propTypes={};const loe=IS;function IC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}/**!
|
|
47
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
48
|
+
* @version 1.16.1
|
|
49
|
+
* @license
|
|
50
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
51
|
+
*
|
|
52
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
53
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
54
|
+
* in the Software without restriction, including without limitation the rights
|
|
55
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
56
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
57
|
+
* furnished to do so, subject to the following conditions:
|
|
58
|
+
*
|
|
59
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
60
|
+
* copies or substantial portions of the Software.
|
|
61
|
+
*
|
|
62
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
63
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
64
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
65
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
66
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
67
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
68
|
+
* SOFTWARE.
|
|
69
|
+
*/var np=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",jB=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(np&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function GB(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function HB(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},jB))}}var WB=np&&window.Promise,qB=WB?GB:HB;function MI(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function jl(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function PS(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function ip(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=jl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:ip(PS(e))}function kI(e){return e&&e.referenceNode?e.referenceNode:e}var PC=np&&!!(window.MSInputMethodContext&&document.documentMode),FC=np&&/MSIE 10/.test(navigator.userAgent);function Vf(e){return e===11?PC:e===10?FC:PC||FC}function Cf(e){if(!e)return document.documentElement;for(var t=Vf(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&&jl(r,"position")==="static"?Cf(r):r}function VB(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Cf(e.firstElementChild)===e}function s_(e){return e.parentNode!==null?s_(e.parentNode):e}function Lm(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 VB(o)?o:Cf(o);var u=s_(e);return u.host?Lm(u.host,t):Lm(e,s_(t).host)}function Tf(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 YB(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Tf(t,"top"),i=Tf(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 NC(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 LC(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Vf(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function RI(e){var t=e.body,r=e.documentElement,n=Vf(10)&&getComputedStyle(r);return{height:LC("Height",t,r,n),width:LC("Width",t,r,n)}}var XB=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},KB=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}}(),Of=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},Ii=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 hu(e){return Ii({},e,{right:e.left+e.width,bottom:e.top+e.height})}function f_(e){var t={};try{if(Vf(10)){t=e.getBoundingClientRect();var r=Tf(e,"top"),n=Tf(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"?RI(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,u=a.height||e.clientHeight||i.height,s=e.offsetWidth-o,c=e.offsetHeight-u;if(s||c){var d=jl(e);s-=NC(d,"x"),c-=NC(d,"y"),i.width-=s,i.height-=c}return hu(i)}function FS(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Vf(10),i=t.nodeName==="HTML",a=f_(e),o=f_(t),u=ip(e),s=jl(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 g=hu({top:a.top-o.top-c,left:a.left-o.left-d,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!n&&i){var v=parseFloat(s.marginTop),y=parseFloat(s.marginLeft);g.top-=c-v,g.bottom-=c-v,g.left-=d-y,g.right-=d-y,g.marginTop=v,g.marginLeft=y}return(n&&!r?t.contains(u):t===u&&u.nodeName!=="BODY")&&(g=YB(g,t)),g}function QB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=FS(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:Tf(r),u=t?0:Tf(r,"left"),s={top:o-n.top+n.marginTop,left:u-n.left+n.marginLeft,width:i,height:a};return hu(s)}function II(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(jl(e,"position")==="fixed")return!0;var r=PS(e);return r?II(r):!1}function PI(e){if(!e||!e.parentElement||Vf())return document.documentElement;for(var t=e.parentElement;t&&jl(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function NS(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?PI(e):Lm(e,kI(t));if(n==="viewport")a=QB(o,i);else{var u=void 0;n==="scrollParent"?(u=ip(PS(t)),u.nodeName==="BODY"&&(u=e.ownerDocument.documentElement)):n==="window"?u=e.ownerDocument.documentElement:u=n;var s=FS(u,o,i);if(u.nodeName==="HTML"&&!II(o)){var c=RI(e.ownerDocument),d=c.height,g=c.width;a.top+=s.top-s.marginTop,a.bottom=d+s.top,a.left+=s.left-s.marginLeft,a.right=g+s.left}else a=s}r=r||0;var v=typeof r=="number";return a.left+=v?r:r.left||0,a.top+=v?r:r.top||0,a.right-=v?r:r.right||0,a.bottom-=v?r:r.bottom||0,a}function ZB(e){var t=e.width,r=e.height;return t*r}function FI(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=NS(r,n,a,i),u={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(u).map(function(v){return Ii({key:v},u[v],{area:ZB(u[v])})}).sort(function(v,y){return y.area-v.area}),c=s.filter(function(v){var y=v.width,A=v.height;return y>=r.clientWidth&&A>=r.clientHeight}),d=c.length>0?c[0].key:s[0].key,g=e.split("-")[1];return d+(g?"-"+g:"")}function NI(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?PI(t):Lm(t,kI(r));return FS(r,i,n)}function LI(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 $m(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 $I(e,t,r){r=r.split("-")[0];var n=LI(e),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",u=a?"left":"top",s=a?"height":"width",c=a?"width":"height";return i[o]=t[o]+t[s]/2-n[s]/2,r===u?i[u]=t[u]-n[c]:i[u]=t[$m(u)],i}function ap(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function JB(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=ap(e,function(i){return i[t]===r});return e.indexOf(n)}function DI(e,t,r){var n=r===void 0?e:e.slice(0,JB(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&&MI(a)&&(t.offsets.popper=hu(t.offsets.popper),t.offsets.reference=hu(t.offsets.reference),t=a(t,i))}),t}function ez(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=NI(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=FI(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=$I(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=DI(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function BI(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function LS(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 tz(){return this.state.isDestroyed=!0,BI(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[LS("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function zI(e){var t=e.ownerDocument;return t?t.defaultView:window}function UI(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||UI(ip(a.parentNode),t,r,n),n.push(a)}function rz(e,t,r,n){r.updateBound=n,zI(e).addEventListener("resize",r.updateBound,{passive:!0});var i=ip(e);return UI(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function nz(){this.state.eventsEnabled||(this.state=rz(this.reference,this.options,this.state,this.scheduleUpdate))}function iz(e,t){return zI(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 az(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=iz(this.reference,this.state))}function $S(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function c_(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&$S(t[r])&&(n="px"),e.style[r]=t[r]+n})}function oz(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function uz(e){return c_(e.instance.popper,e.styles),oz(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&c_(e.arrowElement,e.arrowStyles),e}function lz(e,t,r,n,i){var a=NI(i,t,e,r.positionFixed),o=FI(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),c_(t,{position:r.positionFixed?"fixed":"absolute"}),r}function sz(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=Math.round,o=Math.floor,u=function(x){return x},s=a(i.width),c=a(n.width),d=["left","right"].indexOf(e.placement)!==-1,g=e.placement.indexOf("-")!==-1,v=s%2===c%2,y=s%2===1&&c%2===1,A=t?d||g||v?a:o:u,E=t?a:u;return{left:A(y&&!g&&t?n.left-1:n.left),top:E(n.top),bottom:E(n.bottom),right:A(n.right)}}var fz=np&&/Firefox/i.test(navigator.userAgent);function cz(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=ap(e.instance.modifiers,function(T){return T.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,u=Cf(e.instance.popper),s=f_(u),c={position:i.position},d=sz(e,window.devicePixelRatio<2||!fz),g=r==="bottom"?"top":"bottom",v=n==="right"?"left":"right",y=LS("transform"),A=void 0,E=void 0;if(g==="bottom"?u.nodeName==="HTML"?E=-u.clientHeight+d.bottom:E=-s.height+d.bottom:E=d.top,v==="right"?u.nodeName==="HTML"?A=-u.clientWidth+d.right:A=-s.width+d.right:A=d.left,o&&y)c[y]="translate3d("+A+"px, "+E+"px, 0)",c[g]=0,c[v]=0,c.willChange="transform";else{var w=g==="bottom"?-1:1,x=v==="right"?-1:1;c[g]=E*w,c[v]=A*x,c.willChange=g+", "+v}var _={"x-placement":e.placement};return e.attributes=Ii({},_,e.attributes),e.styles=Ii({},c,e.styles),e.arrowStyles=Ii({},e.offsets.arrow,e.arrowStyles),e}function jI(e,t,r){var n=ap(e,function(u){var s=u.name;return s===t}),i=!!n&&e.some(function(u){return u.name===r&&u.enabled&&u.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 hz(e,t){var r;if(!jI(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,u=a.reference,s=["left","right"].indexOf(i)!==-1,c=s?"height":"width",d=s?"Top":"Left",g=d.toLowerCase(),v=s?"left":"top",y=s?"bottom":"right",A=LI(n)[c];u[y]-A<o[g]&&(e.offsets.popper[g]-=o[g]-(u[y]-A)),u[g]+A>o[y]&&(e.offsets.popper[g]+=u[g]+A-o[y]),e.offsets.popper=hu(e.offsets.popper);var E=u[g]+u[c]/2-A/2,w=jl(e.instance.popper),x=parseFloat(w["margin"+d]),_=parseFloat(w["border"+d+"Width"]),T=E-e.offsets.popper[g]-x-_;return T=Math.max(Math.min(o[c]-A,T),0),e.arrowElement=n,e.offsets.arrow=(r={},Of(r,g,Math.round(T)),Of(r,v,""),r),e}function dz(e){return e==="end"?"start":e==="start"?"end":e}var GI=["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"],Ib=GI.slice(3);function $C(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Ib.indexOf(e),n=Ib.slice(r+1).concat(Ib.slice(0,r));return t?n.reverse():n}var Pb={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function pz(e,t){if(BI(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=NS(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=$m(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Pb.FLIP:o=[n,i];break;case Pb.CLOCKWISE:o=$C(n);break;case Pb.COUNTERCLOCKWISE:o=$C(n,!0);break;default:o=t.behavior}return o.forEach(function(u,s){if(n!==u||o.length===s+1)return e;n=e.placement.split("-")[0],i=$m(n);var c=e.offsets.popper,d=e.offsets.reference,g=Math.floor,v=n==="left"&&g(c.right)>g(d.left)||n==="right"&&g(c.left)<g(d.right)||n==="top"&&g(c.bottom)>g(d.top)||n==="bottom"&&g(c.top)<g(d.bottom),y=g(c.left)<g(r.left),A=g(c.right)>g(r.right),E=g(c.top)<g(r.top),w=g(c.bottom)>g(r.bottom),x=n==="left"&&y||n==="right"&&A||n==="top"&&E||n==="bottom"&&w,_=["top","bottom"].indexOf(n)!==-1,T=!!t.flipVariations&&(_&&a==="start"&&y||_&&a==="end"&&A||!_&&a==="start"&&E||!_&&a==="end"&&w),C=!!t.flipVariationsByContent&&(_&&a==="start"&&A||_&&a==="end"&&y||!_&&a==="start"&&w||!_&&a==="end"&&E),R=T||C;(v||x||R)&&(e.flipped=!0,(v||x)&&(n=o[s+1]),R&&(a=dz(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=Ii({},e.offsets.popper,$I(e.instance.popper,e.offsets.reference,e.placement)),e=DI(e.instance.modifiers,e,"flip"))}),e}function vz(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,u=o?"right":"bottom",s=o?"left":"top",c=o?"width":"height";return r[u]<a(n[s])&&(e.offsets.popper[s]=a(n[s])-r[c]),r[s]>a(n[u])&&(e.offsets.popper[s]=a(n[u])),e}function mz(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 u=void 0;switch(o){case"%p":u=r;break;case"%":case"%r":default:u=n}var s=hu(u);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 gz(e,t,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=e.split(/(\+|\-)/).map(function(d){return d.trim()}),u=o.indexOf(ap(o,function(d){return d.search(/,|\s/)!==-1}));o[u]&&o[u].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=u!==-1?[o.slice(0,u).concat([o[u].split(s)[0]]),[o[u].split(s)[1]].concat(o.slice(u+1))]:[o];return c=c.map(function(d,g){var v=(g===1?!a:a)?"height":"width",y=!1;return d.reduce(function(A,E){return A[A.length-1]===""&&["+","-"].indexOf(E)!==-1?(A[A.length-1]=E,y=!0,A):y?(A[A.length-1]+=E,y=!1,A):A.concat(E)},[]).map(function(A){return mz(A,v,t,r)})}),c.forEach(function(d,g){d.forEach(function(v,y){$S(v)&&(i[g]+=v*(d[y-1]==="-"?-1:1))})}),i}function yz(e,t){var r=t.offset,n=e.placement,i=e.offsets,a=i.popper,o=i.reference,u=n.split("-")[0],s=void 0;return $S(+r)?s=[+r,0]:s=gz(r,a,o,u),u==="left"?(a.top+=s[0],a.left-=s[1]):u==="right"?(a.top+=s[0],a.left+=s[1]):u==="top"?(a.left+=s[0],a.top-=s[1]):u==="bottom"&&(a.left+=s[0],a.top+=s[1]),e.popper=a,e}function bz(e,t){var r=t.boundariesElement||Cf(e.instance.popper);e.instance.reference===r&&(r=Cf(r));var n=LS("transform"),i=e.instance.popper.style,a=i.top,o=i.left,u=i[n];i.top="",i.left="",i[n]="";var s=NS(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=u,t.boundaries=s;var c=t.priority,d=e.offsets.popper,g={primary:function(y){var A=d[y];return d[y]<s[y]&&!t.escapeWithReference&&(A=Math.max(d[y],s[y])),Of({},y,A)},secondary:function(y){var A=y==="right"?"left":"top",E=d[A];return d[y]>s[y]&&!t.escapeWithReference&&(E=Math.min(d[A],s[y]-(y==="right"?d.width:d.height))),Of({},A,E)}};return c.forEach(function(v){var y=["left","top"].indexOf(v)!==-1?"primary":"secondary";d=Ii({},d,g[y](v))}),e.offsets.popper=d,e}function xz(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,u=["bottom","top"].indexOf(r)!==-1,s=u?"left":"top",c=u?"width":"height",d={start:Of({},s,a[s]),end:Of({},s,a[s]+a[c]-o[c])};e.offsets.popper=Ii({},o,d[n])}return e}function wz(e){if(!jI(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=ap(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 _z(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,o=["left","right"].indexOf(r)!==-1,u=["top","left"].indexOf(r)===-1;return i[o?"left":"top"]=a[r]-(u?i[o?"width":"height"]:0),e.placement=$m(t),e.offsets.popper=hu(i),e}var Sz={shift:{order:100,enabled:!0,fn:xz},offset:{order:200,enabled:!0,fn:yz,offset:0},preventOverflow:{order:300,enabled:!0,fn:bz,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:vz},arrow:{order:500,enabled:!0,fn:hz,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:pz,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:_z},hide:{order:800,enabled:!0,fn:wz},computeStyle:{order:850,enabled:!0,fn:cz,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:uz,onLoad:lz,gpuAcceleration:void 0}},Ez={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Sz},$g=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};XB(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=qB(this.update.bind(this)),this.options=Ii({},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(Ii({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=Ii({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Ii({name:o},n.options.modifiers[o])}).sort(function(o,u){return o.order-u.order}),this.modifiers.forEach(function(o){o.enabled&&MI(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 KB(e,[{key:"update",value:function(){return ez.call(this)}},{key:"destroy",value:function(){return tz.call(this)}},{key:"enableEventListeners",value:function(){return nz.call(this)}},{key:"disableEventListeners",value:function(){return az.call(this)}}]),e}();$g.Utils=(typeof window<"u"?window:global).PopperUtils;$g.placements=GI;$g.Defaults=Ez;const soe=$g;function DS(e,t,...r){if(!e)throw new TypeError(HI(t,r))}function HI(e,t){let r=0;return e.replace(/%[os]/gu,()=>WI(t[r++]))}function WI(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let Az;function Cz(e){try{const t=e instanceof Error?e:new Error(WI(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 ea=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let Tz;class bu{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,`
|
|
70
|
+
`);console.warn(this.message,...t,n)}catch{}}}const Oz=new bu("W01","Unable to initialize event under dispatching."),Mz=new bu("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),kz=new bu("W03","Assigning any truthy value to 'returnValue' property has no effect."),Rz=new bu("W04","Unable to preventDefault on non-cancelable events."),Iz=new bu("W05","Unable to preventDefault inside passive event listener invocation."),Pz=new bu("W06","An event listener wasn't added because it has been added already: %o, %o"),Fb=new bu("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),DC=new bu("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");class po{static get NONE(){return BC}static get CAPTURING_PHASE(){return zC}static get AT_TARGET(){return UC}static get BUBBLING_PHASE(){return jC}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r??{};h_.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return tn(this).type}get target(){return tn(this).target}get srcElement(){return tn(this).target}get currentTarget(){return tn(this).currentTarget}composedPath(){const t=tn(this).currentTarget;return t?[t]:[]}get NONE(){return BC}get CAPTURING_PHASE(){return zC}get AT_TARGET(){return UC}get BUBBLING_PHASE(){return jC}get eventPhase(){return tn(this).dispatchFlag?2:0}stopPropagation(){tn(this).stopPropagationFlag=!0}get cancelBubble(){return tn(this).stopPropagationFlag}set cancelBubble(t){t?tn(this).stopPropagationFlag=!0:Mz.warn()}stopImmediatePropagation(){const t=tn(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return tn(this).bubbles}get cancelable(){return tn(this).cancelable}get returnValue(){return!tn(this).canceledFlag}set returnValue(t){t?kz.warn():GC(tn(this))}preventDefault(){GC(tn(this))}get defaultPrevented(){return tn(this).canceledFlag}get composed(){return tn(this).composed}get isTrusted(){return!1}get timeStamp(){return tn(this).timeStamp}initEvent(t,r=!1,n=!1){const i=tn(this);if(i.dispatchFlag){Oz.warn();return}h_.set(this,{...i,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const BC=0,zC=1,UC=2,jC=3,h_=new WeakMap;function tn(e,t="this"){const r=h_.get(e);return DS(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function GC(e){if(e.inPassiveListenerFlag){Iz.warn();return}if(!e.cancelable){Rz.warn();return}e.canceledFlag=!0}Object.defineProperty(po,"NONE",{enumerable:!0});Object.defineProperty(po,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(po,"AT_TARGET",{enumerable:!0});Object.defineProperty(po,"BUBBLING_PHASE",{enumerable:!0});const Nb=Object.getOwnPropertyNames(po.prototype);for(let e=0;e<Nb.length;++e)Nb[e]!=="constructor"&&Object.defineProperty(po.prototype,Nb[e],{enumerable:!0});typeof ea<"u"&&typeof ea.Event<"u"&&Object.setPrototypeOf(po.prototype,ea.Event.prototype);function Fz(e){return ea.DOMException?new ea.DOMException(e,"InvalidStateError"):(Fs==null&&(Fs=class qI extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,qI)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(Fs.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),WC(Fs),WC(Fs.prototype)),new Fs(e))}let Fs;const HC={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 WC(e){const t=Object.keys(HC);for(let r=0;r<t.length;++r){const n=t[r],i=HC[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class Dg extends po{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(),VI.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}=jo(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=jo(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=jo(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=jo(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=jo(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=jo(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const VI=new WeakMap;function jo(e){const t=VI.get(e);return DS(t!=null,"'this' is expected an Event object, but got",e),t}const Dm=new WeakMap;Dm.set(Object.prototype,Dg);typeof ea<"u"&&typeof ea.Event<"u"&&Dm.set(ea.Event.prototype,Dg);function YI(e){const t=Object.getPrototypeOf(e);if(t==null)return Dg;let r=Dm.get(t);return r==null&&(r=Nz(YI(t),t),Dm.set(t,r)),r}function Nz(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=jo(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=jo(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function Lz(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function $z(e){e.flags|=8}function KI(e){return(e.flags&1)===1}function QI(e){return(e.flags&2)===2}function ZI(e){return(e.flags&4)===4}function Dz(e){return(e.flags&8)===8}function Bz({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){Cz(n)}}function JI({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&KI(e[n])===r)return n;return-1}function zz(e,t,r,n,i,a){let o;a&&(o=eP.bind(null,e,t,r),a.addEventListener("abort",o));const u=Lz(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,u]):e.listeners.push(u),u}function eP(e,t,r){const n=JI(e,t,r);return n!==-1?tP(e,n):!1}function tP(e,t,r=!1){const n=e.listeners[t];return $z(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 Uz(){return Object.create(null)}function jz(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 BS{constructor(){rP.set(this,Uz())}addEventListener(t,r,n){const i=Lb(this),{callback:a,capture:o,once:u,passive:s,signal:c,type:d}=Gz(t,r,n);if(a==null||c!=null&&c.aborted)return;const g=jz(i,d),v=JI(g,a,o);if(v!==-1){Wz(g.listeners[v],s,u,c);return}zz(g,a,o,s,u,c)}removeEventListener(t,r,n){const i=Lb(this),{callback:a,capture:o,type:u}=Hz(t,r,n),s=i[u];a!=null&&s&&eP(s,a,o)}dispatchEvent(t){const r=Lb(this)[String(t.type)];if(r==null)return!0;const n=t instanceof po?t:Dg.wrap(t),i=tn(n,"event");if(i.dispatchFlag)throw Fz("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 u=0;u<o.length;++u){const s=o[u];if(!Dz(s)&&(ZI(s)&&tP(r,u,!a)&&(u-=1),i.inPassiveListenerFlag=QI(s),Bz(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 rP=new WeakMap;function Lb(e,t="this"){const r=rP.get(e);return DS(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function Gz(e,t,r){var n;return nP(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture,passive:!!r.passive,once:!!r.once,signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t??void 0,capture:!!r,passive:!1,once:!1,signal:void 0}}function Hz(e,t,r){return nP(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture}:{type:String(e),callback:t??void 0,capture:!!r}}function nP(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){DC.warn(e);return}throw new TypeError(HI(DC.message,[e]))}}function Wz(e,t,r,n){Pz.warn(KI(e)?"capture":"bubble",e.callback),QI(e)!==t&&Fb.warn("passive"),ZI(e)!==r&&Fb.warn("once"),e.signal!==n&&Fb.warn("signal")}const $b=Object.getOwnPropertyNames(BS.prototype);for(let e=0;e<$b.length;++e)$b[e]!=="constructor"&&Object.defineProperty(BS.prototype,$b[e],{enumerable:!0});typeof ea<"u"&&typeof ea.EventTarget<"u"&&Object.setPrototypeOf(BS.prototype,ea.EventTarget.prototype);function qC(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 $t(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qC(Object(r),!0).forEach(function(n){pn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bm(e){return Bm=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},Bm(e)}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VC(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 Vz(e,t,r){return t&&VC(e.prototype,t),r&&VC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zS(e,t){return Xz(e)||Qz(e,t)||iP(e,t)||Jz()}function op(e){return Yz(e)||Kz(e)||iP(e)||Zz()}function Yz(e){if(Array.isArray(e))return d_(e)}function Xz(e){if(Array.isArray(e))return e}function Kz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qz(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,u;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,u=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw u}}return n}}function iP(e,t){if(e){if(typeof e=="string")return d_(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 d_(e,t)}}function d_(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.
|
|
71
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jz(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
72
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YC=function(){},US={},aP={},oP=null,uP={mark:YC,measure:YC};try{typeof window<"u"&&(US=window),typeof document<"u"&&(aP=document),typeof MutationObserver<"u"&&(oP=MutationObserver),typeof performance<"u"&&(uP=performance)}catch{}var e7=US.navigator||{},XC=e7.userAgent,KC=XC===void 0?"":XC,du=US,Br=aP,QC=oP,n0=uP;du.document;var vo=!!Br.documentElement&&!!Br.head&&typeof Br.addEventListener=="function"&&typeof Br.createElement=="function",lP=~KC.indexOf("MSIE")||~KC.indexOf("Trident/"),i0,a0,o0,u0,l0,uo="___FONT_AWESOME___",p_=16,sP="fa",fP="svg-inline--fa",Sl="data-fa-i2svg",v_="data-fa-pseudo-element",t7="data-fa-pseudo-element-pending",jS="data-prefix",GS="data-icon",ZC="fontawesome-i2svg",r7="async",n7=["HTML","HEAD","STYLE","SCRIPT"],cP=function(){try{return!0}catch{return!1}}(),$r="classic",Vr="sharp",HS=[$r,Vr];function up(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[$r]}})}var Rd=up((i0={},pn(i0,$r,{fa:"solid",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"}),pn(i0,Vr,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),i0)),Id=up((a0={},pn(a0,$r,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),pn(a0,Vr,{solid:"fass",regular:"fasr",light:"fasl"}),a0)),Pd=up((o0={},pn(o0,$r,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),pn(o0,Vr,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),o0)),i7=up((u0={},pn(u0,$r,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),pn(u0,Vr,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),u0)),a7=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,hP="fa-layers-text",o7=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,u7=up((l0={},pn(l0,$r,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),pn(l0,Vr,{900:"fass",400:"fasr",300:"fasl"}),l0)),dP=[1,2,3,4,5,6,7,8,9,10],l7=dP.concat([11,12,13,14,15,16,17,18,19,20]),s7=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],cl={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Fd=new Set;Object.keys(Id[$r]).map(Fd.add.bind(Fd));Object.keys(Id[Vr]).map(Fd.add.bind(Fd));var f7=[].concat(HS,op(Fd),["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",cl.GROUP,cl.SWAP_OPACITY,cl.PRIMARY,cl.SECONDARY]).concat(dP.map(function(e){return"".concat(e,"x")})).concat(l7.map(function(e){return"w-".concat(e)})),ld=du.FontAwesomeConfig||{};function c7(e){var t=Br.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function h7(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Br&&typeof Br.querySelector=="function"){var d7=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["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"]];d7.forEach(function(e){var t=zS(e,2),r=t[0],n=t[1],i=h7(c7(r));i!=null&&(ld[n]=i)})}var pP={styleDefault:"solid",familyDefault:"classic",cssPrefix:sP,replacementClass:fP,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ld.familyPrefix&&(ld.cssPrefix=ld.familyPrefix);var Mf=$t($t({},pP),ld);Mf.autoReplaceSvg||(Mf.observeMutations=!1);var Ht={};Object.keys(pP).forEach(function(e){Object.defineProperty(Ht,e,{enumerable:!0,set:function(r){Mf[e]=r,sd.forEach(function(n){return n(Ht)})},get:function(){return Mf[e]}})});Object.defineProperty(Ht,"familyPrefix",{enumerable:!0,set:function(t){Mf.cssPrefix=t,sd.forEach(function(r){return r(Ht)})},get:function(){return Mf.cssPrefix}});du.FontAwesomeConfig=Ht;var sd=[];function p7(e){return sd.push(e),function(){sd.splice(sd.indexOf(e),1)}}var Bo=p_,wa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function v7(e){if(!(!e||!vo)){var t=Br.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Br.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 Br.head.insertBefore(t,n),e}}var m7="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Nd(){for(var e=12,t="";e-- >0;)t+=m7[Math.random()*62|0];return t}function Yf(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function WS(e){return e.classList?Yf(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function vP(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function g7(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(vP(e[r]),'" ')},"").trim()}function Bg(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function qS(e){return e.size!==wa.size||e.x!==wa.x||e.y!==wa.y||e.rotate!==wa.rotate||e.flipX||e.flipY}function y7(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),") "),u="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:s,path:c}}function b7(e){var t=e.transform,r=e.width,n=r===void 0?p_:r,i=e.height,a=i===void 0?p_:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&lP?s+="translate(".concat(t.x/Bo-n/2,"em, ").concat(t.y/Bo-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Bo,"em), calc(-50% + ").concat(t.y/Bo,"em)) "):s+="translate(".concat(t.x/Bo,"em, ").concat(t.y/Bo,"em) "),s+="scale(".concat(t.size/Bo*(t.flipX?-1:1),", ").concat(t.size/Bo*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var x7=`:root, :host {
|
|
73
|
+
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
74
|
+
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
75
|
+
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
76
|
+
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
|
77
|
+
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
78
|
+
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
79
|
+
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
80
|
+
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
81
|
+
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
85
|
+
overflow: visible;
|
|
86
|
+
box-sizing: content-box;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.svg-inline--fa {
|
|
90
|
+
display: var(--fa-display, inline-block);
|
|
91
|
+
height: 1em;
|
|
92
|
+
overflow: visible;
|
|
93
|
+
vertical-align: -0.125em;
|
|
94
|
+
}
|
|
95
|
+
.svg-inline--fa.fa-2xs {
|
|
96
|
+
vertical-align: 0.1em;
|
|
97
|
+
}
|
|
98
|
+
.svg-inline--fa.fa-xs {
|
|
99
|
+
vertical-align: 0em;
|
|
100
|
+
}
|
|
101
|
+
.svg-inline--fa.fa-sm {
|
|
102
|
+
vertical-align: -0.0714285705em;
|
|
103
|
+
}
|
|
104
|
+
.svg-inline--fa.fa-lg {
|
|
105
|
+
vertical-align: -0.2em;
|
|
106
|
+
}
|
|
107
|
+
.svg-inline--fa.fa-xl {
|
|
108
|
+
vertical-align: -0.25em;
|
|
109
|
+
}
|
|
110
|
+
.svg-inline--fa.fa-2xl {
|
|
111
|
+
vertical-align: -0.3125em;
|
|
112
|
+
}
|
|
113
|
+
.svg-inline--fa.fa-pull-left {
|
|
114
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
115
|
+
width: auto;
|
|
116
|
+
}
|
|
117
|
+
.svg-inline--fa.fa-pull-right {
|
|
118
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
119
|
+
width: auto;
|
|
120
|
+
}
|
|
121
|
+
.svg-inline--fa.fa-li {
|
|
122
|
+
width: var(--fa-li-width, 2em);
|
|
123
|
+
top: 0.25em;
|
|
124
|
+
}
|
|
125
|
+
.svg-inline--fa.fa-fw {
|
|
126
|
+
width: var(--fa-fw-width, 1.25em);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.fa-layers svg.svg-inline--fa {
|
|
130
|
+
bottom: 0;
|
|
131
|
+
left: 0;
|
|
132
|
+
margin: auto;
|
|
133
|
+
position: absolute;
|
|
134
|
+
right: 0;
|
|
135
|
+
top: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.fa-layers-counter, .fa-layers-text {
|
|
139
|
+
display: inline-block;
|
|
140
|
+
position: absolute;
|
|
141
|
+
text-align: center;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.fa-layers {
|
|
145
|
+
display: inline-block;
|
|
146
|
+
height: 1em;
|
|
147
|
+
position: relative;
|
|
148
|
+
text-align: center;
|
|
149
|
+
vertical-align: -0.125em;
|
|
150
|
+
width: 1em;
|
|
151
|
+
}
|
|
152
|
+
.fa-layers svg.svg-inline--fa {
|
|
153
|
+
-webkit-transform-origin: center center;
|
|
154
|
+
transform-origin: center center;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.fa-layers-text {
|
|
158
|
+
left: 50%;
|
|
159
|
+
top: 50%;
|
|
160
|
+
-webkit-transform: translate(-50%, -50%);
|
|
161
|
+
transform: translate(-50%, -50%);
|
|
162
|
+
-webkit-transform-origin: center center;
|
|
163
|
+
transform-origin: center center;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.fa-layers-counter {
|
|
167
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
168
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
color: var(--fa-inverse, #fff);
|
|
171
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
172
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
173
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
176
|
+
right: var(--fa-right, 0);
|
|
177
|
+
text-overflow: ellipsis;
|
|
178
|
+
top: var(--fa-top, 0);
|
|
179
|
+
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
|
180
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
181
|
+
-webkit-transform-origin: top right;
|
|
182
|
+
transform-origin: top right;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.fa-layers-bottom-right {
|
|
186
|
+
bottom: var(--fa-bottom, 0);
|
|
187
|
+
right: var(--fa-right, 0);
|
|
188
|
+
top: auto;
|
|
189
|
+
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
190
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
191
|
+
-webkit-transform-origin: bottom right;
|
|
192
|
+
transform-origin: bottom right;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.fa-layers-bottom-left {
|
|
196
|
+
bottom: var(--fa-bottom, 0);
|
|
197
|
+
left: var(--fa-left, 0);
|
|
198
|
+
right: auto;
|
|
199
|
+
top: auto;
|
|
200
|
+
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
201
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
202
|
+
-webkit-transform-origin: bottom left;
|
|
203
|
+
transform-origin: bottom left;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.fa-layers-top-right {
|
|
207
|
+
top: var(--fa-top, 0);
|
|
208
|
+
right: var(--fa-right, 0);
|
|
209
|
+
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
210
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
211
|
+
-webkit-transform-origin: top right;
|
|
212
|
+
transform-origin: top right;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.fa-layers-top-left {
|
|
216
|
+
left: var(--fa-left, 0);
|
|
217
|
+
right: auto;
|
|
218
|
+
top: var(--fa-top, 0);
|
|
219
|
+
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
220
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
221
|
+
-webkit-transform-origin: top left;
|
|
222
|
+
transform-origin: top left;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.fa-1x {
|
|
226
|
+
font-size: 1em;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.fa-2x {
|
|
230
|
+
font-size: 2em;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.fa-3x {
|
|
234
|
+
font-size: 3em;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.fa-4x {
|
|
238
|
+
font-size: 4em;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.fa-5x {
|
|
242
|
+
font-size: 5em;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.fa-6x {
|
|
246
|
+
font-size: 6em;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.fa-7x {
|
|
250
|
+
font-size: 7em;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.fa-8x {
|
|
254
|
+
font-size: 8em;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.fa-9x {
|
|
258
|
+
font-size: 9em;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.fa-10x {
|
|
262
|
+
font-size: 10em;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.fa-2xs {
|
|
266
|
+
font-size: 0.625em;
|
|
267
|
+
line-height: 0.1em;
|
|
268
|
+
vertical-align: 0.225em;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.fa-xs {
|
|
272
|
+
font-size: 0.75em;
|
|
273
|
+
line-height: 0.0833333337em;
|
|
274
|
+
vertical-align: 0.125em;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.fa-sm {
|
|
278
|
+
font-size: 0.875em;
|
|
279
|
+
line-height: 0.0714285718em;
|
|
280
|
+
vertical-align: 0.0535714295em;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.fa-lg {
|
|
284
|
+
font-size: 1.25em;
|
|
285
|
+
line-height: 0.05em;
|
|
286
|
+
vertical-align: -0.075em;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.fa-xl {
|
|
290
|
+
font-size: 1.5em;
|
|
291
|
+
line-height: 0.0416666682em;
|
|
292
|
+
vertical-align: -0.125em;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.fa-2xl {
|
|
296
|
+
font-size: 2em;
|
|
297
|
+
line-height: 0.03125em;
|
|
298
|
+
vertical-align: -0.1875em;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.fa-fw {
|
|
302
|
+
text-align: center;
|
|
303
|
+
width: 1.25em;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.fa-ul {
|
|
307
|
+
list-style-type: none;
|
|
308
|
+
margin-left: var(--fa-li-margin, 2.5em);
|
|
309
|
+
padding-left: 0;
|
|
310
|
+
}
|
|
311
|
+
.fa-ul > li {
|
|
312
|
+
position: relative;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.fa-li {
|
|
316
|
+
left: calc(var(--fa-li-width, 2em) * -1);
|
|
317
|
+
position: absolute;
|
|
318
|
+
text-align: center;
|
|
319
|
+
width: var(--fa-li-width, 2em);
|
|
320
|
+
line-height: inherit;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.fa-border {
|
|
324
|
+
border-color: var(--fa-border-color, #eee);
|
|
325
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
326
|
+
border-style: var(--fa-border-style, solid);
|
|
327
|
+
border-width: var(--fa-border-width, 0.08em);
|
|
328
|
+
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.fa-pull-left {
|
|
332
|
+
float: left;
|
|
333
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.fa-pull-right {
|
|
337
|
+
float: right;
|
|
338
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.fa-beat {
|
|
342
|
+
-webkit-animation-name: fa-beat;
|
|
343
|
+
animation-name: fa-beat;
|
|
344
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
345
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
346
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
347
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
348
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
349
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
350
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
351
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
352
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
353
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.fa-bounce {
|
|
357
|
+
-webkit-animation-name: fa-bounce;
|
|
358
|
+
animation-name: fa-bounce;
|
|
359
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
360
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
361
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
362
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
363
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
364
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
365
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
366
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
367
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
368
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.fa-fade {
|
|
372
|
+
-webkit-animation-name: fa-fade;
|
|
373
|
+
animation-name: fa-fade;
|
|
374
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
375
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
376
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
377
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
378
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
379
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
380
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
381
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
382
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
383
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.fa-beat-fade {
|
|
387
|
+
-webkit-animation-name: fa-beat-fade;
|
|
388
|
+
animation-name: fa-beat-fade;
|
|
389
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
390
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
391
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
392
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
393
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
394
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
395
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
396
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
397
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
398
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.fa-flip {
|
|
402
|
+
-webkit-animation-name: fa-flip;
|
|
403
|
+
animation-name: fa-flip;
|
|
404
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
405
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
406
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
407
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
408
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
409
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
410
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
411
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
412
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
413
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.fa-shake {
|
|
417
|
+
-webkit-animation-name: fa-shake;
|
|
418
|
+
animation-name: fa-shake;
|
|
419
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
420
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
421
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
422
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
423
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
424
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
425
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
426
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
427
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
428
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.fa-spin {
|
|
432
|
+
-webkit-animation-name: fa-spin;
|
|
433
|
+
animation-name: fa-spin;
|
|
434
|
+
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
435
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
436
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
437
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
438
|
+
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
|
439
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
440
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
441
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
442
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
443
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.fa-spin-reverse {
|
|
447
|
+
--fa-animation-direction: reverse;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.fa-pulse,
|
|
451
|
+
.fa-spin-pulse {
|
|
452
|
+
-webkit-animation-name: fa-spin;
|
|
453
|
+
animation-name: fa-spin;
|
|
454
|
+
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
455
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
456
|
+
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
457
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
458
|
+
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
459
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
460
|
+
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
461
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
@media (prefers-reduced-motion: reduce) {
|
|
465
|
+
.fa-beat,
|
|
466
|
+
.fa-bounce,
|
|
467
|
+
.fa-fade,
|
|
468
|
+
.fa-beat-fade,
|
|
469
|
+
.fa-flip,
|
|
470
|
+
.fa-pulse,
|
|
471
|
+
.fa-shake,
|
|
472
|
+
.fa-spin,
|
|
473
|
+
.fa-spin-pulse {
|
|
474
|
+
-webkit-animation-delay: -1ms;
|
|
475
|
+
animation-delay: -1ms;
|
|
476
|
+
-webkit-animation-duration: 1ms;
|
|
477
|
+
animation-duration: 1ms;
|
|
478
|
+
-webkit-animation-iteration-count: 1;
|
|
479
|
+
animation-iteration-count: 1;
|
|
480
|
+
-webkit-transition-delay: 0s;
|
|
481
|
+
transition-delay: 0s;
|
|
482
|
+
-webkit-transition-duration: 0s;
|
|
483
|
+
transition-duration: 0s;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
@-webkit-keyframes fa-beat {
|
|
487
|
+
0%, 90% {
|
|
488
|
+
-webkit-transform: scale(1);
|
|
489
|
+
transform: scale(1);
|
|
490
|
+
}
|
|
491
|
+
45% {
|
|
492
|
+
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
493
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
@keyframes fa-beat {
|
|
497
|
+
0%, 90% {
|
|
498
|
+
-webkit-transform: scale(1);
|
|
499
|
+
transform: scale(1);
|
|
500
|
+
}
|
|
501
|
+
45% {
|
|
502
|
+
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
503
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
@-webkit-keyframes fa-bounce {
|
|
507
|
+
0% {
|
|
508
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
509
|
+
transform: scale(1, 1) translateY(0);
|
|
510
|
+
}
|
|
511
|
+
10% {
|
|
512
|
+
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
513
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
514
|
+
}
|
|
515
|
+
30% {
|
|
516
|
+
-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));
|
|
517
|
+
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));
|
|
518
|
+
}
|
|
519
|
+
50% {
|
|
520
|
+
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
521
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
522
|
+
}
|
|
523
|
+
57% {
|
|
524
|
+
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
525
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
526
|
+
}
|
|
527
|
+
64% {
|
|
528
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
529
|
+
transform: scale(1, 1) translateY(0);
|
|
530
|
+
}
|
|
531
|
+
100% {
|
|
532
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
533
|
+
transform: scale(1, 1) translateY(0);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
@keyframes fa-bounce {
|
|
537
|
+
0% {
|
|
538
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
539
|
+
transform: scale(1, 1) translateY(0);
|
|
540
|
+
}
|
|
541
|
+
10% {
|
|
542
|
+
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
543
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
544
|
+
}
|
|
545
|
+
30% {
|
|
546
|
+
-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));
|
|
547
|
+
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));
|
|
548
|
+
}
|
|
549
|
+
50% {
|
|
550
|
+
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
551
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
552
|
+
}
|
|
553
|
+
57% {
|
|
554
|
+
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
555
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
556
|
+
}
|
|
557
|
+
64% {
|
|
558
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
559
|
+
transform: scale(1, 1) translateY(0);
|
|
560
|
+
}
|
|
561
|
+
100% {
|
|
562
|
+
-webkit-transform: scale(1, 1) translateY(0);
|
|
563
|
+
transform: scale(1, 1) translateY(0);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
@-webkit-keyframes fa-fade {
|
|
567
|
+
50% {
|
|
568
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
@keyframes fa-fade {
|
|
572
|
+
50% {
|
|
573
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
@-webkit-keyframes fa-beat-fade {
|
|
577
|
+
0%, 100% {
|
|
578
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
579
|
+
-webkit-transform: scale(1);
|
|
580
|
+
transform: scale(1);
|
|
581
|
+
}
|
|
582
|
+
50% {
|
|
583
|
+
opacity: 1;
|
|
584
|
+
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
585
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
@keyframes fa-beat-fade {
|
|
589
|
+
0%, 100% {
|
|
590
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
591
|
+
-webkit-transform: scale(1);
|
|
592
|
+
transform: scale(1);
|
|
593
|
+
}
|
|
594
|
+
50% {
|
|
595
|
+
opacity: 1;
|
|
596
|
+
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
597
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
@-webkit-keyframes fa-flip {
|
|
601
|
+
50% {
|
|
602
|
+
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
603
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
@keyframes fa-flip {
|
|
607
|
+
50% {
|
|
608
|
+
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
609
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
@-webkit-keyframes fa-shake {
|
|
613
|
+
0% {
|
|
614
|
+
-webkit-transform: rotate(-15deg);
|
|
615
|
+
transform: rotate(-15deg);
|
|
616
|
+
}
|
|
617
|
+
4% {
|
|
618
|
+
-webkit-transform: rotate(15deg);
|
|
619
|
+
transform: rotate(15deg);
|
|
620
|
+
}
|
|
621
|
+
8%, 24% {
|
|
622
|
+
-webkit-transform: rotate(-18deg);
|
|
623
|
+
transform: rotate(-18deg);
|
|
624
|
+
}
|
|
625
|
+
12%, 28% {
|
|
626
|
+
-webkit-transform: rotate(18deg);
|
|
627
|
+
transform: rotate(18deg);
|
|
628
|
+
}
|
|
629
|
+
16% {
|
|
630
|
+
-webkit-transform: rotate(-22deg);
|
|
631
|
+
transform: rotate(-22deg);
|
|
632
|
+
}
|
|
633
|
+
20% {
|
|
634
|
+
-webkit-transform: rotate(22deg);
|
|
635
|
+
transform: rotate(22deg);
|
|
636
|
+
}
|
|
637
|
+
32% {
|
|
638
|
+
-webkit-transform: rotate(-12deg);
|
|
639
|
+
transform: rotate(-12deg);
|
|
640
|
+
}
|
|
641
|
+
36% {
|
|
642
|
+
-webkit-transform: rotate(12deg);
|
|
643
|
+
transform: rotate(12deg);
|
|
644
|
+
}
|
|
645
|
+
40%, 100% {
|
|
646
|
+
-webkit-transform: rotate(0deg);
|
|
647
|
+
transform: rotate(0deg);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
@keyframes fa-shake {
|
|
651
|
+
0% {
|
|
652
|
+
-webkit-transform: rotate(-15deg);
|
|
653
|
+
transform: rotate(-15deg);
|
|
654
|
+
}
|
|
655
|
+
4% {
|
|
656
|
+
-webkit-transform: rotate(15deg);
|
|
657
|
+
transform: rotate(15deg);
|
|
658
|
+
}
|
|
659
|
+
8%, 24% {
|
|
660
|
+
-webkit-transform: rotate(-18deg);
|
|
661
|
+
transform: rotate(-18deg);
|
|
662
|
+
}
|
|
663
|
+
12%, 28% {
|
|
664
|
+
-webkit-transform: rotate(18deg);
|
|
665
|
+
transform: rotate(18deg);
|
|
666
|
+
}
|
|
667
|
+
16% {
|
|
668
|
+
-webkit-transform: rotate(-22deg);
|
|
669
|
+
transform: rotate(-22deg);
|
|
670
|
+
}
|
|
671
|
+
20% {
|
|
672
|
+
-webkit-transform: rotate(22deg);
|
|
673
|
+
transform: rotate(22deg);
|
|
674
|
+
}
|
|
675
|
+
32% {
|
|
676
|
+
-webkit-transform: rotate(-12deg);
|
|
677
|
+
transform: rotate(-12deg);
|
|
678
|
+
}
|
|
679
|
+
36% {
|
|
680
|
+
-webkit-transform: rotate(12deg);
|
|
681
|
+
transform: rotate(12deg);
|
|
682
|
+
}
|
|
683
|
+
40%, 100% {
|
|
684
|
+
-webkit-transform: rotate(0deg);
|
|
685
|
+
transform: rotate(0deg);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
@-webkit-keyframes fa-spin {
|
|
689
|
+
0% {
|
|
690
|
+
-webkit-transform: rotate(0deg);
|
|
691
|
+
transform: rotate(0deg);
|
|
692
|
+
}
|
|
693
|
+
100% {
|
|
694
|
+
-webkit-transform: rotate(360deg);
|
|
695
|
+
transform: rotate(360deg);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
@keyframes fa-spin {
|
|
699
|
+
0% {
|
|
700
|
+
-webkit-transform: rotate(0deg);
|
|
701
|
+
transform: rotate(0deg);
|
|
702
|
+
}
|
|
703
|
+
100% {
|
|
704
|
+
-webkit-transform: rotate(360deg);
|
|
705
|
+
transform: rotate(360deg);
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
.fa-rotate-90 {
|
|
709
|
+
-webkit-transform: rotate(90deg);
|
|
710
|
+
transform: rotate(90deg);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.fa-rotate-180 {
|
|
714
|
+
-webkit-transform: rotate(180deg);
|
|
715
|
+
transform: rotate(180deg);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.fa-rotate-270 {
|
|
719
|
+
-webkit-transform: rotate(270deg);
|
|
720
|
+
transform: rotate(270deg);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.fa-flip-horizontal {
|
|
724
|
+
-webkit-transform: scale(-1, 1);
|
|
725
|
+
transform: scale(-1, 1);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.fa-flip-vertical {
|
|
729
|
+
-webkit-transform: scale(1, -1);
|
|
730
|
+
transform: scale(1, -1);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.fa-flip-both,
|
|
734
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
735
|
+
-webkit-transform: scale(-1, -1);
|
|
736
|
+
transform: scale(-1, -1);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.fa-rotate-by {
|
|
740
|
+
-webkit-transform: rotate(var(--fa-rotate-angle, none));
|
|
741
|
+
transform: rotate(var(--fa-rotate-angle, none));
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.fa-stack {
|
|
745
|
+
display: inline-block;
|
|
746
|
+
vertical-align: middle;
|
|
747
|
+
height: 2em;
|
|
748
|
+
position: relative;
|
|
749
|
+
width: 2.5em;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.fa-stack-1x,
|
|
753
|
+
.fa-stack-2x {
|
|
754
|
+
bottom: 0;
|
|
755
|
+
left: 0;
|
|
756
|
+
margin: auto;
|
|
757
|
+
position: absolute;
|
|
758
|
+
right: 0;
|
|
759
|
+
top: 0;
|
|
760
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.svg-inline--fa.fa-stack-1x {
|
|
764
|
+
height: 1em;
|
|
765
|
+
width: 1.25em;
|
|
766
|
+
}
|
|
767
|
+
.svg-inline--fa.fa-stack-2x {
|
|
768
|
+
height: 2em;
|
|
769
|
+
width: 2.5em;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.fa-inverse {
|
|
773
|
+
color: var(--fa-inverse, #fff);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.sr-only,
|
|
777
|
+
.fa-sr-only {
|
|
778
|
+
position: absolute;
|
|
779
|
+
width: 1px;
|
|
780
|
+
height: 1px;
|
|
781
|
+
padding: 0;
|
|
782
|
+
margin: -1px;
|
|
783
|
+
overflow: hidden;
|
|
784
|
+
clip: rect(0, 0, 0, 0);
|
|
785
|
+
white-space: nowrap;
|
|
786
|
+
border-width: 0;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.sr-only-focusable:not(:focus),
|
|
790
|
+
.fa-sr-only-focusable:not(:focus) {
|
|
791
|
+
position: absolute;
|
|
792
|
+
width: 1px;
|
|
793
|
+
height: 1px;
|
|
794
|
+
padding: 0;
|
|
795
|
+
margin: -1px;
|
|
796
|
+
overflow: hidden;
|
|
797
|
+
clip: rect(0, 0, 0, 0);
|
|
798
|
+
white-space: nowrap;
|
|
799
|
+
border-width: 0;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.svg-inline--fa .fa-primary {
|
|
803
|
+
fill: var(--fa-primary-color, currentColor);
|
|
804
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.svg-inline--fa .fa-secondary {
|
|
808
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
809
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
813
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
817
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.svg-inline--fa mask .fa-primary,
|
|
821
|
+
.svg-inline--fa mask .fa-secondary {
|
|
822
|
+
fill: black;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.fad.fa-inverse,
|
|
826
|
+
.fa-duotone.fa-inverse {
|
|
827
|
+
color: var(--fa-inverse, #fff);
|
|
828
|
+
}`;function mP(){var e=sP,t=fP,r=Ht.cssPrefix,n=Ht.replacementClass,i=x7;if(r!==e||n!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(u,".".concat(n))}return i}var JC=!1;function Db(){Ht.autoAddCss&&!JC&&(v7(mP()),JC=!0)}var w7={mixout:function(){return{dom:{css:mP,insertCss:Db}}},hooks:function(){return{beforeDOMElementCreation:function(){Db()},beforeI2svg:function(){Db()}}}},lo=du||{};lo[uo]||(lo[uo]={});lo[uo].styles||(lo[uo].styles={});lo[uo].hooks||(lo[uo].hooks={});lo[uo].shims||(lo[uo].shims=[]);var Ji=lo[uo],gP=[],_7=function e(){Br.removeEventListener("DOMContentLoaded",e),zm=1,gP.map(function(t){return t()})},zm=!1;vo&&(zm=(Br.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Br.readyState),zm||Br.addEventListener("DOMContentLoaded",_7));function S7(e){vo&&(zm?setTimeout(e,0):gP.push(e))}function lp(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"?vP(e):"<".concat(t," ").concat(g7(n),">").concat(a.map(lp).join(""),"</").concat(t,">")}function eT(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var E7=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},Bb=function(t,r,n,i){var a=Object.keys(t),o=a.length,u=i!==void 0?E7(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=u(d,t[c],c,t);return d};function A7(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 m_(e){var t=A7(e);return t.length===1?t[0].toString(16):null}function C7(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 tT(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 g_(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,a=tT(t);typeof Ji.hooks.addPack=="function"&&!i?Ji.hooks.addPack(e,tT(t)):Ji.styles[e]=$t($t({},Ji.styles[e]||{}),a),e==="fas"&&g_("fa",t)}var s0,f0,c0,Js=Ji.styles,T7=Ji.shims,O7=(s0={},pn(s0,$r,Object.values(Pd[$r])),pn(s0,Vr,Object.values(Pd[Vr])),s0),VS=null,yP={},bP={},xP={},wP={},_P={},M7=(f0={},pn(f0,$r,Object.keys(Rd[$r])),pn(f0,Vr,Object.keys(Rd[Vr])),f0);function k7(e){return~f7.indexOf(e)}function R7(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!k7(i)?i:null}var SP=function(){var t=function(a){return Bb(Js,function(o,u,s){return o[s]=Bb(u,a,{}),o},{})};yP=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(s){return typeof s=="number"});u.forEach(function(s){i[s.toString(16)]=o})}return i}),bP=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(s){return typeof s=="string"});u.forEach(function(s){i[s]=o})}return i}),_P=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(s){i[s]=o}),i});var r="far"in Js||Ht.autoFetchSvg,n=Bb(T7,function(i,a){var o=a[0],u=a[1],s=a[2];return u==="far"&&!r&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:s}),i},{names:{},unicodes:{}});xP=n.names,wP=n.unicodes,VS=zg(Ht.styleDefault,{family:Ht.familyDefault})};p7(function(e){VS=zg(e.styleDefault,{family:Ht.familyDefault})});SP();function YS(e,t){return(yP[e]||{})[t]}function I7(e,t){return(bP[e]||{})[t]}function hl(e,t){return(_P[e]||{})[t]}function EP(e){return xP[e]||{prefix:null,iconName:null}}function P7(e){var t=wP[e],r=YS("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function pu(){return VS}var XS=function(){return{prefix:null,iconName:null,rest:[]}};function zg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?$r:r,i=Rd[n][e],a=Id[n][e]||Id[n][i],o=e in Ji.styles?e:null;return a||o||null}var rT=(c0={},pn(c0,$r,Object.keys(Pd[$r])),pn(c0,Vr,Object.keys(Pd[Vr])),c0);function Ug(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.skipLookups,i=n===void 0?!1:n,a=(t={},pn(t,$r,"".concat(Ht.cssPrefix,"-").concat($r)),pn(t,Vr,"".concat(Ht.cssPrefix,"-").concat(Vr)),t),o=null,u=$r;(e.includes(a[$r])||e.some(function(c){return rT[$r].includes(c)}))&&(u=$r),(e.includes(a[Vr])||e.some(function(c){return rT[Vr].includes(c)}))&&(u=Vr);var s=e.reduce(function(c,d){var g=R7(Ht.cssPrefix,d);if(Js[d]?(d=O7[u].includes(d)?i7[u][d]:d,o=d,c.prefix=d):M7[u].indexOf(d)>-1?(o=d,c.prefix=zg(d,{family:u})):g?c.iconName=g:d!==Ht.replacementClass&&d!==a[$r]&&d!==a[Vr]&&c.rest.push(d),!i&&c.prefix&&c.iconName){var v=o==="fa"?EP(c.iconName):{},y=hl(c.prefix,c.iconName);v.prefix&&(o=null),c.iconName=v.iconName||y||c.iconName,c.prefix=v.prefix||c.prefix,c.prefix==="far"&&!Js.far&&Js.fas&&!Ht.autoFetchSvg&&(c.prefix="fas")}return c},XS());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===Vr&&(Js.fass||Ht.autoFetchSvg)&&(s.prefix="fass",s.iconName=hl(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=pu()||"fas"),s}var F7=function(){function e(){qz(this,e),this.definitions={}}return Vz(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(u){r.definitions[u]=$t($t({},r.definitions[u]||{}),o[u]),g_(u,o[u]);var s=Pd[$r][u];s&&g_(s,o[u]),SP()})}},{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],u=o.prefix,s=o.iconName,c=o.icon,d=c[2];r[u]||(r[u]={}),d.length>0&&d.forEach(function(g){typeof g=="string"&&(r[u][g]=c)}),r[u][s]=c}),r}}]),e}(),nT=[],ef={},mf={},N7=Object.keys(mf);function L7(e,t){var r=t.mixoutsTo;return nT=e,ef={},Object.keys(mf).forEach(function(n){N7.indexOf(n)===-1&&delete mf[n]}),nT.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),Bm(i[o])==="object"&&Object.keys(i[o]).forEach(function(u){r[o]||(r[o]={}),r[o][u]=i[o][u]})}),n.hooks){var a=n.hooks();Object.keys(a).forEach(function(o){ef[o]||(ef[o]=[]),ef[o].push(a[o])})}n.provides&&n.provides(mf)}),r}function y_(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=ef[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function El(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=ef[e]||[];i.forEach(function(a){a.apply(null,r)})}function so(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return mf[e]?mf[e].apply(null,t):void 0}function b_(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||pu();if(t)return t=hl(r,t)||t,eT(AP.definitions,r,t)||eT(Ji.styles,r,t)}var AP=new F7,$7=function(){Ht.autoReplaceSvg=!1,Ht.observeMutations=!1,El("noAuto")},D7={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return vo?(El("beforeI2svg",t),so("pseudoElements2svg",t),so("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;Ht.autoReplaceSvg===!1&&(Ht.autoReplaceSvg=!0),Ht.observeMutations=!0,S7(function(){z7({autoReplaceSvgRoot:r}),El("watch",t)})}},B7={icon:function(t){if(t===null)return null;if(Bm(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:hl(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=zg(t[0]);return{prefix:n,iconName:hl(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(Ht.cssPrefix,"-"))>-1||t.match(a7))){var i=Ug(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||pu(),iconName:hl(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=pu();return{prefix:a,iconName:hl(a,t)||t}}}},xi={noAuto:$7,config:Ht,dom:D7,parse:B7,library:AP,findIconDefinition:b_,toHtml:lp},z7=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Br:r;(Object.keys(Ji.styles).length>0||Ht.autoFetchSvg)&&vo&&Ht.autoReplaceSvg&&xi.dom.i2svg({node:n})};function jg(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return lp(n)})}}),Object.defineProperty(e,"node",{get:function(){if(vo){var n=Br.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function U7(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(qS(o)&&r.found&&!n.found){var u=r.width,s=r.height,c={x:u/s/2,y:.5};i.style=Bg($t($t({},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 j7(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(Ht.cssPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:$t($t({},i),{},{id:o}),children:n}]}]}function KS(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,s=e.title,c=e.maskId,d=e.titleId,g=e.extra,v=e.watchable,y=v===void 0?!1:v,A=n.found?n:r,E=A.width,w=A.height,x=i==="fak",_=[Ht.replacementClass,a?"".concat(Ht.cssPrefix,"-").concat(a):""].filter(function(ne){return g.classes.indexOf(ne)===-1}).filter(function(ne){return ne!==""||!!ne}).concat(g.classes).join(" "),T={children:[],attributes:$t($t({},g.attributes),{},{"data-prefix":i,"data-icon":a,class:_,role:g.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(E," ").concat(w)})},C=x&&!~g.classes.indexOf("fa-fw")?{width:"".concat(E/w*16*.0625,"em")}:{};y&&(T.attributes[Sl]=""),s&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(d||Nd())},children:[s]}),delete T.attributes.title);var R=$t($t({},T),{},{prefix:i,iconName:a,main:r,mask:n,maskId:c,transform:o,symbol:u,styles:$t($t({},C),g.styles)}),N=n.found&&r.found?so("generateAbstractMask",R)||{children:[],attributes:{}}:so("generateAbstractIcon",R)||{children:[],attributes:{}},V=N.children,j=N.attributes;return R.children=V,R.attributes=j,u?j7(R):U7(R)}function iT(e){var t=e.content,r=e.width,n=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,s=u===void 0?!1:u,c=$t($t($t({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[Sl]="");var d=$t({},o.styles);qS(i)&&(d.transform=b7({transform:i,startCentered:!0,width:r,height:n}),d["-webkit-transform"]=d.transform);var g=Bg(d);g.length>0&&(c.style=g);var v=[];return v.push({tag:"span",attributes:c,children:[t]}),a&&v.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),v}function G7(e){var t=e.content,r=e.title,n=e.extra,i=$t($t($t({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=Bg(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 zb=Ji.styles;function x_(e){var t=e[0],r=e[1],n=e.slice(4),i=zS(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(Ht.cssPrefix,"-").concat(cl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ht.cssPrefix,"-").concat(cl.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Ht.cssPrefix,"-").concat(cl.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var H7={found:!1,width:512,height:512};function W7(e,t){!cP&&!Ht.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function w_(e,t){var r=t;return t==="fa"&&Ht.styleDefault!==null&&(t=pu()),new Promise(function(n,i){if(so("missingIconAbstract"),r==="fa"){var a=EP(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&zb[t]&&zb[t][e]){var o=zb[t][e];return n(x_(o))}W7(e,t),n($t($t({},H7),{},{icon:Ht.showMissingIcons&&e?so("missingIconAbstract")||{}:{}}))})}var aT=function(){},__=Ht.measurePerformance&&n0&&n0.mark&&n0.measure?n0:{mark:aT,measure:aT},Wh='FA "6.4.0"',q7=function(t){return __.mark("".concat(Wh," ").concat(t," begins")),function(){return CP(t)}},CP=function(t){__.mark("".concat(Wh," ").concat(t," ends")),__.measure("".concat(Wh," ").concat(t),"".concat(Wh," ").concat(t," begins"),"".concat(Wh," ").concat(t," ends"))},QS={begin:q7,end:CP},K0=function(){};function oT(e){var t=e.getAttribute?e.getAttribute(Sl):null;return typeof t=="string"}function V7(e){var t=e.getAttribute?e.getAttribute(jS):null,r=e.getAttribute?e.getAttribute(GS):null;return t&&r}function Y7(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ht.replacementClass)}function X7(){if(Ht.autoReplaceSvg===!0)return Q0.replace;var e=Q0[Ht.autoReplaceSvg];return e||Q0.replace}function K7(e){return Br.createElementNS("http://www.w3.org/2000/svg",e)}function Q7(e){return Br.createElement(e)}function TP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?K7:Q7:r;if(typeof e=="string")return Br.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(TP(o,{ceFn:n}))}),i}function Z7(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Q0={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(TP(i),r)}),r.getAttribute(Sl)===null&&Ht.keepOriginalSource){var n=Br.createComment(Z7(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~WS(r).indexOf(Ht.replacementClass))return Q0.replace(t);var i=new RegExp("".concat(Ht.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(u,s){return s===Ht.replacementClass||s.match(i)?u.toSvg.push(s):u.toNode.push(s),u},{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(u){return lp(u)}).join(`
|
|
829
|
+
`);r.setAttribute(Sl,""),r.innerHTML=o}};function uT(e){e()}function OP(e,t){var r=typeof t=="function"?t:K0;if(e.length===0)r();else{var n=uT;Ht.mutateApproach===r7&&(n=du.requestAnimationFrame||uT),n(function(){var i=X7(),a=QS.begin("mutate");e.map(i),a(),r()})}}var ZS=!1;function MP(){ZS=!0}function S_(){ZS=!1}var Um=null;function lT(e){if(QC&&Ht.observeMutations){var t=e.treeCallback,r=t===void 0?K0:t,n=e.nodeCallback,i=n===void 0?K0:n,a=e.pseudoElementsCallback,o=a===void 0?K0:a,u=e.observeMutationsRoot,s=u===void 0?Br:u;Um=new QC(function(c){if(!ZS){var d=pu();Yf(c).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!oT(g.addedNodes[0])&&(Ht.searchPseudoElements&&o(g.target),r(g.target)),g.type==="attributes"&&g.target.parentNode&&Ht.searchPseudoElements&&o(g.target.parentNode),g.type==="attributes"&&oT(g.target)&&~s7.indexOf(g.attributeName))if(g.attributeName==="class"&&V7(g.target)){var v=Ug(WS(g.target)),y=v.prefix,A=v.iconName;g.target.setAttribute(jS,y||d),A&&g.target.setAttribute(GS,A)}else Y7(g.target)&&i(g.target)})}}),vo&&Um.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function J7(){Um&&Um.disconnect()}function e9(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var a=i.split(":"),o=a[0],u=a.slice(1);return o&&u.length>0&&(n[o]=u.join(":").trim()),n},{})),r}function t9(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=Ug(WS(e));return i.prefix||(i.prefix=pu()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||(i.prefix&&n.length>0&&(i.iconName=I7(i.prefix,e.innerText)||YS(i.prefix,m_(e.innerText))),!i.iconName&&Ht.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function r9(e){var t=Yf(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 Ht.autoA11y&&(r?t["aria-labelledby"]="".concat(Ht.replacementClass,"-title-").concat(n||Nd()):(t["aria-hidden"]="true",t.focusable="false")),t}function n9(){return{iconName:null,title:null,titleId:null,prefix:null,transform:wa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function sT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=t9(e),n=r.iconName,i=r.prefix,a=r.rest,o=r9(e),u=y_("parseNodeAttributes",{},e),s=t.styleParser?e9(e):[];return $t({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:wa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},u)}var i9=Ji.styles;function kP(e){var t=Ht.autoReplaceSvg==="nest"?sT(e,{styleParser:!1}):sT(e);return~t.extra.classes.indexOf(hP)?so("generateLayersText",e,t):so("generateSvgReplacementMutation",e,t)}var vu=new Set;HS.map(function(e){vu.add("fa-".concat(e))});Object.keys(Rd[$r]).map(vu.add.bind(vu));Object.keys(Rd[Vr]).map(vu.add.bind(vu));vu=op(vu);function fT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!vo)return Promise.resolve();var r=Br.documentElement.classList,n=function(g){return r.add("".concat(ZC,"-").concat(g))},i=function(g){return r.remove("".concat(ZC,"-").concat(g))},a=Ht.autoFetchSvg?vu:HS.map(function(d){return"fa-".concat(d)}).concat(Object.keys(i9));a.includes("fa")||a.push("fa");var o=[".".concat(hP,":not([").concat(Sl,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(Sl,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Yf(e.querySelectorAll(o))}catch{}if(u.length>0)n("pending"),i("complete");else return Promise.resolve();var s=QS.begin("onTree"),c=u.reduce(function(d,g){try{var v=kP(g);v&&d.push(v)}catch(y){cP||y.name==="MissingIcon"&&console.error(y)}return d},[]);return new Promise(function(d,g){Promise.all(c).then(function(v){OP(v,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),s(),d()})}).catch(function(v){s(),g(v)})})}function a9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;kP(e).then(function(r){r&&OP([r],t)})}function o9(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:b_(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:b_(i||{})),e(n,$t($t({},r),{},{mask:i}))}}var u9=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?wa:n,a=r.symbol,o=a===void 0?!1:a,u=r.mask,s=u===void 0?null:u,c=r.maskId,d=c===void 0?null:c,g=r.title,v=g===void 0?null:g,y=r.titleId,A=y===void 0?null:y,E=r.classes,w=E===void 0?[]:E,x=r.attributes,_=x===void 0?{}:x,T=r.styles,C=T===void 0?{}:T;if(t){var R=t.prefix,N=t.iconName,V=t.icon;return jg($t({type:"icon"},t),function(){return El("beforeDOMElementCreation",{iconDefinition:t,params:r}),Ht.autoA11y&&(v?_["aria-labelledby"]="".concat(Ht.replacementClass,"-title-").concat(A||Nd()):(_["aria-hidden"]="true",_.focusable="false")),KS({icons:{main:x_(V),mask:s?x_(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:R,iconName:N,transform:$t($t({},wa),i),symbol:o,title:v,maskId:d,titleId:A,extra:{attributes:_,styles:C,classes:w}})})}},l9={mixout:function(){return{icon:o9(u9)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=fT,r.nodeCallback=a9,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?Br:n,a=r.callback,o=a===void 0?function(){}:a;return fT(i,o)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,a=n.title,o=n.titleId,u=n.prefix,s=n.transform,c=n.symbol,d=n.mask,g=n.maskId,v=n.extra;return new Promise(function(y,A){Promise.all([w_(i,u),d.iconName?w_(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(E){var w=zS(E,2),x=w[0],_=w[1];y([r,KS({icons:{main:x,mask:_},prefix:u,iconName:i,transform:s,symbol:c,maskId:g,title:a,titleId:o,extra:v,watchable:!0})])}).catch(A)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.transform,u=r.styles,s=Bg(u);s.length>0&&(i.style=s);var c;return qS(o)&&(c=so("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(c||a.icon),{children:n,attributes:i}}}},s9={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 jg({type:"layer"},function(){El("beforeDOMElementCreation",{assembler:r,params:n});var o=[];return r(function(u){Array.isArray(u)?u.map(function(s){o=o.concat(s.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(Ht.cssPrefix,"-layers")].concat(op(a)).join(" ")},children:o}]})}}}},f9={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,u=o===void 0?[]:o,s=n.attributes,c=s===void 0?{}:s,d=n.styles,g=d===void 0?{}:d;return jg({type:"counter",content:r},function(){return El("beforeDOMElementCreation",{content:r,params:n}),G7({content:r.toString(),title:a,extra:{attributes:c,styles:g,classes:["".concat(Ht.cssPrefix,"-layers-counter")].concat(op(u))}})})}}}},c9={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?wa:i,o=n.title,u=o===void 0?null:o,s=n.classes,c=s===void 0?[]:s,d=n.attributes,g=d===void 0?{}:d,v=n.styles,y=v===void 0?{}:v;return jg({type:"text",content:r},function(){return El("beforeDOMElementCreation",{content:r,params:n}),iT({content:r,transform:$t($t({},wa),a),title:u,extra:{attributes:g,styles:y,classes:["".concat(Ht.cssPrefix,"-layers-text")].concat(op(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,u=null,s=null;if(lP){var c=parseInt(getComputedStyle(r).fontSize,10),d=r.getBoundingClientRect();u=d.width/c,s=d.height/c}return Ht.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([r,iT({content:r.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},h9=new RegExp('"',"ug"),cT=[1105920,1112319];function d9(e){var t=e.replace(h9,""),r=C7(t,0),n=r>=cT[0]&&r<=cT[1],i=t.length===2?t[0]===t[1]:!1;return{value:m_(i?t[0]:t),isSecondary:n||i}}function hT(e,t){var r="".concat(t7).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=Yf(e.children),o=a.filter(function(V){return V.getAttribute(v_)===t})[0],u=du.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(o7),c=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(o&&!s)return e.removeChild(o),n();if(s&&d!=="none"&&d!==""){var g=u.getPropertyValue("content"),v=~["Sharp"].indexOf(s[2])?Vr:$r,y=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?Id[v][s[2].toLowerCase()]:u7[v][c],A=d9(g),E=A.value,w=A.isSecondary,x=s[0].startsWith("FontAwesome"),_=YS(y,E),T=_;if(x){var C=P7(E);C.iconName&&C.prefix&&(_=C.iconName,y=C.prefix)}if(_&&!w&&(!o||o.getAttribute(jS)!==y||o.getAttribute(GS)!==T)){e.setAttribute(r,T),o&&e.removeChild(o);var R=n9(),N=R.extra;N.attributes[v_]=t,w_(_,y).then(function(V){var j=KS($t($t({},R),{},{icons:{main:V,mask:XS()},prefix:y,iconName:T,extra:N,watchable:!0})),ne=Br.createElement("svg");t==="::before"?e.insertBefore(ne,e.firstChild):e.appendChild(ne),ne.outerHTML=j.map(function(Te){return lp(Te)}).join(`
|
|
830
|
+
`),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function p9(e){return Promise.all([hT(e,"::before"),hT(e,"::after")])}function v9(e){return e.parentNode!==document.head&&!~n7.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(v_)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function dT(e){if(vo)return new Promise(function(t,r){var n=Yf(e.querySelectorAll("*")).filter(v9).map(p9),i=QS.begin("searchPseudoElements");MP(),Promise.all(n).then(function(){i(),S_(),t()}).catch(function(){i(),S_(),r()})})}var m9={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=dT,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?Br:n;Ht.searchPseudoElements&&dT(i)}}},pT=!1,g9={mixout:function(){return{dom:{unwatch:function(){MP(),pT=!0}}}},hooks:function(){return{bootstrap:function(){lT(y_("mutationObserverCallbacks",{}))},noAuto:function(){J7()},watch:function(r){var n=r.observeMutationsRoot;pT?S_():lT(y_("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},vT=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],u=a.slice(1).join("-");if(o&&u==="h")return n.flipX=!0,n;if(o&&u==="v")return n.flipY=!0,n;if(u=parseFloat(u),isNaN(u))return n;switch(o){case"grow":n.size=n.size+u;break;case"shrink":n.size=n.size-u;break;case"left":n.x=n.x-u;break;case"right":n.x=n.x+u;break;case"up":n.y=n.y-u;break;case"down":n.y=n.y+u;break;case"rotate":n.rotate=n.rotate+u;break}return n},r)},y9={mixout:function(){return{parse:{transform:function(r){return vT(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=vT(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,a=r.containerWidth,o=r.iconWidth,u={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)"),g={transform:"".concat(s," ").concat(c," ").concat(d)},v={transform:"translate(".concat(o/2*-1," -256)")},y={outer:u,inner:g,path:v};return{tag:"g",attributes:$t({},y.outer),children:[{tag:"g",attributes:$t({},y.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:$t($t({},n.icon.attributes),y.path)}]}]}}}},Ub={x:0,y:0,width:"100%",height:"100%"};function mT(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 b9(e){return e.tag==="g"?e.children:[e]}var x9={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?Ug(i.split(" ").map(function(o){return o.trim()})):XS();return a.prefix||(a.prefix=pu()),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,u=r.maskId,s=r.transform,c=a.width,d=a.icon,g=o.width,v=o.icon,y=y7({transform:s,containerWidth:g,iconWidth:c}),A={tag:"rect",attributes:$t($t({},Ub),{},{fill:"white"})},E=d.children?{children:d.children.map(mT)}:{},w={tag:"g",attributes:$t({},y.inner),children:[mT($t({tag:d.tag,attributes:$t($t({},d.attributes),y.path)},E))]},x={tag:"g",attributes:$t({},y.outer),children:[w]},_="mask-".concat(u||Nd()),T="clip-".concat(u||Nd()),C={tag:"mask",attributes:$t($t({},Ub),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[A,x]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:T},children:b9(v)},C]};return n.push(R,{tag:"rect",attributes:$t({fill:"currentColor","clip-path":"url(#".concat(T,")"),mask:"url(#".concat(_,")")},Ub)}),{children:n,attributes:i}}}},w9={provides:function(t){var r=!1;du.matchMedia&&(r=du.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:$t($t({},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=$t($t({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:$t($t({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||u.children.push({tag:"animate",attributes:$t($t({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:$t($t({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(u),n.push({tag:"path",attributes:$t($t({},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:$t($t({},o),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:$t($t({},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:$t($t({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},_9={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}}}},S9=[w7,l9,s9,f9,c9,m9,g9,y9,x9,w9,_9];L7(S9,{mixoutsTo:xi});xi.noAuto;xi.config;xi.library;xi.dom;var E_=xi.parse;xi.findIconDefinition;xi.toHtml;var E9=xi.icon;xi.layer;xi.text;xi.counter;function gT(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 Xo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gT(Object(r),!0).forEach(function(n){tf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jm(e){return jm=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},jm(e)}function tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A9(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 C9(e,t){if(e==null)return{};var r=A9(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 A_(e){return T9(e)||O9(e)||M9(e)||k9()}function T9(e){if(Array.isArray(e))return C_(e)}function O9(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M9(e,t){if(e){if(typeof e=="string")return C_(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 C_(e,t)}}function C_(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 k9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
831
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R9(e){var t,r=e.beat,n=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,s=e.spin,c=e.spinPulse,d=e.spinReverse,g=e.pulse,v=e.fixedWidth,y=e.inverse,A=e.border,E=e.listItem,w=e.flip,x=e.size,_=e.rotation,T=e.pull,C=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":s,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":g,"fa-fw":v,"fa-inverse":y,"fa-border":A,"fa-li":E,"fa-flip":w===!0,"fa-flip-horizontal":w==="horizontal"||w==="both","fa-flip-vertical":w==="vertical"||w==="both"},tf(t,"fa-".concat(x),typeof x<"u"&&x!==null),tf(t,"fa-rotate-".concat(_),typeof _<"u"&&_!==null&&_!==0),tf(t,"fa-pull-".concat(T),typeof T<"u"&&T!==null),tf(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(C).map(function(R){return C[R]?R:null}).filter(function(R){return R})}function I9(e){return e=e-0,e===e}function RP(e){return I9(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var P9=["style"];function F9(e){return e.charAt(0).toUpperCase()+e.slice(1)}function N9(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=RP(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[F9(i)]=a:t[i]=a,t},{})}function IP(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 IP(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=N9(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=d:s.attrs[RP(c)]=d}return s},{attrs:{}}),a=r.style,o=a===void 0?{}:a,u=C9(r,P9);return i.attrs.style=Xo(Xo({},i.attrs.style),o),e.apply(void 0,[t.tag,Xo(Xo({},i.attrs),u)].concat(A_(n)))}var PP=!1;try{PP=!0}catch{}function L9(){if(!PP&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function yT(e){if(e&&jm(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(E_.icon)return E_.icon(e);if(e===null)return null;if(e&&jm(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 jb(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?tf({},e,t):{}}var Gg=wr.forwardRef(function(e,t){var r=e.icon,n=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,s=e.maskId,c=yT(r),d=jb("classes",[].concat(A_(R9(e)),A_(a.split(" ")))),g=jb("transform",typeof e.transform=="string"?E_.transform(e.transform):e.transform),v=jb("mask",yT(n)),y=E9(c,Xo(Xo(Xo(Xo({},d),g),v),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!y)return L9("Could not find icon",c),null;var A=y.abstract,E={ref:t};return Object.keys(e).forEach(function(w){Gg.defaultProps.hasOwnProperty(w)||(E[w]=e[w])}),$9(A[0],E)});Gg.displayName="FontAwesomeIcon";Gg.propTypes={beat:hr.bool,border:hr.bool,beatFade:hr.bool,bounce:hr.bool,className:hr.string,fade:hr.bool,flash:hr.bool,mask:hr.oneOfType([hr.object,hr.array,hr.string]),maskId:hr.string,fixedWidth:hr.bool,inverse:hr.bool,flip:hr.oneOf([!0,!1,"horizontal","vertical","both"]),icon:hr.oneOfType([hr.object,hr.array,hr.string]),listItem:hr.bool,pull:hr.oneOf(["right","left"]),pulse:hr.bool,rotation:hr.oneOf([0,90,180,270]),shake:hr.bool,size:hr.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:hr.bool,spinPulse:hr.bool,spinReverse:hr.bool,symbol:hr.oneOfType([hr.bool,hr.string]),title:hr.string,titleId:hr.string,transform:hr.oneOfType([hr.string,hr.object]),swapOpacity:hr.bool};Gg.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var $9=IP.bind(null,wr.createElement),FP={exports:{}},Z0=1;function D9(){return Z0=(Z0*9301+49297)%233280,Z0/233280}function B9(e){Z0=e}var z9={nextValue:D9,seed:B9},T_=z9,il="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",Ko,bT,qh;function O_(){qh=!1}function NP(e){if(!e){Ko!==il&&(Ko=il,O_());return}if(e!==Ko){if(e.length!==il.length)throw new Error("Custom alphabet for shortid must be "+il.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 "+il.length+" unique characters. These characters were not unique: "+t.join(", "));Ko=e,O_()}}function U9(e){return NP(e),Ko}function j9(e){T_.seed(e),bT!==e&&(O_(),bT=e)}function G9(){Ko||NP(il);for(var e=Ko.split(""),t=[],r=T_.nextValue(),n;e.length>0;)r=T_.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function LP(){return qh||(qh=G9(),qh)}function H9(e){var t=LP();return t[e]}function W9(){return Ko||il}var JS={get:W9,characters:U9,seed:j9,lookup:H9,shuffled:LP},Gb=typeof window=="object"&&(window.crypto||window.msCrypto),M_;!Gb||!Gb.getRandomValues?M_=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:M_=function(e){return Gb.getRandomValues(new Uint8Array(e))};var q9=M_,V9=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),u=i;u--;)if(a+=t[o[u]&n]||"",a.length===+r)return a},Y9=JS,X9=q9,K9=V9;function Q9(e){for(var t=0,r,n="";!r;)n=n+K9(X9,Y9.get(),1),r=e<Math.pow(16,t+1),t++;return n}var Z9=Q9,h0=Z9,J9=1567752802062,eU=7,d0,xT;function tU(e){var t="",r=Math.floor((Date.now()-J9)*.001);return r===xT?d0++:(d0=0,xT=r),t=t+h0(eU),t=t+h0(e),d0>0&&(t=t+h0(d0)),t=t+h0(r),t}var rU=tU,nU=JS;function iU(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+nU.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var aU=iU;(function(e){var t=JS,r=rU,n=aU,i=0;function a(c){return t.seed(c),e.exports}function o(c){return i=c,e.exports}function u(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=u,e.exports.isValid=n})(FP);var oU=FP.exports,uU=oU;const foe=yi(uU);function Ld(e){return Ld=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},Ld(e)}function lU(e,t){if(Ld(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ld(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function sU(e){var t=lU(e,"string");return Ld(t)==="symbol"?t:String(t)}function fU(e,t,r){return t=sU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wT(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 _T(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wT(Object(r),!0).forEach(function(n){fU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Mn(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ST=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Hb=function(){return Math.random().toString(36).substring(7).split("").join(".")},$d={INIT:"@@redux/INIT"+Hb(),REPLACE:"@@redux/REPLACE"+Hb(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Hb()}};function cU(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function eE(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Mn(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Mn(1));return r(eE)(e,t)}if(typeof e!="function")throw new Error(Mn(2));var i=e,a=t,o=[],u=o,s=!1;function c(){u===o&&(u=o.slice())}function d(){if(s)throw new Error(Mn(3));return a}function g(E){if(typeof E!="function")throw new Error(Mn(4));if(s)throw new Error(Mn(5));var w=!0;return c(),u.push(E),function(){if(w){if(s)throw new Error(Mn(6));w=!1,c();var _=u.indexOf(E);u.splice(_,1),o=null}}}function v(E){if(!cU(E))throw new Error(Mn(7));if(typeof E.type>"u")throw new Error(Mn(8));if(s)throw new Error(Mn(9));try{s=!0,a=i(a,E)}finally{s=!1}for(var w=o=u,x=0;x<w.length;x++){var _=w[x];_()}return E}function y(E){if(typeof E!="function")throw new Error(Mn(10));i=E,v({type:$d.REPLACE})}function A(){var E,w=g;return E={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Mn(11));function T(){_.next&&_.next(d())}T();var C=w(T);return{unsubscribe:C}}},E[ST]=function(){return this},E}return v({type:$d.INIT}),n={dispatch:v,subscribe:g,getState:d,replaceReducer:y},n[ST]=A,n}var hU=eE;function dU(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:$d.INIT});if(typeof n>"u")throw new Error(Mn(12));if(typeof r(void 0,{type:$d.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Mn(13))})}function pU(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{dU(r)}catch(u){o=u}return function(s,c){if(s===void 0&&(s={}),o)throw o;for(var d=!1,g={},v=0;v<a.length;v++){var y=a[v],A=r[y],E=s[y],w=A(E,c);if(typeof w>"u")throw c&&c.type,new Error(Mn(14));g[y]=w,d=d||w!==E}return d=d||a.length!==Object.keys(s).length,d?g:s}}function ET(e,t){return function(){return t(e.apply(this,arguments))}}function vU(e,t){if(typeof e=="function")return ET(e,t);if(typeof e!="object"||e===null)throw new Error(Mn(16));var r={};for(var n in e){var i=e[n];typeof i=="function"&&(r[n]=ET(i,t))}return r}function $P(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function mU(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Mn(15))},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(s){return s(o)});return a=$P.apply(void 0,u)(i.dispatch),_T(_T({},i),{},{dispatch:a})}}}const coe=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:$d,applyMiddleware:mU,bindActionCreators:vU,combineReducers:pU,compose:$P,createStore:eE,legacy_createStore:hU},Symbol.toStringTag,{value:"Module"}));var Ca=wr.createContext(null);function gU(e){e()}var DP=gU,yU=function(t){return DP=t},bU=function(){return DP};function xU(){var e=bU(),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 AT={notify:function(){},get:function(){return[]}};function tE(e,t){var r,n=AT;function i(g){return s(),n.subscribe(g)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function u(){return!!r}function s(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=xU())}function c(){r&&(r(),r=void 0,n.clear(),n=AT)}var d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:u,trySubscribe:s,tryUnsubscribe:c,getListeners:function(){return n}};return d}var Gm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?jt.useLayoutEffect:jt.useEffect;function wU(e){var t=e.store,r=e.context,n=e.children,i=jt.useMemo(function(){var u=tE(t);return{store:t,subscription:u}},[t]),a=jt.useMemo(function(){return t.getState()},[t]);Gm(function(){var u=i.subscription;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==t.getState()&&u.notifyNestedSubs(),function(){u.tryUnsubscribe(),u.onStateChange=null}},[i,a]);var o=r||Ca;return wr.createElement(o.Provider,{value:i},n)}var BP={exports:{}},Ar={};/** @license React v16.13.1
|
|
832
|
+
* react-is.production.min.js
|
|
833
|
+
*
|
|
834
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
835
|
+
*
|
|
836
|
+
* This source code is licensed under the MIT license found in the
|
|
837
|
+
* LICENSE file in the root directory of this source tree.
|
|
838
|
+
*/var Sn=typeof Symbol=="function"&&Symbol.for,rE=Sn?Symbol.for("react.element"):60103,nE=Sn?Symbol.for("react.portal"):60106,Hg=Sn?Symbol.for("react.fragment"):60107,Wg=Sn?Symbol.for("react.strict_mode"):60108,qg=Sn?Symbol.for("react.profiler"):60114,Vg=Sn?Symbol.for("react.provider"):60109,Yg=Sn?Symbol.for("react.context"):60110,iE=Sn?Symbol.for("react.async_mode"):60111,Xg=Sn?Symbol.for("react.concurrent_mode"):60111,Kg=Sn?Symbol.for("react.forward_ref"):60112,Qg=Sn?Symbol.for("react.suspense"):60113,_U=Sn?Symbol.for("react.suspense_list"):60120,Zg=Sn?Symbol.for("react.memo"):60115,Jg=Sn?Symbol.for("react.lazy"):60116,SU=Sn?Symbol.for("react.block"):60121,EU=Sn?Symbol.for("react.fundamental"):60117,AU=Sn?Symbol.for("react.responder"):60118,CU=Sn?Symbol.for("react.scope"):60119;function wi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rE:switch(e=e.type,e){case iE:case Xg:case Hg:case qg:case Wg:case Qg:return e;default:switch(e=e&&e.$$typeof,e){case Yg:case Kg:case Jg:case Zg:case Vg:return e;default:return t}}case nE:return t}}}function zP(e){return wi(e)===Xg}Ar.AsyncMode=iE;Ar.ConcurrentMode=Xg;Ar.ContextConsumer=Yg;Ar.ContextProvider=Vg;Ar.Element=rE;Ar.ForwardRef=Kg;Ar.Fragment=Hg;Ar.Lazy=Jg;Ar.Memo=Zg;Ar.Portal=nE;Ar.Profiler=qg;Ar.StrictMode=Wg;Ar.Suspense=Qg;Ar.isAsyncMode=function(e){return zP(e)||wi(e)===iE};Ar.isConcurrentMode=zP;Ar.isContextConsumer=function(e){return wi(e)===Yg};Ar.isContextProvider=function(e){return wi(e)===Vg};Ar.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rE};Ar.isForwardRef=function(e){return wi(e)===Kg};Ar.isFragment=function(e){return wi(e)===Hg};Ar.isLazy=function(e){return wi(e)===Jg};Ar.isMemo=function(e){return wi(e)===Zg};Ar.isPortal=function(e){return wi(e)===nE};Ar.isProfiler=function(e){return wi(e)===qg};Ar.isStrictMode=function(e){return wi(e)===Wg};Ar.isSuspense=function(e){return wi(e)===Qg};Ar.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hg||e===Xg||e===qg||e===Wg||e===Qg||e===_U||typeof e=="object"&&e!==null&&(e.$$typeof===Jg||e.$$typeof===Zg||e.$$typeof===Vg||e.$$typeof===Yg||e.$$typeof===Kg||e.$$typeof===EU||e.$$typeof===AU||e.$$typeof===CU||e.$$typeof===SU)};Ar.typeOf=wi;BP.exports=Ar;var TU=BP.exports,aE=TU,OU={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},MU={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},kU={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},UP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},oE={};oE[aE.ForwardRef]=kU;oE[aE.Memo]=UP;function CT(e){return aE.isMemo(e)?UP:oE[e.$$typeof]||OU}var RU=Object.defineProperty,IU=Object.getOwnPropertyNames,TT=Object.getOwnPropertySymbols,PU=Object.getOwnPropertyDescriptor,FU=Object.getPrototypeOf,OT=Object.prototype;function jP(e,t,r){if(typeof t!="string"){if(OT){var n=FU(t);n&&n!==OT&&jP(e,n,r)}var i=IU(t);TT&&(i=i.concat(TT(t)));for(var a=CT(e),o=CT(t),u=0;u<i.length;++u){var s=i[u];if(!MU[s]&&!(r&&r[s])&&!(o&&o[s])&&!(a&&a[s])){var c=PU(t,s);try{RU(e,s,c)}catch{}}}}return e}var NU=jP;const MT=yi(NU);var GP={exports:{}},Rr={};/** @license React v17.0.2
|
|
839
|
+
* react-is.production.min.js
|
|
840
|
+
*
|
|
841
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
842
|
+
*
|
|
843
|
+
* This source code is licensed under the MIT license found in the
|
|
844
|
+
* LICENSE file in the root directory of this source tree.
|
|
845
|
+
*/var ey=60103,ty=60106,sp=60107,fp=60108,cp=60114,hp=60109,dp=60110,pp=60112,vp=60113,uE=60120,mp=60115,gp=60116,HP=60121,WP=60122,qP=60117,VP=60129,YP=60131;if(typeof Symbol=="function"&&Symbol.for){var Tn=Symbol.for;ey=Tn("react.element"),ty=Tn("react.portal"),sp=Tn("react.fragment"),fp=Tn("react.strict_mode"),cp=Tn("react.profiler"),hp=Tn("react.provider"),dp=Tn("react.context"),pp=Tn("react.forward_ref"),vp=Tn("react.suspense"),uE=Tn("react.suspense_list"),mp=Tn("react.memo"),gp=Tn("react.lazy"),HP=Tn("react.block"),WP=Tn("react.server.block"),qP=Tn("react.fundamental"),VP=Tn("react.debug_trace_mode"),YP=Tn("react.legacy_hidden")}function ia(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ey:switch(e=e.type,e){case sp:case cp:case fp:case vp:case uE:return e;default:switch(e=e&&e.$$typeof,e){case dp:case pp:case gp:case mp:case hp:return e;default:return t}}case ty:return t}}}var LU=hp,$U=ey,DU=pp,BU=sp,zU=gp,UU=mp,jU=ty,GU=cp,HU=fp,WU=vp;Rr.ContextConsumer=dp;Rr.ContextProvider=LU;Rr.Element=$U;Rr.ForwardRef=DU;Rr.Fragment=BU;Rr.Lazy=zU;Rr.Memo=UU;Rr.Portal=jU;Rr.Profiler=GU;Rr.StrictMode=HU;Rr.Suspense=WU;Rr.isAsyncMode=function(){return!1};Rr.isConcurrentMode=function(){return!1};Rr.isContextConsumer=function(e){return ia(e)===dp};Rr.isContextProvider=function(e){return ia(e)===hp};Rr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ey};Rr.isForwardRef=function(e){return ia(e)===pp};Rr.isFragment=function(e){return ia(e)===sp};Rr.isLazy=function(e){return ia(e)===gp};Rr.isMemo=function(e){return ia(e)===mp};Rr.isPortal=function(e){return ia(e)===ty};Rr.isProfiler=function(e){return ia(e)===cp};Rr.isStrictMode=function(e){return ia(e)===fp};Rr.isSuspense=function(e){return ia(e)===vp};Rr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===sp||e===cp||e===VP||e===fp||e===vp||e===uE||e===YP||typeof e=="object"&&e!==null&&(e.$$typeof===gp||e.$$typeof===mp||e.$$typeof===hp||e.$$typeof===dp||e.$$typeof===pp||e.$$typeof===qP||e.$$typeof===HP||e[0]===WP)};Rr.typeOf=ia;GP.exports=Rr;var qU=GP.exports,VU=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],YU=["reactReduxForwardedRef"],XU=[],KU=[null,null];function QU(e,t){var r=e[1];return[t.payload,r+1]}function kT(e,t,r){Gm(function(){return e.apply(void 0,t)},r)}function ZU(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function JU(e,t,r,n,i,a,o,u,s,c){if(e){var d=!1,g=null,v=function(){if(!d){var E=t.getState(),w,x;try{w=n(E,i.current)}catch(_){x=_,g=_}x||(g=null),w===a.current?o.current||s():(a.current=w,u.current=w,o.current=!0,c({type:"STORE_UPDATED",payload:{error:x}}))}};r.onStateChange=v,r.trySubscribe(),v();var y=function(){if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,g)throw g};return y}}var ej=function(){return[null,0]};function XP(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(T){return"ConnectAdvanced("+T+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,u=r.renderCountProp,s=u===void 0?void 0:u,c=r.shouldHandleStateChanges,d=c===void 0?!0:c,g=r.storeKey,v=g===void 0?"store":g;r.withRef;var y=r.forwardRef,A=y===void 0?!1:y,E=r.context,w=E===void 0?Ca:E,x=Af(r,VU),_=w;return function(C){var R=C.displayName||C.name||"Component",N=i(R),V=ni({},x,{getDisplayName:i,methodName:o,renderCountProp:s,shouldHandleStateChanges:d,storeKey:v,displayName:N,wrappedComponentName:R,WrappedComponent:C}),j=x.pure;function ne(Le){return e(Le.dispatch,V)}var Te=j?jt.useMemo:function(Le){return Le()};function be(Le){var We=jt.useMemo(function(){var K=Le.reactReduxForwardedRef,ve=Af(Le,YU);return[Le.context,K,ve]},[Le]),it=We[0],Ie=We[1],Ve=We[2],Mt=jt.useMemo(function(){return it&&it.Consumer&&qU.isContextConsumer(wr.createElement(it.Consumer,null))?it:_},[it,_]),pt=jt.useContext(Mt),xe=!!Le.store&&!!Le.store.getState&&!!Le.store.dispatch;pt&&pt.store;var Ye=xe?Le.store:pt.store,lt=jt.useMemo(function(){return ne(Ye)},[Ye]),Ue=jt.useMemo(function(){if(!d)return KU;var K=tE(Ye,xe?null:pt.subscription),ve=K.notifyNestedSubs.bind(K);return[K,ve]},[Ye,xe,pt]),vt=Ue[0],Rt=Ue[1],Xt=jt.useMemo(function(){return xe?pt:ni({},pt,{subscription:vt})},[xe,pt,vt]),q=jt.useReducer(QU,XU,ej),U=q[0],H=U[0],ye=q[1];if(H&&H.error)throw H.error;var ue=jt.useRef(),Ge=jt.useRef(Ve),St=jt.useRef(),Vt=jt.useRef(!1),$=Te(function(){return St.current&&Ve===Ge.current?St.current:lt(Ye.getState(),Ve)},[Ye,H,Ve]);kT(ZU,[Ge,ue,Vt,Ve,$,St,Rt]),kT(JU,[d,Ye,vt,lt,Ge,ue,Vt,St,Rt,ye],[Ye,vt,lt]);var M=jt.useMemo(function(){return wr.createElement(C,ni({},$,{ref:Ie}))},[Ie,C,$]),P=jt.useMemo(function(){return d?wr.createElement(Mt.Provider,{value:Xt},M):M},[Mt,M,Xt]);return P}var Re=j?wr.memo(be):be;if(Re.WrappedComponent=C,Re.displayName=be.displayName=N,A){var De=wr.forwardRef(function(We,it){return wr.createElement(Re,ni({},We,{reactReduxForwardedRef:it}))});return De.displayName=N,De.WrappedComponent=C,MT(De,C)}return MT(Re,C)}}function RT(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function J0(e,t){if(RT(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])||!RT(e[r[i]],t[r[i]]))return!1;return!0}function tj(e,t){var r={},n=function(o){var u=e[o];typeof u=="function"&&(r[o]=function(){return t(u.apply(void 0,arguments))})};for(var i in e)n(i);return r}function lE(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function IT(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?!!e.dependsOnOwnProps:e.length!==1}function KP(e,t){return function(n,i){i.displayName;var a=function(u,s){return a.dependsOnOwnProps?a.mapToProps(u,s):a.mapToProps(u)};return a.dependsOnOwnProps=!0,a.mapToProps=function(u,s){a.mapToProps=e,a.dependsOnOwnProps=IT(e);var c=a(u,s);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=IT(c),c=a(u,s)),c},a}}function rj(e){return typeof e=="function"?KP(e):void 0}function nj(e){return e?void 0:lE(function(t){return{dispatch:t}})}function ij(e){return e&&typeof e=="object"?lE(function(t){return tj(e,t)}):void 0}const aj=[rj,nj,ij];function oj(e){return typeof e=="function"?KP(e):void 0}function uj(e){return e?void 0:lE(function(){return{}})}const lj=[oj,uj];function sj(e,t,r){return ni({},r,e,t)}function fj(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,u;return function(c,d,g){var v=e(c,d,g);return o?(!i||!a(v,u))&&(u=v):(o=!0,u=v),u}}}function cj(e){return typeof e=="function"?fj(e):void 0}function hj(e){return e?void 0:function(){return sj}}const dj=[cj,hj];var pj=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function vj(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function mj(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,u=i.areStatePropsEqual,s=!1,c,d,g,v,y;function A(T,C){return c=T,d=C,g=e(c,d),v=t(n,d),y=r(g,v,d),s=!0,y}function E(){return g=e(c,d),t.dependsOnOwnProps&&(v=t(n,d)),y=r(g,v,d),y}function w(){return e.dependsOnOwnProps&&(g=e(c,d)),t.dependsOnOwnProps&&(v=t(n,d)),y=r(g,v,d),y}function x(){var T=e(c,d),C=!u(T,g);return g=T,C&&(y=r(g,v,d)),y}function _(T,C){var R=!o(C,d),N=!a(T,c,C,d);return c=T,d=C,R&&N?E():R?w():N?x():y}return function(C,R){return s?_(C,R):A(C,R)}}function gj(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=Af(t,pj),o=r(e,a),u=n(e,a),s=i(e,a),c=a.pure?mj:vj;return c(o,u,s,e,a)}var yj=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Wb(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 bj(e,t){return e===t}function xj(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?XP:r,i=t.mapStateToPropsFactories,a=i===void 0?lj:i,o=t.mapDispatchToPropsFactories,u=o===void 0?aj:o,s=t.mergePropsFactories,c=s===void 0?dj:s,d=t.selectorFactory,g=d===void 0?gj:d;return function(y,A,E,w){w===void 0&&(w={});var x=w,_=x.pure,T=_===void 0?!0:_,C=x.areStatesEqual,R=C===void 0?bj:C,N=x.areOwnPropsEqual,V=N===void 0?J0:N,j=x.areStatePropsEqual,ne=j===void 0?J0:j,Te=x.areMergedPropsEqual,be=Te===void 0?J0:Te,Re=Af(x,yj),De=Wb(y,a,"mapStateToProps"),Le=Wb(A,u,"mapDispatchToProps"),We=Wb(E,c,"mergeProps");return n(g,ni({methodName:"connect",getDisplayName:function(Ie){return"Connect("+Ie+")"},shouldHandleStateChanges:!!y,initMapStateToProps:De,initMapDispatchToProps:Le,initMergeProps:We,pure:T,areStatesEqual:R,areOwnPropsEqual:V,areStatePropsEqual:ne,areMergedPropsEqual:be},Re))}}const sE=xj();function QP(){var e=jt.useContext(Ca);return e}function fE(e){e===void 0&&(e=Ca);var t=e===Ca?QP:function(){return jt.useContext(e)};return function(){var n=t(),i=n.store;return i}}var ZP=fE();function JP(e){e===void 0&&(e=Ca);var t=e===Ca?ZP:fE(e);return function(){var n=t();return n.dispatch}}var wj=JP(),_j=function(t,r){return t===r};function Sj(e,t,r,n){var i=jt.useReducer(function(A){return A+1},0),a=i[1],o=jt.useMemo(function(){return tE(r,n)},[r,n]),u=jt.useRef(),s=jt.useRef(),c=jt.useRef(),d=jt.useRef(),g=r.getState(),v;try{if(e!==s.current||g!==c.current||u.current){var y=e(g);d.current===void 0||!t(y,d.current)?v=y:v=d.current}else v=d.current}catch(A){throw u.current&&(A.message+=`
|
|
846
|
+
The error may be correlated with this previous error:
|
|
847
|
+
`+u.current.stack+`
|
|
848
|
+
|
|
849
|
+
`),A}return Gm(function(){s.current=e,c.current=g,d.current=v,u.current=void 0}),Gm(function(){function A(){try{var E=r.getState();if(E===c.current)return;var w=s.current(E);if(t(w,d.current))return;d.current=w,c.current=E}catch(x){u.current=x}a()}return o.onStateChange=A,o.trySubscribe(),A(),function(){return o.tryUnsubscribe()}},[r,o]),v}function e4(e){e===void 0&&(e=Ca);var t=e===Ca?QP:function(){return jt.useContext(e)};return function(n,i){i===void 0&&(i=_j);var a=t(),o=a.store,u=a.subscription,s=Sj(n,i,o,u);return jt.useDebugValue(s),s}}var Ej=e4();yU(AS.unstable_batchedUpdates);const hoe=Object.freeze(Object.defineProperty({__proto__:null,Provider:wU,ReactReduxContext:Ca,batch:AS.unstable_batchedUpdates,connect:sE,connectAdvanced:XP,createDispatchHook:JP,createSelectorHook:e4,createStoreHook:fE,shallowEqual:J0,useDispatch:wj,useSelector:Ej,useStore:ZP},Symbol.toStringTag,{value:"Module"}));function Aj(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 t4(e,t){var r=jt.useState(function(){return{inputs:t,result:e()}})[0],n=jt.useRef(!0),i=jt.useRef(r),a=n.current||!!(t&&i.current.inputs&&Aj(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return jt.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function Cj(e,t){return t4(function(){return e},t)}var qn=t4,yn=Cj,Tj=!0,qb="Invariant failed";function Oj(e,t){if(!e){if(Tj)throw new Error(qb);var r=typeof t=="function"?t():t,n=r?"".concat(qb,": ").concat(r):qb;throw new Error(n)}}var rf=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,u=i-r,s={top:r,right:n,bottom:i,left:a,width:o,height:u,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return s},r4=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},PT=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},Mj=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},Vb={top:0,right:0,bottom:0,left:0},cE=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?Vb:n,a=t.border,o=a===void 0?Vb:a,u=t.padding,s=u===void 0?Vb:u,c=rf(r4(r,i)),d=rf(PT(r,o)),g=rf(PT(d,s));return{marginBox:c,borderBox:rf(r),paddingBox:d,contentBox:g,margin:i,border:o,padding:s}},Ti=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&Oj(!1),i},kj=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Rj=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,u=Mj(n,r);return cE({borderBox:u,border:i,margin:a,padding:o})},k_=function(t,r){return r===void 0&&(r=kj()),Rj(t,r)},n4=function(t,r){var n={top:Ti(r.marginTop),right:Ti(r.marginRight),bottom:Ti(r.marginBottom),left:Ti(r.marginLeft)},i={top:Ti(r.paddingTop),right:Ti(r.paddingRight),bottom:Ti(r.paddingBottom),left:Ti(r.paddingLeft)},a={top:Ti(r.borderTopWidth),right:Ti(r.borderRightWidth),bottom:Ti(r.borderBottomWidth),left:Ti(r.borderLeftWidth)};return cE({borderBox:t,margin:n,padding:i,border:a})},i4=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return n4(r,n)},FT=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Ij(e,t){return!!(e===t||FT(e)&&FT(t))}function Pj(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!Ij(e[r],t[r]))return!1;return!0}function rn(e,t){t===void 0&&(t=Pj);var r,n=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&r===this&&t(u,n)||(i=e.apply(this,u),a=!0,r=this,n=u),i}return o}var Fj=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];r=u,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},i};const Nj=Fj;function a4(e,t){}a4.bind(null,"warn");a4.bind(null,"error");function Lj(){}function $j(e,t){return ni({},e,{},t)}function Dj(e,t,r){var n=t.map(function(i){var a=$j(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 Bj="Invariant failed";function Hm(e){this.message=e}Hm.prototype.toString=function(){return this.message};function mi(e,t){if(!e)throw new Hm(Bj)}(function(e){rp(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=Lj,n.onWindowError=function(u){var s=n.getCallbacks();s.isDragging()&&s.tryAbort();var c=u.error;c instanceof Hm&&u.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(u){n.callbacks=u},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=Dj(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof Hm){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(wr.Component);var Al={x:0,y:0},zj=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},Uj=function(t,r){return t.x===r.x&&t.y===r.y},jj=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},Gj=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},Hj=function(e,t){var r=rf({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},Wj=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},qj={top:0,right:0,bottom:0,left:0},Vj=function(t,r){return r?Wj(t,r.scroll.diff.displacement):t},Yj=function(t,r,n){if(n&&n.increasedBy){var i;return ni({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},Xj=function(t,r){return r&&r.shouldClipSubject?Hj(r.pageMarginBox,t):rf(t)},Kj=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=Vj(t.marginBox,i),o=Yj(a,n,r),u=Xj(o,i);return{page:t,withPlaceholder:r,active:u}};function o4(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function Qj(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 u4(e,t){if(e.find)return e.find(t);var r=Qj(e,t);if(r!==-1)return e[r]}rn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});rn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var Zj=rn(function(e){return o4(e)}),Jj=rn(function(e){return o4(e)});rn(function(e,t){var r=Jj(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function eG(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}rn(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var tG={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},rG={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};rn(function(t,r){var n=r[t.line];return{value:n,point:Gj(t.line,n)}});var em=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},nG=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},iG=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},hE={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Dd={opacity:{drop:0,combining:.7},scale:{drop:.75}},aG={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Zu=aG.outOfTheWay+"s "+hE.outOfTheWay,tm={fluid:"opacity "+Zu,snap:"transform "+Zu+", opacity "+Zu,drop:function(t){var r=t+"s "+hE.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+Zu,placeholder:"height "+Zu+", width "+Zu+", margin "+Zu},NT=function(t){return Uj(t,Al)?null:"translate("+t.x+"px, "+t.y+"px)"},R_={moveTo:NT,drop:function(t,r){var n=NT(t);return n?r?n+" scale("+Dd.scale.drop+")":n:null}},l4=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=zj({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},oG=function(){var e=document.documentElement;return e||mi(!1),e},uG=function(){var e=oG(),t=l4({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};rn(function(e){return Zj(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var lG="data-rbd",LT={contextId:lG+"-scroll-container-context-id"},fd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?jt.useLayoutEffect:jt.useEffect,s4=wr.createContext(null),sG=0,fG={separator:"::"};function f4(e,t){return t===void 0&&(t=fG),qn(function(){return""+e+t.separator+sG++},[t.separator,e])}var dE=wr.createContext(null);function cG(e){var t=jt.useRef(e);return jt.useEffect(function(){t.current=e}),t}var hG=9,dG=13,pG=33,vG=34,mG=35,gG=36,p0;p0={},p0[dG]=!0,p0[hG]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=u4(t,function(n){return"on"+n in document});return r||e})();var Ns;Ns={},Ns[vG]=!0,Ns[pG]=!0,Ns[gG]=!0,Ns[mG]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=u4(t,function(n){return n in Element.prototype});return r||e})();var c4=function(t){return function(r){return t===r}},yG=c4("scroll"),bG=c4("auto"),$T=function(t,r){return r(t.overflowX)||r(t.overflowY)},xG=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return $T(n,yG)||$T(n,bG)},wG=function(){return!1},_G=function e(t){return t==null?null:t===document.body?wG()?t:null:t===document.documentElement?null:xG(t)?t:e(t.parentElement)},I_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},SG=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},EG=function(e){var t=_G(e),r=SG(e);return{closestScrollable:t,isFixedOnPage:r}},AG=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,u=e.page,s=e.closest,c=function(){if(!s)return null;var y=s.scrollSize,A=s.client,E=l4({scrollHeight:y.scrollHeight,scrollWidth:y.scrollWidth,height:A.paddingBox.height,width:A.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:A,scrollSize:y,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:E,diff:{value:Al,displacement:Al}}}}(),d=a==="vertical"?tG:rG,g=Kj({page:u,withPlaceholder:null,axis:d,frame:c}),v={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:d,isEnabled:r,client:o,page:u,frame:c,subject:g};return v},CG=function(t,r){var n=i4(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,u=a+r.scrollWidth,s={top:i,right:u,bottom:o,left:a},c=r4(s,n.border),d=cE({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return d},TG=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,u=e.isCombineEnabled,s=e.shouldClipSubject,c=n.closestScrollable,d=CG(t,c),g=k_(d,i),v=function(){if(!c)return null;var A=i4(c),E={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:A,page:k_(A,i),scroll:I_(c),scrollSize:E,shouldClipSubject:s}}(),y=AG({descriptor:r,isEnabled:!o,isCombineEnabled:u,isFixedOnPage:n.isFixedOnPage,direction:a,client:d,page:g,closest:v});return y},OG={passive:!1},MG={passive:!0},DT=function(e){return e.shouldPublishImmediately?OG:MG};function Wm(e){var t=jt.useContext(e);return t||mi(!1),t}var v0=function(t){return t&&t.env.closestScrollable||null};function kG(e){var t=jt.useRef(null),r=Wm(dE),n=f4("droppable"),i=r.registry,a=r.marshal,o=cG(e),u=qn(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=jt.useRef(u),c=qn(function(){return rn(function(C,R){t.current||mi(!1);var N={x:C,y:R};a.updateDroppableScroll(u.id,N)})},[u.id,a]),d=yn(function(){var C=t.current;return!C||!C.env.closestScrollable?Al:I_(C.env.closestScrollable)},[]),g=yn(function(){var C=d();c(C.x,C.y)},[d,c]),v=qn(function(){return Nj(g)},[g]),y=yn(function(){var C=t.current,R=v0(C);C&&R||mi(!1);var N=C.scrollOptions;if(N.shouldPublishImmediately){g();return}v()},[v,g]),A=yn(function(C,R){t.current&&mi(!1);var N=o.current,V=N.getDroppableRef();V||mi(!1);var j=EG(V),ne={ref:V,descriptor:u,env:j,scrollOptions:R};t.current=ne;var Te=TG({ref:V,descriptor:u,env:j,windowScroll:C,direction:N.direction,isDropDisabled:N.isDropDisabled,isCombineEnabled:N.isCombineEnabled,shouldClipSubject:!N.ignoreContainerClipping}),be=j.closestScrollable;return be&&(be.setAttribute(LT.contextId,r.contextId),be.addEventListener("scroll",y,DT(ne.scrollOptions))),Te},[r.contextId,u,y,o]),E=yn(function(){var C=t.current,R=v0(C);return C&&R||mi(!1),I_(R)},[]),w=yn(function(){var C=t.current;C||mi(!1);var R=v0(C);t.current=null,R&&(v.cancel(),R.removeAttribute(LT.contextId),R.removeEventListener("scroll",y,DT(C.scrollOptions)))},[y,v]),x=yn(function(C){var R=t.current;R||mi(!1);var N=v0(R);N||mi(!1),N.scrollTop+=C.y,N.scrollLeft+=C.x},[]),_=qn(function(){return{getDimensionAndWatchScroll:A,getScrollWhileDragging:E,dragStopped:w,scroll:x}},[w,A,E,x]),T=qn(function(){return{uniqueId:n,descriptor:u,callbacks:_}},[_,u,n]);fd(function(){return s.current=T.descriptor,i.droppable.register(T),function(){t.current&&w(),i.droppable.unregister(T)}},[_,u,w,T,a,i.droppable]),fd(function(){t.current&&a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),fd(function(){t.current&&a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function Yb(){}var BT={width:0,height:0,margin:qj},RG=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?BT:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},IG=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=RG({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"?tm.placeholder:null}};function PG(e){var t=jt.useRef(null),r=yn(function(){t.current&&(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,u=jt.useState(e.animate==="open"),s=u[0],c=u[1];jt.useEffect(function(){return s?n!=="open"?(r(),c(!1),Yb):t.current?Yb:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):Yb},[n,s,r]);var d=yn(function(v){v.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),g=IG({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return wr.createElement(e.placeholder.tagName,{style:g,"data-rbd-placeholder-context-id":o,onTransitionEnd:d,ref:e.innerRef})}var FG=wr.memo(PG),pE=wr.createContext(null),NG=function(e){rp(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:!!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:!!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}(wr.PureComponent),zT={dragging:5e3,dropAnimating:4500},LG=function(t,r){return r?tm.drop(r.duration):t?tm.snap:tm.fluid},$G=function(t,r){return t?r?Dd.opacity.drop:Dd.opacity.combining:null},DG=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function BG(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=!!i,u=DG(e),s=!!a,c=s?R_.drop(n,o):R_.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:LG(u,a),transform:c,opacity:$G(o,s),zIndex:s?zT.dropAnimating:zT.dragging,pointerEvents:"none"};return d}function zG(e){return{transform:R_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function UG(e){return e.type==="DRAGGING"?BG(e):zG(e)}function jG(e,t,r){r===void 0&&(r=Al);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=n4(i,n),o=k_(a,r),u={client:a,tagName:t.tagName.toLowerCase(),display:n.display},s={x:a.marginBox.width,y:a.marginBox.height},c={descriptor:e,placeholder:u,displaceBy:s,client:a,page:o};return c}function GG(e){var t=f4("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,u=e.isEnabled,s=qn(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:u}},[a,u,o]),c=yn(function(y){var A=i();return A||mi(!1),jG(r,A,y)},[r,i]),d=qn(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:c}},[r,c,s,t]),g=jt.useRef(d),v=jt.useRef(!0);fd(function(){return n.draggable.register(g.current),function(){return n.draggable.unregister(g.current)}},[n.draggable]),fd(function(){if(v.current){v.current=!1;return}var y=g.current;g.current=d,n.draggable.update(d,y)},[d,n.draggable])}function HG(e){e.preventDefault()}function WG(e){var t=jt.useRef(null),r=yn(function(ne){t.current=ne},[]),n=yn(function(){return t.current},[]),i=Wm(dE),a=i.contextId,o=i.dragHandleUsageInstructionsId,u=i.registry,s=Wm(pE),c=s.type,d=s.droppableId,g=qn(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}},[e.draggableId,e.index,c,d]),v=e.children,y=e.draggableId,A=e.isEnabled,E=e.shouldRespectForcePress,w=e.canDragInteractiveElements,x=e.isClone,_=e.mapped,T=e.dropAnimationFinished;if(!x){var C=qn(function(){return{descriptor:g,registry:u,getDraggableRef:n,canDragInteractiveElements:w,shouldRespectForcePress:E,isEnabled:A}},[g,u,n,w,E,A]);GG(C)}var R=qn(function(){return A?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":y,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:HG}:null},[a,o,y,A]),N=yn(function(ne){_.type==="DRAGGING"&&_.dropping&&ne.propertyName==="transform"&&T()},[T,_]),V=qn(function(){var ne=UG(_),Te=_.type==="DRAGGING"&&_.dropping?N:null,be={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":y,style:ne,onTransitionEnd:Te},dragHandleProps:R};return be},[a,R,y,_,N,r]),j=qn(function(){return{draggableId:g.id,type:g.type,source:{index:g.index,droppableId:g.droppableId}}},[g.droppableId,g.id,g.index,g.type]);return v(V,_.snapshot,j)}var h4=function(e,t){return e===t},d4=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},qG=function(t){return t.combine?t.combine.draggableId:null},VG=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function YG(){var e=rn(function(i,a){return{x:i,y:a}}),t=rn(function(i,a,o,u,s){return{isDragging:!0,isClone:a,isDropAnimating:!!s,dropAnimation:s,mode:i,draggingOver:o,combineWith:u,combineTargetFor:null}}),r=rn(function(i,a,o,u,s,c,d){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:c,mode:a,offset:i,dimension:o,forceShouldAnimate:d,snapshot:t(a,u,s,c,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var u=a.current.client.offset,s=a.dimensions.draggables[o.draggableId],c=em(a.impact),d=VG(a.impact),g=a.forceShouldAnimate;return r(e(u.x,u.y),a.movementMode,s,o.isClone,c,d,g)}if(a.phase==="DROP_ANIMATING"){var v=a.completed;if(v.result.draggableId!==o.draggableId)return null;var y=o.isClone,A=a.dimensions.draggables[o.draggableId],E=v.result,w=E.mode,x=d4(E),_=qG(E),T=a.dropDuration,C={duration:T,curve:hE.drop,moveTo:a.newHomeClientOffset,opacity:_?Dd.opacity.drop:null,scale:_?Dd.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:A,dropping:C,draggingOver:x,combineWith:_,mode:w,forceShouldAnimate:null,snapshot:t(w,y,x,_,C)}}}return null};return n}function p4(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var XG={mapped:{type:"SECONDARY",offset:Al,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:p4(null)}};function KG(){var e=rn(function(o,u){return{x:o,y:u}}),t=rn(p4),r=rn(function(o,u,s){return u===void 0&&(u=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:u,shouldAnimateDisplacement:s,snapshot:t(u)}}}),n=function(u){return u?r(Al,u,!0):null},i=function(u,s,c,d){var g=c.displaced.visible[u],v=!!(d.inVirtualList&&d.effected[u]),y=eG(c),A=y&&y.draggableId===u?s:null;if(!g){if(!v)return n(A);if(c.displaced.invisible[u])return null;var E=jj(d.displacedBy.point),w=e(E.x,E.y);return r(w,A,!0)}if(v)return n(A);var x=c.displacedBy.point,_=e(x.x,x.y);return r(_,A,g.shouldAnimate)},a=function(u,s){if(u.isDragging)return u.critical.draggable.id===s.draggableId?null:i(s.draggableId,u.critical.draggable.id,u.impact,u.afterCritical);if(u.phase==="DROP_ANIMATING"){var c=u.completed;return c.result.draggableId===s.draggableId?null:i(s.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return a}var QG=function(){var t=YG(),r=KG(),n=function(a,o){return t(a,o)||r(a,o)||XG};return n},ZG={dropAnimationFinished:iG},JG=sE(QG,ZG,null,{context:s4,pure:!0,areStatePropsEqual:h4})(WG);function v4(e){var t=Wm(pE),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:wr.createElement(JG,e)}function doe(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return wr.createElement(v4,ni({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}function eH(e){var t=jt.useContext(dE);t||mi(!1);var r=t.contextId,n=t.isMovementAllowed,i=jt.useRef(null),a=jt.useRef(null),o=e.children,u=e.droppableId,s=e.type,c=e.mode,d=e.direction,g=e.ignoreContainerClipping,v=e.isDropDisabled,y=e.isCombineEnabled,A=e.snapshot,E=e.useClone,w=e.updateViewportMaxScroll,x=e.getContainerForClone,_=yn(function(){return i.current},[]),T=yn(function(be){i.current=be},[]);yn(function(){return a.current},[]);var C=yn(function(be){a.current=be},[]),R=yn(function(){n()&&w({maxScroll:uG()})},[n,w]);kG({droppableId:u,type:s,mode:c,direction:d,isDropDisabled:v,isCombineEnabled:y,ignoreContainerClipping:g,getDroppableRef:_});var N=wr.createElement(NG,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},function(be){var Re=be.onClose,De=be.data,Le=be.animate;return wr.createElement(FG,{placeholder:De,onClose:Re,innerRef:C,animate:Le,contextId:r,onTransitionEnd:R})}),V=qn(function(){return{innerRef:T,placeholder:N,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":r}}},[r,u,N,T]),j=E?E.dragging.draggableId:null,ne=qn(function(){return{droppableId:u,type:s,isUsingCloneFor:j}},[u,j,s]);function Te(){if(!E)return null;var be=E.dragging,Re=E.render,De=wr.createElement(v4,{draggableId:be.draggableId,index:be.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Le,We){return Re(Le,We,be)});return Gh.createPortal(De,x())}return wr.createElement(pE.Provider,{value:ne},o(V,A),Te())}var Xb=function(t,r){return t===r.droppable.type},UT=function(t,r){return r.draggables[t.draggable.id]},tH=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=ni({},t,{shouldAnimatePlaceholder:!1}),n=rn(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=rn(function(o,u,s,c,d,g){var v=d.descriptor.id,y=d.descriptor.droppableId===o;if(y){var A=g?{render:g,dragging:n(d.descriptor)}:null,E={isDraggingOver:s,draggingOverWith:s?v:null,draggingFromThisWith:v,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!1,snapshot:E,useClone:A}}if(!u)return r;if(!c)return t;var w={isDraggingOver:s,draggingOverWith:v,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!0,snapshot:w,useClone:null}}),a=function(u,s){var c=s.droppableId,d=s.type,g=!s.isDropDisabled,v=s.renderClone;if(u.isDragging){var y=u.critical;if(!Xb(d,y))return r;var A=UT(y,u.dimensions),E=em(u.impact)===c;return i(c,g,E,E,A,v)}if(u.phase==="DROP_ANIMATING"){var w=u.completed;if(!Xb(d,w.critical))return r;var x=UT(w.critical,u.dimensions);return i(c,g,d4(w.result)===c,em(w.impact)===c,x,v)}if(u.phase==="IDLE"&&u.completed&&!u.shouldFlush){var _=u.completed;if(!Xb(d,_.critical))return r;var T=em(_.impact)===c,C=!!(_.impact.at&&_.impact.at.type==="COMBINE"),R=_.critical.droppable.id===c;return T?C?t:r:R?t:r}return r};return a},rH={updateViewportMaxScroll:nG};function nH(){return document.body||mi(!1),document.body}var iH={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:nH},aH=sE(tH,rH,null,{context:s4,pure:!0,areStatePropsEqual:h4})(eH);aH.defaultProps=iH;var oH=typeof performance=="object"&&typeof performance.now=="function",jT=oH?function(){return performance.now()}:function(){return Date.now()};function GT(e){cancelAnimationFrame(e.id)}function uH(e,t){var r=jT();function n(){jT()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var Kb=-1;function HT(e){if(e===void 0&&(e=!1),Kb===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Kb=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Kb}var Ls=null;function WT(e){if(e===void 0&&(e=!1),Ls===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?Ls="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Ls="negative":Ls="positive-ascending"),document.body.removeChild(t),Ls}return Ls}var lH=150,sH=function(t,r){return t};function fH(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,o=e.getStartIndexForOffset,u=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return t=function(g){rp(v,g);function v(A){var E;return E=g.call(this,A)||this,E._instanceProps=s(E.props,IC(E)),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:IC(E),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=rn(function(w,x,_,T){return E.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:T})}),E._callOnScroll=void 0,E._callOnScroll=rn(function(w,x,_){return E.props.onScroll({scrollDirection:w,scrollOffset:x,scrollUpdateWasRequested:_})}),E._getItemStyle=void 0,E._getItemStyle=function(w){var x=E.props,_=x.direction,T=x.itemSize,C=x.layout,R=E._getItemStyleCache(c&&T,c&&C,c&&_),N;if(R.hasOwnProperty(w))N=R[w];else{var V=r(E.props,w,E._instanceProps),j=i(E.props,w,E._instanceProps),ne=_==="horizontal"||C==="horizontal",Te=_==="rtl",be=ne?V:0;R[w]=N={position:"absolute",left:Te?void 0:be,right:Te?be:void 0,top:ne?0:V,height:ne?"100%":j,width:ne?j:"100%"}}return N},E._getItemStyleCache=void 0,E._getItemStyleCache=rn(function(w,x,_){return{}}),E._onScrollHorizontal=function(w){var x=w.currentTarget,_=x.clientWidth,T=x.scrollLeft,C=x.scrollWidth;E.setState(function(R){if(R.scrollOffset===T)return null;var N=E.props.direction,V=T;if(N==="rtl")switch(WT()){case"negative":V=-T;break;case"positive-descending":V=C-_-T;break}return V=Math.max(0,Math.min(V,C-_)),{isScrolling:!0,scrollDirection:R.scrollOffset<T?"forward":"backward",scrollOffset:V,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._onScrollVertical=function(w){var x=w.currentTarget,_=x.clientHeight,T=x.scrollHeight,C=x.scrollTop;E.setState(function(R){if(R.scrollOffset===C)return null;var N=Math.max(0,Math.min(C,T-_));return{isScrolling:!0,scrollDirection:R.scrollOffset<N?"forward":"backward",scrollOffset:N,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._outerRefSetter=function(w){var x=E.props.outerRef;E._outerRef=w,typeof x=="function"?x(w):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=w)},E._resetIsScrollingDebounced=function(){E._resetIsScrollingTimeoutId!==null&>(E._resetIsScrollingTimeoutId),E._resetIsScrollingTimeoutId=uH(E._resetIsScrolling,lH)},E._resetIsScrolling=function(){E._resetIsScrollingTimeoutId=null,E.setState({isScrolling:!1},function(){E._getItemStyleCache(-1,null)})},E}v.getDerivedStateFromProps=function(E,w){return cH(E,w),d(E),null};var y=v.prototype;return y.scrollTo=function(E){E=Math.max(0,E),this.setState(function(w){return w.scrollOffset===E?null:{scrollDirection:w.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},y.scrollToItem=function(E,w){w===void 0&&(w="auto");var x=this.props,_=x.itemCount,T=x.layout,C=this.state.scrollOffset;E=Math.max(0,Math.min(E,_-1));var R=0;if(this._outerRef){var N=this._outerRef;T==="vertical"?R=N.scrollWidth>N.clientWidth?HT():0:R=N.scrollHeight>N.clientHeight?HT():0}this.scrollTo(a(this.props,E,w,C,this._instanceProps,R))},y.componentDidMount=function(){var E=this.props,w=E.direction,x=E.initialScrollOffset,_=E.layout;if(typeof x=="number"&&this._outerRef!=null){var T=this._outerRef;w==="horizontal"||_==="horizontal"?T.scrollLeft=x:T.scrollTop=x}this._callPropsCallbacks()},y.componentDidUpdate=function(){var E=this.props,w=E.direction,x=E.layout,_=this.state,T=_.scrollOffset,C=_.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var R=this._outerRef;if(w==="horizontal"||x==="horizontal")if(w==="rtl")switch(WT()){case"negative":R.scrollLeft=-T;break;case"positive-ascending":R.scrollLeft=T;break;default:var N=R.clientWidth,V=R.scrollWidth;R.scrollLeft=V-N-T;break}else R.scrollLeft=T;else R.scrollTop=T}this._callPropsCallbacks()},y.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&>(this._resetIsScrollingTimeoutId)},y.render=function(){var E=this.props,w=E.children,x=E.className,_=E.direction,T=E.height,C=E.innerRef,R=E.innerElementType,N=E.innerTagName,V=E.itemCount,j=E.itemData,ne=E.itemKey,Te=ne===void 0?sH:ne,be=E.layout,Re=E.outerElementType,De=E.outerTagName,Le=E.style,We=E.useIsScrolling,it=E.width,Ie=this.state.isScrolling,Ve=_==="horizontal"||be==="horizontal",Mt=Ve?this._onScrollHorizontal:this._onScrollVertical,pt=this._getRangeToRender(),xe=pt[0],Ye=pt[1],lt=[];if(V>0)for(var Ue=xe;Ue<=Ye;Ue++)lt.push(jt.createElement(w,{data:j,key:Te(Ue,j),index:Ue,isScrolling:We?Ie:void 0,style:this._getItemStyle(Ue)}));var vt=n(this.props,this._instanceProps);return jt.createElement(Re||De||"div",{className:x,onScroll:Mt,ref:this._outerRefSetter,style:ni({position:"relative",height:T,width:it,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},Le)},jt.createElement(R||N||"div",{children:lt,ref:C,style:{height:Ve?"100%":vt,pointerEvents:Ie?"none":void 0,width:Ve?vt:"100%"}}))},y._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var w=this._getRangeToRender(),x=w[0],_=w[1],T=w[2],C=w[3];this._callOnItemsRendered(x,_,T,C)}}if(typeof this.props.onScroll=="function"){var R=this.state,N=R.scrollDirection,V=R.scrollOffset,j=R.scrollUpdateWasRequested;this._callOnScroll(N,V,j)}},y._getRangeToRender=function(){var E=this.props,w=E.itemCount,x=E.overscanCount,_=this.state,T=_.isScrolling,C=_.scrollDirection,R=_.scrollOffset;if(w===0)return[0,0,0,0];var N=o(this.props,R,this._instanceProps),V=u(this.props,N,R,this._instanceProps),j=!T||C==="backward"?Math.max(1,x):1,ne=!T||C==="forward"?Math.max(1,x):1;return[Math.max(0,N-j),Math.max(0,Math.min(w-1,V+ne)),N,V]},v}(jt.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var cH=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},poe=fH({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,a,o){var u=t.direction,s=t.height,c=t.itemCount,d=t.itemSize,g=t.layout,v=t.width,y=u==="horizontal"||g==="horizontal",A=y?v:s,E=Math.max(0,c*d-A),w=Math.min(E,r*d),x=Math.max(0,r*d-A+d+o);switch(n==="smart"&&(i>=x-A&&i<=w+A?n="auto":n="center"),n){case"start":return w;case"end":return x;case"center":{var _=Math.round(x+(w-x)/2);return _<Math.ceil(A/2)?0:_>E+Math.floor(A/2)?E:_}case"auto":default:return i>=x&&i<=w?i:i<x?x:w}},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,u=t.itemSize,s=t.layout,c=t.width,d=i==="horizontal"||s==="horizontal",g=r*u,v=d?c:a,y=Math.ceil((v+n-g)/u);return Math.max(0,Math.min(o-1,r+y-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),hH=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},dH=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}}(),pH=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},vH=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)},qT=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},mH=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.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")}}(),Fi=void 0;typeof window<"u"?Fi=window:typeof self<"u"?Fi=self:Fi=global;var P_=null,F_=null,VT=20,Qb=Fi.clearTimeout,YT=Fi.setTimeout,Zb=Fi.cancelAnimationFrame||Fi.mozCancelAnimationFrame||Fi.webkitCancelAnimationFrame,XT=Fi.requestAnimationFrame||Fi.mozRequestAnimationFrame||Fi.webkitRequestAnimationFrame;Zb==null||XT==null?(P_=Qb,F_=function(t){return YT(t,VT)}):(P_=function(t){var r=mH(t,2),n=r[0],i=r[1];Zb(n),Qb(i)},F_=function(t){var r=XT(function(){Qb(n),t()}),n=YT(function(){Zb(r),t()},VT);return[r,n]});function gH(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,u=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){o=function(C){var R=C.__resizeTriggers__,N=R.firstElementChild,V=R.lastElementChild,j=N.firstElementChild;V.scrollLeft=V.scrollWidth,V.scrollTop=V.scrollHeight,j.style.width=N.offsetWidth+1+"px",j.style.height=N.offsetHeight+1+"px",N.scrollLeft=N.scrollWidth,N.scrollTop=N.scrollHeight},a=function(C){return C.offsetWidth!==C.__resizeLast__.width||C.offsetHeight!==C.__resizeLast__.height},u=function(C){if(!(C.target.className&&typeof C.target.className.indexOf=="function"&&C.target.className.indexOf("contract-trigger")<0&&C.target.className.indexOf("expand-trigger")<0)){var R=this;o(this),this.__resizeRAF__&&P_(this.__resizeRAF__),this.__resizeRAF__=F_(function(){a(R)&&(R.__resizeLast__.width=R.offsetWidth,R.__resizeLast__.height=R.offsetHeight,R.__resizeListeners__.forEach(function(j){j.call(R,C)}))})}};var c=!1,d="";n="animationstart";var g="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),y="";{var A=document.createElement("fakeelement");if(A.style.animationName!==void 0&&(c=!0),c===!1){for(var E=0;E<g.length;E++)if(A.style[g[E]+"AnimationName"]!==void 0){y=g[E],d="-"+y.toLowerCase()+"-",n=v[E],c=!0;break}}}r="resizeanim",t="@"+d+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=d+"animation: 1ms "+r+"; "}var w=function(C){if(!C.getElementById("detectElementResize")){var R=(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%; }',N=C.head||C.getElementsByTagName("head")[0],V=C.createElement("style");V.id="detectElementResize",V.type="text/css",e!=null&&V.setAttribute("nonce",e),V.styleSheet?V.styleSheet.cssText=R:V.appendChild(C.createTextNode(R)),N.appendChild(V)}},x=function(C,R){if(s)C.attachEvent("onresize",R);else{if(!C.__resizeTriggers__){var N=C.ownerDocument,V=Fi.getComputedStyle(C);V&&V.position==="static"&&(C.style.position="relative"),w(N),C.__resizeLast__={},C.__resizeListeners__=[],(C.__resizeTriggers__=N.createElement("div")).className="resize-triggers";var j=N.createElement("div");j.className="expand-trigger",j.appendChild(N.createElement("div"));var ne=N.createElement("div");ne.className="contract-trigger",C.__resizeTriggers__.appendChild(j),C.__resizeTriggers__.appendChild(ne),C.appendChild(C.__resizeTriggers__),o(C),C.addEventListener("scroll",u,!0),n&&(C.__resizeTriggers__.__animationListener__=function(be){be.animationName===r&&o(C)},C.__resizeTriggers__.addEventListener(n,C.__resizeTriggers__.__animationListener__))}C.__resizeListeners__.push(R)}},_=function(C,R){if(s)C.detachEvent("onresize",R);else if(C.__resizeListeners__.splice(C.__resizeListeners__.indexOf(R),1),!C.__resizeListeners__.length){C.removeEventListener("scroll",u,!0),C.__resizeTriggers__.__animationListener__&&(C.__resizeTriggers__.removeEventListener(n,C.__resizeTriggers__.__animationListener__),C.__resizeTriggers__.__animationListener__=null);try{C.__resizeTriggers__=!C.removeChild(C.__resizeTriggers__)}catch{}}};return{addResizeListener:x,removeResizeListener:_}}var yH=function(e){vH(t,e);function t(){var r,n,i,a;hH(this,t);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return a=(n=(i=qT(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(u))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var c=i.props,d=c.disableHeight,g=c.disableWidth,v=c.onResize;if(i._parentNode){var y=i._parentNode.offsetHeight||0,A=i._parentNode.offsetWidth||0,E=window.getComputedStyle(i._parentNode)||{},w=parseInt(E.paddingLeft,10)||0,x=parseInt(E.paddingRight,10)||0,_=parseInt(E.paddingTop,10)||0,T=parseInt(E.paddingBottom,10)||0,C=y-_-T,R=A-w-x;(!d&&i.state.height!==C||!g&&i.state.width!==R)&&(i.setState({height:y-_-T,width:A-w-x}),v({height:y,width:A}))}},i._setRef=function(c){i._autoSizer=c},n),qT(i,a)}return dH(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=gH(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,u=n.disableWidth,s=n.style,c=this.state,d=c.height,g=c.width,v={overflow:"visible"},y={},A=!1;return o||(d===0&&(A=!0),v.height=0,y.height=d),u||(g===0&&(A=!0),v.width=0,y.width=g),jt.createElement("div",{className:a,ref:this._setRef,style:pH({},v,s)},!A&&i(y))}}]),t}(jt.PureComponent);yH.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var bH=9007199254740991,xH="[object Arguments]",wH="[object Function]",_H="[object GeneratorFunction]",SH=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,EH=typeof self=="object"&&self&&self.Object===Object&&self,AH=SH||EH||Function("return this")();function CH(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var vE=Object.prototype,TH=vE.hasOwnProperty,m4=vE.toString,KT=AH.Symbol,OH=vE.propertyIsEnumerable,QT=KT?KT.isConcatSpreadable:void 0;function g4(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=MH),i||(i=[]);++a<o;){var u=e[a];t>0&&r(u)?t>1?g4(u,t-1,r,n,i):CH(i,u):n||(i[i.length]=u)}return i}function MH(e){return IH(e)||RH(e)||!!(QT&&e&&e[QT])}function kH(e){var t=e?e.length:0;return t?g4(e,1):[]}function RH(e){return FH(e)&&TH.call(e,"callee")&&(!OH.call(e,"callee")||m4.call(e)==xH)}var IH=Array.isArray;function PH(e){return e!=null&&LH(e.length)&&!NH(e)}function FH(e){return DH(e)&&PH(e)}function NH(e){var t=$H(e)?m4.call(e):"";return t==wH||t==_H}function LH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bH}function $H(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function DH(e){return!!e&&typeof e=="object"}var BH=kH;const voe=yi(BH);var ZT=0/0,zH="[object Symbol]",UH=/^\s+|\s+$/g,jH=/^[-+]0x[0-9a-f]+$/i,GH=/^0b[01]+$/i,HH=/^0o[0-7]+$/i,WH=parseInt,qH=Object.prototype,VH=qH.toString;function YH(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function JT(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function XH(e){return!!e&&typeof e=="object"}function KH(e){return typeof e=="symbol"||XH(e)&&VH.call(e)==zH}function Jb(e){if(typeof e=="number")return e;if(KH(e))return ZT;if(JT(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=JT(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(UH,"");var r=GH.test(e);return r||HH.test(e)?WH(e.slice(2),r?2:8):jH.test(e)?ZT:+e}function QH(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Jb(r),r=r===r?r:0),t!==void 0&&(t=Jb(t),t=t===t?t:0),YH(Jb(e),t,r)}var ZH=QH;const moe=yi(ZH);function wh(e){return e&&e.__esModule?e.default:e}function aa(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var y4={};aa(y4,"spectrum--darkest",()=>N_,e=>N_=e);var N_;N_="spectrum--darkest_256eeb";var xu={};aa(xu,"spectrum",()=>L_,e=>L_=e);aa(xu,"spectrum--medium",()=>$_,e=>$_=e);aa(xu,"spectrum--large",()=>D_,e=>D_=e);aa(xu,"spectrum--darkest",()=>B_,e=>B_=e);aa(xu,"spectrum--dark",()=>z_,e=>z_=e);aa(xu,"spectrum--light",()=>U_,e=>U_=e);aa(xu,"spectrum--lightest",()=>j_,e=>j_=e);var L_,$_,D_,B_,z_,U_,j_;L_="spectrum_9e130c";$_="spectrum--medium_9e130c";D_="spectrum--large_9e130c";B_="spectrum--darkest_9e130c";z_="spectrum--dark_9e130c";U_="spectrum--light_9e130c";j_="spectrum--lightest_9e130c";var b4={};aa(b4,"spectrum--large",()=>G_,e=>G_=e);var G_;G_="spectrum--large_c40598";var x4={};aa(x4,"spectrum--light",()=>H_,e=>H_=e);var H_;H_="spectrum--light_a40724";var w4={};aa(w4,"spectrum--medium",()=>W_,e=>W_=e);var W_;W_="spectrum--medium_4b172c";let goe={global:wh(xu),light:wh(x4),dark:wh(y4),medium:wh(w4),large:wh(b4)};var eO=Object.prototype.toString,_4=function(t){var r=eO.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&eO.call(t.callee)==="[object Function]"),n},ex,tO;function JH(){if(tO)return ex;tO=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=_4,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(v){var y=v.constructor;return y&&y.prototype===v},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 v in window)try{if(!c["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{s(window[v])}catch{return!0}}catch{return!0}return!1}(),g=function(v){if(typeof window>"u"||!d)return s(v);try{return s(v)}catch{return!1}};e=function(y){var A=y!==null&&typeof y=="object",E=r.call(y)==="[object Function]",w=n(y),x=A&&r.call(y)==="[object String]",_=[];if(!A&&!E&&!w)throw new TypeError("Object.keys called on a non-object");var T=o&&E;if(x&&y.length>0&&!t.call(y,0))for(var C=0;C<y.length;++C)_.push(String(C));if(w&&y.length>0)for(var R=0;R<y.length;++R)_.push(String(R));else for(var N in y)!(T&&N==="prototype")&&t.call(y,N)&&_.push(String(N));if(a)for(var V=g(y),j=0;j<u.length;++j)!(V&&u[j]==="constructor")&&t.call(y,u[j])&&_.push(u[j]);return _}}return ex=e,ex}var eW=Array.prototype.slice,tW=_4,rO=Object.keys,rm=rO?function(t){return rO(t)}:JH(),nO=Object.keys;rm.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 tW(n)?nO(eW.call(n)):nO(n)})}else Object.keys=rm;return Object.keys||rm};var mE=rm,ry=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},iO=typeof Symbol<"u"&&Symbol,rW=ry,gE=function(){return typeof iO!="function"||typeof Symbol!="function"||typeof iO("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:rW()},nW="Function.prototype.bind called on incompatible ",tx=Array.prototype.slice,iW=Object.prototype.toString,aW="[object Function]",oW=function(t){var r=this;if(typeof r!="function"||iW.call(r)!==aW)throw new TypeError(nW+r);for(var n=tx.call(arguments,1),i,a=function(){if(this instanceof i){var d=r.apply(this,n.concat(tx.call(arguments)));return Object(d)===d?d:this}else return r.apply(t,n.concat(tx.call(arguments)))},o=Math.max(0,r.length-n.length),u=[],s=0;s<o;s++)u.push("$"+s);if(i=Function("binder","return function ("+u.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},uW=oW,yE=Function.prototype.bind||uW,lW=yE,S4=lW.call(Function.call,Object.prototype.hasOwnProperty),pr,kf=SyntaxError,E4=Function,gf=TypeError,rx=function(e){try{return E4('"use strict"; return ('+e+").constructor;")()}catch{}},vl=Object.getOwnPropertyDescriptor;if(vl)try{vl({},"")}catch{vl=null}var nx=function(){throw new gf},sW=vl?function(){try{return arguments.callee,nx}catch{try{return vl(arguments,"callee").get}catch{return nx}}}():nx,$s=gE(),pa=Object.getPrototypeOf||function(e){return e.__proto__},Ws={},fW=typeof Uint8Array>"u"?pr:pa(Uint8Array),ml={"%AggregateError%":typeof AggregateError>"u"?pr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?pr:ArrayBuffer,"%ArrayIteratorPrototype%":$s?pa([][Symbol.iterator]()):pr,"%AsyncFromSyncIteratorPrototype%":pr,"%AsyncFunction%":Ws,"%AsyncGenerator%":Ws,"%AsyncGeneratorFunction%":Ws,"%AsyncIteratorPrototype%":Ws,"%Atomics%":typeof Atomics>"u"?pr:Atomics,"%BigInt%":typeof BigInt>"u"?pr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?pr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?pr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?pr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?pr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?pr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?pr:FinalizationRegistry,"%Function%":E4,"%GeneratorFunction%":Ws,"%Int8Array%":typeof Int8Array>"u"?pr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?pr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?pr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$s?pa(pa([][Symbol.iterator]())):pr,"%JSON%":typeof JSON=="object"?JSON:pr,"%Map%":typeof Map>"u"?pr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$s?pr:pa(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?pr:Promise,"%Proxy%":typeof Proxy>"u"?pr:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?pr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?pr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$s?pr:pa(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?pr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$s?pa(""[Symbol.iterator]()):pr,"%Symbol%":$s?Symbol:pr,"%SyntaxError%":kf,"%ThrowTypeError%":sW,"%TypedArray%":fW,"%TypeError%":gf,"%Uint8Array%":typeof Uint8Array>"u"?pr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?pr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?pr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?pr:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?pr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?pr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?pr:WeakSet};try{null.error}catch(e){var cW=pa(pa(e));ml["%Error.prototype%"]=cW}var hW=function e(t){var r;if(t==="%AsyncFunction%")r=rx("async function () {}");else if(t==="%GeneratorFunction%")r=rx("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=rx("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=pa(i.prototype))}return ml[t]=r,r},aO={"%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"]},yp=yE,qm=S4,dW=yp.call(Function.call,Array.prototype.concat),pW=yp.call(Function.apply,Array.prototype.splice),oO=yp.call(Function.call,String.prototype.replace),Vm=yp.call(Function.call,String.prototype.slice),vW=yp.call(Function.call,RegExp.prototype.exec),mW=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gW=/\\(\\)?/g,yW=function(t){var r=Vm(t,0,1),n=Vm(t,-1);if(r==="%"&&n!=="%")throw new kf("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new kf("invalid intrinsic syntax, expected opening `%`");var i=[];return oO(t,mW,function(a,o,u,s){i[i.length]=u?oO(s,gW,"$1"):o||a}),i},bW=function(t,r){var n=t,i;if(qm(aO,n)&&(i=aO[n],n="%"+i[0]+"%"),qm(ml,n)){var a=ml[n];if(a===Ws&&(a=hW(n)),typeof a>"u"&&!r)throw new gf("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new kf("intrinsic "+t+" does not exist!")},Ma=function(t,r){if(typeof t!="string"||t.length===0)throw new gf("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new gf('"allowMissing" argument must be a boolean');if(vW(/^%?[^%]*%?$/,t)===null)throw new kf("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yW(t),i=n.length>0?n[0]:"",a=bW("%"+i+"%",r),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],pW(n,dW([0,1],c)));for(var d=1,g=!0;d<n.length;d+=1){var v=n[d],y=Vm(v,0,1),A=Vm(v,-1);if((y==='"'||y==="'"||y==="`"||A==='"'||A==="'"||A==="`")&&y!==A)throw new kf("property names with quotes must have matching quotes");if((v==="constructor"||!g)&&(s=!0),i+="."+v,o="%"+i+"%",qm(ml,o))u=ml[o];else if(u!=null){if(!(v in u)){if(!r)throw new gf("base intrinsic for "+t+" exists, but the property is not available.");return}if(vl&&d+1>=n.length){var E=vl(u,v);g=!!E,g&&"get"in E&&!("originalValue"in E.get)?u=E.get:u=u[v]}else g=qm(u,v),u=u[v];g&&!s&&(ml[o]=u)}}return u},xW=Ma,q_=xW("%Object.defineProperty%",!0),V_=function(){if(q_)try{return q_({},"a",{value:1}),!0}catch{return!1}return!1};V_.hasArrayLengthDefineBug=function(){if(!V_())return null;try{return q_([],"length",{value:1}).length!==1}catch{return!0}};var wW=V_,_W=mE,SW=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",EW=Object.prototype.toString,AW=Array.prototype.concat,A4=Object.defineProperty,CW=function(e){return typeof e=="function"&&EW.call(e)==="[object Function]"},TW=wW(),C4=A4&&TW,OW=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!CW(n)||!n())return}C4?A4(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},T4=function(e,t){var r=arguments.length>2?arguments[2]:{},n=_W(t);SW&&(n=AW.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)OW(e,n[i],t[n[i]],r[n[i]])};T4.supportsDescriptors=!!C4;var Gl=T4,O4={exports:{}};(function(e){var t=yE,r=Ma,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),u=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}e.exports=function(g){var v=a(t,i,arguments);if(o&&u){var y=o(v,"length");y.configurable&&u(v,"length",{value:1+s(0,g.length-(arguments.length-1))})}return v};var c=function(){return a(t,n,arguments)};u?u(e.exports,"apply",{value:c}):e.exports.apply=c})(O4);var bp=O4.exports,M4=Ma,k4=bp,MW=k4(M4("String.prototype.indexOf")),_i=function(t,r){var n=M4(t,!!r);return typeof n=="function"&&MW(t,".prototype.")>-1?k4(n):n},kW=mE,R4=ry(),I4=_i,uO=Object,RW=I4("Array.prototype.push"),lO=I4("Object.prototype.propertyIsEnumerable"),IW=R4?Object.getOwnPropertySymbols:null,P4=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=uO(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var a=uO(arguments[i]),o=kW(a),u=R4&&(Object.getOwnPropertySymbols||IW);if(u)for(var s=u(a),c=0;c<s.length;++c){var d=s[c];lO(a,d)&&RW(o,d)}for(var g=0;g<o.length;++g){var v=o[g];if(lO(a,v)){var y=a[v];n[v]=y}}}return n},ix=P4,PW=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},FW=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},F4=function(){return!Object.assign||PW()||FW()?ix:Object.assign},NW=Gl,LW=F4,$W=function(){var t=LW();return NW(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},DW=Gl,BW=bp,zW=P4,N4=F4,UW=$W,jW=BW.apply(N4()),L4=function(t,r){return jW(Object,arguments)};DW(L4,{getPolyfill:N4,implementation:zW,shim:UW});var GW=L4,$4={exports:{}},Bd=function(){return typeof function(){}.name=="string"},cd=Object.getOwnPropertyDescriptor;if(cd)try{cd([],"length")}catch{cd=null}Bd.functionsHaveConfigurableNames=function(){if(!Bd()||!cd)return!1;var t=cd(function(){},"name");return!!t&&!!t.configurable};var HW=Function.prototype.bind;Bd.boundFunctionsHaveNames=function(){return Bd()&&typeof HW=="function"&&function(){}.bind().name!==""};var WW=Bd;(function(e){var t=WW.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.unicodeSets&&(a+="v"),this.sticky&&(a+="y"),a},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})($4);var D4=$4.exports,qW=D4,VW=Gl.supportsDescriptors,YW=Object.getOwnPropertyDescriptor,B4=function(){if(VW&&/a/mig.flags==="gim"){var t=YW(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 qW},XW=Gl.supportsDescriptors,KW=B4,QW=Object.getOwnPropertyDescriptor,ZW=Object.defineProperty,JW=TypeError,sO=Object.getPrototypeOf,eq=/a/,tq=function(){if(!XW||!sO)throw new JW("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=KW(),r=sO(eq),n=QW(r,"flags");return(!n||n.get!==t)&&ZW(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},rq=Gl,nq=bp,iq=D4,z4=B4,aq=tq,U4=nq(z4());rq(U4,{getPolyfill:z4,implementation:iq,shim:aq});var oq=U4,nm={exports:{}},uq=ry,wu=function(){return uq()&&!!Symbol.toStringTag},lq=wu(),sq=_i,Y_=sq("Object.prototype.toString"),ny=function(t){return lq&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Y_(t)==="[object Arguments]"},j4=function(t){return ny(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Y_(t)!=="[object Array]"&&Y_(t.callee)==="[object Function]"},fq=function(){return ny(arguments)}();ny.isLegacyArguments=j4;var G4=fq?ny:j4;const cq={},hq=Object.freeze(Object.defineProperty({__proto__:null,default:cq},Symbol.toStringTag,{value:"Module"})),X_=Pl(hq);var bE=typeof Map=="function"&&Map.prototype,ax=Object.getOwnPropertyDescriptor&&bE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ym=bE&&ax&&typeof ax.get=="function"?ax.get:null,fO=bE&&Map.prototype.forEach,xE=typeof Set=="function"&&Set.prototype,ox=Object.getOwnPropertyDescriptor&&xE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xm=xE&&ox&&typeof ox.get=="function"?ox.get:null,cO=xE&&Set.prototype.forEach,dq=typeof WeakMap=="function"&&WeakMap.prototype,hd=dq?WeakMap.prototype.has:null,pq=typeof WeakSet=="function"&&WeakSet.prototype,dd=pq?WeakSet.prototype.has:null,vq=typeof WeakRef=="function"&&WeakRef.prototype,hO=vq?WeakRef.prototype.deref:null,mq=Boolean.prototype.valueOf,gq=Object.prototype.toString,yq=Function.prototype.toString,bq=String.prototype.match,wE=String.prototype.slice,Qo=String.prototype.replace,xq=String.prototype.toUpperCase,dO=String.prototype.toLowerCase,H4=RegExp.prototype.test,pO=Array.prototype.concat,va=Array.prototype.join,wq=Array.prototype.slice,vO=Math.floor,K_=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ux=Object.getOwnPropertySymbols,Q_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="object",zn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Rf||"symbol")?Symbol.toStringTag:null,W4=Object.prototype.propertyIsEnumerable,mO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function gO(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||H4.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-vO(-e):vO(e);if(n!==e){var i=String(n),a=wE.call(t,i.length+1);return Qo.call(i,r,"$&_")+"."+Qo.call(Qo.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Qo.call(t,r,"$&_")}var Z_=X_,yO=Z_.custom,bO=V4(yO)?yO:null,_q=function e(t,r,n,i){var a=r||{};if(Go(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Go(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=Go(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(Go(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(Go(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=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 X4(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?gO(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?gO(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 J_(t)?"[Array]":"[Object]";var g=zq(a,n);if(typeof i>"u")i=[];else if(Y4(i,t)>=0)return"[Circular]";function v(De,Le,We){if(Le&&(i=wq.call(i),i.push(Le)),We){var it={depth:a.depth};return Go(a,"quoteStyle")&&(it.quoteStyle=a.quoteStyle),e(De,it,n+1,i)}return e(De,a,n+1,i)}if(typeof t=="function"&&!xO(t)){var y=Rq(t),A=m0(t,v);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(A.length>0?" { "+va.call(A,", ")+" }":"")}if(V4(t)){var E=Rf?Qo.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Q_.call(t);return typeof t=="object"&&!Rf?_h(E):E}if($q(t)){for(var w="<"+dO.call(String(t.nodeName)),x=t.attributes||[],_=0;_<x.length;_++)w+=" "+x[_].name+"="+q4(Sq(x[_].value),"double",a);return w+=">",t.childNodes&&t.childNodes.length&&(w+="..."),w+="</"+dO.call(String(t.nodeName))+">",w}if(J_(t)){if(t.length===0)return"[]";var T=m0(t,v);return g&&!Bq(T)?"["+e2(T,g)+"]":"[ "+va.call(T,", ")+" ]"}if(Aq(t)){var C=m0(t,v);return!("cause"in Error.prototype)&&"cause"in t&&!W4.call(t,"cause")?"{ ["+String(t)+"] "+va.call(pO.call("[cause]: "+v(t.cause),C),", ")+" }":C.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+va.call(C,", ")+" }"}if(typeof t=="object"&&o){if(bO&&typeof t[bO]=="function"&&Z_)return Z_(t,{depth:d-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Iq(t)){var R=[];return fO&&fO.call(t,function(De,Le){R.push(v(Le,t,!0)+" => "+v(De,t))}),wO("Map",Ym.call(t),R,g)}if(Nq(t)){var N=[];return cO&&cO.call(t,function(De){N.push(v(De,t))}),wO("Set",Xm.call(t),N,g)}if(Pq(t))return lx("WeakMap");if(Lq(t))return lx("WeakSet");if(Fq(t))return lx("WeakRef");if(Tq(t))return _h(v(Number(t)));if(Mq(t))return _h(v(K_.call(t)));if(Oq(t))return _h(mq.call(t));if(Cq(t))return _h(v(String(t)));if(!Eq(t)&&!xO(t)){var V=m0(t,v),j=mO?mO(t)===Object.prototype:t instanceof Object||t.constructor===Object,ne=t instanceof Object?"":"null prototype",Te=!j&&zn&&Object(t)===t&&zn in t?wE.call(_u(t),8,-1):ne?"Object":"",be=j||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Re=be+(Te||ne?"["+va.call(pO.call([],Te||[],ne||[]),": ")+"] ":"");return V.length===0?Re+"{}":g?Re+"{"+e2(V,g)+"}":Re+"{ "+va.call(V,", ")+" }"}return String(t)};function q4(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Sq(e){return Qo.call(String(e),/"/g,""")}function J_(e){return _u(e)==="[object Array]"&&(!zn||!(typeof e=="object"&&zn in e))}function Eq(e){return _u(e)==="[object Date]"&&(!zn||!(typeof e=="object"&&zn in e))}function xO(e){return _u(e)==="[object RegExp]"&&(!zn||!(typeof e=="object"&&zn in e))}function Aq(e){return _u(e)==="[object Error]"&&(!zn||!(typeof e=="object"&&zn in e))}function Cq(e){return _u(e)==="[object String]"&&(!zn||!(typeof e=="object"&&zn in e))}function Tq(e){return _u(e)==="[object Number]"&&(!zn||!(typeof e=="object"&&zn in e))}function Oq(e){return _u(e)==="[object Boolean]"&&(!zn||!(typeof e=="object"&&zn in e))}function V4(e){if(Rf)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Q_)return!1;try{return Q_.call(e),!0}catch{}return!1}function Mq(e){if(!e||typeof e!="object"||!K_)return!1;try{return K_.call(e),!0}catch{}return!1}var kq=Object.prototype.hasOwnProperty||function(e){return e in this};function Go(e,t){return kq.call(e,t)}function _u(e){return gq.call(e)}function Rq(e){if(e.name)return e.name;var t=bq.call(yq.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Y4(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 Iq(e){if(!Ym||!e||typeof e!="object")return!1;try{Ym.call(e);try{Xm.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Pq(e){if(!hd||!e||typeof e!="object")return!1;try{hd.call(e,hd);try{dd.call(e,dd)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Fq(e){if(!hO||!e||typeof e!="object")return!1;try{return hO.call(e),!0}catch{}return!1}function Nq(e){if(!Xm||!e||typeof e!="object")return!1;try{Xm.call(e);try{Ym.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Lq(e){if(!dd||!e||typeof e!="object")return!1;try{dd.call(e,dd);try{hd.call(e,hd)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function $q(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function X4(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return X4(wE.call(e,0,t.maxStringLength),t)+n}var i=Qo.call(Qo.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Dq);return q4(i,"single",t)}function Dq(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":"")+xq.call(t.toString(16))}function _h(e){return"Object("+e+")"}function lx(e){return e+" { ? }"}function wO(e,t,r,n){var i=n?e2(r,n):va.call(r,", ");return e+" ("+t+") {"+i+"}"}function Bq(e){for(var t=0;t<e.length;t++)if(Y4(e[t],`
|
|
850
|
+
`)>=0)return!1;return!0}function zq(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=va.call(Array(e.indent+1)," ");else return null;return{base:r,prev:va.call(Array(t+1),r)}}function e2(e,t){if(e.length===0)return"";var r=`
|
|
851
|
+
`+t.prev+t.base;return r+va.call(e,","+r)+`
|
|
852
|
+
`+t.prev}function m0(e,t){var r=J_(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Go(e,i)?t(e[i],e):""}var a=typeof ux=="function"?ux(e):[],o;if(Rf){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Go(e,s)&&(r&&String(Number(s))===s&&s<e.length||Rf&&o["$"+s]instanceof Symbol||(H4.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if(typeof ux=="function")for(var c=0;c<a.length;c++)W4.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var _E=Ma,Xf=_i,Uq=_q,jq=_E("%TypeError%"),g0=_E("%WeakMap%",!0),y0=_E("%Map%",!0),Gq=Xf("WeakMap.prototype.get",!0),Hq=Xf("WeakMap.prototype.set",!0),Wq=Xf("WeakMap.prototype.has",!0),qq=Xf("Map.prototype.get",!0),Vq=Xf("Map.prototype.set",!0),Yq=Xf("Map.prototype.has",!0),SE=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},Xq=function(e,t){var r=SE(e,t);return r&&r.value},Kq=function(e,t,r){var n=SE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Qq=function(e,t){return!!SE(e,t)},K4=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new jq("Side channel does not contain "+Uq(a))},get:function(a){if(g0&&a&&(typeof a=="object"||typeof a=="function")){if(t)return Gq(t,a)}else if(y0){if(r)return qq(r,a)}else if(n)return Xq(n,a)},has:function(a){if(g0&&a&&(typeof a=="object"||typeof a=="function")){if(t)return Wq(t,a)}else if(y0){if(r)return Yq(r,a)}else if(n)return Qq(n,a);return!1},set:function(a,o){g0&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new g0),Hq(t,a,o)):y0?(r||(r=new y0),Vq(r,a,o)):(n||(n={key:{},next:null}),Kq(n,a,o))}};return i},Zq=Ma,Jq=S4,Sh=K4(),Ja=Zq("%TypeError%"),EE={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Ja("`O` is not an object");if(typeof t!="string")throw new Ja("`slot` must be a string");if(Sh.assert(e),!EE.has(e,t))throw new Ja("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Ja("`O` is not an object");if(typeof t!="string")throw new Ja("`slot` must be a string");var r=Sh.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Ja("`O` is not an object");if(typeof t!="string")throw new Ja("`slot` must be a string");var r=Sh.get(e);return!!r&&Jq(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new Ja("`O` is not an object");if(typeof t!="string")throw new Ja("`slot` must be a string");var n=Sh.get(e);n||(n={},Sh.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(EE);var eV=EE,Eh=eV,tV=SyntaxError,_O=typeof StopIteration=="object"?StopIteration:null,rV=function(t){if(!_O)throw new tV("this environment lacks StopIteration");Eh.set(t,"[[Done]]",!1);var r={next:function(){var i=Eh.get(this,"[[Iterator]]"),a=Eh.get(i,"[[Done]]");try{return{done:a,value:a?void 0:i.next()}}catch(o){if(Eh.set(i,"[[Done]]",!0),o!==_O)throw o;return{done:!0,value:void 0}}}};return Eh.set(r,"[[Iterator]]",t),r},nV={}.toString,Q4=Array.isArray||function(e){return nV.call(e)=="[object Array]"},iV=String.prototype.valueOf,aV=function(t){try{return iV.call(t),!0}catch{return!1}},oV=Object.prototype.toString,uV="[object String]",lV=wu(),Z4=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:lV?aV(t):oV.call(t)===uV},AE=typeof Map=="function"&&Map.prototype?Map:null,sV=typeof Set=="function"&&Set.prototype?Set:null,Km;AE||(Km=function(t){return!1});var J4=AE?Map.prototype.has:null,SO=sV?Set.prototype.has:null;!Km&&!J4&&(Km=function(t){return!1});var eF=Km||function(t){if(!t||typeof t!="object")return!1;try{if(J4.call(t),SO)try{SO.call(t)}catch{return!0}return t instanceof AE}catch{}return!1},fV=typeof Map=="function"&&Map.prototype?Map:null,CE=typeof Set=="function"&&Set.prototype?Set:null,Qm;CE||(Qm=function(t){return!1});var EO=fV?Map.prototype.has:null,tF=CE?Set.prototype.has:null;!Qm&&!tF&&(Qm=function(t){return!1});var rF=Qm||function(t){if(!t||typeof t!="object")return!1;try{if(tF.call(t),EO)try{EO.call(t)}catch{return!0}return t instanceof CE}catch{}return!1},AO=G4,CO=rV;if(gE()||ry()){var sx=Symbol.iterator;nm.exports=function(t){if(t!=null&&typeof t[sx]<"u")return t[sx]();if(AO(t))return Array.prototype[sx].call(t)}}else{var cV=Q4,hV=Z4,TO=Ma,dV=TO("%Map%",!0),pV=TO("%Set%",!0),Xi=_i,OO=Xi("Array.prototype.push"),MO=Xi("String.prototype.charCodeAt"),vV=Xi("String.prototype.slice"),mV=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=MO(t,r);if(i<55296||i>56319)return r+1;var a=MO(t,r+1);return a<56320||a>57343?r+1:r+2},fx=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}}}},kO=function(t,r){if(cV(t)||AO(t))return fx(t);if(hV(t)){var n=0;return{next:function(){var a=mV(t,n),o=vV(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(!dV&&!pV)nm.exports=function(t){if(t!=null)return kO(t,!0)};else{var gV=eF,yV=rF,RO=Xi("Map.prototype.forEach",!0),IO=Xi("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var PO=Xi("Map.prototype.iterator",!0),FO=Xi("Set.prototype.iterator",!0);var NO=Xi("Map.prototype.@@iterator",!0)||Xi("Map.prototype._es6-shim iterator_",!0),LO=Xi("Set.prototype.@@iterator",!0)||Xi("Set.prototype._es6-shim iterator_",!0),bV=function(t){if(gV(t)){if(PO)return CO(PO(t));if(NO)return NO(t);if(RO){var r=[];return RO(t,function(i,a){OO(r,[a,i])}),fx(r)}}if(yV(t)){if(FO)return CO(FO(t));if(LO)return LO(t);if(IO){var n=[];return IO(t,function(i){OO(n,i)}),fx(n)}}};nm.exports=function(t){return bV(t)||kO(t)}}}var xV=nm.exports,$O=function(e){return e!==e},nF=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||$O(t)&&$O(r))},wV=nF,iF=function(){return typeof Object.is=="function"?Object.is:wV},_V=iF,SV=Gl,EV=function(){var t=_V();return SV(Object,{is:t},{is:function(){return Object.is!==t}}),t},AV=Gl,CV=bp,TV=nF,aF=iF,OV=EV,oF=CV(aF(),Object);AV(oF,{getPolyfill:aF,implementation:TV,shim:OV});var MV=oF,uF=Function.prototype.toString,nf=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t2,im;if(typeof nf=="function"&&typeof Object.defineProperty=="function")try{t2=Object.defineProperty({},"length",{get:function(){throw im}}),im={},nf(function(){throw 42},null,t2)}catch(e){e!==im&&(nf=null)}else nf=null;var kV=/^\s*class\b/,r2=function(t){try{var r=uF.call(t);return kV.test(r)}catch{return!1}},cx=function(t){try{return r2(t)?!1:(uF.call(t),!0)}catch{return!1}},am=Object.prototype.toString,RV="[object Object]",IV="[object Function]",PV="[object GeneratorFunction]",FV="[object HTMLAllCollection]",NV="[object HTML document.all class]",LV="[object HTMLCollection]",$V=typeof Symbol=="function"&&!!Symbol.toStringTag,DV=!(0 in[,]),n2=function(){return!1};if(typeof document=="object"){var BV=document.all;am.call(BV)===am.call(document.all)&&(n2=function(t){if((DV||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=am.call(t);return(r===FV||r===NV||r===LV||r===RV)&&t("")==null}catch{}return!1})}var zV=nf?function(t){if(n2(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{nf(t,null,t2)}catch(r){if(r!==im)return!1}return!r2(t)&&cx(t)}:function(t){if(n2(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if($V)return cx(t);if(r2(t))return!1;var r=am.call(t);return r!==IV&&r!==PV&&!/^\[object HTML/.test(r)?!1:cx(t)},UV=zV,jV=Object.prototype.toString,lF=Object.prototype.hasOwnProperty,GV=function(t,r,n){for(var i=0,a=t.length;i<a;i++)lF.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},HV=function(t,r,n){for(var i=0,a=t.length;i<a;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},WV=function(t,r,n){for(var i in t)lF.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},qV=function(t,r,n){if(!UV(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),jV.call(t)==="[object Array]"?GV(t,r,i):typeof t=="string"?HV(t,r,i):WV(t,r,i)},sF=qV,hx=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],VV=typeof globalThis>"u"?Zt:globalThis,fF=function(){for(var t=[],r=0;r<hx.length;r++)typeof VV[hx[r]]=="function"&&(t[t.length]=hx[r]);return t},YV=Ma,om=YV("%Object.getOwnPropertyDescriptor%",!0);if(om)try{om([],"length")}catch{om=null}var cF=om,hF=sF,XV=fF,TE=_i,KV=TE("Object.prototype.toString"),dF=wu(),um=cF,QV=typeof globalThis>"u"?Zt:globalThis,pF=XV(),ZV=TE("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},JV=TE("String.prototype.slice"),vF={},dx=Object.getPrototypeOf;dF&&um&&dx&&hF(pF,function(e){var t=new QV[e];if(Symbol.toStringTag in t){var r=dx(t),n=um(r,Symbol.toStringTag);if(!n){var i=dx(r);n=um(i,Symbol.toStringTag)}vF[e]=n.get}});var eY=function(t){var r=!1;return hF(vF,function(n,i){if(!r)try{r=n.call(t)===i}catch{}}),r},mF=function(t){if(!t||typeof t!="object")return!1;if(!dF||!(Symbol.toStringTag in t)){var r=JV(KV(t),8,-1);return ZV(pF,r)>-1}return um?eY(t):!1},tY=bp,rY=_i,gF=Ma,nY=mF,DO=gF("ArrayBuffer",!0),BO=gF("Float32Array",!0),lm=rY("ArrayBuffer.prototype.byteLength",!0),zO=DO&&!lm&&new DO().slice,UO=zO&&tY(zO),yF=lm||UO?function(t){if(!t||typeof t!="object")return!1;try{return lm?lm(t):UO(t,0),!0}catch{return!1}}:BO?function(t){try{return new BO(t).buffer===t&&!nY(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},iY=Date.prototype.getDay,aY=function(t){try{return iY.call(t),!0}catch{return!1}},oY=Object.prototype.toString,uY="[object Date]",lY=wu(),sY=function(t){return typeof t!="object"||t===null?!1:lY?aY(t):oY.call(t)===uY},i2=_i,bF=wu(),xF,wF,a2,o2;if(bF){xF=i2("Object.prototype.hasOwnProperty"),wF=i2("RegExp.prototype.exec"),a2={};var px=function(){throw a2};o2={toString:px,valueOf:px},typeof Symbol.toPrimitive=="symbol"&&(o2[Symbol.toPrimitive]=px)}var fY=i2("Object.prototype.toString"),cY=Object.getOwnPropertyDescriptor,hY="[object RegExp]",dY=bF?function(t){if(!t||typeof t!="object")return!1;var r=cY(t,"lastIndex"),n=r&&xF(r,"value");if(!n)return!1;try{wF(t,o2)}catch(i){return i===a2}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:fY(t)===hY},pY=_i,jO=pY("SharedArrayBuffer.prototype.byteLength",!0),vY=jO?function(t){if(!t||typeof t!="object")return!1;try{return jO(t),!0}catch{return!1}}:function(t){return!1},mY=Number.prototype.toString,gY=function(t){try{return mY.call(t),!0}catch{return!1}},yY=Object.prototype.toString,bY="[object Number]",xY=wu(),wY=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:xY?gY(t):yY.call(t)===bY},_F=_i,_Y=_F("Boolean.prototype.toString"),SY=_F("Object.prototype.toString"),EY=function(t){try{return _Y(t),!0}catch{return!1}},AY="[object Boolean]",CY=wu(),TY=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:CY&&Symbol.toStringTag in t?EY(t):SY(t)===AY},u2={exports:{}},OY=Object.prototype.toString,MY=gE();if(MY){var kY=Symbol.prototype.toString,RY=/^Symbol\(.*\)$/,IY=function(t){return typeof t.valueOf()!="symbol"?!1:RY.test(kY.call(t))};u2.exports=function(t){if(typeof t=="symbol")return!0;if(OY.call(t)!=="[object Symbol]")return!1;try{return IY(t)}catch{return!1}}}else u2.exports=function(t){return!1};var PY=u2.exports,l2={exports:{}},GO=typeof BigInt<"u"&&BigInt,FY=function(){return typeof GO=="function"&&typeof BigInt=="function"&&typeof GO(42)=="bigint"&&typeof BigInt(42)=="bigint"},NY=FY();if(NY){var LY=BigInt.prototype.valueOf,$Y=function(t){try{return LY.call(t),!0}catch{}return!1};l2.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:$Y(t)}}else l2.exports=function(t){return!1};var DY=l2.exports,BY=Z4,zY=wY,UY=TY,jY=PY,GY=DY,HY=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(BY(t))return"String";if(zY(t))return"Number";if(UY(t))return"Boolean";if(jY(t))return"Symbol";if(GY(t))return"BigInt"},Zm=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,HO=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Jm;Zm||(Jm=function(t){return!1});var s2=Zm?Zm.prototype.has:null,vx=HO?HO.prototype.has:null;!Jm&&!s2&&(Jm=function(t){return!1});var WY=Jm||function(t){if(!t||typeof t!="object")return!1;try{if(s2.call(t,s2),vx)try{vx.call(t,vx)}catch{return!0}return t instanceof Zm}catch{}return!1},f2={exports:{}},qY=Ma,SF=_i,VY=qY("%WeakSet%",!0),mx=SF("WeakSet.prototype.has",!0);if(mx){var gx=SF("WeakMap.prototype.has",!0);f2.exports=function(t){if(!t||typeof t!="object")return!1;try{if(mx(t,mx),gx)try{gx(t,gx)}catch{return!0}return t instanceof VY}catch{}return!1}}else f2.exports=function(t){return!1};var YY=f2.exports,XY=eF,KY=rF,QY=WY,ZY=YY,JY=function(t){if(t&&typeof t=="object"){if(XY(t))return"Map";if(KY(t))return"Set";if(QY(t))return"WeakMap";if(ZY(t))return"WeakSet"}return!1},EF=sF,eX=fF,AF=_i,yx=cF,tX=AF("Object.prototype.toString"),CF=wu(),WO=typeof globalThis>"u"?Zt:globalThis,rX=eX(),nX=AF("String.prototype.slice"),TF={},bx=Object.getPrototypeOf;CF&&yx&&bx&&EF(rX,function(e){if(typeof WO[e]=="function"){var t=new WO[e];if(Symbol.toStringTag in t){var r=bx(t),n=yx(r,Symbol.toStringTag);if(!n){var i=bx(r);n=yx(i,Symbol.toStringTag)}TF[e]=n.get}}});var iX=function(t){var r=!1;return EF(TF,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},aX=mF,oX=function(t){return aX(t)?!CF||!(Symbol.toStringTag in t)?nX(tX(t),8,-1):iX(t):!1},uX=_i,qO=uX("ArrayBuffer.prototype.byteLength",!0),lX=yF,sX=function(t){return lX(t)?qO?qO(t):t.byteLength:NaN},OF=GW,ka=_i,VO=oq,fX=Ma,If=xV,cX=K4,YO=MV,XO=G4,KO=Q4,QO=yF,ZO=sY,JO=dY,e5=vY,t5=mE,r5=HY,n5=JY,i5=oX,a5=sX,o5=ka("SharedArrayBuffer.prototype.byteLength",!0),u5=ka("Date.prototype.getTime"),xx=Object.getPrototypeOf,l5=ka("Object.prototype.toString"),eg=fX("%Set%",!0),c2=ka("Map.prototype.has",!0),tg=ka("Map.prototype.get",!0),s5=ka("Map.prototype.size",!0),rg=ka("Set.prototype.add",!0),MF=ka("Set.prototype.delete",!0),ng=ka("Set.prototype.has",!0),sm=ka("Set.prototype.size",!0);function f5(e,t,r,n){for(var i=If(e),a;(a=i.next())&&!a.done;)if(ta(t,a.value,r,n))return MF(e,a.value),!0;return!1}function kF(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 hX(e,t,r,n,i,a){var o=kF(r);if(o!=null)return o;var u=tg(t,o),s=OF({},i,{strict:!1});return typeof u>"u"&&!c2(t,o)||!ta(n,u,s,a)?!1:!c2(e,o)&&ta(n,u,s,a)}function dX(e,t,r){var n=kF(r);return n??(ng(t,n)&&!ng(e,n))}function c5(e,t,r,n,i,a){for(var o=If(e),u,s;(u=o.next())&&!u.done;)if(s=u.value,ta(r,s,i,a)&&ta(n,tg(t,s),i,a))return MF(e,s),!0;return!1}function ta(e,t,r,n){var i=r||{};if(i.strict?YO(e,t):e===t)return!0;var a=r5(e),o=r5(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?YO(e,t):e==t;var u=n.has(e),s=n.has(t),c;if(u&&s){if(n.get(e)===n.get(t))return!0}else c={};return u||n.set(e,c),s||n.set(t,c),mX(e,t,i,n)}function h5(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 pX(e,t,r,n){if(sm(e)!==sm(t))return!1;for(var i=If(e),a=If(t),o,u,s;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")s||(s=new eg),rg(s,o.value);else if(!ng(t,o.value)){if(r.strict||!dX(e,t,o.value))return!1;s||(s=new eg),rg(s,o.value)}if(s){for(;(u=a.next())&&!u.done;)if(u.value&&typeof u.value=="object"){if(!f5(s,u.value,r.strict,n))return!1}else if(!r.strict&&!ng(e,u.value)&&!f5(s,u.value,r.strict,n))return!1;return sm(s)===0}return!0}function vX(e,t,r,n){if(s5(e)!==s5(t))return!1;for(var i=If(e),a=If(t),o,u,s,c,d,g;(o=i.next())&&!o.done;)if(c=o.value[0],d=o.value[1],c&&typeof c=="object")s||(s=new eg),rg(s,c);else if(g=tg(t,c),typeof g>"u"&&!c2(t,c)||!ta(d,g,r,n)){if(r.strict||!hX(e,t,c,d,r,n))return!1;s||(s=new eg),rg(s,c)}if(s){for(;(u=a.next())&&!u.done;)if(c=u.value[0],g=u.value[1],c&&typeof c=="object"){if(!c5(s,e,c,g,r,n))return!1}else if(!r.strict&&(!e.has(c)||!ta(tg(e,c),g,r,n))&&!c5(s,e,c,g,OF({},r,{strict:!1}),n))return!1;return sm(s)===0}return!0}function mX(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||l5(e)!==l5(t)||XO(e)!==XO(t))return!1;var o=KO(e),u=KO(t);if(o!==u)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=JO(e),g=JO(t);if(d!==g||(d||g)&&(e.source!==t.source||VO(e)!==VO(t)))return!1;var v=ZO(e),y=ZO(t);if(v!==y||(v||y)&&u5(e)!==u5(t)||r.strict&&xx&&xx(e)!==xx(t))return!1;var A=i5(e),E=i5(t);if((A||E)&&A!==E)return!1;var w=h5(e),x=h5(t);if(w!==x)return!1;if(w||x){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}var _=QO(e),T=QO(t);if(_!==T)return!1;if(_||T)return a5(e)!==a5(t)?!1:typeof Uint8Array=="function"&&ta(new Uint8Array(e),new Uint8Array(t),r,n);var C=e5(e),R=e5(t);if(C!==R)return!1;if(C||R)return o5(e)!==o5(t)?!1:typeof Uint8Array=="function"&&ta(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var N=t5(e),V=t5(t);if(N.length!==V.length)return!1;for(N.sort(),V.sort(),i=N.length-1;i>=0;i--)if(N[i]!=V[i])return!1;for(i=N.length-1;i>=0;i--)if(a=N[i],!ta(e[a],t[a],r,n))return!1;var j=n5(e),ne=n5(t);return j!==ne?!1:j==="Set"||ne==="Set"?pX(e,t,r,n):j==="Map"?vX(e,t,r,n):!0}var gX=function(t,r,n){return ta(t,r,n,cX())};const yoe=yi(gX);var yX={exports:{}};/*! Native Promise Only
|
|
853
|
+
v0.8.1 (c) Kyle Simpson
|
|
854
|
+
MIT License: http://getify.mit-license.org
|
|
855
|
+
*/(function(e){(function(r,n,i){n[r]=n[r]||i(),e.exports&&(e.exports=n[r])})("Promise",typeof Zt<"u"?Zt:Zt,function(){var r,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(T){return setImmediate(T)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(T,C,R,N){return Object.defineProperty(T,C,{value:R,writable:!0,configurable:N!==!1})}}catch{r=function(C,R,N){return C[R]=N,C}}i=function(){var T,C,R;function N(V,j){this.fn=V,this.self=j,this.next=void 0}return{add:function(j,ne){R=new N(j,ne),C?C.next=R:T=R,C=R,R=void 0},drain:function(){var j=T;for(T=C=n=void 0;j;)j.fn.call(j.self),j=j.next}}}();function u(_,T){i.add(_,T),n||(n=o(i.drain))}function s(_){var T,C=typeof _;return _!=null&&(C=="object"||C=="function")&&(T=_.then),typeof T=="function"?T:!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(_,T,C){var R,N;try{T===!1?C.reject(_.msg):(T===!0?R=_.msg:R=T.call(void 0,_.msg),R===C.promise?C.reject(TypeError("Promise-chain cycle")):(N=s(R))?N.call(R,C.resolve,C.reject):C.resolve(R))}catch(V){C.reject(V)}}function g(_){var T,C=this;if(!C.triggered){C.triggered=!0,C.def&&(C=C.def);try{(T=s(_))?u(function(){var R=new A(C);try{T.call(_,function(){g.apply(R,arguments)},function(){v.apply(R,arguments)})}catch(N){v.call(R,N)}}):(C.msg=_,C.state=1,C.chain.length>0&&u(c,C))}catch(R){v.call(new A(C),R)}}}function v(_){var T=this;T.triggered||(T.triggered=!0,T.def&&(T=T.def),T.msg=_,T.state=2,T.chain.length>0&&u(c,T))}function y(_,T,C,R){for(var N=0;N<T.length;N++)(function(j){_.resolve(T[j]).then(function(Te){C(j,Te)},R)})(N)}function A(_){this.def=_,this.triggered=!1}function E(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function w(_){if(typeof _!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var T=new E(this);this.then=function(R,N){var V={success:typeof R=="function"?R:!0,failure:typeof N=="function"?N:!1};return V.promise=new this.constructor(function(ne,Te){if(typeof ne!="function"||typeof Te!="function")throw TypeError("Not a function");V.resolve=ne,V.reject=Te}),T.chain.push(V),T.state!==0&&u(c,T),V.promise},this.catch=function(R){return this.then(void 0,R)};try{_.call(void 0,function(R){g.call(T,R)},function(R){v.call(T,R)})}catch(C){v.call(T,C)}}var x=r({},"constructor",w,!1);return w.prototype=x,r(x,"__NPO__",0,!1),r(w,"resolve",function(T){var C=this;return T&&typeof T=="object"&&T.__NPO__===1?T:new C(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");N(T)})}),r(w,"reject",function(T){return new this(function(R,N){if(typeof R!="function"||typeof N!="function")throw TypeError("Not a function");N(T)})}),r(w,"all",function(T){var C=this;return a.call(T)!="[object Array]"?C.reject(TypeError("Not an array")):T.length===0?C.resolve([]):new C(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");var j=T.length,ne=Array(j),Te=0;y(C,T,function(Re,De){ne[Re]=De,++Te===j&&N(ne)},V)})}),r(w,"race",function(T){var C=this;return a.call(T)!="[object Array]"?C.reject(TypeError("Not an array")):new C(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");y(C,T,function(ne,Te){N(Te)},V)})}),w})})(yX);var RF={exports:{}};(function(e){(function(){var t={version:"3.8.0"},r=[].slice,n=function(l){return r.call(l)},i=self.document;function a(l){return l&&(l.ownerDocument||l.document||l).documentElement}function o(l){return l&&(l.ownerDocument&&l.ownerDocument.defaultView||l.document&&l||l.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 u=this.Element.prototype,s=u.setAttribute,c=u.setAttributeNS,d=this.CSSStyleDeclaration.prototype,g=d.setProperty;u.setAttribute=function(f,h){s.call(this,f,h+"")},u.setAttributeNS=function(f,h,p){c.call(this,f,h,p+"")},d.setProperty=function(f,h,p){g.call(this,f,h+"",p)}}t.ascending=v;function v(l,f){return l<f?-1:l>f?1:l>=f?0:NaN}t.descending=function(l,f){return f<l?-1:f>l?1:f>=l?0:NaN},t.min=function(l,f){var h=-1,p=l.length,m,b;if(arguments.length===1){for(;++h<p;)if((b=l[h])!=null&&b>=b){m=b;break}for(;++h<p;)(b=l[h])!=null&&m>b&&(m=b)}else{for(;++h<p;)if((b=f.call(l,l[h],h))!=null&&b>=b){m=b;break}for(;++h<p;)(b=f.call(l,l[h],h))!=null&&m>b&&(m=b)}return m},t.max=function(l,f){var h=-1,p=l.length,m,b;if(arguments.length===1){for(;++h<p;)if((b=l[h])!=null&&b>=b){m=b;break}for(;++h<p;)(b=l[h])!=null&&b>m&&(m=b)}else{for(;++h<p;)if((b=f.call(l,l[h],h))!=null&&b>=b){m=b;break}for(;++h<p;)(b=f.call(l,l[h],h))!=null&&b>m&&(m=b)}return m},t.extent=function(l,f){var h=-1,p=l.length,m,b,O;if(arguments.length===1){for(;++h<p;)if((b=l[h])!=null&&b>=b){m=O=b;break}for(;++h<p;)(b=l[h])!=null&&(m>b&&(m=b),O<b&&(O=b))}else{for(;++h<p;)if((b=f.call(l,l[h],h))!=null&&b>=b){m=O=b;break}for(;++h<p;)(b=f.call(l,l[h],h))!=null&&(m>b&&(m=b),O<b&&(O=b))}return[m,O]};function y(l){return l===null?NaN:+l}function A(l){return!isNaN(l)}t.sum=function(l,f){var h=0,p=l.length,m,b=-1;if(arguments.length===1)for(;++b<p;)A(m=+l[b])&&(h+=m);else for(;++b<p;)A(m=+f.call(l,l[b],b))&&(h+=m);return h},t.mean=function(l,f){var h=0,p=l.length,m,b=-1,O=p;if(arguments.length===1)for(;++b<p;)A(m=y(l[b]))?h+=m:--O;else for(;++b<p;)A(m=y(f.call(l,l[b],b)))?h+=m:--O;if(O)return h/O},t.quantile=function(l,f){var h=(l.length-1)*f+1,p=Math.floor(h),m=+l[p-1],b=h-p;return b?m+b*(l[p]-m):m},t.median=function(l,f){var h=[],p=l.length,m,b=-1;if(arguments.length===1)for(;++b<p;)A(m=y(l[b]))&&h.push(m);else for(;++b<p;)A(m=y(f.call(l,l[b],b)))&&h.push(m);if(h.length)return t.quantile(h.sort(v),.5)},t.variance=function(l,f){var h=l.length,p=0,m,b,O=0,S=-1,k=0;if(arguments.length===1)for(;++S<h;)A(m=y(l[S]))&&(b=m-p,p+=b/++k,O+=b*(m-p));else for(;++S<h;)A(m=y(f.call(l,l[S],S)))&&(b=m-p,p+=b/++k,O+=b*(m-p));if(k>1)return O/(k-1)},t.deviation=function(){var l=t.variance.apply(this,arguments);return l&&Math.sqrt(l)};function E(l){return{left:function(f,h,p,m){for(arguments.length<3&&(p=0),arguments.length<4&&(m=f.length);p<m;){var b=p+m>>>1;l(f[b],h)<0?p=b+1:m=b}return p},right:function(f,h,p,m){for(arguments.length<3&&(p=0),arguments.length<4&&(m=f.length);p<m;){var b=p+m>>>1;l(f[b],h)>0?m=b:p=b+1}return p}}}var w=E(v);t.bisectLeft=w.left,t.bisect=t.bisectRight=w.right,t.bisector=function(l){return E(l.length===1?function(f,h){return v(l(f),h)}:l)},t.shuffle=function(l,f,h){(p=arguments.length)<3&&(h=l.length,p<2&&(f=0));for(var p=h-f,m,b;p;)b=Math.random()*p--|0,m=l[p+f],l[p+f]=l[b+f],l[b+f]=m;return l},t.permute=function(l,f){for(var h=f.length,p=new Array(h);h--;)p[h]=l[f[h]];return p},t.pairs=function(l){for(var f=0,h=l.length-1,p=l[0],m=new Array(h<0?0:h);f<h;)m[f]=[p,p=l[++f]];return m},t.transpose=function(l){if(!(b=l.length))return[];for(var f=-1,h=t.min(l,x),p=new Array(h);++f<h;)for(var m=-1,b,O=p[f]=new Array(b);++m<b;)O[m]=l[m][f];return p};function x(l){return l.length}t.zip=function(){return t.transpose(arguments)},t.keys=function(l){var f=[];for(var h in l)f.push(h);return f},t.values=function(l){var f=[];for(var h in l)f.push(l[h]);return f},t.entries=function(l){var f=[];for(var h in l)f.push({key:h,value:l[h]});return f},t.merge=function(l){for(var f=l.length,h,p=-1,m=0,b,O;++p<f;)m+=l[p].length;for(b=new Array(m);--f>=0;)for(O=l[f],h=O.length;--h>=0;)b[--m]=O[h];return b};var _=Math.abs;t.range=function(l,f,h){if(arguments.length<3&&(h=1,arguments.length<2&&(f=l,l=0)),(f-l)/h===1/0)throw new Error("infinite range");var p=[],m=T(_(h)),b=-1,O;if(l*=m,f*=m,h*=m,h<0)for(;(O=l+h*++b)>f;)p.push(O/m);else for(;(O=l+h*++b)<f;)p.push(O/m);return p};function T(l){for(var f=1;l*f%1;)f*=10;return f}function C(l,f){for(var h in f)Object.defineProperty(l.prototype,h,{value:f[h],enumerable:!1})}t.map=function(l,f){var h=new R;if(l instanceof R)l.forEach(function(S,k){h.set(S,k)});else if(Array.isArray(l)){var p=-1,m=l.length,b;if(arguments.length===1)for(;++p<m;)h.set(p,l[p]);else for(;++p<m;)h.set(f.call(l,b=l[p],p),b)}else for(var O in l)h.set(O,l[O]);return h};function R(){this._=Object.create(null)}var N="__proto__",V="\0";C(R,{has:Te,get:function(l){return this._[j(l)]},set:function(l,f){return this._[j(l)]=f},remove:be,keys:Re,values:function(){var l=[];for(var f in this._)l.push(this._[f]);return l},entries:function(){var l=[];for(var f in this._)l.push({key:ne(f),value:this._[f]});return l},size:De,empty:Le,forEach:function(l){for(var f in this._)l.call(this,ne(f),this._[f])}});function j(l){return(l+="")===N||l[0]===V?V+l:l}function ne(l){return(l+="")[0]===V?l.slice(1):l}function Te(l){return j(l)in this._}function be(l){return(l=j(l))in this._&&delete this._[l]}function Re(){var l=[];for(var f in this._)l.push(ne(f));return l}function De(){var l=0;for(var f in this._)++l;return l}function Le(){for(var l in this._)return!1;return!0}t.nest=function(){var l={},f=[],h=[],p,m;function b(S,k,F){if(F>=f.length)return m?m.call(l,k):p?k.sort(p):k;for(var L=-1,D=k.length,B=f[F++],oe,le,G,Q=new R,te;++L<D;)(te=Q.get(oe=B(le=k[L])))?te.push(le):Q.set(oe,[le]);return S?(le=S(),G=function(se,fe){le.set(se,b(S,fe,F))}):(le={},G=function(se,fe){le[se]=b(S,fe,F)}),Q.forEach(G),le}function O(S,k){if(k>=f.length)return S;var F=[],L=h[k++];return S.forEach(function(D,B){F.push({key:D,values:O(B,k)})}),L?F.sort(function(D,B){return L(D.key,B.key)}):F}return l.map=function(S,k){return b(k,S,0)},l.entries=function(S){return O(b(t.map,S,0),0)},l.key=function(S){return f.push(S),l},l.sortKeys=function(S){return h[f.length-1]=S,l},l.sortValues=function(S){return p=S,l},l.rollup=function(S){return m=S,l},l},t.set=function(l){var f=new We;if(l)for(var h=0,p=l.length;h<p;++h)f.add(l[h]);return f};function We(){this._=Object.create(null)}C(We,{has:Te,add:function(l){return this._[j(l+="")]=!0,l},remove:be,values:Re,size:De,empty:Le,forEach:function(l){for(var f in this._)l.call(this,ne(f))}}),t.behavior={};function it(l){return l}t.rebind=function(l,f){for(var h=1,p=arguments.length,m;++h<p;)l[m=arguments[h]]=Ie(l,f,f[m]);return l};function Ie(l,f,h){return function(){var p=h.apply(f,arguments);return p===f?l:p}}function Ve(l,f){if(f in l)return f;f=f.charAt(0).toUpperCase()+f.slice(1);for(var h=0,p=Mt.length;h<p;++h){var m=Mt[h]+f;if(m in l)return m}}var Mt=["webkit","ms","moz","Moz","o","O"];function pt(){}t.dispatch=function(){for(var l=new xe,f=-1,h=arguments.length;++f<h;)l[arguments[f]]=Ye(l);return l};function xe(){}xe.prototype.on=function(l,f){var h=l.indexOf("."),p="";if(h>=0&&(p=l.slice(h+1),l=l.slice(0,h)),l)return arguments.length<2?this[l].on(p):this[l].on(p,f);if(arguments.length===2){if(f==null)for(l in this)this.hasOwnProperty(l)&&this[l].on(p,null);return this}};function Ye(l){var f=[],h=new R;function p(){for(var m=f,b=-1,O=m.length,S;++b<O;)(S=m[b].on)&&S.apply(this,arguments);return l}return p.on=function(m,b){var O=h.get(m),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(m)),b&&f.push(h.set(m,{on:b})),l)},p}t.event=null;function lt(){t.event.preventDefault()}function Ue(){for(var l=t.event,f;f=l.sourceEvent;)l=f;return l}function vt(l){for(var f=new xe,h=0,p=arguments.length;++h<p;)f[arguments[h]]=Ye(f);return f.of=function(m,b){return function(O){try{var S=O.sourceEvent=t.event;O.target=l,t.event=O,f[O.type].apply(m,b)}finally{t.event=S}}},f}t.requote=function(l){return l.replace(Rt,"\\$&")};var Rt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Xt={}.__proto__?function(l,f){l.__proto__=f}:function(l,f){for(var h in f)l[h]=f[h]};function q(l){return Xt(l,ue),l}var U=function(l,f){return f.querySelector(l)},H=function(l,f){return f.querySelectorAll(l)},ye=function(l,f){var h=l.matches||l[Ve(l,"matchesSelector")];return ye=function(p,m){return h.call(p,m)},ye(l,f)};typeof Sizzle=="function"&&(U=function(l,f){return Sizzle(l,f)[0]||null},H=Sizzle,ye=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var ue=t.selection.prototype=[];ue.select=function(l){var f=[],h,p,m,b;l=Ge(l);for(var O=-1,S=this.length;++O<S;){f.push(h=[]),h.parentNode=(m=this[O]).parentNode;for(var k=-1,F=m.length;++k<F;)(b=m[k])?(h.push(p=l.call(b,b.__data__,k,O)),p&&"__data__"in b&&(p.__data__=b.__data__)):h.push(null)}return q(f)};function Ge(l){return typeof l=="function"?l:function(){return U(l,this)}}ue.selectAll=function(l){var f=[],h,p;l=St(l);for(var m=-1,b=this.length;++m<b;)for(var O=this[m],S=-1,k=O.length;++S<k;)(p=O[S])&&(f.push(h=n(l.call(p,p.__data__,S,m))),h.parentNode=p);return q(f)};function St(l){return typeof l=="function"?l:function(){return H(l,this)}}var Vt="http://www.w3.org/1999/xhtml",$={svg:"http://www.w3.org/2000/svg",xhtml:Vt,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:$,qualify:function(l){var f=l.indexOf(":"),h=l;return f>=0&&(h=l.slice(0,f))!=="xmlns"&&(l=l.slice(f+1)),$.hasOwnProperty(h)?{space:$[h],local:l}:l}},ue.attr=function(l,f){if(arguments.length<2){if(typeof l=="string"){var h=this.node();return l=t.ns.qualify(l),l.local?h.getAttributeNS(l.space,l.local):h.getAttribute(l)}for(f in l)this.each(M(f,l[f]));return this}return this.each(M(l,f))};function M(l,f){l=t.ns.qualify(l);function h(){this.removeAttribute(l)}function p(){this.removeAttributeNS(l.space,l.local)}function m(){this.setAttribute(l,f)}function b(){this.setAttributeNS(l.space,l.local,f)}function O(){var k=f.apply(this,arguments);k==null?this.removeAttribute(l):this.setAttribute(l,k)}function S(){var k=f.apply(this,arguments);k==null?this.removeAttributeNS(l.space,l.local):this.setAttributeNS(l.space,l.local,k)}return f==null?l.local?p:h:typeof f=="function"?l.local?S:O:l.local?b:m}function P(l){return l.trim().replace(/\s+/g," ")}ue.classed=function(l,f){if(arguments.length<2){if(typeof l=="string"){var h=this.node(),p=(l=ve(l)).length,m=-1;if(f=h.classList){for(;++m<p;)if(!f.contains(l[m]))return!1}else for(f=h.getAttribute("class");++m<p;)if(!K(l[m]).test(f))return!1;return!0}for(f in l)this.each(tt(f,l[f]));return this}return this.each(tt(l,f))};function K(l){return new RegExp("(?:^|\\s+)"+t.requote(l)+"(?:\\s+|$)","g")}function ve(l){return(l+"").trim().split(/^|\s+/)}function tt(l,f){l=ve(l).map(st);var h=l.length;function p(){for(var b=-1;++b<h;)l[b](this,f)}function m(){for(var b=-1,O=f.apply(this,arguments);++b<h;)l[b](this,O)}return typeof f=="function"?m:p}function st(l){var f=K(l);return function(h,p){if(m=h.classList)return p?m.add(l):m.remove(l);var m=h.getAttribute("class")||"";p?(f.lastIndex=0,f.test(m)||h.setAttribute("class",P(m+" "+l))):h.setAttribute("class",P(m.replace(f," ")))}}ue.style=function(l,f,h){var p=arguments.length;if(p<3){if(typeof l!="string"){p<2&&(f="");for(h in l)this.each(sr(h,l[h],f));return this}if(p<2){var m=this.node();return o(m).getComputedStyle(m,null).getPropertyValue(l)}h=""}return this.each(sr(l,f,h))};function sr(l,f,h){function p(){this.style.removeProperty(l)}function m(){this.style.setProperty(l,f,h)}function b(){var O=f.apply(this,arguments);O==null?this.style.removeProperty(l):this.style.setProperty(l,O,h)}return f==null?p:typeof f=="function"?b:m}ue.property=function(l,f){if(arguments.length<2){if(typeof l=="string")return this.node()[l];for(f in l)this.each(yr(f,l[f]));return this}return this.each(yr(l,f))};function yr(l,f){function h(){delete this[l]}function p(){this[l]=f}function m(){var b=f.apply(this,arguments);b==null?delete this[l]:this[l]=b}return f==null?h:typeof f=="function"?m:p}ue.text=function(l){return arguments.length?this.each(typeof l=="function"?function(){var f=l.apply(this,arguments);this.textContent=f??""}:l==null?function(){this.textContent=""}:function(){this.textContent=l}):this.node().textContent},ue.html=function(l){return arguments.length?this.each(typeof l=="function"?function(){var f=l.apply(this,arguments);this.innerHTML=f??""}:l==null?function(){this.innerHTML=""}:function(){this.innerHTML=l}):this.node().innerHTML},ue.append=function(l){return l=_r(l),this.select(function(){return this.appendChild(l.apply(this,arguments))})};function _r(l){function f(){var p=this.ownerDocument,m=this.namespaceURI;return m===Vt&&p.documentElement.namespaceURI===Vt?p.createElement(l):p.createElementNS(m,l)}function h(){return this.ownerDocument.createElementNS(l.space,l.local)}return typeof l=="function"?l:(l=t.ns.qualify(l)).local?h:f}ue.insert=function(l,f){return l=_r(l),f=Ge(f),this.select(function(){return this.insertBefore(l.apply(this,arguments),f.apply(this,arguments)||null)})},ue.remove=function(){return this.each(Zr)};function Zr(){var l=this.parentNode;l&&l.removeChild(this)}ue.data=function(l,f){var h=-1,p=this.length,m,b;if(!arguments.length){for(l=new Array(p=(m=this[0]).length);++h<p;)(b=m[h])&&(l[h]=b.__data__);return l}function O(L,D){var B,oe=L.length,le=D.length,G=Math.min(oe,le),Q=new Array(le),te=new Array(le),se=new Array(oe),fe,ie;if(f){var Ne=new R,je=new Array(oe),rt;for(B=-1;++B<oe;)(fe=L[B])&&(Ne.has(rt=f.call(fe,fe.__data__,B))?se[B]=fe:Ne.set(rt,fe),je[B]=rt);for(B=-1;++B<le;)(fe=Ne.get(rt=f.call(D,ie=D[B],B)))?fe!==!0&&(Q[B]=fe,fe.__data__=ie):te[B]=Cr(ie),Ne.set(rt,!0);for(B=-1;++B<oe;)B in je&&Ne.get(je[B])!==!0&&(se[B]=L[B])}else{for(B=-1;++B<G;)fe=L[B],ie=D[B],fe?(fe.__data__=ie,Q[B]=fe):te[B]=Cr(ie);for(;B<le;++B)te[B]=Cr(D[B]);for(;B<oe;++B)se[B]=L[B]}te.update=Q,te.parentNode=Q.parentNode=se.parentNode=L.parentNode,S.push(te),k.push(Q),F.push(se)}var S=Mp([]),k=q([]),F=q([]);if(typeof l=="function")for(;++h<p;)O(m=this[h],l.call(m,m.parentNode.__data__,h));else for(;++h<p;)O(m=this[h],l);return k.enter=function(){return S},k.exit=function(){return F},k};function Cr(l){return{__data__:l}}ue.datum=function(l){return arguments.length?this.property("__data__",l):this.property("__data__")},ue.filter=function(l){var f=[],h,p,m;typeof l!="function"&&(l=Ra(l));for(var b=0,O=this.length;b<O;b++){f.push(h=[]),h.parentNode=(p=this[b]).parentNode;for(var S=0,k=p.length;S<k;S++)(m=p[S])&&l.call(m,m.__data__,S,b)&&h.push(m)}return q(f)};function Ra(l){return function(){return ye(this,l)}}ue.order=function(){for(var l=-1,f=this.length;++l<f;)for(var h=this[l],p=h.length-1,m=h[p],b;--p>=0;)(b=h[p])&&(m&&m!==b.nextSibling&&m.parentNode.insertBefore(b,m),m=b);return this},ue.sort=function(l){l=Ia.apply(this,arguments);for(var f=-1,h=this.length;++f<h;)this[f].sort(l);return this.order()};function Ia(l){return arguments.length||(l=v),function(f,h){return f&&h?l(f.__data__,h.__data__):!f-!h}}ue.each=function(l){return Un(this,function(f,h,p){l.call(f,f.__data__,h,p)})};function Un(l,f){for(var h=0,p=l.length;h<p;h++)for(var m=l[h],b=0,O=m.length,S;b<O;b++)(S=m[b])&&f(S,b,h);return l}ue.call=function(l){var f=n(arguments);return l.apply(f[0]=this,f),this},ue.empty=function(){return!this.node()},ue.node=function(){for(var l=0,f=this.length;l<f;l++)for(var h=this[l],p=0,m=h.length;p<m;p++){var b=h[p];if(b)return b}return null},ue.size=function(){var l=0;return Un(this,function(){++l}),l};function Mp(l){return Xt(l,Di),l}var Di=[];t.selection.enter=Mp,t.selection.enter.prototype=Di,Di.append=ue.append,Di.empty=ue.empty,Di.node=ue.node,Di.call=ue.call,Di.size=ue.size,Di.select=function(l){for(var f=[],h,p,m,b,O,S=-1,k=this.length;++S<k;){m=(b=this[S]).update,f.push(h=[]),h.parentNode=b.parentNode;for(var F=-1,L=b.length;++F<L;)(O=b[F])?(h.push(m[F]=p=l.call(b.parentNode,O.__data__,F,S)),p.__data__=O.__data__):h.push(null)}return q(f)},Di.insert=function(l,f){return arguments.length<2&&(f=Au(this)),ue.insert.call(this,l,f)};function Au(l){var f,h;return function(p,m,b){var O=l[b].update,S=O.length,k;for(b!=h&&(h=b,f=0),m>=f&&(f=m+1);!(k=O[f])&&++f<S;);return k}}t.select=function(l){var f;return typeof l=="string"?(f=[U(l,i)],f.parentNode=i.documentElement):(f=[l],f.parentNode=a(l)),q([f])},t.selectAll=function(l){var f;return typeof l=="string"?(f=n(H(l,i)),f.parentNode=i.documentElement):(f=n(l),f.parentNode=null),q([f])},ue.on=function(l,f,h){var p=arguments.length;if(p<3){if(typeof l!="string"){p<2&&(f=!1);for(h in l)this.each(Vl(h,l[h],f));return this}if(p<2)return(p=this.node()["__on"+l])&&p._;h=!1}return this.each(Vl(l,f,h))};function Vl(l,f,h){var p="__on"+l,m=l.indexOf("."),b=Xl;m>0&&(l=l.slice(0,m));var O=Yl.get(l);O&&(l=O,b=ky);function S(){var L=this[p];L&&(this.removeEventListener(l,L,L.$),delete this[p])}function k(){var L=b(f,n(arguments));S.call(this),this.addEventListener(l,this[p]=L,L.$=h),L._=f}function F(){var L=new RegExp("^__on([^.]+)"+t.requote(l)+"$"),D;for(var B in this)if(D=B.match(L)){var oe=this[B];this.removeEventListener(D[1],oe,oe.$),delete this[B]}}return m?f?k:S:f?pt:F}var Yl=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&Yl.forEach(function(l){"on"+l in i&&Yl.remove(l)});function Xl(l,f){return function(h){var p=t.event;t.event=h,f[0]=this.__data__;try{l.apply(this,f)}finally{t.event=p}}}function ky(l,f){var h=Xl(l,f);return function(p){var m=this,b=p.relatedTarget;(!b||b!==m&&!(b.compareDocumentPosition(m)&8))&&h.call(m,p)}}var Pa,Ry=0;function Kl(l){var f=".dragsuppress-"+ ++Ry,h="click"+f,p=t.select(o(l)).on("touchmove"+f,lt).on("dragstart"+f,lt).on("selectstart"+f,lt);if(Pa==null&&(Pa="onselectstart"in l?!1:Ve(l.style,"userSelect")),Pa){var m=a(l).style,b=m[Pa];m[Pa]="none"}return function(O){if(p.on(f,null),Pa&&(m[Pa]=b),O){var S=function(){p.on(h,null)};p.on(h,function(){lt(),S()},!0),setTimeout(S,0)}}}t.mouse=function(l){return ui(l,Ue())};var nn=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function ui(l,f){f.changedTouches&&(f=f.changedTouches[0]);var h=l.ownerSVGElement||l;if(h.createSVGPoint){var p=h.createSVGPoint();if(nn<0){var m=o(l);if(m.scrollX||m.scrollY){h=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var b=h[0][0].getScreenCTM();nn=!(b.f||b.e),h.remove()}}return nn?(p.x=f.pageX,p.y=f.pageY):(p.x=f.clientX,p.y=f.clientY),p=p.matrixTransform(l.getScreenCTM().inverse()),[p.x,p.y]}var O=l.getBoundingClientRect();return[f.clientX-O.left-l.clientLeft,f.clientY-O.top-l.clientTop]}t.touch=function(l,f,h){if(arguments.length<3&&(h=f,f=Ue().changedTouches),f){for(var p=0,m=f.length,b;p<m;++p)if((b=f[p]).identifier===h)return ui(l,b)}},t.behavior.drag=function(){var l=vt(m,"drag","dragstart","dragend"),f=null,h=b(pt,t.mouse,o,"mousemove","mouseup"),p=b(jn,t.touch,it,"touchmove","touchend");function m(){this.on("mousedown.drag",h).on("touchstart.drag",p)}function b(O,S,k,F,L){return function(){var D=this,B=t.event.target.correspondingElement||t.event.target,oe=D.parentNode,le=l.of(D,arguments),G=0,Q=O(),te=".drag"+(Q==null?"":"-"+Q),se,fe=t.select(k(B)).on(F+te,je).on(L+te,rt),ie=Kl(B),Ne=S(oe,Q);f?(se=f.apply(D,arguments),se=[se.x-Ne[0],se.y-Ne[1]]):se=[0,0],le({type:"dragstart"});function je(){var He=S(oe,Q),ot,gt;He&&(ot=He[0]-Ne[0],gt=He[1]-Ne[1],G|=ot|gt,Ne=He,le({type:"drag",x:He[0]+se[0],y:He[1]+se[1],dx:ot,dy:gt}))}function rt(){S(oe,Q)&&(fe.on(F+te,null).on(L+te,null),ie(G),le({type:"dragend"}))}}}return m.origin=function(O){return arguments.length?(f=O,m):f},t.rebind(m,l,"on")};function jn(){return t.event.changedTouches[0].identifier}t.touches=function(l,f){return arguments.length<2&&(f=Ue().touches),f?n(f).map(function(h){var p=ui(l,h);return p.identifier=h.identifier,p}):[]};var ir=1e-6,kp=ir*ir,Bi=Math.PI,mo=2*Bi,Rp=mo-ir,Si=Bi/2,Ip=Bi/180,Cu=180/Bi;function Iy(l,f,h){return(f[0]-l[0])*(h[1]-l[1])-(f[1]-l[1])*(h[0]-l[0])}function Pp(l){return l>1?Si:l<-1?-Si:Math.asin(l)}function Py(l){return((l=Math.exp(l))-1/l)/2}function Fp(l){return((l=Math.exp(l))+1/l)/2}function Fy(l){return((l=Math.exp(2*l))-1)/(l+1)}var Tu=Math.SQRT2,Zf=2,Np=4;t.interpolateZoom=function(l,f){var h=l[0],p=l[1],m=l[2],b=f[0],O=f[1],S=f[2],k=b-h,F=O-p,L=k*k+F*F,D,B;if(L<kp)B=Math.log(S/m)/Tu,D=function(se){return[h+se*k,p+se*F,m*Math.exp(Tu*se*B)]};else{var oe=Math.sqrt(L),le=(S*S-m*m+Np*L)/(2*m*Zf*oe),G=(S*S-m*m-Np*L)/(2*S*Zf*oe),Q=Math.log(Math.sqrt(le*le+1)-le),te=Math.log(Math.sqrt(G*G+1)-G);B=(te-Q)/Tu,D=function(se){var fe=se*B,ie=Fp(Q),Ne=m/(Zf*oe)*(ie*Fy(Tu*fe+Q)-Py(Q));return[h+Ne*k,p+Ne*F,m*ie/Fp(Tu*fe+Q)]}}return D.duration=B*1e3,D},t.behavior.zoom=function(){var l={x:0,y:0,k:1},f,h,p,m=[960,500],b=Ou,O=250,S=0,k="mousedown.zoom",F="mousemove.zoom",L="mouseup.zoom",D,B="touchstart.zoom",oe,le=vt(fe,"zoomstart","zoom","zoomend"),G,Q,te,se;Jf||(Jf="onwheel"in i?(Ql=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(Ql=function(){return t.event.wheelDelta},"mousewheel"):(Ql=function(){return-t.event.detail},"MozMousePixelScroll"));function fe(nt){nt.on(k,Gt).on(Jf+".zoom",Ir).on("dblclick.zoom",dr).on(B,ar)}fe.event=function(nt){nt.each(function(){var qt=le.of(this,arguments),Kt=l;qi?t.select(this).transition().each("start.zoom",function(){l=this.__chart__||{x:0,y:0,k:1},gt(qt)}).tween("zoom:zoom",function(){var or=m[0],Tr=m[1],Ur=h?h[0]:or/2,Xr=h?h[1]:Tr/2,mn=t.interpolateZoom([(Ur-l.x)/l.k,(Xr-l.y)/l.k,or/l.k],[(Ur-Kt.x)/Kt.k,(Xr-Kt.y)/Kt.k,or/Kt.k]);return function(An){var un=mn(An),Fn=or/un[2];this.__chart__=l={x:Ur-un[0]*Fn,y:Xr-un[1]*Fn,k:Fn},Wt(qt)}}).each("interrupt.zoom",function(){wt(qt)}).each("end.zoom",function(){wt(qt)}):(this.__chart__=l,gt(qt),Wt(qt),wt(qt))})},fe.translate=function(nt){return arguments.length?(l={x:+nt[0],y:+nt[1],k:l.k},ot(),fe):[l.x,l.y]},fe.scale=function(nt){return arguments.length?(l={x:l.x,y:l.y,k:null},je(+nt),ot(),fe):l.k},fe.scaleExtent=function(nt){return arguments.length?(b=nt==null?Ou:[+nt[0],+nt[1]],fe):b},fe.center=function(nt){return arguments.length?(p=nt&&[+nt[0],+nt[1]],fe):p},fe.size=function(nt){return arguments.length?(m=nt&&[+nt[0],+nt[1]],fe):m},fe.duration=function(nt){return arguments.length?(O=+nt,fe):O},fe.x=function(nt){return arguments.length?(Q=nt,G=nt.copy(),l={x:0,y:0,k:1},fe):Q},fe.y=function(nt){return arguments.length?(se=nt,te=nt.copy(),l={x:0,y:0,k:1},fe):se};function ie(nt){return[(nt[0]-l.x)/l.k,(nt[1]-l.y)/l.k]}function Ne(nt){return[nt[0]*l.k+l.x,nt[1]*l.k+l.y]}function je(nt){l.k=Math.max(b[0],Math.min(b[1],nt))}function rt(nt,qt){qt=Ne(qt),l.x+=nt[0]-qt[0],l.y+=nt[1]-qt[1]}function He(nt,qt,Kt,or){nt.__chart__={x:l.x,y:l.y,k:l.k},je(Math.pow(2,or)),rt(h=qt,Kt),nt=t.select(nt),O>0&&(nt=nt.transition().duration(O)),nt.call(fe.event)}function ot(){Q&&Q.domain(G.range().map(function(nt){return(nt-l.x)/l.k}).map(G.invert)),se&&se.domain(te.range().map(function(nt){return(nt-l.y)/l.k}).map(te.invert))}function gt(nt){S++||nt({type:"zoomstart"})}function Wt(nt){ot(),nt({type:"zoom",scale:l.k,translate:[l.x,l.y]})}function wt(nt){--S||(nt({type:"zoomend"}),h=null)}function Gt(){var nt=this,qt=le.of(nt,arguments),Kt=0,or=t.select(o(nt)).on(F,Xr).on(L,mn),Tr=ie(t.mouse(nt)),Ur=Kl(nt);Ms.call(nt),gt(qt);function Xr(){Kt=1,rt(t.mouse(nt),Tr),Wt(qt)}function mn(){or.on(F,null).on(L,null),Ur(Kt),wt(qt)}}function ar(){var nt=this,qt=le.of(nt,arguments),Kt={},or=0,Tr,Ur=".zoom-"+t.event.changedTouches[0].identifier,Xr="touchmove"+Ur,mn="touchend"+Ur,An=[],un=t.select(nt),Fn=Kl(nt);W(),gt(qt),un.on(k,null).on(B,W);function I(){var Pe=t.touches(nt);return Tr=l.k,Pe.forEach(function(_e){_e.identifier in Kt&&(Kt[_e.identifier]=ie(_e))}),Pe}function W(){var Pe=t.event.target;t.select(Pe).on(Xr,ee).on(mn,Ce),An.push(Pe);for(var _e=t.event.changedTouches,Ee=0,Ke=_e.length;Ee<Ke;++Ee)Kt[_e[Ee].identifier]=null;var Qe=I(),et=Date.now();if(Qe.length===1){if(et-oe<500){var ct=Qe[0];He(nt,ct,Kt[ct.identifier],Math.floor(Math.log(l.k)/Math.LN2)+1),lt()}oe=et}else if(Qe.length>1){var ct=Qe[0],Pt=Qe[1],Et=ct[0]-Pt[0],at=ct[1]-Pt[1];or=Et*Et+at*at}}function ee(){var Pe=t.touches(nt),_e,Ee,Ke,Qe;Ms.call(nt);for(var et=0,ct=Pe.length;et<ct;++et,Qe=null)if(Ke=Pe[et],Qe=Kt[Ke.identifier]){if(Ee)break;_e=Ke,Ee=Qe}if(Qe){var Pt=(Pt=Ke[0]-_e[0])*Pt+(Pt=Ke[1]-_e[1])*Pt,Et=or&&Math.sqrt(Pt/or);_e=[(_e[0]+Ke[0])/2,(_e[1]+Ke[1])/2],Ee=[(Ee[0]+Qe[0])/2,(Ee[1]+Qe[1])/2],je(Et*Tr)}oe=null,rt(_e,Ee),Wt(qt)}function Ce(){if(t.event.touches.length){for(var Pe=t.event.changedTouches,_e=0,Ee=Pe.length;_e<Ee;++_e)delete Kt[Pe[_e].identifier];for(var Ke in Kt)return void I()}t.selectAll(An).on(Ur,null),un.on(k,Gt).on(B,ar),Fn(),wt(qt)}}function Ir(){var nt=le.of(this,arguments);D?clearTimeout(D):(Ms.call(this),f=ie(h=p||t.mouse(this)),gt(nt)),D=setTimeout(function(){D=null,wt(nt)},50),lt(),je(Math.pow(2,Ql()*.002)*l.k),rt(h,f),Wt(nt)}function dr(){var nt=t.mouse(this),qt=Math.log(l.k)/Math.LN2;He(this,nt,ie(nt),t.event.shiftKey?Math.ceil(qt)-1:Math.floor(qt)+1)}return t.rebind(fe,le,"on")};var Ou=[0,1/0],Ql,Jf;t.color=oa;function oa(){}oa.prototype.toString=function(){return this.rgb()+""},t.hsl=Xn;function Xn(l,f,h){return this instanceof Xn?(this.h=+l,this.s=+f,void(this.l=+h)):arguments.length<2?l instanceof Xn?new Xn(l.h,l.s,l.l):Na(""+l,oc,Xn):new Xn(l,f,h)}var Zl=Xn.prototype=new oa;Zl.brighter=function(l){return l=Math.pow(.7,arguments.length?l:1),new Xn(this.h,this.s,this.l/l)},Zl.darker=function(l){return l=Math.pow(.7,arguments.length?l:1),new Xn(this.h,this.s,l*this.l)},Zl.rgb=function(){return Jl(this.h,this.s,this.l)};function Jl(l,f,h){var p,m;l=isNaN(l)?0:(l%=360)<0?l+360:l,f=isNaN(f)||f<0?0:f>1?1:f,h=h<0?0:h>1?1:h,m=h<=.5?h*(1+f):h+f-h*f,p=2*h-m;function b(S){return S>360?S-=360:S<0&&(S+=360),S<60?p+(m-p)*S/60:S<180?m:S<240?p+(m-p)*(240-S)/60:p}function O(S){return Math.round(b(S)*255)}return new an(O(l+120),O(l),O(l-120))}t.hcl=li;function li(l,f,h){return this instanceof li?(this.h=+l,this.c=+f,void(this.l=+h)):arguments.length<2?l instanceof li?new li(l.h,l.c,l.l):l instanceof Jr?Dp(l.l,l.a,l.b):Dp((l=La((l=t.rgb(l)).r,l.g,l.b)).l,l.a,l.b):new li(l,f,h)}var Mu=li.prototype=new oa;Mu.brighter=function(l){return new li(this.h,this.c,Math.min(100,this.l+Fa*(arguments.length?l:1)))},Mu.darker=function(l){return new li(this.h,this.c,Math.max(0,this.l-Fa*(arguments.length?l:1)))},Mu.rgb=function(){return ku(this.h,this.c,this.l).rgb()};function ku(l,f,h){return isNaN(l)&&(l=0),isNaN(f)&&(f=0),new Jr(h,Math.cos(l*=Ip)*f,Math.sin(l)*f)}t.lab=Jr;function Jr(l,f,h){return this instanceof Jr?(this.l=+l,this.a=+f,void(this.b=+h)):arguments.length<2?l instanceof Jr?new Jr(l.l,l.a,l.b):l instanceof li?ku(l.h,l.c,l.l):La((l=an(l)).r,l.g,l.b):new Jr(l,f,h)}var Fa=18,ec=.95047,tc=1,Lp=1.08883,rc=Jr.prototype=new oa;rc.brighter=function(l){return new Jr(Math.min(100,this.l+Fa*(arguments.length?l:1)),this.a,this.b)},rc.darker=function(l){return new Jr(Math.max(0,this.l-Fa*(arguments.length?l:1)),this.a,this.b)},rc.rgb=function(){return $p(this.l,this.a,this.b)};function $p(l,f,h){var p=(l+16)/116,m=p+f/500,b=p-h/200;return m=nc(m)*ec,p=nc(p)*tc,b=nc(b)*Lp,new an(ac(3.2404542*m-1.5371385*p-.4985314*b),ac(-.969266*m+1.8760108*p+.041556*b),ac(.0556434*m-.2040259*p+1.0572252*b))}function Dp(l,f,h){return l>0?new li(Math.atan2(h,f)*Cu,Math.sqrt(f*f+h*h),l):new li(NaN,NaN,l)}function nc(l){return l>.206893034?l*l*l:(l-4/29)/7.787037}function ic(l){return l>.008856?Math.pow(l,1/3):7.787037*l+4/29}function ac(l){return Math.round(255*(l<=.00304?12.92*l:1.055*Math.pow(l,1/2.4)-.055))}t.rgb=an;function an(l,f,h){return this instanceof an?(this.r=~~l,this.g=~~f,void(this.b=~~h)):arguments.length<2?l instanceof an?new an(l.r,l.g,l.b):Na(""+l,an,Jl):new an(l,f,h)}function Bp(l){return new an(l>>16,l>>8&255,l&255)}function es(l){return Bp(l)+""}var ua=an.prototype=new oa;ua.brighter=function(l){l=Math.pow(.7,arguments.length?l:1);var f=this.r,h=this.g,p=this.b,m=30;return!f&&!h&&!p?new an(m,m,m):(f&&f<m&&(f=m),h&&h<m&&(h=m),p&&p<m&&(p=m),new an(Math.min(255,f/l),Math.min(255,h/l),Math.min(255,p/l)))},ua.darker=function(l){return l=Math.pow(.7,arguments.length?l:1),new an(l*this.r,l*this.g,l*this.b)},ua.hsl=function(){return oc(this.r,this.g,this.b)},ua.toString=function(){return"#"+go(this.r)+go(this.g)+go(this.b)};function go(l){return l<16?"0"+Math.max(0,l).toString(16):Math.min(255,l).toString(16)}function Na(l,f,h){var p=0,m=0,b=0,O,S,k;if(O=/([a-z]+)\((.*)\)/.exec(l=l.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(la(S[0]),la(S[1]),la(S[2]))}return(k=yo.get(l))?f(k.r,k.g,k.b):(l!=null&&l.charAt(0)==="#"&&!isNaN(k=parseInt(l.slice(1),16))&&(l.length===4?(p=(k&3840)>>4,p=p>>4|p,m=k&240,m=m>>4|m,b=k&15,b=b<<4|b):l.length===7&&(p=(k&16711680)>>16,m=(k&65280)>>8,b=k&255)),f(p,m,b))}function oc(l,f,h){var p=Math.min(l/=255,f/=255,h/=255),m=Math.max(l,f,h),b=m-p,O,S,k=(m+p)/2;return b?(S=k<.5?b/(m+p):b/(2-m-p),l==m?O=(f-h)/b+(f<h?6:0):f==m?O=(h-l)/b+2:O=(l-f)/b+4,O*=60):(O=NaN,S=k>0&&k<1?0:O),new Xn(O,S,k)}function La(l,f,h){l=ts(l),f=ts(f),h=ts(h);var p=ic((.4124564*l+.3575761*f+.1804375*h)/ec),m=ic((.2126729*l+.7151522*f+.072175*h)/tc),b=ic((.0193339*l+.119192*f+.9503041*h)/Lp);return Jr(116*m-16,500*(p-m),200*(m-b))}function ts(l){return(l/=255)<=.04045?l/12.92:Math.pow((l+.055)/1.055,2.4)}function la(l){var f=parseFloat(l);return l.charAt(l.length-1)==="%"?Math.round(f*2.55):f}var yo=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});yo.forEach(function(l,f){yo.set(l,Bp(f))});function mr(l){return typeof l=="function"?l:function(){return l}}t.functor=mr,t.xhr=uc(it);function uc(l){return function(f,h,p){return arguments.length===2&&typeof h=="function"&&(p=h,h=null),rs(f,h,l,p)}}function rs(l,f,h,p){var m={},b=t.dispatch("beforesend","progress","load","error"),O={},S=new XMLHttpRequest,k=null;self.XDomainRequest&&!("withCredentials"in S)&&/^(http(s)?:)?\/\//.test(l)&&(S=new XDomainRequest),"onload"in S?S.onload=S.onerror=F:S.onreadystatechange=function(){S.readyState>3&&F()};function F(){var L=S.status,D;if(!L&&Ny(S)||L>=200&&L<300||L===304){try{D=h.call(m,S)}catch(B){b.error.call(m,B);return}b.load.call(m,D)}else b.error.call(m,S)}return S.onprogress=function(L){var D=t.event;t.event=L;try{b.progress.call(m,S)}finally{t.event=D}},m.header=function(L,D){return L=(L+"").toLowerCase(),arguments.length<2?O[L]:(D==null?delete O[L]:O[L]=D+"",m)},m.mimeType=function(L){return arguments.length?(f=L==null?null:L+"",m):f},m.responseType=function(L){return arguments.length?(k=L,m):k},m.response=function(L){return h=L,m},["get","post"].forEach(function(L){m[L]=function(){return m.send.apply(m,[L].concat(n(arguments)))}}),m.send=function(L,D,B){if(arguments.length===2&&typeof D=="function"&&(B=D,D=null),S.open(L,l,!0),f!=null&&!("accept"in O)&&(O.accept=f+",*/*"),S.setRequestHeader)for(var oe in O)S.setRequestHeader(oe,O[oe]);return f!=null&&S.overrideMimeType&&S.overrideMimeType(f),k!=null&&(S.responseType=k),B!=null&&m.on("error",B).on("load",function(le){B(null,le)}),b.beforesend.call(m,S),S.send(D??null),m},m.abort=function(){return S.abort(),m},t.rebind(m,b,"on"),p==null?m:m.get(zp(p))}function zp(l){return l.length===1?function(f,h){l(f==null?h:null)}:l}function Ny(l){var f=l.responseType;return f&&f!=="text"?l.response:l.responseText}t.dsv=function(l,f){var h=new RegExp('["'+l+`
|
|
856
|
+
]`),p=l.charCodeAt(0);function m(F,L,D){arguments.length<3&&(D=L,L=null);var B=rs(F,f,L==null?b:O(L),D);return B.row=function(oe){return arguments.length?B.response((L=oe)==null?b:O(oe)):L},B}function b(F){return m.parse(F.responseText)}function O(F){return function(L){return m.parse(L.responseText,F)}}m.parse=function(F,L){var D;return m.parseRows(F,function(B,oe){if(D)return D(B,oe-1);var le=function(G){for(var Q={},te=B.length,se=0;se<te;++se)Q[B[se]]=G[se];return Q};D=L?function(G,Q){return L(le(G),Q)}:le})},m.parseRows=function(F,L){var D={},B={},oe=[],le=F.length,G=0,Q=0,te,se;function fe(){if(G>=le)return B;if(se)return se=!1,D;var Ne=G;if(F.charCodeAt(Ne)===34){for(var je=Ne;je++<le;)if(F.charCodeAt(je)===34){if(F.charCodeAt(je+1)!==34)break;++je}G=je+2;var rt=F.charCodeAt(je+1);return rt===13?(se=!0,F.charCodeAt(je+2)===10&&++G):rt===10&&(se=!0),F.slice(Ne+1,je).replace(/""/g,'"')}for(;G<le;){var rt=F.charCodeAt(G++),He=1;if(rt===10)se=!0;else if(rt===13)se=!0,F.charCodeAt(G)===10&&(++G,++He);else if(rt!==p)continue;return F.slice(Ne,G-He)}return F.slice(Ne)}for(;(te=fe())!==B;){for(var ie=[];te!==D&&te!==B;)ie.push(te),te=fe();L&&(ie=L(ie,Q++))==null||oe.push(ie)}return oe},m.format=function(F){if(Array.isArray(F[0]))return m.formatRows(F);var L=new We,D=[];return F.forEach(function(B){for(var oe in B)L.has(oe)||D.push(L.add(oe))}),[D.map(k).join(l)].concat(F.map(function(B){return D.map(function(oe){return k(B[oe])}).join(l)})).join(`
|
|
857
|
+
`)},m.formatRows=function(F){return F.map(S).join(`
|
|
858
|
+
`)};function S(F){return F.map(k).join(l)}function k(F){return h.test(F)?'"'+F.replace(/\"/g,'""')+'"':F}return m},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv(" ","text/tab-separated-values");var ns,Ru,si,is,fi=this[Ve(this,"requestAnimationFrame")]||function(l){setTimeout(l,17)};t.timer=function(){bo.apply(this,arguments)};function bo(l,f,h){var p=arguments.length;p<2&&(f=0),p<3&&(h=Date.now());var m=h+f,b={c:l,t:m,n:null};return Ru?Ru.n=b:ns=b,Ru=b,si||(is=clearTimeout(is),si=1,fi(xo)),b}function xo(){var l=sa(),f=as()-l;f>24?(isFinite(f)&&(clearTimeout(is),is=setTimeout(xo,f)),si=0):(si=1,fi(xo))}t.timer.flush=function(){sa(),as()};function sa(){for(var l=Date.now(),f=ns;f;)l>=f.t&&f.c(l-f.t)&&(f.c=null),f=f.n;return l}function as(){for(var l,f=ns,h=1/0;f;)f.c?(f.t<h&&(h=f.t),f=(l=f).n):f=l?l.n=f.n:ns=f.n;return Ru=l,h}t.round=function(l,f){return f?Math.round(l*(f=Math.pow(10,f)))/f:Math.round(l)},t.geom={};function zi(l){return l[0]}function Ui(l){return l[1]}t.geom.hull=function(l){var f=zi,h=Ui;if(arguments.length)return p(l);function p(m){if(m.length<3)return[];var b=mr(f),O=mr(h),S,k=m.length,F=[],L=[];for(S=0;S<k;S++)F.push([+b.call(this,m[S],S),+O.call(this,m[S],S),S]);for(F.sort(Up),S=0;S<k;S++)L.push([F[S][0],-F[S][1]]);var D=Iu(F),B=Iu(L),oe=B[0]===D[0],le=B[B.length-1]===D[D.length-1],G=[];for(S=D.length-1;S>=0;--S)G.push(m[F[D[S]][2]]);for(S=+oe;S<B.length-le;++S)G.push(m[F[B[S]][2]]);return G}return p.x=function(m){return arguments.length?(f=m,p):f},p.y=function(m){return arguments.length?(h=m,p):h},p};function Iu(l){for(var f=l.length,h=[0,1],p=2,m=2;m<f;m++){for(;p>1&&Iy(l[h[p-2]],l[h[p-1]],l[m])<=0;)--p;h[p++]=m}return h.slice(0,p)}function Up(l,f){return l[0]-f[0]||l[1]-f[1]}t.geom.polygon=function(l){return Xt(l,wo),l};var wo=t.geom.polygon.prototype=[];wo.area=function(){for(var l=-1,f=this.length,h,p=this[f-1],m=0;++l<f;)h=p,p=this[l],m+=h[1]*p[0]-h[0]*p[1];return m*.5},wo.centroid=function(l){var f=-1,h=this.length,p=0,m=0,b,O=this[h-1],S;for(arguments.length||(l=-1/(6*this.area()));++f<h;)b=O,O=this[f],S=b[0]*O[1]-O[0]*b[1],p+=(b[0]+O[0])*S,m+=(b[1]+O[1])*S;return[p*l,m*l]},wo.clip=function(l){for(var f,h=jp(l),p=-1,m=this.length-jp(this),b,O,S=this[m-1],k,F,L;++p<m;){for(f=l.slice(),l.length=0,k=this[p],F=f[(O=f.length-h)-1],b=-1;++b<O;)L=f[b],os(L,S,k)?(os(F,S,k)||l.push(lc(F,L,S,k)),l.push(L)):os(F,S,k)&&l.push(lc(F,L,S,k)),F=L;h&&l.push(l[0]),S=k}return l};function os(l,f,h){return(h[0]-f[0])*(l[1]-f[1])<(h[1]-f[1])*(l[0]-f[0])}function lc(l,f,h,p){var m=l[0],b=h[0],O=f[0]-m,S=p[0]-b,k=l[1],F=h[1],L=f[1]-k,D=p[1]-F,B=(S*(k-F)-D*(m-b))/(D*O-S*L);return[m+B*O,k+B*L]}function jp(l){var f=l[0],h=l[l.length-1];return!(f[0]-h[0]||f[1]-h[1])}var _o,$a,fa,Pu=[],Fu,Da,Ba=[];function sc(){ss(this),this.edge=this.site=this.circle=null}function us(l){var f=Pu.pop()||new sc;return f.site=l,f}function Nu(l){ci(l),fa.remove(l),Pu.push(l),ss(l)}function fc(l){var f=l.circle,h=f.x,p=f.cy,m={x:h,y:p},b=l.P,O=l.N,S=[l];Nu(l);for(var k=b;k.circle&&_(h-k.circle.x)<ir&&_(p-k.circle.cy)<ir;)b=k.P,S.unshift(k),Nu(k),k=b;S.unshift(k),ci(k);for(var F=O;F.circle&&_(h-F.circle.x)<ir&&_(p-F.circle.cy)<ir;)O=F.N,S.push(F),Nu(F),F=O;S.push(F),ci(F);var L=S.length,D;for(D=1;D<L;++D)F=S[D],k=S[D-1],So(F.edge,k.site,F.site,m);k=S[0],F=S[L-1],F.edge=$u(k.site,F.site,null,m),za(k),za(F)}function Gp(l){for(var f=l.x,h=l.y,p,m,b,O,S=fa._;S;)if(b=cc(S,h)-f,b>ir)S=S.L;else if(O=f-Hp(S,h),O>ir){if(!S.R){p=S;break}S=S.R}else{b>-ir?(p=S.P,m=S):O>-ir?(p=S,m=S.N):p=m=S;break}var k=us(l);if(fa.insert(p,k),!(!p&&!m)){if(p===m){ci(p),m=us(p.site),fa.insert(k,m),k.edge=m.edge=$u(p.site,k.site),za(p),za(m);return}if(!m){k.edge=$u(p.site,k.site);return}ci(p),ci(m);var F=p.site,L=F.x,D=F.y,B=l.x-L,oe=l.y-D,le=m.site,G=le.x-L,Q=le.y-D,te=2*(B*Q-oe*G),se=B*B+oe*oe,fe=G*G+Q*Q,ie={x:(Q*se-oe*fe)/te+L,y:(B*fe-G*se)/te+D};So(m.edge,F,le,ie),k.edge=$u(F,l,null,ie),m.edge=$u(l,le,null,ie),za(p),za(m)}}function cc(l,f){var h=l.site,p=h.x,m=h.y,b=m-f;if(!b)return p;var O=l.P;if(!O)return-1/0;h=O.site;var S=h.x,k=h.y,F=k-f;if(!F)return S;var L=S-p,D=1/b-1/F,B=L/F;return D?(-B+Math.sqrt(B*B-2*D*(L*L/(-2*F)-k+F/2+m-b/2)))/D+p:(p+S)/2}function Hp(l,f){var h=l.N;if(h)return cc(h,f);var p=l.site;return p.y===f?p.x:1/0}function hc(l){this.site=l,this.edges=[]}hc.prototype.prepare=function(){for(var l=this.edges,f=l.length,h;f--;)h=l[f].edge,(!h.b||!h.a)&&l.splice(f,1);return l.sort(dc),l.length};function Wp(l){for(var f=l[0][0],h=l[1][0],p=l[0][1],m=l[1][1],b,O,S,k,F=$a,L=F.length,D,B,oe,le,G,Q;L--;)if(D=F[L],!(!D||!D.prepare()))for(oe=D.edges,le=oe.length,B=0;B<le;)Q=oe[B].end(),S=Q.x,k=Q.y,G=oe[++B%le].start(),b=G.x,O=G.y,(_(S-b)>ir||_(k-O)>ir)&&(oe.splice(B,0,new ls(Ly(D.site,Q,_(S-f)<ir&&m-k>ir?{x:f,y:_(b-f)<ir?O:m}:_(k-m)<ir&&h-S>ir?{x:_(O-m)<ir?b:h,y:m}:_(S-h)<ir&&k-p>ir?{x:h,y:_(b-h)<ir?O:p}:_(k-p)<ir&&S-f>ir?{x:_(O-p)<ir?b:f,y:p}:null),D.site,null)),++le)}function dc(l,f){return f.angle-l.angle}function qp(){ss(this),this.x=this.y=this.arc=this.site=this.cy=null}function za(l){var f=l.P,h=l.N;if(!(!f||!h)){var p=f.site,m=l.site,b=h.site;if(p!==b){var O=m.x,S=m.y,k=p.x-O,F=p.y-S,L=b.x-O,Q=b.y-S,D=2*(k*Q-F*L);if(!(D>=-kp)){var B=k*k+F*F,oe=L*L+Q*Q,le=(Q*B-F*oe)/D,G=(k*oe-L*B)/D,Q=G+S,te=Ba.pop()||new qp;te.arc=l,te.site=m,te.x=le+O,te.y=Q+Math.sqrt(le*le+G*G),te.cy=Q,l.circle=te;for(var se=null,fe=Da._;fe;)if(te.y<fe.y||te.y===fe.y&&te.x<=fe.x)if(fe.L)fe=fe.L;else{se=fe.P;break}else if(fe.R)fe=fe.R;else{se=fe;break}Da.insert(se,te),se||(Fu=te)}}}}function ci(l){var f=l.circle;f&&(f.P||(Fu=f.N),Da.remove(f),Ba.push(f),ss(f),l.circle=null)}function pc(l,f,h,p){return function(m){var b=m.a,O=m.b,S=b.x,k=b.y,F=O.x,L=O.y,D=0,B=1,oe=F-S,le=L-k,G;if(G=l-S,!(!oe&&G>0)){if(G/=oe,oe<0){if(G<D)return;G<B&&(B=G)}else if(oe>0){if(G>B)return;G>D&&(D=G)}if(G=h-S,!(!oe&&G<0)){if(G/=oe,oe<0){if(G>B)return;G>D&&(D=G)}else if(oe>0){if(G<D)return;G<B&&(B=G)}if(G=f-k,!(!le&&G>0)){if(G/=le,le<0){if(G<D)return;G<B&&(B=G)}else if(le>0){if(G>B)return;G>D&&(D=G)}if(G=p-k,!(!le&&G<0)){if(G/=le,le<0){if(G>B)return;G>D&&(D=G)}else if(le>0){if(G<D)return;G<B&&(B=G)}return D>0&&(m.a={x:S+D*oe,y:k+D*le}),B<1&&(m.b={x:S+B*oe,y:k+B*le}),m}}}}}}function vc(l){for(var f=_o,h=pc(l[0][0],l[0][1],l[1][0],l[1][1]),p=f.length,m;p--;)m=f[p],(!Lu(m,l)||!h(m)||_(m.a.x-m.b.x)<ir&&_(m.a.y-m.b.y)<ir)&&(m.a=m.b=null,f.splice(p,1))}function Lu(l,f){var h=l.b;if(h)return!0;var p=l.a,m=f[0][0],b=f[1][0],O=f[0][1],S=f[1][1],k=l.l,F=l.r,L=k.x,D=k.y,B=F.x,oe=F.y,le=(L+B)/2,G=(D+oe)/2,Q,te;if(oe===D){if(le<m||le>=b)return;if(L>B){if(!p)p={x:le,y:O};else if(p.y>=S)return;h={x:le,y:S}}else{if(!p)p={x:le,y:S};else if(p.y<O)return;h={x:le,y:O}}}else if(Q=(L-B)/(oe-D),te=G-Q*le,Q<-1||Q>1)if(L>B){if(!p)p={x:(O-te)/Q,y:O};else if(p.y>=S)return;h={x:(S-te)/Q,y:S}}else{if(!p)p={x:(S-te)/Q,y:S};else if(p.y<O)return;h={x:(O-te)/Q,y:O}}else if(D<oe){if(!p)p={x:m,y:Q*m+te};else if(p.x>=b)return;h={x:b,y:Q*b+te}}else{if(!p)p={x:b,y:Q*b+te};else if(p.x<m)return;h={x:m,y:Q*m+te}}return l.a=p,l.b=h,!0}function Vp(l,f){this.l=l,this.r=f,this.a=this.b=null}function $u(l,f,h,p){var m=new Vp(l,f);return _o.push(m),h&&So(m,l,f,h),p&&So(m,f,l,p),$a[l.i].edges.push(new ls(m,l,f)),$a[f.i].edges.push(new ls(m,f,l)),m}function Ly(l,f,h){var p=new Vp(l,null);return p.a=f,p.b=h,_o.push(p),p}function So(l,f,h,p){!l.a&&!l.b?(l.a=p,l.l=f,l.r=h):l.l===h?l.b=p:l.a=p}function ls(l,f,h){var p=l.a,m=l.b;this.edge=l,this.site=f,this.angle=h?Math.atan2(h.y-f.y,h.x-f.x):l.l===f?Math.atan2(m.x-p.x,p.y-m.y):Math.atan2(p.x-m.x,m.y-p.y)}ls.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 mc(){this._=null}function ss(l){l.U=l.C=l.L=l.R=l.P=l.N=null}mc.prototype={insert:function(l,f){var h,p,m;if(l){if(f.P=l,f.N=l.N,l.N&&(l.N.P=f),l.N=f,l.R){for(l=l.R;l.L;)l=l.L;l.L=f}else l.R=f;h=l}else this._?(l=fs(this._),f.P=null,f.N=l,l.P=l.L=f,h=l):(f.P=f.N=null,this._=f,h=null);for(f.L=f.R=null,f.U=h,f.C=!0,l=f;h&&h.C;)p=h.U,h===p.L?(m=p.R,m&&m.C?(h.C=m.C=!1,p.C=!0,l=p):(l===h.R&&(Ua(this,h),l=h,h=l.U),h.C=!1,p.C=!0,Du(this,p))):(m=p.L,m&&m.C?(h.C=m.C=!1,p.C=!0,l=p):(l===h.L&&(Du(this,h),l=h,h=l.U),h.C=!1,p.C=!0,Ua(this,p))),h=l.U;this._.C=!1},remove:function(l){l.N&&(l.N.P=l.P),l.P&&(l.P.N=l.N),l.N=l.P=null;var f=l.U,h,p=l.L,m=l.R,b,O;if(p?m?b=fs(m):b=p:b=m,f?f.L===l?f.L=b:f.R=b:this._=b,p&&m?(O=b.C,b.C=l.C,b.L=p,p.U=b,b!==m?(f=b.U,b.U=l.U,l=b.R,f.L=l,b.R=m,m.U=b):(b.U=f,f=b,l=b.R)):(O=l.C,l=b),l&&(l.U=f),!O){if(l&&l.C){l.C=!1;return}do{if(l===this._)break;if(l===f.L){if(h=f.R,h.C&&(h.C=!1,f.C=!0,Ua(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,Du(this,h),h=f.R),h.C=f.C,f.C=h.R.C=!1,Ua(this,f),l=this._;break}}else if(h=f.L,h.C&&(h.C=!1,f.C=!0,Du(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,Ua(this,h),h=f.L),h.C=f.C,f.C=h.L.C=!1,Du(this,f),l=this._;break}h.C=!0,l=f,f=f.U}while(!l.C);l&&(l.C=!1)}}};function Ua(l,f){var h=f,p=f.R,m=h.U;m?m.L===h?m.L=p:m.R=p:l._=p,p.U=m,h.U=p,h.R=p.L,h.R&&(h.R.U=h),p.L=h}function Du(l,f){var h=f,p=f.L,m=h.U;m?m.L===h?m.L=p:m.R=p:l._=p,p.U=m,h.U=p,h.L=p.R,h.L&&(h.L.U=h),p.R=h}function fs(l){for(;l.L;)l=l.L;return l}function cs(l,f){var h=l.sort(Yp).pop(),p,m,b;for(_o=[],$a=new Array(l.length),fa=new mc,Da=new mc;;)if(b=Fu,h&&(!b||h.y<b.y||h.y===b.y&&h.x<b.x))(h.x!==p||h.y!==m)&&($a[h.i]=new hc(h),Gp(h),p=h.x,m=h.y),h=l.pop();else if(b)fc(b.arc);else break;f&&(vc(f),Wp(f));var O={cells:$a,edges:_o};return fa=Da=_o=$a=null,O}function Yp(l,f){return f.y-l.y||f.x-l.x}t.geom.voronoi=function(l){var f=zi,h=Ui,p=f,m=h,b=Eo;if(l)return O(l);function O(k){var F=new Array(k.length),L=b[0][0],D=b[0][1],B=b[1][0],oe=b[1][1];return cs(S(k),b).cells.forEach(function(le,G){var Q=le.edges,te=le.site,se=F[G]=Q.length?Q.map(function(fe){var ie=fe.start();return[ie.x,ie.y]}):te.x>=L&&te.x<=B&&te.y>=D&&te.y<=oe?[[L,oe],[B,oe],[B,D],[L,D]]:[];se.point=k[G]}),F}function S(k){return k.map(function(F,L){return{x:Math.round(p(F,L)/ir)*ir,y:Math.round(m(F,L)/ir)*ir,i:L}})}return O.links=function(k){return cs(S(k)).edges.filter(function(F){return F.l&&F.r}).map(function(F){return{source:k[F.l.i],target:k[F.r.i]}})},O.triangles=function(k){var F=[];return cs(S(k)).cells.forEach(function(L,D){for(var B=L.site,oe=L.edges.sort(dc),le=-1,G=oe.length,Q,te=oe[G-1].edge,se=te.l===B?te.r:te.l;++le<G;)Q=se,te=oe[le].edge,se=te.l===B?te.r:te.l,D<Q.i&&D<se.i&&$y(B,Q,se)<0&&F.push([k[D],k[Q.i],k[se.i]])}),F},O.x=function(k){return arguments.length?(p=mr(f=k),O):f},O.y=function(k){return arguments.length?(m=mr(h=k),O):h},O.clipExtent=function(k){return arguments.length?(b=k??Eo,O):b===Eo?null:b},O.size=function(k){return arguments.length?O.clipExtent(k&&[[0,0],k]):b===Eo?null:b&&b[1]},O};var Eo=[[-1e6,-1e6],[1e6,1e6]];function $y(l,f,h){return(l.x-h.x)*(f.y-l.y)-(l.x-f.x)*(h.y-l.y)}t.geom.delaunay=function(l){return t.geom.voronoi().triangles(l)},t.geom.quadtree=function(l,f,h,p,m){var b=zi,O=Ui,S;if(S=arguments.length)return b=hs,O=Dy,S===3&&(m=h,p=f,h=f=0),k(l);function k(F){var L,D=mr(b),B=mr(O),oe,le,G,Q,te,se,fe,ie;if(f!=null)te=f,se=h,fe=p,ie=m;else if(fe=ie=-(te=se=1/0),oe=[],le=[],Q=F.length,S)for(G=0;G<Q;++G)L=F[G],L.x<te&&(te=L.x),L.y<se&&(se=L.y),L.x>fe&&(fe=L.x),L.y>ie&&(ie=L.y),oe.push(L.x),le.push(L.y);else for(G=0;G<Q;++G){var Ne=+D(L=F[G],G),je=+B(L,G);Ne<te&&(te=Ne),je<se&&(se=je),Ne>fe&&(fe=Ne),je>ie&&(ie=je),oe.push(Ne),le.push(je)}var rt=fe-te,He=ie-se;rt>He?ie=se+rt:fe=te+He;function ot(wt,Gt,ar,Ir,dr,nt,qt,Kt){if(!(isNaN(ar)||isNaN(Ir)))if(wt.leaf){var or=wt.x,Tr=wt.y;if(or!=null)if(_(or-ar)+_(Tr-Ir)<.01)gt(wt,Gt,ar,Ir,dr,nt,qt,Kt);else{var Ur=wt.point;wt.x=wt.y=wt.point=null,gt(wt,Ur,or,Tr,dr,nt,qt,Kt),gt(wt,Gt,ar,Ir,dr,nt,qt,Kt)}else wt.x=ar,wt.y=Ir,wt.point=Gt}else gt(wt,Gt,ar,Ir,dr,nt,qt,Kt)}function gt(wt,Gt,ar,Ir,dr,nt,qt,Kt){var or=(dr+qt)*.5,Tr=(nt+Kt)*.5,Ur=ar>=or,Xr=Ir>=Tr,mn=Xr<<1|Ur;wt.leaf=!1,wt=wt.nodes[mn]||(wt.nodes[mn]=Xp()),Ur?dr=or:qt=or,Xr?nt=Tr:Kt=Tr,ot(wt,Gt,ar,Ir,dr,nt,qt,Kt)}var Wt=Xp();if(Wt.add=function(wt){ot(Wt,wt,+D(wt,++G),+B(wt,G),te,se,fe,ie)},Wt.visit=function(wt){Bu(wt,Wt,te,se,fe,ie)},Wt.find=function(wt){return By(Wt,wt[0],wt[1],te,se,fe,ie)},G=-1,f==null){for(;++G<Q;)ot(Wt,F[G],oe[G],le[G],te,se,fe,ie);--G}else F.forEach(Wt.add);return oe=le=F=L=null,Wt}return k.x=function(F){return arguments.length?(b=F,k):b},k.y=function(F){return arguments.length?(O=F,k):O},k.extent=function(F){return arguments.length?(F==null?f=h=p=m=null:(f=+F[0][0],h=+F[0][1],p=+F[1][0],m=+F[1][1]),k):f==null?null:[[f,h],[p,m]]},k.size=function(F){return arguments.length?(F==null?f=h=p=m=null:(f=h=0,p=+F[0],m=+F[1]),k):f==null?null:[p-f,m-h]},k};function hs(l){return l.x}function Dy(l){return l.y}function Xp(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Bu(l,f,h,p,m,b){if(!l(f,h,p,m,b)){var O=(h+m)*.5,S=(p+b)*.5,k=f.nodes;k[0]&&Bu(l,k[0],h,p,O,S),k[1]&&Bu(l,k[1],O,p,m,S),k[2]&&Bu(l,k[2],h,S,O,b),k[3]&&Bu(l,k[3],O,S,m,b)}}function By(l,f,h,p,m,b,O){var S=1/0,k;return function F(L,D,B,oe,le){if(!(D>b||B>O||oe<p||le<m)){if(G=L.point){var G,Q=f-L.x,te=h-L.y,se=Q*Q+te*te;if(se<S){var fe=Math.sqrt(S=se);p=f-fe,m=h-fe,b=f+fe,O=h+fe,k=G}}for(var ie=L.nodes,Ne=(D+oe)*.5,je=(B+le)*.5,rt=f>=Ne,He=h>=je,ot=He<<1|rt,gt=ot+4;ot<gt;++ot)if(L=ie[ot&3])switch(ot&3){case 0:F(L,D,B,Ne,je);break;case 1:F(L,Ne,B,oe,je);break;case 2:F(L,D,je,Ne,le);break;case 3:F(L,Ne,je,oe,le);break}}}(l,p,m,b,O),k}t.interpolateRgb=gc;function gc(l,f){l=t.rgb(l),f=t.rgb(f);var h=l.r,p=l.g,m=l.b,b=f.r-h,O=f.g-p,S=f.b-m;return function(k){return"#"+go(Math.round(h+b*k))+go(Math.round(p+O*k))+go(Math.round(m+S*k))}}t.interpolateObject=Kp;function Kp(l,f){var h={},p={},m;for(m in l)m in f?h[m]=Ei(l[m],f[m]):p[m]=l[m];for(m in f)m in l||(p[m]=f[m]);return function(b){for(m in h)p[m]=h[m](b);return p}}t.interpolateNumber=ji;function ji(l,f){return l=+l,f=+f,function(h){return l*(1-h)+f*h}}t.interpolateString=yc;function yc(l,f){var h=ja.lastIndex=bc.lastIndex=0,p,m,b,O=-1,S=[],k=[];for(l=l+"",f=f+"";(p=ja.exec(l))&&(m=bc.exec(f));)(b=m.index)>h&&(b=f.slice(h,b),S[O]?S[O]+=b:S[++O]=b),(p=p[0])===(m=m[0])?S[O]?S[O]+=m:S[++O]=m:(S[++O]=null,k.push({i:O,x:ji(p,m)})),h=bc.lastIndex;return h<f.length&&(b=f.slice(h),S[O]?S[O]+=b:S[++O]=b),S.length<2?k[0]?(f=k[0].x,function(F){return f(F)+""}):function(){return f}:(f=k.length,function(F){for(var L=0,D;L<f;++L)S[(D=k[L]).i]=D.x(F);return S.join("")})}var ja=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,bc=new RegExp(ja.source,"g");t.interpolate=Ei;function Ei(l,f){for(var h=t.interpolators.length,p;--h>=0&&!(p=t.interpolators[h](l,f)););return p}t.interpolators=[function(l,f){var h=typeof f;return(h==="string"?yo.has(f.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(f)?gc:yc:f instanceof oa?gc:Array.isArray(f)?Pn:h==="object"&&isNaN(f)?Kp:ji)(l,f)}],t.interpolateArray=Pn;function Pn(l,f){var h=[],p=[],m=l.length,b=f.length,O=Math.min(l.length,f.length),S;for(S=0;S<O;++S)h.push(Ei(l[S],f[S]));for(;S<m;++S)p[S]=l[S];for(;S<b;++S)p[S]=f[S];return function(k){for(S=0;S<O;++S)p[S]=h[S](k);return p}}var Ga=function(){return it},Qp=t.map({linear:Ga,poly:en,quad:function(){return ev},cubic:function(){return zy},sin:function(){return tv},exp:function(){return rv},circle:function(){return Ha},elastic:nv,back:iv,bounce:function(){return Uy}}),Zp=t.map({in:it,out:xc,"in-out":wc,"out-in":function(l){return wc(xc(l))}});t.ease=function(l){var f=l.indexOf("-"),h=f>=0?l.slice(0,f):l,p=f>=0?l.slice(f+1):"in";return h=Qp.get(h)||Ga,p=Zp.get(p)||it,Jp(p(h.apply(null,r.call(arguments,1))))};function Jp(l){return function(f){return f<=0?0:f>=1?1:l(f)}}function xc(l){return function(f){return 1-l(1-f)}}function wc(l){return function(f){return .5*(f<.5?l(2*f):2-l(2-2*f))}}function ev(l){return l*l}function zy(l){return l*l*l}function Ao(l){if(l<=0)return 0;if(l>=1)return 1;var f=l*l,h=f*l;return 4*(l<.5?h:3*(l-f)+h-.75)}function en(l){return function(f){return Math.pow(f,l)}}function tv(l){return 1-Math.cos(l*Si)}function rv(l){return Math.pow(2,10*(l-1))}function Ha(l){return 1-Math.sqrt(1-l*l)}function nv(l,f){var h;return arguments.length<2&&(f=.45),arguments.length?h=f/mo*Math.asin(1/l):(l=1,h=f/4),function(p){return 1+l*Math.pow(2,-10*p)*Math.sin((p-h)*mo/f)}}function iv(l){return l||(l=1.70158),function(f){return f*f*((l+1)*f-l)}}function Uy(l){return l<1/2.75?7.5625*l*l:l<2/2.75?7.5625*(l-=1.5/2.75)*l+.75:l<2.5/2.75?7.5625*(l-=2.25/2.75)*l+.9375:7.5625*(l-=2.625/2.75)*l+.984375}t.interpolateHcl=jy;function jy(l,f){l=t.hcl(l),f=t.hcl(f);var h=l.h,p=l.c,m=l.l,b=f.h-h,O=f.c-p,S=f.l-m;return isNaN(O)&&(O=0,p=isNaN(p)?f.c:p),isNaN(b)?(b=0,h=isNaN(h)?f.h:h):b>180?b-=360:b<-180&&(b+=360),function(k){return ku(h+b*k,p+O*k,m+S*k)+""}}t.interpolateHsl=Gy;function Gy(l,f){l=t.hsl(l),f=t.hsl(f);var h=l.h,p=l.s,m=l.l,b=f.h-h,O=f.s-p,S=f.l-m;return isNaN(O)&&(O=0,p=isNaN(p)?f.s:p),isNaN(b)?(b=0,h=isNaN(h)?f.h:h):b>180?b-=360:b<-180&&(b+=360),function(k){return Jl(h+b*k,p+O*k,m+S*k)+""}}t.interpolateLab=Hy;function Hy(l,f){l=t.lab(l),f=t.lab(f);var h=l.l,p=l.a,m=l.b,b=f.l-h,O=f.a-p,S=f.b-m;return function(k){return $p(h+b*k,p+O*k,m+S*k)+""}}t.interpolateRound=ds;function ds(l,f){return f-=l,function(h){return Math.round(l+f*h)}}t.transform=function(l){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 _c(p?p.matrix:Wy)})(l)};function _c(l){var f=[l.a,l.b],h=[l.c,l.d],p=Sc(f),m=av(f,h),b=Sc(ov(h,f,-m))||0;f[0]*h[1]<h[0]*f[1]&&(f[0]*=-1,f[1]*=-1,p*=-1,m*=-1),this.rotate=(p?Math.atan2(f[1],f[0]):Math.atan2(-h[0],h[1]))*Cu,this.translate=[l.e,l.f],this.scale=[p,b],this.skew=b?Math.atan2(m,b)*Cu:0}_c.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function av(l,f){return l[0]*f[0]+l[1]*f[1]}function Sc(l){var f=Math.sqrt(av(l,l));return f&&(l[0]/=f,l[1]/=f),f}function ov(l,f,h){return l[0]+=h*f[0],l[1]+=h*f[1],l}var Wy={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=Ec;function Gi(l){return l.length?l.pop()+",":""}function qy(l,f,h,p){if(l[0]!==f[0]||l[1]!==f[1]){var m=h.push("translate(",null,",",null,")");p.push({i:m-4,x:ji(l[0],f[0])},{i:m-2,x:ji(l[1],f[1])})}else(f[0]||f[1])&&h.push("translate("+f+")")}function ca(l,f,h,p){l!==f?(l-f>180?f+=360:f-l>180&&(l+=360),p.push({i:h.push(Gi(h)+"rotate(",null,")")-2,x:ji(l,f)})):f&&h.push(Gi(h)+"rotate("+f+")")}function ps(l,f,h,p){l!==f?p.push({i:h.push(Gi(h)+"skewX(",null,")")-2,x:ji(l,f)}):f&&h.push(Gi(h)+"skewX("+f+")")}function uv(l,f,h,p){if(l[0]!==f[0]||l[1]!==f[1]){var m=h.push(Gi(h)+"scale(",null,",",null,")");p.push({i:m-4,x:ji(l[0],f[0])},{i:m-2,x:ji(l[1],f[1])})}else(f[0]!==1||f[1]!==1)&&h.push(Gi(h)+"scale("+f+")")}function Ec(l,f){var h=[],p=[];return l=t.transform(l),f=t.transform(f),qy(l.translate,f.translate,h,p),ca(l.rotate,f.rotate,h,p),ps(l.skew,f.skew,h,p),uv(l.scale,f.scale,h,p),l=f=null,function(m){for(var b=-1,O=p.length,S;++b<O;)h[(S=p[b]).i]=S.x(m);return h.join("")}}function lv(l,f){return f=(f-=l=+l)||1/f,function(h){return(h-l)/f}}function sv(l,f){return f=(f-=l=+l)||1/f,function(h){return Math.max(0,Math.min(1,(h-l)/f))}}t.layout={},t.layout.bundle=function(){return function(l){for(var f=[],h=-1,p=l.length;++h<p;)f.push(fv(l[h]));return f}};function fv(l){for(var f=l.source,h=l.target,p=cv(f,h),m=[f];f!==p;)f=f.parent,m.push(f);for(var b=m.length;h!==p;)m.splice(b,0,h),h=h.parent;return m}function Ac(l){for(var f=[],h=l.parent;h!=null;)f.push(l),l=h,h=h.parent;return f.push(l),f}function cv(l,f){if(l===f)return l;for(var h=Ac(l),p=Ac(f),m=h.pop(),b=p.pop(),O=null;m===b;)O=m,m=h.pop(),b=p.pop();return O}t.layout.chord=function(){var l={},f,h,p,m,b=0,O,S,k;function F(){var D={},B=[],oe=t.range(m),le=[],G,Q,te,se,fe;for(f=[],h=[],G=0,se=-1;++se<m;){for(Q=0,fe=-1;++fe<m;)Q+=p[se][fe];B.push(Q),le.push(t.range(m)),G+=Q}for(O&&oe.sort(function(Wt,wt){return O(B[Wt],B[wt])}),S&&le.forEach(function(Wt,wt){Wt.sort(function(Gt,ar){return S(p[wt][Gt],p[wt][ar])})}),G=(mo-b*m)/G,Q=0,se=-1;++se<m;){for(te=Q,fe=-1;++fe<m;){var ie=oe[se],Ne=le[ie][fe],je=p[ie][Ne],rt=Q,He=Q+=je*G;D[ie+"-"+Ne]={index:ie,subindex:Ne,startAngle:rt,endAngle:He,value:je}}h[ie]={index:ie,startAngle:te,endAngle:Q,value:B[ie]},Q+=b}for(se=-1;++se<m;)for(fe=se-1;++fe<m;){var ot=D[se+"-"+fe],gt=D[fe+"-"+se];(ot.value||gt.value)&&f.push(ot.value<gt.value?{source:gt,target:ot}:{source:ot,target:gt})}k&&L()}function L(){f.sort(function(D,B){return k((D.source.value+D.target.value)/2,(B.source.value+B.target.value)/2)})}return l.matrix=function(D){return arguments.length?(m=(p=D)&&p.length,f=h=null,l):p},l.padding=function(D){return arguments.length?(b=D,f=h=null,l):b},l.sortGroups=function(D){return arguments.length?(O=D,f=h=null,l):O},l.sortSubgroups=function(D){return arguments.length?(S=D,f=null,l):S},l.sortChords=function(D){return arguments.length?(k=D,f&&L(),l):k},l.chords=function(){return f||F(),f},l.groups=function(){return h||F(),h},l},t.layout.force=function(){var l={},f=t.dispatch("start","tick","end"),h,p=[1,1],m,b,O=.9,S=Hi,k=Cc,F=-30,L=Co,D=.1,B=.64,oe=[],le=[],G,Q,te;function se(ie){return function(Ne,je,rt,He){if(Ne.point!==ie){var ot=Ne.cx-ie.x,gt=Ne.cy-ie.y,Wt=He-je,wt=ot*ot+gt*gt;if(Wt*Wt/B<wt){if(wt<L){var Gt=Ne.charge/wt;ie.px-=ot*Gt,ie.py-=gt*Gt}return!0}if(Ne.point&&wt&&wt<L){var Gt=Ne.pointCharge/wt;ie.px-=ot*Gt,ie.py-=gt*Gt}}return!Ne.charge}}l.tick=function(){if((b*=.99)<.005)return h=null,f.end({type:"end",alpha:b=0}),!0;var ie=oe.length,Ne=le.length,je,rt,He,ot,gt,Wt,wt,Gt,ar;for(rt=0;rt<Ne;++rt)He=le[rt],ot=He.source,gt=He.target,Gt=gt.x-ot.x,ar=gt.y-ot.y,(Wt=Gt*Gt+ar*ar)&&(Wt=b*Q[rt]*((Wt=Math.sqrt(Wt))-G[rt])/Wt,Gt*=Wt,ar*=Wt,gt.x-=Gt*(wt=ot.weight+gt.weight?ot.weight/(ot.weight+gt.weight):.5),gt.y-=ar*wt,ot.x+=Gt*(wt=1-wt),ot.y+=ar*wt);if((wt=b*D)&&(Gt=p[0]/2,ar=p[1]/2,rt=-1,wt))for(;++rt<ie;)He=oe[rt],He.x+=(Gt-He.x)*wt,He.y+=(ar-He.y)*wt;if(F)for(vv(je=t.geom.quadtree(oe),b,te),rt=-1;++rt<ie;)(He=oe[rt]).fixed||je.visit(se(He));for(rt=-1;++rt<ie;)He=oe[rt],He.fixed?(He.x=He.px,He.y=He.py):(He.x-=(He.px-(He.px=He.x))*O,He.y-=(He.py-(He.py=He.y))*O);f.tick({type:"tick",alpha:b})},l.nodes=function(ie){return arguments.length?(oe=ie,l):oe},l.links=function(ie){return arguments.length?(le=ie,l):le},l.size=function(ie){return arguments.length?(p=ie,l):p},l.linkDistance=function(ie){return arguments.length?(S=typeof ie=="function"?ie:+ie,l):S},l.distance=l.linkDistance,l.linkStrength=function(ie){return arguments.length?(k=typeof ie=="function"?ie:+ie,l):k},l.friction=function(ie){return arguments.length?(O=+ie,l):O},l.charge=function(ie){return arguments.length?(F=typeof ie=="function"?ie:+ie,l):F},l.chargeDistance=function(ie){return arguments.length?(L=ie*ie,l):Math.sqrt(L)},l.gravity=function(ie){return arguments.length?(D=+ie,l):D},l.theta=function(ie){return arguments.length?(B=ie*ie,l):Math.sqrt(B)},l.alpha=function(ie){return arguments.length?(ie=+ie,b?ie>0?b=ie:(h.c=null,h.t=NaN,h=null,f.end({type:"end",alpha:b=0})):ie>0&&(f.start({type:"start",alpha:b=ie}),h=bo(l.tick)),l):b},l.start=function(){var ie,Ne=oe.length,je=le.length,rt=p[0],He=p[1],ot,gt;for(ie=0;ie<Ne;++ie)(gt=oe[ie]).index=ie,gt.weight=0;for(ie=0;ie<je;++ie)gt=le[ie],typeof gt.source=="number"&&(gt.source=oe[gt.source]),typeof gt.target=="number"&&(gt.target=oe[gt.target]),++gt.source.weight,++gt.target.weight;for(ie=0;ie<Ne;++ie)gt=oe[ie],isNaN(gt.x)&&(gt.x=Wt("x",rt)),isNaN(gt.y)&&(gt.y=Wt("y",He)),isNaN(gt.px)&&(gt.px=gt.x),isNaN(gt.py)&&(gt.py=gt.y);if(G=[],typeof S=="function")for(ie=0;ie<je;++ie)G[ie]=+S.call(this,le[ie],ie);else for(ie=0;ie<je;++ie)G[ie]=S;if(Q=[],typeof k=="function")for(ie=0;ie<je;++ie)Q[ie]=+k.call(this,le[ie],ie);else for(ie=0;ie<je;++ie)Q[ie]=k;if(te=[],typeof F=="function")for(ie=0;ie<Ne;++ie)te[ie]=+F.call(this,oe[ie],ie);else for(ie=0;ie<Ne;++ie)te[ie]=F;function Wt(wt,Gt){if(!ot){for(ot=new Array(Ne),dr=0;dr<Ne;++dr)ot[dr]=[];for(dr=0;dr<je;++dr){var ar=le[dr];ot[ar.source.index].push(ar.target),ot[ar.target.index].push(ar.source)}}for(var Ir=ot[ie],dr=-1,nt=Ir.length,qt;++dr<nt;)if(!isNaN(qt=Ir[dr][wt]))return qt;return Math.random()*Gt}return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){if(m||(m=t.behavior.drag().origin(it).on("dragstart.force",hv).on("drag.force",fe).on("dragend.force",dv)),!arguments.length)return m;this.on("mouseover.force",hi).on("mouseout.force",pv).call(m)};function fe(ie){ie.px=t.event.x,ie.py=t.event.y,l.resume()}return t.rebind(l,f,"on")};function hv(l){l.fixed|=2}function dv(l){l.fixed&=-7}function hi(l){l.fixed|=4,l.px=l.x,l.py=l.y}function pv(l){l.fixed&=-5}function vv(l,f,h){var p=0,m=0;if(l.charge=0,!l.leaf)for(var b=l.nodes,O=b.length,S=-1,k;++S<O;)k=b[S],k!=null&&(vv(k,f,h),l.charge+=k.charge,p+=k.charge*k.cx,m+=k.charge*k.cy);if(l.point){l.leaf||(l.point.x+=Math.random()-.5,l.point.y+=Math.random()-.5);var F=f*h[l.point.index];l.charge+=l.pointCharge=F,p+=F*l.point.x,m+=F*l.point.y}l.cx=p/l.charge,l.cy=m/l.charge}var Hi=20,Cc=1,Co=1/0;t.layout.hierarchy=function(){var l=Vy,f=mv,h=gv;function p(m){var b=[m],O=[],S;for(m.depth=0;(S=b.pop())!=null;)if(O.push(S),(F=f.call(p,S,S.depth))&&(k=F.length)){for(var k,F,L;--k>=0;)b.push(L=F[k]),L.parent=S,L.depth=S.depth+1;h&&(S.value=0),S.children=F}else h&&(S.value=+h.call(p,S,S.depth)||0),delete S.children;return di(m,function(D){var B,oe;l&&(B=D.children)&&B.sort(l),h&&(oe=D.parent)&&(oe.value+=D.value)}),O}return p.sort=function(m){return arguments.length?(l=m,p):l},p.children=function(m){return arguments.length?(f=m,p):f},p.value=function(m){return arguments.length?(h=m,p):h},p.revalue=function(m){return h&&(Oo(m,function(b){b.children&&(b.value=0)}),di(m,function(b){var O;b.children||(b.value=+h.call(p,b,b.depth)||0),(O=b.parent)&&(O.value+=b.value)})),m},p};function To(l,f){return t.rebind(l,f,"sort","children","value"),l.nodes=l,l.links=Yy,l}function Oo(l,f){for(var h=[l];(l=h.pop())!=null;)if(f(l),(m=l.children)&&(p=m.length))for(var p,m;--p>=0;)h.push(m[p])}function di(l,f){for(var h=[l],p=[];(l=h.pop())!=null;)if(p.push(l),(O=l.children)&&(b=O.length))for(var m=-1,b,O;++m<b;)h.push(O[m]);for(;(l=p.pop())!=null;)f(l)}function mv(l){return l.children}function gv(l){return l.value}function Vy(l,f){return f.value-l.value}function Yy(l){return t.merge(l.map(function(f){return(f.children||[]).map(function(h){return{source:f,target:h}})}))}t.layout.partition=function(){var l=t.layout.hierarchy(),f=[1,1];function h(b,O,S,k){var F=b.children;if(b.x=O,b.y=b.depth*k,b.dx=S,b.dy=k,F&&(D=F.length)){var L=-1,D,B,oe;for(S=b.value?S/b.value:0;++L<D;)h(B=F[L],O,oe=B.value*S,k),O+=oe}}function p(b){var O=b.children,S=0;if(O&&(F=O.length))for(var k=-1,F;++k<F;)S=Math.max(S,p(O[k]));return 1+S}function m(b,O){var S=l.call(this,b,O);return h(S[0],0,f[0],f[1]/p(S[0])),S}return m.size=function(b){return arguments.length?(f=b,m):f},To(m,l)},t.layout.pie=function(){var l=Number,f=yv,h=0,p=mo,m=0;function b(O){var S=O.length,k=O.map(function(se,fe){return+l.call(b,se,fe)}),F=+(typeof h=="function"?h.apply(this,arguments):h),L=(typeof p=="function"?p.apply(this,arguments):p)-F,D=Math.min(Math.abs(L)/S,+(typeof m=="function"?m.apply(this,arguments):m)),B=D*(L<0?-1:1),oe=t.sum(k),le=oe?(L-S*B)/oe:0,G=t.range(S),Q=[],te;return f!=null&&G.sort(f===yv?function(se,fe){return k[fe]-k[se]}:function(se,fe){return f(O[se],O[fe])}),G.forEach(function(se){Q[se]={data:O[se],value:te=k[se],startAngle:F,endAngle:F+=te*le+B,padAngle:D}}),Q}return b.value=function(O){return arguments.length?(l=O,b):l},b.sort=function(O){return arguments.length?(f=O,b):f},b.startAngle=function(O){return arguments.length?(h=O,b):h},b.endAngle=function(O){return arguments.length?(p=O,b):p},b.padAngle=function(O){return arguments.length?(m=O,b):m},b};var yv={};t.layout.stack=function(){var l=it,f=Oc,h=Mc,p=Qy,m=Xy,b=Ky;function O(S,k){if(!(le=S.length))return S;var F=S.map(function(se,fe){return l.call(O,se,fe)}),L=F.map(function(se){return se.map(function(fe,ie){return[m.call(O,fe,ie),b.call(O,fe,ie)]})}),D=f.call(O,L,k);F=t.permute(F,D),L=t.permute(L,D);var B=h.call(O,L,k),oe=F[0].length,le,G,Q,te;for(Q=0;Q<oe;++Q)for(p.call(O,F[0][Q],te=B[Q],L[0][Q][1]),G=1;G<le;++G)p.call(O,F[G][Q],te+=L[G-1][Q][1],L[G][Q][1]);return S}return O.values=function(S){return arguments.length?(l=S,O):l},O.order=function(S){return arguments.length?(f=typeof S=="function"?S:Tc.get(S)||Oc,O):f},O.offset=function(S){return arguments.length?(h=typeof S=="function"?S:vs.get(S)||Mc,O):h},O.x=function(S){return arguments.length?(m=S,O):m},O.y=function(S){return arguments.length?(b=S,O):b},O.out=function(S){return arguments.length?(p=S,O):p},O};function Xy(l){return l.x}function Ky(l){return l.y}function Qy(l,f,h){l.y0=f,l.y=h}var Tc=t.map({"inside-out":function(l){var f=l.length,h,p,m=l.map(bv),b=l.map(ms),O=t.range(f).sort(function(D,B){return m[D]-m[B]}),S=0,k=0,F=[],L=[];for(h=0;h<f;++h)p=O[h],S<k?(S+=b[p],F.push(p)):(k+=b[p],L.push(p));return L.reverse().concat(F)},reverse:function(l){return t.range(l.length).reverse()},default:Oc}),vs=t.map({silhouette:function(l){var f=l.length,h=l[0].length,p=[],m=0,b,O,S,k=[];for(O=0;O<h;++O){for(b=0,S=0;b<f;b++)S+=l[b][O][1];S>m&&(m=S),p.push(S)}for(O=0;O<h;++O)k[O]=(m-p[O])/2;return k},wiggle:function(l){var f=l.length,h=l[0],p=h.length,m,b,O,S,k,F,L,D,B,oe=[];for(oe[0]=D=B=0,b=1;b<p;++b){for(m=0,S=0;m<f;++m)S+=l[m][b][1];for(m=0,k=0,L=h[b][0]-h[b-1][0];m<f;++m){for(O=0,F=(l[m][b][1]-l[m][b-1][1])/(2*L);O<m;++O)F+=(l[O][b][1]-l[O][b-1][1])/L;k+=F*l[m][b][1]}oe[b]=D-=S?k/S*L:0,D<B&&(B=D)}for(b=0;b<p;++b)oe[b]-=B;return oe},expand:function(l){var f=l.length,h=l[0].length,p=1/f,m,b,O,S=[];for(b=0;b<h;++b){for(m=0,O=0;m<f;m++)O+=l[m][b][1];if(O)for(m=0;m<f;m++)l[m][b][1]/=O;else for(m=0;m<f;m++)l[m][b][1]=p}for(b=0;b<h;++b)S[b]=0;return S},zero:Mc});function Oc(l){return t.range(l.length)}function Mc(l){for(var f=-1,h=l[0].length,p=[];++f<h;)p[f]=0;return p}function bv(l){for(var f=1,h=0,p=l[0][1],m,b=l.length;f<b;++f)(m=l[f][1])>p&&(h=f,p=m);return h}function ms(l){return l.reduce(kc,0)}function kc(l,f){return l+f[1]}t.layout.histogram=function(){var l=!0,f=Number,h=Jy,p=Zy;function m(b,B){for(var S=[],k=b.map(f,this),F=h.call(this,k,B),L=p.call(this,F,k,B),D,B=-1,oe=k.length,le=L.length-1,G=l?1:1/oe,Q;++B<le;)D=S[B]=[],D.dx=L[B+1]-(D.x=L[B]),D.y=0;if(le>0)for(B=-1;++B<oe;)Q=k[B],Q>=F[0]&&Q<=F[1]&&(D=S[t.bisect(L,Q,1,le)-1],D.y+=G,D.push(b[B]));return S}return m.value=function(b){return arguments.length?(f=b,m):f},m.range=function(b){return arguments.length?(h=mr(b),m):h},m.bins=function(b){return arguments.length?(p=typeof b=="number"?function(O){return Rc(O,b)}:mr(b),m):p},m.frequency=function(b){return arguments.length?(l=!!b,m):l},m};function Zy(l,f){return Rc(l,Math.ceil(Math.log(f.length)/Math.LN2+1))}function Rc(l,f){for(var h=-1,p=+l[0],m=(l[1]-p)/f,b=[];++h<=f;)b[h]=m*h+p;return b}function Jy(l){return[t.min(l),t.max(l)]}t.layout.pack=function(){var l=t.layout.hierarchy().sort(e1),f=0,h=[1,1],p;function m(b,O){var S=l.call(this,b,O),k=S[0],F=h[0],L=h[1],D=p==null?Math.sqrt:typeof p=="function"?p:function(){return p};if(k.x=k.y=0,di(k,function(oe){oe.r=+D(oe.value)}),di(k,Pc),f){var B=f*(p?1:Math.max(2*k.r/F,2*k.r/L))/2;di(k,function(oe){oe.r+=B}),di(k,Pc),di(k,function(oe){oe.r-=B})}return _v(k,F/2,L/2,p?1:1/Math.max(2*k.r/F,2*k.r/L)),S}return m.size=function(b){return arguments.length?(h=b,m):h},m.radius=function(b){return arguments.length?(p=b==null||typeof b=="function"?b:+b,m):p},m.padding=function(b){return arguments.length?(f=+b,m):f},To(m,l)};function e1(l,f){return l.value-f.value}function Ic(l,f){var h=l._pack_next;l._pack_next=f,f._pack_prev=l,f._pack_next=h,h._pack_prev=f}function xv(l,f){l._pack_next=f,f._pack_prev=l}function wv(l,f){var h=f.x-l.x,p=f.y-l.y,m=l.r+f.r;return .999*m*m>h*h+p*p}function Pc(l){if(!(f=l.children)||!(B=f.length))return;var f,h=1/0,p=-1/0,m=1/0,b=-1/0,O,S,k,F,L,D,B;function oe(ie){h=Math.min(ie.x-ie.r,h),p=Math.max(ie.x+ie.r,p),m=Math.min(ie.y-ie.r,m),b=Math.max(ie.y+ie.r,b)}if(f.forEach(t1),O=f[0],O.x=-O.r,O.y=0,oe(O),B>1&&(S=f[1],S.x=S.r,S.y=0,oe(S),B>2))for(k=f[2],Sv(O,S,k),oe(k),Ic(O,k),O._pack_prev=k,Ic(k,S),S=O._pack_next,F=3;F<B;F++){Sv(O,S,k=f[F]);var le=0,G=1,Q=1;for(L=S._pack_next;L!==S;L=L._pack_next,G++)if(wv(L,k)){le=1;break}if(le==1)for(D=O._pack_prev;D!==L._pack_prev&&!wv(D,k);D=D._pack_prev,Q++);le?(G<Q||G==Q&&S.r<O.r?xv(O,S=L):xv(O=D,S),F--):(Ic(O,k),S=k,oe(k))}var te=(h+p)/2,se=(m+b)/2,fe=0;for(F=0;F<B;F++)k=f[F],k.x-=te,k.y-=se,fe=Math.max(fe,k.r+Math.sqrt(k.x*k.x+k.y*k.y));l.r=fe,f.forEach(r1)}function t1(l){l._pack_next=l._pack_prev=l}function r1(l){delete l._pack_next,delete l._pack_prev}function _v(l,f,h,p){var m=l.children;if(l.x=f+=p*l.x,l.y=h+=p*l.y,l.r*=p,m)for(var b=-1,O=m.length;++b<O;)_v(m[b],f,h,p)}function Sv(l,f,h){var p=l.r+h.r,m=f.x-l.x,b=f.y-l.y;if(p&&(m||b)){var O=f.r+h.r,S=m*m+b*b;O*=O,p*=p;var k=.5+(p-O)/(2*S),F=Math.sqrt(Math.max(0,2*O*(p+S)-(p-=S)*p-O*O))/(2*S);h.x=l.x+k*m+F*b,h.y=l.y+k*b-F*m}else h.x=l.x+p,h.y=l.y}t.layout.tree=function(){var l=t.layout.hierarchy().sort(null).value(null),f=Ev,h=[1,1],p=null;function m(L,D){var B=l.call(this,L,D),oe=B[0],le=b(oe);if(di(le,O),le.parent.m=-le.z,Oo(le,S),p)Oo(oe,F);else{var G=oe,Q=oe,te=oe;Oo(oe,function(Ne){Ne.x<G.x&&(G=Ne),Ne.x>Q.x&&(Q=Ne),Ne.depth>te.depth&&(te=Ne)});var se=f(G,Q)/2-G.x,fe=h[0]/(Q.x+f(Q,G)/2+se),ie=h[1]/(te.depth||1);Oo(oe,function(Ne){Ne.x=(Ne.x+se)*fe,Ne.y=Ne.depth*ie})}return B}function b(L){for(var D={A:null,children:[L]},B=[D],oe;(oe=B.pop())!=null;)for(var le=oe.children,G,Q=0,te=le.length;Q<te;++Q)B.push((le[Q]=G={_:le[Q],parent:oe,children:(G=le[Q].children)&&G.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:Q}).a=G);return D.children[0]}function O(L){var D=L.children,B=L.parent.children,oe=L.i?B[L.i-1]:null;if(D.length){i1(L);var le=(D[0].z+D[D.length-1].z)/2;oe?(L.z=oe.z+f(L._,oe._),L.m=L.z-le):L.z=le}else oe&&(L.z=oe.z+f(L._,oe._));L.parent.A=k(L,oe,L.parent.A||B[0])}function S(L){L._.x=L.z+L.parent.m,L.m+=L.parent.m}function k(L,D,B){if(D){for(var oe=L,le=L,G=D,Q=oe.parent.children[0],te=oe.m,se=le.m,fe=G.m,ie=Q.m,Ne;G=Nc(G),oe=Fc(oe),G&&oe;)Q=Fc(Q),le=Nc(le),le.a=L,Ne=G.z+fe-oe.z-te+f(G._,oe._),Ne>0&&(n1(Ai(G,L,B),L,Ne),te+=Ne,se+=Ne),fe+=G.m,te+=oe.m,ie+=Q.m,se+=le.m;G&&!Nc(le)&&(le.t=G,le.m+=fe-se),oe&&!Fc(Q)&&(Q.t=oe,Q.m+=te-ie,B=L)}return B}function F(L){L.x*=h[0],L.y=L.depth*h[1]}return m.separation=function(L){return arguments.length?(f=L,m):f},m.size=function(L){return arguments.length?(p=(h=L)==null?F:null,m):p?null:h},m.nodeSize=function(L){return arguments.length?(p=(h=L)==null?null:F,m):p?h:null},To(m,l)};function Ev(l,f){return l.parent==f.parent?1:2}function Fc(l){var f=l.children;return f.length?f[0]:l.t}function Nc(l){var f=l.children,h;return(h=f.length)?f[h-1]:l.t}function n1(l,f,h){var p=h/(f.i-l.i);f.c-=p,f.s+=h,l.c+=p,f.z+=h,f.m+=h}function i1(l){for(var f=0,h=0,p=l.children,m=p.length,b;--m>=0;)b=p[m],b.z+=f,b.m+=f,f+=b.s+(h+=b.c)}function Ai(l,f,h){return l.a.parent===f.parent?l.a:h}t.layout.cluster=function(){var l=t.layout.hierarchy().sort(null).value(null),f=Ev,h=[1,1],p=!1;function m(b,O){var S=l.call(this,b,O),k=S[0],F,L=0;di(k,function(G){var Q=G.children;Q&&Q.length?(G.x=a1(Q),G.y=Av(Q)):(G.x=F?L+=f(G,F):0,G.y=0,F=G)});var D=Cv(k),B=Tv(k),oe=D.x-f(D,B)/2,le=B.x+f(B,D)/2;return di(k,p?function(G){G.x=(G.x-k.x)*h[0],G.y=(k.y-G.y)*h[1]}:function(G){G.x=(G.x-oe)/(le-oe)*h[0],G.y=(1-(k.y?G.y/k.y:1))*h[1]}),S}return m.separation=function(b){return arguments.length?(f=b,m):f},m.size=function(b){return arguments.length?(p=(h=b)==null,m):p?null:h},m.nodeSize=function(b){return arguments.length?(p=(h=b)!=null,m):p?h:null},To(m,l)};function Av(l){return 1+t.max(l,function(f){return f.y})}function a1(l){return l.reduce(function(f,h){return f+h.x},0)/l.length}function Cv(l){var f=l.children;return f&&f.length?Cv(f[0]):l}function Tv(l){var f=l.children,h;return f&&(h=f.length)?Tv(f[h-1]):l}t.layout.treemap=function(){var l=t.layout.hierarchy(),f=Math.round,h=[1,1],p=null,m=Lc,b=!1,O,S="squarify",k=.5*(1+Math.sqrt(5));function F(G,Q){for(var te=-1,se=G.length,fe,ie;++te<se;)ie=(fe=G[te]).value*(Q<0?0:Q),fe.area=isNaN(ie)||ie<=0?0:ie}function L(G){var Q=G.children;if(Q&&Q.length){var te=m(G),se=[],fe=Q.slice(),ie,Ne=1/0,je,rt=S==="slice"?te.dx:S==="dice"?te.dy:S==="slice-dice"?G.depth&1?te.dy:te.dx:Math.min(te.dx,te.dy),He;for(F(fe,te.dx*te.dy/G.value),se.area=0;(He=fe.length)>0;)se.push(ie=fe[He-1]),se.area+=ie.area,S!=="squarify"||(je=B(se,rt))<=Ne?(fe.pop(),Ne=je):(se.area-=se.pop().area,oe(se,rt,te,!1),rt=Math.min(te.dx,te.dy),se.length=se.area=0,Ne=1/0);se.length&&(oe(se,rt,te,!0),se.length=se.area=0),Q.forEach(L)}}function D(G){var Q=G.children;if(Q&&Q.length){var te=m(G),se=Q.slice(),fe,ie=[];for(F(se,te.dx*te.dy/G.value),ie.area=0;fe=se.pop();)ie.push(fe),ie.area+=fe.area,fe.z!=null&&(oe(ie,fe.z?te.dx:te.dy,te,!se.length),ie.length=ie.area=0);Q.forEach(D)}}function B(G,Q){for(var te=G.area,se,fe=0,ie=1/0,Ne=-1,je=G.length;++Ne<je;)(se=G[Ne].area)&&(se<ie&&(ie=se),se>fe&&(fe=se));return te*=te,Q*=Q,te?Math.max(Q*fe*k/te,te/(Q*ie*k)):1/0}function oe(G,Q,te,se){var fe=-1,ie=G.length,Ne=te.x,je=te.y,rt=Q?f(G.area/Q):0,He;if(Q==te.dx){for((se||rt>te.dy)&&(rt=te.dy);++fe<ie;)He=G[fe],He.x=Ne,He.y=je,He.dy=rt,Ne+=He.dx=Math.min(te.x+te.dx-Ne,rt?f(He.area/rt):0);He.z=!0,He.dx+=te.x+te.dx-Ne,te.y+=rt,te.dy-=rt}else{for((se||rt>te.dx)&&(rt=te.dx);++fe<ie;)He=G[fe],He.x=Ne,He.y=je,He.dx=rt,je+=He.dy=Math.min(te.y+te.dy-je,rt?f(He.area/rt):0);He.z=!1,He.dy+=te.y+te.dy-je,te.x+=rt,te.dx-=rt}}function le(G){var Q=O||l(G),te=Q[0];return te.x=te.y=0,te.value?(te.dx=h[0],te.dy=h[1]):te.dx=te.dy=0,O&&l.revalue(te),F([te],te.dx*te.dy/te.value),(O?D:L)(te),b&&(O=Q),Q}return le.size=function(G){return arguments.length?(h=G,le):h},le.padding=function(G){if(!arguments.length)return p;function Q(fe){var ie=G.call(le,fe,fe.depth);return ie==null?Lc(fe):Ov(fe,typeof ie=="number"?[ie,ie,ie,ie]:ie)}function te(fe){return Ov(fe,G)}var se;return m=(p=G)==null?Lc:(se=typeof G)=="function"?Q:(se==="number"&&(G=[G,G,G,G]),te),le},le.round=function(G){return arguments.length?(f=G?Math.round:Number,le):f!=Number},le.sticky=function(G){return arguments.length?(b=G,O=null,le):b},le.ratio=function(G){return arguments.length?(k=G,le):k},le.mode=function(G){return arguments.length?(S=G+"",le):S},To(le,l)};function Lc(l){return{x:l.x,y:l.y,dx:l.dx,dy:l.dy}}function Ov(l,f){var h=l.x+f[3],p=l.y+f[0],m=l.dx-f[1]-f[3],b=l.dy-f[0]-f[2];return m<0&&(h+=m/2,m=0),b<0&&(p+=b/2,b=0),{x:h,y:p,dx:m,dy:b}}t.random={normal:function(l,f){var h=arguments.length;return h<2&&(f=1),h<1&&(l=0),function(){var p,m,b;do p=Math.random()*2-1,m=Math.random()*2-1,b=p*p+m*m;while(!b||b>1);return l+f*p*Math.sqrt(-2*Math.log(b)/b)}},logNormal:function(){var l=t.random.normal.apply(t,arguments);return function(){return Math.exp(l())}},bates:function(l){var f=t.random.irwinHall(l);return function(){return f()/l}},irwinHall:function(l){return function(){for(var f=0,h=0;h<l;h++)f+=Math.random();return f}}},t.scale={};function gs(l){var f=l[0],h=l[l.length-1];return f<h?[f,h]:[h,f]}function ys(l){return l.rangeExtent?l.rangeExtent():gs(l.range())}function o1(l,f,h,p){var m=h(l[0],l[1]),b=p(f[0],f[1]);return function(O){return b(m(O))}}function Wr(l,f){var h=0,p=l.length-1,m=l[h],b=l[p],O;return b<m&&(O=h,h=p,p=O,O=m,m=b,b=O),l[h]=f.floor(m),l[p]=f.ceil(b),l}function Wa(l){return l?{floor:function(f){return Math.floor(f/l)*l},ceil:function(f){return Math.ceil(f/l)*l}}:Mo}var Mo={floor:it,ceil:it};function u1(l,f,h,p){var m=[],b=[],O=0,S=Math.min(l.length,f.length)-1;for(l[S]<l[0]&&(l=l.slice().reverse(),f=f.slice().reverse());++O<=S;)m.push(h(l[O-1],l[O])),b.push(p(f[O-1],f[O]));return function(k){var F=t.bisect(l,k,1,S)-1;return b[F](m[F](k))}}t.scale.linear=function(){return qa([0,1],[0,1],Ei,!1)};function qa(l,f,h,p){var m,b;function O(){var k=Math.min(l.length,f.length)>2?u1:o1,F=p?sv:lv;return m=k(l,f,F,h),b=k(f,l,F,Ei),S}function S(k){return m(k)}return S.invert=function(k){return b(k)},S.domain=function(k){return arguments.length?(l=k.map(Number),O()):l},S.range=function(k){return arguments.length?(f=k,O()):f},S.rangeRound=function(k){return S.range(k).interpolate(ds)},S.clamp=function(k){return arguments.length?(p=k,O()):p},S.interpolate=function(k){return arguments.length?(h=k,O()):h},S.ticks=function(k){return Uu(l,k)},S.tickFormat=function(k,F){return d3_scale_linearTickFormat(l,k,F)},S.nice=function(k){return Va(l,k),O()},S.copy=function(){return qa(l,f,h,p)},O()}function $c(l,f){return t.rebind(l,f,"range","rangeRound","interpolate","clamp")}function Va(l,f){return Wr(l,Wa(zu(l,f)[2])),Wr(l,Wa(zu(l,f)[2])),l}function zu(l,f){f==null&&(f=10);var h=gs(l),p=h[1]-h[0],m=Math.pow(10,Math.floor(Math.log(p/f)/Math.LN10)),b=f/p*m;return b<=.15?m*=10:b<=.35?m*=5:b<=.75&&(m*=2),h[0]=Math.ceil(h[0]/m)*m,h[1]=Math.floor(h[1]/m)*m+m*.5,h[2]=m,h}function Uu(l,f){return t.range.apply(t,zu(l,f))}t.scale.log=function(){return bs(t.scale.linear().domain([0,1]),10,!0,[1,10])};function bs(l,f,h,p){function m(S){return(h?Math.log(S<0?0:S):-Math.log(S>0?0:-S))/Math.log(f)}function b(S){return h?Math.pow(f,S):-Math.pow(f,-S)}function O(S){return l(m(S))}return O.invert=function(S){return b(l.invert(S))},O.domain=function(S){return arguments.length?(h=S[0]>=0,l.domain((p=S.map(Number)).map(m)),O):p},O.base=function(S){return arguments.length?(f=+S,l.domain(p.map(m)),O):f},O.nice=function(){var S=Wr(p.map(m),h?Math:Dc);return l.domain(S),p=S.map(b),O},O.ticks=function(){var S=gs(p),k=[],F=S[0],L=S[1],D=Math.floor(m(F)),B=Math.ceil(m(L)),oe=f%1?2:f;if(isFinite(B-D)){if(h){for(;D<B;D++)for(var le=1;le<oe;le++)k.push(b(D)*le);k.push(b(D))}else for(k.push(b(D));D++<B;)for(var le=oe-1;le>0;le--)k.push(b(D)*le);for(D=0;k[D]<F;D++);for(B=k.length;k[B-1]>L;B--);k=k.slice(D,B)}return k},O.copy=function(){return bs(l.copy(),f,h,p)},$c(O,l)}var Dc={floor:function(l){return-Math.ceil(-l)},ceil:function(l){return-Math.floor(-l)}};t.scale.pow=function(){return xs(t.scale.linear(),1,[0,1])};function xs(l,f,h){var p=Ya(f),m=Ya(1/f);function b(O){return l(p(O))}return b.invert=function(O){return m(l.invert(O))},b.domain=function(O){return arguments.length?(l.domain((h=O.map(Number)).map(p)),b):h},b.ticks=function(O){return Uu(h,O)},b.tickFormat=function(O,S){return d3_scale_linearTickFormat(h,O,S)},b.nice=function(O){return b.domain(Va(h,O))},b.exponent=function(O){return arguments.length?(p=Ya(f=O),m=Ya(1/f),l.domain(h.map(p)),b):f},b.copy=function(){return xs(l.copy(),f,h)},$c(b,l)}function Ya(l){return function(f){return f<0?-Math.pow(-f,l):Math.pow(f,l)}}t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return Bc([],{t:"range",a:[[]]})};function Bc(l,f){var h,p,m;function b(S){return p[((h.get(S)||(f.t==="range"?h.set(S,l.push(S)):NaN))-1)%p.length]}function O(S,k){return t.range(l.length).map(function(F){return S+k*F})}return b.domain=function(S){if(!arguments.length)return l;l=[],h=new R;for(var k=-1,F=S.length,L;++k<F;)h.has(L=S[k])||h.set(L,l.push(L));return b[f.t].apply(b,f.a)},b.range=function(S){return arguments.length?(p=S,m=0,f={t:"range",a:arguments},b):p},b.rangePoints=function(S,k){arguments.length<2&&(k=0);var F=S[0],L=S[1],D=l.length<2?(F=(F+L)/2,0):(L-F)/(l.length-1+k);return p=O(F+D*k/2,D),m=0,f={t:"rangePoints",a:arguments},b},b.rangeRoundPoints=function(S,k){arguments.length<2&&(k=0);var F=S[0],L=S[1],D=l.length<2?(F=L=Math.round((F+L)/2),0):(L-F)/(l.length-1+k)|0;return p=O(F+Math.round(D*k/2+(L-F-(l.length-1+k)*D)/2),D),m=0,f={t:"rangeRoundPoints",a:arguments},b},b.rangeBands=function(S,k,F){arguments.length<2&&(k=0),arguments.length<3&&(F=k);var L=S[1]<S[0],D=S[L-0],B=S[1-L],oe=(B-D)/(l.length-k+2*F);return p=O(D+oe*F,oe),L&&p.reverse(),m=oe*(1-k),f={t:"rangeBands",a:arguments},b},b.rangeRoundBands=function(S,k,F){arguments.length<2&&(k=0),arguments.length<3&&(F=k);var L=S[1]<S[0],D=S[L-0],B=S[1-L],oe=Math.floor((B-D)/(l.length-k+2*F));return p=O(D+Math.round((B-D-(l.length-k)*oe)/2),oe),L&&p.reverse(),m=Math.round(oe*(1-k)),f={t:"rangeRoundBands",a:arguments},b},b.rangeBand=function(){return m},b.rangeExtent=function(){return gs(f.a[0])},b.copy=function(){return Bc(l,f)},b.domain(l)}t.scale.category10=function(){return t.scale.ordinal().range(Mv)},t.scale.category20=function(){return t.scale.ordinal().range(kv)},t.scale.category20b=function(){return t.scale.ordinal().range(Rv)},t.scale.category20c=function(){return t.scale.ordinal().range(Iv)};var Mv=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(es),kv=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(es),Rv=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(es),Iv=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(es);t.scale.quantile=function(){return ws([],[])};function ws(l,f){var h;function p(){var b=0,O=f.length;for(h=[];++b<O;)h[b-1]=t.quantile(l,b/O);return m}function m(b){if(!isNaN(b=+b))return f[t.bisect(h,b)]}return m.domain=function(b){return arguments.length?(l=b.map(y).filter(A).sort(v),p()):l},m.range=function(b){return arguments.length?(f=b,p()):f},m.quantiles=function(){return h},m.invertExtent=function(b){return b=f.indexOf(b),b<0?[NaN,NaN]:[b>0?h[b-1]:l[0],b<h.length?h[b]:l[l.length-1]]},m.copy=function(){return ws(l,f)},p()}t.scale.quantize=function(){return _s(0,1,[0,1])};function _s(l,f,h){var p,m;function b(S){return h[Math.max(0,Math.min(m,Math.floor(p*(S-l))))]}function O(){return p=h.length/(f-l),m=h.length-1,b}return b.domain=function(S){return arguments.length?(l=+S[0],f=+S[S.length-1],O()):[l,f]},b.range=function(S){return arguments.length?(h=S,O()):h},b.invertExtent=function(S){return S=h.indexOf(S),S=S<0?NaN:S/p+l,[S,S+1/p]},b.copy=function(){return _s(l,f,h)},O()}t.scale.threshold=function(){return zc([.5],[0,1])};function zc(l,f){function h(p){if(p<=p)return f[t.bisect(l,p)]}return h.domain=function(p){return arguments.length?(l=p,h):l},h.range=function(p){return arguments.length?(f=p,h):f},h.invertExtent=function(p){return p=f.indexOf(p),[l[p-1],l[p]]},h.copy=function(){return zc(l,f)},h}t.scale.identity=function(){return Uc([0,1])};function Uc(l){function f(h){return+h}return f.invert=f,f.domain=f.range=function(h){return arguments.length?(l=h.map(f),f):l},f.ticks=function(h){return Uu(l,h)},f.tickFormat=function(h,p){return d3_scale_linearTickFormat(l,h,p)},f.copy=function(){return Uc(l)},f}t.svg={};function Pv(){return 0}t.svg.arc=function(){var l=jc,f=Fv,h=Pv,p=ju,m=Gc,b=Ss,O=Hc;function S(){var F=Math.max(0,+l.apply(this,arguments)),L=Math.max(0,+f.apply(this,arguments)),D=m.apply(this,arguments)-Si,B=b.apply(this,arguments)-Si,oe=Math.abs(B-D),le=D>B?0:1;if(L<F&&(G=L,L=F,F=G),oe>=Rp)return k(L,le)+(F?k(F,1-le):"")+"Z";var G,Q,te,se,fe=0,ie=0,Ne,je,rt,He,ot,gt,Wt,wt,Gt=[];if((se=(+O.apply(this,arguments)||0)/2)&&(te=p===ju?Math.sqrt(F*F+L*L):+p.apply(this,arguments),le||(ie*=-1),L&&(ie=Pp(te/L*Math.sin(se))),F&&(fe=Pp(te/F*Math.sin(se)))),L){Ne=L*Math.cos(D+ie),je=L*Math.sin(D+ie),rt=L*Math.cos(B-ie),He=L*Math.sin(B-ie);var ar=Math.abs(B-D-2*ie)<=Bi?0:1;if(ie&&Gu(Ne,je,rt,He)===le^ar){var Ir=(D+B)/2;Ne=L*Math.cos(Ir),je=L*Math.sin(Ir),rt=He=null}}else Ne=je=0;if(F){ot=F*Math.cos(B-fe),gt=F*Math.sin(B-fe),Wt=F*Math.cos(D+fe),wt=F*Math.sin(D+fe);var dr=Math.abs(D-B+2*fe)<=Bi?0:1;if(fe&&Gu(ot,gt,Wt,wt)===1-le^dr){var nt=(D+B)/2;ot=F*Math.cos(nt),gt=F*Math.sin(nt),Wt=wt=null}}else ot=gt=0;if(oe>ir&&(G=Math.min(Math.abs(L-F)/2,+h.apply(this,arguments)))>.001){Q=F<L^le?0:1;var qt=G,Kt=G;if(oe<Bi){var or=Wt==null?[ot,gt]:rt==null?[Ne,je]:lc([Ne,je],[Wt,wt],[rt,He],[ot,gt]),Tr=Ne-or[0],Ur=je-or[1],Xr=rt-or[0],mn=He-or[1],An=1/Math.sin(Math.acos((Tr*Xr+Ur*mn)/(Math.sqrt(Tr*Tr+Ur*Ur)*Math.sqrt(Xr*Xr+mn*mn)))/2),un=Math.sqrt(or[0]*or[0]+or[1]*or[1]);Kt=Math.min(G,(F-un)/(An-1)),qt=Math.min(G,(L-un)/(An+1))}if(rt!=null){var Fn=ko(Wt==null?[ot,gt]:[Wt,wt],[Ne,je],L,qt,le),I=ko([rt,He],[ot,gt],L,qt,le);G===qt?Gt.push("M",Fn[0],"A",qt,",",qt," 0 0,",Q," ",Fn[1],"A",L,",",L," 0 ",1-le^Gu(Fn[1][0],Fn[1][1],I[1][0],I[1][1]),",",le," ",I[1],"A",qt,",",qt," 0 0,",Q," ",I[0]):Gt.push("M",Fn[0],"A",qt,",",qt," 0 1,",Q," ",I[0])}else Gt.push("M",Ne,",",je);if(Wt!=null){var W=ko([Ne,je],[Wt,wt],F,-Kt,le),ee=ko([ot,gt],rt==null?[Ne,je]:[rt,He],F,-Kt,le);G===Kt?Gt.push("L",ee[0],"A",Kt,",",Kt," 0 0,",Q," ",ee[1],"A",F,",",F," 0 ",le^Gu(ee[1][0],ee[1][1],W[1][0],W[1][1]),",",1-le," ",W[1],"A",Kt,",",Kt," 0 0,",Q," ",W[0]):Gt.push("L",ee[0],"A",Kt,",",Kt," 0 0,",Q," ",W[0])}else Gt.push("L",ot,",",gt)}else Gt.push("M",Ne,",",je),rt!=null&&Gt.push("A",L,",",L," 0 ",ar,",",le," ",rt,",",He),Gt.push("L",ot,",",gt),Wt!=null&&Gt.push("A",F,",",F," 0 ",dr,",",1-le," ",Wt,",",wt);return Gt.push("Z"),Gt.join("")}function k(F,L){return"M0,"+F+"A"+F+","+F+" 0 1,"+L+" 0,"+-F+"A"+F+","+F+" 0 1,"+L+" 0,"+F}return S.innerRadius=function(F){return arguments.length?(l=mr(F),S):l},S.outerRadius=function(F){return arguments.length?(f=mr(F),S):f},S.cornerRadius=function(F){return arguments.length?(h=mr(F),S):h},S.padRadius=function(F){return arguments.length?(p=F==ju?ju:mr(F),S):p},S.startAngle=function(F){return arguments.length?(m=mr(F),S):m},S.endAngle=function(F){return arguments.length?(b=mr(F),S):b},S.padAngle=function(F){return arguments.length?(O=mr(F),S):O},S.centroid=function(){var F=(+l.apply(this,arguments)+ +f.apply(this,arguments))/2,L=(+m.apply(this,arguments)+ +b.apply(this,arguments))/2-Si;return[Math.cos(L)*F,Math.sin(L)*F]},S};var ju="auto";function jc(l){return l.innerRadius}function Fv(l){return l.outerRadius}function Gc(l){return l.startAngle}function Ss(l){return l.endAngle}function Hc(l){return l&&l.padAngle}function Gu(l,f,h,p){return(l-h)*f-(f-p)*l>0?0:1}function ko(l,f,h,p,m){var b=l[0]-f[0],O=l[1]-f[1],S=(m?p:-p)/Math.sqrt(b*b+O*O),k=S*O,F=-S*b,L=l[0]+k,D=l[1]+F,B=f[0]+k,oe=f[1]+F,le=(L+B)/2,G=(D+oe)/2,Q=B-L,te=oe-D,se=Q*Q+te*te,fe=h-p,ie=L*oe-B*D,Ne=(te<0?-1:1)*Math.sqrt(Math.max(0,fe*fe*se-ie*ie)),je=(ie*te-Q*Ne)/se,rt=(-ie*Q-te*Ne)/se,He=(ie*te+Q*Ne)/se,ot=(-ie*Q+te*Ne)/se,gt=je-le,Wt=rt-G,wt=He-le,Gt=ot-G;return gt*gt+Wt*Wt>wt*wt+Gt*Gt&&(je=He,rt=ot),[[je-k,rt-F],[je*h/fe,rt*h/fe]]}function Wc(){return!0}function qc(l){var f=zi,h=Ui,p=Wc,m=Kn,b=m.key,O=.7;function S(k){var F=[],L=[],D=-1,B=k.length,oe,le=mr(f),G=mr(h);function Q(){F.push("M",m(l(L),O))}for(;++D<B;)p.call(this,oe=k[D],D)?L.push([+le.call(this,oe,D),+G.call(this,oe,D)]):L.length&&(Q(),L=[]);return L.length&&Q(),F.length?F.join(""):null}return S.x=function(k){return arguments.length?(f=k,S):f},S.y=function(k){return arguments.length?(h=k,S):h},S.defined=function(k){return arguments.length?(p=k,S):p},S.interpolate=function(k){return arguments.length?(typeof k=="function"?b=m=k:b=(m=Hu.get(k)||Kn).key,S):b},S.tension=function(k){return arguments.length?(O=k,S):O},S}t.svg.line=function(){return qc(it)};var Hu=t.map({linear:Kn,"linear-closed":Vc,step:Yc,"step-before":Wu,"step-after":Xa,basis:qu,"basis-open":As,"basis-closed":Ro,bundle:Io,cardinal:Wi,"cardinal-open":Nv,"cardinal-closed":Es,monotone:l1});Hu.forEach(function(l,f){f.key=l,f.closed=/-closed$/.test(l)});function Kn(l){return l.length>1?l.join("L"):l+"Z"}function Vc(l){return l.join("L")+"Z"}function Yc(l){for(var f=0,h=l.length,p=l[0],m=[p[0],",",p[1]];++f<h;)m.push("H",(p[0]+(p=l[f])[0])/2,"V",p[1]);return h>1&&m.push("H",p[0]),m.join("")}function Wu(l){for(var f=0,h=l.length,p=l[0],m=[p[0],",",p[1]];++f<h;)m.push("V",(p=l[f])[1],"H",p[0]);return m.join("")}function Xa(l){for(var f=0,h=l.length,p=l[0],m=[p[0],",",p[1]];++f<h;)m.push("H",(p=l[f])[0],"V",p[1]);return m.join("")}function Nv(l,f){return l.length<4?Kn(l):l[1]+Ka(l.slice(1,-1),ha(l,f))}function Es(l,f){return l.length<3?Vc(l):l[0]+Ka((l.push(l[0]),l),ha([l[l.length-2]].concat(l,[l[1]]),f))}function Wi(l,f){return l.length<3?Kn(l):l[0]+Ka(l,ha(l,f))}function Ka(l,f){if(f.length<1||l.length!=f.length&&l.length!=f.length+2)return Kn(l);var h=l.length!=f.length,p="",m=l[0],b=l[1],O=f[0],S=O,k=1;if(h&&(p+="Q"+(b[0]-O[0]*2/3)+","+(b[1]-O[1]*2/3)+","+b[0]+","+b[1],m=l[1],k=2),f.length>1){S=f[1],b=l[k],k++,p+="C"+(m[0]+O[0])+","+(m[1]+O[1])+","+(b[0]-S[0])+","+(b[1]-S[1])+","+b[0]+","+b[1];for(var F=2;F<f.length;F++,k++)b=l[k],S=f[F],p+="S"+(b[0]-S[0])+","+(b[1]-S[1])+","+b[0]+","+b[1]}if(h){var L=l[k];p+="Q"+(b[0]+S[0]*2/3)+","+(b[1]+S[1]*2/3)+","+L[0]+","+L[1]}return p}function ha(l,f){for(var h=[],p=(1-f)/2,m,b=l[0],O=l[1],S=1,k=l.length;++S<k;)m=b,b=O,O=l[S],h.push([p*(O[0]-m[0]),p*(O[1]-m[1])]);return h}function qu(l){if(l.length<3)return Kn(l);var f=1,h=l.length,p=l[0],m=p[0],b=p[1],O=[m,m,m,(p=l[1])[0]],S=[b,b,b,p[1]],k=[m,",",b,"L",on(pi,O),",",on(pi,S)];for(l.push(l[h-1]);++f<=h;)p=l[f],O.shift(),O.push(p[0]),S.shift(),S.push(p[1]),Vu(k,O,S);return l.pop(),k.push("L",p),k.join("")}function As(l){if(l.length<4)return Kn(l);for(var f=[],h=-1,p=l.length,m,b=[0],O=[0];++h<3;)m=l[h],b.push(m[0]),O.push(m[1]);for(f.push(on(pi,b)+","+on(pi,O)),--h;++h<p;)m=l[h],b.shift(),b.push(m[0]),O.shift(),O.push(m[1]),Vu(f,b,O);return f.join("")}function Ro(l){for(var f,h=-1,p=l.length,m=p+4,b,O=[],S=[];++h<4;)b=l[h%p],O.push(b[0]),S.push(b[1]);for(f=[on(pi,O),",",on(pi,S)],--h;++h<m;)b=l[h%p],O.shift(),O.push(b[0]),S.shift(),S.push(b[1]),Vu(f,O,S);return f.join("")}function Io(l,f){var h=l.length-1;if(h)for(var p=l[0][0],m=l[0][1],b=l[h][0]-p,O=l[h][1]-m,S=-1,k,F;++S<=h;)k=l[S],F=S/h,k[0]=f*k[0]+(1-f)*(p+F*b),k[1]=f*k[1]+(1-f)*(m+F*O);return qu(l)}function on(l,f){return l[0]*f[0]+l[1]*f[1]+l[2]*f[2]+l[3]*f[3]}var Cs=[0,2/3,1/3,0],Ts=[0,1/3,2/3,0],pi=[0,1/6,2/3,1/6];function Vu(l,f,h){l.push("C",on(Cs,f),",",on(Cs,h),",",on(Ts,f),",",on(Ts,h),",",on(pi,f),",",on(pi,h))}function Yu(l,f){return(f[1]-l[1])/(f[0]-l[0])}function Po(l){for(var f=0,h=l.length-1,p=[],m=l[0],b=l[1],O=p[0]=Yu(m,b);++f<h;)p[f]=(O+(O=Yu(m=b,b=l[f+1])))/2;return p[f]=O,p}function Fo(l){for(var f=[],h,p,m,b,O=Po(l),S=-1,k=l.length-1;++S<k;)h=Yu(l[S],l[S+1]),_(h)<ir?O[S]=O[S+1]=0:(p=O[S]/h,m=O[S+1]/h,b=p*p+m*m,b>9&&(b=h*3/Math.sqrt(b),O[S]=b*p,O[S+1]=b*m));for(S=-1;++S<=k;)b=(l[Math.min(k,S+1)][0]-l[Math.max(0,S-1)][0])/(6*(1+O[S]*O[S])),f.push([b||0,O[S]*b||0]);return f}function l1(l){return l.length<3?Kn(l):l[0]+Ka(l,Fo(l))}t.svg.line.radial=function(){var l=qc(Lv);return l.radius=l.x,delete l.x,l.angle=l.y,delete l.y,l};function Lv(l){for(var f,h=-1,p=l.length,m,b;++h<p;)f=l[h],m=f[0],b=f[1]-Si,f[0]=m*Math.cos(b),f[1]=m*Math.sin(b);return l}function Xc(l){var f=zi,h=zi,p=0,m=Ui,b=Wc,O=Kn,S=O.key,k=O,F="L",L=.7;function D(B){var oe=[],le=[],G=[],Q=-1,te=B.length,se,fe=mr(f),ie=mr(p),Ne=f===h?function(){return rt}:mr(h),je=p===m?function(){return He}:mr(m),rt,He;function ot(){oe.push("M",O(l(G),L),F,k(l(le.reverse()),L),"Z")}for(;++Q<te;)b.call(this,se=B[Q],Q)?(le.push([rt=+fe.call(this,se,Q),He=+ie.call(this,se,Q)]),G.push([+Ne.call(this,se,Q),+je.call(this,se,Q)])):le.length&&(ot(),le=[],G=[]);return le.length&&ot(),oe.length?oe.join(""):null}return D.x=function(B){return arguments.length?(f=h=B,D):h},D.x0=function(B){return arguments.length?(f=B,D):f},D.x1=function(B){return arguments.length?(h=B,D):h},D.y=function(B){return arguments.length?(p=m=B,D):m},D.y0=function(B){return arguments.length?(p=B,D):p},D.y1=function(B){return arguments.length?(m=B,D):m},D.defined=function(B){return arguments.length?(b=B,D):b},D.interpolate=function(B){return arguments.length?(typeof B=="function"?S=O=B:S=(O=Hu.get(B)||Kn).key,k=O.reverse||O,F=O.closed?"M":"L",D):S},D.tension=function(B){return arguments.length?(L=B,D):L},D}Wu.reverse=Xa,Xa.reverse=Wu,t.svg.area=function(){return Xc(it)},t.svg.area.radial=function(){var l=Xc(Lv);return l.radius=l.x,delete l.x,l.innerRadius=l.x0,delete l.x0,l.outerRadius=l.x1,delete l.x1,l.angle=l.y,delete l.y,l.startAngle=l.y0,delete l.y0,l.endAngle=l.y1,delete l.y1,l};function Kc(l){return l.source}function Qc(l){return l.target}t.svg.chord=function(){var l=Kc,f=Qc,h=s1,p=Gc,m=Ss;function b(L,D){var B=O(this,l,L,D),oe=O(this,f,L,D);return"M"+B.p0+k(B.r,B.p1,B.a1-B.a0)+(S(B,oe)?F(B.r,B.p1,B.r,B.p0):F(B.r,B.p1,oe.r,oe.p0)+k(oe.r,oe.p1,oe.a1-oe.a0)+F(oe.r,oe.p1,B.r,B.p0))+"Z"}function O(L,D,B,oe){var le=D.call(L,B,oe),G=h.call(L,le,oe),Q=p.call(L,le,oe)-Si,te=m.call(L,le,oe)-Si;return{r:G,a0:Q,a1:te,p0:[G*Math.cos(Q),G*Math.sin(Q)],p1:[G*Math.cos(te),G*Math.sin(te)]}}function S(L,D){return L.a0==D.a0&&L.a1==D.a1}function k(L,D,B){return"A"+L+","+L+" 0 "+ +(B>Bi)+",1 "+D}function F(L,D,B,oe){return"Q 0,0 "+oe}return b.radius=function(L){return arguments.length?(h=mr(L),b):h},b.source=function(L){return arguments.length?(l=mr(L),b):l},b.target=function(L){return arguments.length?(f=mr(L),b):f},b.startAngle=function(L){return arguments.length?(p=mr(L),b):p},b.endAngle=function(L){return arguments.length?(m=mr(L),b):m},b};function s1(l){return l.radius}t.svg.diagonal=function(){var l=Kc,f=Qc,h=Qa;function p(m,b){var O=l.call(this,m,b),S=f.call(this,m,b),k=(O.y+S.y)/2,F=[O,{x:O.x,y:k},{x:S.x,y:k},S];return F=F.map(h),"M"+F[0]+"C"+F[1]+" "+F[2]+" "+F[3]}return p.source=function(m){return arguments.length?(l=mr(m),p):l},p.target=function(m){return arguments.length?(f=mr(m),p):f},p.projection=function(m){return arguments.length?(h=m,p):h},p};function Qa(l){return[l.x,l.y]}t.svg.diagonal.radial=function(){var l=t.svg.diagonal(),f=Qa,h=l.projection;return l.projection=function(p){return arguments.length?h(Zc(f=p)):f},l};function Zc(l){return function(){var f=l.apply(this,arguments),h=f[0],p=f[1]-Si;return[h*Math.cos(p),h*Math.sin(p)]}}t.svg.symbol=function(){var l=c1,f=f1;function h(p,m){return(Dv.get(l.call(this,p,m))||$v)(f.call(this,p,m))}return h.type=function(p){return arguments.length?(l=mr(p),h):l},h.size=function(p){return arguments.length?(f=mr(p),h):f},h};function f1(){return 64}function c1(){return"circle"}function $v(l){var f=Math.sqrt(l/Bi);return"M0,"+f+"A"+f+","+f+" 0 1,1 0,"+-f+"A"+f+","+f+" 0 1,1 0,"+f+"Z"}var Dv=t.map({circle:$v,cross:function(l){var f=Math.sqrt(l/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(l){var f=Math.sqrt(l/(2*Bv)),h=f*Bv;return"M0,"+-f+"L"+h+",0 0,"+f+" "+-h+",0Z"},square:function(l){var f=Math.sqrt(l)/2;return"M"+-f+","+-f+"L"+f+","+-f+" "+f+","+f+" "+-f+","+f+"Z"},"triangle-down":function(l){var f=Math.sqrt(l/Os),h=f*Os/2;return"M0,"+h+"L"+f+","+-h+" "+-f+","+-h+"Z"},"triangle-up":function(l){var f=Math.sqrt(l/Os),h=f*Os/2;return"M0,"+-h+"L"+f+","+h+" "+-f+","+h+"Z"}});t.svg.symbolTypes=Dv.keys();var Os=Math.sqrt(3),Bv=Math.tan(30*Ip);ue.transition=function(l){for(var f=qi||++ks,h=Ku(l),p=[],m,b,O=No||{time:Date.now(),ease:Ao,delay:0,duration:250},S=-1,k=this.length;++S<k;){p.push(m=[]);for(var F=this[S],L=-1,D=F.length;++L<D;)(b=F[L])&&Lo(b,L,h,f,O),m.push(b)}return Xu(p,h,f)},ue.interrupt=function(l){return this.each(l==null?Ms:zv(Ku(l)))};var Ms=zv(Ku());function zv(l){return function(){var f,h,p;(f=this[l])&&(p=f[h=f.active])&&(p.timer.c=null,p.timer.t=NaN,--f.count?delete f[h]:delete this[l],f.active+=.5,p.event&&p.event.interrupt.call(this,this.__data__,p.index))}}function Xu(l,f,h){return Xt(l,zr),l.namespace=f,l.id=h,l}var zr=[],ks=0,qi,No;zr.call=ue.call,zr.empty=ue.empty,zr.node=ue.node,zr.size=ue.size,t.transition=function(l,f){return l&&l.transition?qi?l.transition(f):l:t.selection().transition(l)},t.transition.prototype=zr,zr.select=function(l){var f=this.id,h=this.namespace,p=[],m,b,O;l=Ge(l);for(var S=-1,k=this.length;++S<k;){p.push(m=[]);for(var F=this[S],L=-1,D=F.length;++L<D;)(O=F[L])&&(b=l.call(O,O.__data__,L,S))?("__data__"in O&&(b.__data__=O.__data__),Lo(b,L,h,f,O[h][f]),m.push(b)):m.push(null)}return Xu(p,h,f)},zr.selectAll=function(l){var f=this.id,h=this.namespace,p=[],m,b,O,S,k;l=St(l);for(var F=-1,L=this.length;++F<L;)for(var D=this[F],B=-1,oe=D.length;++B<oe;)if(O=D[B]){k=O[h][f],b=l.call(O,O.__data__,B,F),p.push(m=[]);for(var le=-1,G=b.length;++le<G;)(S=b[le])&&Lo(S,le,h,f,k),m.push(S)}return Xu(p,h,f)},zr.filter=function(l){var f=[],h,p,m;typeof l!="function"&&(l=Ra(l));for(var b=0,O=this.length;b<O;b++){f.push(h=[]);for(var p=this[b],S=0,k=p.length;S<k;S++)(m=p[S])&&l.call(m,m.__data__,S,b)&&h.push(m)}return Xu(f,this.namespace,this.id)},zr.tween=function(l,f){var h=this.id,p=this.namespace;return arguments.length<2?this.node()[p][h].tween.get(l):Un(this,f==null?function(m){m[p][h].tween.remove(l)}:function(m){m[p][h].tween.set(l,f)})};function Rs(l,f,h,p){var m=l.id,b=l.namespace;return Un(l,typeof h=="function"?function(O,S,k){O[b][m].tween.set(f,p(h.call(O,O.__data__,S,k)))}:(h=p(h),function(O){O[b][m].tween.set(f,h)}))}zr.attr=function(l,f){if(arguments.length<2){for(f in l)this.attr(f,l[f]);return this}var h=l=="transform"?Ec:Ei,p=t.ns.qualify(l);function m(){this.removeAttribute(p)}function b(){this.removeAttributeNS(p.space,p.local)}function O(k){return k==null?m:(k+="",function(){var F=this.getAttribute(p),L;return F!==k&&(L=h(F,k),function(D){this.setAttribute(p,L(D))})})}function S(k){return k==null?b:(k+="",function(){var F=this.getAttributeNS(p.space,p.local),L;return F!==k&&(L=h(F,k),function(D){this.setAttributeNS(p.space,p.local,L(D))})})}return Rs(this,"attr."+l,f,p.local?S:O)},zr.attrTween=function(l,f){var h=t.ns.qualify(l);function p(b,O){var S=f.call(this,b,O,this.getAttribute(h));return S&&function(k){this.setAttribute(h,S(k))}}function m(b,O){var S=f.call(this,b,O,this.getAttributeNS(h.space,h.local));return S&&function(k){this.setAttributeNS(h.space,h.local,S(k))}}return this.tween("attr."+l,h.local?m:p)},zr.style=function(l,f,h){var p=arguments.length;if(p<3){if(typeof l!="string"){p<2&&(f="");for(h in l)this.style(h,l[h],f);return this}h=""}function m(){this.style.removeProperty(l)}function b(O){return O==null?m:(O+="",function(){var S=o(this).getComputedStyle(this,null).getPropertyValue(l),k;return S!==O&&(k=Ei(S,O),function(F){this.style.setProperty(l,k(F),h)})})}return Rs(this,"style."+l,f,b)},zr.styleTween=function(l,f,h){arguments.length<3&&(h="");function p(m,b){var O=f.call(this,m,b,o(this).getComputedStyle(this,null).getPropertyValue(l));return O&&function(S){this.style.setProperty(l,O(S),h)}}return this.tween("style."+l,p)},zr.text=function(l){return Rs(this,"text",l,Jc)};function Jc(l){return l==null&&(l=""),function(){this.textContent=l}}zr.remove=function(){var l=this.namespace;return this.each("end.transition",function(){var f;this[l].count<2&&(f=this.parentNode)&&f.removeChild(this)})},zr.ease=function(l){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].ease:(typeof l!="function"&&(l=t.ease.apply(t,arguments)),Un(this,function(p){p[h][f].ease=l}))},zr.delay=function(l){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].delay:Un(this,typeof l=="function"?function(p,m,b){p[h][f].delay=+l.call(p,p.__data__,m,b)}:(l=+l,function(p){p[h][f].delay=l}))},zr.duration=function(l){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].duration:Un(this,typeof l=="function"?function(p,m,b){p[h][f].duration=Math.max(1,l.call(p,p.__data__,m,b))}:(l=Math.max(1,l),function(p){p[h][f].duration=l}))},zr.each=function(l,f){var h=this.id,p=this.namespace;if(arguments.length<2){var m=No,b=qi;try{qi=h,Un(this,function(O,S,k){No=O[p][h],l.call(O,O.__data__,S,k)})}finally{No=m,qi=b}}else Un(this,function(O){var S=O[p][h];(S.event||(S.event=t.dispatch("start","end","interrupt"))).on(l,f)});return this},zr.transition=function(){for(var l=this.id,f=++ks,h=this.namespace,p=[],m,b,O,S,k=0,F=this.length;k<F;k++){p.push(m=[]);for(var b=this[k],L=0,D=b.length;L<D;L++)(O=b[L])&&(S=O[h][l],Lo(O,L,h,f,{time:S.time,ease:S.ease,delay:S.delay+S.duration,duration:S.duration})),m.push(O)}return Xu(p,h,f)};function Ku(l){return l==null?"__transition__":"__transition_"+l+"__"}function Lo(l,f,h,p,m){var b=l[h]||(l[h]={active:0,count:0}),O=b[p],S,k,F,L,D;function B(G){var Q=O.delay;if(k.t=Q+S,Q<=G)return oe(G-Q);k.c=oe}function oe(G){var Q=b.active,te=b[Q];te&&(te.timer.c=null,te.timer.t=NaN,--b.count,delete b[Q],te.event&&te.event.interrupt.call(l,l.__data__,te.index));for(var se in b)if(+se<p){var fe=b[se];fe.timer.c=null,fe.timer.t=NaN,--b.count,delete b[se]}k.c=le,bo(function(){return k.c&&le(G||1)&&(k.c=null,k.t=NaN),1},0,S),b.active=p,O.event&&O.event.start.call(l,l.__data__,f),D=[],O.tween.forEach(function(ie,Ne){(Ne=Ne.call(l,l.__data__,f))&&D.push(Ne)}),L=O.ease,F=O.duration}function le(G){for(var Q=G/F,te=L(Q),se=D.length;se>0;)D[--se].call(l,te);if(Q>=1)return O.event&&O.event.end.call(l,l.__data__,f),--b.count?delete b[p]:delete l[h],1}O||(S=m.time,k=bo(B,0,S),O=b[p]={tween:new R,time:S,timer:k,delay:m.delay,duration:m.duration,ease:m.ease,index:f},m=null,++b.count)}t.svg.axis=function(){var l=t.scale.linear(),f=eh,h=6,p=6,m=3,b=[10],O=null,S;function k(F){F.each(function(){var L=t.select(this),D=this.__chart__||l,B=this.__chart__=l.copy(),oe=O??(B.ticks?B.ticks.apply(B,b):B.domain()),le=S??(B.tickFormat?B.tickFormat.apply(B,b):it),G=L.selectAll(".tick").data(oe,B),Q=G.enter().insert("g",".domain").attr("class","tick").style("opacity",ir),te=t.transition(G.exit()).style("opacity",ir).remove(),se=t.transition(G.order()).style("opacity",1),fe=Math.max(h,0)+m,ie,Ne=ys(B),je=L.selectAll(".domain").data([0]),rt=(je.enter().append("path").attr("class","domain"),t.transition(je));Q.append("line"),Q.append("text");var He=Q.select("line"),ot=se.select("line"),gt=G.select("text").text(le),Wt=Q.select("text"),wt=se.select("text"),Gt=f==="top"||f==="left"?-1:1,ar,Ir,dr,nt;if(f==="bottom"||f==="top"?(ie=rh,ar="x",dr="y",Ir="x2",nt="y2",gt.attr("dy",Gt<0?"0em":".71em").style("text-anchor","middle"),rt.attr("d","M"+Ne[0]+","+Gt*p+"V0H"+Ne[1]+"V"+Gt*p)):(ie=nh,ar="y",dr="x",Ir="y2",nt="x2",gt.attr("dy",".32em").style("text-anchor",Gt<0?"end":"start"),rt.attr("d","M"+Gt*p+","+Ne[0]+"H0V"+Ne[1]+"H"+Gt*p)),He.attr(nt,Gt*h),Wt.attr(dr,Gt*fe),ot.attr(Ir,0).attr(nt,Gt*h),wt.attr(ar,0).attr(dr,Gt*fe),B.rangeBand){var qt=B,Kt=qt.rangeBand()/2;D=B=function(or){return qt(or)+Kt}}else D.rangeBand?D=B:te.call(ie,B,D);Q.call(ie,D,B),se.call(ie,B,B)})}return k.scale=function(F){return arguments.length?(l=F,k):l},k.orient=function(F){return arguments.length?(f=F in th?F+"":eh,k):f},k.ticks=function(){return arguments.length?(b=n(arguments),k):b},k.tickValues=function(F){return arguments.length?(O=F,k):O},k.tickFormat=function(F){return arguments.length?(S=F,k):S},k.tickSize=function(F){var L=arguments.length;return L?(h=+F,p=+arguments[L-1],k):h},k.innerTickSize=function(F){return arguments.length?(h=+F,k):h},k.outerTickSize=function(F){return arguments.length?(p=+F,k):p},k.tickPadding=function(F){return arguments.length?(m=+F,k):m},k.tickSubdivide=function(){return arguments.length&&k},k};var eh="bottom",th={top:1,right:1,bottom:1,left:1};function rh(l,f,h){l.attr("transform",function(p){var m=f(p);return"translate("+(isFinite(m)?m:h(p))+",0)"})}function nh(l,f,h){l.attr("transform",function(p){var m=f(p);return"translate(0,"+(isFinite(m)?m:h(p))+")"})}t.svg.brush=function(){var l=vt(L,"brushstart","brush","brushend"),f=null,h=null,p=[0,0],m=[0,0],b,O,S=!0,k=!0,F=Qu[0];function L(G){G.each(function(){var Q=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",le).on("touchstart.brush",le),te=Q.selectAll(".background").data([0]);te.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),Q.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var se=Q.selectAll(".resize").data(F,it);se.exit().remove(),se.enter().append("g").attr("class",function(je){return"resize "+je}).style("cursor",function(je){return ih[je]}).append("rect").attr("x",function(je){return/[ew]$/.test(je)?-3:null}).attr("y",function(je){return/^[ns]/.test(je)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),se.style("display",L.empty()?"none":null);var fe=t.transition(Q),ie=t.transition(te),Ne;f&&(Ne=ys(f),ie.attr("x",Ne[0]).attr("width",Ne[1]-Ne[0]),B(fe)),h&&(Ne=ys(h),ie.attr("y",Ne[0]).attr("height",Ne[1]-Ne[0]),oe(fe)),D(fe)})}L.event=function(G){G.each(function(){var Q=l.of(this,arguments),te={x:p,y:m,i:b,j:O},se=this.__chart__||te;this.__chart__=te,qi?t.select(this).transition().each("start.brush",function(){b=se.i,O=se.j,p=se.x,m=se.y,Q({type:"brushstart"})}).tween("brush:brush",function(){var fe=Pn(p,te.x),ie=Pn(m,te.y);return b=O=null,function(Ne){p=te.x=fe(Ne),m=te.y=ie(Ne),Q({type:"brush",mode:"resize"})}}).each("end.brush",function(){b=te.i,O=te.j,Q({type:"brush",mode:"resize"}),Q({type:"brushend"})}):(Q({type:"brushstart"}),Q({type:"brush",mode:"resize"}),Q({type:"brushend"}))})};function D(G){G.selectAll(".resize").attr("transform",function(Q){return"translate("+p[+/e$/.test(Q)]+","+m[+/^s/.test(Q)]+")"})}function B(G){G.select(".extent").attr("x",p[0]),G.selectAll(".extent,.n>rect,.s>rect").attr("width",p[1]-p[0])}function oe(G){G.select(".extent").attr("y",m[0]),G.selectAll(".extent,.e>rect,.w>rect").attr("height",m[1]-m[0])}function le(){var G=this,Q=t.select(t.event.target),te=l.of(G,arguments),se=t.select(G),fe=Q.datum(),ie=!/^(n|s)$/.test(fe)&&f,Ne=!/^(e|w)$/.test(fe)&&h,je=Q.classed("extent"),rt=Kl(G),He,ot=t.mouse(G),gt,Wt=t.select(o(G)).on("keydown.brush",ar).on("keyup.brush",Ir);if(t.event.changedTouches?Wt.on("touchmove.brush",dr).on("touchend.brush",qt):Wt.on("mousemove.brush",dr).on("mouseup.brush",qt),se.interrupt().selectAll("*").interrupt(),je)ot[0]=p[0]-ot[0],ot[1]=m[0]-ot[1];else if(fe){var wt=+/w$/.test(fe),Gt=+/^n/.test(fe);gt=[p[1-wt]-ot[0],m[1-Gt]-ot[1]],ot[0]=p[wt],ot[1]=m[Gt]}else t.event.altKey&&(He=ot.slice());se.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",Q.style("cursor")),te({type:"brushstart"}),dr();function ar(){t.event.keyCode==32&&(je||(He=null,ot[0]-=p[1],ot[1]-=m[1],je=2),lt())}function Ir(){t.event.keyCode==32&&je==2&&(ot[0]+=p[1],ot[1]+=m[1],je=0,lt())}function dr(){var Kt=t.mouse(G),or=!1;gt&&(Kt[0]+=gt[0],Kt[1]+=gt[1]),je||(t.event.altKey?(He||(He=[(p[0]+p[1])/2,(m[0]+m[1])/2]),ot[0]=p[+(Kt[0]<He[0])],ot[1]=m[+(Kt[1]<He[1])]):He=null),ie&&nt(Kt,f,0)&&(B(se),or=!0),Ne&&nt(Kt,h,1)&&(oe(se),or=!0),or&&(D(se),te({type:"brush",mode:je?"move":"resize"}))}function nt(Kt,or,Tr){var Ur=ys(or),Xr=Ur[0],mn=Ur[1],An=ot[Tr],un=Tr?m:p,Fn=un[1]-un[0],I,W;if(je&&(Xr-=An,mn-=Fn+An),I=(Tr?k:S)?Math.max(Xr,Math.min(mn,Kt[Tr])):Kt[Tr],je?W=(I+=An)+Fn:(He&&(An=Math.max(Xr,Math.min(mn,2*He[Tr]-I))),An<I?(W=I,I=An):W=An),un[0]!=I||un[1]!=W)return Tr?O=null:b=null,un[0]=I,un[1]=W,!0}function qt(){dr(),se.style("pointer-events","all").selectAll(".resize").style("display",L.empty()?"none":null),t.select("body").style("cursor",null),Wt.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),rt(),te({type:"brushend"})}}return L.x=function(G){return arguments.length?(f=G,F=Qu[!f<<1|!h],L):f},L.y=function(G){return arguments.length?(h=G,F=Qu[!f<<1|!h],L):h},L.clamp=function(G){return arguments.length?(f&&h?(S=!!G[0],k=!!G[1]):f?S=!!G:h&&(k=!!G),L):f&&h?[S,k]:f?S:h?k:null},L.extent=function(G){var Q,te,se,fe,ie;return arguments.length?(f&&(Q=G[0],te=G[1],h&&(Q=Q[0],te=te[0]),b=[Q,te],f.invert&&(Q=f(Q),te=f(te)),te<Q&&(ie=Q,Q=te,te=ie),(Q!=p[0]||te!=p[1])&&(p=[Q,te])),h&&(se=G[0],fe=G[1],f&&(se=se[1],fe=fe[1]),O=[se,fe],h.invert&&(se=h(se),fe=h(fe)),fe<se&&(ie=se,se=fe,fe=ie),(se!=m[0]||fe!=m[1])&&(m=[se,fe])),L):(f&&(b?(Q=b[0],te=b[1]):(Q=p[0],te=p[1],f.invert&&(Q=f.invert(Q),te=f.invert(te)),te<Q&&(ie=Q,Q=te,te=ie))),h&&(O?(se=O[0],fe=O[1]):(se=m[0],fe=m[1],h.invert&&(se=h.invert(se),fe=h.invert(fe)),fe<se&&(ie=se,se=fe,fe=ie))),f&&h?[[Q,se],[te,fe]]:f?[Q,te]:h&&[se,fe])},L.clear=function(){return L.empty()||(p=[0,0],m=[0,0],b=O=null),L},L.empty=function(){return!!f&&p[0]==p[1]||!!h&&m[0]==m[1]},t.rebind(L,l,"on")};var ih={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Qu=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];t.text=uc(function(l){return l.responseText}),t.json=function(l,f){return rs(l,"application/json",ah,f)};function ah(l){return JSON.parse(l.responseText)}t.html=function(l,f){return rs(l,"text/html",oh,f)};function oh(l){var f=i.createRange();return f.selectNode(i.body),f.createContextualFragment(l.responseText)}t.xml=uc(function(l){return l.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})(RF);var boe=RF.exports,wx=new Date,_x=new Date;function vn(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),u=i.ceil(a);return a-o<u-a?o:u},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,u){var s=[],c;if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return s;do s.push(c=new Date(+a)),t(a,u),e(a);while(c<a&&a<o);return s},i.filter=function(a){return vn(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,u){if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!a(o););else for(;--u>=0;)for(;t(o,1),!a(o););})},r&&(i.count=function(a,o){return wx.setTime(+a),_x.setTime(+o),e(wx),e(_x),Math.floor(r(wx,_x))},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 ig=vn(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});ig.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?vn(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):ig};const d5=ig;var p5=ig.range,ag=1e3,Cl=6e4,og=36e5,IF=864e5,PF=6048e5,FF=vn(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*ag)},function(e,t){return(t-e)/ag},function(e){return e.getUTCSeconds()});const v5=FF;var m5=FF.range,NF=vn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ag)},function(e,t){e.setTime(+e+t*Cl)},function(e,t){return(t-e)/Cl},function(e){return e.getMinutes()});const bX=NF;var xX=NF.range,LF=vn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ag-e.getMinutes()*Cl)},function(e,t){e.setTime(+e+t*og)},function(e,t){return(t-e)/og},function(e){return e.getHours()});const wX=LF;var _X=LF.range,$F=vn(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)/IF},function(e){return e.getDate()-1});const OE=$F;var SX=$F.range;function Hl(e){return vn(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)/PF})}var ug=Hl(0),zd=Hl(1),DF=Hl(2),BF=Hl(3),Tl=Hl(4),zF=Hl(5),UF=Hl(6),g5=ug.range,EX=zd.range,AX=DF.range,CX=BF.range,TX=Tl.range,OX=zF.range,MX=UF.range,jF=vn(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 kX=jF;var RX=jF.range,ME=vn(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()});ME.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:vn(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=ME;var IX=ME.range,GF=vn(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 PX=GF;var FX=GF.range,HF=vn(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*og)},function(e,t){return(t-e)/og},function(e){return e.getUTCHours()});const NX=HF;var LX=HF.range,WF=vn(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/IF},function(e){return e.getUTCDate()-1});const kE=WF;var $X=WF.range;function Wl(e){return vn(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)/PF})}var lg=Wl(0),Ud=Wl(1),qF=Wl(2),VF=Wl(3),Ol=Wl(4),YF=Wl(5),XF=Wl(6),y5=lg.range,DX=Ud.range,BX=qF.range,zX=VF.range,UX=Ol.range,jX=YF.range,GX=XF.range,KF=vn(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 HX=KF;var WX=KF.range,RE=vn(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()});RE.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:vn(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 Ff=RE;var qX=RE.range;const VX=Object.freeze(Object.defineProperty({__proto__:null,timeDay:OE,timeDays:SX,timeFriday:zF,timeFridays:OX,timeHour:wX,timeHours:_X,timeInterval:vn,timeMillisecond:d5,timeMilliseconds:p5,timeMinute:bX,timeMinutes:xX,timeMonday:zd,timeMondays:EX,timeMonth:kX,timeMonths:RX,timeSaturday:UF,timeSaturdays:MX,timeSecond:v5,timeSeconds:m5,timeSunday:ug,timeSundays:g5,timeThursday:Tl,timeThursdays:TX,timeTuesday:DF,timeTuesdays:AX,timeWednesday:BF,timeWednesdays:CX,timeWeek:ug,timeWeeks:g5,timeYear:Pf,timeYears:IX,utcDay:kE,utcDays:$X,utcFriday:YF,utcFridays:jX,utcHour:NX,utcHours:LX,utcMillisecond:d5,utcMilliseconds:p5,utcMinute:PX,utcMinutes:FX,utcMonday:Ud,utcMondays:DX,utcMonth:HX,utcMonths:WX,utcSaturday:XF,utcSaturdays:GX,utcSecond:v5,utcSeconds:m5,utcSunday:lg,utcSundays:y5,utcThursday:Ol,utcThursdays:UX,utcTuesday:qF,utcTuesdays:BX,utcWednesday:VF,utcWednesdays:zX,utcWeek:lg,utcWeeks:y5,utcYear:Ff,utcYears:qX},Symbol.toStringTag,{value:"Module"}));function Sx(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 Ex(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 QF(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,s=e.shortMonths,c=Ch(i),d=Th(i),g=Ch(a),v=Th(a),y=Ch(o),A=Th(o),E=Ch(u),w=Th(u),x=Ch(s),_=Th(s),T={a:Ie,A:Ve,b:Mt,B:pt,c:null,d:E5,e:E5,f:mK,g:CK,G:OK,H:dK,I:pK,j:vK,L:ZF,m:gK,M:yK,p:xe,q:Ye,Q:T5,s:O5,S:bK,u:xK,U:wK,V:_K,w:SK,W:EK,x:null,X:null,y:AK,Y:TK,Z:MK,"%":C5},C={a:lt,A:Ue,b:vt,B:Rt,c:null,d:A5,e:A5,f:PK,g:GK,G:WK,H:kK,I:RK,j:IK,L:eN,m:FK,M:NK,p:Xt,q,Q:T5,s:O5,S:LK,u:$K,U:DK,V:BK,w:zK,W:UK,x:null,X:null,y:jK,Y:HK,Z:qK,"%":C5},R={a:Te,A:be,b:Re,B:De,c:Le,d:_5,e:_5,f:sK,g:w5,G:x5,H:S5,I:S5,j:aK,L:lK,m:iK,M:oK,p:ne,q:nK,Q:cK,s:hK,S:uK,u:ZX,U:JX,V:eK,w:QX,W:tK,x:We,X:it,y:w5,Y:x5,Z:rK,"%":fK};T.x=N(r,T),T.X=N(n,T),T.c=N(t,T),C.x=N(r,C),C.X=N(n,C),C.c=N(t,C);function N(U,H){return function(ye){var ue=[],Ge=-1,St=0,Vt=U.length,$,M,P;for(ye instanceof Date||(ye=new Date(+ye));++Ge<Vt;)U.charCodeAt(Ge)===37&&(ue.push(U.slice(St,Ge)),(M=b5[$=U.charAt(++Ge)])!=null?$=U.charAt(++Ge):M=$==="e"?" ":"0",(P=H[$])&&($=P(ye,M)),ue.push($),St=Ge+1);return ue.push(U.slice(St,Ge)),ue.join("")}}function V(U,H){return function(ye){var ue=Ah(1900,void 0,1),Ge=j(ue,U,ye+="",0),St,Vt;if(Ge!=ye.length)return null;if("Q"in ue)return new Date(ue.Q);if("s"in ue)return new Date(ue.s*1e3+("L"in ue?ue.L:0));if(H&&!("Z"in ue)&&(ue.Z=0),"p"in ue&&(ue.H=ue.H%12+ue.p*12),ue.m===void 0&&(ue.m="q"in ue?ue.q:0),"V"in ue){if(ue.V<1||ue.V>53)return null;"w"in ue||(ue.w=1),"Z"in ue?(St=Ex(Ah(ue.y,0,1)),Vt=St.getUTCDay(),St=Vt>4||Vt===0?Ud.ceil(St):Ud(St),St=kE.offset(St,(ue.V-1)*7),ue.y=St.getUTCFullYear(),ue.m=St.getUTCMonth(),ue.d=St.getUTCDate()+(ue.w+6)%7):(St=Sx(Ah(ue.y,0,1)),Vt=St.getDay(),St=Vt>4||Vt===0?zd.ceil(St):zd(St),St=OE.offset(St,(ue.V-1)*7),ue.y=St.getFullYear(),ue.m=St.getMonth(),ue.d=St.getDate()+(ue.w+6)%7)}else("W"in ue||"U"in ue)&&("w"in ue||(ue.w="u"in ue?ue.u%7:"W"in ue?1:0),Vt="Z"in ue?Ex(Ah(ue.y,0,1)).getUTCDay():Sx(Ah(ue.y,0,1)).getDay(),ue.m=0,ue.d="W"in ue?(ue.w+6)%7+ue.W*7-(Vt+5)%7:ue.w+ue.U*7-(Vt+6)%7);return"Z"in ue?(ue.H+=ue.Z/100|0,ue.M+=ue.Z%100,Ex(ue)):Sx(ue)}}function j(U,H,ye,ue){for(var Ge=0,St=H.length,Vt=ye.length,$,M;Ge<St;){if(ue>=Vt)return-1;if($=H.charCodeAt(Ge++),$===37){if($=H.charAt(Ge++),M=R[$ in b5?H.charAt(Ge++):$],!M||(ue=M(U,ye,ue))<0)return-1}else if($!=ye.charCodeAt(ue++))return-1}return ue}function ne(U,H,ye){var ue=c.exec(H.slice(ye));return ue?(U.p=d[ue[0].toLowerCase()],ye+ue[0].length):-1}function Te(U,H,ye){var ue=y.exec(H.slice(ye));return ue?(U.w=A[ue[0].toLowerCase()],ye+ue[0].length):-1}function be(U,H,ye){var ue=g.exec(H.slice(ye));return ue?(U.w=v[ue[0].toLowerCase()],ye+ue[0].length):-1}function Re(U,H,ye){var ue=x.exec(H.slice(ye));return ue?(U.m=_[ue[0].toLowerCase()],ye+ue[0].length):-1}function De(U,H,ye){var ue=E.exec(H.slice(ye));return ue?(U.m=w[ue[0].toLowerCase()],ye+ue[0].length):-1}function Le(U,H,ye){return j(U,t,H,ye)}function We(U,H,ye){return j(U,r,H,ye)}function it(U,H,ye){return j(U,n,H,ye)}function Ie(U){return o[U.getDay()]}function Ve(U){return a[U.getDay()]}function Mt(U){return s[U.getMonth()]}function pt(U){return u[U.getMonth()]}function xe(U){return i[+(U.getHours()>=12)]}function Ye(U){return 1+~~(U.getMonth()/3)}function lt(U){return o[U.getUTCDay()]}function Ue(U){return a[U.getUTCDay()]}function vt(U){return s[U.getUTCMonth()]}function Rt(U){return u[U.getUTCMonth()]}function Xt(U){return i[+(U.getUTCHours()>=12)]}function q(U){return 1+~~(U.getUTCMonth()/3)}return{format:function(U){var H=N(U+="",T);return H.toString=function(){return U},H},parse:function(U){var H=V(U+="",!1);return H.toString=function(){return U},H},utcFormat:function(U){var H=N(U+="",C);return H.toString=function(){return U},H},utcParse:function(U){var H=V(U+="",!0);return H.toString=function(){return U},H}}}var b5={"-":"",_:" ",0:"0"},En=/^\s*\d+/,YX=/^%/,XX=/[\\^$*+?|[\]().{}]/g;function br(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 KX(e){return e.replace(XX,"\\$&")}function Ch(e){return new RegExp("^(?:"+e.map(KX).join("|")+")","i")}function Th(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function QX(e,t,r){var n=En.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function ZX(e,t,r){var n=En.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function JX(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function eK(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function tK(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function x5(e,t,r){var n=En.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function w5(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rK(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 nK(e,t,r){var n=En.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function iK(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function _5(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function aK(e,t,r){var n=En.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function S5(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function oK(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function uK(e,t,r){var n=En.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function lK(e,t,r){var n=En.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function sK(e,t,r){var n=En.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function fK(e,t,r){var n=YX.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function cK(e,t,r){var n=En.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function hK(e,t,r){var n=En.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function E5(e,t){return br(e.getDate(),t,2)}function dK(e,t){return br(e.getHours(),t,2)}function pK(e,t){return br(e.getHours()%12||12,t,2)}function vK(e,t){return br(1+OE.count(Pf(e),e),t,3)}function ZF(e,t){return br(e.getMilliseconds(),t,3)}function mK(e,t){return ZF(e,t)+"000"}function gK(e,t){return br(e.getMonth()+1,t,2)}function yK(e,t){return br(e.getMinutes(),t,2)}function bK(e,t){return br(e.getSeconds(),t,2)}function xK(e){var t=e.getDay();return t===0?7:t}function wK(e,t){return br(ug.count(Pf(e)-1,e),t,2)}function JF(e){var t=e.getDay();return t>=4||t===0?Tl(e):Tl.ceil(e)}function _K(e,t){return e=JF(e),br(Tl.count(Pf(e),e)+(Pf(e).getDay()===4),t,2)}function SK(e){return e.getDay()}function EK(e,t){return br(zd.count(Pf(e)-1,e),t,2)}function AK(e,t){return br(e.getFullYear()%100,t,2)}function CK(e,t){return e=JF(e),br(e.getFullYear()%100,t,2)}function TK(e,t){return br(e.getFullYear()%1e4,t,4)}function OK(e,t){var r=e.getDay();return e=r>=4||r===0?Tl(e):Tl.ceil(e),br(e.getFullYear()%1e4,t,4)}function MK(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+br(t/60|0,"0",2)+br(t%60,"0",2)}function A5(e,t){return br(e.getUTCDate(),t,2)}function kK(e,t){return br(e.getUTCHours(),t,2)}function RK(e,t){return br(e.getUTCHours()%12||12,t,2)}function IK(e,t){return br(1+kE.count(Ff(e),e),t,3)}function eN(e,t){return br(e.getUTCMilliseconds(),t,3)}function PK(e,t){return eN(e,t)+"000"}function FK(e,t){return br(e.getUTCMonth()+1,t,2)}function NK(e,t){return br(e.getUTCMinutes(),t,2)}function LK(e,t){return br(e.getUTCSeconds(),t,2)}function $K(e){var t=e.getUTCDay();return t===0?7:t}function DK(e,t){return br(lg.count(Ff(e)-1,e),t,2)}function tN(e){var t=e.getUTCDay();return t>=4||t===0?Ol(e):Ol.ceil(e)}function BK(e,t){return e=tN(e),br(Ol.count(Ff(e),e)+(Ff(e).getUTCDay()===4),t,2)}function zK(e){return e.getUTCDay()}function UK(e,t){return br(Ud.count(Ff(e)-1,e),t,2)}function jK(e,t){return br(e.getUTCFullYear()%100,t,2)}function GK(e,t){return e=tN(e),br(e.getUTCFullYear()%100,t,2)}function HK(e,t){return br(e.getUTCFullYear()%1e4,t,4)}function WK(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Ol(e):Ol.ceil(e),br(e.getUTCFullYear()%1e4,t,4)}function qK(){return"+0000"}function C5(){return"%"}function T5(e){return+e}function O5(e){return Math.floor(+e/1e3)}var Ds,rN,nN,IE,PE;iN({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 iN(e){return Ds=QF(e),rN=Ds.format,nN=Ds.parse,IE=Ds.utcFormat,PE=Ds.utcParse,Ds}var aN="%Y-%m-%dT%H:%M:%S.%LZ";function VK(e){return e.toISOString()}var YK=Date.prototype.toISOString?VK:IE(aN);const XK=YK;function KK(e){var t=new Date(e);return isNaN(t)?null:t}var QK=+new Date("2000-01-01T00:00:00.000Z")?KK:PE(aN);const ZK=QK,JK=Object.freeze(Object.defineProperty({__proto__:null,isoFormat:XK,isoParse:ZK,get timeFormat(){return rN},timeFormatDefaultLocale:iN,timeFormatLocale:QF,get timeParse(){return nN},get utcFormat(){return IE},get utcParse(){return PE}},Symbol.toStringTag,{value:"Module"})),xoe=Pl(JK);function eQ(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function sg(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 Nf(e){return e=sg(Math.abs(e)),e?e[1]:NaN}function tQ(e,t){return function(r,n){for(var i=r.length,a=[],o=0,u=e[0],s=0;i>0&&u>0&&(s+u+1>n&&(u=Math.max(1,n-s)),a.push(r.substring(i-=u,i+u)),!((s+=u+1)>n));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}function rQ(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var nQ=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fg(e){if(!(t=nQ.exec(e)))throw new Error("invalid format: "+e);var t;return new iy({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]})}fg.prototype=iy.prototype;function iy(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+""}iy.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 iQ(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 oN;function aQ(e,t){var r=sg(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(oN=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")+sg(e,Math.max(0,t+a-1))[0]}function M5(e,t){var r=sg(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 k5={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:eQ,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 M5(e*100,t)},r:M5,s:aQ,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function R5(e){return e}var I5=Array.prototype.map,P5=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function uN(e){var t=e.grouping===void 0||e.thousands===void 0?R5:tQ(I5.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?R5:rQ(I5.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"-":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function c(g){g=fg(g);var v=g.fill,y=g.align,A=g.sign,E=g.symbol,w=g.zero,x=g.width,_=g.comma,T=g.precision,C=g.trim,R=g.type;R==="n"?(_=!0,R="g"):k5[R]||(T===void 0&&(T=12),C=!0,R="g"),(w||v==="0"&&y==="=")&&(w=!0,v="0",y="=");var N=E==="$"?r:E==="#"&&/[boxX]/.test(R)?"0"+R.toLowerCase():"",V=E==="$"?n:/[%p]/.test(R)?o:"",j=k5[R],ne=/[defgprs%]/.test(R);T=T===void 0?6:/[gprs]/.test(R)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function Te(be){var Re=N,De=V,Le,We,it;if(R==="c")De=j(be)+De,be="";else{be=+be;var Ie=be<0||1/be<0;if(be=isNaN(be)?s:j(Math.abs(be),T),C&&(be=iQ(be)),Ie&&+be==0&&A!=="+"&&(Ie=!1),Re=(Ie?A==="("?A:u:A==="-"||A==="("?"":A)+Re,De=(R==="s"?P5[8+oN/3]:"")+De+(Ie&&A==="("?")":""),ne){for(Le=-1,We=be.length;++Le<We;)if(it=be.charCodeAt(Le),48>it||it>57){De=(it===46?i+be.slice(Le+1):be.slice(Le))+De,be=be.slice(0,Le);break}}}_&&!w&&(be=t(be,1/0));var Ve=Re.length+be.length+De.length,Mt=Ve<x?new Array(x-Ve+1).join(v):"";switch(_&&w&&(be=t(Mt+be,Mt.length?x-De.length:1/0),Mt=""),y){case"<":be=Re+be+De+Mt;break;case"=":be=Re+Mt+be+De;break;case"^":be=Mt.slice(0,Ve=Mt.length>>1)+Re+be+De+Mt.slice(Ve);break;default:be=Mt+Re+be+De;break}return a(be)}return Te.toString=function(){return g+""},Te}function d(g,v){var y=c((g=fg(g),g.type="f",g)),A=Math.max(-8,Math.min(8,Math.floor(Nf(v)/3)))*3,E=Math.pow(10,-A),w=P5[8+A/3];return function(x){return y(E*x)+w}}return{format:c,formatPrefix:d}}var b0,lN,sN;fN({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function fN(e){return b0=uN(e),lN=b0.format,sN=b0.formatPrefix,b0}function oQ(e){return Math.max(0,-Nf(Math.abs(e)))}function uQ(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Nf(t)/3)))*3-Nf(Math.abs(e)))}function lQ(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Nf(t)-Nf(e))+1}const sQ=Object.freeze(Object.defineProperty({__proto__:null,FormatSpecifier:iy,get format(){return lN},formatDefaultLocale:fN,formatLocale:uN,get formatPrefix(){return sN},formatSpecifier:fg,precisionFixed:oQ,precisionPrefix:uQ,precisionRound:lQ},Symbol.toStringTag,{value:"Module"})),woe=Pl(sQ);var fQ=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},cQ=fQ,_oe=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&cQ(r))return!1}else if(t!=="number")return!1;return e-e<1},cN={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zt,function(){function r(q){return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},r(q)}var n=/^\s+/,i=/\s+$/;function a(q,U){if(q=q||"",U=U||{},q instanceof a)return q;if(!(this instanceof a))return new a(q,U);var H=o(q);this._originalInput=q,this._r=H.r,this._g=H.g,this._b=H.b,this._a=H.a,this._roundA=Math.round(100*this._a)/100,this._format=U.format||H.format,this._gradientType=U.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=H.ok}a.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 U=this.toRgb();return(U.r*299+U.g*587+U.b*114)/1e3},getLuminance:function(){var U=this.toRgb(),H,ye,ue,Ge,St,Vt;return H=U.r/255,ye=U.g/255,ue=U.b/255,H<=.03928?Ge=H/12.92:Ge=Math.pow((H+.055)/1.055,2.4),ye<=.03928?St=ye/12.92:St=Math.pow((ye+.055)/1.055,2.4),ue<=.03928?Vt=ue/12.92:Vt=Math.pow((ue+.055)/1.055,2.4),.2126*Ge+.7152*St+.0722*Vt},setAlpha:function(U){return this._a=Le(U),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var U=d(this._r,this._g,this._b);return{h:U.h*360,s:U.s,v:U.v,a:this._a}},toHsvString:function(){var U=d(this._r,this._g,this._b),H=Math.round(U.h*360),ye=Math.round(U.s*100),ue=Math.round(U.v*100);return this._a==1?"hsv("+H+", "+ye+"%, "+ue+"%)":"hsva("+H+", "+ye+"%, "+ue+"%, "+this._roundA+")"},toHsl:function(){var U=s(this._r,this._g,this._b);return{h:U.h*360,s:U.s,l:U.l,a:this._a}},toHslString:function(){var U=s(this._r,this._g,this._b),H=Math.round(U.h*360),ye=Math.round(U.s*100),ue=Math.round(U.l*100);return this._a==1?"hsl("+H+", "+ye+"%, "+ue+"%)":"hsla("+H+", "+ye+"%, "+ue+"%, "+this._roundA+")"},toHex:function(U){return v(this._r,this._g,this._b,U)},toHexString:function(U){return"#"+this.toHex(U)},toHex8:function(U){return y(this._r,this._g,this._b,this._a,U)},toHex8String:function(U){return"#"+this.toHex8(U)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(We(this._r,255)*100)+"%",g:Math.round(We(this._g,255)*100)+"%",b:Math.round(We(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(We(this._r,255)*100)+"%, "+Math.round(We(this._g,255)*100)+"%, "+Math.round(We(this._b,255)*100)+"%)":"rgba("+Math.round(We(this._r,255)*100)+"%, "+Math.round(We(this._g,255)*100)+"%, "+Math.round(We(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Re[v(this._r,this._g,this._b,!0)]||!1},toFilter:function(U){var H="#"+A(this._r,this._g,this._b,this._a),ye=H,ue=this._gradientType?"GradientType = 1, ":"";if(U){var Ge=a(U);ye="#"+A(Ge._r,Ge._g,Ge._b,Ge._a)}return"progid:DXImageTransform.Microsoft.gradient("+ue+"startColorstr="+H+",endColorstr="+ye+")"},toString:function(U){var H=!!U;U=U||this._format;var ye=!1,ue=this._a<1&&this._a>=0,Ge=!H&&ue&&(U==="hex"||U==="hex6"||U==="hex3"||U==="hex4"||U==="hex8"||U==="name");return Ge?U==="name"&&this._a===0?this.toName():this.toRgbString():(U==="rgb"&&(ye=this.toRgbString()),U==="prgb"&&(ye=this.toPercentageRgbString()),(U==="hex"||U==="hex6")&&(ye=this.toHexString()),U==="hex3"&&(ye=this.toHexString(!0)),U==="hex4"&&(ye=this.toHex8String(!0)),U==="hex8"&&(ye=this.toHex8String()),U==="name"&&(ye=this.toName()),U==="hsl"&&(ye=this.toHslString()),U==="hsv"&&(ye=this.toHsvString()),ye||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(U,H){var ye=U.apply(null,[this].concat([].slice.call(H)));return this._r=ye._r,this._g=ye._g,this._b=ye._b,this.setAlpha(ye._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(E,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(R,arguments)},_applyCombination:function(U,H){return U.apply(null,[this].concat([].slice.call(H)))},analogous:function(){return this._applyCombination(ne,arguments)},complement:function(){return this._applyCombination(N,arguments)},monochromatic:function(){return this._applyCombination(Te,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(V,[3])},tetrad:function(){return this._applyCombination(V,[4])}},a.fromRatio=function(q,U){if(r(q)=="object"){var H={};for(var ye in q)q.hasOwnProperty(ye)&&(ye==="a"?H[ye]=q[ye]:H[ye]=xe(q[ye]));q=H}return a(q,U)};function o(q){var U={r:0,g:0,b:0},H=1,ye=null,ue=null,Ge=null,St=!1,Vt=!1;return typeof q=="string"&&(q=Rt(q)),r(q)=="object"&&(vt(q.r)&&vt(q.g)&&vt(q.b)?(U=u(q.r,q.g,q.b),St=!0,Vt=String(q.r).substr(-1)==="%"?"prgb":"rgb"):vt(q.h)&&vt(q.s)&&vt(q.v)?(ye=xe(q.s),ue=xe(q.v),U=g(q.h,ye,ue),St=!0,Vt="hsv"):vt(q.h)&&vt(q.s)&&vt(q.l)&&(ye=xe(q.s),Ge=xe(q.l),U=c(q.h,ye,Ge),St=!0,Vt="hsl"),q.hasOwnProperty("a")&&(H=q.a)),H=Le(H),{ok:St,format:q.format||Vt,r:Math.min(255,Math.max(U.r,0)),g:Math.min(255,Math.max(U.g,0)),b:Math.min(255,Math.max(U.b,0)),a:H}}function u(q,U,H){return{r:We(q,255)*255,g:We(U,255)*255,b:We(H,255)*255}}function s(q,U,H){q=We(q,255),U=We(U,255),H=We(H,255);var ye=Math.max(q,U,H),ue=Math.min(q,U,H),Ge,St,Vt=(ye+ue)/2;if(ye==ue)Ge=St=0;else{var $=ye-ue;switch(St=Vt>.5?$/(2-ye-ue):$/(ye+ue),ye){case q:Ge=(U-H)/$+(U<H?6:0);break;case U:Ge=(H-q)/$+2;break;case H:Ge=(q-U)/$+4;break}Ge/=6}return{h:Ge,s:St,l:Vt}}function c(q,U,H){var ye,ue,Ge;q=We(q,360),U=We(U,100),H=We(H,100);function St(M,P,K){return K<0&&(K+=1),K>1&&(K-=1),K<1/6?M+(P-M)*6*K:K<1/2?P:K<2/3?M+(P-M)*(2/3-K)*6:M}if(U===0)ye=ue=Ge=H;else{var Vt=H<.5?H*(1+U):H+U-H*U,$=2*H-Vt;ye=St($,Vt,q+1/3),ue=St($,Vt,q),Ge=St($,Vt,q-1/3)}return{r:ye*255,g:ue*255,b:Ge*255}}function d(q,U,H){q=We(q,255),U=We(U,255),H=We(H,255);var ye=Math.max(q,U,H),ue=Math.min(q,U,H),Ge,St,Vt=ye,$=ye-ue;if(St=ye===0?0:$/ye,ye==ue)Ge=0;else{switch(ye){case q:Ge=(U-H)/$+(U<H?6:0);break;case U:Ge=(H-q)/$+2;break;case H:Ge=(q-U)/$+4;break}Ge/=6}return{h:Ge,s:St,v:Vt}}function g(q,U,H){q=We(q,360)*6,U=We(U,100),H=We(H,100);var ye=Math.floor(q),ue=q-ye,Ge=H*(1-U),St=H*(1-ue*U),Vt=H*(1-(1-ue)*U),$=ye%6,M=[H,St,Ge,Ge,Vt,H][$],P=[Vt,H,H,St,Ge,Ge][$],K=[Ge,Ge,Vt,H,H,St][$];return{r:M*255,g:P*255,b:K*255}}function v(q,U,H,ye){var ue=[pt(Math.round(q).toString(16)),pt(Math.round(U).toString(16)),pt(Math.round(H).toString(16))];return ye&&ue[0].charAt(0)==ue[0].charAt(1)&&ue[1].charAt(0)==ue[1].charAt(1)&&ue[2].charAt(0)==ue[2].charAt(1)?ue[0].charAt(0)+ue[1].charAt(0)+ue[2].charAt(0):ue.join("")}function y(q,U,H,ye,ue){var Ge=[pt(Math.round(q).toString(16)),pt(Math.round(U).toString(16)),pt(Math.round(H).toString(16)),pt(Ye(ye))];return ue&&Ge[0].charAt(0)==Ge[0].charAt(1)&&Ge[1].charAt(0)==Ge[1].charAt(1)&&Ge[2].charAt(0)==Ge[2].charAt(1)&&Ge[3].charAt(0)==Ge[3].charAt(1)?Ge[0].charAt(0)+Ge[1].charAt(0)+Ge[2].charAt(0)+Ge[3].charAt(0):Ge.join("")}function A(q,U,H,ye){var ue=[pt(Ye(ye)),pt(Math.round(q).toString(16)),pt(Math.round(U).toString(16)),pt(Math.round(H).toString(16))];return ue.join("")}a.equals=function(q,U){return!q||!U?!1:a(q).toRgbString()==a(U).toRgbString()},a.random=function(){return a.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function E(q,U){U=U===0?0:U||10;var H=a(q).toHsl();return H.s-=U/100,H.s=it(H.s),a(H)}function w(q,U){U=U===0?0:U||10;var H=a(q).toHsl();return H.s+=U/100,H.s=it(H.s),a(H)}function x(q){return a(q).desaturate(100)}function _(q,U){U=U===0?0:U||10;var H=a(q).toHsl();return H.l+=U/100,H.l=it(H.l),a(H)}function T(q,U){U=U===0?0:U||10;var H=a(q).toRgb();return H.r=Math.max(0,Math.min(255,H.r-Math.round(255*-(U/100)))),H.g=Math.max(0,Math.min(255,H.g-Math.round(255*-(U/100)))),H.b=Math.max(0,Math.min(255,H.b-Math.round(255*-(U/100)))),a(H)}function C(q,U){U=U===0?0:U||10;var H=a(q).toHsl();return H.l-=U/100,H.l=it(H.l),a(H)}function R(q,U){var H=a(q).toHsl(),ye=(H.h+U)%360;return H.h=ye<0?360+ye:ye,a(H)}function N(q){var U=a(q).toHsl();return U.h=(U.h+180)%360,a(U)}function V(q,U){if(isNaN(U)||U<=0)throw new Error("Argument to polyad must be a positive number");for(var H=a(q).toHsl(),ye=[a(q)],ue=360/U,Ge=1;Ge<U;Ge++)ye.push(a({h:(H.h+Ge*ue)%360,s:H.s,l:H.l}));return ye}function j(q){var U=a(q).toHsl(),H=U.h;return[a(q),a({h:(H+72)%360,s:U.s,l:U.l}),a({h:(H+216)%360,s:U.s,l:U.l})]}function ne(q,U,H){U=U||6,H=H||30;var ye=a(q).toHsl(),ue=360/H,Ge=[a(q)];for(ye.h=(ye.h-(ue*U>>1)+720)%360;--U;)ye.h=(ye.h+ue)%360,Ge.push(a(ye));return Ge}function Te(q,U){U=U||6;for(var H=a(q).toHsv(),ye=H.h,ue=H.s,Ge=H.v,St=[],Vt=1/U;U--;)St.push(a({h:ye,s:ue,v:Ge})),Ge=(Ge+Vt)%1;return St}a.mix=function(q,U,H){H=H===0?0:H||50;var ye=a(q).toRgb(),ue=a(U).toRgb(),Ge=H/100,St={r:(ue.r-ye.r)*Ge+ye.r,g:(ue.g-ye.g)*Ge+ye.g,b:(ue.b-ye.b)*Ge+ye.b,a:(ue.a-ye.a)*Ge+ye.a};return a(St)},a.readability=function(q,U){var H=a(q),ye=a(U);return(Math.max(H.getLuminance(),ye.getLuminance())+.05)/(Math.min(H.getLuminance(),ye.getLuminance())+.05)},a.isReadable=function(q,U,H){var ye=a.readability(q,U),ue,Ge;switch(Ge=!1,ue=Xt(H),ue.level+ue.size){case"AAsmall":case"AAAlarge":Ge=ye>=4.5;break;case"AAlarge":Ge=ye>=3;break;case"AAAsmall":Ge=ye>=7;break}return Ge},a.mostReadable=function(q,U,H){var ye=null,ue=0,Ge,St,Vt,$;H=H||{},St=H.includeFallbackColors,Vt=H.level,$=H.size;for(var M=0;M<U.length;M++)Ge=a.readability(q,U[M]),Ge>ue&&(ue=Ge,ye=a(U[M]));return a.isReadable(q,ye,{level:Vt,size:$})||!St?ye:(H.includeFallbackColors=!1,a.mostReadable(q,["#fff","#000"],H))};var be=a.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"},Re=a.hexNames=De(be);function De(q){var U={};for(var H in q)q.hasOwnProperty(H)&&(U[q[H]]=H);return U}function Le(q){return q=parseFloat(q),(isNaN(q)||q<0||q>1)&&(q=1),q}function We(q,U){Ve(q)&&(q="100%");var H=Mt(q);return q=Math.min(U,Math.max(0,parseFloat(q))),H&&(q=parseInt(q*U,10)/100),Math.abs(q-U)<1e-6?1:q%U/parseFloat(U)}function it(q){return Math.min(1,Math.max(0,q))}function Ie(q){return parseInt(q,16)}function Ve(q){return typeof q=="string"&&q.indexOf(".")!=-1&&parseFloat(q)===1}function Mt(q){return typeof q=="string"&&q.indexOf("%")!=-1}function pt(q){return q.length==1?"0"+q:""+q}function xe(q){return q<=1&&(q=q*100+"%"),q}function Ye(q){return Math.round(parseFloat(q)*255).toString(16)}function lt(q){return Ie(q)/255}var Ue=function(){var q="[-\\+]?\\d+%?",U="[-\\+]?\\d*\\.\\d+%?",H="(?:"+U+")|(?:"+q+")",ye="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",ue="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?";return{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ye),rgba:new RegExp("rgba"+ue),hsl:new RegExp("hsl"+ye),hsla:new RegExp("hsla"+ue),hsv:new RegExp("hsv"+ye),hsva:new RegExp("hsva"+ue),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 vt(q){return!!Ue.CSS_UNIT.exec(q)}function Rt(q){q=q.replace(n,"").replace(i,"").toLowerCase();var U=!1;if(be[q])q=be[q],U=!0;else if(q=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var H;return(H=Ue.rgb.exec(q))?{r:H[1],g:H[2],b:H[3]}:(H=Ue.rgba.exec(q))?{r:H[1],g:H[2],b:H[3],a:H[4]}:(H=Ue.hsl.exec(q))?{h:H[1],s:H[2],l:H[3]}:(H=Ue.hsla.exec(q))?{h:H[1],s:H[2],l:H[3],a:H[4]}:(H=Ue.hsv.exec(q))?{h:H[1],s:H[2],v:H[3]}:(H=Ue.hsva.exec(q))?{h:H[1],s:H[2],v:H[3],a:H[4]}:(H=Ue.hex8.exec(q))?{r:Ie(H[1]),g:Ie(H[2]),b:Ie(H[3]),a:lt(H[4]),format:U?"name":"hex8"}:(H=Ue.hex6.exec(q))?{r:Ie(H[1]),g:Ie(H[2]),b:Ie(H[3]),format:U?"name":"hex"}:(H=Ue.hex4.exec(q))?{r:Ie(H[1]+""+H[1]),g:Ie(H[2]+""+H[2]),b:Ie(H[3]+""+H[3]),a:lt(H[4]+""+H[4]),format:U?"name":"hex8"}:(H=Ue.hex3.exec(q))?{r:Ie(H[1]+""+H[1]),g:Ie(H[2]+""+H[2]),b:Ie(H[3]+""+H[3]),format:U?"name":"hex"}:!1}function Xt(q){var U,H;return q=q||{level:"AA",size:"small"},U=(q.level||"AA").toUpperCase(),H=(q.size||"small").toLowerCase(),U!=="AA"&&U!=="AAA"&&(U="AA"),H!=="small"&&H!=="large"&&(H="small"),{level:U,size:H}}return a})})(cN);var Soe=cN.exports,hQ=dQ;function dQ(){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 pQ=vQ;function vQ(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 mQ=gQ;function gQ(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 hN=yQ;function yQ(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 bQ=xQ;function xQ(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],a=t[6],o=t[7],u=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]=u}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 wQ=_Q;function _Q(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],u=t[5],s=t[6],c=t[7],d=t[8],g=t[9],v=t[10],y=t[11],A=t[12],E=t[13],w=t[14],x=t[15],_=r*u-n*o,T=r*s-i*o,C=r*c-a*o,R=n*s-i*u,N=n*c-a*u,V=i*c-a*s,j=d*E-g*A,ne=d*w-v*A,Te=d*x-y*A,be=g*w-v*E,Re=g*x-y*E,De=v*x-y*w,Le=_*De-T*Re+C*be+R*Te-N*ne+V*j;return Le?(Le=1/Le,e[0]=(u*De-s*Re+c*be)*Le,e[1]=(i*Re-n*De-a*be)*Le,e[2]=(E*V-w*N+x*R)*Le,e[3]=(v*N-g*V-y*R)*Le,e[4]=(s*Te-o*De-c*ne)*Le,e[5]=(r*De-i*Te+a*ne)*Le,e[6]=(w*C-A*V-x*T)*Le,e[7]=(d*V-v*C+y*T)*Le,e[8]=(o*Re-u*Te+c*j)*Le,e[9]=(n*Te-r*Re-a*j)*Le,e[10]=(A*N-E*C+x*_)*Le,e[11]=(g*C-d*N-y*_)*Le,e[12]=(u*ne-o*be-s*j)*Le,e[13]=(r*be-n*ne+i*j)*Le,e[14]=(E*T-A*R-w*_)*Le,e[15]=(d*R-g*T+v*_)*Le,e):null}var SQ=EQ;function EQ(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],u=t[5],s=t[6],c=t[7],d=t[8],g=t[9],v=t[10],y=t[11],A=t[12],E=t[13],w=t[14],x=t[15];return e[0]=u*(v*x-y*w)-g*(s*x-c*w)+E*(s*y-c*v),e[1]=-(n*(v*x-y*w)-g*(i*x-a*w)+E*(i*y-a*v)),e[2]=n*(s*x-c*w)-u*(i*x-a*w)+E*(i*c-a*s),e[3]=-(n*(s*y-c*v)-u*(i*y-a*v)+g*(i*c-a*s)),e[4]=-(o*(v*x-y*w)-d*(s*x-c*w)+A*(s*y-c*v)),e[5]=r*(v*x-y*w)-d*(i*x-a*w)+A*(i*y-a*v),e[6]=-(r*(s*x-c*w)-o*(i*x-a*w)+A*(i*c-a*s)),e[7]=r*(s*y-c*v)-o*(i*y-a*v)+d*(i*c-a*s),e[8]=o*(g*x-y*E)-d*(u*x-c*E)+A*(u*y-c*g),e[9]=-(r*(g*x-y*E)-d*(n*x-a*E)+A*(n*y-a*g)),e[10]=r*(u*x-c*E)-o*(n*x-a*E)+A*(n*c-a*u),e[11]=-(r*(u*y-c*g)-o*(n*y-a*g)+d*(n*c-a*u)),e[12]=-(o*(g*w-v*E)-d*(u*w-s*E)+A*(u*v-s*g)),e[13]=r*(g*w-v*E)-d*(n*w-i*E)+A*(n*v-i*g),e[14]=-(r*(u*w-s*E)-o*(n*w-i*E)+A*(n*s-i*u)),e[15]=r*(u*v-s*g)-o*(n*v-i*g)+d*(n*s-i*u),e}var AQ=CQ;function CQ(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],u=e[6],s=e[7],c=e[8],d=e[9],g=e[10],v=e[11],y=e[12],A=e[13],E=e[14],w=e[15],x=t*o-r*a,_=t*u-n*a,T=t*s-i*a,C=r*u-n*o,R=r*s-i*o,N=n*s-i*u,V=c*A-d*y,j=c*E-g*y,ne=c*w-v*y,Te=d*E-g*A,be=d*w-v*A,Re=g*w-v*E;return x*Re-_*be+T*Te+C*ne-R*j+N*V}var TQ=OQ;function OQ(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],u=t[4],s=t[5],c=t[6],d=t[7],g=t[8],v=t[9],y=t[10],A=t[11],E=t[12],w=t[13],x=t[14],_=t[15],T=r[0],C=r[1],R=r[2],N=r[3];return e[0]=T*n+C*u+R*g+N*E,e[1]=T*i+C*s+R*v+N*w,e[2]=T*a+C*c+R*y+N*x,e[3]=T*o+C*d+R*A+N*_,T=r[4],C=r[5],R=r[6],N=r[7],e[4]=T*n+C*u+R*g+N*E,e[5]=T*i+C*s+R*v+N*w,e[6]=T*a+C*c+R*y+N*x,e[7]=T*o+C*d+R*A+N*_,T=r[8],C=r[9],R=r[10],N=r[11],e[8]=T*n+C*u+R*g+N*E,e[9]=T*i+C*s+R*v+N*w,e[10]=T*a+C*c+R*y+N*x,e[11]=T*o+C*d+R*A+N*_,T=r[12],C=r[13],R=r[14],N=r[15],e[12]=T*n+C*u+R*g+N*E,e[13]=T*i+C*s+R*v+N*w,e[14]=T*a+C*c+R*y+N*x,e[15]=T*o+C*d+R*A+N*_,e}var MQ=kQ;function kQ(e,t,r){var n=r[0],i=r[1],a=r[2],o,u,s,c,d,g,v,y,A,E,w,x;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],u=t[1],s=t[2],c=t[3],d=t[4],g=t[5],v=t[6],y=t[7],A=t[8],E=t[9],w=t[10],x=t[11],e[0]=o,e[1]=u,e[2]=s,e[3]=c,e[4]=d,e[5]=g,e[6]=v,e[7]=y,e[8]=A,e[9]=E,e[10]=w,e[11]=x,e[12]=o*n+d*i+A*a+t[12],e[13]=u*n+g*i+E*a+t[13],e[14]=s*n+v*i+w*a+t[14],e[15]=c*n+y*i+x*a+t[15]),e}var RQ=IQ;function IQ(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 PQ=FQ;function FQ(e,t,r,n){var i=n[0],a=n[1],o=n[2],u=Math.sqrt(i*i+a*a+o*o),s,c,d,g,v,y,A,E,w,x,_,T,C,R,N,V,j,ne,Te,be,Re,De,Le,We;return Math.abs(u)<1e-6?null:(u=1/u,i*=u,a*=u,o*=u,s=Math.sin(r),c=Math.cos(r),d=1-c,g=t[0],v=t[1],y=t[2],A=t[3],E=t[4],w=t[5],x=t[6],_=t[7],T=t[8],C=t[9],R=t[10],N=t[11],V=i*i*d+c,j=a*i*d+o*s,ne=o*i*d-a*s,Te=i*a*d-o*s,be=a*a*d+c,Re=o*a*d+i*s,De=i*o*d+a*s,Le=a*o*d-i*s,We=o*o*d+c,e[0]=g*V+E*j+T*ne,e[1]=v*V+w*j+C*ne,e[2]=y*V+x*j+R*ne,e[3]=A*V+_*j+N*ne,e[4]=g*Te+E*be+T*Re,e[5]=v*Te+w*be+C*Re,e[6]=y*Te+x*be+R*Re,e[7]=A*Te+_*be+N*Re,e[8]=g*De+E*Le+T*We,e[9]=v*De+w*Le+C*We,e[10]=y*De+x*Le+R*We,e[11]=A*De+_*Le+N*We,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}var NQ=LQ;function LQ(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],u=t[6],s=t[7],c=t[8],d=t[9],g=t[10],v=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]=u*i+g*n,e[7]=s*i+v*n,e[8]=c*i-a*n,e[9]=d*i-o*n,e[10]=g*i-u*n,e[11]=v*i-s*n,e}var $Q=DQ;function DQ(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],u=t[2],s=t[3],c=t[8],d=t[9],g=t[10],v=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]=u*i-g*n,e[3]=s*i-v*n,e[8]=a*n+c*i,e[9]=o*n+d*i,e[10]=u*n+g*i,e[11]=s*n+v*i,e}var BQ=zQ;function zQ(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],u=t[2],s=t[3],c=t[4],d=t[5],g=t[6],v=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]=u*i+g*n,e[3]=s*i+v*n,e[4]=c*i-a*n,e[5]=d*i-o*n,e[6]=g*i-u*n,e[7]=v*i-s*n,e}var UQ=jQ;function jQ(e,t,r){var n,i,a,o=r[0],u=r[1],s=r[2],c=Math.sqrt(o*o+u*u+s*s);return Math.abs(c)<1e-6?null:(c=1/c,o*=c,u*=c,s*=c,n=Math.sin(t),i=Math.cos(t),a=1-i,e[0]=o*o*a+i,e[1]=u*o*a+s*n,e[2]=s*o*a-u*n,e[3]=0,e[4]=o*u*a-s*n,e[5]=u*u*a+i,e[6]=s*u*a+o*n,e[7]=0,e[8]=o*s*a+u*n,e[9]=u*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 GQ=HQ;function HQ(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],u=n+n,s=i+i,c=a+a,d=n*u,g=n*s,v=n*c,y=i*s,A=i*c,E=a*c,w=o*u,x=o*s,_=o*c;return e[0]=1-(y+E),e[1]=g+_,e[2]=v-x,e[3]=0,e[4]=g-_,e[5]=1-(d+E),e[6]=A+w,e[7]=0,e[8]=v+x,e[9]=A-w,e[10]=1-(d+y),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}var WQ=qQ;function qQ(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 VQ=YQ;function YQ(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 XQ=KQ;function KQ(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 QQ=ZQ;function ZQ(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 JQ=eZ;function eZ(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 tZ=rZ;function rZ(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=r+r,u=n+n,s=i+i,c=r*o,d=n*o,g=n*u,v=i*o,y=i*u,A=i*s,E=a*o,w=a*u,x=a*s;return e[0]=1-g-A,e[1]=d+x,e[2]=v-w,e[3]=0,e[4]=d-x,e[5]=1-c-A,e[6]=y+E,e[7]=0,e[8]=v+w,e[9]=y-E,e[10]=1-c-g,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var nZ=iZ;function iZ(e,t,r,n,i,a,o){var u=1/(r-t),s=1/(i-n),c=1/(a-o);return e[0]=a*2*u,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)*u,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 aZ=oZ;function oZ(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 uZ=lZ;function lZ(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),u=Math.tan(t.rightDegrees*Math.PI/180),s=2/(o+u),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-u)*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 sZ=fZ;function fZ(e,t,r,n,i,a,o){var u=1/(t-r),s=1/(n-i),c=1/(a-o);return e[0]=-2*u,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)*u,e[13]=(i+n)*s,e[14]=(o+a)*c,e[15]=1,e}var cZ=hN,hZ=dZ;function dZ(e,t,r,n){var i,a,o,u,s,c,d,g,v,y,A=t[0],E=t[1],w=t[2],x=n[0],_=n[1],T=n[2],C=r[0],R=r[1],N=r[2];return Math.abs(A-C)<1e-6&&Math.abs(E-R)<1e-6&&Math.abs(w-N)<1e-6?cZ(e):(d=A-C,g=E-R,v=w-N,y=1/Math.sqrt(d*d+g*g+v*v),d*=y,g*=y,v*=y,i=_*v-T*g,a=T*d-x*v,o=x*g-_*d,y=Math.sqrt(i*i+a*a+o*o),y?(y=1/y,i*=y,a*=y,o*=y):(i=0,a=0,o=0),u=g*o-v*a,s=v*i-d*o,c=d*a-g*i,y=Math.sqrt(u*u+s*s+c*c),y?(y=1/y,u*=y,s*=y,c*=y):(u=0,s=0,c=0),e[0]=i,e[1]=u,e[2]=d,e[3]=0,e[4]=a,e[5]=s,e[6]=g,e[7]=0,e[8]=o,e[9]=c,e[10]=v,e[11]=0,e[12]=-(i*A+a*E+o*w),e[13]=-(u*A+s*E+c*w),e[14]=-(d*A+g*E+v*w),e[15]=1,e)}var pZ=vZ;function vZ(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 Eoe={create:hQ,clone:pQ,copy:mQ,identity:hN,transpose:bQ,invert:wQ,adjoint:SQ,determinant:AQ,multiply:TQ,translate:MQ,scale:RQ,rotate:PQ,rotateX:NQ,rotateY:$Q,rotateZ:BQ,fromRotation:UQ,fromRotationTranslation:GQ,fromScaling:WQ,fromTranslation:VQ,fromXRotation:XQ,fromYRotation:QQ,fromZRotation:JQ,fromQuat:tZ,frustum:nZ,perspective:aZ,perspectiveFromFieldOfView:uZ,ortho:sZ,lookAt:hZ,str:pZ},ay={exports:{}};ay.exports=FE;ay.exports.isMobile=FE;ay.exports.default=FE;const mZ=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,gZ=/CrOS/,yZ=/android|ipad|playbook|silk/i;function FE(e){e||(e={});let 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;let r=mZ.test(t)&&!gZ.test(t)||!!e.tablet&&yZ.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var Aoe=ay.exports,bZ=!0,xZ=bZ,h2;typeof Zt.matchMedia=="function"?h2=!Zt.matchMedia("(hover: none)").matches:h2=xZ;var Coe=h2,NE={exports:{}},yf=typeof Reflect=="object"?Reflect:null,F5=yf&&typeof yf.apply=="function"?yf.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},fm;yf&&typeof yf.ownKeys=="function"?fm=yf.ownKeys:Object.getOwnPropertySymbols?fm=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:fm=function(t){return Object.getOwnPropertyNames(t)};function wZ(e){console&&console.warn&&console.warn(e)}var dN=Number.isNaN||function(t){return t!==t};function Mr(){Mr.init.call(this)}NE.exports=Mr;NE.exports.once=AZ;Mr.EventEmitter=Mr;Mr.prototype._events=void 0;Mr.prototype._eventsCount=0;Mr.prototype._maxListeners=void 0;var N5=10;function oy(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Mr,"defaultMaxListeners",{enumerable:!0,get:function(){return N5},set:function(e){if(typeof e!="number"||e<0||dN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");N5=e}});Mr.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};Mr.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||dN(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 pN(e){return e._maxListeners===void 0?Mr.defaultMaxListeners:e._maxListeners}Mr.prototype.getMaxListeners=function(){return pN(this)};Mr.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 u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var s=a[t];if(s===void 0)return!1;if(typeof s=="function")F5(s,this,r);else for(var c=s.length,d=bN(s,c),n=0;n<c;++n)F5(d[n],this,r);return!0};function vN(e,t,r,n){var i,a,o;if(oy(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=pN(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,wZ(u)}return e}Mr.prototype.addListener=function(t,r){return vN(this,t,r,!1)};Mr.prototype.on=Mr.prototype.addListener;Mr.prototype.prependListener=function(t,r){return vN(this,t,r,!0)};function _Z(){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 mN(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=_Z.bind(n);return i.listener=r,n.wrapFn=i,i}Mr.prototype.once=function(t,r){return oy(r),this.on(t,mN(this,t,r)),this};Mr.prototype.prependOnceListener=function(t,r){return oy(r),this.prependListener(t,mN(this,t,r)),this};Mr.prototype.removeListener=function(t,r){var n,i,a,o,u;if(oy(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){u=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():SZ(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,u||r)}return this};Mr.prototype.off=Mr.prototype.removeListener;Mr.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 gN(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?EZ(i):bN(i,i.length)}Mr.prototype.listeners=function(t){return gN(this,t,!0)};Mr.prototype.rawListeners=function(t){return gN(this,t,!1)};Mr.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):yN.call(e,t)};Mr.prototype.listenerCount=yN;function yN(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}Mr.prototype.eventNames=function(){return this._eventsCount>0?fm(this._events):[]};function bN(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function SZ(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function EZ(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function AZ(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))}xN(e,t,a,{once:!0}),t!=="error"&&CZ(e,i,{once:!0})})}function CZ(e,t,r){typeof e.on=="function"&&xN(e,"error",t,r)}function xN(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 Toe=NE.exports,wN=OZ,Ax={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},TZ=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function OZ(e){var t=[];return e.replace(TZ,function(r,n,i){var a=n.toLowerCase();for(i=kZ(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==Ax[a])return i.unshift(n),t.push(i);if(i.length<Ax[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,Ax[a])))}}),t}var MZ=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function kZ(e){var t=e.match(MZ);return t?t.map(Number):[]}var RZ={left:0,top:0},Ooe=IZ;function IZ(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=PZ(t);return r[0]=n-a.left,r[1]=i-a.top,r}function PZ(e){return e===window||e===document||e===document.body?RZ:e.getBoundingClientRect()}function FZ(){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 Moe=FZ();function NZ(){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 LZ=NZ;function $Z(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],u=i[0],s=i[1],c=r[0],d=r[1];return(u-a)*(d-o)-(s-o)*(c-a)>=-e},pointBetween:function(r,n,i){var a=r[1]-n[1],o=i[0]-n[0],u=r[0]-n[0],s=i[1]-n[1],c=u*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],u=n[0]-i[0],s=n[1]-i[1];return Math.abs(a*s-u*o)<e},linesIntersect:function(r,n,i,a){var o=n[0]-r[0],u=n[1]-r[1],s=a[0]-i[0],c=a[1]-i[1],d=o*c-u*s;if(Math.abs(d)<e)return!1;var g=r[0]-i[0],v=r[1]-i[1],y=(s*v-c*g)/d,A=(o*v-u*g)/d,E={alongA:0,alongB:0,pt:[r[0]+y*o,r[1]+y*u]};return y<=-e?E.alongA=-2:y<e?E.alongA=-1:y-1<=-e?E.alongA=0:y-1<e?E.alongA=1:E.alongA=2,A<=-e?E.alongB=-2:A<e?E.alongB=-1:A-1<=-e?E.alongB=0:A-1<e?E.alongB=1:E.alongB=2,E},pointInsideRegion:function(r,n){for(var i=r[0],a=r[1],o=n[n.length-1][0],u=n[n.length-1][1],s=!1,c=0;c<n.length;c++){var d=n[c][0],g=n[c][1];g-a>e!=u-a>e&&(o-d)*(a-g)/(u-g)+d-i>e&&(s=!s),o=d,u=g}return s}};return t}var DZ=$Z,BZ={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}},zZ=BZ,Oh=zZ;function UZ(e,t,r){function n(A,E){return{id:r?r.segmentId():-1,start:A,end:E,myFill:{above:null,below:null},otherFill:null}}function i(A,E,w){return{id:r?r.segmentId():-1,start:A,end:E,myFill:{above:w.myFill.above,below:w.myFill.below},otherFill:null}}var a=Oh.create();function o(A,E,w,x,_,T){var C=t.pointsCompare(E,_);return C!==0?C:t.pointsSame(w,T)?0:A!==x?A?1:-1:t.pointAboveOrOnLine(w,x?_:T,x?T:_)?1:-1}function u(A,E){a.insertBefore(A,function(w){var x=o(A.isStart,A.pt,E,w.isStart,w.pt,w.other.pt);return x<0})}function s(A,E){var w=Oh.node({isStart:!0,pt:A.start,seg:A,primary:E,other:null,status:null});return u(w,A.end),w}function c(A,E,w){var x=Oh.node({isStart:!1,pt:E.end,seg:E,primary:w,other:A,status:null});A.other=x,u(x,A.pt)}function d(A,E){var w=s(A,E);return c(w,A,E),w}function g(A,E){r&&r.segmentChop(A.seg,E),A.other.remove(),A.seg.end=E,A.other.pt=E,u(A.other,A.pt)}function v(A,E){var w=i(E,A.seg.end,A.seg);return g(A,E),d(w,A.primary)}function y(A,E){var w=Oh.create();function x(Le,We){var it=Le.seg.start,Ie=Le.seg.end,Ve=We.seg.start,Mt=We.seg.end;return t.pointsCollinear(it,Ve,Mt)?t.pointsCollinear(Ie,Ve,Mt)||t.pointAboveOrOnLine(Ie,Ve,Mt)?1:-1:t.pointAboveOrOnLine(it,Ve,Mt)?1:-1}function _(Le){return w.findTransition(function(We){var it=x(Le,We.ev);return it>0})}function T(Le,We){var it=Le.seg,Ie=We.seg,Ve=it.start,Mt=it.end,pt=Ie.start,xe=Ie.end;r&&r.checkIntersection(it,Ie);var Ye=t.linesIntersect(Ve,Mt,pt,xe);if(Ye===!1){if(!t.pointsCollinear(Ve,Mt,pt)||t.pointsSame(Ve,xe)||t.pointsSame(Mt,pt))return!1;var lt=t.pointsSame(Ve,pt),Ue=t.pointsSame(Mt,xe);if(lt&&Ue)return We;var vt=!lt&&t.pointBetween(Ve,pt,xe),Rt=!Ue&&t.pointBetween(Mt,pt,xe);if(lt)return Rt?v(We,Mt):v(Le,xe),We;vt&&(Ue||(Rt?v(We,Mt):v(Le,xe)),v(We,Ve))}else Ye.alongA===0&&(Ye.alongB===-1?v(Le,pt):Ye.alongB===0?v(Le,Ye.pt):Ye.alongB===1&&v(Le,xe)),Ye.alongB===0&&(Ye.alongA===-1?v(We,Ve):Ye.alongA===0?v(We,Ye.pt):Ye.alongA===1&&v(We,Mt));return!1}for(var C=[];!a.isEmpty();){var R=a.getHead();if(r&&r.vert(R.pt[0]),R.isStart){let Le=function(){if(V){var We=T(R,V);if(We)return We}return j?T(R,j):!1};r&&r.segmentNew(R.seg,R.primary);var N=_(R),V=N.before?N.before.ev:null,j=N.after?N.after.ev:null;r&&r.tempStatus(R.seg,V?V.seg:!1,j?j.seg:!1);var ne=Le();if(ne){if(e){var Te;R.seg.myFill.below===null?Te=!0:Te=R.seg.myFill.above!==R.seg.myFill.below,Te&&(ne.seg.myFill.above=!ne.seg.myFill.above)}else ne.seg.otherFill=R.seg.myFill;r&&r.segmentUpdate(ne.seg),R.other.remove(),R.remove()}if(a.getHead()!==R){r&&r.rewind(R.seg);continue}if(e){var Te;R.seg.myFill.below===null?Te=!0:Te=R.seg.myFill.above!==R.seg.myFill.below,j?R.seg.myFill.below=j.seg.myFill.above:R.seg.myFill.below=A,Te?R.seg.myFill.above=!R.seg.myFill.below:R.seg.myFill.above=R.seg.myFill.below}else if(R.seg.otherFill===null){var be;j?R.primary===j.primary?be=j.seg.otherFill.above:be=j.seg.myFill.above:be=R.primary?E:A,R.seg.otherFill={above:be,below:be}}r&&r.status(R.seg,V?V.seg:!1,j?j.seg:!1),R.other.status=N.insert(Oh.node({ev:R}))}else{var Re=R.status;if(Re===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(w.exists(Re.prev)&&w.exists(Re.next)&&T(Re.prev.ev,Re.next.ev),r&&r.statusRemove(Re.ev.seg),Re.remove(),!R.primary){var De=R.seg.myFill;R.seg.myFill=R.seg.otherFill,R.seg.otherFill=De}C.push(R.seg)}a.getHead().remove()}return r&&r.done(),C}return e?{addRegion:function(A){for(var E,w=A[A.length-1],x=0;x<A.length;x++){E=w,w=A[x];var _=t.pointsCompare(E,w);_!==0&&d(n(_<0?E:w,_<0?w:E),!0)}},calculate:function(A){return y(A,!1)}}:{calculate:function(A,E,w,x){return A.forEach(function(_){d(i(_.start,_.end,_),!0)}),w.forEach(function(_){d(i(_.start,_.end,_),!1)}),y(E,x)}}}var jZ=UZ;function GZ(e,t,r){var n=[],i=[];return e.forEach(function(a){var o=a.start,u=a.end;if(t.pointsSame(o,u)){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 g(Re,De,Le){return d.index=Re,d.matches_head=De,d.matches_pt1=Le,d===s?(d=c,!1):(d=null,!0)}for(var v=0;v<n.length;v++){var y=n[v],A=y[0];y[1];var E=y[y.length-1];if(y[y.length-2],t.pointsSame(A,o)){if(g(v,!0,!0))break}else if(t.pointsSame(A,u)){if(g(v,!0,!1))break}else if(t.pointsSame(E,o)){if(g(v,!1,!0))break}else if(t.pointsSame(E,u)&&g(v,!1,!1))break}if(d===s){n.push([o,u]),r&&r.chainNew(o,u);return}if(d===c){r&&r.chainMatch(s.index);var w=s.index,x=s.matches_pt1?u:o,_=s.matches_head,y=n[w],T=_?y[0]:y[y.length-1],C=_?y[1]:y[y.length-2],R=_?y[y.length-1]:y[0],N=_?y[y.length-2]:y[1];if(t.pointsCollinear(C,T,x)&&(_?(r&&r.chainRemoveHead(s.index,x),y.shift()):(r&&r.chainRemoveTail(s.index,x),y.pop()),T=C),t.pointsSame(R,x)){n.splice(w,1),t.pointsCollinear(N,R,T)&&(_?(r&&r.chainRemoveTail(s.index,T),y.pop()):(r&&r.chainRemoveHead(s.index,T),y.shift())),r&&r.chainClose(s.index),i.push(y);return}_?(r&&r.chainAddHead(s.index,x),y.unshift(x)):(r&&r.chainAddTail(s.index,x),y.push(x));return}function V(Re){r&&r.chainReverse(Re),n[Re].reverse()}function j(Re,De){var Le=n[Re],We=n[De],it=Le[Le.length-1],Ie=Le[Le.length-2],Ve=We[0],Mt=We[1];t.pointsCollinear(Ie,it,Ve)&&(r&&r.chainRemoveTail(Re,it),Le.pop(),it=Ie),t.pointsCollinear(it,Ve,Mt)&&(r&&r.chainRemoveHead(De,Ve),We.shift()),r&&r.chainJoin(Re,De),n[Re]=Le.concat(We),n.splice(De,1)}var ne=s.index,Te=c.index;r&&r.chainConnect(ne,Te);var be=n[ne].length<n[Te].length;s.matches_head?c.matches_head?be?(V(ne),j(ne,Te)):(V(Te),j(Te,ne)):j(Te,ne):c.matches_head?j(ne,Te):be?(V(ne),j(Te,ne)):(V(Te),j(ne,Te))}),i}var HZ=GZ;function Mh(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 WZ={union:function(e,t){return Mh(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return Mh(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return Mh(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return Mh(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return Mh(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},qZ=WZ,VZ={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 u=o(a[0]),s=1;s<a.length;s++)u=e.selectDifference(e.combine(u,o(a[s])));return u}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(y,A){return t.pointInsideRegion([(y[0][0]+y[1][0])*.5,(y[0][1]+y[1][1])*.5],A)}function i(y){return{region:y,children:[]}}var a=i(null);function o(y,A){for(var E=0;E<y.children.length;E++){var w=y.children[E];if(n(A,w.region)){o(w,A);return}}for(var x=i(A),E=0;E<y.children.length;E++){var w=y.children[E];n(w.region,A)&&(x.children.push(w),y.children.splice(E,1),E--)}y.children.push(x)}for(var u=0;u<r.regions.length;u++){var s=r.regions[u];s.length<3||o(a,s)}function c(y,A){for(var E=0,w=y[y.length-1][0],x=y[y.length-1][1],_=[],T=0;T<y.length;T++){var C=y[T][0],R=y[T][1];_.push([C,R]),E+=R*w-C*x,w=C,x=R}var N=E<0;return N!==A&&_.reverse(),_.push([_[0][0],_[0][1]]),_}var d=[];function g(y){var A=[c(y.region,!1)];d.push(A);for(var E=0;E<y.children.length;E++)A.push(v(y.children[E]))}function v(y){for(var A=0;A<y.children.length;A++)g(y.children[A]);return c(y.region,!0)}for(var u=0;u<a.children.length;u++)g(a.children[u]);return d.length<=0?{type:"Polygon",coordinates:[]}:d.length==1?{type:"Polygon",coordinates:d[0]}:{type:"MultiPolygon",coordinates:d}}},YZ=VZ;/*
|
|
859
|
+
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
860
|
+
* @license MIT
|
|
861
|
+
* @preserve Project Home: https://github.com/voidqk/polybooljs
|
|
862
|
+
*/var XZ=LZ,KZ=DZ,L5=jZ,QZ=HZ,kh=qZ,$5=YZ,Oi=!1,Rh=KZ(),ri;ri={buildLog:function(e){return e===!0?Oi=XZ():e===!1&&(Oi=!1),Oi===!1?!1:Oi.list},epsilon:function(e){return Rh.epsilon(e)},segments:function(e){var t=L5(!0,Rh,Oi);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=L5(!1,Rh,Oi);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:kh.union(e.combined,Oi),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:kh.intersect(e.combined,Oi),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:kh.difference(e.combined,Oi),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:kh.differenceRev(e.combined,Oi),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:kh.xor(e.combined,Oi),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:QZ(e.segments,Rh,Oi),inverted:e.inverted}},polygonFromGeoJSON:function(e){return $5.toPolygon(ri,e)},polygonToGeoJSON:function(e){return $5.fromPolygon(ri,Rh,e)},union:function(e,t){return Ih(e,t,ri.selectUnion)},intersect:function(e,t){return Ih(e,t,ri.selectIntersect)},difference:function(e,t){return Ih(e,t,ri.selectDifference)},differenceRev:function(e,t){return Ih(e,t,ri.selectDifferenceRev)},xor:function(e,t){return Ih(e,t,ri.selectXor)}};function Ih(e,t,r){var n=ri.segments(e),i=ri.segments(t),a=ri.combine(n,i),o=r(a);return ri.polygon(o)}typeof window=="object"&&(window.PolyBool=ri);var koe=ri,Roe=function(t,r,n,i){var a=t[0],o=t[1],u=!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 g=r[c+n][0],v=r[c+n][1],y=r[d+n][0],A=r[d+n][1],E=v>o!=A>o&&a<(y-g)*(o-v)/(A-v)+g;E&&(u=!u)}return u};const Ioe=Pl(VX);function ZZ(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,u=e[o],s=r!==void 0?r(u,t):u-t;s>=0?(a=o,i=o-1):n=o+1}return a}function JZ(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,u=e[o],s=r!==void 0?r(u,t):u-t;s>0?(a=o,i=o-1):n=o+1}return a}function eJ(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,u=e[o],s=r!==void 0?r(u,t):u-t;s<0?(a=o,n=o+1):i=o-1}return a}function tJ(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,u=e[o],s=r!==void 0?r(u,t):u-t;s<=0?(a=o,n=o+1):i=o-1}return a}function rJ(e,t,r,n,i){for(;n<=i;){var a=n+i>>>1,o=e[a],u=r!==void 0?r(o,t):o-t;if(u===0)return a;u<=0?n=a+1:i=a-1}return-1}function Ph(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 nJ={ge:function(e,t,r,n,i){return Ph(e,t,r,n,i,ZZ)},gt:function(e,t,r,n,i){return Ph(e,t,r,n,i,JZ)},lt:function(e,t,r,n,i){return Ph(e,t,r,n,i,eJ)},le:function(e,t,r,n,i){return Ph(e,t,r,n,i,tJ)},eq:function(e,t,r,n,i){return Ph(e,t,r,n,i,rJ)}},uy=iJ;function iJ(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var Su=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=D5(r)),Array.isArray(r)){var u={};for(o=0;o<r.length;o++)u[r[o]]=!0;r=u}for(a in r)r[a]=D5(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 g=o;g<c.length;g++)s[c[g]]=!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},Cx={};function D5(e){return Cx[e]?Cx[e]:(typeof e=="string"&&(e=Cx[e]=e.split(/\s*,\s*|\s+/)),e)}var aJ=Su,ly=oJ;function oJ(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=aJ(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 xp=uJ;function uJ(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,u=e.length;o<u;o+=t)e[o]>i&&(i=e[o]),e[o]<a&&(a=e[o]);r[n]=a,r[t+n]=i}return r}var _N=function(){for(var t=0;t<arguments.length;t++)if(typeof arguments[t]<"u")return arguments[t]},LE=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}},B5=LE,wp=lJ;function lJ(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,u,s;(!t||typeof t=="string")&&(t=new(B5(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,u=r;a<e.length;a++)for(o=0;o<n;o++)t[u++]=e[a][o]===null?NaN:e[a][o]}else if(!t||typeof t=="string"){var d=B5(t||"float32");if(Array.isArray(e)||t==="array")for(t=new d(e.length+r),a=0,u=r,s=t.length;u<s;u++,a++)t[u]=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 sJ=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},fJ=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const z5=nJ,U5=uy,cJ=ly,hJ=xp,j5=Su,Tx=_N,dJ=wp,pJ=sJ,vJ=LE,G5=fJ,mJ=1073741824;var gJ=function(t,r){r||(r={}),t=dJ(t,"float64"),r=j5(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=Tx(r.maxDepth,255),i=Tx(r.bounds,hJ(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=H5(t,i),o=t.length>>>1,u;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?u=new(vJ(r.dtype))(o):r.dtype&&(u=r.dtype,Array.isArray(u)&&(u.length=o));for(let x=0;x<o;++x)u[x]=x;let s=[],c=[],d=[],g=[];y(0,0,1,u,0,1);let v=0;for(let x=0;x<s.length;x++){let _=s[x];if(u.set)u.set(_,v);else for(let C=0,R=_.length;C<R;C++)u[C+v]=_[C];let T=v+s[x].length;g[x]=[v,T],v=T}return u.range=A,u;function y(x,_,T,C,R,N){if(!C.length)return null;let V=s[R]||(s[R]=[]),j=d[R]||(d[R]=[]),ne=c[R]||(c[R]=[]),Te=V.length;if(R++,R>n||N>mJ){for(let Ve=0;Ve<C.length;Ve++)V.push(C[Ve]),j.push(N),ne.push(null,null,null,null);return Te}if(V.push(C[0]),j.push(N),C.length<=1)return ne.push(null,null,null,null),Te;let be=T*.5,Re=x+be,De=_+be,Le=[],We=[],it=[],Ie=[];for(let Ve=1,Mt=C.length;Ve<Mt;Ve++){let pt=C[Ve],xe=a[pt*2],Ye=a[pt*2+1];xe<Re?Ye<De?Le.push(pt):We.push(pt):Ye<De?it.push(pt):Ie.push(pt)}return N<<=2,ne.push(y(x,_,be,Le,R,N),y(x,De,be,We,R,N+1),y(Re,_,be,it,R,N+2),y(Re,De,be,Ie,R,N+3)),Te}function A(...x){let _;if(pJ(x[x.length-1])){let it=x.pop();!x.length&&(it.x!=null||it.l!=null||it.left!=null)&&(x=[it],_={}),_=j5(it,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else _={};x.length||(x=i);let T=cJ(...x),[C,R,N,V]=[Math.min(T.x,T.x+T.width),Math.min(T.y,T.y+T.height),Math.max(T.x,T.x+T.width),Math.max(T.y,T.y+T.height)],[j,ne,Te,be]=H5([C,R,N,V],i),Re=Tx(_.level,s.length);if(_.d!=null){let it;typeof _.d=="number"?it=[_.d,_.d]:_.d.length&&(it=_.d),Re=Math.min(Math.max(Math.ceil(-G5(Math.abs(it[0])/(i[2]-i[0]))),Math.ceil(-G5(Math.abs(it[1])/(i[3]-i[1])))),Re)}if(Re=Math.min(Re,s.length),_.lod)return E(j,ne,Te,be,Re);let De=[];Le(0,0,1,0,0,1);function Le(it,Ie,Ve,Mt,pt,xe){if(pt===null||xe===null)return;let Ye=it+Ve,lt=Ie+Ve;if(j>Ye||ne>lt||Te<it||be<Ie||Mt>=Re||pt===xe)return;let Ue=s[Mt];xe===void 0&&(xe=Ue.length);for(let Ge=pt;Ge<xe;Ge++){let St=Ue[Ge],Vt=t[St*2],$=t[St*2+1];Vt>=C&&Vt<=N&&$>=R&&$<=V&&De.push(St)}let vt=c[Mt],Rt=vt[pt*4+0],Xt=vt[pt*4+1],q=vt[pt*4+2],U=vt[pt*4+3],H=We(vt,pt+1),ye=Ve*.5,ue=Mt+1;Le(it,Ie,ye,ue,Rt,Xt||q||U||H),Le(it,Ie+ye,ye,ue,Xt,q||U||H),Le(it+ye,Ie,ye,ue,q,U||H),Le(it+ye,Ie+ye,ye,ue,U,H)}function We(it,Ie){let Ve=null,Mt=0;for(;Ve===null;)if(Ve=it[Ie*4+Mt],Mt++,Mt>it.length)return null;return Ve}return De}function E(x,_,T,C,R){let N=[];for(let V=0;V<R;V++){let j=d[V],ne=g[V][0],Te=w(x,_,V),be=w(T,C,V),Re=z5.ge(j,Te),De=z5.gt(j,be,Re,j.length-1);N[V]=[Re+ne,De+ne]}return N}function w(x,_,T){let C=1,R=.5,N=.5,V=.5;for(let j=0;j<T;j++)C<<=2,C+=x<R?_<N?0:1:_<N?2:3,V*=.5,R+=x<R?-V:V,N+=_<N?-V:V;return C}};function H5(e,t){let[r,n,i,a]=t,o=1/(i-r),u=1/(a-n),s=new Array(e.length);for(let c=0,d=e.length/2;c<d;c++)s[2*c]=U5((e[2*c]-r)*o,0,1),s[2*c+1]=U5((e[2*c+1]-n)*u,0,1);return s}var yJ=gJ,SN=bJ;function bJ(e){var t=0,r=0,n=0,i=0;return e.map(function(a){a=a.slice();var o=a[0],u=o.toUpperCase();if(o!=u)switch(a[0]=u,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(u){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 xJ=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.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")}}(),pd=Math.PI*2,Ox=function(t,r,n,i,a,o,u){var s=t.x,c=t.y;s*=r,c*=n;var d=i*s-a*c,g=a*s+i*c;return{x:d+o,y:g+u}},wJ=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),u=Math.sin(t+r);return[{x:i-a*n,y:a+i*n},{x:o+u*n,y:u-o*n},{x:o,y:u}]},W5=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)},_J=function(t,r,n,i,a,o,u,s,c,d,g,v){var y=Math.pow(a,2),A=Math.pow(o,2),E=Math.pow(g,2),w=Math.pow(v,2),x=y*A-y*w-A*E;x<0&&(x=0),x/=y*w+A*E,x=Math.sqrt(x)*(u===s?-1:1);var _=x*a/o*v,T=x*-o/a*g,C=d*_-c*T+(t+n)/2,R=c*_+d*T+(r+i)/2,N=(g-_)/a,V=(v-T)/o,j=(-g-_)/a,ne=(-v-T)/o,Te=W5(1,0,N,V),be=W5(N,V,j,ne);return s===0&&be>0&&(be-=pd),s===1&&be<0&&(be+=pd),[C,R,Te,be]},SJ=function(t){var r=t.px,n=t.py,i=t.cx,a=t.cy,o=t.rx,u=t.ry,s=t.xAxisRotation,c=s===void 0?0:s,d=t.largeArcFlag,g=d===void 0?0:d,v=t.sweepFlag,y=v===void 0?0:v,A=[];if(o===0||u===0)return[];var E=Math.sin(c*pd/360),w=Math.cos(c*pd/360),x=w*(r-i)/2+E*(n-a)/2,_=-E*(r-i)/2+w*(n-a)/2;if(x===0&&_===0)return[];o=Math.abs(o),u=Math.abs(u);var T=Math.pow(x,2)/Math.pow(o,2)+Math.pow(_,2)/Math.pow(u,2);T>1&&(o*=Math.sqrt(T),u*=Math.sqrt(T));var C=_J(r,n,i,a,o,u,g,y,E,w,x,_),R=xJ(C,4),N=R[0],V=R[1],j=R[2],ne=R[3],Te=Math.abs(ne)/(pd/4);Math.abs(1-Te)<1e-7&&(Te=1);var be=Math.max(Math.ceil(Te),1);ne/=be;for(var Re=0;Re<be;Re++)A.push(wJ(j,ne)),j+=ne;return A.map(function(De){var Le=Ox(De[0],o,u,w,E,N,V),We=Le.x,it=Le.y,Ie=Ox(De[1],o,u,w,E,N,V),Ve=Ie.x,Mt=Ie.y,pt=Ox(De[2],o,u,w,E,N,V),xe=pt.x,Ye=pt.y;return{x1:We,y1:it,x2:Ve,y2:Mt,x:xe,y:Ye}})};const EJ=Object.freeze(Object.defineProperty({__proto__:null,default:SJ},Symbol.toStringTag,{value:"Module"})),AJ=Pl(EJ);var CJ=OJ,TJ=AJ;function OJ(e){for(var t,r=[],n=0,i=0,a=0,o=0,u=null,s=null,c=0,d=0,g=0,v=e.length;g<v;g++){var y=e[g],A=y[0];switch(A){case"M":a=y[1],o=y[2];break;case"A":var E=TJ({px:c,py:d,cx:y[6],cy:y[7],rx:y[1],ry:y[2],xAxisRotation:y[3],largeArcFlag:y[4],sweepFlag:y[5]});if(!E.length)continue;for(var w=0,x;w<E.length;w++)x=E[w],y=["C",x.x1,x.y1,x.x2,x.y2,x.x,x.y],w<E.length-1&&r.push(y);break;case"S":var _=c,T=d;(t=="C"||t=="S")&&(_+=_-n,T+=T-i),y=["C",_,T,y[1],y[2],y[3],y[4]];break;case"T":t=="Q"||t=="T"?(u=c*2-u,s=d*2-s):(u=c,s=d),y=q5(c,d,u,s,y[1],y[2]);break;case"Q":u=y[1],s=y[2],y=q5(c,d,y[1],y[2],y[3],y[4]);break;case"L":y=x0(c,d,y[1],y[2]);break;case"H":y=x0(c,d,y[1],d);break;case"V":y=x0(c,d,c,y[1]);break;case"Z":y=x0(c,d,a,o);break}t=A,c=y[y.length-2],d=y[y.length-1],y.length>4?(n=y[y.length-4],i=y[y.length-3]):(n=c,i=d),r.push(y)}return r}function x0(e,t,r,n){return["C",e,t,r,n,r,n]}function q5(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 EN=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))},MJ=wN,kJ=SN,RJ=CJ,IJ=EN,PJ=FJ;function FJ(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!IJ(e))throw Error("String is not an SVG path.");e=MJ(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=kJ(e),e=RJ(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 nl=Math.PI,V5=CN(120),NJ=LJ;function LJ(e){for(var t,r=[],n=0,i=0,a=0,o=0,u=null,s=null,c=0,d=0,g=0,v=e.length;g<v;g++){var y=e[g],A=y[0];switch(A){case"M":a=y[1],o=y[2];break;case"A":y=AN(c,d,y[1],y[2],CN(y[3]),y[4],y[5],y[6],y[7]),y.unshift("C"),y.length>7&&(r.push(y.splice(0,7)),y.unshift("C"));break;case"S":var E=c,w=d;(t=="C"||t=="S")&&(E+=E-n,w+=w-i),y=["C",E,w,y[1],y[2],y[3],y[4]];break;case"T":t=="Q"||t=="T"?(u=c*2-u,s=d*2-s):(u=c,s=d),y=Y5(c,d,u,s,y[1],y[2]);break;case"Q":u=y[1],s=y[2],y=Y5(c,d,y[1],y[2],y[3],y[4]);break;case"L":y=w0(c,d,y[1],y[2]);break;case"H":y=w0(c,d,y[1],d);break;case"V":y=w0(c,d,c,y[1]);break;case"Z":y=w0(c,d,a,o);break}t=A,c=y[y.length-2],d=y[y.length-1],y.length>4?(n=y[y.length-4],i=y[y.length-3]):(n=c,i=d),r.push(y)}return r}function w0(e,t,r,n){return["C",e,t,r,n,r,n]}function Y5(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 AN(e,t,r,n,i,a,o,u,s,c){if(c)T=c[0],C=c[1],x=c[2],_=c[3];else{var d=Mx(e,t,-i);e=d.x,t=d.y,d=Mx(u,s,-i),u=d.x,s=d.y;var g=(e-u)/2,v=(t-s)/2,y=g*g/(r*r)+v*v/(n*n);y>1&&(y=Math.sqrt(y),r=y*r,n=y*n);var A=r*r,E=n*n,w=(a==o?-1:1)*Math.sqrt(Math.abs((A*E-A*v*v-E*g*g)/(A*v*v+E*g*g)));w==1/0&&(w=1);var x=w*r*v/n+(e+u)/2,_=w*-n*g/r+(t+s)/2,T=Math.asin(((t-_)/n).toFixed(9)),C=Math.asin(((s-_)/n).toFixed(9));T=e<x?nl-T:T,C=u<x?nl-C:C,T<0&&(T=nl*2+T),C<0&&(C=nl*2+C),o&&T>C&&(T=T-nl*2),!o&&C>T&&(C=C-nl*2)}if(Math.abs(C-T)>V5){var R=C,N=u,V=s;C=T+V5*(o&&C>T?1:-1),u=x+r*Math.cos(C),s=_+n*Math.sin(C);var j=AN(u,s,r,n,i,0,o,N,V,[C,R,x,_])}var ne=Math.tan((C-T)/4),Te=4/3*r*ne,be=4/3*n*ne,Re=[2*e-(e+Te*Math.sin(T)),2*t-(t-be*Math.cos(T)),u+Te*Math.sin(C),s-be*Math.cos(C),u,s];if(c)return Re;j&&(Re=Re.concat(j));for(var De=0;De<Re.length;){var Le=Mx(Re[De],Re[De+1],i);Re[De++]=Le.x,Re[De++]=Le.y}return Re}function Mx(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function CN(e){return e*(nl/180)}var $J=SN,DJ=NJ,BJ={M:"moveTo",C:"bezierCurveTo"},zJ=function(e,t){e.beginPath(),DJ($J(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[BJ[n]].apply(e,i)}),e.closePath()},UJ=jJ,vd=1e20;function jJ(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,u,s,c,d,g,v,y,A,E;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?(v=e,g=v.getContext("2d"),a=v.width,o=v.height,y=g.getImageData(0,0,a,o),s=y.data,d=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(v=e.canvas,g=e,a=v.width,o=v.height,y=g.getImageData(0,0,a,o),s=y.data,d=4):window.ImageData&&e instanceof window.ImageData&&(y=e,a=e.width,o=e.height,s=y.data,d=4);if(u=Math.max(a,o),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(c=s,s=Array(a*o),A=0,E=Math.floor(c.length/d);A<E;A++)s[A]=c[A*d+i]/255;else if(d!==1)throw Error("Raw data can have only 1 value per pixel");var w=Array(a*o),x=Array(a*o),_=Array(u),T=Array(u),C=Array(u+1),R=Array(u);for(A=0,E=a*o;A<E;A++){var N=s[A];w[A]=N===1?0:N===0?vd:Math.pow(Math.max(0,.5-N),2),x[A]=N===1?vd:N===0?0:Math.pow(Math.max(0,N-.5),2)}X5(w,a,o,_,T,R,C),X5(x,a,o,_,T,R,C);var V=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(A=0,E=a*o;A<E;A++)V[A]=Math.min(Math.max(1-((w[A]-x[A])/n+r),0),1);return V}function X5(e,t,r,n,i,a,o){for(var u=0;u<t;u++){for(var s=0;s<r;s++)n[s]=e[s*t+u];for(K5(n,i,a,o,r),s=0;s<r;s++)e[s*t+u]=i[s]}for(s=0;s<r;s++){for(u=0;u<t;u++)n[u]=e[s*t+u];for(K5(n,i,a,o,t),u=0;u<t;u++)e[s*t+u]=Math.sqrt(i[u])}}function K5(e,t,r,n,i){r[0]=0,n[0]=-vd,n[1]=+vd;for(var a=1,o=0;a<i;a++){for(var u=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);u<=n[o];)o--,u=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);o++,r[o]=a,n[o]=u,n[o+1]=+vd}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 GJ=PJ,HJ=wN,WJ=zJ,qJ=EN,VJ=UJ,d2=document.createElement("canvas"),Wn=d2.getContext("2d"),Poe=YJ;function YJ(e,t){if(!qJ(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=d2.width=t.w||t.width||200,n=d2.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||GJ(e),u=[r/(o[2]-o[0]),n/(o[3]-o[1])],s=Math.min(u[0]||0,u[1]||0)/2;if(Wn.fillStyle="black",Wn.fillRect(0,0,r,n),Wn.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?Wn.strokeStyle="white":Wn.strokeStyle="black",Wn.lineWidth=Math.abs(a)),Wn.translate(r*.5,n*.5),Wn.scale(s,s),XJ()){var c=new Path2D(e);Wn.fill(c),a&&Wn.stroke(c)}else{var d=HJ(e);WJ(Wn,d),Wn.fill(),a&&Wn.stroke()}Wn.setTransform(1,0,0,1,0,0);var g=VJ(Wn,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return g}var _0;function XJ(){if(_0!=null)return _0;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return _0=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return _0=r&&r.data&&r.data[3]===255}var KJ={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]},QJ=Object.prototype.toString,TN=function(e){var t;return QJ.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},Q5=KJ,ZJ=TN,Ju=_N,JJ=eee,Z5={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function eee(e){var t,r=[],n=1,i;if(typeof e=="string")if(Q5[e])r=Q5[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,u=o<=4;n=1,u?(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(y,A){if(/%$/.test(y))return A===o?parseFloat(y)/100:a==="rgb"?parseFloat(y)*255/100:parseFloat(y);if(a[A]==="h"){if(/deg$/.test(y))return parseFloat(y);if(Z5[y]!==void 0)return Z5[y]}return parseFloat(y)}),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(g){return parseFloat(g)}),i=e.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(e))i="rgb",r=[e>>>16,(e&65280)>>>8,e&255];else if(ZJ(e)){var d=Ju(e.r,e.red,e.R,null);d!==null?(i="rgb",r=[d,Ju(e.g,e.green,e.G),Ju(e.b,e.blue,e.B)]):(i="hsl",r=[Ju(e.h,e.hue,e.H),Ju(e.s,e.saturation,e.S),Ju(e.l,e.lightness,e.L,e.b,e.brightness)]),n=Ju(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||Zt.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 tee={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},ree=tee,nee={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,u,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,u=[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,u[c]=s*255;return u}};ree.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i,u,s,c;return a===i?u=0:t===a?u=(r-n)/o:r===a?u=2+(n-t)/o:n===a&&(u=4+(t-r)/o),u=Math.min(u*60,360),u<0&&(u+=360),c=(i+a)/2,a===i?s=0:c<=.5?s=o/(a+i):s=o/(2-a-i),[u,s*100,c*100]};var iee=JJ,aee=nee,S0=uy,oee=function(t){var r,n=iee(t);return n.space?(r=Array(3),r[0]=S0(n.values[0],0,255),r[1]=S0(n.values[1],0,255),r[2]=S0(n.values[2],0,255),n.space[0]==="h"&&(r=aee.rgb(r)),r.push(S0(n.alpha,0,1)),r):[]},uee=oee,E0=uy,lee=LE,sy=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=lee(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=uee(t),t[0]/=255,t[1]/=255,t[2]/=255),see(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]=E0(Math.floor(t[0]*255),0,255),i[1]=E0(Math.floor(t[1]*255),0,255),i[2]=E0(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:E0(Math.floor(t[3]*255),0,255)),i)};function see(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 fy={exports:{}},A0=uy;fy.exports=ON;fy.exports.to=ON;fy.exports.from=fee;function ON(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=A0(r,0,255)&255,n=A0(n,0,255)&255,i=A0(i,0,255)&255,a=A0(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function fee(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 cee=fy.exports,MN=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("")},kN=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 u in o)if(!(r[u]!==void 0&&!Array.isArray(r[u])&&t[u]===r[u])&&u in r){var s;if(o[u]===!0)s=r[u];else{if(o[u]===!1)continue;if(typeof o[u]=="function"&&(s=o[u](r[u],t,r),s===void 0))continue}t[u]=s}}return t},hee=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),Lf={exports:{}};Lf.exports=md;Lf.exports.float32=Lf.exports.float=md;Lf.exports.fract32=Lf.exports.fract=dee;var J5=new Float32Array(1);function dee(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=md(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return md(e-md(e))}function md(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(J5[0]=e,J5[0])}var $E=Lf.exports;function pee(e,t){return gee(e)||bee(e,t)||RN(e,t)||wee()}function vee(e){return mee(e)||yee(e)||RN(e)||xee()}function mee(e){if(Array.isArray(e))return p2(e)}function gee(e){if(Array.isArray(e))return e}function yee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bee(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,u;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,u=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw u}}return n}}function RN(e,t){if(e){if(typeof e=="string")return p2(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 p2(e,t)}}function p2(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 xee(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
863
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
864
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _ee=sy,See=xp,Eee=cee,Aee=yJ,gl=Fl,C0=MN,Cee=Su,Tee=kN,Oee=wp,eM=hee,T0=$E,Mee=ly,kee=bn;function bn(e,t){var r=this;if(!(this instanceof bn))return new bn(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={},u=[],s=[null],c=[null],d=255,g=100;this.tooManyColors=eM,i=e.texture({data:new Uint8Array(d*4),width:d,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),gl(this,{regl:e,gl:n,groups:u,markerCache:c,markerTextures:s,palette:a,paletteIds:o,paletteTexture:i,maxColors:d,maxSize:g,canvas:n.canvas}),this.update(t);var v={uniforms:{constPointSize:!!t.constPointSize,opacity:e.prop("opacity"),paletteSize:function(w,x){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(w,x){return x.xAttr||{buffer:x.positionBuffer,stride:8,offset:0}},y:function(w,x){return x.yAttr||{buffer:x.positionBuffer,stride:8,offset:4}},xFract:function(w,x){return x.xAttr?{constant:[0,0]}:{buffer:x.positionFractBuffer,stride:8,offset:0}},yFract:function(w,x){return x.yAttr?{constant:[0,0]}:{buffer:x.positionFractBuffer,stride:8,offset:4}},size:function(w,x){return x.size.length?{buffer:x.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(x.size*255/r.maxSize)]}},borderSize:function(w,x){return x.borderSize.length?{buffer:x.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(x.borderSize*255/r.maxSize)]}},colorId:function(w,x){return x.color.length?{buffer:x.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?a.slice(x.color*4,x.color*4+4):[x.color]}},borderColorId:function(w,x){return x.borderColor.length?{buffer:x.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?a.slice(x.borderColor*4,x.borderColor*4+4):[x.borderColor]}},isActive:function(w,x){return x.activation===!0?{constant:[1]}:x.activation?x.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"},y=gl({},v);y.frag=C0([`precision highp float;
|
|
865
|
+
#define GLSLIFY 1
|
|
866
|
+
|
|
867
|
+
uniform float opacity;
|
|
868
|
+
uniform sampler2D markerTexture;
|
|
869
|
+
|
|
870
|
+
varying vec4 fragColor, fragBorderColor;
|
|
871
|
+
varying float fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
872
|
+
|
|
873
|
+
float smoothStep(float x, float y) {
|
|
874
|
+
return 1.0 / (1.0 + exp(50.0*(x - y)));
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
void main() {
|
|
878
|
+
float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
|
|
879
|
+
|
|
880
|
+
// max-distance alpha
|
|
881
|
+
if (dist < 0.003) discard;
|
|
882
|
+
|
|
883
|
+
// null-border case
|
|
884
|
+
if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
|
|
885
|
+
float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
|
|
886
|
+
gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
|
|
887
|
+
}
|
|
888
|
+
else {
|
|
889
|
+
float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
|
|
890
|
+
float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
|
|
891
|
+
|
|
892
|
+
vec4 color = fragBorderColor;
|
|
893
|
+
color.a *= borderColorAmt;
|
|
894
|
+
color = mix(color, fragColor, colorAmt);
|
|
895
|
+
color.a *= opacity;
|
|
896
|
+
|
|
897
|
+
gl_FragColor = color;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
}
|
|
901
|
+
`]),y.vert=C0([`precision highp float;
|
|
902
|
+
#define GLSLIFY 1
|
|
903
|
+
|
|
904
|
+
attribute float x, y, xFract, yFract;
|
|
905
|
+
attribute float size, borderSize;
|
|
906
|
+
attribute vec4 colorId, borderColorId;
|
|
907
|
+
attribute float isActive;
|
|
908
|
+
|
|
909
|
+
uniform bool constPointSize;
|
|
910
|
+
uniform float pixelRatio;
|
|
911
|
+
uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
|
|
912
|
+
uniform sampler2D paletteTexture;
|
|
913
|
+
|
|
914
|
+
const float maxSize = 100.;
|
|
915
|
+
const float borderLevel = .5;
|
|
916
|
+
|
|
917
|
+
varying vec4 fragColor, fragBorderColor;
|
|
918
|
+
varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
919
|
+
|
|
920
|
+
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
921
|
+
|
|
922
|
+
bool isDirect = (paletteSize.x < 1.);
|
|
923
|
+
|
|
924
|
+
vec4 getColor(vec4 id) {
|
|
925
|
+
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
926
|
+
vec2(
|
|
927
|
+
(id.x + .5) / paletteSize.x,
|
|
928
|
+
(id.y + .5) / paletteSize.y
|
|
929
|
+
)
|
|
930
|
+
);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
void main() {
|
|
934
|
+
// ignore inactive points
|
|
935
|
+
if (isActive == 0.) return;
|
|
936
|
+
|
|
937
|
+
vec2 position = vec2(x, y);
|
|
938
|
+
vec2 positionFract = vec2(xFract, yFract);
|
|
939
|
+
|
|
940
|
+
vec4 color = getColor(colorId);
|
|
941
|
+
vec4 borderColor = getColor(borderColorId);
|
|
942
|
+
|
|
943
|
+
float size = size * maxSize / 255.;
|
|
944
|
+
float borderSize = borderSize * maxSize / 255.;
|
|
945
|
+
|
|
946
|
+
gl_PointSize = 2. * size * pointSizeScale;
|
|
947
|
+
fragPointSize = size * pixelRatio;
|
|
948
|
+
|
|
949
|
+
vec2 pos = (position + translate) * scale
|
|
950
|
+
+ (positionFract + translateFract) * scale
|
|
951
|
+
+ (position + translate) * scaleFract
|
|
952
|
+
+ (positionFract + translateFract) * scaleFract;
|
|
953
|
+
|
|
954
|
+
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
955
|
+
|
|
956
|
+
fragColor = color;
|
|
957
|
+
fragBorderColor = borderColor;
|
|
958
|
+
fragWidth = 1. / gl_PointSize;
|
|
959
|
+
|
|
960
|
+
fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
|
|
961
|
+
fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
|
|
962
|
+
}`]),this.drawMarker=e(y);var A=gl({},v);A.frag=C0([`precision highp float;
|
|
963
|
+
#define GLSLIFY 1
|
|
964
|
+
|
|
965
|
+
varying vec4 fragColor, fragBorderColor;
|
|
966
|
+
varying float fragBorderRadius, fragWidth;
|
|
967
|
+
|
|
968
|
+
uniform float opacity;
|
|
969
|
+
|
|
970
|
+
float smoothStep(float edge0, float edge1, float x) {
|
|
971
|
+
float t;
|
|
972
|
+
t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
|
|
973
|
+
return t * t * (3.0 - 2.0 * t);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
void main() {
|
|
977
|
+
float radius, alpha = 1.0, delta = fragWidth;
|
|
978
|
+
|
|
979
|
+
radius = length(2.0 * gl_PointCoord.xy - 1.0);
|
|
980
|
+
|
|
981
|
+
if (radius > 1.0 + delta) {
|
|
982
|
+
discard;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
|
|
986
|
+
|
|
987
|
+
float borderRadius = fragBorderRadius;
|
|
988
|
+
float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
|
|
989
|
+
vec4 color = mix(fragColor, fragBorderColor, ratio);
|
|
990
|
+
color.a *= alpha * opacity;
|
|
991
|
+
gl_FragColor = color;
|
|
992
|
+
}
|
|
993
|
+
`]),A.vert=C0([`precision highp float;
|
|
994
|
+
#define GLSLIFY 1
|
|
995
|
+
|
|
996
|
+
attribute float x, y, xFract, yFract;
|
|
997
|
+
attribute float size, borderSize;
|
|
998
|
+
attribute vec4 colorId, borderColorId;
|
|
999
|
+
attribute float isActive;
|
|
1000
|
+
|
|
1001
|
+
uniform bool constPointSize;
|
|
1002
|
+
uniform float pixelRatio;
|
|
1003
|
+
uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
|
|
1004
|
+
uniform sampler2D paletteTexture;
|
|
1005
|
+
|
|
1006
|
+
const float maxSize = 100.;
|
|
1007
|
+
|
|
1008
|
+
varying vec4 fragColor, fragBorderColor;
|
|
1009
|
+
varying float fragBorderRadius, fragWidth;
|
|
1010
|
+
|
|
1011
|
+
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
1012
|
+
|
|
1013
|
+
bool isDirect = (paletteSize.x < 1.);
|
|
1014
|
+
|
|
1015
|
+
vec4 getColor(vec4 id) {
|
|
1016
|
+
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
1017
|
+
vec2(
|
|
1018
|
+
(id.x + .5) / paletteSize.x,
|
|
1019
|
+
(id.y + .5) / paletteSize.y
|
|
1020
|
+
)
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
void main() {
|
|
1025
|
+
// ignore inactive points
|
|
1026
|
+
if (isActive == 0.) return;
|
|
1027
|
+
|
|
1028
|
+
vec2 position = vec2(x, y);
|
|
1029
|
+
vec2 positionFract = vec2(xFract, yFract);
|
|
1030
|
+
|
|
1031
|
+
vec4 color = getColor(colorId);
|
|
1032
|
+
vec4 borderColor = getColor(borderColorId);
|
|
1033
|
+
|
|
1034
|
+
float size = size * maxSize / 255.;
|
|
1035
|
+
float borderSize = borderSize * maxSize / 255.;
|
|
1036
|
+
|
|
1037
|
+
gl_PointSize = (size + borderSize) * pointSizeScale;
|
|
1038
|
+
|
|
1039
|
+
vec2 pos = (position + translate) * scale
|
|
1040
|
+
+ (positionFract + translateFract) * scale
|
|
1041
|
+
+ (position + translate) * scaleFract
|
|
1042
|
+
+ (positionFract + translateFract) * scaleFract;
|
|
1043
|
+
|
|
1044
|
+
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
1045
|
+
|
|
1046
|
+
fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
|
|
1047
|
+
fragColor = color;
|
|
1048
|
+
fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
|
|
1049
|
+
fragWidth = 1. / gl_PointSize;
|
|
1050
|
+
}
|
|
1051
|
+
`]),eM&&(A.frag=A.frag.replace("smoothstep","smoothStep"),y.frag=y.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(A)}bn.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};bn.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};bn.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,u){e.drawItem(u)});return this};bn.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,vee(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};bn.prototype.getMarkerDrawOptions=function(e,t,r){var n=t.range,i=t.tree,a=t.viewport,o=t.activation,u=t.selectionBuffer,s=t.count;if(this.regl,!i)return r?[gl({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[gl({},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 g=o[e],v=g.data,y=new Uint8Array(s),A=0;A<r.length;A++){var E=r[A];y[E]=v?v[E]:1}u.subdata(y)}for(var w=d.length;w--;){var x=pee(d[w],2),_=x[0],T=x[1];c.push(gl({},t,{markerTexture:this.markerTextures[e],activation:r?u:o[e],offset:_,count:T-_}))}return c};bn.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,u=this.maxSize,s=this.maxColors,c=this.palette;this.groups=i=r.map(function(d,g){var v=i[g];if(d===void 0)return v;d===null?d={positions:null}:typeof d=="function"?d={ondraw:d}:typeof d[0]=="number"&&(d={positions:d}),d=Cee(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),v||(i[g]=v={id:g,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=gl({},bn.defaults,d)),d.positions&&!("marker"in d)&&(d.marker=v.marker,delete v.marker),d.marker&&!("positions"in d)&&(d.positions=v.positions,delete v.positions);var y=0,A=0;if(Tee(v,d,[{snap:!0,size:function(Ie,Ve){return Ie==null&&(Ie=bn.defaults.size),y+=Ie&&Ie.length?1:0,Ie},borderSize:function(Ie,Ve){return Ie==null&&(Ie=bn.defaults.borderSize),y+=Ie&&Ie.length?1:0,Ie},opacity:parseFloat,color:function(Ie,Ve){return Ie==null&&(Ie=bn.defaults.color),Ie=e.updateColor(Ie),A++,Ie},borderColor:function(Ie,Ve){return Ie==null&&(Ie=bn.defaults.borderColor),Ie=e.updateColor(Ie),A++,Ie},bounds:function(Ie,Ve,Mt){return"range"in Mt||(Mt.range=null),Ie},positions:function(Ie,Ve,Mt){var pt=Ve.snap,xe=Ve.positionBuffer,Ye=Ve.positionFractBuffer,lt=Ve.selectionBuffer;if(Ie.x||Ie.y)return Ie.x.length?Ve.xAttr={buffer:o.buffer(Ie.x),offset:0,stride:4,count:Ie.x.length}:Ve.xAttr={buffer:Ie.x.buffer,offset:Ie.x.offset*4||0,stride:(Ie.x.stride||1)*4,count:Ie.x.count},Ie.y.length?Ve.yAttr={buffer:o.buffer(Ie.y),offset:0,stride:4,count:Ie.y.length}:Ve.yAttr={buffer:Ie.y.buffer,offset:Ie.y.offset*4||0,stride:(Ie.y.stride||1)*4,count:Ie.y.count},Ve.count=Math.max(Ve.xAttr.count,Ve.yAttr.count),Ie;Ie=Oee(Ie,"float64");var Ue=Ve.count=Math.floor(Ie.length/2),vt=Ve.bounds=Ue?See(Ie,2):null;if(!Mt.range&&!Ve.range&&(delete Ve.range,Mt.range=vt),!Mt.marker&&!Ve.marker&&(delete Ve.marker,Mt.marker=null),pt&&(pt===!0||Ue>pt)?Ve.tree=Aee(Ie,{bounds:vt}):pt&&pt.length&&(Ve.tree=pt),Ve.tree){var Rt={primitive:"points",usage:"static",data:Ve.tree,type:"uint32"};Ve.elements?Ve.elements(Rt):Ve.elements=o.elements(Rt)}var Xt=T0.float32(Ie);xe({data:Xt,usage:"dynamic"});var q=T0.fract32(Ie,Xt);return Ye({data:q,usage:"dynamic"}),lt({data:new Uint8Array(Ue),type:"uint8",usage:"stream"}),Ie}},{marker:function(Ie,Ve,Mt){var pt=Ve.activation;if(pt.forEach(function(q){return q&&q.destroy&&q.destroy()}),pt.length=0,!Ie||typeof Ie[0]=="number"){var xe=e.addMarker(Ie);pt[xe]=!0}else{for(var Ye=[],lt=0,Ue=Math.min(Ie.length,Ve.count);lt<Ue;lt++){var vt=e.addMarker(Ie[lt]);Ye[vt]||(Ye[vt]=new Uint8Array(Ve.count)),Ye[vt][lt]=1}for(var Rt=0;Rt<Ye.length;Rt++)if(Ye[Rt]){var Xt={data:Ye[Rt],type:"uint8",usage:"static"};pt[Rt]?pt[Rt](Xt):pt[Rt]=o.buffer(Xt),pt[Rt].data=Ye[Rt]}}return Ie},range:function(Ie,Ve,Mt){var pt=Ve.bounds;if(pt)return Ie||(Ie=pt),Ve.scale=[1/(Ie[2]-Ie[0]),1/(Ie[3]-Ie[1])],Ve.translate=[-Ie[0],-Ie[1]],Ve.scaleFract=T0.fract(Ve.scale),Ve.translateFract=T0.fract(Ve.translate),Ie},viewport:function(Ie){var Ve=Mee(Ie||[a.drawingBufferWidth,a.drawingBufferHeight]);return Ve}}]),y){var E=v,w=E.count,x=E.size,_=E.borderSize,T=E.sizeBuffer,C=new Uint8Array(w*2);if(x.length||_.length)for(var R=0;R<w;R++)C[R*2]=Math.round((x[R]==null?x:x[R])*255/u),C[R*2+1]=Math.round((_[R]==null?_:_[R])*255/u);T({data:C,usage:"dynamic"})}if(A){var N=v,V=N.count,j=N.color,ne=N.borderColor,Te=N.colorBuffer,be;if(e.tooManyColors){if(j.length||ne.length){be=new Uint8Array(V*8);for(var Re=0;Re<V;Re++){var De=j[Re];be[Re*8]=c[De*4],be[Re*8+1]=c[De*4+1],be[Re*8+2]=c[De*4+2],be[Re*8+3]=c[De*4+3];var Le=ne[Re];be[Re*8+4]=c[Le*4],be[Re*8+5]=c[Le*4+1],be[Re*8+6]=c[Le*4+2],be[Re*8+7]=c[Le*4+3]}}}else if(j.length||ne.length){be=new Uint8Array(V*4+2);for(var We=0;We<V;We++)j[We]!=null&&(be[We*4]=j[We]%s,be[We*4+1]=Math.floor(j[We]/s)),ne[We]!=null&&(be[We*4+2]=ne[We]%s,be[We*4+3]=Math.floor(ne[We]/s))}Te({data:be||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return v})}};bn.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,u=e.length;o<u;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};bn.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 u=0;u<e.length;u+=4)a.push(e.subarray(u,u+4));e=a}for(var s=0;s<e.length;s++){var c=e[s];c=_ee(c,"uint8");var d=Eee(c,!1);if(t[d]==null){var g=r.length;t[d]=Math.floor(g/4),r[g]=c[0],r[g+1]=c[1],r[g+2]=c[2],r[g+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};bn.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)}};bn.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 Ree=Fl,Iee=function(t,r){var n=new kee(t,r),i=n.render.bind(n);return Ree(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},Foe=Iee,DE={exports:{}};DE.exports=cy;DE.exports.default=cy;function cy(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=IN(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var u,s,c,d,g,v,y;if(n&&(a=$ee(e,t,a,r)),e.length>80*r){u=c=e[0],s=d=e[1];for(var A=r;A<i;A+=r)g=e[A],v=e[A+1],g<u&&(u=g),v<s&&(s=v),g>c&&(c=g),v>d&&(d=v);y=Math.max(c-u,d-s),y=y!==0?32767/y:0}return jd(a,o,r,u,s,y,0),o}function IN(e,t,r,n,i){var a,o;if(i===g2(e,t,r,n)>0)for(a=t;a<r;a+=n)o=tM(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=tM(a,e[a],e[a+1],o);return o&&hy(o,o.next)&&(Hd(o),o=o.next),o}function Ml(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(hy(r,r.next)||Gr(r.prev,r,r.next)===0)){if(Hd(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function jd(e,t,r,n,i,a,o){if(e){!o&&a&&jee(e,n,i,a);for(var u=e,s,c;e.prev!==e.next;){if(s=e.prev,c=e.next,a?Fee(e,n,i,a):Pee(e)){t.push(s.i/r|0),t.push(e.i/r|0),t.push(c.i/r|0),Hd(e),e=c.next,u=c.next;continue}if(e=c,e===u){o?o===1?(e=Nee(Ml(e),t,r),jd(e,t,r,n,i,a,2)):o===2&&Lee(e,t,r,n,i,a):jd(Ml(e),t,r,n,i,a,1);break}}}}function Pee(e){var t=e.prev,r=e,n=e.next;if(Gr(t,r,n)>=0)return!1;for(var i=t.x,a=r.x,o=n.x,u=t.y,s=r.y,c=n.y,d=i<a?i<o?i:o:a<o?a:o,g=u<s?u<c?u:c:s<c?s:c,v=i>a?i>o?i:o:a>o?a:o,y=u>s?u>c?u:c:s>c?s:c,A=n.next;A!==t;){if(A.x>=d&&A.x<=v&&A.y>=g&&A.y<=y&&af(i,u,a,s,o,c,A.x,A.y)&&Gr(A.prev,A,A.next)>=0)return!1;A=A.next}return!0}function Fee(e,t,r,n){var i=e.prev,a=e,o=e.next;if(Gr(i,a,o)>=0)return!1;for(var u=i.x,s=a.x,c=o.x,d=i.y,g=a.y,v=o.y,y=u<s?u<c?u:c:s<c?s:c,A=d<g?d<v?d:v:g<v?g:v,E=u>s?u>c?u:c:s>c?s:c,w=d>g?d>v?d:v:g>v?g:v,x=v2(y,A,t,r,n),_=v2(E,w,t,r,n),T=e.prevZ,C=e.nextZ;T&&T.z>=x&&C&&C.z<=_;){if(T.x>=y&&T.x<=E&&T.y>=A&&T.y<=w&&T!==i&&T!==o&&af(u,d,s,g,c,v,T.x,T.y)&&Gr(T.prev,T,T.next)>=0||(T=T.prevZ,C.x>=y&&C.x<=E&&C.y>=A&&C.y<=w&&C!==i&&C!==o&&af(u,d,s,g,c,v,C.x,C.y)&&Gr(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;T&&T.z>=x;){if(T.x>=y&&T.x<=E&&T.y>=A&&T.y<=w&&T!==i&&T!==o&&af(u,d,s,g,c,v,T.x,T.y)&&Gr(T.prev,T,T.next)>=0)return!1;T=T.prevZ}for(;C&&C.z<=_;){if(C.x>=y&&C.x<=E&&C.y>=A&&C.y<=w&&C!==i&&C!==o&&af(u,d,s,g,c,v,C.x,C.y)&&Gr(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function Nee(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!hy(i,a)&&PN(i,n,n.next,a)&&Gd(i,a)&&Gd(a,i)&&(t.push(i.i/r|0),t.push(n.i/r|0),t.push(a.i/r|0),Hd(n),Hd(n.next),n=e=a),n=n.next}while(n!==e);return Ml(n)}function Lee(e,t,r,n,i,a){var o=e;do{for(var u=o.next.next;u!==o.prev;){if(o.i!==u.i&&Wee(o,u)){var s=FN(o,u);o=Ml(o,o.next),s=Ml(s,s.next),jd(o,t,r,n,i,a,0),jd(s,t,r,n,i,a,0);return}u=u.next}o=o.next}while(o!==e)}function $ee(e,t,r,n){var i=[],a,o,u,s,c;for(a=0,o=t.length;a<o;a++)u=t[a]*n,s=a<o-1?t[a+1]*n:e.length,c=IN(e,u,s,n,!1),c===c.next&&(c.steiner=!0),i.push(Hee(c));for(i.sort(Dee),a=0;a<i.length;a++)r=Bee(i[a],r);return r}function Dee(e,t){return e.x-t.x}function Bee(e,t){var r=zee(e,t);if(!r)return t;var n=FN(r,e);return Ml(n,n.next),Ml(r,r.next)}function zee(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 u=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(u<=n&&u>a&&(a=u,o=r.x<r.next.x?r:r.next,u===n))return o}r=r.next}while(r!==t);if(!o)return null;var s=o,c=o.x,d=o.y,g=1/0,v;r=o;do n>=r.x&&r.x>=c&&n!==r.x&&af(i<d?n:a,i,c,d,i<d?a:n,i,r.x,r.y)&&(v=Math.abs(i-r.y)/(n-r.x),Gd(r,e)&&(v<g||v===g&&(r.x>o.x||r.x===o.x&&Uee(o,r)))&&(o=r,g=v)),r=r.next;while(r!==s);return o}function Uee(e,t){return Gr(e.prev,e,t.prev)<0&&Gr(t.next,e,e.next)<0}function jee(e,t,r,n){var i=e;do i.z===0&&(i.z=v2(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,Gee(i)}function Gee(e){var t,r,n,i,a,o,u,s,c=1;do{for(r=e,e=null,a=null,o=0;r;){for(o++,n=r,u=0,t=0;t<c&&(u++,n=n.nextZ,!!n);t++);for(s=c;u>0||s>0&&n;)u!==0&&(s===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,u--):(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 v2(e,t,r,n,i){return e=(e-r)*i|0,t=(t-n)*i|0,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 Hee(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 af(e,t,r,n,i,a,o,u){return(i-o)*(t-u)>=(e-o)*(a-u)&&(e-o)*(n-u)>=(r-o)*(t-u)&&(r-o)*(a-u)>=(i-o)*(n-u)}function Wee(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!qee(e,t)&&(Gd(e,t)&&Gd(t,e)&&Vee(e,t)&&(Gr(e.prev,e,t.prev)||Gr(e,t.prev,t))||hy(e,t)&&Gr(e.prev,e,e.next)>0&&Gr(t.prev,t,t.next)>0)}function Gr(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function hy(e,t){return e.x===t.x&&e.y===t.y}function PN(e,t,r,n){var i=M0(Gr(e,t,r)),a=M0(Gr(e,t,n)),o=M0(Gr(r,n,e)),u=M0(Gr(r,n,t));return!!(i!==a&&o!==u||i===0&&O0(e,r,t)||a===0&&O0(e,n,t)||o===0&&O0(r,e,n)||u===0&&O0(r,t,n))}function O0(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 M0(e){return e>0?1:e<0?-1:0}function qee(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&&PN(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function Gd(e,t){return Gr(e.prev,e,e.next)<0?Gr(e,t,e.next)>=0&&Gr(e,e.prev,t)>=0:Gr(e,t,e.prev)<0||Gr(e,e.next,t)<0}function Vee(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 FN(e,t){var r=new m2(e.i,e.x,e.y),n=new m2(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 tM(e,t,r,n){var i=new m2(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 Hd(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 m2(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}cy.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(g2(e,0,a,r));if(i)for(var u=0,s=t.length;u<s;u++){var c=t[u]*r,d=u<s-1?t[u+1]*r:e.length;o-=Math.abs(g2(e,c,d,r))}var g=0;for(u=0;u<n.length;u+=3){var v=n[u]*r,y=n[u+1]*r,A=n[u+2]*r;g+=Math.abs((e[v]-e[A])*(e[y+1]-e[v+1])-(e[v]-e[y])*(e[A+1]-e[v+1]))}return o===0&&g===0?0:Math.abs((g-o)/o)};function g2(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}cy.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 Yee=DE.exports,Xee=xp,Kee=Qee;function Qee(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=Xee(e,t));for(var n=0;n<t;n++){var i=r[t+n],a=r[n],o=n,u=e.length;if(i===1/0&&a===-1/0)for(o=n;o<u;o+=t)e[o]=e[o]===i?1:e[o]===a?0:.5;else if(i===1/0)for(o=n;o<u;o+=t)e[o]=e[o]===i?1:0;else if(a===-1/0)for(o=n;o<u;o+=t)e[o]=e[o]===a?0:1;else{var s=i-a;for(o=n;o<u;o+=t)isNaN(e[o])||(e[o]=s===0?.5:(e[o]-a)/s)}}return e}var Zee=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")},kx,rM;function NN(){if(rM)return kx;rM=1;var e=Object.create,t=Object.getPrototypeOf,r={};return kx=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},kx}var Rx,nM;function Jee(){if(nM)return Rx;nM=1;var e=Object.create,t;return NN()()||(t=LN()),Rx=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)})}(),Rx}var Ix,iM;function LN(){if(iM)return Ix;iM=1;var e=TS,t=ra,r=Object.prototype.isPrototypeOf,n=Object.defineProperty,i={configurable:!0,enumerable:!1,writable:!0,value:void 0},a;return a=function(o,u){if(t(o),u===null||e(u))return o;throw new TypeError("Prototype must be null or an object")},Ix=function(o){var u,s;return o?(o.level===2?o.set?(s=o.set,u=function(c,d){return s.call(a(c,d),d),c}):u=function(c,d){return a(c,d).__proto__=d,c}:u=function c(d,g){var v;return a(d,g),v=r.call(c.nullPolyfill,d),v&&delete c.nullPolyfill.__proto__,g===null&&(g=c.nullPolyfill),d.__proto__=g,v&&n(c.nullPolyfill,"__proto__",i),d},Object.defineProperty(u,"level",{configurable:!1,enumerable:!1,writable:!1,value:o.level})):null}(function(){var o=Object.create(null),u={},s,c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(c){try{s=c.set,s.call(o,u)}catch{}if(Object.getPrototypeOf(o)===u)return{set:s,level:2}}return o.__proto__=u,Object.getPrototypeOf(o)===u?{level:2}:(o={},o.__proto__=u,Object.getPrototypeOf(o)===u?{level:1}:!1)}()),Jee(),Ix}var Px,aM;function BE(){return aM||(aM=1,Px=NN()()?Object.setPrototypeOf:LN()),Px}var Fx,oM;function ete(){if(oM)return Fx;oM=1;var e=TS;return Fx=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},Fx}var Nx,uM;function tte(){if(uM)return Nx;uM=1;var e=Object.create(null),t=Math.random;return Nx=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},Nx}var Lx={exports:{}},$x,lM;function rte(){if(lM)return $x;lM=1;var e=ra;return $x=function(){return e(this).length=0,this},$x}var Dx,sM;function nte(){if(sM)return Dx;sM=1;var e=qf,t=OS,r=Object.prototype.toString;return Dx=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}},Dx}var Bx,fM;function ite(){return fM||(fM=1,Bx=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),Bx}var zx,cM;function ate(){if(cM)return zx;cM=1;var e=ite(),t=/[\n\r\u2028\u2029]/g;return zx=function(r){var n=e(r);return n===null?"<Non-coercible to string value>":(n.length>100&&(n=n.slice(0,99)+"…"),n=n.replace(t,function(i){switch(i){case`
|
|
1052
|
+
`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),n)},zx}var Ux,hM;function $N(){if(hM)return Ux;hM=1;var e=qf,t=OS,r=nte(),n=ate(),i=function(a,o){return a.replace("%v",n(o))};return Ux=function(a,o,u){if(!t(u))throw new TypeError(i(o,a));if(!e(a)){if("default"in u)return u.default;if(u.isOptional)return null}var s=r(u.errorMessage);throw e(s)||(s=o),new TypeError(i(s,a))},Ux}var jx,dM;function ote(){if(dM)return jx;dM=1;var e=$N(),t=qf;return jx=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},jx}var Gx,pM;function ute(){if(pM)return Gx;pM=1;var e=$N(),t=gI;return Gx=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},Gx}var Hx,vM;function lte(){if(vM)return Hx;vM=1;var e=Lg(),t=Ig,r=ra;return Hx=function(n){var i=Object(r(n)),a=arguments[1],o=Object(arguments[2]);if(i!==n&&!a)return i;var u={};return a?e(a,function(s){(o.ensure||s in n)&&(u[s]=n[s])}):t(u,n),u},Hx}var Wx,mM;function ste(){if(mM)return Wx;mM=1;var e=qf,t=ote(),r=ute(),n=lte(),i=CS,a=kS(),o=Function.prototype.bind,u=Object.defineProperty,s=Object.prototype.hasOwnProperty,c;return c=function(d,g,v){var y=t(g)&&r(g.value),A;return A=n(g),delete A.writable,delete A.value,A.get=function(){return!v.overwriteDefinition&&s.call(this,d)?y:(g.value=o.call(y,v.resolveContext?v.resolveContext(this):this),u(this,d,g),this[d])},A},Wx=function(d){var g=i(arguments[1]);return e(g.resolveContext)&&r(g.resolveContext),a(d,function(v,y){return c(y,v,g)})},Wx}var qx,gM;function DN(){if(gM)return qx;gM=1;var e=rte(),t=Ig,r=Oa,n=ra,i=na,a=ste(),o=Ul(),u=Object.defineProperty,s=Object.defineProperties,c;return qx=c=function(d,g){if(!(this instanceof c))throw new TypeError("Constructor requires 'new'");s(this,{__list__:i("w",n(d)),__context__:i("w",g),__nextIndex__:i("w",0)}),g&&(r(g.on),g.on("_add",this._onAdd),g.on("_delete",this._onDelete),g.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__){u(this,"__redo__",i("c",[d]));return}this.__redo__.forEach(function(g,v){g>=d&&(this.__redo__[v]=++g)},this),this.__redo__.push(d)}}),_onDelete:i(function(d){var g;d>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(g=this.__redo__.indexOf(d),g!==-1&&this.__redo__.splice(g,1),this.__redo__.forEach(function(v,y){v>d&&(this.__redo__[y]=--v)},this)))}),_onClear:i(function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0})}))),u(c.prototype,o.iterator,i(function(){return this})),qx}var yM;function fte(){if(yM)return Lx.exports;yM=1;var e=BE(),t=yI,r=na,n=Ul(),i=DN(),a=Object.defineProperty,o;return o=Lx.exports=function(u,s){if(!(this instanceof o))throw new TypeError("Constructor requires 'new'");i.call(this,u),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(u){return this.__kind__==="value"?this.__list__[u]:this.__kind__==="key+value"?[u,this.__list__[u]]:u})}),a(o.prototype,n.toStringTag,r("c","Array Iterator")),Lx.exports}var Vx={exports:{}},bM;function cte(){if(bM)return Vx.exports;bM=1;var e=BE(),t=na,r=Ul(),n=DN(),i=Object.defineProperty,a;return a=Vx.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 u=this.__list__[o],s;return this.__nextIndex__===this.__length__?u:(s=u.charCodeAt(0),s>=55296&&s<=56319?u+this.__list__[this.__nextIndex__++]:u)})}),i(a.prototype,r.toStringTag,t("c","String Iterator")),Vx.exports}var Yx,xM;function hte(){if(xM)return Yx;xM=1;var e=Fg(),t=co,r=Ng(),n=Ul().iterator,i=Array.isArray;return Yx=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},Yx}var Xx,wM;function dte(){if(wM)return Xx;wM=1;var e=hte();return Xx=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},Xx}var Kx,_M;function BN(){if(_M)return Kx;_M=1;var e=Fg(),t=Ng(),r=fte(),n=cte(),i=dte(),a=Ul().iterator;return Kx=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},Kx}var Qx,SM;function pte(){if(SM)return Qx;SM=1;var e=Fg(),t=Oa,r=Ng(),n=BN(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return Qx=function(u,s){var c,d=arguments[2],g,v,y,A,E,w,x;if(i(u)||e(u)?c="array":r(u)?c="string":u=n(u),t(s),v=function(){y=!0},c==="array"){o.call(u,function(_){return a.call(s,d,_,v),y});return}if(c==="string"){for(E=u.length,A=0;A<E&&(w=u[A],A+1<E&&(x=w.charCodeAt(0),x>=55296&&x<=56319&&(w+=u[++A])),a.call(s,d,w,v),!y);++A);return}for(g=u.next();!g.done;){if(a.call(s,d,g.value,v),y)return;g=u.next()}},Qx}var Zx,EM;function vte(){return EM||(EM=1,Zx=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),Zx}var Jx,AM;function mte(){if(AM)return Jx;AM=1;var e=co,t=BE(),r=ete(),n=ra,i=tte(),a=na,o=BN(),u=pte(),s=Ul().toStringTag,c=vte(),d=Array.isArray,g=Object.defineProperty,v=Object.prototype.hasOwnProperty,y=Object.getPrototypeOf,A;return Jx=A=function(){var E=arguments[0],w;if(!(this instanceof A))throw new TypeError("Constructor requires 'new'");return w=c&&t&&WeakMap!==A?t(new WeakMap,y(this)):this,e(E)&&(d(E)||(E=o(E))),g(w,"__weakMapData__",a("c","$weakMap$"+i())),E&&u(E,function(x){n(x),w.set(x[0],x[1])}),w},c&&(t&&t(A,WeakMap),A.prototype=Object.create(WeakMap.prototype,{constructor:a(A)})),Object.defineProperties(A.prototype,{delete:a(function(E){return v.call(r(E),this.__weakMapData__)?(delete E[this.__weakMapData__],!0):!1}),get:a(function(E){if(v.call(r(E),this.__weakMapData__))return E[this.__weakMapData__]}),has:a(function(E){return v.call(r(E),this.__weakMapData__)}),set:a(function(E,w){return g(r(E),this.__weakMapData__,a("c",w)),this}),toString:a(function(){return"[object WeakMap]"})}),g(A.prototype,s,a("c","WeakMap")),Jx}var zN=Zee()?WeakMap:mte(),gte=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 k0=sy,yte=xp,y2=Fl,Bs=MN,bte=Su,xte=wp,CM=Yee,wte=Kee,{float32:_te,fract32:ew}=$E,Ste=zN,TM=ly,Ete=gte;var Noe=Er;function Er(e,t){if(!(this instanceof Er))return new Er(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=Er.shaders.has(e)?Er.shaders.get(e):Er.shaders.set(e,Er.createShaders(e)).get(e),this.update(t)}Er.dashMult=2;Er.maxPatternLength=256;Er.precisionThreshold=3e6;Er.maxPoints=1e4;Er.maxLines=2048;Er.shaders=new Ste;Er.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,u)=>u.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,u)=>[u.viewport.x,u.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,u)=>!u.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},n=e(y2({vert:Bs("./rect-vert.glsl"),frag:Bs("./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(y2({cull:{enable:!0,face:"back"},vert:Bs("./miter-vert.glsl"),frag:Bs("./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,u)=>u.triangles,offset:0,vert:Bs("./fill-vert.glsl"),frag:Bs("./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,u)=>[u.viewport.x,u.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}};Er.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};Er.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};Er.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>Er.precisionThreshold||t.scale[1]*t.viewport.height>Er.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=Er.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};Er.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=bte(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=y2({},Er.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<Er.maxLines&&(o.depth=2*(Er.maxLines-1-a%Er.maxLines)/Er.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?k0(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=TM(i.viewport)),o.viewport||(o.viewport=TM([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 A=i.positions.x,E=i.positions.y;d=o.count=Math.max(A.length,E.length),c=new Float64Array(d*2);for(let w=0;w<d;w++)c[w*2]=A[w],c[w*2+1]=E[w]}else c=xte(i.positions,"float64"),d=o.count=Math.floor(c.length/2);let g=o.bounds=yte(c,2);if(o.fill){let A=[],E={},w=0;for(let x=0,_=0,T=o.count;x<T;x++){let C=c[x*2],R=c[x*2+1];isNaN(C)||isNaN(R)||C==null||R==null?(C=c[w*2],R=c[w*2+1],E[x]=w):w=x,A[_++]=C,A[_++]=R}if(i.splitNull){o.count-1 in E||(E[o.count]=o.count-1);let x=Object.keys(E).map(Number).sort((R,N)=>R-N),_=[],T=0,C=o.hole!=null?o.hole[0]:null;if(C!=null){let R=Ete(x,N=>N>=C);x=x.slice(0,R),x.push(C)}for(let R=0;R<x.length;R++){let N=A.slice(T*2,x[R]*2).concat(C?A.slice(C*2):[]),V=(o.hole||[]).map(ne=>ne-C+(x[R]-T)),j=CM(N,V);j=j.map(ne=>ne+T+(ne+T<x[R]?0:C-x[R])),_.push(...j),T=x[R]+1}for(let R=0,N=_.length;R<N;R++)E[_[R]]!=null&&(_[R]=E[_[R]]);o.triangles=_}else{let x=CM(A,o.hole||[]);for(let _=0,T=x.length;_<T;_++)E[x[_]]!=null&&(x[_]=E[x[_]]);o.triangles=x}}let v=new Float64Array(c);wte(v,2,g);let y=new Float64Array(d*2+6);o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(y[0]=v[d*2-4],y[1]=v[d*2-3]):(y[0]=v[d*2-2],y[1]=v[d*2-1]):(y[0]=v[0],y[1]=v[1]),y.set(v,2),o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(y[d*2+2]=v[2],y[d*2+3]=v[3],o.count-=1):(y[d*2+2]=v[0],y[d*2+3]=v[1],y[d*2+4]=v[2],y[d*2+5]=v[3]):(y[d*2+2]=v[d*2-2],y[d*2+3]=v[d*2-1],y[d*2+4]=v[d*2-2],y[d*2+5]=v[d*2-1]);var u=_te(y);o.positionBuffer(u);var s=ew(y,u);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],g=c[3]-c[1],v=o.range[2]-o.range[0],y=o.range[3]-o.range[1];o.scale=[d/v,g/y],o.translate=[-o.range[0]/v+c[0]/v||0,-o.range[1]/y+c[1]/y||0],o.scaleFract=ew(o.scale),o.translateFract=ew(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 y=0;y<i.dashes.length;++y)c+=i.dashes[y];d=new Uint8Array(c*Er.dashMult);let g=0,v=255;for(let y=0;y<2;y++)for(let A=0;A<i.dashes.length;++A){for(let E=0,w=i.dashes[A]*Er.dashMult*.5;E<w;++E)d[g++]=v;v^=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 g=new Uint8Array(c*4+4);if(!Array.isArray(d)||typeof d[0]=="number"){let v=k0(d,"uint8");for(let y=0;y<c+1;y++)g.set(v,y*4)}else{for(let v=0;v<c;v++){let y=k0(d[v],"uint8");g.set(y,v*4)}g.set(k0(d[0],"uint8"),c*4)}o.colorBuffer({usage:"dynamic",type:"uint8",data:g})}}}),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};Er.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const Ate=xp,Cte=sy,Tte=kN,Ote=Su,OM=Fl,MM=wp,{float32:Mte,fract32:tw}=$E;var Loe=kte;const kM=[[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 kte(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,u,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)}),u=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),s=e.buffer({usage:"static",type:"float",data:kM}),A(t),n=e({vert:`
|
|
1053
|
+
precision highp float;
|
|
1054
|
+
|
|
1055
|
+
attribute vec2 position, positionFract;
|
|
1056
|
+
attribute vec4 error;
|
|
1057
|
+
attribute vec4 color;
|
|
1058
|
+
|
|
1059
|
+
attribute vec2 direction, lineOffset, capOffset;
|
|
1060
|
+
|
|
1061
|
+
uniform vec4 viewport;
|
|
1062
|
+
uniform float lineWidth, capSize;
|
|
1063
|
+
uniform vec2 scale, scaleFract, translate, translateFract;
|
|
1064
|
+
|
|
1065
|
+
varying vec4 fragColor;
|
|
1066
|
+
|
|
1067
|
+
void main() {
|
|
1068
|
+
fragColor = color / 255.;
|
|
1069
|
+
|
|
1070
|
+
vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
|
|
1071
|
+
|
|
1072
|
+
vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
|
|
1073
|
+
|
|
1074
|
+
vec2 position = position + dxy;
|
|
1075
|
+
|
|
1076
|
+
vec2 pos = (position + translate) * scale
|
|
1077
|
+
+ (positionFract + translateFract) * scale
|
|
1078
|
+
+ (position + translate) * scaleFract
|
|
1079
|
+
+ (positionFract + translateFract) * scaleFract;
|
|
1080
|
+
|
|
1081
|
+
pos += pixelOffset / viewport.zw;
|
|
1082
|
+
|
|
1083
|
+
gl_Position = vec4(pos * 2. - 1., 0, 1);
|
|
1084
|
+
}
|
|
1085
|
+
`,frag:`
|
|
1086
|
+
precision highp float;
|
|
1087
|
+
|
|
1088
|
+
varying vec4 fragColor;
|
|
1089
|
+
|
|
1090
|
+
uniform float opacity;
|
|
1091
|
+
|
|
1092
|
+
void main() {
|
|
1093
|
+
gl_FragColor = fragColor;
|
|
1094
|
+
gl_FragColor.a *= opacity;
|
|
1095
|
+
}
|
|
1096
|
+
`,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:(w,x)=>[x.viewport.x,x.viewport.y,w.viewportWidth,w.viewportHeight]},attributes:{color:{buffer:o,offset:(w,x)=>x.offset*4,divisor:1},position:{buffer:i,offset:(w,x)=>x.offset*8,divisor:1},positionFract:{buffer:a,offset:(w,x)=>x.offset*8,divisor:1},error:{buffer:u,offset:(w,x)=>x.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:kM.length}),OM(g,{update:A,draw:v,destroy:E,regl:e,gl:r,canvas:r.canvas,groups:d}),g;function g(w){w?A(w):w===null&&E(),v()}function v(w){if(typeof w=="number")return y(w);w&&!Array.isArray(w)&&(w=[w]),e._refresh(),d.forEach((x,_)=>{if(x){if(w&&(w[_]?x.draw=!0:x.draw=!1),!x.draw){x.draw=!0;return}y(_)}})}function y(w){typeof w=="number"&&(w=d[w]),w!=null&&w&&w.count&&w.color&&w.opacity&&w.positions&&w.positions.length>1&&(w.scaleRatio=[w.scale[0]*w.viewport.width,w.scale[1]*w.viewport.height],n(w),w.after&&w.after(w))}function A(w){if(!w)return;w.length!=null?typeof w[0]=="number"&&(w=[{positions:w}]):Array.isArray(w)||(w=[w]);let x=0,_=0;if(g.groups=d=w.map((R,N)=>{let V=d[N];if(R)typeof R=="function"?R={after:R}:typeof R[0]=="number"&&(R={positions:R});else return V;return R=Ote(R,{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"}),V||(d[N]=V={id:N,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},R=OM({},c,R)),Tte(V,R,[{lineWidth:j=>+j*.5,capSize:j=>+j*.5,opacity:parseFloat,errors:j=>(j=MM(j),_+=j.length,j),positions:(j,ne)=>(j=MM(j,"float64"),ne.count=Math.floor(j.length/2),ne.bounds=Ate(j,2),ne.offset=x,x+=ne.count,j)},{color:(j,ne)=>{let Te=ne.count;if(j||(j="transparent"),!Array.isArray(j)||typeof j[0]=="number"){let Re=j;j=Array(Te);for(let De=0;De<Te;De++)j[De]=Re}if(j.length<Te)throw Error("Not enough colors");let be=new Uint8Array(Te*4);for(let Re=0;Re<Te;Re++){let De=Cte(j[Re],"uint8");be.set(De,Re*4)}return be},range:(j,ne,Te)=>{let be=ne.bounds;return j||(j=be),ne.scale=[1/(j[2]-j[0]),1/(j[3]-j[1])],ne.translate=[-j[0],-j[1]],ne.scaleFract=tw(ne.scale),ne.translateFract=tw(ne.translate),j},viewport:j=>{let ne;return Array.isArray(j)?ne={x:j[0],y:j[1],width:j[2]-j[0],height:j[3]-j[1]}:j?(ne={x:j.x||j.left||0,y:j.y||j.top||0},j.right?ne.width=j.right-ne.x:ne.width=j.w||j.width||0,j.bottom?ne.height=j.bottom-ne.y:ne.height=j.h||j.height||0):ne={x:0,y:0,width:r.drawingBufferWidth,height:r.drawingBufferHeight},ne}}]),V}),x||_){let R=d.reduce((ne,Te,be)=>ne+(Te?Te.count:0),0),N=new Float64Array(R*2),V=new Uint8Array(R*4),j=new Float32Array(R*4);d.forEach((ne,Te)=>{if(!ne)return;let{positions:be,count:Re,offset:De,color:Le,errors:We}=ne;Re&&(V.set(Le,De*4),j.set(We,De*4),N.set(be,De*2))});var T=Mte(N);i(T);var C=tw(N,T);a(C),o(V),u(j)}}function E(){i.destroy(),a.destroy(),o.destroy(),u.destroy(),s.destroy()}}var RM=/[\'\"]/,Rte=function(t){return t?(RM.test(t.charAt(0))&&(t=t.substr(1)),RM.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const UN=["inherit","initial","unset"],jN=["caption","icon","menu","message-box","small-caption","status-bar"],GN=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],HN=["normal","italic","oblique"],WN=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function qN(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 g(v,y,A){var E=r.push(v.slice(s[0].length,-s[1].length))-1;return d.push(E),i+E+i}r.forEach(function(v,y){for(var A,E=0;v!=A;)if(A=v,v=v.replace(c,g),E++>1e4)throw Error("References have circular dependency. Please, check them.");r[y]=v}),d=d.reverse(),r=r.map(function(v){return d.forEach(function(y){v=v.replace(new RegExp("(\\"+i+y+"\\"+i+")","g"),s[0]+"$1"+s[1])}),v})});var o=new RegExp("\\"+i+"([0-9]+)\\"+i);function u(s,c,d){for(var g=[],v,y=0;v=o.exec(s);){if(y++>1e4)throw Error("Circular references in parenthesis");g.push(s.slice(0,v.index)),g.push(u(c[v[1]],c)),s=s.slice(v.index+v[0].length)}return g.push(s),g}return a?r:u(r[0],r)}function VN(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,u)}return n}return e.reduce(function s(c,d){return Array.isArray(d)&&(d=d.reduce(s,"")),c+d},"");function u(s,c){if(e[c]==null)throw Error("Reference "+c+"is undefined");return e[c]}}function zE(e,t){return Array.isArray(e)?VN(e,t):qN(e,t)}zE.parse=qN;zE.stringify=VN;var Ite=zE,IM=Ite,Pte=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=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof n.ignore=="string"&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map(function(g){return g.length===1&&(g=g+g),g}));var i=IM.parse(t,{flat:!0,brackets:n.ignore}),a=i[0],o=a.split(r);if(n.escape){for(var u=[],s=0;s<o.length;s++){var c=o[s],d=o[s+1];c[c.length-1]==="\\"&&c[c.length-2]!=="\\"?(u.push(c+r+d),s++):u.push(c)}o=u}for(var s=0;s<o.length;s++)i[0]=o[s],o[s]=IM.stringify(i,{flat:!0});return o};const Fte=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var Nte=Fte,YN={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||Nte.indexOf(t)!==-1}},Lte=Rte,$te=UN,Dte=jN,Bte=GN,zte=HN,Ute=WN,rw=Pte,jte=YN.isSize,Gte=XN,Fh=XN.cache={};function XN(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(Fh[e])return Fh[e];if(e==="")throw new Error("Cannot parse an empty string.");if(Dte.indexOf(e)!==-1)return Fh[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=rw(e,/\s+/),n;n=r.shift();){if($te.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),Fh[e]=t;if(zte.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(Ute.indexOf(n)!==-1){t.stretch=n;continue}if(Bte.indexOf(n)!==-1){t.weight=n;continue}if(jte(n)){var i=rw(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=PM(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=PM(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=rw(r.join(" "),/\s*,\s*/).map(Lte),Fh[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function PM(e){var t=parseFloat(e);return t.toString()===e?t:e}var Hte=Su,Wte=YN.isSize,qte=_p(UN),Vte=_p(jN),Yte=_p(GN),Xte=_p(HN),Kte=_p(WN),Qte={normal:1,"small-caps":1},Zte={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},nw={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},KN=function(t){if(t=Hte(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&&Nh(t.system,Vte),t.system;if(Nh(t.style,Xte),Nh(t.variant,Qte),Nh(t.weight,Yte),Nh(t.stretch,Kte),t.size==null&&(t.size=nw.size),typeof t.size=="number"&&(t.size+="px"),!Wte)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=nw.family),Array.isArray(t.family)&&(t.family.length||(t.family=[nw.family]),t.family=t.family.map(function(n){return Zte[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 Nh(e,t){if(e&&!t[e]&&!qte[e])throw Error("Unknown keyword `"+e+"`");return e}function _p(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var Jte={parse:Gte,stringify:KN},QN={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zt,function(){var r=function(I,W){for(var ee=Object.keys(W),Ce=0;Ce<ee.length;++Ce)I[ee[Ce]]=W[ee[Ce]];return I},n=0,i=0,a=5,o=6;function u(I,W){this.id=n++,this.type=I,this.data=W}function s(I){return I.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function c(I){if(I.length===0)return[];var W=I.charAt(0),ee=I.charAt(I.length-1);if(I.length>1&&W===ee&&(W==='"'||W==="'"))return['"'+s(I.substr(1,I.length-2))+'"'];var Ce=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(I);if(Ce)return c(I.substr(0,Ce.index)).concat(c(Ce[1])).concat(c(I.substr(Ce.index+Ce[0].length)));var Pe=I.split(".");if(Pe.length===1)return['"'+s(I)+'"'];for(var _e=[],Ee=0;Ee<Pe.length;++Ee)_e=_e.concat(c(Pe[Ee]));return _e}function d(I){return"["+c(I).join("][")+"]"}function g(I,W){return new u(I,d(W+""))}function v(I){return typeof I=="function"&&!I._reglType||I instanceof u}function y(I,W){if(typeof I=="function")return new u(i,I);if(typeof I=="number"||typeof I=="boolean")return new u(a,I);if(Array.isArray(I))return new u(o,I.map(function(ee,Ce){return y(ee)}));if(I instanceof u)return I}var A={DynamicVariable:u,define:g,isDynamic:v,unbox:y,accessor:d},E={next:typeof requestAnimationFrame=="function"?function(I){return requestAnimationFrame(I)}:function(I){return setTimeout(I,16)},cancel:typeof cancelAnimationFrame=="function"?function(I){return cancelAnimationFrame(I)}:clearTimeout},w=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date};function x(){var I={"":0},W=[""];return{id:function(ee){var Ce=I[ee];return Ce||(Ce=I[ee]=W.length,W.push(ee),Ce)},str:function(ee){return W[ee]}}}function _(I,W,ee){var Ce=document.createElement("canvas");r(Ce.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),I.appendChild(Ce),I===document.body&&(Ce.style.position="absolute",r(I.style,{margin:0,padding:0}));function Pe(){var Ke=window.innerWidth,Qe=window.innerHeight;if(I!==document.body){var et=Ce.getBoundingClientRect();Ke=et.right-et.left,Qe=et.bottom-et.top}Ce.width=ee*Ke,Ce.height=ee*Qe}var _e;I!==document.body&&typeof ResizeObserver=="function"?(_e=new ResizeObserver(function(){setTimeout(Pe)}),_e.observe(I)):window.addEventListener("resize",Pe,!1);function Ee(){_e?_e.disconnect():window.removeEventListener("resize",Pe),I.removeChild(Ce)}return Pe(),{canvas:Ce,onDestroy:Ee}}function T(I,W){function ee(Ce){try{return I.getContext(Ce,W)}catch{return null}}return ee("webgl")||ee("experimental-webgl")||ee("webgl-experimental")}function C(I){return typeof I.nodeName=="string"&&typeof I.appendChild=="function"&&typeof I.getBoundingClientRect=="function"}function R(I){return typeof I.drawArrays=="function"||typeof I.drawElements=="function"}function N(I){return typeof I=="string"?I.split():I}function V(I){return typeof I=="string"?document.querySelector(I):I}function j(I){var W=I||{},ee,Ce,Pe,_e,Ee={},Ke=[],Qe=[],et=typeof window>"u"?1:window.devicePixelRatio,ct=!1,Pt={},Et=function(de){},at=function(){};if(typeof W=="string"?ee=document.querySelector(W):typeof W=="object"&&(C(W)?ee=W:R(W)?(_e=W,Pe=_e.canvas):("gl"in W?_e=W.gl:"canvas"in W?Pe=V(W.canvas):"container"in W&&(Ce=V(W.container)),"attributes"in W&&(Ee=W.attributes),"extensions"in W&&(Ke=N(W.extensions)),"optionalExtensions"in W&&(Qe=N(W.optionalExtensions)),"onDone"in W&&(Et=W.onDone),"profile"in W&&(ct=!!W.profile),"pixelRatio"in W&&(et=+W.pixelRatio),"cachedCode"in W&&(Pt=W.cachedCode))),ee&&(ee.nodeName.toLowerCase()==="canvas"?Pe=ee:Ce=ee),!_e){if(!Pe){var qe=_(Ce||document.body,Et,et);if(!qe)return null;Pe=qe.canvas,at=qe.onDestroy}Ee.premultipliedAlpha===void 0&&(Ee.premultipliedAlpha=!0),_e=T(Pe,Ee)}return _e?{gl:_e,canvas:Pe,container:Ce,extensions:Ke,optionalExtensions:Qe,pixelRatio:et,profile:ct,cachedCode:Pt,onDone:Et,onDestroy:at}:(at(),Et("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function ne(I,W){var ee={};function Ce(Ee){var Ke=Ee.toLowerCase(),Qe;try{Qe=ee[Ke]=I.getExtension(Ke)}catch{}return!!Qe}for(var Pe=0;Pe<W.extensions.length;++Pe){var _e=W.extensions[Pe];if(!Ce(_e))return W.onDestroy(),W.onDone('"'+_e+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return W.optionalExtensions.forEach(Ce),{extensions:ee,restore:function(){Object.keys(ee).forEach(function(Ee){if(ee[Ee]&&!Ce(Ee))throw new Error("(regl): error restoring extension "+Ee)})}}}function Te(I,W){for(var ee=Array(I),Ce=0;Ce<I;++Ce)ee[Ce]=W(Ce);return ee}var be=5120,Re=5121,De=5122,Le=5123,We=5124,it=5125,Ie=5126;function Ve(I){for(var W=16;W<=1<<28;W*=16)if(I<=W)return W;return 0}function Mt(I){var W,ee;return W=(I>65535)<<4,I>>>=W,ee=(I>255)<<3,I>>>=ee,W|=ee,ee=(I>15)<<2,I>>>=ee,W|=ee,ee=(I>3)<<1,I>>>=ee,W|=ee,W|I>>1}function pt(){var I=Te(8,function(){return[]});function W(_e){var Ee=Ve(_e),Ke=I[Mt(Ee)>>2];return Ke.length>0?Ke.pop():new ArrayBuffer(Ee)}function ee(_e){I[Mt(_e.byteLength)>>2].push(_e)}function Ce(_e,Ee){var Ke=null;switch(_e){case be:Ke=new Int8Array(W(Ee),0,Ee);break;case Re:Ke=new Uint8Array(W(Ee),0,Ee);break;case De:Ke=new Int16Array(W(2*Ee),0,Ee);break;case Le:Ke=new Uint16Array(W(2*Ee),0,Ee);break;case We:Ke=new Int32Array(W(4*Ee),0,Ee);break;case it:Ke=new Uint32Array(W(4*Ee),0,Ee);break;case Ie:Ke=new Float32Array(W(4*Ee),0,Ee);break;default:return null}return Ke.length!==Ee?Ke.subarray(0,Ee):Ke}function Pe(_e){ee(_e.buffer)}return{alloc:W,free:ee,allocType:Ce,freeType:Pe}}var xe=pt();xe.zero=pt();var Ye=3408,lt=3410,Ue=3411,vt=3412,Rt=3413,Xt=3414,q=3415,U=33901,H=33902,ye=3379,ue=3386,Ge=34921,St=36347,Vt=36348,$=35661,M=35660,P=34930,K=36349,ve=34076,tt=34024,st=7936,sr=7937,yr=7938,_r=35724,Zr=34047,Cr=36063,Ra=34852,Ia=3553,Un=34067,Mp=34069,Di=33984,Au=6408,Vl=5126,Yl=5121,Xl=36160,ky=36053,Pa=36064,Ry=16384,Kl=function(I,W){var ee=1;W.ext_texture_filter_anisotropic&&(ee=I.getParameter(Zr));var Ce=1,Pe=1;W.webgl_draw_buffers&&(Ce=I.getParameter(Ra),Pe=I.getParameter(Cr));var _e=!!W.oes_texture_float;if(_e){var Ee=I.createTexture();I.bindTexture(Ia,Ee),I.texImage2D(Ia,0,Au,1,1,0,Au,Vl,null);var Ke=I.createFramebuffer();if(I.bindFramebuffer(Xl,Ke),I.framebufferTexture2D(Xl,Pa,Ia,Ee,0),I.bindTexture(Ia,null),I.checkFramebufferStatus(Xl)!==ky)_e=!1;else{I.viewport(0,0,1,1),I.clearColor(1,0,0,1),I.clear(Ry);var Qe=xe.allocType(Vl,4);I.readPixels(0,0,1,1,Au,Vl,Qe),I.getError()?_e=!1:(I.deleteFramebuffer(Ke),I.deleteTexture(Ee),_e=Qe[0]===1),xe.freeType(Qe)}}var et=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ct=!0;if(!et){var Pt=I.createTexture(),Et=xe.allocType(Yl,36);I.activeTexture(Di),I.bindTexture(Un,Pt),I.texImage2D(Mp,0,Au,3,3,0,Au,Yl,Et),xe.freeType(Et),I.bindTexture(Un,null),I.deleteTexture(Pt),ct=!I.getError()}return{colorBits:[I.getParameter(lt),I.getParameter(Ue),I.getParameter(vt),I.getParameter(Rt)],depthBits:I.getParameter(Xt),stencilBits:I.getParameter(q),subpixelBits:I.getParameter(Ye),extensions:Object.keys(W).filter(function(at){return!!W[at]}),maxAnisotropic:ee,maxDrawbuffers:Ce,maxColorAttachments:Pe,pointSizeDims:I.getParameter(U),lineWidthDims:I.getParameter(H),maxViewportDims:I.getParameter(ue),maxCombinedTextureUnits:I.getParameter($),maxCubeMapSize:I.getParameter(ve),maxRenderbufferSize:I.getParameter(tt),maxTextureUnits:I.getParameter(P),maxTextureSize:I.getParameter(ye),maxAttributes:I.getParameter(Ge),maxVertexUniforms:I.getParameter(St),maxVertexTextureUnits:I.getParameter(M),maxVaryingVectors:I.getParameter(Vt),maxFragmentUniforms:I.getParameter(K),glsl:I.getParameter(_r),renderer:I.getParameter(sr),vendor:I.getParameter(st),version:I.getParameter(yr),readFloat:_e,npotTextureCube:ct}},nn=function(I){return I instanceof Uint8Array||I instanceof Uint16Array||I instanceof Uint32Array||I instanceof Int8Array||I instanceof Int16Array||I instanceof Int32Array||I instanceof Float32Array||I instanceof Float64Array||I instanceof Uint8ClampedArray};function ui(I){return!!I&&typeof I=="object"&&Array.isArray(I.shape)&&Array.isArray(I.stride)&&typeof I.offset=="number"&&I.shape.length===I.stride.length&&(Array.isArray(I.data)||nn(I.data))}var jn=function(I){return Object.keys(I).map(function(W){return I[W]})},ir={shape:Ip,flatten:Si};function kp(I,W,ee){for(var Ce=0;Ce<W;++Ce)ee[Ce]=I[Ce]}function Bi(I,W,ee,Ce){for(var Pe=0,_e=0;_e<W;++_e)for(var Ee=I[_e],Ke=0;Ke<ee;++Ke)Ce[Pe++]=Ee[Ke]}function mo(I,W,ee,Ce,Pe,_e){for(var Ee=_e,Ke=0;Ke<W;++Ke)for(var Qe=I[Ke],et=0;et<ee;++et)for(var ct=Qe[et],Pt=0;Pt<Ce;++Pt)Pe[Ee++]=ct[Pt]}function Rp(I,W,ee,Ce,Pe){for(var _e=1,Ee=ee+1;Ee<W.length;++Ee)_e*=W[Ee];var Ke=W[ee];if(W.length-ee===4){var Qe=W[ee+1],et=W[ee+2],ct=W[ee+3];for(Ee=0;Ee<Ke;++Ee)mo(I[Ee],Qe,et,ct,Ce,Pe),Pe+=_e}else for(Ee=0;Ee<Ke;++Ee)Rp(I[Ee],W,ee+1,Ce,Pe),Pe+=_e}function Si(I,W,ee,Ce){var Pe=1;if(W.length)for(var _e=0;_e<W.length;++_e)Pe*=W[_e];else Pe=0;var Ee=Ce||xe.allocType(ee,Pe);switch(W.length){case 0:break;case 1:kp(I,W[0],Ee);break;case 2:Bi(I,W[0],W[1],Ee);break;case 3:mo(I,W[0],W[1],W[2],Ee,0);break;default:Rp(I,W,0,Ee,0)}return Ee}function Ip(I){for(var W=[],ee=I;ee.length;ee=ee[0])W.push(ee.length);return W}var Cu={"[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},Iy=5120,Pp=5122,Py=5124,Fp=5121,Fy=5123,Tu=5125,Zf=5126,Np=5126,Ou={int8:Iy,int16:Pp,int32:Py,uint8:Fp,uint16:Fy,uint32:Tu,float:Zf,float32:Np},Ql=35048,Jf=35040,oa={dynamic:Ql,stream:Jf,static:35044},Xn=ir.flatten,Zl=ir.shape,Jl=35044,li=35040,Mu=5121,ku=5126,Jr=[];Jr[5120]=1,Jr[5122]=2,Jr[5124]=4,Jr[5121]=1,Jr[5123]=2,Jr[5125]=4,Jr[5126]=4;function Fa(I){return Cu[Object.prototype.toString.call(I)]|0}function ec(I,W){for(var ee=0;ee<W.length;++ee)I[ee]=W[ee]}function tc(I,W,ee,Ce,Pe,_e,Ee){for(var Ke=0,Qe=0;Qe<ee;++Qe)for(var et=0;et<Ce;++et)I[Ke++]=W[Pe*Qe+_e*et+Ee]}function Lp(I,W,ee,Ce){var Pe=0,_e={};function Ee(de){this.id=Pe++,this.buffer=I.createBuffer(),this.type=de,this.usage=Jl,this.byteLength=0,this.dimension=1,this.dtype=Mu,this.persistentData=null,ee.profile&&(this.stats={size:0})}Ee.prototype.bind=function(){I.bindBuffer(this.type,this.buffer)},Ee.prototype.destroy=function(){Et(this)};var Ke=[];function Qe(de,Me){var Xe=Ke.pop();return Xe||(Xe=new Ee(de)),Xe.bind(),Pt(Xe,Me,li,0,1,!1),Xe}function et(de){Ke.push(de)}function ct(de,Me,Xe){de.byteLength=Me.byteLength,I.bufferData(de.type,Me,Xe)}function Pt(de,Me,Xe,Ze,$e,mt){var ut;if(de.usage=Xe,Array.isArray(Me)){if(de.dtype=Ze||ku,Me.length>0){var Ft;if(Array.isArray(Me[0])){ut=Zl(Me);for(var Be=1,Fe=1;Fe<ut.length;++Fe)Be*=ut[Fe];de.dimension=Be,Ft=Xn(Me,ut,de.dtype),ct(de,Ft,Xe),mt?de.persistentData=Ft:xe.freeType(Ft)}else if(typeof Me[0]=="number"){de.dimension=$e;var yt=xe.allocType(de.dtype,Me.length);ec(yt,Me),ct(de,yt,Xe),mt?de.persistentData=yt:xe.freeType(yt)}else nn(Me[0])&&(de.dimension=Me[0].length,de.dtype=Ze||Fa(Me[0])||ku,Ft=Xn(Me,[Me.length,Me[0].length],de.dtype),ct(de,Ft,Xe),mt?de.persistentData=Ft:xe.freeType(Ft))}}else if(nn(Me))de.dtype=Ze||Fa(Me),de.dimension=$e,ct(de,Me,Xe),mt&&(de.persistentData=new Uint8Array(new Uint8Array(Me.buffer)));else if(ui(Me)){ut=Me.shape;var Oe=Me.stride,ht=Me.offset,Je=0,Nt=0,tr=0,xt=0;ut.length===1?(Je=ut[0],Nt=1,tr=Oe[0],xt=0):ut.length===2&&(Je=ut[0],Nt=ut[1],tr=Oe[0],xt=Oe[1]),de.dtype=Ze||Fa(Me.data)||ku,de.dimension=Nt;var Ut=xe.allocType(de.dtype,Je*Nt);tc(Ut,Me.data,Je,Nt,tr,xt,ht),ct(de,Ut,Xe),mt?de.persistentData=Ut:xe.freeType(Ut)}else Me instanceof ArrayBuffer&&(de.dtype=Mu,de.dimension=$e,ct(de,Me,Xe),mt&&(de.persistentData=new Uint8Array(new Uint8Array(Me))))}function Et(de){W.bufferCount--,Ce(de);var Me=de.buffer;I.deleteBuffer(Me),de.buffer=null,delete _e[de.id]}function at(de,Me,Xe,Ze){W.bufferCount++;var $e=new Ee(Me);_e[$e.id]=$e;function mt(Be){var Fe=Jl,yt=null,Oe=0,ht=0,Je=1;return Array.isArray(Be)||nn(Be)||ui(Be)||Be instanceof ArrayBuffer?yt=Be:typeof Be=="number"?Oe=Be|0:Be&&("data"in Be&&(yt=Be.data),"usage"in Be&&(Fe=oa[Be.usage]),"type"in Be&&(ht=Ou[Be.type]),"dimension"in Be&&(Je=Be.dimension|0),"length"in Be&&(Oe=Be.length|0)),$e.bind(),yt?Pt($e,yt,Fe,ht,Je,Ze):(Oe&&I.bufferData($e.type,Oe,Fe),$e.dtype=ht||Mu,$e.usage=Fe,$e.dimension=Je,$e.byteLength=Oe),ee.profile&&($e.stats.size=$e.byteLength*Jr[$e.dtype]),mt}function ut(Be,Fe){I.bufferSubData($e.type,Fe,Be)}function Ft(Be,Fe){var yt=(Fe||0)|0,Oe;if($e.bind(),nn(Be)||Be instanceof ArrayBuffer)ut(Be,yt);else if(Array.isArray(Be)){if(Be.length>0){if(typeof Be[0]=="number"){var ht=xe.allocType($e.dtype,Be.length);ec(ht,Be),ut(ht,yt),xe.freeType(ht)}else if(Array.isArray(Be[0])||nn(Be[0])){Oe=Zl(Be);var Je=Xn(Be,Oe,$e.dtype);ut(Je,yt),xe.freeType(Je)}}}else if(ui(Be)){Oe=Be.shape;var Nt=Be.stride,tr=0,xt=0,Ut=0,ft=0;Oe.length===1?(tr=Oe[0],xt=1,Ut=Nt[0],ft=0):Oe.length===2&&(tr=Oe[0],xt=Oe[1],Ut=Nt[0],ft=Nt[1]);var rr=Array.isArray(Be.data)?$e.dtype:Fa(Be.data),ur=xe.allocType(rr,tr*xt);tc(ur,Be.data,tr,xt,Ut,ft,Be.offset),ut(ur,yt),xe.freeType(ur)}return mt}return Xe||mt(de),mt._reglType="buffer",mt._buffer=$e,mt.subdata=Ft,ee.profile&&(mt.stats=$e.stats),mt.destroy=function(){Et($e)},mt}function qe(){jn(_e).forEach(function(de){de.buffer=I.createBuffer(),I.bindBuffer(de.type,de.buffer),I.bufferData(de.type,de.persistentData||de.byteLength,de.usage)})}return ee.profile&&(W.getTotalBufferSize=function(){var de=0;return Object.keys(_e).forEach(function(Me){de+=_e[Me].stats.size}),de}),{create:at,createStream:Qe,destroyStream:et,clear:function(){jn(_e).forEach(Et),Ke.forEach(Et)},getBuffer:function(de){return de&&de._buffer instanceof Ee?de._buffer:null},restore:qe,_initBuffer:Pt}}var rc=0,$p=0,Dp=1,nc=1,ic=4,ac=4,an={points:rc,point:$p,lines:Dp,line:nc,triangles:ic,triangle:ac,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},Bp=0,es=1,ua=4,go=5120,Na=5121,oc=5122,La=5123,ts=5124,la=5125,yo=34963,mr=35040,uc=35044;function rs(I,W,ee,Ce){var Pe={},_e=0,Ee={uint8:Na,uint16:La};W.oes_element_index_uint&&(Ee.uint32=la);function Ke(qe){this.id=_e++,Pe[this.id]=this,this.buffer=qe,this.primType=ua,this.vertCount=0,this.type=0}Ke.prototype.bind=function(){this.buffer.bind()};var Qe=[];function et(qe){var de=Qe.pop();return de||(de=new Ke(ee.create(null,yo,!0,!1)._buffer)),Pt(de,qe,mr,-1,-1,0,0),de}function ct(qe){Qe.push(qe)}function Pt(qe,de,Me,Xe,Ze,$e,mt){qe.buffer.bind();var ut;if(de){var Ft=mt;!mt&&(!nn(de)||ui(de)&&!nn(de.data))&&(Ft=W.oes_element_index_uint?la:La),ee._initBuffer(qe.buffer,de,Me,Ft,3)}else I.bufferData(yo,$e,Me),qe.buffer.dtype=ut||Na,qe.buffer.usage=Me,qe.buffer.dimension=3,qe.buffer.byteLength=$e;if(ut=mt,!mt){switch(qe.buffer.dtype){case Na:case go:ut=Na;break;case La:case oc:ut=La;break;case la:case ts:ut=la;break}qe.buffer.dtype=ut}qe.type=ut;var Be=Ze;Be<0&&(Be=qe.buffer.byteLength,ut===La?Be>>=1:ut===la&&(Be>>=2)),qe.vertCount=Be;var Fe=Xe;if(Xe<0){Fe=ua;var yt=qe.buffer.dimension;yt===1&&(Fe=Bp),yt===2&&(Fe=es),yt===3&&(Fe=ua)}qe.primType=Fe}function Et(qe){Ce.elementsCount--,delete Pe[qe.id],qe.buffer.destroy(),qe.buffer=null}function at(qe,de){var Me=ee.create(null,yo,!0),Xe=new Ke(Me._buffer);Ce.elementsCount++;function Ze($e){if(!$e)Me(),Xe.primType=ua,Xe.vertCount=0,Xe.type=Na;else if(typeof $e=="number")Me($e),Xe.primType=ua,Xe.vertCount=$e|0,Xe.type=Na;else{var mt=null,ut=uc,Ft=-1,Be=-1,Fe=0,yt=0;Array.isArray($e)||nn($e)||ui($e)?mt=$e:("data"in $e&&(mt=$e.data),"usage"in $e&&(ut=oa[$e.usage]),"primitive"in $e&&(Ft=an[$e.primitive]),"count"in $e&&(Be=$e.count|0),"type"in $e&&(yt=Ee[$e.type]),"length"in $e?Fe=$e.length|0:(Fe=Be,yt===La||yt===oc?Fe*=2:(yt===la||yt===ts)&&(Fe*=4))),Pt(Xe,mt,ut,Ft,Be,Fe,yt)}return Ze}return Ze(qe),Ze._reglType="elements",Ze._elements=Xe,Ze.subdata=function($e,mt){return Me.subdata($e,mt),Ze},Ze.destroy=function(){Et(Xe)},Ze}return{create:at,createStream:et,destroyStream:ct,getElements:function(qe){return typeof qe=="function"&&qe._elements instanceof Ke?qe._elements:null},clear:function(){jn(Pe).forEach(Et)}}}var zp=new Float32Array(1),Ny=new Uint32Array(zp.buffer),ns=5123;function Ru(I){for(var W=xe.allocType(ns,I.length),ee=0;ee<I.length;++ee)if(isNaN(I[ee]))W[ee]=65535;else if(I[ee]===1/0)W[ee]=31744;else if(I[ee]===-1/0)W[ee]=64512;else{zp[0]=I[ee];var Ce=Ny[0],Pe=Ce>>>31<<15,_e=(Ce<<1>>>24)-127,Ee=Ce>>13&(1<<10)-1;if(_e<-24)W[ee]=Pe;else if(_e<-14){var Ke=-14-_e;W[ee]=Pe+(Ee+(1<<10)>>Ke)}else _e>15?W[ee]=Pe+31744:W[ee]=Pe+(_e+15<<10)+Ee}return W}function si(I){return Array.isArray(I)||nn(I)}var is=34467,fi=3553,bo=34067,xo=34069,sa=6408,as=6406,zi=6407,Ui=6409,Iu=6410,Up=32854,wo=32855,os=36194,lc=32819,jp=32820,_o=33635,$a=34042,fa=6402,Pu=34041,Fu=35904,Da=35906,Ba=36193,sc=33776,us=33777,Nu=33778,fc=33779,Gp=35986,cc=35987,Hp=34798,hc=35840,Wp=35841,dc=35842,qp=35843,za=36196,ci=5121,pc=5123,vc=5125,Lu=5126,Vp=10242,$u=10243,Ly=10497,So=33071,ls=33648,mc=10240,ss=10241,Ua=9728,Du=9729,fs=9984,cs=9985,Yp=9986,Eo=9987,$y=33170,hs=4352,Dy=4353,Xp=4354,Bu=34046,By=3317,gc=37440,Kp=37441,ji=37443,yc=37444,ja=33984,bc=[fs,Yp,cs,Eo],Ei=[0,Ui,Iu,zi,sa],Pn={};Pn[Ui]=Pn[as]=Pn[fa]=1,Pn[Pu]=Pn[Iu]=2,Pn[zi]=Pn[Fu]=3,Pn[sa]=Pn[Da]=4;function Ga(I){return"[object "+I+"]"}var Qp=Ga("HTMLCanvasElement"),Zp=Ga("OffscreenCanvas"),Jp=Ga("CanvasRenderingContext2D"),xc=Ga("ImageBitmap"),wc=Ga("HTMLImageElement"),ev=Ga("HTMLVideoElement"),zy=Object.keys(Cu).concat([Qp,Zp,Jp,xc,wc,ev]),Ao=[];Ao[ci]=1,Ao[Lu]=4,Ao[Ba]=2,Ao[pc]=2,Ao[vc]=4;var en=[];en[Up]=2,en[wo]=2,en[os]=2,en[Pu]=4,en[sc]=.5,en[us]=.5,en[Nu]=1,en[fc]=1,en[Gp]=.5,en[cc]=1,en[Hp]=1,en[hc]=.5,en[Wp]=.25,en[dc]=.5,en[qp]=.25,en[za]=.5;function tv(I){return Array.isArray(I)&&(I.length===0||typeof I[0]=="number")}function rv(I){if(!Array.isArray(I))return!1;var W=I.length;return!(W===0||!si(I[0]))}function Ha(I){return Object.prototype.toString.call(I)}function nv(I){return Ha(I)===Qp}function iv(I){return Ha(I)===Zp}function Uy(I){return Ha(I)===Jp}function jy(I){return Ha(I)===xc}function Gy(I){return Ha(I)===wc}function Hy(I){return Ha(I)===ev}function ds(I){if(!I)return!1;var W=Ha(I);return zy.indexOf(W)>=0?!0:tv(I)||rv(I)||ui(I)}function _c(I){return Cu[Object.prototype.toString.call(I)]|0}function av(I,W){var ee=W.length;switch(I.type){case ci:case pc:case vc:case Lu:var Ce=xe.allocType(I.type,ee);Ce.set(W),I.data=Ce;break;case Ba:I.data=Ru(W);break}}function Sc(I,W){return xe.allocType(I.type===Ba?Lu:I.type,W)}function ov(I,W){I.type===Ba?(I.data=Ru(W),xe.freeType(W)):I.data=W}function Wy(I,W,ee,Ce,Pe,_e){for(var Ee=I.width,Ke=I.height,Qe=I.channels,et=Ee*Ke*Qe,ct=Sc(I,et),Pt=0,Et=0;Et<Ke;++Et)for(var at=0;at<Ee;++at)for(var qe=0;qe<Qe;++qe)ct[Pt++]=W[ee*at+Ce*Et+Pe*qe+_e];ov(I,ct)}function Gi(I,W,ee,Ce,Pe,_e){var Ee;if(typeof en[I]<"u"?Ee=en[I]:Ee=Pn[I]*Ao[W],_e&&(Ee*=6),Pe){for(var Ke=0,Qe=ee;Qe>=1;)Ke+=Ee*Qe*Qe,Qe/=2;return Ke}else return Ee*ee*Ce}function qy(I,W,ee,Ce,Pe,_e,Ee){var Ke={"don't care":hs,"dont care":hs,nice:Xp,fast:Dy},Qe={repeat:Ly,clamp:So,mirror:ls},et={nearest:Ua,linear:Du},ct=r({mipmap:Eo,"nearest mipmap nearest":fs,"linear mipmap nearest":cs,"nearest mipmap linear":Yp,"linear mipmap linear":Eo},et),Pt={none:0,browser:yc},Et={uint8:ci,rgba4:lc,rgb565:_o,"rgb5 a1":jp},at={alpha:as,luminance:Ui,"luminance alpha":Iu,rgb:zi,rgba:sa,rgba4:Up,"rgb5 a1":wo,rgb565:os},qe={};W.ext_srgb&&(at.srgb=Fu,at.srgba=Da),W.oes_texture_float&&(Et.float32=Et.float=Lu),W.oes_texture_half_float&&(Et.float16=Et["half float"]=Ba),W.webgl_depth_texture&&(r(at,{depth:fa,"depth stencil":Pu}),r(Et,{uint16:pc,uint32:vc,"depth stencil":$a})),W.webgl_compressed_texture_s3tc&&r(qe,{"rgb s3tc dxt1":sc,"rgba s3tc dxt1":us,"rgba s3tc dxt3":Nu,"rgba s3tc dxt5":fc}),W.webgl_compressed_texture_atc&&r(qe,{"rgb atc":Gp,"rgba atc explicit alpha":cc,"rgba atc interpolated alpha":Hp}),W.webgl_compressed_texture_pvrtc&&r(qe,{"rgb pvrtc 4bppv1":hc,"rgb pvrtc 2bppv1":Wp,"rgba pvrtc 4bppv1":dc,"rgba pvrtc 2bppv1":qp}),W.webgl_compressed_texture_etc1&&(qe["rgb etc1"]=za);var de=Array.prototype.slice.call(I.getParameter(is));Object.keys(qe).forEach(function(X){var Se=qe[X];de.indexOf(Se)>=0&&(at[X]=Se)});var Me=Object.keys(at);ee.textureFormats=Me;var Xe=[];Object.keys(at).forEach(function(X){var Se=at[X];Xe[Se]=X});var Ze=[];Object.keys(Et).forEach(function(X){var Se=Et[X];Ze[Se]=X});var $e=[];Object.keys(et).forEach(function(X){var Se=et[X];$e[Se]=X});var mt=[];Object.keys(ct).forEach(function(X){var Se=ct[X];mt[Se]=X});var ut=[];Object.keys(Qe).forEach(function(X){var Se=Qe[X];ut[Se]=X});var Ft=Me.reduce(function(X,Se){var we=at[Se];return we===Ui||we===as||we===Ui||we===Iu||we===fa||we===Pu||W.ext_srgb&&(we===Fu||we===Da)?X[we]=we:we===wo||Se.indexOf("rgba")>=0?X[we]=sa:X[we]=zi,X},{});function Be(){this.internalformat=sa,this.format=sa,this.type=ci,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=yc,this.width=0,this.height=0,this.channels=0}function Fe(X,Se){X.internalformat=Se.internalformat,X.format=Se.format,X.type=Se.type,X.compressed=Se.compressed,X.premultiplyAlpha=Se.premultiplyAlpha,X.flipY=Se.flipY,X.unpackAlignment=Se.unpackAlignment,X.colorSpace=Se.colorSpace,X.width=Se.width,X.height=Se.height,X.channels=Se.channels}function yt(X,Se){if(!(typeof Se!="object"||!Se)){if("premultiplyAlpha"in Se&&(X.premultiplyAlpha=Se.premultiplyAlpha),"flipY"in Se&&(X.flipY=Se.flipY),"alignment"in Se&&(X.unpackAlignment=Se.alignment),"colorSpace"in Se&&(X.colorSpace=Pt[Se.colorSpace]),"type"in Se){var we=Se.type;X.type=Et[we]}var Ct=X.width,nr=X.height,Pr=X.channels,Tt=!1;"shape"in Se?(Ct=Se.shape[0],nr=Se.shape[1],Se.shape.length===3&&(Pr=Se.shape[2],Tt=!0)):("radius"in Se&&(Ct=nr=Se.radius),"width"in Se&&(Ct=Se.width),"height"in Se&&(nr=Se.height),"channels"in Se&&(Pr=Se.channels,Tt=!0)),X.width=Ct|0,X.height=nr|0,X.channels=Pr|0;var z=!1;if("format"in Se){var Y=Se.format,re=X.internalformat=at[Y];X.format=Ft[re],Y in Et&&("type"in Se||(X.type=Et[Y])),Y in qe&&(X.compressed=!0),z=!0}!Tt&&z?X.channels=Pn[X.format]:Tt&&!z&&X.channels!==Ei[X.format]&&(X.format=X.internalformat=Ei[X.channels])}}function Oe(X){I.pixelStorei(gc,X.flipY),I.pixelStorei(Kp,X.premultiplyAlpha),I.pixelStorei(ji,X.colorSpace),I.pixelStorei(By,X.unpackAlignment)}function ht(){Be.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Je(X,Se){var we=null;if(ds(Se)?we=Se:Se&&(yt(X,Se),"x"in Se&&(X.xOffset=Se.x|0),"y"in Se&&(X.yOffset=Se.y|0),ds(Se.data)&&(we=Se.data)),Se.copy){var Ct=Pe.viewportWidth,nr=Pe.viewportHeight;X.width=X.width||Ct-X.xOffset,X.height=X.height||nr-X.yOffset,X.needsCopy=!0}else if(!we)X.width=X.width||1,X.height=X.height||1,X.channels=X.channels||4;else if(nn(we))X.channels=X.channels||4,X.data=we,!("type"in Se)&&X.type===ci&&(X.type=_c(we));else if(tv(we))X.channels=X.channels||4,av(X,we),X.alignment=1,X.needsFree=!0;else if(ui(we)){var Pr=we.data;!Array.isArray(Pr)&&X.type===ci&&(X.type=_c(Pr));var Tt=we.shape,z=we.stride,Y,re,Ae,me,pe,he;Tt.length===3?(Ae=Tt[2],he=z[2]):(Ae=1,he=1),Y=Tt[0],re=Tt[1],me=z[0],pe=z[1],X.alignment=1,X.width=Y,X.height=re,X.channels=Ae,X.format=X.internalformat=Ei[Ae],X.needsFree=!0,Wy(X,Pr,me,pe,he,we.offset)}else if(nv(we)||iv(we)||Uy(we))nv(we)||iv(we)?X.element=we:X.element=we.canvas,X.width=X.element.width,X.height=X.element.height,X.channels=4;else if(jy(we))X.element=we,X.width=we.width,X.height=we.height,X.channels=4;else if(Gy(we))X.element=we,X.width=we.naturalWidth,X.height=we.naturalHeight,X.channels=4;else if(Hy(we))X.element=we,X.width=we.videoWidth,X.height=we.videoHeight,X.channels=4;else if(rv(we)){var ce=X.width||we[0].length,J=X.height||we.length,ae=X.channels;si(we[0][0])?ae=ae||we[0][0].length:ae=ae||1;for(var Z=ir.shape(we),ge=1,ke=0;ke<Z.length;++ke)ge*=Z[ke];var ze=Sc(X,ge);ir.flatten(we,Z,"",ze),ov(X,ze),X.alignment=1,X.width=ce,X.height=J,X.channels=ae,X.format=X.internalformat=Ei[ae],X.needsFree=!0}X.type===Lu||X.type}function Nt(X,Se,we){var Ct=X.element,nr=X.data,Pr=X.internalformat,Tt=X.format,z=X.type,Y=X.width,re=X.height;Oe(X),Ct?I.texImage2D(Se,we,Tt,Tt,z,Ct):X.compressed?I.compressedTexImage2D(Se,we,Pr,Y,re,0,nr):X.needsCopy?(Ce(),I.copyTexImage2D(Se,we,Tt,X.xOffset,X.yOffset,Y,re,0)):I.texImage2D(Se,we,Tt,Y,re,0,Tt,z,nr||null)}function tr(X,Se,we,Ct,nr){var Pr=X.element,Tt=X.data,z=X.internalformat,Y=X.format,re=X.type,Ae=X.width,me=X.height;Oe(X),Pr?I.texSubImage2D(Se,nr,we,Ct,Y,re,Pr):X.compressed?I.compressedTexSubImage2D(Se,nr,we,Ct,z,Ae,me,Tt):X.needsCopy?(Ce(),I.copyTexSubImage2D(Se,nr,we,Ct,X.xOffset,X.yOffset,Ae,me)):I.texSubImage2D(Se,nr,we,Ct,Ae,me,Y,re,Tt)}var xt=[];function Ut(){return xt.pop()||new ht}function ft(X){X.needsFree&&xe.freeType(X.data),ht.call(X),xt.push(X)}function rr(){Be.call(this),this.genMipmaps=!1,this.mipmapHint=hs,this.mipmask=0,this.images=Array(16)}function ur(X,Se,we){var Ct=X.images[0]=Ut();X.mipmask=1,Ct.width=X.width=Se,Ct.height=X.height=we,Ct.channels=X.channels=4}function cr(X,Se){var we=null;if(ds(Se))we=X.images[0]=Ut(),Fe(we,X),Je(we,Se),X.mipmask=1;else if(yt(X,Se),Array.isArray(Se.mipmap))for(var Ct=Se.mipmap,nr=0;nr<Ct.length;++nr)we=X.images[nr]=Ut(),Fe(we,X),we.width>>=nr,we.height>>=nr,Je(we,Ct[nr]),X.mipmask|=1<<nr;else we=X.images[0]=Ut(),Fe(we,X),Je(we,Se),X.mipmask=1;Fe(X,X.images[0]),X.compressed&&(X.internalformat===sc||X.internalformat===us||X.internalformat===Nu||X.internalformat)}function ln(X,Se){for(var we=X.images,Ct=0;Ct<we.length;++Ct){if(!we[Ct])return;Nt(we[Ct],Se,Ct)}}var lr=[];function Qn(){var X=lr.pop()||new rr;Be.call(X),X.mipmask=0;for(var Se=0;Se<16;++Se)X.images[Se]=null;return X}function Or(X){for(var Se=X.images,we=0;we<Se.length;++we)Se[we]&&ft(Se[we]),Se[we]=null;lr.push(X)}function Cn(){this.minFilter=Ua,this.magFilter=Ua,this.wrapS=So,this.wrapT=So,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=hs}function Zn(X,Se){if("min"in Se){var we=Se.min;X.minFilter=ct[we],bc.indexOf(X.minFilter)>=0&&!("faces"in Se)&&(X.genMipmaps=!0)}if("mag"in Se){var Ct=Se.mag;X.magFilter=et[Ct]}var nr=X.wrapS,Pr=X.wrapT;if("wrap"in Se){var Tt=Se.wrap;typeof Tt=="string"?nr=Pr=Qe[Tt]:Array.isArray(Tt)&&(nr=Qe[Tt[0]],Pr=Qe[Tt[1]])}else{if("wrapS"in Se){var z=Se.wrapS;nr=Qe[z]}if("wrapT"in Se){var Y=Se.wrapT;Pr=Qe[Y]}}if(X.wrapS=nr,X.wrapT=Pr,"anisotropic"in Se&&(Se.anisotropic,X.anisotropic=Se.anisotropic),"mipmap"in Se){var re=!1;switch(typeof Se.mipmap){case"string":X.mipmapHint=Ke[Se.mipmap],X.genMipmaps=!0,re=!0;break;case"boolean":re=X.genMipmaps=Se.mipmap;break;case"object":X.genMipmaps=!1,re=!0;break}re&&!("min"in Se)&&(X.minFilter=fs)}}function Nn(X,Se){I.texParameteri(Se,ss,X.minFilter),I.texParameteri(Se,mc,X.magFilter),I.texParameteri(Se,Vp,X.wrapS),I.texParameteri(Se,$u,X.wrapT),W.ext_texture_filter_anisotropic&&I.texParameteri(Se,Bu,X.anisotropic),X.genMipmaps&&(I.hint($y,X.mipmapHint),I.generateMipmap(Se))}var Vi=0,sn={},fn=ee.maxTextureUnits,Qt=Array(fn).map(function(){return null});function vi(X){Be.call(this),this.mipmask=0,this.internalformat=sa,this.id=Vi++,this.refCount=1,this.target=X,this.texture=I.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Cn,Ee.profile&&(this.stats={size:0})}function Sr(X){I.activeTexture(ja),I.bindTexture(X.target,X.texture)}function cn(){var X=Qt[0];X?I.bindTexture(X.target,X.texture):I.bindTexture(fi,null)}function Gn(X){var Se=X.texture,we=X.unit,Ct=X.target;we>=0&&(I.activeTexture(ja+we),I.bindTexture(Ct,null),Qt[we]=null),I.deleteTexture(Se),X.texture=null,X.params=null,X.pixels=null,X.refCount=0,delete sn[X.id],_e.textureCount--}r(vi.prototype,{bind:function(){var X=this;X.bindCount+=1;var Se=X.unit;if(Se<0){for(var we=0;we<fn;++we){var Ct=Qt[we];if(Ct){if(Ct.bindCount>0)continue;Ct.unit=-1}Qt[we]=X,Se=we;break}Ee.profile&&_e.maxTextureUnits<Se+1&&(_e.maxTextureUnits=Se+1),X.unit=Se,I.activeTexture(ja+Se),I.bindTexture(X.target,X.texture)}return Se},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Gn(this)}});function Hn(X,Se){var we=new vi(fi);sn[we.id]=we,_e.textureCount++;function Ct(Tt,z){var Y=we.texInfo;Cn.call(Y);var re=Qn();return typeof Tt=="number"?typeof z=="number"?ur(re,Tt|0,z|0):ur(re,Tt|0,Tt|0):Tt?(Zn(Y,Tt),cr(re,Tt)):ur(re,1,1),Y.genMipmaps&&(re.mipmask=(re.width<<1)-1),we.mipmask=re.mipmask,Fe(we,re),we.internalformat=re.internalformat,Ct.width=re.width,Ct.height=re.height,Sr(we),ln(re,fi),Nn(Y,fi),cn(),Or(re),Ee.profile&&(we.stats.size=Gi(we.internalformat,we.type,re.width,re.height,Y.genMipmaps,!1)),Ct.format=Xe[we.internalformat],Ct.type=Ze[we.type],Ct.mag=$e[Y.magFilter],Ct.min=mt[Y.minFilter],Ct.wrapS=ut[Y.wrapS],Ct.wrapT=ut[Y.wrapT],Ct}function nr(Tt,z,Y,re){var Ae=z|0,me=Y|0,pe=re|0,he=Ut();return Fe(he,we),he.width=0,he.height=0,Je(he,Tt),he.width=he.width||(we.width>>pe)-Ae,he.height=he.height||(we.height>>pe)-me,Sr(we),tr(he,fi,Ae,me,pe),cn(),ft(he),Ct}function Pr(Tt,z){var Y=Tt|0,re=z|0||Y;if(Y===we.width&&re===we.height)return Ct;Ct.width=we.width=Y,Ct.height=we.height=re,Sr(we);for(var Ae=0;we.mipmask>>Ae;++Ae){var me=Y>>Ae,pe=re>>Ae;if(!me||!pe)break;I.texImage2D(fi,Ae,we.format,me,pe,0,we.format,we.type,null)}return cn(),Ee.profile&&(we.stats.size=Gi(we.internalformat,we.type,Y,re,!1,!1)),Ct}return Ct(X,Se),Ct.subimage=nr,Ct.resize=Pr,Ct._reglType="texture2d",Ct._texture=we,Ee.profile&&(Ct.stats=we.stats),Ct.destroy=function(){we.decRef()},Ct}function Jt(X,Se,we,Ct,nr,Pr){var Tt=new vi(bo);sn[Tt.id]=Tt,_e.cubeCount++;var z=new Array(6);function Y(me,pe,he,ce,J,ae){var Z,ge=Tt.texInfo;for(Cn.call(ge),Z=0;Z<6;++Z)z[Z]=Qn();if(typeof me=="number"||!me){var ke=me|0||1;for(Z=0;Z<6;++Z)ur(z[Z],ke,ke)}else if(typeof me=="object")if(pe)cr(z[0],me),cr(z[1],pe),cr(z[2],he),cr(z[3],ce),cr(z[4],J),cr(z[5],ae);else if(Zn(ge,me),yt(Tt,me),"faces"in me){var ze=me.faces;for(Z=0;Z<6;++Z)Fe(z[Z],Tt),cr(z[Z],ze[Z])}else for(Z=0;Z<6;++Z)cr(z[Z],me);for(Fe(Tt,z[0]),ge.genMipmaps?Tt.mipmask=(z[0].width<<1)-1:Tt.mipmask=z[0].mipmask,Tt.internalformat=z[0].internalformat,Y.width=z[0].width,Y.height=z[0].height,Sr(Tt),Z=0;Z<6;++Z)ln(z[Z],xo+Z);for(Nn(ge,bo),cn(),Ee.profile&&(Tt.stats.size=Gi(Tt.internalformat,Tt.type,Y.width,Y.height,ge.genMipmaps,!0)),Y.format=Xe[Tt.internalformat],Y.type=Ze[Tt.type],Y.mag=$e[ge.magFilter],Y.min=mt[ge.minFilter],Y.wrapS=ut[ge.wrapS],Y.wrapT=ut[ge.wrapT],Z=0;Z<6;++Z)Or(z[Z]);return Y}function re(me,pe,he,ce,J){var ae=he|0,Z=ce|0,ge=J|0,ke=Ut();return Fe(ke,Tt),ke.width=0,ke.height=0,Je(ke,pe),ke.width=ke.width||(Tt.width>>ge)-ae,ke.height=ke.height||(Tt.height>>ge)-Z,Sr(Tt),tr(ke,xo+me,ae,Z,ge),cn(),ft(ke),Y}function Ae(me){var pe=me|0;if(pe!==Tt.width){Y.width=Tt.width=pe,Y.height=Tt.height=pe,Sr(Tt);for(var he=0;he<6;++he)for(var ce=0;Tt.mipmask>>ce;++ce)I.texImage2D(xo+he,ce,Tt.format,pe>>ce,pe>>ce,0,Tt.format,Tt.type,null);return cn(),Ee.profile&&(Tt.stats.size=Gi(Tt.internalformat,Tt.type,Y.width,Y.height,!1,!0)),Y}}return Y(X,Se,we,Ct,nr,Pr),Y.subimage=re,Y.resize=Ae,Y._reglType="textureCube",Y._texture=Tt,Ee.profile&&(Y.stats=Tt.stats),Y.destroy=function(){Tt.decRef()},Y}function fr(){for(var X=0;X<fn;++X)I.activeTexture(ja+X),I.bindTexture(fi,null),Qt[X]=null;jn(sn).forEach(Gn),_e.cubeCount=0,_e.textureCount=0}Ee.profile&&(_e.getTotalTextureSize=function(){var X=0;return Object.keys(sn).forEach(function(Se){X+=sn[Se].stats.size}),X});function kr(){for(var X=0;X<fn;++X){var Se=Qt[X];Se&&(Se.bindCount=0,Se.unit=-1,Qt[X]=null)}jn(sn).forEach(function(we){we.texture=I.createTexture(),I.bindTexture(we.target,we.texture);for(var Ct=0;Ct<32;++Ct)if(we.mipmask&1<<Ct)if(we.target===fi)I.texImage2D(fi,Ct,we.internalformat,we.width>>Ct,we.height>>Ct,0,we.internalformat,we.type,null);else for(var nr=0;nr<6;++nr)I.texImage2D(xo+nr,Ct,we.internalformat,we.width>>Ct,we.height>>Ct,0,we.internalformat,we.type,null);Nn(we.texInfo,we.target)})}function hn(){for(var X=0;X<fn;++X){var Se=Qt[X];Se&&(Se.bindCount=0,Se.unit=-1,Qt[X]=null),I.activeTexture(ja+X),I.bindTexture(fi,null),I.bindTexture(bo,null)}}return{create2D:Hn,createCube:Jt,clear:fr,getTexture:function(X){return null},restore:kr,refresh:hn}}var ca=36161,ps=32854,uv=32855,Ec=36194,lv=33189,sv=36168,fv=34041,Ac=35907,cv=34836,hv=34842,dv=34843,hi=[];hi[ps]=2,hi[uv]=2,hi[Ec]=2,hi[lv]=2,hi[sv]=1,hi[fv]=4,hi[Ac]=4,hi[cv]=16,hi[hv]=8,hi[dv]=6;function pv(I,W,ee){return hi[I]*W*ee}var vv=function(I,W,ee,Ce,Pe){var _e={rgba4:ps,rgb565:Ec,"rgb5 a1":uv,depth:lv,stencil:sv,"depth stencil":fv};W.ext_srgb&&(_e.srgba=Ac),W.ext_color_buffer_half_float&&(_e.rgba16f=hv,_e.rgb16f=dv),W.webgl_color_buffer_float&&(_e.rgba32f=cv);var Ee=[];Object.keys(_e).forEach(function(at){var qe=_e[at];Ee[qe]=at});var Ke=0,Qe={};function et(at){this.id=Ke++,this.refCount=1,this.renderbuffer=at,this.format=ps,this.width=0,this.height=0,Pe.profile&&(this.stats={size:0})}et.prototype.decRef=function(){--this.refCount<=0&&ct(this)};function ct(at){var qe=at.renderbuffer;I.bindRenderbuffer(ca,null),I.deleteRenderbuffer(qe),at.renderbuffer=null,at.refCount=0,delete Qe[at.id],Ce.renderbufferCount--}function Pt(at,qe){var de=new et(I.createRenderbuffer());Qe[de.id]=de,Ce.renderbufferCount++;function Me(Ze,$e){var mt=0,ut=0,Ft=ps;if(typeof Ze=="object"&&Ze){var Be=Ze;if("shape"in Be){var Fe=Be.shape;mt=Fe[0]|0,ut=Fe[1]|0}else"radius"in Be&&(mt=ut=Be.radius|0),"width"in Be&&(mt=Be.width|0),"height"in Be&&(ut=Be.height|0);"format"in Be&&(Ft=_e[Be.format])}else typeof Ze=="number"?(mt=Ze|0,typeof $e=="number"?ut=$e|0:ut=mt):Ze||(mt=ut=1);if(!(mt===de.width&&ut===de.height&&Ft===de.format))return Me.width=de.width=mt,Me.height=de.height=ut,de.format=Ft,I.bindRenderbuffer(ca,de.renderbuffer),I.renderbufferStorage(ca,Ft,mt,ut),Pe.profile&&(de.stats.size=pv(de.format,de.width,de.height)),Me.format=Ee[de.format],Me}function Xe(Ze,$e){var mt=Ze|0,ut=$e|0||mt;return mt===de.width&&ut===de.height||(Me.width=de.width=mt,Me.height=de.height=ut,I.bindRenderbuffer(ca,de.renderbuffer),I.renderbufferStorage(ca,de.format,mt,ut),Pe.profile&&(de.stats.size=pv(de.format,de.width,de.height))),Me}return Me(at,qe),Me.resize=Xe,Me._reglType="renderbuffer",Me._renderbuffer=de,Pe.profile&&(Me.stats=de.stats),Me.destroy=function(){de.decRef()},Me}Pe.profile&&(Ce.getTotalRenderbufferSize=function(){var at=0;return Object.keys(Qe).forEach(function(qe){at+=Qe[qe].stats.size}),at});function Et(){jn(Qe).forEach(function(at){at.renderbuffer=I.createRenderbuffer(),I.bindRenderbuffer(ca,at.renderbuffer),I.renderbufferStorage(ca,at.format,at.width,at.height)}),I.bindRenderbuffer(ca,null)}return{create:Pt,clear:function(){jn(Qe).forEach(ct)},restore:Et}},Hi=36160,Cc=36161,Co=3553,To=34069,Oo=36064,di=36096,mv=36128,gv=33306,Vy=36053,Yy=36193,yv=5121,Xy=5126,Ky=6407,Qy=6408,Tc=[];Tc[Qy]=4,Tc[Ky]=3;var vs=[];vs[yv]=1,vs[Xy]=4,vs[Yy]=2;function Oc(I,W,ee,Ce,Pe,_e){var Ee={cur:null,next:null,dirty:!1,setFBO:null},Ke=["rgba"],Qe=["rgba4","rgb565","rgb5 a1"];W.ext_srgb&&Qe.push("srgba"),W.ext_color_buffer_half_float&&Qe.push("rgba16f","rgb16f"),W.webgl_color_buffer_float&&Qe.push("rgba32f"),W.oes_texture_half_float,W.oes_texture_float;function et(Oe,ht,Je){this.target=Oe,this.texture=ht,this.renderbuffer=Je;var Nt=0,tr=0;ht?(Nt=ht.width,tr=ht.height):Je&&(Nt=Je.width,tr=Je.height),this.width=Nt,this.height=tr}function ct(Oe){Oe&&(Oe.texture&&Oe.texture._texture.decRef(),Oe.renderbuffer&&Oe.renderbuffer._renderbuffer.decRef())}function Pt(Oe,ht,Je){if(Oe)if(Oe.texture){var Nt=Oe.texture._texture;Math.max(1,Nt.width),Math.max(1,Nt.height),Nt.refCount+=1}else{var tr=Oe.renderbuffer._renderbuffer;tr.refCount+=1}}function Et(Oe,ht){ht&&(ht.texture?I.framebufferTexture2D(Hi,Oe,ht.target,ht.texture._texture.texture,0):I.framebufferRenderbuffer(Hi,Oe,Cc,ht.renderbuffer._renderbuffer.renderbuffer))}function at(Oe){var ht=Co,Je=null,Nt=null,tr=Oe;typeof Oe=="object"&&(tr=Oe.data,"target"in Oe&&(ht=Oe.target|0));var xt=tr._reglType;return xt==="texture2d"||xt==="textureCube"?Je=tr:xt==="renderbuffer"&&(Nt=tr,ht=Cc),new et(ht,Je,Nt)}function qe(Oe,ht,Je,Nt,tr){if(Je){var xt=Ce.create2D({width:Oe,height:ht,format:Nt,type:tr});return xt._texture.refCount=0,new et(Co,xt,null)}else{var Ut=Pe.create({width:Oe,height:ht,format:Nt});return Ut._renderbuffer.refCount=0,new et(Cc,null,Ut)}}function de(Oe){return Oe&&(Oe.texture||Oe.renderbuffer)}function Me(Oe,ht,Je){Oe&&(Oe.texture?Oe.texture.resize(ht,Je):Oe.renderbuffer&&Oe.renderbuffer.resize(ht,Je),Oe.width=ht,Oe.height=Je)}var Xe=0,Ze={};function $e(){this.id=Xe++,Ze[this.id]=this,this.framebuffer=I.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function mt(Oe){Oe.colorAttachments.forEach(ct),ct(Oe.depthAttachment),ct(Oe.stencilAttachment),ct(Oe.depthStencilAttachment)}function ut(Oe){var ht=Oe.framebuffer;I.deleteFramebuffer(ht),Oe.framebuffer=null,_e.framebufferCount--,delete Ze[Oe.id]}function Ft(Oe){var ht;I.bindFramebuffer(Hi,Oe.framebuffer);var Je=Oe.colorAttachments;for(ht=0;ht<Je.length;++ht)Et(Oo+ht,Je[ht]);for(ht=Je.length;ht<ee.maxColorAttachments;++ht)I.framebufferTexture2D(Hi,Oo+ht,Co,null,0);I.framebufferTexture2D(Hi,gv,Co,null,0),I.framebufferTexture2D(Hi,di,Co,null,0),I.framebufferTexture2D(Hi,mv,Co,null,0),Et(di,Oe.depthAttachment),Et(mv,Oe.stencilAttachment),Et(gv,Oe.depthStencilAttachment);var Nt=I.checkFramebufferStatus(Hi);I.isContextLost(),I.bindFramebuffer(Hi,Ee.next?Ee.next.framebuffer:null),Ee.cur=Ee.next,I.getError()}function Be(Oe,ht){var Je=new $e;_e.framebufferCount++;function Nt(xt,Ut){var ft,rr=0,ur=0,cr=!0,ln=!0,lr=null,Qn=!0,Or="rgba",Cn="uint8",Zn=1,Nn=null,Vi=null,sn=null,fn=!1;if(typeof xt=="number")rr=xt|0,ur=Ut|0||rr;else if(!xt)rr=ur=1;else{var Qt=xt;if("shape"in Qt){var vi=Qt.shape;rr=vi[0],ur=vi[1]}else"radius"in Qt&&(rr=ur=Qt.radius),"width"in Qt&&(rr=Qt.width),"height"in Qt&&(ur=Qt.height);("color"in Qt||"colors"in Qt)&&(lr=Qt.color||Qt.colors),lr||("colorCount"in Qt&&(Zn=Qt.colorCount|0),"colorTexture"in Qt&&(Qn=!!Qt.colorTexture,Or="rgba4"),"colorType"in Qt&&(Cn=Qt.colorType,Qn||(Cn==="half float"||Cn==="float16"?Or="rgba16f":(Cn==="float"||Cn==="float32")&&(Or="rgba32f"))),"colorFormat"in Qt&&(Or=Qt.colorFormat,Ke.indexOf(Or)>=0?Qn=!0:Qe.indexOf(Or)>=0&&(Qn=!1))),("depthTexture"in Qt||"depthStencilTexture"in Qt)&&(fn=!!(Qt.depthTexture||Qt.depthStencilTexture)),"depth"in Qt&&(typeof Qt.depth=="boolean"?cr=Qt.depth:(Nn=Qt.depth,ln=!1)),"stencil"in Qt&&(typeof Qt.stencil=="boolean"?ln=Qt.stencil:(Vi=Qt.stencil,cr=!1)),"depthStencil"in Qt&&(typeof Qt.depthStencil=="boolean"?cr=ln=Qt.depthStencil:(sn=Qt.depthStencil,cr=!1,ln=!1))}var Sr=null,cn=null,Gn=null,Hn=null;if(Array.isArray(lr))Sr=lr.map(at);else if(lr)Sr=[at(lr)];else for(Sr=new Array(Zn),ft=0;ft<Zn;++ft)Sr[ft]=qe(rr,ur,Qn,Or,Cn);for(rr=rr||Sr[0].width,ur=ur||Sr[0].height,Nn?cn=at(Nn):cr&&!ln&&(cn=qe(rr,ur,fn,"depth","uint32")),Vi?Gn=at(Vi):ln&&!cr&&(Gn=qe(rr,ur,!1,"stencil","uint8")),sn?Hn=at(sn):!Nn&&!Vi&&ln&&cr&&(Hn=qe(rr,ur,fn,"depth stencil","depth stencil")),ft=0;ft<Sr.length;++ft)Pt(Sr[ft]),Sr[ft]&&Sr[ft].texture&&Tc[Sr[ft].texture._texture.format]*vs[Sr[ft].texture._texture.type];return Pt(cn),Pt(Gn),Pt(Hn),mt(Je),Je.width=rr,Je.height=ur,Je.colorAttachments=Sr,Je.depthAttachment=cn,Je.stencilAttachment=Gn,Je.depthStencilAttachment=Hn,Nt.color=Sr.map(de),Nt.depth=de(cn),Nt.stencil=de(Gn),Nt.depthStencil=de(Hn),Nt.width=Je.width,Nt.height=Je.height,Ft(Je),Nt}function tr(xt,Ut){var ft=Math.max(xt|0,1),rr=Math.max(Ut|0||ft,1);if(ft===Je.width&&rr===Je.height)return Nt;for(var ur=Je.colorAttachments,cr=0;cr<ur.length;++cr)Me(ur[cr],ft,rr);return Me(Je.depthAttachment,ft,rr),Me(Je.stencilAttachment,ft,rr),Me(Je.depthStencilAttachment,ft,rr),Je.width=Nt.width=ft,Je.height=Nt.height=rr,Ft(Je),Nt}return Nt(Oe,ht),r(Nt,{resize:tr,_reglType:"framebuffer",_framebuffer:Je,destroy:function(){ut(Je),mt(Je)},use:function(xt){Ee.setFBO({framebuffer:Nt},xt)}})}function Fe(Oe){var ht=Array(6);function Je(tr){var xt,Ut={color:null},ft=0,rr=null,ur="rgba",cr="uint8",ln=1;if(typeof tr=="number")ft=tr|0;else if(!tr)ft=1;else{var lr=tr;if("shape"in lr){var Qn=lr.shape;ft=Qn[0]}else"radius"in lr&&(ft=lr.radius|0),"width"in lr?ft=lr.width|0:"height"in lr&&(ft=lr.height|0);("color"in lr||"colors"in lr)&&(rr=lr.color||lr.colors),rr||("colorCount"in lr&&(ln=lr.colorCount|0),"colorType"in lr&&(cr=lr.colorType),"colorFormat"in lr&&(ur=lr.colorFormat)),"depth"in lr&&(Ut.depth=lr.depth),"stencil"in lr&&(Ut.stencil=lr.stencil),"depthStencil"in lr&&(Ut.depthStencil=lr.depthStencil)}var Or;if(rr)if(Array.isArray(rr))for(Or=[],xt=0;xt<rr.length;++xt)Or[xt]=rr[xt];else Or=[rr];else{Or=Array(ln);var Cn={radius:ft,format:ur,type:cr};for(xt=0;xt<ln;++xt)Or[xt]=Ce.createCube(Cn)}for(Ut.color=Array(Or.length),xt=0;xt<Or.length;++xt){var Zn=Or[xt];ft=ft||Zn.width,Ut.color[xt]={target:To,data:Or[xt]}}for(xt=0;xt<6;++xt){for(var Nn=0;Nn<Or.length;++Nn)Ut.color[Nn].target=To+xt;xt>0&&(Ut.depth=ht[0].depth,Ut.stencil=ht[0].stencil,Ut.depthStencil=ht[0].depthStencil),ht[xt]?ht[xt](Ut):ht[xt]=Be(Ut)}return r(Je,{width:ft,height:ft,color:Or})}function Nt(tr){var xt,Ut=tr|0;if(Ut===Je.width)return Je;var ft=Je.color;for(xt=0;xt<ft.length;++xt)ft[xt].resize(Ut);for(xt=0;xt<6;++xt)ht[xt].resize(Ut);return Je.width=Je.height=Ut,Je}return Je(Oe),r(Je,{faces:ht,resize:Nt,_reglType:"framebufferCube",destroy:function(){ht.forEach(function(tr){tr.destroy()})}})}function yt(){Ee.cur=null,Ee.next=null,Ee.dirty=!0,jn(Ze).forEach(function(Oe){Oe.framebuffer=I.createFramebuffer(),Ft(Oe)})}return r(Ee,{getFramebuffer:function(Oe){if(typeof Oe=="function"&&Oe._reglType==="framebuffer"){var ht=Oe._framebuffer;if(ht instanceof $e)return ht}return null},create:Be,createCube:Fe,clear:function(){jn(Ze).forEach(ut)},restore:yt})}var Mc=5126,bv=34962,ms=34963;function kc(){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=Mc,this.offset=0,this.stride=0,this.divisor=0}function Zy(I,W,ee,Ce,Pe,_e,Ee){for(var Ke=ee.maxAttributes,Qe=new Array(Ke),et=0;et<Ke;++et)Qe[et]=new kc;var ct=0,Pt={},Et={Record:kc,scope:{},state:Qe,currentVAO:null,targetVAO:null,restore:qe()?ut:function(){},createVAO:Ft,getVAO:Me,destroyBuffer:at,setVAO:qe()?Xe:Ze,clear:qe()?$e:function(){}};function at(Be){for(var Fe=0;Fe<Qe.length;++Fe){var yt=Qe[Fe];yt.buffer===Be&&(I.disableVertexAttribArray(Fe),yt.buffer=null)}}function qe(){return W.oes_vertex_array_object}function de(){return W.angle_instanced_arrays}function Me(Be){return typeof Be=="function"&&Be._vao?Be._vao:null}function Xe(Be){if(Be!==Et.currentVAO){var Fe=qe();Be?Fe.bindVertexArrayOES(Be.vao):Fe.bindVertexArrayOES(null),Et.currentVAO=Be}}function Ze(Be){if(Be!==Et.currentVAO){if(Be)Be.bindAttrs();else{for(var Fe=de(),yt=0;yt<Qe.length;++yt){var Oe=Qe[yt];Oe.buffer?(I.enableVertexAttribArray(yt),Oe.buffer.bind(),I.vertexAttribPointer(yt,Oe.size,Oe.type,Oe.normalized,Oe.stride,Oe.offfset),Fe&&Oe.divisor&&Fe.vertexAttribDivisorANGLE(yt,Oe.divisor)):(I.disableVertexAttribArray(yt),I.vertexAttrib4f(yt,Oe.x,Oe.y,Oe.z,Oe.w))}Ee.elements?I.bindBuffer(ms,Ee.elements.buffer.buffer):I.bindBuffer(ms,null)}Et.currentVAO=Be}}function $e(){jn(Pt).forEach(function(Be){Be.destroy()})}function mt(){this.id=++ct,this.attributes=[],this.elements=null,this.ownsElements=!1,this.count=0,this.offset=0,this.instances=-1,this.primitive=4;var Be=qe();Be?this.vao=Be.createVertexArrayOES():this.vao=null,Pt[this.id]=this,this.buffers=[]}mt.prototype.bindAttrs=function(){for(var Be=de(),Fe=this.attributes,yt=0;yt<Fe.length;++yt){var Oe=Fe[yt];Oe.buffer?(I.enableVertexAttribArray(yt),I.bindBuffer(bv,Oe.buffer.buffer),I.vertexAttribPointer(yt,Oe.size,Oe.type,Oe.normalized,Oe.stride,Oe.offset),Be&&Oe.divisor&&Be.vertexAttribDivisorANGLE(yt,Oe.divisor)):(I.disableVertexAttribArray(yt),I.vertexAttrib4f(yt,Oe.x,Oe.y,Oe.z,Oe.w))}for(var ht=Fe.length;ht<Ke;++ht)I.disableVertexAttribArray(ht);var Je=_e.getElements(this.elements);Je?I.bindBuffer(ms,Je.buffer.buffer):I.bindBuffer(ms,null)},mt.prototype.refresh=function(){var Be=qe();Be&&(Be.bindVertexArrayOES(this.vao),this.bindAttrs(),Et.currentVAO=null,Be.bindVertexArrayOES(null))},mt.prototype.destroy=function(){if(this.vao){var Be=qe();this===Et.currentVAO&&(Et.currentVAO=null,Be.bindVertexArrayOES(null)),Be.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),Pt[this.id]&&(delete Pt[this.id],Ce.vaoCount-=1)};function ut(){var Be=qe();Be&&jn(Pt).forEach(function(Fe){Fe.refresh()})}function Ft(Be){var Fe=new mt;Ce.vaoCount+=1;function yt(Oe){var ht;if(Array.isArray(Oe))ht=Oe,Fe.elements&&Fe.ownsElements&&Fe.elements.destroy(),Fe.elements=null,Fe.ownsElements=!1,Fe.offset=0,Fe.count=0,Fe.instances=-1,Fe.primitive=4;else{if(Oe.elements){var Je=Oe.elements;Fe.ownsElements?typeof Je=="function"&&Je._reglType==="elements"?(Fe.elements.destroy(),Fe.ownsElements=!1):(Fe.elements(Je),Fe.ownsElements=!1):_e.getElements(Oe.elements)?(Fe.elements=Oe.elements,Fe.ownsElements=!1):(Fe.elements=_e.create(Oe.elements),Fe.ownsElements=!0)}else Fe.elements=null,Fe.ownsElements=!1;ht=Oe.attributes,Fe.offset=0,Fe.count=-1,Fe.instances=-1,Fe.primitive=4,Fe.elements&&(Fe.count=Fe.elements._elements.vertCount,Fe.primitive=Fe.elements._elements.primType),"offset"in Oe&&(Fe.offset=Oe.offset|0),"count"in Oe&&(Fe.count=Oe.count|0),"instances"in Oe&&(Fe.instances=Oe.instances|0),"primitive"in Oe&&(Fe.primitive=an[Oe.primitive])}var Nt={},tr=Fe.attributes;tr.length=ht.length;for(var xt=0;xt<ht.length;++xt){var Ut=ht[xt],ft=tr[xt]=new kc,rr=Ut.data||Ut;if(Array.isArray(rr)||nn(rr)||ui(rr)){var ur;Fe.buffers[xt]&&(ur=Fe.buffers[xt],nn(rr)&&ur._buffer.byteLength>=rr.byteLength?ur.subdata(rr):(ur.destroy(),Fe.buffers[xt]=null)),Fe.buffers[xt]||(ur=Fe.buffers[xt]=Pe.create(Ut,bv,!1,!0)),ft.buffer=Pe.getBuffer(ur),ft.size=ft.buffer.dimension|0,ft.normalized=!1,ft.type=ft.buffer.dtype,ft.offset=0,ft.stride=0,ft.divisor=0,ft.state=1,Nt[xt]=1}else Pe.getBuffer(Ut)?(ft.buffer=Pe.getBuffer(Ut),ft.size=ft.buffer.dimension|0,ft.normalized=!1,ft.type=ft.buffer.dtype,ft.offset=0,ft.stride=0,ft.divisor=0,ft.state=1):Pe.getBuffer(Ut.buffer)?(ft.buffer=Pe.getBuffer(Ut.buffer),ft.size=(+Ut.size||ft.buffer.dimension)|0,ft.normalized=!!Ut.normalized||!1,"type"in Ut?ft.type=Ou[Ut.type]:ft.type=ft.buffer.dtype,ft.offset=(Ut.offset||0)|0,ft.stride=(Ut.stride||0)|0,ft.divisor=(Ut.divisor||0)|0,ft.state=1):"x"in Ut&&(ft.x=+Ut.x||0,ft.y=+Ut.y||0,ft.z=+Ut.z||0,ft.w=+Ut.w||0,ft.state=2)}for(var cr=0;cr<Fe.buffers.length;++cr)!Nt[cr]&&Fe.buffers[cr]&&(Fe.buffers[cr].destroy(),Fe.buffers[cr]=null);return Fe.refresh(),yt}return yt.destroy=function(){for(var Oe=0;Oe<Fe.buffers.length;++Oe)Fe.buffers[Oe]&&Fe.buffers[Oe].destroy();Fe.buffers.length=0,Fe.ownsElements&&(Fe.elements.destroy(),Fe.elements=null,Fe.ownsElements=!1),Fe.destroy()},yt._vao=Fe,yt._reglType="vao",yt(Be)}return Et}var Rc=35632,Jy=35633,e1=35718,Ic=35721;function xv(I,W,ee,Ce){var Pe={},_e={};function Ee(de,Me,Xe,Ze){this.name=de,this.id=Me,this.location=Xe,this.info=Ze}function Ke(de,Me){for(var Xe=0;Xe<de.length;++Xe)if(de[Xe].id===Me.id){de[Xe].location=Me.location;return}de.push(Me)}function Qe(de,Me,Xe){var Ze=de===Rc?Pe:_e,$e=Ze[Me];if(!$e){var mt=W.str(Me);$e=I.createShader(de),I.shaderSource($e,mt),I.compileShader($e),Ze[Me]=$e}return $e}var et={},ct=[],Pt=0;function Et(de,Me){this.id=Pt++,this.fragId=de,this.vertId=Me,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Ce.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function at(de,Me,Xe){var Ze,$e,mt=Qe(Rc,de.fragId),ut=Qe(Jy,de.vertId),Ft=de.program=I.createProgram();if(I.attachShader(Ft,mt),I.attachShader(Ft,ut),Xe)for(Ze=0;Ze<Xe.length;++Ze){var Be=Xe[Ze];I.bindAttribLocation(Ft,Be[0],Be[1])}I.linkProgram(Ft);var Fe=I.getProgramParameter(Ft,e1);Ce.profile&&(de.stats.uniformsCount=Fe);var yt=de.uniforms;for(Ze=0;Ze<Fe;++Ze)if($e=I.getActiveUniform(Ft,Ze),$e)if($e.size>1)for(var Oe=0;Oe<$e.size;++Oe){var ht=$e.name.replace("[0]","["+Oe+"]");Ke(yt,new Ee(ht,W.id(ht),I.getUniformLocation(Ft,ht),$e))}else Ke(yt,new Ee($e.name,W.id($e.name),I.getUniformLocation(Ft,$e.name),$e));var Je=I.getProgramParameter(Ft,Ic);Ce.profile&&(de.stats.attributesCount=Je);var Nt=de.attributes;for(Ze=0;Ze<Je;++Ze)$e=I.getActiveAttrib(Ft,Ze),$e&&Ke(Nt,new Ee($e.name,W.id($e.name),I.getAttribLocation(Ft,$e.name),$e))}Ce.profile&&(ee.getMaxUniformsCount=function(){var de=0;return ct.forEach(function(Me){Me.stats.uniformsCount>de&&(de=Me.stats.uniformsCount)}),de},ee.getMaxAttributesCount=function(){var de=0;return ct.forEach(function(Me){Me.stats.attributesCount>de&&(de=Me.stats.attributesCount)}),de});function qe(){Pe={},_e={};for(var de=0;de<ct.length;++de)at(ct[de],null,ct[de].attributes.map(function(Me){return[Me.location,Me.name]}))}return{clear:function(){var de=I.deleteShader.bind(I);jn(Pe).forEach(de),Pe={},jn(_e).forEach(de),_e={},ct.forEach(function(Me){I.deleteProgram(Me.program)}),ct.length=0,et={},ee.shaderCount=0},program:function(de,Me,Xe,Ze){var $e=et[Me];$e||($e=et[Me]={});var mt=$e[de];if(mt&&(mt.refCount++,!Ze))return mt;var ut=new Et(Me,de);return ee.shaderCount++,at(ut,Xe,Ze),mt||($e[de]=ut),ct.push(ut),r(ut,{destroy:function(){if(ut.refCount--,ut.refCount<=0){I.deleteProgram(ut.program);var Ft=ct.indexOf(ut);ct.splice(Ft,1),ee.shaderCount--}$e[ut.vertId].refCount<=0&&(I.deleteShader(_e[ut.vertId]),delete _e[ut.vertId],delete et[ut.fragId][ut.vertId]),Object.keys(et[ut.fragId]).length||(I.deleteShader(Pe[ut.fragId]),delete Pe[ut.fragId],delete et[ut.fragId])}})},restore:qe,shader:Qe,frag:-1,vert:-1}}var wv=6408,Pc=5121,t1=3333,r1=5126;function _v(I,W,ee,Ce,Pe,_e,Ee){function Ke(ct){var Pt;W.next===null?Pt=Pc:Pt=W.next.colorAttachments[0].texture._texture.type;var Et=0,at=0,qe=Ce.framebufferWidth,de=Ce.framebufferHeight,Me=null;nn(ct)?Me=ct:ct&&(Et=ct.x|0,at=ct.y|0,qe=(ct.width||Ce.framebufferWidth-Et)|0,de=(ct.height||Ce.framebufferHeight-at)|0,Me=ct.data||null),ee();var Xe=qe*de*4;return Me||(Pt===Pc?Me=new Uint8Array(Xe):Pt===r1&&(Me=Me||new Float32Array(Xe))),I.pixelStorei(t1,4),I.readPixels(Et,at,qe,de,wv,Pt,Me),Me}function Qe(ct){var Pt;return W.setFBO({framebuffer:ct.framebuffer},function(){Pt=Ke(ct)}),Pt}function et(ct){return!ct||!("framebuffer"in ct)?Ke(ct):Qe(ct)}return et}function Sv(I){return Fc(Ev(Nc(I)))}function Ev(I){return i1(o1(n1(I),I.length*8))}function Fc(I){for(var W="0123456789abcdef",ee="",Ce,Pe=0;Pe<I.length;Pe++)Ce=I.charCodeAt(Pe),ee+=W.charAt(Ce>>>4&15)+W.charAt(Ce&15);return ee}function Nc(I){for(var W="",ee=-1,Ce,Pe;++ee<I.length;)Ce=I.charCodeAt(ee),Pe=ee+1<I.length?I.charCodeAt(ee+1):0,55296<=Ce&&Ce<=56319&&56320<=Pe&&Pe<=57343&&(Ce=65536+((Ce&1023)<<10)+(Pe&1023),ee++),Ce<=127?W+=String.fromCharCode(Ce):Ce<=2047?W+=String.fromCharCode(192|Ce>>>6&31,128|Ce&63):Ce<=65535?W+=String.fromCharCode(224|Ce>>>12&15,128|Ce>>>6&63,128|Ce&63):Ce<=2097151&&(W+=String.fromCharCode(240|Ce>>>18&7,128|Ce>>>12&63,128|Ce>>>6&63,128|Ce&63));return W}function n1(I){for(var W=Array(I.length>>2),ee=0;ee<W.length;ee++)W[ee]=0;for(var ee=0;ee<I.length*8;ee+=8)W[ee>>5]|=(I.charCodeAt(ee/8)&255)<<24-ee%32;return W}function i1(I){for(var W="",ee=0;ee<I.length*32;ee+=8)W+=String.fromCharCode(I[ee>>5]>>>24-ee%32&255);return W}function Ai(I,W){return I>>>W|I<<32-W}function Av(I,W){return I>>>W}function a1(I,W,ee){return I&W^~I&ee}function Cv(I,W,ee){return I&W^I&ee^W&ee}function Tv(I){return Ai(I,2)^Ai(I,13)^Ai(I,22)}function Lc(I){return Ai(I,6)^Ai(I,11)^Ai(I,25)}function Ov(I){return Ai(I,7)^Ai(I,18)^Av(I,3)}function gs(I){return Ai(I,17)^Ai(I,19)^Av(I,10)}var ys=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 o1(I,W){var ee=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),Ce=new Array(64),Pe,_e,Ee,Ke,Qe,et,ct,Pt,Et,at,qe,de;for(I[W>>5]|=128<<24-W%32,I[(W+64>>9<<4)+15]=W,Et=0;Et<I.length;Et+=16){for(Pe=ee[0],_e=ee[1],Ee=ee[2],Ke=ee[3],Qe=ee[4],et=ee[5],ct=ee[6],Pt=ee[7],at=0;at<64;at++)at<16?Ce[at]=I[at+Et]:Ce[at]=Wr(Wr(Wr(gs(Ce[at-2]),Ce[at-7]),Ov(Ce[at-15])),Ce[at-16]),qe=Wr(Wr(Wr(Wr(Pt,Lc(Qe)),a1(Qe,et,ct)),ys[at]),Ce[at]),de=Wr(Tv(Pe),Cv(Pe,_e,Ee)),Pt=ct,ct=et,et=Qe,Qe=Wr(Ke,qe),Ke=Ee,Ee=_e,_e=Pe,Pe=Wr(qe,de);ee[0]=Wr(Pe,ee[0]),ee[1]=Wr(_e,ee[1]),ee[2]=Wr(Ee,ee[2]),ee[3]=Wr(Ke,ee[3]),ee[4]=Wr(Qe,ee[4]),ee[5]=Wr(et,ee[5]),ee[6]=Wr(ct,ee[6]),ee[7]=Wr(Pt,ee[7])}return ee}function Wr(I,W){var ee=(I&65535)+(W&65535),Ce=(I>>16)+(W>>16)+(ee>>16);return Ce<<16|ee&65535}function Wa(I){return Array.prototype.slice.call(I)}function Mo(I){return Wa(I).join("")}function u1(I){var W=I&&I.cache,ee=0,Ce=[],Pe=[],_e=[];function Ee(qe,de){var Me=de&&de.stable;if(!Me){for(var Xe=0;Xe<Pe.length;++Xe)if(Pe[Xe]===qe&&!_e[Xe])return Ce[Xe]}var Ze="g"+ee++;return Ce.push(Ze),Pe.push(qe),_e.push(Me),Ze}function Ke(){var qe=[];function de(){qe.push.apply(qe,Wa(arguments))}var Me=[];function Xe(){var Ze="v"+ee++;return Me.push(Ze),arguments.length>0&&(qe.push(Ze,"="),qe.push.apply(qe,Wa(arguments)),qe.push(";")),Ze}return r(de,{def:Xe,toString:function(){return Mo([Me.length>0?"var "+Me.join(",")+";":"",Mo(qe)])}})}function Qe(){var qe=Ke(),de=Ke(),Me=qe.toString,Xe=de.toString;function Ze($e,mt){de($e,mt,"=",qe.def($e,mt),";")}return r(function(){qe.apply(qe,Wa(arguments))},{def:qe.def,entry:qe,exit:de,save:Ze,set:function($e,mt,ut){Ze($e,mt),qe($e,mt,"=",ut,";")},toString:function(){return Me()+Xe()}})}function et(){var qe=Mo(arguments),de=Qe(),Me=Qe(),Xe=de.toString,Ze=Me.toString;return r(de,{then:function(){return de.apply(de,Wa(arguments)),this},else:function(){return Me.apply(Me,Wa(arguments)),this},toString:function(){var $e=Ze();return $e&&($e="else{"+$e+"}"),Mo(["if(",qe,"){",Xe(),"}",$e])}})}var ct=Ke(),Pt={};function Et(qe,de){var Me=[];function Xe(){var Ft="a"+Me.length;return Me.push(Ft),Ft}de=de||0;for(var Ze=0;Ze<de;++Ze)Xe();var $e=Qe(),mt=$e.toString,ut=Pt[qe]=r($e,{arg:Xe,toString:function(){return Mo(["function(",Me.join(),"){",mt(),"}"])}});return ut}function at(){var qe=['"use strict";',ct,"return {"];Object.keys(Pt).forEach(function(Ze){qe.push('"',Ze,'":',Pt[Ze].toString(),",")}),qe.push("}");var de=Mo(qe).replace(/;/g,`;
|
|
1097
|
+
`).replace(/}/g,`}
|
|
1098
|
+
`).replace(/{/g,`{
|
|
1099
|
+
`),Me;if(W&&(Me=Sv(de),W[Me]))return W[Me].apply(null,Pe);var Xe=Function.apply(null,Ce.concat(de));return W&&(W[Me]=Xe),Xe.apply(null,Pe)}return{global:ct,link:Ee,block:Ke,proc:Et,scope:Qe,cond:et,compile:at}}var qa="xyzw".split(""),$c=5121,Va=1,zu=2,Uu=0,bs=1,Dc=2,xs=3,Ya=4,Bc=5,Mv=6,kv="dither",Rv="blend.enable",Iv="blend.color",ws="blend.equation",_s="blend.func",zc="depth.enable",Uc="depth.func",Pv="depth.range",ju="depth.mask",jc="colorMask",Fv="cull.enable",Gc="cull.face",Ss="frontFace",Hc="lineWidth",Gu="polygonOffset.enable",ko="polygonOffset.offset",Wc="sample.alpha",qc="sample.enable",Hu="sample.coverage",Kn="stencil.enable",Vc="stencil.mask",Yc="stencil.func",Wu="stencil.opFront",Xa="stencil.opBack",Nv="scissor.enable",Es="scissor.box",Wi="viewport",Ka="profile",ha="framebuffer",qu="vert",As="frag",Ro="elements",Io="primitive",on="count",Cs="offset",Ts="instances",pi="vao",Vu="Width",Yu="Height",Po=ha+Vu,Fo=ha+Yu,l1=Wi+Vu,Lv=Wi+Yu,Xc="drawingBuffer",Kc=Xc+Vu,Qc=Xc+Yu,s1=[_s,ws,Yc,Wu,Xa,Hu,Wi,Es,ko],Qa=34962,Zc=34963,f1=2884,c1=3042,$v=3024,Dv=2960,Os=2929,Bv=3089,Ms=32823,zv=32926,Xu=32928,zr=5126,ks=35664,qi=35665,No=35666,Rs=5124,Jc=35667,Ku=35668,Lo=35669,eh=35670,th=35671,rh=35672,nh=35673,ih=35674,Qu=35675,ah=35676,oh=35678,l=35680,f=4,h=1028,p=1029,m=2304,b=2305,O=32775,S=32776,k=519,F=7680,L=0,D=1,B=32774,oe=513,le=36160,G=36064,Q={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},te={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},se={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},fe={cw:m,ccw:b};function ie(I){return Array.isArray(I)||nn(I)||ui(I)}function Ne(I){return I.sort(function(W,ee){return W===Wi?-1:ee===Wi?1:W<ee?-1:1})}function je(I,W,ee,Ce){this.thisDep=I,this.contextDep=W,this.propDep=ee,this.append=Ce}function rt(I){return I&&!(I.thisDep||I.contextDep||I.propDep)}function He(I){return new je(!1,!1,!1,I)}function ot(I,W){var ee=I.type;if(ee===Uu){var Ce=I.data.length;return new je(!0,Ce>=1,Ce>=2,W)}else if(ee===Ya){var Pe=I.data;return new je(Pe.thisDep,Pe.contextDep,Pe.propDep,W)}else{if(ee===Bc)return new je(!1,!1,!1,W);if(ee===Mv){for(var _e=!1,Ee=!1,Ke=!1,Qe=0;Qe<I.data.length;++Qe){var et=I.data[Qe];if(et.type===bs)Ke=!0;else if(et.type===Dc)Ee=!0;else if(et.type===xs)_e=!0;else if(et.type===Uu){_e=!0;var ct=et.data;ct>=1&&(Ee=!0),ct>=2&&(Ke=!0)}else et.type===Ya&&(_e=_e||et.data.thisDep,Ee=Ee||et.data.contextDep,Ke=Ke||et.data.propDep)}return new je(_e,Ee,Ke,W)}else return new je(ee===xs,ee===Dc,ee===bs,W)}}var gt=new je(!1,!1,!1,function(){});function Wt(I,W,ee,Ce,Pe,_e,Ee,Ke,Qe,et,ct,Pt,Et,at,qe,de){var Me=et.Record,Xe={add:32774,subtract:32778,"reverse subtract":32779};ee.ext_blend_minmax&&(Xe.min=O,Xe.max=S);var Ze=ee.angle_instanced_arrays,$e=ee.webgl_draw_buffers,mt=ee.oes_vertex_array_object,ut={dirty:!0,profile:de.profile},Ft={},Be=[],Fe={},yt={};function Oe(z){return z.replace(".","_")}function ht(z,Y,re){var Ae=Oe(z);Be.push(z),Ft[Ae]=ut[Ae]=!!re,Fe[Ae]=Y}function Je(z,Y,re){var Ae=Oe(z);Be.push(z),Array.isArray(re)?(ut[Ae]=re.slice(),Ft[Ae]=re.slice()):ut[Ae]=Ft[Ae]=re,yt[Ae]=Y}function Nt(z){return!!isNaN(z)}ht(kv,$v),ht(Rv,c1),Je(Iv,"blendColor",[0,0,0,0]),Je(ws,"blendEquationSeparate",[B,B]),Je(_s,"blendFuncSeparate",[D,L,D,L]),ht(zc,Os,!0),Je(Uc,"depthFunc",oe),Je(Pv,"depthRange",[0,1]),Je(ju,"depthMask",!0),Je(jc,jc,[!0,!0,!0,!0]),ht(Fv,f1),Je(Gc,"cullFace",p),Je(Ss,Ss,b),Je(Hc,Hc,1),ht(Gu,Ms),Je(ko,"polygonOffset",[0,0]),ht(Wc,zv),ht(qc,Xu),Je(Hu,"sampleCoverage",[1,!1]),ht(Kn,Dv),Je(Vc,"stencilMask",-1),Je(Yc,"stencilFunc",[k,0,-1]),Je(Wu,"stencilOpSeparate",[h,F,F,F]),Je(Xa,"stencilOpSeparate",[p,F,F,F]),ht(Nv,Bv),Je(Es,"scissor",[0,0,I.drawingBufferWidth,I.drawingBufferHeight]),Je(Wi,Wi,[0,0,I.drawingBufferWidth,I.drawingBufferHeight]);var tr={gl:I,context:Et,strings:W,next:Ft,current:ut,draw:Pt,elements:_e,buffer:Pe,shader:ct,attributes:et.state,vao:et,uniforms:Qe,framebuffer:Ke,extensions:ee,timer:at,isBufferArgs:ie},xt={primTypes:an,compareFuncs:te,blendFuncs:Q,blendEquations:Xe,stencilOps:se,glTypes:Ou,orientationType:fe};$e&&(xt.backBuffer=[p],xt.drawBuffer=Te(Ce.maxDrawbuffers,function(z){return z===0?[0]:Te(z,function(Y){return G+Y})}));var Ut=0;function ft(){var z=u1({cache:qe}),Y=z.link,re=z.global;z.id=Ut++,z.batchId="0";var Ae=Y(tr),me=z.shared={props:"a0"};Object.keys(tr).forEach(function(ae){me[ae]=re.def(Ae,".",ae)});var pe=z.next={},he=z.current={};Object.keys(yt).forEach(function(ae){Array.isArray(ut[ae])&&(pe[ae]=re.def(me.next,".",ae),he[ae]=re.def(me.current,".",ae))});var ce=z.constants={};Object.keys(xt).forEach(function(ae){ce[ae]=re.def(JSON.stringify(xt[ae]))}),z.invoke=function(ae,Z){switch(Z.type){case Uu:var ge=["this",me.context,me.props,z.batchId];return ae.def(Y(Z.data),".call(",ge.slice(0,Math.max(Z.data.length+1,4)),")");case bs:return ae.def(me.props,Z.data);case Dc:return ae.def(me.context,Z.data);case xs:return ae.def("this",Z.data);case Ya:return Z.data.append(z,ae),Z.data.ref;case Bc:return Z.data.toString();case Mv:return Z.data.map(function(ke){return z.invoke(ae,ke)})}},z.attribCache={};var J={};return z.scopeAttrib=function(ae){var Z=W.id(ae);if(Z in J)return J[Z];var ge=et.scope[Z];ge||(ge=et.scope[Z]=new Me);var ke=J[Z]=Y(ge);return ke},z}function rr(z){var Y=z.static,re=z.dynamic,Ae;if(Ka in Y){var me=!!Y[Ka];Ae=He(function(he,ce){return me}),Ae.enable=me}else if(Ka in re){var pe=re[Ka];Ae=ot(pe,function(he,ce){return he.invoke(ce,pe)})}return Ae}function ur(z,Y){var re=z.static,Ae=z.dynamic;if(ha in re){var me=re[ha];return me?(me=Ke.getFramebuffer(me),He(function(he,ce){var J=he.link(me),ae=he.shared;ce.set(ae.framebuffer,".next",J);var Z=ae.context;return ce.set(Z,"."+Po,J+".width"),ce.set(Z,"."+Fo,J+".height"),J})):He(function(he,ce){var J=he.shared;ce.set(J.framebuffer,".next","null");var ae=J.context;return ce.set(ae,"."+Po,ae+"."+Kc),ce.set(ae,"."+Fo,ae+"."+Qc),"null"})}else if(ha in Ae){var pe=Ae[ha];return ot(pe,function(he,ce){var J=he.invoke(ce,pe),ae=he.shared,Z=ae.framebuffer,ge=ce.def(Z,".getFramebuffer(",J,")");ce.set(Z,".next",ge);var ke=ae.context;return ce.set(ke,"."+Po,ge+"?"+ge+".width:"+ke+"."+Kc),ce.set(ke,"."+Fo,ge+"?"+ge+".height:"+ke+"."+Qc),ge})}else return null}function cr(z,Y,re){var Ae=z.static,me=z.dynamic;function pe(J){if(J in Ae){var ae=Ae[J],Z=!0,ge=ae.x|0,ke=ae.y|0,ze,Dt;return"width"in ae?ze=ae.width|0:Z=!1,"height"in ae?Dt=ae.height|0:Z=!1,new je(!Z&&Y&&Y.thisDep,!Z&&Y&&Y.contextDep,!Z&&Y&&Y.propDep,function(Lt,At){var Bt=Lt.shared.context,_t=ze;"width"in ae||(_t=At.def(Bt,".",Po,"-",ge));var Ot=Dt;return"height"in ae||(Ot=At.def(Bt,".",Fo,"-",ke)),[ge,ke,_t,Ot]})}else if(J in me){var It=me[J],bt=ot(It,function(Lt,At){var Bt=Lt.invoke(At,It),_t=Lt.shared.context,Ot=At.def(Bt,".x|0"),kt=At.def(Bt,".y|0"),Yt=At.def('"width" in ',Bt,"?",Bt,".width|0:","(",_t,".",Po,"-",Ot,")"),Fr=At.def('"height" in ',Bt,"?",Bt,".height|0:","(",_t,".",Fo,"-",kt,")");return[Ot,kt,Yt,Fr]});return Y&&(bt.thisDep=bt.thisDep||Y.thisDep,bt.contextDep=bt.contextDep||Y.contextDep,bt.propDep=bt.propDep||Y.propDep),bt}else return Y?new je(Y.thisDep,Y.contextDep,Y.propDep,function(Lt,At){var Bt=Lt.shared.context;return[0,0,At.def(Bt,".",Po),At.def(Bt,".",Fo)]}):null}var he=pe(Wi);if(he){var ce=he;he=new je(he.thisDep,he.contextDep,he.propDep,function(J,ae){var Z=ce.append(J,ae),ge=J.shared.context;return ae.set(ge,"."+l1,Z[2]),ae.set(ge,"."+Lv,Z[3]),Z})}return{viewport:he,scissor_box:pe(Es)}}function ln(z,Y){var re=z.static,Ae=typeof re[As]=="string"&&typeof re[qu]=="string";if(Ae){if(Object.keys(Y.dynamic).length>0)return null;var me=Y.static,pe=Object.keys(me);if(pe.length>0&&typeof me[pe[0]]=="number"){for(var he=[],ce=0;ce<pe.length;++ce)he.push([me[pe[ce]]|0,pe[ce]]);return he}}return null}function lr(z,Y,re){var Ae=z.static,me=z.dynamic;function pe(Z){if(Z in Ae){var ge=W.id(Ae[Z]),ke=He(function(){return ge});return ke.id=ge,ke}else if(Z in me){var ze=me[Z];return ot(ze,function(Dt,It){var bt=Dt.invoke(It,ze),Lt=It.def(Dt.shared.strings,".id(",bt,")");return Lt})}return null}var he=pe(As),ce=pe(qu),J=null,ae;return rt(he)&&rt(ce)?(J=ct.program(ce.id,he.id,null,re),ae=He(function(Z,ge){return Z.link(J)})):ae=new je(he&&he.thisDep||ce&&ce.thisDep,he&&he.contextDep||ce&&ce.contextDep,he&&he.propDep||ce&&ce.propDep,function(Z,ge){var ke=Z.shared.shader,ze;he?ze=he.append(Z,ge):ze=ge.def(ke,".",As);var Dt;ce?Dt=ce.append(Z,ge):Dt=ge.def(ke,".",qu);var It=ke+".program("+Dt+","+ze;return ge.def(It+")")}),{frag:he,vert:ce,progVar:ae,program:J}}function Qn(z,Y){var re=z.static,Ae=z.dynamic,me={},pe=!1;function he(){if(pi in re){var At=re[pi];return At!==null&&et.getVAO(At)===null&&(At=et.createVAO(At)),pe=!0,me.vao=At,He(function(_t){var Ot=et.getVAO(At);return Ot?_t.link(Ot):"null"})}else if(pi in Ae){pe=!0;var Bt=Ae[pi];return ot(Bt,function(_t,Ot){var kt=_t.invoke(Ot,Bt);return Ot.def(_t.shared.vao+".getVAO("+kt+")")})}return null}var ce=he(),J=!1;function ae(){if(Ro in re){var At=re[Ro];if(me.elements=At,ie(At)){var Bt=me.elements=_e.create(At,!0);At=_e.getElements(Bt),J=!0}else At&&(At=_e.getElements(At),J=!0);var _t=He(function(kt,Yt){if(At){var Fr=kt.link(At);return kt.ELEMENTS=Fr,Fr}return kt.ELEMENTS=null,null});return _t.value=At,_t}else if(Ro in Ae){J=!0;var Ot=Ae[Ro];return ot(Ot,function(kt,Yt){var Fr=kt.shared,Jn=Fr.isBufferArgs,Za=Fr.elements,$o=kt.invoke(Yt,Ot),Do=Yt.def("null"),Ci=Yt.def(Jn,"(",$o,")"),uh=kt.cond(Ci).then(Do,"=",Za,".createStream(",$o,");").else(Do,"=",Za,".getElements(",$o,");");return Yt.entry(uh),Yt.exit(kt.cond(Ci).then(Za,".destroyStream(",Do,");")),kt.ELEMENTS=Do,Do})}else if(pe)return new je(ce.thisDep,ce.contextDep,ce.propDep,function(kt,Yt){return Yt.def(kt.shared.vao+".currentVAO?"+kt.shared.elements+".getElements("+kt.shared.vao+".currentVAO.elements):null")});return null}var Z=ae();function ge(){if(Io in re){var At=re[Io];return me.primitive=At,He(function(_t,Ot){return an[At]})}else if(Io in Ae){var Bt=Ae[Io];return ot(Bt,function(_t,Ot){var kt=_t.constants.primTypes,Yt=_t.invoke(Ot,Bt);return Ot.def(kt,"[",Yt,"]")})}else{if(J)return rt(Z)?Z.value?He(function(_t,Ot){return Ot.def(_t.ELEMENTS,".primType")}):He(function(){return f}):new je(Z.thisDep,Z.contextDep,Z.propDep,function(_t,Ot){var kt=_t.ELEMENTS;return Ot.def(kt,"?",kt,".primType:",f)});if(pe)return new je(ce.thisDep,ce.contextDep,ce.propDep,function(_t,Ot){return Ot.def(_t.shared.vao+".currentVAO?"+_t.shared.vao+".currentVAO.primitive:"+f)})}return null}function ke(At,Bt){if(At in re){var _t=re[At]|0;return Bt?me.offset=_t:me.instances=_t,He(function(kt,Yt){return Bt&&(kt.OFFSET=_t),_t})}else if(At in Ae){var Ot=Ae[At];return ot(Ot,function(kt,Yt){var Fr=kt.invoke(Yt,Ot);return Bt&&(kt.OFFSET=Fr),Fr})}else if(Bt){if(J)return He(function(kt,Yt){return kt.OFFSET=0,0});if(pe)return new je(ce.thisDep,ce.contextDep,ce.propDep,function(kt,Yt){return Yt.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.offset:0")})}else if(pe)return new je(ce.thisDep,ce.contextDep,ce.propDep,function(kt,Yt){return Yt.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.instances:-1")});return null}var ze=ke(Cs,!0);function Dt(){if(on in re){var At=re[on]|0;return me.count=At,He(function(){return At})}else if(on in Ae){var Bt=Ae[on];return ot(Bt,function(Yt,Fr){var Jn=Yt.invoke(Fr,Bt);return Jn})}else if(J)if(rt(Z)){if(Z)return ze?new je(ze.thisDep,ze.contextDep,ze.propDep,function(Yt,Fr){var Jn=Fr.def(Yt.ELEMENTS,".vertCount-",Yt.OFFSET);return Jn}):He(function(Yt,Fr){return Fr.def(Yt.ELEMENTS,".vertCount")});var _t=He(function(){return-1});return _t}else{var Ot=new je(Z.thisDep||ze.thisDep,Z.contextDep||ze.contextDep,Z.propDep||ze.propDep,function(Yt,Fr){var Jn=Yt.ELEMENTS;return Yt.OFFSET?Fr.def(Jn,"?",Jn,".vertCount-",Yt.OFFSET,":-1"):Fr.def(Jn,"?",Jn,".vertCount:-1")});return Ot}else if(pe){var kt=new je(ce.thisDep,ce.contextDep,ce.propDep,function(Yt,Fr){return Fr.def(Yt.shared.vao,".currentVAO?",Yt.shared.vao,".currentVAO.count:-1")});return kt}return null}var It=ge(),bt=Dt(),Lt=ke(Ts,!1);return{elements:Z,primitive:It,count:bt,instances:Lt,offset:ze,vao:ce,vaoActive:pe,elementsActive:J,static:me}}function Or(z,Y){var re=z.static,Ae=z.dynamic,me={};return Be.forEach(function(pe){var he=Oe(pe);function ce(J,ae){if(pe in re){var Z=J(re[pe]);me[he]=He(function(){return Z})}else if(pe in Ae){var ge=Ae[pe];me[he]=ot(ge,function(ke,ze){return ae(ke,ze,ke.invoke(ze,ge))})}}switch(pe){case Fv:case Rv:case kv:case Kn:case zc:case Nv:case Gu:case Wc:case qc:case ju:return ce(function(J){return J},function(J,ae,Z){return Z});case Uc:return ce(function(J){return te[J]},function(J,ae,Z){var ge=J.constants.compareFuncs;return ae.def(ge,"[",Z,"]")});case Pv:return ce(function(J){return J},function(J,ae,Z){var ge=ae.def("+",Z,"[0]"),ke=ae.def("+",Z,"[1]");return[ge,ke]});case _s:return ce(function(J){var ae="srcRGB"in J?J.srcRGB:J.src,Z="srcAlpha"in J?J.srcAlpha:J.src,ge="dstRGB"in J?J.dstRGB:J.dst,ke="dstAlpha"in J?J.dstAlpha:J.dst;return[Q[ae],Q[ge],Q[Z],Q[ke]]},function(J,ae,Z){var ge=J.constants.blendFuncs;function ke(Bt,_t){var Ot=ae.def('"',Bt,_t,'" in ',Z,"?",Z,".",Bt,_t,":",Z,".",Bt);return Ot}var ze=ke("src","RGB"),Dt=ke("dst","RGB"),It=ae.def(ge,"[",ze,"]"),bt=ae.def(ge,"[",ke("src","Alpha"),"]"),Lt=ae.def(ge,"[",Dt,"]"),At=ae.def(ge,"[",ke("dst","Alpha"),"]");return[It,Lt,bt,At]});case ws:return ce(function(J){if(typeof J=="string")return[Xe[J],Xe[J]];if(typeof J=="object")return[Xe[J.rgb],Xe[J.alpha]]},function(J,ae,Z){var ge=J.constants.blendEquations,ke=ae.def(),ze=ae.def(),Dt=J.cond("typeof ",Z,'==="string"');return Dt.then(ke,"=",ze,"=",ge,"[",Z,"];"),Dt.else(ke,"=",ge,"[",Z,".rgb];",ze,"=",ge,"[",Z,".alpha];"),ae(Dt),[ke,ze]});case Iv:return ce(function(J){return Te(4,function(ae){return+J[ae]})},function(J,ae,Z){return Te(4,function(ge){return ae.def("+",Z,"[",ge,"]")})});case Vc:return ce(function(J){return J|0},function(J,ae,Z){return ae.def(Z,"|0")});case Yc:return ce(function(J){var ae=J.cmp||"keep",Z=J.ref||0,ge="mask"in J?J.mask:-1;return[te[ae],Z,ge]},function(J,ae,Z){var ge=J.constants.compareFuncs,ke=ae.def('"cmp" in ',Z,"?",ge,"[",Z,".cmp]",":",F),ze=ae.def(Z,".ref|0"),Dt=ae.def('"mask" in ',Z,"?",Z,".mask|0:-1");return[ke,ze,Dt]});case Wu:case Xa:return ce(function(J){var ae=J.fail||"keep",Z=J.zfail||"keep",ge=J.zpass||"keep";return[pe===Xa?p:h,se[ae],se[Z],se[ge]]},function(J,ae,Z){var ge=J.constants.stencilOps;function ke(ze){return ae.def('"',ze,'" in ',Z,"?",ge,"[",Z,".",ze,"]:",F)}return[pe===Xa?p:h,ke("fail"),ke("zfail"),ke("zpass")]});case ko:return ce(function(J){var ae=J.factor|0,Z=J.units|0;return[ae,Z]},function(J,ae,Z){var ge=ae.def(Z,".factor|0"),ke=ae.def(Z,".units|0");return[ge,ke]});case Gc:return ce(function(J){var ae=0;return J==="front"?ae=h:J==="back"&&(ae=p),ae},function(J,ae,Z){return ae.def(Z,'==="front"?',h,":",p)});case Hc:return ce(function(J){return J},function(J,ae,Z){return Z});case Ss:return ce(function(J){return fe[J]},function(J,ae,Z){return ae.def(Z+'==="cw"?'+m+":"+b)});case jc:return ce(function(J){return J.map(function(ae){return!!ae})},function(J,ae,Z){return Te(4,function(ge){return"!!"+Z+"["+ge+"]"})});case Hu:return ce(function(J){var ae="value"in J?J.value:1,Z=!!J.invert;return[ae,Z]},function(J,ae,Z){var ge=ae.def('"value" in ',Z,"?+",Z,".value:1"),ke=ae.def("!!",Z,".invert");return[ge,ke]})}}),me}function Cn(z,Y){var re=z.static,Ae=z.dynamic,me={};return Object.keys(re).forEach(function(pe){var he=re[pe],ce;if(typeof he=="number"||typeof he=="boolean")ce=He(function(){return he});else if(typeof he=="function"){var J=he._reglType;J==="texture2d"||J==="textureCube"?ce=He(function(ae){return ae.link(he)}):(J==="framebuffer"||J==="framebufferCube")&&(ce=He(function(ae){return ae.link(he.color[0])}))}else si(he)&&(ce=He(function(ae){var Z=ae.global.def("[",Te(he.length,function(ge){return he[ge]}),"]");return Z}));ce.value=he,me[pe]=ce}),Object.keys(Ae).forEach(function(pe){var he=Ae[pe];me[pe]=ot(he,function(ce,J){return ce.invoke(J,he)})}),me}function Zn(z,Y){var re=z.static,Ae=z.dynamic,me={};return Object.keys(re).forEach(function(pe){var he=re[pe],ce=W.id(pe),J=new Me;if(ie(he))J.state=Va,J.buffer=Pe.getBuffer(Pe.create(he,Qa,!1,!0)),J.type=0;else{var ae=Pe.getBuffer(he);if(ae)J.state=Va,J.buffer=ae,J.type=0;else if("constant"in he){var Z=he.constant;J.buffer="null",J.state=zu,typeof Z=="number"?J.x=Z:qa.forEach(function(Lt,At){At<Z.length&&(J[Lt]=Z[At])})}else{ie(he.buffer)?ae=Pe.getBuffer(Pe.create(he.buffer,Qa,!1,!0)):ae=Pe.getBuffer(he.buffer);var ge=he.offset|0,ke=he.stride|0,ze=he.size|0,Dt=!!he.normalized,It=0;"type"in he&&(It=Ou[he.type]);var bt=he.divisor|0;J.buffer=ae,J.state=Va,J.size=ze,J.normalized=Dt,J.type=It||ae.dtype,J.offset=ge,J.stride=ke,J.divisor=bt}}me[pe]=He(function(Lt,At){var Bt=Lt.attribCache;if(ce in Bt)return Bt[ce];var _t={isStream:!1};return Object.keys(J).forEach(function(Ot){_t[Ot]=J[Ot]}),J.buffer&&(_t.buffer=Lt.link(J.buffer),_t.type=_t.type||_t.buffer+".dtype"),Bt[ce]=_t,_t})}),Object.keys(Ae).forEach(function(pe){var he=Ae[pe];function ce(J,ae){var Z=J.invoke(ae,he),ge=J.shared,ke=J.constants,ze=ge.isBufferArgs,Dt=ge.buffer,It={isStream:ae.def(!1)},bt=new Me;bt.state=Va,Object.keys(bt).forEach(function(_t){It[_t]=ae.def(""+bt[_t])});var Lt=It.buffer,At=It.type;ae("if(",ze,"(",Z,")){",It.isStream,"=true;",Lt,"=",Dt,".createStream(",Qa,",",Z,");",At,"=",Lt,".dtype;","}else{",Lt,"=",Dt,".getBuffer(",Z,");","if(",Lt,"){",At,"=",Lt,".dtype;",'}else if("constant" in ',Z,"){",It.state,"=",zu,";","if(typeof "+Z+'.constant === "number"){',It[qa[0]],"=",Z,".constant;",qa.slice(1).map(function(_t){return It[_t]}).join("="),"=0;","}else{",qa.map(function(_t,Ot){return It[_t]+"="+Z+".constant.length>"+Ot+"?"+Z+".constant["+Ot+"]:0;"}).join(""),"}}else{","if(",ze,"(",Z,".buffer)){",Lt,"=",Dt,".createStream(",Qa,",",Z,".buffer);","}else{",Lt,"=",Dt,".getBuffer(",Z,".buffer);","}",At,'="type" in ',Z,"?",ke.glTypes,"[",Z,".type]:",Lt,".dtype;",It.normalized,"=!!",Z,".normalized;");function Bt(_t){ae(It[_t],"=",Z,".",_t,"|0;")}return Bt("size"),Bt("offset"),Bt("stride"),Bt("divisor"),ae("}}"),ae.exit("if(",It.isStream,"){",Dt,".destroyStream(",Lt,");","}"),It}me[pe]=ot(he,ce)}),me}function Nn(z){var Y=z.static,re=z.dynamic,Ae={};return Object.keys(Y).forEach(function(me){var pe=Y[me];Ae[me]=He(function(he,ce){return typeof pe=="number"||typeof pe=="boolean"?""+pe:he.link(pe)})}),Object.keys(re).forEach(function(me){var pe=re[me];Ae[me]=ot(pe,function(he,ce){return he.invoke(ce,pe)})}),Ae}function Vi(z,Y,re,Ae,me){z.static,z.dynamic;var pe=ln(z,Y),he=ur(z),ce=cr(z,he),J=Qn(z),ae=Or(z),Z=lr(z,me,pe);function ge(Lt){var At=ce[Lt];At&&(ae[Lt]=At)}ge(Wi),ge(Oe(Es));var ke=Object.keys(ae).length>0,ze={framebuffer:he,draw:J,shader:Z,state:ae,dirty:ke,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(ze.profile=rr(z),ze.uniforms=Cn(re),ze.drawVAO=ze.scopeVAO=J.vao,!ze.drawVAO&&Z.program&&!pe&&ee.angle_instanced_arrays&&J.static.elements){var Dt=!0,It=Z.program.attributes.map(function(Lt){var At=Y.static[Lt];return Dt=Dt&&!!At,At});if(Dt&&It.length>0){var bt=et.getVAO(et.createVAO({attributes:It,elements:J.static.elements}));ze.drawVAO=new je(null,null,null,function(Lt,At){return Lt.link(bt)}),ze.useVAO=!0}}return pe?ze.useVAO=!0:ze.attributes=Zn(Y),ze.context=Nn(Ae),ze}function sn(z,Y,re){var Ae=z.shared,me=Ae.context,pe=z.scope();Object.keys(re).forEach(function(he){Y.save(me,"."+he);var ce=re[he],J=ce.append(z,Y);Array.isArray(J)?pe(me,".",he,"=[",J.join(),"];"):pe(me,".",he,"=",J,";")}),Y(pe)}function fn(z,Y,re,Ae){var me=z.shared,pe=me.gl,he=me.framebuffer,ce;$e&&(ce=Y.def(me.extensions,".webgl_draw_buffers"));var J=z.constants,ae=J.drawBuffer,Z=J.backBuffer,ge;re?ge=re.append(z,Y):ge=Y.def(he,".next"),Ae||Y("if(",ge,"!==",he,".cur){"),Y("if(",ge,"){",pe,".bindFramebuffer(",le,",",ge,".framebuffer);"),$e&&Y(ce,".drawBuffersWEBGL(",ae,"[",ge,".colorAttachments.length]);"),Y("}else{",pe,".bindFramebuffer(",le,",null);"),$e&&Y(ce,".drawBuffersWEBGL(",Z,");"),Y("}",he,".cur=",ge,";"),Ae||Y("}")}function Qt(z,Y,re){var Ae=z.shared,me=Ae.gl,pe=z.current,he=z.next,ce=Ae.current,J=Ae.next,ae=z.cond(ce,".dirty");Be.forEach(function(Z){var ge=Oe(Z);if(!(ge in re.state)){var ke,ze;if(ge in he){ke=he[ge],ze=pe[ge];var Dt=Te(ut[ge].length,function(bt){return ae.def(ke,"[",bt,"]")});ae(z.cond(Dt.map(function(bt,Lt){return bt+"!=="+ze+"["+Lt+"]"}).join("||")).then(me,".",yt[ge],"(",Dt,");",Dt.map(function(bt,Lt){return ze+"["+Lt+"]="+bt}).join(";"),";"))}else{ke=ae.def(J,".",ge);var It=z.cond(ke,"!==",ce,".",ge);ae(It),ge in Fe?It(z.cond(ke).then(me,".enable(",Fe[ge],");").else(me,".disable(",Fe[ge],");"),ce,".",ge,"=",ke,";"):It(me,".",yt[ge],"(",ke,");",ce,".",ge,"=",ke,";")}}}),Object.keys(re.state).length===0&&ae(ce,".dirty=false;"),Y(ae)}function vi(z,Y,re,Ae){var me=z.shared,pe=z.current,he=me.current,ce=me.gl,J;Ne(Object.keys(re)).forEach(function(ae){var Z=re[ae];if(!(Ae&&!Ae(Z))){var ge=Z.append(z,Y);if(Fe[ae]){var ke=Fe[ae];rt(Z)?(J=z.link(ge,{stable:!0}),Y(z.cond(J).then(ce,".enable(",ke,");").else(ce,".disable(",ke,");")),Y(he,".",ae,"=",J,";")):(Y(z.cond(ge).then(ce,".enable(",ke,");").else(ce,".disable(",ke,");")),Y(he,".",ae,"=",ge,";"))}else if(si(ge)){var ze=pe[ae];Y(ce,".",yt[ae],"(",ge,");",ge.map(function(Dt,It){return ze+"["+It+"]="+Dt}).join(";"),";")}else rt(Z)?(J=z.link(ge,{stable:!0}),Y(ce,".",yt[ae],"(",J,");",he,".",ae,"=",J,";")):Y(ce,".",yt[ae],"(",ge,");",he,".",ae,"=",ge,";")}})}function Sr(z,Y){Ze&&(z.instancing=Y.def(z.shared.extensions,".angle_instanced_arrays"))}function cn(z,Y,re,Ae,me){var pe=z.shared,he=z.stats,ce=pe.current,J=pe.timer,ae=re.profile;function Z(){return typeof performance>"u"?"Date.now()":"performance.now()"}var ge,ke;function ze(Bt){ge=Y.def(),Bt(ge,"=",Z(),";"),typeof me=="string"?Bt(he,".count+=",me,";"):Bt(he,".count++;"),at&&(Ae?(ke=Y.def(),Bt(ke,"=",J,".getNumPendingQueries();")):Bt(J,".beginQuery(",he,");"))}function Dt(Bt){Bt(he,".cpuTime+=",Z(),"-",ge,";"),at&&(Ae?Bt(J,".pushScopeStats(",ke,",",J,".getNumPendingQueries(),",he,");"):Bt(J,".endQuery();"))}function It(Bt){var _t=Y.def(ce,".profile");Y(ce,".profile=",Bt,";"),Y.exit(ce,".profile=",_t,";")}var bt;if(ae){if(rt(ae)){ae.enable?(ze(Y),Dt(Y.exit),It("true")):It("false");return}bt=ae.append(z,Y),It(bt)}else bt=Y.def(ce,".profile");var Lt=z.block();ze(Lt),Y("if(",bt,"){",Lt,"}");var At=z.block();Dt(At),Y.exit("if(",bt,"){",At,"}")}function Gn(z,Y,re,Ae,me){var pe=z.shared;function he(J){switch(J){case ks:case Jc:case th:return 2;case qi:case Ku:case rh:return 3;case No:case Lo:case nh:return 4;default:return 1}}function ce(J,ae,Z){var ge=pe.gl,ke=Y.def(J,".location"),ze=Y.def(pe.attributes,"[",ke,"]"),Dt=Z.state,It=Z.buffer,bt=[Z.x,Z.y,Z.z,Z.w],Lt=["buffer","normalized","offset","stride"];function At(){Y("if(!",ze,".buffer){",ge,".enableVertexAttribArray(",ke,");}");var _t=Z.type,Ot;if(Z.size?Ot=Y.def(Z.size,"||",ae):Ot=ae,Y("if(",ze,".type!==",_t,"||",ze,".size!==",Ot,"||",Lt.map(function(Yt){return ze+"."+Yt+"!=="+Z[Yt]}).join("||"),"){",ge,".bindBuffer(",Qa,",",It,".buffer);",ge,".vertexAttribPointer(",[ke,Ot,_t,Z.normalized,Z.stride,Z.offset],");",ze,".type=",_t,";",ze,".size=",Ot,";",Lt.map(function(Yt){return ze+"."+Yt+"="+Z[Yt]+";"}).join(""),"}"),Ze){var kt=Z.divisor;Y("if(",ze,".divisor!==",kt,"){",z.instancing,".vertexAttribDivisorANGLE(",[ke,kt],");",ze,".divisor=",kt,";}")}}function Bt(){Y("if(",ze,".buffer){",ge,".disableVertexAttribArray(",ke,");",ze,".buffer=null;","}if(",qa.map(function(_t,Ot){return ze+"."+_t+"!=="+bt[Ot]}).join("||"),"){",ge,".vertexAttrib4f(",ke,",",bt,");",qa.map(function(_t,Ot){return ze+"."+_t+"="+bt[Ot]+";"}).join(""),"}")}Dt===Va?At():Dt===zu?Bt():(Y("if(",Dt,"===",Va,"){"),At(),Y("}else{"),Bt(),Y("}"))}Ae.forEach(function(J){var ae=J.name,Z=re.attributes[ae],ge;if(Z){if(!me(Z))return;ge=Z.append(z,Y)}else{if(!me(gt))return;var ke=z.scopeAttrib(ae);ge={},Object.keys(new Me).forEach(function(ze){ge[ze]=Y.def(ke,".",ze)})}ce(z.link(J),he(J.info.type),ge)})}function Hn(z,Y,re,Ae,me,pe){for(var he=z.shared,ce=he.gl,J,ae=0;ae<Ae.length;++ae){var Z=Ae[ae],ge=Z.name,ke=Z.info.type,ze=re.uniforms[ge],Dt=z.link(Z),It=Dt+".location",bt;if(ze){if(!me(ze))continue;if(rt(ze)){var Lt=ze.value;if(ke===oh||ke===l){var At=z.link(Lt._texture||Lt.color[0]._texture);Y(ce,".uniform1i(",It,",",At+".bind());"),Y.exit(At,".unbind();")}else if(ke===ih||ke===Qu||ke===ah){var Bt=z.global.def("new Float32Array(["+Array.prototype.slice.call(Lt)+"])"),_t=2;ke===Qu?_t=3:ke===ah&&(_t=4),Y(ce,".uniformMatrix",_t,"fv(",It,",false,",Bt,");")}else{switch(ke){case zr:J="1f";break;case ks:J="2f";break;case qi:J="3f";break;case No:J="4f";break;case eh:J="1i";break;case Rs:J="1i";break;case th:J="2i";break;case Jc:J="2i";break;case rh:J="3i";break;case Ku:J="3i";break;case nh:J="4i";break;case Lo:J="4i";break}Y(ce,".uniform",J,"(",It,",",si(Lt)?Array.prototype.slice.call(Lt):Lt,");")}continue}else bt=ze.append(z,Y)}else{if(!me(gt))continue;bt=Y.def(he.uniforms,"[",W.id(ge),"]")}ke===oh?Y("if(",bt,"&&",bt,'._reglType==="framebuffer"){',bt,"=",bt,".color[0];","}"):ke===l&&Y("if(",bt,"&&",bt,'._reglType==="framebufferCube"){',bt,"=",bt,".color[0];","}");var Ot=1;switch(ke){case oh:case l:var kt=Y.def(bt,"._texture");Y(ce,".uniform1i(",It,",",kt,".bind());"),Y.exit(kt,".unbind();");continue;case Rs:case eh:J="1i";break;case Jc:case th:J="2i",Ot=2;break;case Ku:case rh:J="3i",Ot=3;break;case Lo:case nh:J="4i",Ot=4;break;case zr:J="1f";break;case ks:J="2f",Ot=2;break;case qi:J="3f",Ot=3;break;case No:J="4f",Ot=4;break;case ih:J="Matrix2fv";break;case Qu:J="Matrix3fv";break;case ah:J="Matrix4fv";break}if(J.charAt(0)==="M"){Y(ce,".uniform",J,"(",It,",");var Yt=Math.pow(ke-ih+2,2),Fr=z.global.def("new Float32Array(",Yt,")");Array.isArray(bt)?Y("false,(",Te(Yt,function(Ci){return Fr+"["+Ci+"]="+bt[Ci]}),",",Fr,")"):Y("false,(Array.isArray(",bt,")||",bt," instanceof Float32Array)?",bt,":(",Te(Yt,function(Ci){return Fr+"["+Ci+"]="+bt+"["+Ci+"]"}),",",Fr,")"),Y(");")}else if(Ot>1){for(var Jn=[],Za=[],$o=0;$o<Ot;++$o)Array.isArray(bt)?Za.push(bt[$o]):Za.push(Y.def(bt+"["+$o+"]")),pe&&Jn.push(Y.def());pe&&Y("if(!",z.batchId,"||",Jn.map(function(Ci,uh){return Ci+"!=="+Za[uh]}).join("||"),"){",Jn.map(function(Ci,uh){return Ci+"="+Za[uh]+";"}).join("")),Y(ce,".uniform",J,"(",It,",",Za.join(","),");"),pe&&Y("}")}else{if(pe){var Do=Y.def();Y("if(!",z.batchId,"||",Do,"!==",bt,"){",Do,"=",bt,";")}Y(ce,".uniform",J,"(",It,",",bt,");"),pe&&Y("}")}}}function Jt(z,Y,re,Ae){var me=z.shared,pe=me.gl,he=me.draw,ce=Ae.draw;function J(){var Ot=ce.elements,kt,Yt=Y;return Ot?((Ot.contextDep&&Ae.contextDynamic||Ot.propDep)&&(Yt=re),kt=Ot.append(z,Yt),ce.elementsActive&&Yt("if("+kt+")"+pe+".bindBuffer("+Zc+","+kt+".buffer.buffer);")):(kt=Yt.def(),Yt(kt,"=",he,".",Ro,";","if(",kt,"){",pe,".bindBuffer(",Zc,",",kt,".buffer.buffer);}","else if(",me.vao,".currentVAO){",kt,"=",z.shared.elements+".getElements("+me.vao,".currentVAO.elements);",mt?"":"if("+kt+")"+pe+".bindBuffer("+Zc+","+kt+".buffer.buffer);","}")),kt}function ae(){var Ot=ce.count,kt,Yt=Y;return Ot?((Ot.contextDep&&Ae.contextDynamic||Ot.propDep)&&(Yt=re),kt=Ot.append(z,Yt)):kt=Yt.def(he,".",on),kt}var Z=J();function ge(Ot){var kt=ce[Ot];return kt?kt.contextDep&&Ae.contextDynamic||kt.propDep?kt.append(z,re):kt.append(z,Y):Y.def(he,".",Ot)}var ke=ge(Io),ze=ge(Cs),Dt=ae();if(typeof Dt=="number"){if(Dt===0)return}else re("if(",Dt,"){"),re.exit("}");var It,bt;Ze&&(It=ge(Ts),bt=z.instancing);var Lt=Z+".type",At=ce.elements&&rt(ce.elements)&&!ce.vaoActive;function Bt(){function Ot(){re(bt,".drawElementsInstancedANGLE(",[ke,Dt,Lt,ze+"<<(("+Lt+"-"+$c+")>>1)",It],");")}function kt(){re(bt,".drawArraysInstancedANGLE(",[ke,ze,Dt,It],");")}Z&&Z!=="null"?At?Ot():(re("if(",Z,"){"),Ot(),re("}else{"),kt(),re("}")):kt()}function _t(){function Ot(){re(pe+".drawElements("+[ke,Dt,Lt,ze+"<<(("+Lt+"-"+$c+")>>1)"]+");")}function kt(){re(pe+".drawArrays("+[ke,ze,Dt]+");")}Z&&Z!=="null"?At?Ot():(re("if(",Z,"){"),Ot(),re("}else{"),kt(),re("}")):kt()}Ze&&(typeof It!="number"||It>=0)?typeof It=="string"?(re("if(",It,">0){"),Bt(),re("}else if(",It,"<0){"),_t(),re("}")):Bt():_t()}function fr(z,Y,re,Ae,me){var pe=ft(),he=pe.proc("body",me);return Ze&&(pe.instancing=he.def(pe.shared.extensions,".angle_instanced_arrays")),z(pe,he,re,Ae),pe.compile().body}function kr(z,Y,re,Ae){Sr(z,Y),re.useVAO?re.drawVAO?Y(z.shared.vao,".setVAO(",re.drawVAO.append(z,Y),");"):Y(z.shared.vao,".setVAO(",z.shared.vao,".targetVAO);"):(Y(z.shared.vao,".setVAO(null);"),Gn(z,Y,re,Ae.attributes,function(){return!0})),Hn(z,Y,re,Ae.uniforms,function(){return!0},!1),Jt(z,Y,Y,re)}function hn(z,Y){var re=z.proc("draw",1);Sr(z,re),sn(z,re,Y.context),fn(z,re,Y.framebuffer),Qt(z,re,Y),vi(z,re,Y.state),cn(z,re,Y,!1,!0);var Ae=Y.shader.progVar.append(z,re);if(re(z.shared.gl,".useProgram(",Ae,".program);"),Y.shader.program)kr(z,re,Y,Y.shader.program);else{re(z.shared.vao,".setVAO(null);");var me=z.global.def("{}"),pe=re.def(Ae,".id"),he=re.def(me,"[",pe,"]");re(z.cond(he).then(he,".call(this,a0);").else(he,"=",me,"[",pe,"]=",z.link(function(ce){return fr(kr,z,Y,ce,1)}),"(",Ae,");",he,".call(this,a0);"))}Object.keys(Y.state).length>0&&re(z.shared.current,".dirty=true;"),z.shared.vao&&re(z.shared.vao,".setVAO(null);")}function X(z,Y,re,Ae){z.batchId="a1",Sr(z,Y);function me(){return!0}Gn(z,Y,re,Ae.attributes,me),Hn(z,Y,re,Ae.uniforms,me,!1),Jt(z,Y,Y,re)}function Se(z,Y,re,Ae){Sr(z,Y);var me=re.contextDep,pe=Y.def(),he="a0",ce="a1",J=Y.def();z.shared.props=J,z.batchId=pe;var ae=z.scope(),Z=z.scope();Y(ae.entry,"for(",pe,"=0;",pe,"<",ce,";++",pe,"){",J,"=",he,"[",pe,"];",Z,"}",ae.exit);function ge(Lt){return Lt.contextDep&&me||Lt.propDep}function ke(Lt){return!ge(Lt)}if(re.needsContext&&sn(z,Z,re.context),re.needsFramebuffer&&fn(z,Z,re.framebuffer),vi(z,Z,re.state,ge),re.profile&&ge(re.profile)&&cn(z,Z,re,!1,!0),Ae)re.useVAO?re.drawVAO?ge(re.drawVAO)?Z(z.shared.vao,".setVAO(",re.drawVAO.append(z,Z),");"):ae(z.shared.vao,".setVAO(",re.drawVAO.append(z,ae),");"):ae(z.shared.vao,".setVAO(",z.shared.vao,".targetVAO);"):(ae(z.shared.vao,".setVAO(null);"),Gn(z,ae,re,Ae.attributes,ke),Gn(z,Z,re,Ae.attributes,ge)),Hn(z,ae,re,Ae.uniforms,ke,!1),Hn(z,Z,re,Ae.uniforms,ge,!0),Jt(z,ae,Z,re);else{var ze=z.global.def("{}"),Dt=re.shader.progVar.append(z,Z),It=Z.def(Dt,".id"),bt=Z.def(ze,"[",It,"]");Z(z.shared.gl,".useProgram(",Dt,".program);","if(!",bt,"){",bt,"=",ze,"[",It,"]=",z.link(function(Lt){return fr(X,z,re,Lt,2)}),"(",Dt,");}",bt,".call(this,a0[",pe,"],",pe,");")}}function we(z,Y){var re=z.proc("batch",2);z.batchId="0",Sr(z,re);var Ae=!1,me=!0;Object.keys(Y.context).forEach(function(ze){Ae=Ae||Y.context[ze].propDep}),Ae||(sn(z,re,Y.context),me=!1);var pe=Y.framebuffer,he=!1;pe?(pe.propDep?Ae=he=!0:pe.contextDep&&Ae&&(he=!0),he||fn(z,re,pe)):fn(z,re,null),Y.state.viewport&&Y.state.viewport.propDep&&(Ae=!0);function ce(ze){return ze.contextDep&&Ae||ze.propDep}Qt(z,re,Y),vi(z,re,Y.state,function(ze){return!ce(ze)}),(!Y.profile||!ce(Y.profile))&&cn(z,re,Y,!1,"a1"),Y.contextDep=Ae,Y.needsContext=me,Y.needsFramebuffer=he;var J=Y.shader.progVar;if(J.contextDep&&Ae||J.propDep)Se(z,re,Y,null);else{var ae=J.append(z,re);if(re(z.shared.gl,".useProgram(",ae,".program);"),Y.shader.program)Se(z,re,Y,Y.shader.program);else{re(z.shared.vao,".setVAO(null);");var Z=z.global.def("{}"),ge=re.def(ae,".id"),ke=re.def(Z,"[",ge,"]");re(z.cond(ke).then(ke,".call(this,a0,a1);").else(ke,"=",Z,"[",ge,"]=",z.link(function(ze){return fr(Se,z,Y,ze,2)}),"(",ae,");",ke,".call(this,a0,a1);"))}}Object.keys(Y.state).length>0&&re(z.shared.current,".dirty=true;"),z.shared.vao&&re(z.shared.vao,".setVAO(null);")}function Ct(z,Y){var re=z.proc("scope",3);z.batchId="a2";var Ae=z.shared,me=Ae.current;if(sn(z,re,Y.context),Y.framebuffer&&Y.framebuffer.append(z,re),Ne(Object.keys(Y.state)).forEach(function(ce){var J=Y.state[ce],ae=J.append(z,re);si(ae)?ae.forEach(function(Z,ge){Nt(Z)?re.set(z.next[ce],"["+ge+"]",Z):re.set(z.next[ce],"["+ge+"]",z.link(Z,{stable:!0}))}):rt(J)?re.set(Ae.next,"."+ce,z.link(ae,{stable:!0})):re.set(Ae.next,"."+ce,ae)}),cn(z,re,Y,!0,!0),[Ro,Cs,on,Ts,Io].forEach(function(ce){var J=Y.draw[ce];if(J){var ae=J.append(z,re);Nt(ae)?re.set(Ae.draw,"."+ce,ae):re.set(Ae.draw,"."+ce,z.link(ae),{stable:!0})}}),Object.keys(Y.uniforms).forEach(function(ce){var J=Y.uniforms[ce].append(z,re);Array.isArray(J)&&(J="["+J.map(function(ae){return Nt(ae)?ae:z.link(ae,{stable:!0})})+"]"),re.set(Ae.uniforms,"["+z.link(W.id(ce),{stable:!0})+"]",J)}),Object.keys(Y.attributes).forEach(function(ce){var J=Y.attributes[ce].append(z,re),ae=z.scopeAttrib(ce);Object.keys(new Me).forEach(function(Z){re.set(ae,"."+Z,J[Z])})}),Y.scopeVAO){var pe=Y.scopeVAO.append(z,re);Nt(pe)?re.set(Ae.vao,".targetVAO",pe):re.set(Ae.vao,".targetVAO",z.link(pe,{stable:!0}))}function he(ce){var J=Y.shader[ce];if(J){var ae=J.append(z,re);Nt(ae)?re.set(Ae.shader,"."+ce,ae):re.set(Ae.shader,"."+ce,z.link(ae,{stable:!0}))}}he(qu),he(As),Object.keys(Y.state).length>0&&(re(me,".dirty=true;"),re.exit(me,".dirty=true;")),re("a1(",z.shared.context,",a0,",z.batchId,");")}function nr(z){if(!(typeof z!="object"||si(z))){for(var Y=Object.keys(z),re=0;re<Y.length;++re)if(A.isDynamic(z[Y[re]]))return!0;return!1}}function Pr(z,Y,re){var Ae=Y.static[re];if(!Ae||!nr(Ae))return;var me=z.global,pe=Object.keys(Ae),he=!1,ce=!1,J=!1,ae=z.global.def("{}");pe.forEach(function(ge){var ke=Ae[ge];if(A.isDynamic(ke)){typeof ke=="function"&&(ke=Ae[ge]=A.unbox(ke));var ze=ot(ke,null);he=he||ze.thisDep,J=J||ze.propDep,ce=ce||ze.contextDep}else{switch(me(ae,".",ge,"="),typeof ke){case"number":me(ke);break;case"string":me('"',ke,'"');break;case"object":Array.isArray(ke)&&me("[",ke.join(),"]");break;default:me(z.link(ke));break}me(";")}});function Z(ge,ke){pe.forEach(function(ze){var Dt=Ae[ze];if(A.isDynamic(Dt)){var It=ge.invoke(ke,Dt);ke(ae,".",ze,"=",It,";")}})}Y.dynamic[re]=new A.DynamicVariable(Ya,{thisDep:he,contextDep:ce,propDep:J,ref:ae,append:Z}),delete Y.static[re]}function Tt(z,Y,re,Ae,me){var pe=ft();pe.stats=pe.link(me),Object.keys(Y.static).forEach(function(ce){Pr(pe,Y,ce)}),s1.forEach(function(ce){Pr(pe,z,ce)});var he=Vi(z,Y,re,Ae,pe);return he.shader.program&&(he.shader.program.attributes.sort(function(ce,J){return ce.name<J.name?-1:1}),he.shader.program.uniforms.sort(function(ce,J){return ce.name<J.name?-1:1})),hn(pe,he),Ct(pe,he),we(pe,he),r(pe.compile(),{destroy:function(){he.shader.program.destroy()}})}return{next:Ft,current:ut,procs:function(){var z=ft(),Y=z.proc("poll"),re=z.proc("refresh"),Ae=z.block();Y(Ae),re(Ae);var me=z.shared,pe=me.gl,he=me.next,ce=me.current;Ae(ce,".dirty=false;"),fn(z,Y),fn(z,re,null,!0);var J;Ze&&(J=z.link(Ze)),ee.oes_vertex_array_object&&re(z.link(ee.oes_vertex_array_object),".bindVertexArrayOES(null);");var ae=re.def(me.attributes),Z=re.def(0),ge=z.cond(Z,".buffer");ge.then(pe,".enableVertexAttribArray(i);",pe,".bindBuffer(",Qa,",",Z,".buffer.buffer);",pe,".vertexAttribPointer(i,",Z,".size,",Z,".type,",Z,".normalized,",Z,".stride,",Z,".offset);").else(pe,".disableVertexAttribArray(i);",pe,".vertexAttrib4f(i,",Z,".x,",Z,".y,",Z,".z,",Z,".w);",Z,".buffer=null;");var ke=z.link(Ce.maxAttributes,{stable:!0});return re("for(var i=0;i<",ke,";++i){",Z,"=",ae,"[i];",ge,"}"),Ze&&re("for(var i=0;i<",ke,";++i){",J,".vertexAttribDivisorANGLE(i,",ae,"[i].divisor);","}"),re(z.shared.vao,".currentVAO=null;",z.shared.vao,".setVAO(",z.shared.vao,".targetVAO);"),Object.keys(Fe).forEach(function(ze){var Dt=Fe[ze],It=Ae.def(he,".",ze),bt=z.block();bt("if(",It,"){",pe,".enable(",Dt,")}else{",pe,".disable(",Dt,")}",ce,".",ze,"=",It,";"),re(bt),Y("if(",It,"!==",ce,".",ze,"){",bt,"}")}),Object.keys(yt).forEach(function(ze){var Dt=yt[ze],It=ut[ze],bt,Lt,At=z.block();if(At(pe,".",Dt,"("),si(It)){var Bt=It.length;bt=z.global.def(he,".",ze),Lt=z.global.def(ce,".",ze),At(Te(Bt,function(_t){return bt+"["+_t+"]"}),");",Te(Bt,function(_t){return Lt+"["+_t+"]="+bt+"["+_t+"];"}).join("")),Y("if(",Te(Bt,function(_t){return bt+"["+_t+"]!=="+Lt+"["+_t+"]"}).join("||"),"){",At,"}")}else bt=Ae.def(he,".",ze),Lt=Ae.def(ce,".",ze),At(bt,");",ce,".",ze,"=",bt,";"),Y("if(",bt,"!==",Lt,"){",At,"}");re(At)}),z.compile()}(),compile:Tt}}function wt(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var Gt=34918,ar=34919,Ir=35007,dr=function(I,W){if(!W.ext_disjoint_timer_query)return null;var ee=[];function Ce(){return ee.pop()||W.ext_disjoint_timer_query.createQueryEXT()}function Pe(Xe){ee.push(Xe)}var _e=[];function Ee(Xe){var Ze=Ce();W.ext_disjoint_timer_query.beginQueryEXT(Ir,Ze),_e.push(Ze),at(_e.length-1,_e.length,Xe)}function Ke(){W.ext_disjoint_timer_query.endQueryEXT(Ir)}function Qe(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var et=[];function ct(){return et.pop()||new Qe}function Pt(Xe){et.push(Xe)}var Et=[];function at(Xe,Ze,$e){var mt=ct();mt.startQueryIndex=Xe,mt.endQueryIndex=Ze,mt.sum=0,mt.stats=$e,Et.push(mt)}var qe=[],de=[];function Me(){var Xe,Ze,$e=_e.length;if($e!==0){de.length=Math.max(de.length,$e+1),qe.length=Math.max(qe.length,$e+1),qe[0]=0,de[0]=0;var mt=0;for(Xe=0,Ze=0;Ze<_e.length;++Ze){var ut=_e[Ze];W.ext_disjoint_timer_query.getQueryObjectEXT(ut,ar)?(mt+=W.ext_disjoint_timer_query.getQueryObjectEXT(ut,Gt),Pe(ut)):_e[Xe++]=ut,qe[Ze+1]=mt,de[Ze+1]=Xe}for(_e.length=Xe,Xe=0,Ze=0;Ze<Et.length;++Ze){var Ft=Et[Ze],Be=Ft.startQueryIndex,Fe=Ft.endQueryIndex;Ft.sum+=qe[Fe]-qe[Be];var yt=de[Be],Oe=de[Fe];Oe===yt?(Ft.stats.gpuTime+=Ft.sum/1e6,Pt(Ft)):(Ft.startQueryIndex=yt,Ft.endQueryIndex=Oe,Et[Xe++]=Ft)}Et.length=Xe}}return{beginQuery:Ee,endQuery:Ke,pushScopeStats:at,update:Me,getNumPendingQueries:function(){return _e.length},clear:function(){ee.push.apply(ee,_e);for(var Xe=0;Xe<ee.length;Xe++)W.ext_disjoint_timer_query.deleteQueryEXT(ee[Xe]);_e.length=0,ee.length=0},restore:function(){_e.length=0,ee.length=0}}},nt=16384,qt=256,Kt=1024,or=34962,Tr="webglcontextlost",Ur="webglcontextrestored",Xr=1,mn=2,An=3;function un(I,W){for(var ee=0;ee<I.length;++ee)if(I[ee]===W)return ee;return-1}function Fn(I){var W=j(I);if(!W)return null;var ee=W.gl,Ce=ee.getContextAttributes();ee.isContextLost();var Pe=ne(ee,W);if(!Pe)return null;var _e=x(),Ee=wt(),Ke=W.cachedCode||{},Qe=Pe.extensions,et=dr(ee,Qe),ct=w(),Pt=ee.drawingBufferWidth,Et=ee.drawingBufferHeight,at={tick:0,time:0,viewportWidth:Pt,viewportHeight:Et,framebufferWidth:Pt,framebufferHeight:Et,drawingBufferWidth:Pt,drawingBufferHeight:Et,pixelRatio:W.pixelRatio},qe={},de={elements:null,primitive:4,count:-1,offset:0,instances:-1},Me=Kl(ee,Qe),Xe=Lp(ee,Ee,W,mt),Ze=rs(ee,Qe,Xe,Ee),$e=Zy(ee,Qe,Me,Ee,Xe,Ze,de);function mt(Jt){return $e.destroyBuffer(Jt)}var ut=xv(ee,_e,Ee,W),Ft=qy(ee,Qe,Me,function(){yt.procs.poll()},at,Ee,W),Be=vv(ee,Qe,Me,Ee,W),Fe=Oc(ee,Qe,Me,Ft,Be,Ee),yt=Wt(ee,_e,Qe,Me,Xe,Ze,Ft,Fe,qe,$e,ut,de,at,et,Ke,W),Oe=_v(ee,Fe,yt.procs.poll,at),ht=yt.next,Je=ee.canvas,Nt=[],tr=[],xt=[],Ut=[W.onDestroy],ft=null;function rr(){if(Nt.length===0){et&&et.update(),ft=null;return}ft=E.next(rr),fn();for(var Jt=Nt.length-1;Jt>=0;--Jt){var fr=Nt[Jt];fr&&fr(at,null,0)}ee.flush(),et&&et.update()}function ur(){!ft&&Nt.length>0&&(ft=E.next(rr))}function cr(){ft&&(E.cancel(rr),ft=null)}function ln(Jt){Jt.preventDefault(),cr(),tr.forEach(function(fr){fr()})}function lr(Jt){ee.getError(),Pe.restore(),ut.restore(),Xe.restore(),Ft.restore(),Be.restore(),Fe.restore(),$e.restore(),et&&et.restore(),yt.procs.refresh(),ur(),xt.forEach(function(fr){fr()})}Je&&(Je.addEventListener(Tr,ln,!1),Je.addEventListener(Ur,lr,!1));function Qn(){Nt.length=0,cr(),Je&&(Je.removeEventListener(Tr,ln),Je.removeEventListener(Ur,lr)),ut.clear(),Fe.clear(),Be.clear(),$e.clear(),Ft.clear(),Ze.clear(),Xe.clear(),et&&et.clear(),Ut.forEach(function(Jt){Jt()})}function Or(Jt){function fr(me){var pe=r({},me);delete pe.uniforms,delete pe.attributes,delete pe.context,delete pe.vao,"stencil"in pe&&pe.stencil.op&&(pe.stencil.opBack=pe.stencil.opFront=pe.stencil.op,delete pe.stencil.op);function he(ce){if(ce in pe){var J=pe[ce];delete pe[ce],Object.keys(J).forEach(function(ae){pe[ce+"."+ae]=J[ae]})}}return he("blend"),he("depth"),he("cull"),he("stencil"),he("polygonOffset"),he("scissor"),he("sample"),"vao"in me&&(pe.vao=me.vao),pe}function kr(me,pe){var he={},ce={};return Object.keys(me).forEach(function(J){var ae=me[J];if(A.isDynamic(ae)){ce[J]=A.unbox(ae,J);return}else if(pe&&Array.isArray(ae)){for(var Z=0;Z<ae.length;++Z)if(A.isDynamic(ae[Z])){ce[J]=A.unbox(ae,J);return}}he[J]=ae}),{dynamic:ce,static:he}}var hn=kr(Jt.context||{},!0),X=kr(Jt.uniforms||{},!0),Se=kr(Jt.attributes||{},!1),we=kr(fr(Jt),!1),Ct={gpuTime:0,cpuTime:0,count:0},nr=yt.compile(we,Se,X,hn,Ct),Pr=nr.draw,Tt=nr.batch,z=nr.scope,Y=[];function re(me){for(;Y.length<me;)Y.push(null);return Y}function Ae(me,pe){var he;if(typeof me=="function")return z.call(this,null,me,0);if(typeof pe=="function")if(typeof me=="number")for(he=0;he<me;++he)z.call(this,null,pe,he);else if(Array.isArray(me))for(he=0;he<me.length;++he)z.call(this,me[he],pe,he);else return z.call(this,me,pe,0);else if(typeof me=="number"){if(me>0)return Tt.call(this,re(me|0),me|0)}else if(Array.isArray(me)){if(me.length)return Tt.call(this,me,me.length)}else return Pr.call(this,me)}return r(Ae,{stats:Ct,destroy:function(){nr.destroy()}})}var Cn=Fe.setFBO=Or({framebuffer:A.define.call(null,Xr,"framebuffer")});function Zn(Jt,fr){var kr=0;yt.procs.poll();var hn=fr.color;hn&&(ee.clearColor(+hn[0]||0,+hn[1]||0,+hn[2]||0,+hn[3]||0),kr|=nt),"depth"in fr&&(ee.clearDepth(+fr.depth),kr|=qt),"stencil"in fr&&(ee.clearStencil(fr.stencil|0),kr|=Kt),ee.clear(kr)}function Nn(Jt){if("framebuffer"in Jt)if(Jt.framebuffer&&Jt.framebuffer_reglType==="framebufferCube")for(var fr=0;fr<6;++fr)Cn(r({framebuffer:Jt.framebuffer.faces[fr]},Jt),Zn);else Cn(Jt,Zn);else Zn(null,Jt)}function Vi(Jt){Nt.push(Jt);function fr(){var kr=un(Nt,Jt);function hn(){var X=un(Nt,hn);Nt[X]=Nt[Nt.length-1],Nt.length-=1,Nt.length<=0&&cr()}Nt[kr]=hn}return ur(),{cancel:fr}}function sn(){var Jt=ht.viewport,fr=ht.scissor_box;Jt[0]=Jt[1]=fr[0]=fr[1]=0,at.viewportWidth=at.framebufferWidth=at.drawingBufferWidth=Jt[2]=fr[2]=ee.drawingBufferWidth,at.viewportHeight=at.framebufferHeight=at.drawingBufferHeight=Jt[3]=fr[3]=ee.drawingBufferHeight}function fn(){at.tick+=1,at.time=vi(),sn(),yt.procs.poll()}function Qt(){Ft.refresh(),sn(),yt.procs.refresh(),et&&et.update()}function vi(){return(w()-ct)/1e3}Qt();function Sr(Jt,fr){var kr;switch(Jt){case"frame":return Vi(fr);case"lost":kr=tr;break;case"restore":kr=xt;break;case"destroy":kr=Ut;break}return kr.push(fr),{cancel:function(){for(var hn=0;hn<kr.length;++hn)if(kr[hn]===fr){kr[hn]=kr[kr.length-1],kr.pop();return}}}}function cn(){return Ke}function Gn(Jt){Object.entries(Jt).forEach(function(fr){Ke[fr[0]]=fr[1]})}var Hn=r(Or,{clear:Nn,prop:A.define.bind(null,Xr),context:A.define.bind(null,mn),this:A.define.bind(null,An),draw:Or({}),buffer:function(Jt){return Xe.create(Jt,or,!1,!1)},elements:function(Jt){return Ze.create(Jt,!1)},texture:Ft.create2D,cube:Ft.createCube,renderbuffer:Be.create,framebuffer:Fe.create,framebufferCube:Fe.createCube,vao:$e.createVAO,attributes:Ce,frame:Vi,on:Sr,limits:Me,hasExtension:function(Jt){return Me.extensions.indexOf(Jt.toLowerCase())>=0},read:Oe,destroy:Qn,_gl:ee,_refresh:Qt,poll:function(){fn(),et&&et.update()},now:vi,stats:Ee,getCachedCode:cn,preloadCachedCode:Gn});return W.onDone(null,Hn),Hn}return Fn})})(QN);var ere=QN.exports,tre=Su,rre=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},NM(t)?t={container:t}:nre(t)?t={container:t}:ire(t)?t={gl:t}:t=tre(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=Zt.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}NM(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=LM(),t.container.appendChild(t.canvas),FM(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=LM(),t.container.appendChild(t.canvas),FM(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 FM(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*Zt.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*Zt.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 NM(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function nre(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function ire(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function LM(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var are=KN,ore=[32,126],ure=lre;function lre(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||ore;if(n&&typeof n!="string"&&(n=are(n)),!Array.isArray(a))a=String(a).split("");else if(a.length===2&&typeof a[0]=="number"&&typeof a[1]=="number"){for(var o=[],u=a[0],s=0;u<=a[1];u++)o[s++]=String.fromCharCode(u);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,g=i[1]/2,u=0;u<a.length;u++)c.fillText(a[u],d,g),(d+=i[0])>t[0]-i[0]/2&&(d=i[0]/2,g+=i[1]);return r}var vr={},Hr={},UE=32;Hr.INT_BITS=UE;Hr.INT_MAX=2147483647;Hr.INT_MIN=-1<<UE-1;Hr.sign=function(e){return(e>0)-(e<0)};Hr.abs=function(e){var t=e>>UE-1;return(e^t)-t};Hr.min=function(e,t){return t^(e^t)&-(e<t)};Hr.max=function(e,t){return e^(e^t)&-(e<t)};Hr.isPow2=function(e){return!(e&e-1)&&!!e};Hr.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};Hr.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};Hr.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function ZN(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}Hr.countTrailingZeros=ZN;Hr.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};Hr.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};Hr.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var Vh=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}})(Vh);Hr.reverse=function(e){return Vh[e&255]<<24|Vh[e>>>8&255]<<16|Vh[e>>>16&255]<<8|Vh[e>>>24&255]};Hr.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};Hr.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};Hr.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};Hr.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};Hr.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>ZN(e)+1};function JN(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]=JN(e,t,r+1);return i}function sre(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function fre(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return sre(e|0,t);break;case"object":if(typeof e.length=="number")return JN(e,t,0);break}return[]}var cre=fre,e6={},dy={};dy.byteLength=pre;dy.toByteArray=mre;dy.fromByteArray=bre;var ga=[],Mi=[],hre=typeof Uint8Array<"u"?Uint8Array:Array,iw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var zs=0,dre=iw.length;zs<dre;++zs)ga[zs]=iw[zs],Mi[iw.charCodeAt(zs)]=zs;Mi["-".charCodeAt(0)]=62;Mi["_".charCodeAt(0)]=63;function t6(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 pre(e){var t=t6(e),r=t[0],n=t[1];return(r+n)*3/4-n}function vre(e,t,r){return(t+r)*3/4-r}function mre(e){var t,r=t6(e),n=r[0],i=r[1],a=new hre(vre(e,n,i)),o=0,u=i>0?n-4:n,s;for(s=0;s<u;s+=4)t=Mi[e.charCodeAt(s)]<<18|Mi[e.charCodeAt(s+1)]<<12|Mi[e.charCodeAt(s+2)]<<6|Mi[e.charCodeAt(s+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=Mi[e.charCodeAt(s)]<<2|Mi[e.charCodeAt(s+1)]>>4,a[o++]=t&255),i===1&&(t=Mi[e.charCodeAt(s)]<<10|Mi[e.charCodeAt(s+1)]<<4|Mi[e.charCodeAt(s+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function gre(e){return ga[e>>18&63]+ga[e>>12&63]+ga[e>>6&63]+ga[e&63]}function yre(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(gre(n));return i.join("")}function bre(e){for(var t,r=e.length,n=r%3,i=[],a=16383,o=0,u=r-n;o<u;o+=a)i.push(yre(e,o,o+a>u?u:o+a));return n===1?(t=e[r-1],i.push(ga[t>>2]+ga[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(ga[t>>10]+ga[t>>4&63]+ga[t<<2&63]+"=")),i.join("")}var jE={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */jE.read=function(e,t,r,n,i){var a,o,u=i*8-n-1,s=(1<<u)-1,c=s>>1,d=-7,g=r?i-1:0,v=r?-1:1,y=e[t+g];for(g+=v,a=y&(1<<-d)-1,y>>=-d,d+=u;d>0;a=a*256+e[t+g],g+=v,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+e[t+g],g+=v,d-=8);if(a===0)a=1-c;else{if(a===s)return o?NaN:(y?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-c}return(y?-1:1)*o*Math.pow(2,a-n)};jE.write=function(e,t,r,n,i,a){var o,u,s,c=a*8-i-1,d=(1<<c)-1,g=d>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:a-1,A=n?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=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+g>=1?t+=v/s:t+=v*Math.pow(2,1-g),t*s>=2&&(o++,s/=2),o+g>=d?(u=0,o=d):o+g>=1?(u=(t*s-1)*Math.pow(2,i),o=o+g):(u=t*Math.pow(2,g-1)*Math.pow(2,i),o=0));i>=8;e[r+y]=u&255,y+=A,u/=256,i-=8);for(o=o<<i|u,c+=i;c>0;e[r+y]=o&255,y+=A,o/=256,c-=8);e[r+y-A]|=E*128};/*!
|
|
1100
|
+
* The buffer module from node.js, for the browser.
|
|
1101
|
+
*
|
|
1102
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1103
|
+
* @license MIT
|
|
1104
|
+
*/(function(e){var t=dy,r=jE,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=u,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,u.TYPED_ARRAY_SUPPORT=a(),!u.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 a(){try{var $=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf($,M),$.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function o($){if($>i)throw new RangeError('The value "'+$+'" is invalid for option "size"');var M=new Uint8Array($);return Object.setPrototypeOf(M,u.prototype),M}function u($,M,P){if(typeof $=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g($)}return s($,M,P)}u.poolSize=8192;function s($,M,P){if(typeof $=="string")return v($,M);if(ArrayBuffer.isView($))return A($);if($==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);if(Ge($,ArrayBuffer)||$&&Ge($.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge($,SharedArrayBuffer)||$&&Ge($.buffer,SharedArrayBuffer)))return E($,M,P);if(typeof $=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var K=$.valueOf&&$.valueOf();if(K!=null&&K!==$)return u.from(K,M,P);var ve=w($);if(ve)return ve;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof $[Symbol.toPrimitive]=="function")return u.from($[Symbol.toPrimitive]("string"),M,P);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $)}u.from=function($,M,P){return s($,M,P)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function c($){if(typeof $!="number")throw new TypeError('"size" argument must be of type number');if($<0)throw new RangeError('The value "'+$+'" is invalid for option "size"')}function d($,M,P){return c($),$<=0?o($):M!==void 0?typeof P=="string"?o($).fill(M,P):o($).fill(M):o($)}u.alloc=function($,M,P){return d($,M,P)};function g($){return c($),o($<0?0:x($)|0)}u.allocUnsafe=function($){return g($)},u.allocUnsafeSlow=function($){return g($)};function v($,M){if((typeof M!="string"||M==="")&&(M="utf8"),!u.isEncoding(M))throw new TypeError("Unknown encoding: "+M);var P=T($,M)|0,K=o(P),ve=K.write($,M);return ve!==P&&(K=K.slice(0,ve)),K}function y($){for(var M=$.length<0?0:x($.length)|0,P=o(M),K=0;K<M;K+=1)P[K]=$[K]&255;return P}function A($){if(Ge($,Uint8Array)){var M=new Uint8Array($);return E(M.buffer,M.byteOffset,M.byteLength)}return y($)}function E($,M,P){if(M<0||$.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if($.byteLength<M+(P||0))throw new RangeError('"length" is outside of buffer bounds');var K;return M===void 0&&P===void 0?K=new Uint8Array($):P===void 0?K=new Uint8Array($,M):K=new Uint8Array($,M,P),Object.setPrototypeOf(K,u.prototype),K}function w($){if(u.isBuffer($)){var M=x($.length)|0,P=o(M);return P.length===0||$.copy(P,0,0,M),P}if($.length!==void 0)return typeof $.length!="number"||St($.length)?o(0):y($);if($.type==="Buffer"&&Array.isArray($.data))return y($.data)}function x($){if($>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return $|0}function _($){return+$!=$&&($=0),u.alloc(+$)}u.isBuffer=function(M){return M!=null&&M._isBuffer===!0&&M!==u.prototype},u.compare=function(M,P){if(Ge(M,Uint8Array)&&(M=u.from(M,M.offset,M.byteLength)),Ge(P,Uint8Array)&&(P=u.from(P,P.offset,P.byteLength)),!u.isBuffer(M)||!u.isBuffer(P))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(M===P)return 0;for(var K=M.length,ve=P.length,tt=0,st=Math.min(K,ve);tt<st;++tt)if(M[tt]!==P[tt]){K=M[tt],ve=P[tt];break}return K<ve?-1:ve<K?1:0},u.isEncoding=function(M){switch(String(M).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}},u.concat=function(M,P){if(!Array.isArray(M))throw new TypeError('"list" argument must be an Array of Buffers');if(M.length===0)return u.alloc(0);var K;if(P===void 0)for(P=0,K=0;K<M.length;++K)P+=M[K].length;var ve=u.allocUnsafe(P),tt=0;for(K=0;K<M.length;++K){var st=M[K];if(Ge(st,Uint8Array))tt+st.length>ve.length?u.from(st).copy(ve,tt):Uint8Array.prototype.set.call(ve,st,tt);else if(u.isBuffer(st))st.copy(ve,tt);else throw new TypeError('"list" argument must be an Array of Buffers');tt+=st.length}return ve};function T($,M){if(u.isBuffer($))return $.length;if(ArrayBuffer.isView($)||Ge($,ArrayBuffer))return $.byteLength;if(typeof $!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof $);var P=$.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&P===0)return 0;for(var ve=!1;;)switch(M){case"ascii":case"latin1":case"binary":return P;case"utf8":case"utf-8":return q($).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P*2;case"hex":return P>>>1;case"base64":return ye($).length;default:if(ve)return K?-1:q($).length;M=(""+M).toLowerCase(),ve=!0}}u.byteLength=T;function C($,M,P){var K=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((P===void 0||P>this.length)&&(P=this.length),P<=0)||(P>>>=0,M>>>=0,P<=M))return"";for($||($="utf8");;)switch($){case"hex":return Mt(this,M,P);case"utf8":case"utf-8":return Le(this,M,P);case"ascii":return Ie(this,M,P);case"latin1":case"binary":return Ve(this,M,P);case"base64":return De(this,M,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,M,P);default:if(K)throw new TypeError("Unknown encoding: "+$);$=($+"").toLowerCase(),K=!0}}u.prototype._isBuffer=!0;function R($,M,P){var K=$[M];$[M]=$[P],$[P]=K}u.prototype.swap16=function(){var M=this.length;if(M%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var P=0;P<M;P+=2)R(this,P,P+1);return this},u.prototype.swap32=function(){var M=this.length;if(M%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var P=0;P<M;P+=4)R(this,P,P+3),R(this,P+1,P+2);return this},u.prototype.swap64=function(){var M=this.length;if(M%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var P=0;P<M;P+=8)R(this,P,P+7),R(this,P+1,P+6),R(this,P+2,P+5),R(this,P+3,P+4);return this},u.prototype.toString=function(){var M=this.length;return M===0?"":arguments.length===0?Le(this,0,M):C.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(M){if(!u.isBuffer(M))throw new TypeError("Argument must be a Buffer");return this===M?!0:u.compare(this,M)===0},u.prototype.inspect=function(){var M="",P=e.INSPECT_MAX_BYTES;return M=this.toString("hex",0,P).replace(/(.{2})/g,"$1 ").trim(),this.length>P&&(M+=" ... "),"<Buffer "+M+">"},n&&(u.prototype[n]=u.prototype.inspect),u.prototype.compare=function(M,P,K,ve,tt){if(Ge(M,Uint8Array)&&(M=u.from(M,M.offset,M.byteLength)),!u.isBuffer(M))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof M);if(P===void 0&&(P=0),K===void 0&&(K=M?M.length:0),ve===void 0&&(ve=0),tt===void 0&&(tt=this.length),P<0||K>M.length||ve<0||tt>this.length)throw new RangeError("out of range index");if(ve>=tt&&P>=K)return 0;if(ve>=tt)return-1;if(P>=K)return 1;if(P>>>=0,K>>>=0,ve>>>=0,tt>>>=0,this===M)return 0;for(var st=tt-ve,sr=K-P,yr=Math.min(st,sr),_r=this.slice(ve,tt),Zr=M.slice(P,K),Cr=0;Cr<yr;++Cr)if(_r[Cr]!==Zr[Cr]){st=_r[Cr],sr=Zr[Cr];break}return st<sr?-1:sr<st?1:0};function N($,M,P,K,ve){if($.length===0)return-1;if(typeof P=="string"?(K=P,P=0):P>2147483647?P=2147483647:P<-2147483648&&(P=-2147483648),P=+P,St(P)&&(P=ve?0:$.length-1),P<0&&(P=$.length+P),P>=$.length){if(ve)return-1;P=$.length-1}else if(P<0)if(ve)P=0;else return-1;if(typeof M=="string"&&(M=u.from(M,K)),u.isBuffer(M))return M.length===0?-1:V($,M,P,K,ve);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ve?Uint8Array.prototype.indexOf.call($,M,P):Uint8Array.prototype.lastIndexOf.call($,M,P):V($,[M],P,K,ve);throw new TypeError("val must be string, number or Buffer")}function V($,M,P,K,ve){var tt=1,st=$.length,sr=M.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if($.length<2||M.length<2)return-1;tt=2,st/=2,sr/=2,P/=2}function yr(Ia,Un){return tt===1?Ia[Un]:Ia.readUInt16BE(Un*tt)}var _r;if(ve){var Zr=-1;for(_r=P;_r<st;_r++)if(yr($,_r)===yr(M,Zr===-1?0:_r-Zr)){if(Zr===-1&&(Zr=_r),_r-Zr+1===sr)return Zr*tt}else Zr!==-1&&(_r-=_r-Zr),Zr=-1}else for(P+sr>st&&(P=st-sr),_r=P;_r>=0;_r--){for(var Cr=!0,Ra=0;Ra<sr;Ra++)if(yr($,_r+Ra)!==yr(M,Ra)){Cr=!1;break}if(Cr)return _r}return-1}u.prototype.includes=function(M,P,K){return this.indexOf(M,P,K)!==-1},u.prototype.indexOf=function(M,P,K){return N(this,M,P,K,!0)},u.prototype.lastIndexOf=function(M,P,K){return N(this,M,P,K,!1)};function j($,M,P,K){P=Number(P)||0;var ve=$.length-P;K?(K=Number(K),K>ve&&(K=ve)):K=ve;var tt=M.length;K>tt/2&&(K=tt/2);for(var st=0;st<K;++st){var sr=parseInt(M.substr(st*2,2),16);if(St(sr))return st;$[P+st]=sr}return st}function ne($,M,P,K){return ue(q(M,$.length-P),$,P,K)}function Te($,M,P,K){return ue(U(M),$,P,K)}function be($,M,P,K){return ue(ye(M),$,P,K)}function Re($,M,P,K){return ue(H(M,$.length-P),$,P,K)}u.prototype.write=function(M,P,K,ve){if(P===void 0)ve="utf8",K=this.length,P=0;else if(K===void 0&&typeof P=="string")ve=P,K=this.length,P=0;else if(isFinite(P))P=P>>>0,isFinite(K)?(K=K>>>0,ve===void 0&&(ve="utf8")):(ve=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var tt=this.length-P;if((K===void 0||K>tt)&&(K=tt),M.length>0&&(K<0||P<0)||P>this.length)throw new RangeError("Attempt to write outside buffer bounds");ve||(ve="utf8");for(var st=!1;;)switch(ve){case"hex":return j(this,M,P,K);case"utf8":case"utf-8":return ne(this,M,P,K);case"ascii":case"latin1":case"binary":return Te(this,M,P,K);case"base64":return be(this,M,P,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Re(this,M,P,K);default:if(st)throw new TypeError("Unknown encoding: "+ve);ve=(""+ve).toLowerCase(),st=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function De($,M,P){return M===0&&P===$.length?t.fromByteArray($):t.fromByteArray($.slice(M,P))}function Le($,M,P){P=Math.min($.length,P);for(var K=[],ve=M;ve<P;){var tt=$[ve],st=null,sr=tt>239?4:tt>223?3:tt>191?2:1;if(ve+sr<=P){var yr,_r,Zr,Cr;switch(sr){case 1:tt<128&&(st=tt);break;case 2:yr=$[ve+1],(yr&192)===128&&(Cr=(tt&31)<<6|yr&63,Cr>127&&(st=Cr));break;case 3:yr=$[ve+1],_r=$[ve+2],(yr&192)===128&&(_r&192)===128&&(Cr=(tt&15)<<12|(yr&63)<<6|_r&63,Cr>2047&&(Cr<55296||Cr>57343)&&(st=Cr));break;case 4:yr=$[ve+1],_r=$[ve+2],Zr=$[ve+3],(yr&192)===128&&(_r&192)===128&&(Zr&192)===128&&(Cr=(tt&15)<<18|(yr&63)<<12|(_r&63)<<6|Zr&63,Cr>65535&&Cr<1114112&&(st=Cr))}}st===null?(st=65533,sr=1):st>65535&&(st-=65536,K.push(st>>>10&1023|55296),st=56320|st&1023),K.push(st),ve+=sr}return it(K)}var We=4096;function it($){var M=$.length;if(M<=We)return String.fromCharCode.apply(String,$);for(var P="",K=0;K<M;)P+=String.fromCharCode.apply(String,$.slice(K,K+=We));return P}function Ie($,M,P){var K="";P=Math.min($.length,P);for(var ve=M;ve<P;++ve)K+=String.fromCharCode($[ve]&127);return K}function Ve($,M,P){var K="";P=Math.min($.length,P);for(var ve=M;ve<P;++ve)K+=String.fromCharCode($[ve]);return K}function Mt($,M,P){var K=$.length;(!M||M<0)&&(M=0),(!P||P<0||P>K)&&(P=K);for(var ve="",tt=M;tt<P;++tt)ve+=Vt[$[tt]];return ve}function pt($,M,P){for(var K=$.slice(M,P),ve="",tt=0;tt<K.length-1;tt+=2)ve+=String.fromCharCode(K[tt]+K[tt+1]*256);return ve}u.prototype.slice=function(M,P){var K=this.length;M=~~M,P=P===void 0?K:~~P,M<0?(M+=K,M<0&&(M=0)):M>K&&(M=K),P<0?(P+=K,P<0&&(P=0)):P>K&&(P=K),P<M&&(P=M);var ve=this.subarray(M,P);return Object.setPrototypeOf(ve,u.prototype),ve};function xe($,M,P){if($%1!==0||$<0)throw new RangeError("offset is not uint");if($+M>P)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(M,P,K){M=M>>>0,P=P>>>0,K||xe(M,P,this.length);for(var ve=this[M],tt=1,st=0;++st<P&&(tt*=256);)ve+=this[M+st]*tt;return ve},u.prototype.readUintBE=u.prototype.readUIntBE=function(M,P,K){M=M>>>0,P=P>>>0,K||xe(M,P,this.length);for(var ve=this[M+--P],tt=1;P>0&&(tt*=256);)ve+=this[M+--P]*tt;return ve},u.prototype.readUint8=u.prototype.readUInt8=function(M,P){return M=M>>>0,P||xe(M,1,this.length),this[M]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(M,P){return M=M>>>0,P||xe(M,2,this.length),this[M]|this[M+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(M,P){return M=M>>>0,P||xe(M,2,this.length),this[M]<<8|this[M+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),(this[M]|this[M+1]<<8|this[M+2]<<16)+this[M+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),this[M]*16777216+(this[M+1]<<16|this[M+2]<<8|this[M+3])},u.prototype.readIntLE=function(M,P,K){M=M>>>0,P=P>>>0,K||xe(M,P,this.length);for(var ve=this[M],tt=1,st=0;++st<P&&(tt*=256);)ve+=this[M+st]*tt;return tt*=128,ve>=tt&&(ve-=Math.pow(2,8*P)),ve},u.prototype.readIntBE=function(M,P,K){M=M>>>0,P=P>>>0,K||xe(M,P,this.length);for(var ve=P,tt=1,st=this[M+--ve];ve>0&&(tt*=256);)st+=this[M+--ve]*tt;return tt*=128,st>=tt&&(st-=Math.pow(2,8*P)),st},u.prototype.readInt8=function(M,P){return M=M>>>0,P||xe(M,1,this.length),this[M]&128?(255-this[M]+1)*-1:this[M]},u.prototype.readInt16LE=function(M,P){M=M>>>0,P||xe(M,2,this.length);var K=this[M]|this[M+1]<<8;return K&32768?K|4294901760:K},u.prototype.readInt16BE=function(M,P){M=M>>>0,P||xe(M,2,this.length);var K=this[M+1]|this[M]<<8;return K&32768?K|4294901760:K},u.prototype.readInt32LE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),this[M]|this[M+1]<<8|this[M+2]<<16|this[M+3]<<24},u.prototype.readInt32BE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),this[M]<<24|this[M+1]<<16|this[M+2]<<8|this[M+3]},u.prototype.readFloatLE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),r.read(this,M,!0,23,4)},u.prototype.readFloatBE=function(M,P){return M=M>>>0,P||xe(M,4,this.length),r.read(this,M,!1,23,4)},u.prototype.readDoubleLE=function(M,P){return M=M>>>0,P||xe(M,8,this.length),r.read(this,M,!0,52,8)},u.prototype.readDoubleBE=function(M,P){return M=M>>>0,P||xe(M,8,this.length),r.read(this,M,!1,52,8)};function Ye($,M,P,K,ve,tt){if(!u.isBuffer($))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ve||M<tt)throw new RangeError('"value" argument is out of bounds');if(P+K>$.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(M,P,K,ve){if(M=+M,P=P>>>0,K=K>>>0,!ve){var tt=Math.pow(2,8*K)-1;Ye(this,M,P,K,tt,0)}var st=1,sr=0;for(this[P]=M&255;++sr<K&&(st*=256);)this[P+sr]=M/st&255;return P+K},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(M,P,K,ve){if(M=+M,P=P>>>0,K=K>>>0,!ve){var tt=Math.pow(2,8*K)-1;Ye(this,M,P,K,tt,0)}var st=K-1,sr=1;for(this[P+st]=M&255;--st>=0&&(sr*=256);)this[P+st]=M/sr&255;return P+K},u.prototype.writeUint8=u.prototype.writeUInt8=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,1,255,0),this[P]=M&255,P+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,2,65535,0),this[P]=M&255,this[P+1]=M>>>8,P+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,2,65535,0),this[P]=M>>>8,this[P+1]=M&255,P+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,4,4294967295,0),this[P+3]=M>>>24,this[P+2]=M>>>16,this[P+1]=M>>>8,this[P]=M&255,P+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,4,4294967295,0),this[P]=M>>>24,this[P+1]=M>>>16,this[P+2]=M>>>8,this[P+3]=M&255,P+4},u.prototype.writeIntLE=function(M,P,K,ve){if(M=+M,P=P>>>0,!ve){var tt=Math.pow(2,8*K-1);Ye(this,M,P,K,tt-1,-tt)}var st=0,sr=1,yr=0;for(this[P]=M&255;++st<K&&(sr*=256);)M<0&&yr===0&&this[P+st-1]!==0&&(yr=1),this[P+st]=(M/sr>>0)-yr&255;return P+K},u.prototype.writeIntBE=function(M,P,K,ve){if(M=+M,P=P>>>0,!ve){var tt=Math.pow(2,8*K-1);Ye(this,M,P,K,tt-1,-tt)}var st=K-1,sr=1,yr=0;for(this[P+st]=M&255;--st>=0&&(sr*=256);)M<0&&yr===0&&this[P+st+1]!==0&&(yr=1),this[P+st]=(M/sr>>0)-yr&255;return P+K},u.prototype.writeInt8=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,1,127,-128),M<0&&(M=255+M+1),this[P]=M&255,P+1},u.prototype.writeInt16LE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,2,32767,-32768),this[P]=M&255,this[P+1]=M>>>8,P+2},u.prototype.writeInt16BE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,2,32767,-32768),this[P]=M>>>8,this[P+1]=M&255,P+2},u.prototype.writeInt32LE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,4,2147483647,-2147483648),this[P]=M&255,this[P+1]=M>>>8,this[P+2]=M>>>16,this[P+3]=M>>>24,P+4},u.prototype.writeInt32BE=function(M,P,K){return M=+M,P=P>>>0,K||Ye(this,M,P,4,2147483647,-2147483648),M<0&&(M=4294967295+M+1),this[P]=M>>>24,this[P+1]=M>>>16,this[P+2]=M>>>8,this[P+3]=M&255,P+4};function lt($,M,P,K,ve,tt){if(P+K>$.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("Index out of range")}function Ue($,M,P,K,ve){return M=+M,P=P>>>0,ve||lt($,M,P,4),r.write($,M,P,K,23,4),P+4}u.prototype.writeFloatLE=function(M,P,K){return Ue(this,M,P,!0,K)},u.prototype.writeFloatBE=function(M,P,K){return Ue(this,M,P,!1,K)};function vt($,M,P,K,ve){return M=+M,P=P>>>0,ve||lt($,M,P,8),r.write($,M,P,K,52,8),P+8}u.prototype.writeDoubleLE=function(M,P,K){return vt(this,M,P,!0,K)},u.prototype.writeDoubleBE=function(M,P,K){return vt(this,M,P,!1,K)},u.prototype.copy=function(M,P,K,ve){if(!u.isBuffer(M))throw new TypeError("argument should be a Buffer");if(K||(K=0),!ve&&ve!==0&&(ve=this.length),P>=M.length&&(P=M.length),P||(P=0),ve>0&&ve<K&&(ve=K),ve===K||M.length===0||this.length===0)return 0;if(P<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(ve<0)throw new RangeError("sourceEnd out of bounds");ve>this.length&&(ve=this.length),M.length-P<ve-K&&(ve=M.length-P+K);var tt=ve-K;return this===M&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(P,K,ve):Uint8Array.prototype.set.call(M,this.subarray(K,ve),P),tt},u.prototype.fill=function(M,P,K,ve){if(typeof M=="string"){if(typeof P=="string"?(ve=P,P=0,K=this.length):typeof K=="string"&&(ve=K,K=this.length),ve!==void 0&&typeof ve!="string")throw new TypeError("encoding must be a string");if(typeof ve=="string"&&!u.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);if(M.length===1){var tt=M.charCodeAt(0);(ve==="utf8"&&tt<128||ve==="latin1")&&(M=tt)}}else typeof M=="number"?M=M&255:typeof M=="boolean"&&(M=Number(M));if(P<0||this.length<P||this.length<K)throw new RangeError("Out of range index");if(K<=P)return this;P=P>>>0,K=K===void 0?this.length:K>>>0,M||(M=0);var st;if(typeof M=="number")for(st=P;st<K;++st)this[st]=M;else{var sr=u.isBuffer(M)?M:u.from(M,ve),yr=sr.length;if(yr===0)throw new TypeError('The value "'+M+'" is invalid for argument "value"');for(st=0;st<K-P;++st)this[st+P]=sr[st%yr]}return this};var Rt=/[^+/0-9A-Za-z-_]/g;function Xt($){if($=$.split("=")[0],$=$.trim().replace(Rt,""),$.length<2)return"";for(;$.length%4!==0;)$=$+"=";return $}function q($,M){M=M||1/0;for(var P,K=$.length,ve=null,tt=[],st=0;st<K;++st){if(P=$.charCodeAt(st),P>55295&&P<57344){if(!ve){if(P>56319){(M-=3)>-1&&tt.push(239,191,189);continue}else if(st+1===K){(M-=3)>-1&&tt.push(239,191,189);continue}ve=P;continue}if(P<56320){(M-=3)>-1&&tt.push(239,191,189),ve=P;continue}P=(ve-55296<<10|P-56320)+65536}else ve&&(M-=3)>-1&&tt.push(239,191,189);if(ve=null,P<128){if((M-=1)<0)break;tt.push(P)}else if(P<2048){if((M-=2)<0)break;tt.push(P>>6|192,P&63|128)}else if(P<65536){if((M-=3)<0)break;tt.push(P>>12|224,P>>6&63|128,P&63|128)}else if(P<1114112){if((M-=4)<0)break;tt.push(P>>18|240,P>>12&63|128,P>>6&63|128,P&63|128)}else throw new Error("Invalid code point")}return tt}function U($){for(var M=[],P=0;P<$.length;++P)M.push($.charCodeAt(P)&255);return M}function H($,M){for(var P,K,ve,tt=[],st=0;st<$.length&&!((M-=2)<0);++st)P=$.charCodeAt(st),K=P>>8,ve=P%256,tt.push(ve),tt.push(K);return tt}function ye($){return t.toByteArray(Xt($))}function ue($,M,P,K){for(var ve=0;ve<K&&!(ve+P>=M.length||ve>=$.length);++ve)M[ve+P]=$[ve];return ve}function Ge($,M){return $ instanceof M||$!=null&&$.constructor!=null&&$.constructor.name!=null&&$.constructor.name===M.name}function St($){return $!==$}var Vt=function(){for(var $="0123456789abcdef",M=new Array(256),P=0;P<16;++P)for(var K=P*16,ve=0;ve<16;++ve)M[K+ve]=$[P]+$[ve];return M}()})(e6);var mu=Hr,On=cre,r6=e6.Buffer;Zt.__TYPEDARRAY_POOL||(Zt.__TYPEDARRAY_POOL={UINT8:On([32,0]),UINT16:On([32,0]),UINT32:On([32,0]),BIGUINT64:On([32,0]),INT8:On([32,0]),INT16:On([32,0]),INT32:On([32,0]),BIGINT64:On([32,0]),FLOAT:On([32,0]),DOUBLE:On([32,0]),DATA:On([32,0]),UINT8C:On([32,0]),BUFFER:On([32,0])});var xre=typeof Uint8ClampedArray<"u",wre=typeof BigUint64Array<"u",_re=typeof BigInt64Array<"u",Kr=Zt.__TYPEDARRAY_POOL;Kr.UINT8C||(Kr.UINT8C=On([32,0]));Kr.BIGUINT64||(Kr.BIGUINT64=On([32,0]));Kr.BIGINT64||(Kr.BIGINT64=On([32,0]));Kr.BUFFER||(Kr.BUFFER=On([32,0]));var py=Kr.DATA,vy=Kr.BUFFER;vr.free=function(t){if(r6.isBuffer(t))vy[mu.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=mu.log2(r)|0;py[n].push(t)}};function n6(e){if(e){var t=e.length||e.byteLength,r=mu.log2(t);py[r].push(e)}}function Sre(e){n6(e.buffer)}vr.freeUint8=vr.freeUint16=vr.freeUint32=vr.freeBigUint64=vr.freeInt8=vr.freeInt16=vr.freeInt32=vr.freeBigInt64=vr.freeFloat32=vr.freeFloat=vr.freeFloat64=vr.freeDouble=vr.freeUint8Clamped=vr.freeDataView=Sre;vr.freeArrayBuffer=n6;vr.freeBuffer=function(t){vy[mu.log2(t.length)].push(t)};vr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return oi(t);switch(r){case"uint8":return GE(t);case"uint16":return i6(t);case"uint32":return a6(t);case"int8":return o6(t);case"int16":return u6(t);case"int32":return l6(t);case"float":case"float32":return s6(t);case"double":case"float64":return f6(t);case"uint8_clamped":return c6(t);case"bigint64":return d6(t);case"biguint64":return h6(t);case"buffer":return v6(t);case"data":case"dataview":return p6(t);default:return null}return null};function oi(t){var t=mu.nextPow2(t),r=mu.log2(t),n=py[r];return n.length>0?n.pop():new ArrayBuffer(t)}vr.mallocArrayBuffer=oi;function GE(e){return new Uint8Array(oi(e),0,e)}vr.mallocUint8=GE;function i6(e){return new Uint16Array(oi(2*e),0,e)}vr.mallocUint16=i6;function a6(e){return new Uint32Array(oi(4*e),0,e)}vr.mallocUint32=a6;function o6(e){return new Int8Array(oi(e),0,e)}vr.mallocInt8=o6;function u6(e){return new Int16Array(oi(2*e),0,e)}vr.mallocInt16=u6;function l6(e){return new Int32Array(oi(4*e),0,e)}vr.mallocInt32=l6;function s6(e){return new Float32Array(oi(4*e),0,e)}vr.mallocFloat32=vr.mallocFloat=s6;function f6(e){return new Float64Array(oi(8*e),0,e)}vr.mallocFloat64=vr.mallocDouble=f6;function c6(e){return xre?new Uint8ClampedArray(oi(e),0,e):GE(e)}vr.mallocUint8Clamped=c6;function h6(e){return wre?new BigUint64Array(oi(8*e),0,e):null}vr.mallocBigUint64=h6;function d6(e){return _re?new BigInt64Array(oi(8*e),0,e):null}vr.mallocBigInt64=d6;function p6(e){return new DataView(oi(e),0,e)}vr.mallocDataView=p6;function v6(e){e=mu.nextPow2(e);var t=mu.log2(e),r=vy[t];return r.length>0?r.pop():new r6(e)}vr.mallocBuffer=v6;vr.clearCache=function(){for(var t=0;t<32;++t)Kr.UINT8[t].length=0,Kr.UINT16[t].length=0,Kr.UINT32[t].length=0,Kr.INT8[t].length=0,Kr.INT16[t].length=0,Kr.INT32[t].length=0,Kr.FLOAT[t].length=0,Kr.DOUBLE[t].length=0,Kr.BIGUINT64[t].length=0,Kr.BIGINT64[t].length=0,Kr.UINT8C[t].length=0,py[t].length=0,vy[t].length=0};var m6=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},Ere=m6,Are=g6,Lh=96;function b2(e,t){var r=Ere(getComputedStyle(e).getPropertyValue(t));return r[0]*g6(r[1],e)}function Cre(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=b2(r,"font-size")/128;return t.removeChild(r),n}function g6(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 Cre(e,t);case"em":return b2(t,"font-size");case"rem":return b2(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 Lh;case"cm":return Lh/2.54;case"mm":return Lh/25.4;case"pt":return Lh/72;case"pc":return Lh/6}return 1}var Tre=my,Ore=my.canvas=document.createElement("canvas"),R0=Ore.getContext("2d"),y6=cg([32,126]);my.createPairs=cg;my.ascii=y6;function my(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=cg(t):Array.isArray(t)?n=t:(t.o?n=cg(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=y6),R0.font=i+"px "+e;for(var o=0;o<n.length;o++){var u=n[o],s=R0.measureText(u[0]).width+R0.measureText(u[1]).width,c=R0.measureText(u).width;if(Math.abs(s-c)>i*a){var d=(c-s)/i;r[u]=d*1e3}}return r}function cg(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 Mre=Wo;Wo.canvas=document.createElement("canvas");Wo.cache={};function Wo(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,u=t.origin||"top";if(Wo.cache[r]&&n<=Wo.cache[r].em)return $M(Wo.cache[r],u);var s=t.canvas||Wo.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"},g=Math.ceil(n*1.5);s.height=g,s.width=g*.5,c.font=o;var v="H",y={top:0};c.clearRect(0,0,g,g),c.textBaseline="top",c.fillStyle="black",c.fillText(v,0,0);var A=da(c.getImageData(0,0,g,g));c.clearRect(0,0,g,g),c.textBaseline="bottom",c.fillText(v,0,g);var E=da(c.getImageData(0,0,g,g));y.lineHeight=y.bottom=g-E+A,c.clearRect(0,0,g,g),c.textBaseline="alphabetic",c.fillText(v,0,g);var w=da(c.getImageData(0,0,g,g)),x=g-w-1+A;y.baseline=y.alphabetic=x,c.clearRect(0,0,g,g),c.textBaseline="middle",c.fillText(v,0,g*.5);var _=da(c.getImageData(0,0,g,g));y.median=y.middle=g-_-1+A-g*.5,c.clearRect(0,0,g,g),c.textBaseline="hanging",c.fillText(v,0,g*.5);var T=da(c.getImageData(0,0,g,g));y.hanging=g-T-1+A-g*.5,c.clearRect(0,0,g,g),c.textBaseline="ideographic",c.fillText(v,0,g);var C=da(c.getImageData(0,0,g,g));if(y.ideographic=g-C-1+A,d.upper&&(c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.upper,0,0),y.upper=da(c.getImageData(0,0,g,g)),y.capHeight=y.baseline-y.upper),d.lower&&(c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.lower,0,0),y.lower=da(c.getImageData(0,0,g,g)),y.xHeight=y.baseline-y.lower),d.tittle&&(c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.tittle,0,0),y.tittle=da(c.getImageData(0,0,g,g))),d.ascent&&(c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.ascent,0,0),y.ascent=da(c.getImageData(0,0,g,g))),d.descent&&(c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.descent,0,0),y.descent=DM(c.getImageData(0,0,g,g))),d.overshoot){c.clearRect(0,0,g,g),c.textBaseline="top",c.fillText(d.overshoot,0,0);var R=DM(c.getImageData(0,0,g,g));y.overshoot=R-x}for(var N in y)y[N]/=n;return y.em=n,Wo.cache[r]=y,$M(y,u)}function $M(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 da(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 DM(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 Us=Jte,kre=Su,Rre=ere,Ire=rre,Pre=zN,aw=sy,Fre=ure,zo=vr,Nre=ly,Lre=TN,$re=m6,Dre=Are,Bre=Tre,zre=Fl,Ure=Mre,jre=wp,Gre=Hr,BM=Gre.nextPow2,zM=new Pre,cm=!1;if(document.body){var ow=document.body.appendChild(document.createElement("div"));ow.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(ow).fontStretch&&(cm=!0),document.body.removeChild(ow)}var xr=function(t){Hre(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=Ire(t),this.shader=zM.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||Rre({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(),zM.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(Lre(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:`
|
|
1105
|
+
precision highp float;
|
|
1106
|
+
attribute float width, charOffset, char;
|
|
1107
|
+
attribute vec2 position;
|
|
1108
|
+
uniform float fontSize, charStep, em, align, baseline;
|
|
1109
|
+
uniform vec4 viewport;
|
|
1110
|
+
uniform vec4 color;
|
|
1111
|
+
uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
|
|
1112
|
+
varying vec2 charCoord, charId;
|
|
1113
|
+
varying float charWidth;
|
|
1114
|
+
varying vec4 fontColor;
|
|
1115
|
+
void main () {
|
|
1116
|
+
vec2 offset = floor(em * (vec2(align + charOffset, baseline)
|
|
1117
|
+
+ vec2(positionOffset.x, -positionOffset.y)))
|
|
1118
|
+
/ (viewport.zw * scale.xy);
|
|
1119
|
+
|
|
1120
|
+
vec2 position = (position + translate) * scale;
|
|
1121
|
+
position += offset * scale;
|
|
1122
|
+
|
|
1123
|
+
charCoord = position * viewport.zw + viewport.xy;
|
|
1124
|
+
|
|
1125
|
+
gl_Position = vec4(position * 2. - 1., 0, 1);
|
|
1126
|
+
|
|
1127
|
+
gl_PointSize = charStep;
|
|
1128
|
+
|
|
1129
|
+
charId.x = mod(char, atlasDim.x);
|
|
1130
|
+
charId.y = floor(char / atlasDim.x);
|
|
1131
|
+
|
|
1132
|
+
charWidth = width * em;
|
|
1133
|
+
|
|
1134
|
+
fontColor = color / 255.;
|
|
1135
|
+
}`,frag:`
|
|
1136
|
+
precision highp float;
|
|
1137
|
+
uniform float fontSize, charStep, opacity;
|
|
1138
|
+
uniform vec2 atlasSize;
|
|
1139
|
+
uniform vec4 viewport;
|
|
1140
|
+
uniform sampler2D atlas;
|
|
1141
|
+
varying vec4 fontColor;
|
|
1142
|
+
varying vec2 charCoord, charId;
|
|
1143
|
+
varying float charWidth;
|
|
1144
|
+
|
|
1145
|
+
float lightness(vec4 color) {
|
|
1146
|
+
return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
void main () {
|
|
1150
|
+
vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
|
|
1151
|
+
float halfCharStep = floor(charStep * .5 + .5);
|
|
1152
|
+
|
|
1153
|
+
// invert y and shift by 1px (FF expecially needs that)
|
|
1154
|
+
uv.y = charStep - uv.y;
|
|
1155
|
+
|
|
1156
|
+
// ignore points outside of character bounding box
|
|
1157
|
+
float halfCharWidth = ceil(charWidth * .5);
|
|
1158
|
+
if (floor(uv.x) > halfCharStep + halfCharWidth ||
|
|
1159
|
+
floor(uv.x) < halfCharStep - halfCharWidth) return;
|
|
1160
|
+
|
|
1161
|
+
uv += charId * charStep;
|
|
1162
|
+
uv = uv / atlasSize;
|
|
1163
|
+
|
|
1164
|
+
vec4 color = fontColor;
|
|
1165
|
+
vec4 mask = texture2D(atlas, uv);
|
|
1166
|
+
|
|
1167
|
+
float maskY = lightness(mask);
|
|
1168
|
+
// float colorY = lightness(color);
|
|
1169
|
+
color.a *= maskY;
|
|
1170
|
+
color.a *= opacity;
|
|
1171
|
+
|
|
1172
|
+
// color.a += .1;
|
|
1173
|
+
|
|
1174
|
+
// antialiasing, see yiq color space y-channel formula
|
|
1175
|
+
// color.rgb += (1. - color.rgb) * (1. - mask.rgb);
|
|
1176
|
+
|
|
1177
|
+
gl_FragColor = color;
|
|
1178
|
+
}`}),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=kre(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(Ue){return parseFloat(Ue)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=Nre(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=jre(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(Ue,vt){if(typeof Ue=="string")try{Ue=Us.parse(Ue)}catch{Ue=Us.parse(xr.baseFontSize+"px "+Ue)}else Ue=Us.parse(Us.stringify(Ue));var Rt=Us.stringify({size:xr.baseFontSize,family:Ue.family,stretch:cm?Ue.stretch:void 0,variant:Ue.variant,weight:Ue.weight,style:Ue.style}),Xt=$re(Ue.size),q=Math.round(Xt[0]*Dre(Xt[1]));if(q!==r.fontSize[vt]&&(i=!0,r.fontSize[vt]=q),(!r.font[vt]||Rt!=r.font[vt].baseString)&&(n=!0,r.font[vt]=xr.fonts[Rt],!r.font[vt])){var U=Ue.family.join(", "),H=[Ue.style];Ue.style!=Ue.variant&&H.push(Ue.variant),Ue.variant!=Ue.weight&&H.push(Ue.weight),cm&&Ue.weight!=Ue.stretch&&H.push(Ue.stretch),r.font[vt]={baseString:Rt,family:U,weight:Ue.weight,stretch:Ue.stretch,style:Ue.style,variant:Ue.variant,width:{},kerning:{},metrics:Ure(U,{origin:"top",fontSize:xr.baseFontSize,fontStyle:H.join(" ")})},xr.fonts[Rt]=r.font[vt]}}),(n||i)&&this.font.forEach(function(Ue,vt){var Rt=Us.stringify({size:r.fontSize[vt],family:Ue.family,stretch:cm?Ue.stretch:void 0,variant:Ue.variant,weight:Ue.weight,style:Ue.style});if(r.fontAtlas[vt]=r.shader.atlas[Rt],!r.fontAtlas[vt]){var Xt=Ue.metrics;r.shader.atlas[Rt]=r.fontAtlas[vt]={fontString:Rt,step:Math.ceil(r.fontSize[vt]*Xt.bottom*.5)*2,em:r.fontSize[vt],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 u;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];u=[],this.font.forEach(function(Ue,vt){xr.atlasContext.font=Ue.baseString;for(var Rt=r.fontAtlas[vt],Xt=0;Xt<r.text.length;Xt++){var q=r.text.charAt(Xt);if(Rt.ids[q]==null&&(Rt.ids[q]=Rt.chars.length,Rt.chars.push(q),u.push(q)),Ue.width[q]==null&&(Ue.width[q]=xr.atlasContext.measureText(q).width/xr.baseFontSize,r.kerning)){var U=[];for(var H in Ue.width)U.push(H+q,q+H);zre(Ue.kerning,Bre(Ue.family,{pairs:U}))}}})}if(t.position)if(t.position.length>2){for(var c=!t.position[0].length,d=zo.mallocFloat(this.count*2),g=0,v=0;g<this.counts.length;g++){var y=this.counts[g];if(c)for(var A=0;A<y;A++)d[v++]=t.position[g*2],d[v++]=t.position[g*2+1];else for(var E=0;E<y;E++)d[v++]=t.position[g][0],d[v++]=t.position[g][1]}this.position.call?this.position({type:"float",data:d}):this.position=this.regl.buffer({type:"float",data:d}),zo.freeFloat(d)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var w=zo.mallocUint8(this.count),x=zo.mallocFloat(this.count*2);this.textWidth=[];for(var _=0,T=0;_<this.counts.length;_++){for(var C=this.counts[_],R=this.font[_]||this.font[0],N=this.fontAtlas[_]||this.fontAtlas[0],V=0;V<C;V++){var j=this.text.charAt(T),ne=this.text.charAt(T-1);if(w[T]=N.ids[j],x[T*2]=R.width[j],V){var Te=x[T*2-2],be=x[T*2],Re=x[T*2-1],De=Re+Te*.5+be*.5;if(this.kerning){var Le=R.kerning[ne+j];Le&&(De+=Le*.001)}x[T*2+1]=De}else x[T*2+1]=x[T*2]*.5;T++}this.textWidth.push(x.length?x[T*2-2]*.5+x[T*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:w,type:"uint8",usage:"stream"}),this.sizeBuffer({data:x,type:"float",usage:"stream"}),zo.freeUint8(w),zo.freeFloat(x),u.length&&this.font.forEach(function(Ue,vt){var Rt=r.fontAtlas[vt],Xt=Rt.step,q=Math.floor(xr.maxAtlasSize/Xt),U=Math.min(q,Rt.chars.length),H=Math.ceil(Rt.chars.length/U),ye=BM(U*Xt),ue=BM(H*Xt);Rt.width=ye,Rt.height=ue,Rt.rows=H,Rt.cols=U,Rt.em&&Rt.texture({data:Fre({canvas:xr.atlasCanvas,font:Rt.fontString,chars:Rt.chars,shape:[ye,ue],step:[Xt,Xt]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(Ue,vt){var Rt=Array.isArray(r.align)?r.align.length>1?r.align[vt]:r.align[0]:r.align;if(typeof Rt=="number")return Rt;switch(Rt){case"right":case"end":return-Ue;case"center":case"centre":case"middle":return-Ue*.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(Ue,vt){var Rt=(r.font[vt]||r.font[0]).metrics,Xt=0;return Xt+=Rt.bottom*.5,typeof Ue=="number"?Xt+=Ue-Rt.baseline:Xt+=-Rt[Ue],Xt*=-1,Xt})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=aw(t.color,"uint8");else{var We;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var it=t.color.length;We=zo.mallocUint8(it);for(var Ie=(t.color.subarray||t.color.slice).bind(t.color),Ve=0;Ve<it;Ve+=4)We.set(aw(Ie(Ve,Ve+4),"uint8"),Ve)}else{var Mt=t.color.length;We=zo.mallocUint8(Mt*4);for(var pt=0;pt<Mt;pt++)We.set(aw(t.color[pt]||0,"uint8"),pt*4)}this.color=We}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var xe=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(xe){var Ye=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(Ye);for(var lt=0;lt<this.batch.length;lt++)this.batch[lt]={count:this.counts.length>1?this.counts[lt]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[lt]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(lt*4,lt*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[lt]:this.opacity,baseline:this.baselineOffset[lt]!=null?this.baselineOffset[lt]:this.baselineOffset[0],align:this.align?this.alignOffset[lt]!=null?this.alignOffset[lt]:this.alignOffset[0]:0,atlas:this.fontAtlas[lt]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(lt*2,lt*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 Hre(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var $oe=xr;function Wre(e,t){return e.parent===t.parent?1:2}function qre(e){return e.reduce(Vre,0)/e.length}function Vre(e,t){return e+t.x}function Yre(e){return 1+e.reduce(Xre,0)}function Xre(e,t){return Math.max(e,t.y)}function Kre(e){for(var t;t=e.children;)e=t[0];return e}function Qre(e){for(var t;t=e.children;)e=t[t.length-1];return e}function Zre(){var e=Wre,t=1,r=1,n=!1;function i(a){var o,u=0;a.eachAfter(function(v){var y=v.children;y?(v.x=qre(y),v.y=Yre(y)):(v.x=o?u+=e(v,o):0,v.y=0,o=v)});var s=Kre(a),c=Qre(a),d=s.x-e(s,c)/2,g=c.x+e(c,s)/2;return a.eachAfter(n?function(v){v.x=(v.x-a.x)*t,v.y=(a.y-v.y)*r}:function(v){v.x=(v.x-d)/(g-d)*t,v.y=(1-(a.y?v.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 Jre(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 ene(){return this.eachAfter(Jre)}function tne(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 rne(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 nne(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 ine(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 ane(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function one(e){for(var t=this,r=une(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 une(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 lne(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function sne(){var e=[];return this.each(function(t){e.push(t)}),e}function fne(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function cne(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function HE(e,t){var r=new $f(e),n=+e.value&&(r.value=e.value),i,a=[r],o,u,s,c;for(t==null&&(t=dne);i=a.pop();)if(n&&(i.value=+i.data.value),(u=t(i.data))&&(c=u.length))for(i.children=new Array(c),s=c-1;s>=0;--s)a.push(o=i.children[s]=new $f(u[s])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(b6)}function hne(){return HE(this).eachBefore(pne)}function dne(e){return e.children}function pne(e){e.data=e.data.data}function b6(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function $f(e){this.data=e,this.depth=this.height=0,this.parent=null}$f.prototype=HE.prototype={constructor:$f,count:ene,each:tne,eachAfter:nne,eachBefore:rne,sum:ine,sort:ane,path:one,ancestors:lne,descendants:sne,leaves:fne,links:cne,copy:hne};var vne=Array.prototype.slice;function mne(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 x6(e){for(var t=0,r=(e=mne(vne.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&w6(a,i)?++t:(a=yne(n=gne(n,i)),t=0);return a}function gne(e,t){var r,n;if(uw(t,e))return[t];for(r=0;r<e.length;++r)if(I0(t,e[r])&&uw(Yh(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(I0(Yh(e[r],e[n]),t)&&I0(Yh(e[r],t),e[n])&&I0(Yh(e[n],t),e[r])&&uw(_6(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function I0(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 w6(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 uw(e,t){for(var r=0;r<t.length;++r)if(!w6(e,t[r]))return!1;return!0}function yne(e){switch(e.length){case 1:return bne(e[0]);case 2:return Yh(e[0],e[1]);case 3:return _6(e[0],e[1],e[2])}}function bne(e){return{x:e.x,y:e.y,r:e.r}}function Yh(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,u=t.r,s=a-r,c=o-n,d=u-i,g=Math.sqrt(s*s+c*c);return{x:(r+a+s/g*d)/2,y:(n+o+c/g*d)/2,r:(g+i+u)/2}}function _6(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,u=t.y,s=t.r,c=r.x,d=r.y,g=r.r,v=n-o,y=n-c,A=i-u,E=i-d,w=s-a,x=g-a,_=n*n+i*i-a*a,T=_-o*o-u*u+s*s,C=_-c*c-d*d+g*g,R=y*A-v*E,N=(A*C-E*T)/(R*2)-n,V=(E*w-A*x)/R,j=(y*T-v*C)/(R*2)-i,ne=(v*x-y*w)/R,Te=V*V+ne*ne-1,be=2*(a+N*V+j*ne),Re=N*N+j*j-a*a,De=-(Te?(be+Math.sqrt(be*be-4*Te*Re))/(2*Te):Re/be);return{x:n+N+V*De,y:i+j+ne*De,r:De}}function UM(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,u,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),u=Math.sqrt(Math.max(0,s/c-i*i)),r.x=e.x-i*n-u*o,r.y=e.y-i*o+u*n):(i=(c+a-s)/(2*c),u=Math.sqrt(Math.max(0,a/c-i*i)),r.x=t.x+i*n-u*o,r.y=t.y+i*o+u*n)):(r.x=t.x+r.r,r.y=t.y)}function jM(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 GM(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 P0(e){this._=e,this.next=null,this.previous=null}function S6(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,u,s,c,d,g;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;UM(r,t,n=e[2]),t=new P0(t),r=new P0(r),n=new P0(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(u=3;u<i;++u){UM(t._,r._,n=e[u]),n=new P0(n),s=r.next,c=t.previous,d=r._.r,g=t._.r;do if(d<=g){if(jM(s._,n._)){r=s,t.next=r,r.previous=t,--u;continue e}d+=s._.r,s=s.next}else{if(jM(c._,n._)){t=c,t.next=r,r.previous=t,--u;continue e}g+=c._.r,c=c.previous}while(s!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=GM(t);(n=n.next)!==r;)(o=GM(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=x6(t),u=0;u<i;++u)t=e[u],t.x-=n.x,t.y-=n.y;return n.r}function xne(e){return S6(e),e}function wne(e){return e==null?null:hg(e)}function hg(e){if(typeof e!="function")throw new Error;return e}function al(){return 0}function qs(e){return function(){return e}}function _ne(e){return Math.sqrt(e.value)}function Sne(){var e=null,t=1,r=1,n=al;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(HM(e)).eachAfter(lw(n,.5)).eachBefore(WM(1)):a.eachBefore(HM(_ne)).eachAfter(lw(al,1)).eachAfter(lw(n,a.r/Math.min(t,r))).eachBefore(WM(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=wne(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:qs(+a),i):n},i}function HM(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function lw(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,u;if(o)for(i=0;i<a;++i)n[i].r+=o;if(u=S6(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=u+o}}}function WM(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 E6(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 Sp(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,c=e.value&&(n-t)/e.value;++u<s;)o=a[u],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function Ene(){var e=1,t=1,r=0,n=!1;function i(o){var u=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/u,o.eachBefore(a(t,u)),n&&o.eachBefore(E6),o}function a(o,u){return function(s){s.children&&Sp(s,s.x0,o*(s.depth+1)/u,s.x1,o*(s.depth+2)/u);var c=s.x0,d=s.y0,g=s.x1-r,v=s.y1-r;g<c&&(c=g=(c+g)/2),v<d&&(d=v=(d+v)/2),s.x0=c,s.y0=d,s.x1=g,s.y1=v}}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 qM="$",Ane={depth:-1},VM={};function Cne(e){return e.id}function Tne(e){return e.parentId}function One(){var e=Cne,t=Tne;function r(n){var i,a,o=n.length,u,s,c,d=new Array(o),g,v,y={};for(a=0;a<o;++a)i=n[a],c=d[a]=new $f(i),(g=e(i,a,n))!=null&&(g+="")&&(v=qM+(c.id=g),y[v]=v in y?VM:c);for(a=0;a<o;++a)if(c=d[a],g=t(n[a],a,n),g==null||!(g+="")){if(u)throw new Error("multiple roots");u=c}else{if(s=y[qM+g],!s)throw new Error("missing: "+g);if(s===VM)throw new Error("ambiguous: "+g);s.children?s.children.push(c):s.children=[c],c.parent=s}if(!u)throw new Error("no root");if(u.parent=Ane,u.eachBefore(function(A){A.depth=A.parent.depth+1,--o}).eachBefore(b6),u.parent=null,o>0)throw new Error("cycle");return u}return r.id=function(n){return arguments.length?(e=hg(n),r):e},r.parentId=function(n){return arguments.length?(t=hg(n),r):t},r}function Mne(e,t){return e.parent===t.parent?1:2}function sw(e){var t=e.children;return t?t[0]:e.t}function fw(e){var t=e.children;return t?t[t.length-1]:e.t}function kne(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 Rne(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 Ine(e,t,r){return e.a.parent===t.parent?e.a:r}function hm(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}hm.prototype=Object.create($f.prototype);function Pne(e){for(var t=new hm(e,0),r,n=[t],i,a,o,u;r=n.pop();)if(a=r._.children)for(r.children=new Array(u=a.length),o=u-1;o>=0;--o)n.push(i=r.children[o]=new hm(a[o],o)),i.parent=r;return(t.parent=new hm(null,0)).children=[t],t}function Fne(){var e=Mne,t=1,r=1,n=null;function i(c){var d=Pne(c);if(d.eachAfter(a),d.parent.m=-d.z,d.eachBefore(o),n)c.eachBefore(s);else{var g=c,v=c,y=c;c.eachBefore(function(_){_.x<g.x&&(g=_),_.x>v.x&&(v=_),_.depth>y.depth&&(y=_)});var A=g===v?1:e(g,v)/2,E=A-g.x,w=t/(v.x+A+E),x=r/(y.depth||1);c.eachBefore(function(_){_.x=(_.x+E)*w,_.y=_.depth*x})}return c}function a(c){var d=c.children,g=c.parent.children,v=c.i?g[c.i-1]:null;if(d){Rne(c);var y=(d[0].z+d[d.length-1].z)/2;v?(c.z=v.z+e(c._,v._),c.m=c.z-y):c.z=y}else v&&(c.z=v.z+e(c._,v._));c.parent.A=u(c,v,c.parent.A||g[0])}function o(c){c._.x=c.z+c.parent.m,c.m+=c.parent.m}function u(c,d,g){if(d){for(var v=c,y=c,A=d,E=v.parent.children[0],w=v.m,x=y.m,_=A.m,T=E.m,C;A=fw(A),v=sw(v),A&&v;)E=sw(E),y=fw(y),y.a=c,C=A.z+_-v.z-w+e(A._,v._),C>0&&(kne(Ine(A,c,g),c,C),w+=C,x+=C),_+=A.m,w+=v.m,T+=E.m,x+=y.m;A&&!fw(y)&&(y.t=A,y.m+=_-x),v&&!sw(E)&&(E.t=v,E.m+=w-T,g=c)}return g}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 gy(e,t,r,n,i){for(var a=e.children,o,u=-1,s=a.length,c=e.value&&(i-r)/e.value;++u<s;)o=a[u],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*c}var A6=(1+Math.sqrt(5))/2;function C6(e,t,r,n,i,a){for(var o=[],u=t.children,s,c,d=0,g=0,v=u.length,y,A,E=t.value,w,x,_,T,C,R,N;d<v;){y=i-r,A=a-n;do w=u[g++].value;while(!w&&g<v);for(x=_=w,R=Math.max(A/y,y/A)/(E*e),N=w*w*R,C=Math.max(_/N,N/x);g<v;++g){if(w+=c=u[g].value,c<x&&(x=c),c>_&&(_=c),N=w*w*R,T=Math.max(_/N,N/x),T>C){w-=c;break}C=T}o.push(s={value:w,dice:y<A,children:u.slice(d,g)}),s.dice?Sp(s,r,n,i,E?n+=A*w/E:a):gy(s,r,n,E?r+=y*w/E:i,a),E-=w,d=g}return o}const T6=function e(t){function r(n,i,a,o,u){C6(t,n,i,a,o,u)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(A6);function Nne(){var e=T6,t=!1,r=1,n=1,i=[0],a=al,o=al,u=al,s=al,c=al;function d(v){return v.x0=v.y0=0,v.x1=r,v.y1=n,v.eachBefore(g),i=[0],t&&v.eachBefore(E6),v}function g(v){var y=i[v.depth],A=v.x0+y,E=v.y0+y,w=v.x1-y,x=v.y1-y;w<A&&(A=w=(A+w)/2),x<E&&(E=x=(E+x)/2),v.x0=A,v.y0=E,v.x1=w,v.y1=x,v.children&&(y=i[v.depth+1]=a(v)/2,A+=c(v)-y,E+=o(v)-y,w-=u(v)-y,x-=s(v)-y,w<A&&(A=w=(A+w)/2),x<E&&(E=x=(E+x)/2),e(v,A,E,w,x))}return d.round=function(v){return arguments.length?(t=!!v,d):t},d.size=function(v){return arguments.length?(r=+v[0],n=+v[1],d):[r,n]},d.tile=function(v){return arguments.length?(e=hg(v),d):e},d.padding=function(v){return arguments.length?d.paddingInner(v).paddingOuter(v):d.paddingInner()},d.paddingInner=function(v){return arguments.length?(a=typeof v=="function"?v:qs(+v),d):a},d.paddingOuter=function(v){return arguments.length?d.paddingTop(v).paddingRight(v).paddingBottom(v).paddingLeft(v):d.paddingTop()},d.paddingTop=function(v){return arguments.length?(o=typeof v=="function"?v:qs(+v),d):o},d.paddingRight=function(v){return arguments.length?(u=typeof v=="function"?v:qs(+v),d):u},d.paddingBottom=function(v){return arguments.length?(s=typeof v=="function"?v:qs(+v),d):s},d.paddingLeft=function(v){return arguments.length?(c=typeof v=="function"?v:qs(+v),d):c},d}function Lne(e,t,r,n,i){var a=e.children,o,u=a.length,s,c=new Array(u+1);for(c[0]=s=o=0;o<u;++o)c[o+1]=s+=a[o].value;d(0,u,e.value,t,r,n,i);function d(g,v,y,A,E,w,x){if(g>=v-1){var _=a[g];_.x0=A,_.y0=E,_.x1=w,_.y1=x;return}for(var T=c[g],C=y/2+T,R=g+1,N=v-1;R<N;){var V=R+N>>>1;c[V]<C?R=V+1:N=V}C-c[R-1]<c[R]-C&&g+1<R&&--R;var j=c[R]-T,ne=y-j;if(w-A>x-E){var Te=(A*ne+w*j)/y;d(g,R,j,A,E,Te,x),d(R,v,ne,Te,E,w,x)}else{var be=(E*ne+x*j)/y;d(g,R,j,A,E,w,be),d(R,v,ne,A,be,w,x)}}}function $ne(e,t,r,n,i){(e.depth&1?gy:Sp)(e,t,r,n,i)}const Dne=function e(t){function r(n,i,a,o,u){if((s=n._squarify)&&s.ratio===t)for(var s,c,d,g,v=-1,y,A=s.length,E=n.value;++v<A;){for(c=s[v],d=c.children,g=c.value=0,y=d.length;g<y;++g)c.value+=d[g].value;c.dice?Sp(c,i,a,o,a+=(u-a)*c.value/E):gy(c,i,a,i+=(o-i)*c.value/E,u),E-=c.value}else n._squarify=s=C6(t,n,i,a,o,u),s.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(A6),Bne=Object.freeze(Object.defineProperty({__proto__:null,cluster:Zre,hierarchy:HE,pack:Sne,packEnclose:x6,packSiblings:xne,partition:Ene,stratify:One,tree:Fne,treemap:Nne,treemapBinary:Lne,treemapDice:Sp,treemapResquarify:Dne,treemapSlice:gy,treemapSliceDice:$ne,treemapSquarify:T6},Symbol.toStringTag,{value:"Module"})),Doe=Pl(Bne);function Kf(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Ep(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Eu(){}var kl=.7,Df=1/kl,bf="\\s*([+-]?\\d+)\\s*",Wd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ea="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zne=/^#([0-9a-f]{3,8})$/,Une=new RegExp(`^rgb\\(${bf},${bf},${bf}\\)$`),jne=new RegExp(`^rgb\\(${Ea},${Ea},${Ea}\\)$`),Gne=new RegExp(`^rgba\\(${bf},${bf},${bf},${Wd}\\)$`),Hne=new RegExp(`^rgba\\(${Ea},${Ea},${Ea},${Wd}\\)$`),Wne=new RegExp(`^hsl\\(${Wd},${Ea},${Ea}\\)$`),qne=new RegExp(`^hsla\\(${Wd},${Ea},${Ea},${Wd}\\)$`),YM={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};Kf(Eu,qd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:XM,formatHex:XM,formatHex8:Vne,formatHsl:Yne,formatRgb:KM,toString:KM});function XM(){return this.rgb().formatHex()}function Vne(){return this.rgb().formatHex8()}function Yne(){return O6(this).formatHsl()}function KM(){return this.rgb().formatRgb()}function qd(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=zne.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?QM(t):r===3?new xn(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?F0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?F0(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=Une.exec(e))?new xn(t[1],t[2],t[3],1):(t=jne.exec(e))?new xn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Gne.exec(e))?F0(t[1],t[2],t[3],t[4]):(t=Hne.exec(e))?F0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Wne.exec(e))?ek(t[1],t[2]/100,t[3]/100,1):(t=qne.exec(e))?ek(t[1],t[2]/100,t[3]/100,t[4]):YM.hasOwnProperty(e)?QM(YM[e]):e==="transparent"?new xn(NaN,NaN,NaN,0):null}function QM(e){return new xn(e>>16&255,e>>8&255,e&255,1)}function F0(e,t,r,n){return n<=0&&(e=t=r=NaN),new xn(e,t,r,n)}function WE(e){return e instanceof Eu||(e=qd(e)),e?(e=e.rgb(),new xn(e.r,e.g,e.b,e.opacity)):new xn}function dg(e,t,r,n){return arguments.length===1?WE(e):new xn(e,t,r,n??1)}function xn(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Kf(xn,dg,Ep(Eu,{brighter(e){return e=e==null?Df:Math.pow(Df,e),new xn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?kl:Math.pow(kl,e),new xn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new xn(yl(this.r),yl(this.g),yl(this.b),pg(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ZM,formatHex:ZM,formatHex8:Xne,formatRgb:JM,toString:JM}));function ZM(){return`#${dl(this.r)}${dl(this.g)}${dl(this.b)}`}function Xne(){return`#${dl(this.r)}${dl(this.g)}${dl(this.b)}${dl((isNaN(this.opacity)?1:this.opacity)*255)}`}function JM(){const e=pg(this.opacity);return`${e===1?"rgb(":"rgba("}${yl(this.r)}, ${yl(this.g)}, ${yl(this.b)}${e===1?")":`, ${e})`}`}function pg(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function yl(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function dl(e){return e=yl(e),(e<16?"0":"")+e.toString(16)}function ek(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Qi(e,t,r,n)}function O6(e){if(e instanceof Qi)return new Qi(e.h,e.s,e.l,e.opacity);if(e instanceof Eu||(e=qd(e)),!e)return new Qi;if(e instanceof Qi)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,u=a-i,s=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new Qi(o,u,s,e.opacity)}function x2(e,t,r,n){return arguments.length===1?O6(e):new Qi(e,t,r,n??1)}function Qi(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Kf(Qi,x2,Ep(Eu,{brighter(e){return e=e==null?Df:Math.pow(Df,e),new Qi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?kl:Math.pow(kl,e),new Qi(this.h,this.s,this.l*e,this.opacity)},rgb(){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 xn(cw(e>=240?e-240:e+120,i,n),cw(e,i,n),cw(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Qi(tk(this.h),N0(this.s),N0(this.l),pg(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=pg(this.opacity);return`${e===1?"hsl(":"hsla("}${tk(this.h)}, ${N0(this.s)*100}%, ${N0(this.l)*100}%${e===1?")":`, ${e})`}`}}));function tk(e){return e=(e||0)%360,e<0?e+360:e}function N0(e){return Math.max(0,Math.min(1,e||0))}function cw(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const M6=Math.PI/180,k6=180/Math.PI,vg=18,R6=.96422,I6=1,P6=.82521,F6=4/29,xf=6/29,N6=3*xf*xf,Kne=xf*xf*xf;function L6(e){if(e instanceof Aa)return new Aa(e.l,e.a,e.b,e.opacity);if(e instanceof io)return $6(e);e instanceof xn||(e=WE(e));var t=vw(e.r),r=vw(e.g),n=vw(e.b),i=hw((.2225045*t+.7168786*r+.0606169*n)/I6),a,o;return t===r&&r===n?a=o=i:(a=hw((.4360747*t+.3850649*r+.1430804*n)/R6),o=hw((.0139322*t+.0971045*r+.7141733*n)/P6)),new Aa(116*i-16,500*(a-i),200*(i-o),e.opacity)}function w2(e,t,r,n){return arguments.length===1?L6(e):new Aa(e,t,r,n??1)}function Aa(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}Kf(Aa,w2,Ep(Eu,{brighter(e){return new Aa(this.l+vg*(e??1),this.a,this.b,this.opacity)},darker(e){return new Aa(this.l-vg*(e??1),this.a,this.b,this.opacity)},rgb(){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=R6*dw(t),e=I6*dw(e),r=P6*dw(r),new xn(pw(3.1338561*t-1.6168667*e-.4906146*r),pw(-.9787684*t+1.9161415*e+.033454*r),pw(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function hw(e){return e>Kne?Math.pow(e,1/3):e/N6+F6}function dw(e){return e>xf?e*e*e:N6*(e-F6)}function pw(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function vw(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Qne(e){if(e instanceof io)return new io(e.h,e.c,e.l,e.opacity);if(e instanceof Aa||(e=L6(e)),e.a===0&&e.b===0)return new io(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*k6;return new io(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function _2(e,t,r,n){return arguments.length===1?Qne(e):new io(e,t,r,n??1)}function io(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function $6(e){if(isNaN(e.h))return new Aa(e.l,0,0,e.opacity);var t=e.h*M6;return new Aa(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}Kf(io,_2,Ep(Eu,{brighter(e){return new io(this.h,this.c,this.l+vg*(e??1),this.opacity)},darker(e){return new io(this.h,this.c,this.l-vg*(e??1),this.opacity)},rgb(){return $6(this).rgb()}}));var D6=-.14861,qE=1.78277,VE=-.29227,yy=-.90649,Vd=1.97294,rk=Vd*yy,nk=Vd*qE,ik=qE*VE-yy*D6;function Zne(e){if(e instanceof bl)return new bl(e.h,e.s,e.l,e.opacity);e instanceof xn||(e=WE(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(ik*n+rk*t-nk*r)/(ik+rk-nk),a=n-i,o=(Vd*(r-i)-VE*a)/yy,u=Math.sqrt(o*o+a*a)/(Vd*i*(1-i)),s=u?Math.atan2(o,a)*k6-120:NaN;return new bl(s<0?s+360:s,u,i,e.opacity)}function S2(e,t,r,n){return arguments.length===1?Zne(e):new bl(e,t,r,n??1)}function bl(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Kf(bl,S2,Ep(Eu,{brighter(e){return e=e==null?Df:Math.pow(Df,e),new bl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?kl:Math.pow(kl,e),new bl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*M6,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new xn(255*(t+r*(D6*n+qE*i)),255*(t+r*(VE*n+yy*i)),255*(t+r*(Vd*n)),this.opacity)}}));function B6(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 z6(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,u=n<t-1?e[n+2]:2*a-i;return B6((r-n/t)*t,o,i,a,u)}}function U6(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],u=e[(n+2)%t];return B6((r-n/t)*t,i,a,o,u)}}const by=e=>()=>e;function j6(e,t){return function(r){return e+r*t}}function Jne(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 xy(e,t){var r=t-e;return r?j6(e,r>180||r<-180?r-360*Math.round(r/360):r):by(isNaN(e)?t:e)}function eie(e){return(e=+e)==1?wn:function(t,r){return r-t?Jne(t,r,e):by(isNaN(t)?r:t)}}function wn(e,t){var r=t-e;return r?j6(e,r):by(isNaN(e)?t:e)}const E2=function e(t){var r=eie(t);function n(i,a){var o=r((i=dg(i)).r,(a=dg(a)).r),u=r(i.g,a.g),s=r(i.b,a.b),c=wn(i.opacity,a.opacity);return function(d){return i.r=o(d),i.g=u(d),i.b=s(d),i.opacity=c(d),i+""}}return n.gamma=e,n}(1);function G6(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,u;for(o=0;o<r;++o)u=dg(t[o]),n[o]=u.r||0,i[o]=u.g||0,a[o]=u.b||0;return n=e(n),i=e(i),a=e(a),u.opacity=1,function(s){return u.r=n(s),u.g=i(s),u.b=a(s),u+""}}}var tie=G6(z6),rie=G6(U6);function YE(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 H6(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function nie(e,t){return(H6(t)?YE:W6)(e,t)}function W6(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]=wy(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function q6(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function ma(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function V6(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]=wy(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var A2=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mw=new RegExp(A2.source,"g");function iie(e){return function(){return e}}function aie(e){return function(t){return e(t)+""}}function Y6(e,t){var r=A2.lastIndex=mw.lastIndex=0,n,i,a,o=-1,u=[],s=[];for(e=e+"",t=t+"";(n=A2.exec(e))&&(i=mw.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:ma(n,i)})),r=mw.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?aie(s[0].x):iie(t):(t=s.length,function(c){for(var d=0,g;d<t;++d)u[(g=s[d]).i]=g.x(c);return u.join("")})}function wy(e,t){var r=typeof t,n;return t==null||r==="boolean"?by(t):(r==="number"?ma:r==="string"?(n=qd(t))?(t=n,E2):Y6:t instanceof qd?E2:t instanceof Date?q6:H6(t)?YE:Array.isArray(t)?W6:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?V6:ma)(e,t)}function oie(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function uie(e,t){var r=xy(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function lie(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var ak=180/Math.PI,C2={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function X6(e,t,r,n,i,a){var o,u,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*r+t*n)&&(r-=e*s,n-=t*s),(u=Math.sqrt(r*r+n*n))&&(r/=u,n/=u,s/=u),e*n<t*r&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*ak,skewX:Math.atan(s)*ak,scaleX:o,scaleY:u}}var L0;function sie(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?C2:X6(t.a,t.b,t.c,t.d,t.e,t.f)}function fie(e){return e==null||(L0||(L0=document.createElementNS("http://www.w3.org/2000/svg","g")),L0.setAttribute("transform",e),!(e=L0.transform.baseVal.consolidate()))?C2:(e=e.matrix,X6(e.a,e.b,e.c,e.d,e.e,e.f))}function K6(e,t,r,n){function i(c){return c.length?c.pop()+" ":""}function a(c,d,g,v,y,A){if(c!==g||d!==v){var E=y.push("translate(",null,t,null,r);A.push({i:E-4,x:ma(c,g)},{i:E-2,x:ma(d,v)})}else(g||v)&&y.push("translate("+g+t+v+r)}function o(c,d,g,v){c!==d?(c-d>180?d+=360:d-c>180&&(c+=360),v.push({i:g.push(i(g)+"rotate(",null,n)-2,x:ma(c,d)})):d&&g.push(i(g)+"rotate("+d+n)}function u(c,d,g,v){c!==d?v.push({i:g.push(i(g)+"skewX(",null,n)-2,x:ma(c,d)}):d&&g.push(i(g)+"skewX("+d+n)}function s(c,d,g,v,y,A){if(c!==g||d!==v){var E=y.push(i(y)+"scale(",null,",",null,")");A.push({i:E-4,x:ma(c,g)},{i:E-2,x:ma(d,v)})}else(g!==1||v!==1)&&y.push(i(y)+"scale("+g+","+v+")")}return function(c,d){var g=[],v=[];return c=e(c),d=e(d),a(c.translateX,c.translateY,d.translateX,d.translateY,g,v),o(c.rotate,d.rotate,g,v),u(c.skewX,d.skewX,g,v),s(c.scaleX,c.scaleY,d.scaleX,d.scaleY,g,v),c=d=null,function(y){for(var A=-1,E=v.length,w;++A<E;)g[(w=v[A]).i]=w.x(y);return g.join("")}}}var cie=K6(sie,"px, ","px)","deg)"),hie=K6(fie,", ",")",")"),die=1e-12;function ok(e){return((e=Math.exp(e))+1/e)/2}function pie(e){return((e=Math.exp(e))-1/e)/2}function vie(e){return((e=Math.exp(2*e))-1)/(e+1)}const mie=function e(t,r,n){function i(a,o){var u=a[0],s=a[1],c=a[2],d=o[0],g=o[1],v=o[2],y=d-u,A=g-s,E=y*y+A*A,w,x;if(E<die)x=Math.log(v/c)/t,w=function(V){return[u+V*y,s+V*A,c*Math.exp(t*V*x)]};else{var _=Math.sqrt(E),T=(v*v-c*c+n*E)/(2*c*r*_),C=(v*v-c*c-n*E)/(2*v*r*_),R=Math.log(Math.sqrt(T*T+1)-T),N=Math.log(Math.sqrt(C*C+1)-C);x=(N-R)/t,w=function(V){var j=V*x,ne=ok(R),Te=c/(r*_)*(ne*vie(t*j+R)-pie(R));return[u+Te*y,s+Te*A,c*ne/ok(t*j+R)]}}return w.duration=x*1e3*t/Math.SQRT2,w}return i.rho=function(a){var o=Math.max(.001,+a),u=o*o,s=u*u;return e(o,u,s)},i}(Math.SQRT2,2,4);function Q6(e){return function(t,r){var n=e((t=x2(t)).h,(r=x2(r)).h),i=wn(t.s,r.s),a=wn(t.l,r.l),o=wn(t.opacity,r.opacity);return function(u){return t.h=n(u),t.s=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const gie=Q6(xy);var yie=Q6(wn);function bie(e,t){var r=wn((e=w2(e)).l,(t=w2(t)).l),n=wn(e.a,t.a),i=wn(e.b,t.b),a=wn(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 Z6(e){return function(t,r){var n=e((t=_2(t)).h,(r=_2(r)).h),i=wn(t.c,r.c),a=wn(t.l,r.l),o=wn(t.opacity,r.opacity);return function(u){return t.h=n(u),t.c=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const xie=Z6(xy);var wie=Z6(wn);function J6(e){return function t(r){r=+r;function n(i,a){var o=e((i=S2(i)).h,(a=S2(a)).h),u=wn(i.s,a.s),s=wn(i.l,a.l),c=wn(i.opacity,a.opacity);return function(d){return i.h=o(d),i.s=u(d),i.l=s(Math.pow(d,r)),i.opacity=c(d),i+""}}return n.gamma=t,n}(1)}const _ie=J6(xy);var Sie=J6(wn);function Eie(e,t){t===void 0&&(t=e,e=wy);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 u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function Aie(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const Cie=Object.freeze(Object.defineProperty({__proto__:null,interpolate:wy,interpolateArray:nie,interpolateBasis:z6,interpolateBasisClosed:U6,interpolateCubehelix:_ie,interpolateCubehelixLong:Sie,interpolateDate:q6,interpolateDiscrete:oie,interpolateHcl:xie,interpolateHclLong:wie,interpolateHsl:gie,interpolateHslLong:yie,interpolateHue:uie,interpolateLab:bie,interpolateNumber:ma,interpolateNumberArray:YE,interpolateObject:V6,interpolateRgb:E2,interpolateRgbBasis:tie,interpolateRgbBasisClosed:rie,interpolateRound:lie,interpolateString:Y6,interpolateTransformCss:cie,interpolateTransformSvg:hie,interpolateZoom:mie,piecewise:Eie,quantize:Aie},Symbol.toStringTag,{value:"Module"})),Boe=Pl(Cie);var Tie="Expected a function",e8="__lodash_hash_undefined__",t8=1/0,Oie=9007199254740991,Mie="[object Function]",kie="[object GeneratorFunction]",Rie="[object Symbol]",Iie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pie=/^\w*$/,Fie=/^\./,Nie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lie=/[\\^$.*+?()[\]{}|]/g,$ie=/\\(\\)?/g,Die=/^\[object .+?Constructor\]$/,Bie=/^(?:0|[1-9]\d*)$/,zie=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,Uie=typeof self=="object"&&self&&self.Object===Object&&self,XE=zie||Uie||Function("return this")();function jie(e,t){return e==null?void 0:e[t]}function Gie(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var Hie=Array.prototype,Wie=Function.prototype,r8=Object.prototype,gw=XE["__core-js_shared__"],uk=function(){var e=/[^.]+$/.exec(gw&&gw.keys&&gw.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),n8=Wie.toString,_y=r8.hasOwnProperty,i8=r8.toString,qie=RegExp("^"+n8.call(_y).replace(Lie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lk=XE.Symbol,Vie=Hie.splice,Yie=a8(XE,"Map"),Yd=a8(Object,"create"),sk=lk?lk.prototype:void 0,fk=sk?sk.toString:void 0;function Rl(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 Xie(){this.__data__=Yd?Yd(null):{}}function Kie(e){return this.has(e)&&delete this.__data__[e]}function Qie(e){var t=this.__data__;if(Yd){var r=t[e];return r===e8?void 0:r}return _y.call(t,e)?t[e]:void 0}function Zie(e){var t=this.__data__;return Yd?t[e]!==void 0:_y.call(t,e)}function Jie(e,t){var r=this.__data__;return r[e]=Yd&&t===void 0?e8:t,this}Rl.prototype.clear=Xie;Rl.prototype.delete=Kie;Rl.prototype.get=Qie;Rl.prototype.has=Zie;Rl.prototype.set=Jie;function Qf(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 eae(){this.__data__=[]}function tae(e){var t=this.__data__,r=Sy(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Vie.call(t,r,1),!0}function rae(e){var t=this.__data__,r=Sy(t,e);return r<0?void 0:t[r][1]}function nae(e){return Sy(this.__data__,e)>-1}function iae(e,t){var r=this.__data__,n=Sy(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Qf.prototype.clear=eae;Qf.prototype.delete=tae;Qf.prototype.get=rae;Qf.prototype.has=nae;Qf.prototype.set=iae;function ql(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 aae(){this.__data__={hash:new Rl,map:new(Yie||Qf),string:new Rl}}function oae(e){return Ey(this,e).delete(e)}function uae(e){return Ey(this,e).get(e)}function lae(e){return Ey(this,e).has(e)}function sae(e,t){return Ey(this,e).set(e,t),this}ql.prototype.clear=aae;ql.prototype.delete=oae;ql.prototype.get=uae;ql.prototype.has=lae;ql.prototype.set=sae;function fae(e,t,r){var n=e[t];(!(_y.call(e,t)&&o8(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function Sy(e,t){for(var r=e.length;r--;)if(o8(e[r][0],t))return r;return-1}function cae(e){if(!mg(e)||yae(e))return!1;var t=_ae(e)||Gie(e)?qie:Die;return t.test(wae(e))}function hae(e,t,r,n){if(!mg(e))return e;t=mae(t,e)?[t]:pae(t);for(var i=-1,a=t.length,o=a-1,u=e;u!=null&&++i<a;){var s=xae(t[i]),c=r;if(i!=o){var d=u[s];c=n?n(d,s,u):void 0,c===void 0&&(c=mg(d)?d:vae(t[i+1])?[]:{})}fae(u,s,c),u=u[s]}return e}function dae(e){if(typeof e=="string")return e;if(QE(e))return fk?fk.call(e):"";var t=e+"";return t=="0"&&1/e==-t8?"-0":t}function pae(e){return u8(e)?e:bae(e)}function Ey(e,t){var r=e.__data__;return gae(t)?r[typeof t=="string"?"string":"hash"]:r.map}function a8(e,t){var r=jie(e,t);return cae(r)?r:void 0}function vae(e,t){return t=t??Oie,!!t&&(typeof e=="number"||Bie.test(e))&&e>-1&&e%1==0&&e<t}function mae(e,t){if(u8(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||QE(e)?!0:Pie.test(e)||!Iie.test(e)||t!=null&&e in Object(t)}function gae(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function yae(e){return!!uk&&uk in e}var bae=KE(function(e){e=Eae(e);var t=[];return Fie.test(e)&&t.push(""),e.replace(Nie,function(r,n,i,a){t.push(i?a.replace($ie,"$1"):n||r)}),t});function xae(e){if(typeof e=="string"||QE(e))return e;var t=e+"";return t=="0"&&1/e==-t8?"-0":t}function wae(e){if(e!=null){try{return n8.call(e)}catch{}try{return e+""}catch{}}return""}function KE(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Tie);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(KE.Cache||ql),r}KE.Cache=ql;function o8(e,t){return e===t||e!==e&&t!==t}var u8=Array.isArray;function _ae(e){var t=mg(e)?i8.call(e):"";return t==Mie||t==kie}function mg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Sae(e){return!!e&&typeof e=="object"}function QE(e){return typeof e=="symbol"||Sae(e)&&i8.call(e)==Rie}function Eae(e){return e==null?"":dae(e)}function Aae(e,t,r){return e==null?e:hae(e,t,r)}var Cae=Aae;const zoe=yi(Cae);/*! js-cookie v3.0.5 | MIT */function $0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var Tae={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function T2(e,t){function r(i,a,o){if(!(typeof document>"u")){o=$0({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var s in o)o[s]&&(u+="; "+s,o[s]!==!0&&(u+="="+o[s].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},u=0;u<a.length;u++){var s=a[u].split("="),c=s.slice(1).join("=");try{var d=decodeURIComponent(s[0]);if(o[d]=e.read(c,d),i===d)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",$0({},a,{expires:-1}))},withAttributes:function(i){return T2(this.converter,$0({},this.attributes,i))},withConverter:function(i){return T2($0({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Uoe=T2(Tae,{path:"/"});function joe(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:n=c=>c.id||c.key,filter:i,initialFilterText:a=""}=e,[o,u]=jt.useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:a}),s=jt.useMemo(()=>i?o.items.filter(c=>i(c,o.filterText)):o.items,[o.items,o.filterText,i]);return{...o,items:s,...Oae({getKey:n},u),getItem(c){return o.items.find(d=>n(d)===c)}}}function Oae(e,t){let{cursor:r,getKey:n}=e;return{setSelectedKeys(i){t(a=>({...a,selectedKeys:i}))},setFilterText(i){t(a=>({...a,filterText:i}))},insert(i,...a){t(o=>$h(o,i,...a))},insertBefore(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $h(o,u,...a)})},insertAfter(i,...a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);if(u===-1)if(o.items.length===0)u=0;else return o;return $h(o,u+1,...a)})},prepend(...i){t(a=>$h(a,0,...i))},append(...i){t(a=>$h(a,a.items.length,...i))},remove(...i){t(a=>{let o=new Set(i),u=a.items.filter(c=>!o.has(n(c))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let c of i)s.delete(c)}return r==null&&u.length===0&&(s=new Set),{...a,items:u,selectedKeys:s}})},removeSelectedItems(){t(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let a=i.selectedKeys,o=i.items.filter(u=>!a.has(n(u)));return{...i,items:o,selectedKeys:new Set}})},move(i,a){t(o=>{let u=o.items.findIndex(d=>n(d)===i);if(u===-1)return o;let s=o.items.slice(),[c]=s.splice(u,1);return s.splice(a,0,c),{...o,items:s}})},moveBefore(i,a){t(o=>{let u=o.items.findIndex(d=>n(d)===i);if(u===-1)return o;let c=(Array.isArray(a)?a:[...a]).map(d=>o.items.findIndex(g=>n(g)===d)).sort();return ck(o,c,u)})},moveAfter(i,a){t(o=>{let u=o.items.findIndex(d=>n(d)===i);if(u===-1)return o;let c=(Array.isArray(a)?a:[...a]).map(d=>o.items.findIndex(g=>n(g)===d)).sort();return ck(o,c,u+1)})},update(i,a){t(o=>{let u=o.items.findIndex(s=>n(s)===i);return u===-1?o:{...o,items:[...o.items.slice(0,u),a,...o.items.slice(u+1)]}})}}}function $h(e,t,...r){return{...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function ck(e,t,r){r-=t.filter(a=>a<r).length;let n=t.map(a=>({from:a,to:r++}));for(let a=0;a<n.length;a++){let o=n[a].from;for(let u=a;u<n.length;u++)n[u].from>o&&n[u].from--}for(let a=0;a<n.length;a++){let o=n[a];for(let u=n.length-1;u>a;u--){let s=n[u];s.from<o.to?o.to++:s.from++}}let i=e.items.slice();for(let a of n){let[o]=i.splice(a.from,1);i.splice(a.to,0,o)}return{...e,items:i}}var Mae={},Ap={},Cp={},Ay={},l8={};(function(e){e.__esModule=!0;var t=function(r){var n={};return function(i){return i in n||(n[i]=r(i)),n[i]}};e.default=t})(l8);var s8={},Il={};Il.__esModule=!0;Il.InternalServerError=Il.OK=void 0;Il.OK=200;Il.InternalServerError=500;(function(e){var t=Zt&&Zt.__spreadArray||function(u,s,c){if(c||arguments.length===2)for(var d=0,g=s.length,v;d<g;d++)(v||!(d in s))&&(v||(v=Array.prototype.slice.call(s,0,d)),v[d]=s[d]);return u.concat(v||Array.prototype.slice.call(s))};e.__esModule=!0;var r=X_,n=X_,i=Il,a=function(u){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];return typeof u!="string"?{on:function(d,g){g(new Error("URL must be a string."))}}:u.indexOf("https://")===0?n.get.apply(n,t([u],s,!1)):r.get.apply(r,t([u],s,!1))},o=function(u){return new Promise(function(s,c){a(u,function(d){if(d.statusCode!==i.OK)return c(new Error("HTTP Error Response: "+d.statusCode+" "+d.statusMessage+" ("+u+")"));var g=null;d.on("data",function(v){if(g===null){g=v;return}g+=v}),d.on("end",function(){return s(g)})}).on("error",c)})};e.default=o})(s8);var f8={},ou={};ou.__esModule=!0;ou.DONE=ou.OPENED=ou.UNSENT=void 0;ou.UNSENT=0;ou.OPENED=1;ou.DONE=4;(function(e){e.__esModule=!0;var t=Il,r=ou,n=function(i){return new Promise(function(a,o){var u=new XMLHttpRequest;u.onreadystatechange=function(){u.readyState===r.DONE&&(u.status===t.OK?a(u.responseText):o(new Error("HTTP Error Response: "+u.status+" "+u.statusText+" ("+i+")")))},u.open("GET",i,!0),u.send()})};e.default=n})(f8);Ay.__esModule=!0;Ay.createLoadRemoteModule=void 0;var kae=l8,Rae=s8,Iae=f8,Pae=typeof window<"u"&&typeof window.document<"u",Fae=Pae?Iae.default:Rae.default,Nae=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},Lae=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,i=r||Nae,a=n||Fae;return(0,kae.default)(function(o){return a(o).then(function(u){var s={},c={exports:s},d=new Function("require","module","exports",u);return d(i,c,s),c.exports})})};Ay.createLoadRemoteModule=Lae;var Cy={};Cy.__esModule=!0;Cy.createRequires=void 0;var $ae=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};Cy.createRequires=$ae;(function(e){var t=Zt&&Zt.__createBinding||(Object.create?function(i,a,o,u){u===void 0&&(u=o),Object.defineProperty(i,u,{enumerable:!0,get:function(){return a[o]}})}:function(i,a,o,u){u===void 0&&(u=o),i[u]=a[o]});e.__esModule=!0,e.createRequires=e.default=void 0;var r=Ay;t(e,r,"createLoadRemoteModule","default");var n=Cy;t(e,n,"createRequires")})(Cp);const Goe=yi(Cp);var Dae=Zt&&Zt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Ap.__esModule=!0;Ap.createUseRemoteComponent=void 0;var hk=jt,Bae=Dae(Cp),zae=function(e){var t=Bae.default(e),r=function(n,i){i===void 0&&(i="default");var a=hk.useState({loading:!0,err:void 0,component:void 0}),o=a[0],u=o.loading,s=o.err,c=o.component,d=a[1];return hk.useEffect(function(){var g=d;return g({loading:!0,err:void 0,component:void 0}),t(n).then(function(v){return g({loading:!1,err:void 0,component:v[i]})}).catch(function(v){return g({loading:!1,err:v,component:void 0})}),function(){g=function(){}}},[n]),[u,s,c]};return r};Ap.createUseRemoteComponent=zae;var Tp={};Tp.__esModule=!0;Tp.createRequires=void 0;var Uae=function(e){return typeof e=="function"?e():e||{}},jae=function(e){var t=!1;return function(r){if(t||(e=Uae(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};Tp.createRequires=jae;var ZE={};(function(e){var t=Zt&&Zt.__assign||function(){return t=Object.assign||function(o){for(var u,s=1,c=arguments.length;s<c;s++){u=arguments[s];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(o[d]=u[d])}return o},t.apply(this,arguments)};e.__esModule=!0,e.getDependencies=e.ensureRemoteComponentConfig=void 0;var r=function(o){return o&&typeof o.message=="string"&&o.message.indexOf("Cannot find module")>-1},n=function(o){return typeof o=="object"&&"remote-component.config.js"in o},i=function(o){var u=o.resolve;if(n(u))return u;var s=t({},u);return s["remote-component.config.js"]={resolve:s},s};e.ensureRemoteComponentConfig=i;var a=function(){try{return e.ensureRemoteComponentConfig(require("remote-component.config.js"))}catch(o){if(!r(o))throw o;return{}}};e.getDependencies=a})(ZE);var Op={},O2=Zt&&Zt.__assign||function(){return O2=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},O2.apply(this,arguments)},Gae=Zt&&Zt.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},Hae=Zt&&Zt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Op.__esModule=!0;Op.createRemoteComponent=void 0;var dk=Hae(jt),Wae=Ap,qae=function(e){var t=Wae.createUseRemoteComponent(e),r=function(n){var i=n.url,a=n.fallback,o=a===void 0?null:a,u=n.render,s=Gae(n,["url","fallback","render"]),c=t(i),d=c[0],g=c[1],v=c[2];return d?o:u?u({err:g,Component:v}):g||!v?dk.default.createElement("div",null,"Unknown Error: ",(g||"UNKNOWN").toString()):dk.default.createElement(v,O2({},s))};return r};Op.createRemoteComponent=qae;var Ty={};Ty.__esModule=!0;Ty.RemoteComponent=void 0;var Vae=Op,Yae=Tp,Xae=ZE,Kae=Yae.createRequires(Xae.getDependencies);Ty.RemoteComponent=Vae.createRemoteComponent({requires:Kae});var Oy={},Qae=Zt&&Zt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Oy.__esModule=!0;Oy.fetchRemoteComponent=void 0;var Zae=Qae(Cp),Jae=function(e){var t=e.requires,r=e.fetcher,n=e.url,i=e.imports,a=i===void 0?"default":i,o=Zae.default({requires:t,fetcher:r});return o(n).then(function(u){var s=u&&u[a];if(!s)throw new Error("Could not load '"+a+"' from '"+n+"'.");return s})};Oy.fetchRemoteComponent=Jae;var My={},eoe=Zt&&Zt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};My.__esModule=!0;My.getServerSideProps=void 0;var toe=eoe(Cp),roe=function(e){var t=e.url,r=e.requires,n=e.context,i=e.imports,a=i===void 0?"default":i,o=toe.default({requires:r});return o(t).then(function(u){var s=u&&u[a]&&u[a].getServerSideProps;return typeof s=="function"?s(n):{}})};My.getServerSideProps=roe;(function(e){var t=Zt&&Zt.__createBinding||(Object.create?function(c,d,g,v){v===void 0&&(v=g),Object.defineProperty(c,v,{enumerable:!0,get:function(){return d[g]}})}:function(c,d,g,v){v===void 0&&(v=g),c[v]=d[g]});e.__esModule=!0,e.getServerSideProps=e.fetchRemoteComponent=e.RemoteComponent=e.createRemoteComponent=e.getDependencies=e.createRequires=e.createUseRemoteComponent=void 0;var r=Ap;t(e,r,"createUseRemoteComponent");var n=Tp;t(e,n,"createRequires");var i=ZE;t(e,i,"getDependencies");var a=Op;t(e,a,"createRemoteComponent");var o=Ty;t(e,o,"RemoteComponent");var u=Oy;t(e,u,"fetchRemoteComponent");var s=My;t(e,s,"getServerSideProps")})(Mae);export{goe as $,jt as A,S$ as B,ioe as C,loe as D,ooe as E,Gg as F,wr as G,zoe as H,rn as I,yoe as J,uoe as K,aoe as L,soe as M,BS as N,foe as O,hr as P,yH as Q,Gh as R,poe as S,doe as T,aH as U,voe as V,moe as W,Uoe as X,joe as Y,coe as Z,hoe as _,woe as a,Mae as a0,Cp as a1,Goe as a2,Moe as b,koe as c,boe as d,Toe as e,_oe as f,Eoe as g,Coe as h,Aoe as i,tZ as j,Ioe as k,sy as l,Ooe as m,Roe as n,yJ as o,wN as p,ere as q,xoe as r,Poe as s,Soe as t,Foe as u,Noe as v,Loe as w,$oe as x,Doe as y,Boe as z};
|
|
1179
|
+
//# sourceMappingURL=vendor-24ebff0f.js.map
|