@deephaven/embed-chart 0.31.2-beta.1 → 0.31.2-beta.6

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.
Files changed (85) hide show
  1. package/build/assets/App-2a937c1e.js +2 -0
  2. package/build/assets/App-2a937c1e.js.map +1 -0
  3. package/build/assets/helpers-042e6b4d.js +2 -0
  4. package/build/assets/helpers-042e6b4d.js.map +1 -0
  5. package/build/assets/index-3bc115e9.js +2 -0
  6. package/build/assets/index-3bc115e9.js.map +1 -0
  7. package/build/assets/{index.4b16900b.css → index-8c8f16c6.css} +1 -1
  8. package/build/assets/plotly-8f1638d5.js +7 -0
  9. package/build/assets/{plotly.796b7016.js.map → plotly-8f1638d5.js.map} +1 -1
  10. package/build/assets/vendor-42b31346.css +1 -0
  11. package/build/assets/vendor-bb2cdd26.js +1133 -0
  12. package/build/assets/vendor-bb2cdd26.js.map +1 -0
  13. package/build/index.html +5 -5
  14. package/package.json +15 -15
  15. package/build/assets/App.1871b1ae.js +0 -2
  16. package/build/assets/App.1871b1ae.js.map +0 -1
  17. package/build/assets/helpers.162e09a8.js +0 -2
  18. package/build/assets/helpers.162e09a8.js.map +0 -1
  19. package/build/assets/index.993b76c5.js +0 -2
  20. package/build/assets/index.993b76c5.js.map +0 -1
  21. package/build/assets/plotly.796b7016.js +0 -7
  22. package/build/assets/vendor.46f8fb15.js +0 -1171
  23. package/build/assets/vendor.46f8fb15.js.map +0 -1
  24. package/build/assets/vendor.c53844f2.css +0 -1
  25. /package/build/assets/{App.a2eeb683.css → App-a2eeb683.css} +0 -0
  26. /package/build/assets/{FiraMono-Bold.2a28efd7.ttf → FiraMono-Bold-2a28efd7.ttf} +0 -0
  27. /package/build/assets/{FiraMono-Bold.4b63940b.eot → FiraMono-Bold-4b63940b.eot} +0 -0
  28. /package/build/assets/{FiraMono-Bold.f3785fb4.woff → FiraMono-Bold-f3785fb4.woff} +0 -0
  29. /package/build/assets/{FiraMono-Regular.3baf2617.eot → FiraMono-Regular-3baf2617.eot} +0 -0
  30. /package/build/assets/{FiraMono-Regular.8c86f296.ttf → FiraMono-Regular-8c86f296.ttf} +0 -0
  31. /package/build/assets/{FiraMono-Regular.bb55b797.woff → FiraMono-Regular-bb55b797.woff} +0 -0
  32. /package/build/assets/{FiraSans-Bold.02bb0cb2.woff → FiraSans-Bold-02bb0cb2.woff} +0 -0
  33. /package/build/assets/{FiraSans-Bold.12b632bf.ttf → FiraSans-Bold-12b632bf.ttf} +0 -0
  34. /package/build/assets/{FiraSans-Bold.f8c87b86.eot → FiraSans-Bold-f8c87b86.eot} +0 -0
  35. /package/build/assets/{FiraSans-BoldItalic.3edde006.ttf → FiraSans-BoldItalic-3edde006.ttf} +0 -0
  36. /package/build/assets/{FiraSans-BoldItalic.6a67e0ae.eot → FiraSans-BoldItalic-6a67e0ae.eot} +0 -0
  37. /package/build/assets/{FiraSans-BoldItalic.6d994d42.woff → FiraSans-BoldItalic-6d994d42.woff} +0 -0
  38. /package/build/assets/{FiraSans-ExtraBold.961aa5a0.eot → FiraSans-ExtraBold-961aa5a0.eot} +0 -0
  39. /package/build/assets/{FiraSans-ExtraBold.9bdff6dd.woff → FiraSans-ExtraBold-9bdff6dd.woff} +0 -0
  40. /package/build/assets/{FiraSans-ExtraBold.b3633bc7.ttf → FiraSans-ExtraBold-b3633bc7.ttf} +0 -0
  41. /package/build/assets/{FiraSans-ExtraBoldItalic.6c7a252b.eot → FiraSans-ExtraBoldItalic-6c7a252b.eot} +0 -0
  42. /package/build/assets/{FiraSans-ExtraBoldItalic.c8408489.woff → FiraSans-ExtraBoldItalic-c8408489.woff} +0 -0
  43. /package/build/assets/{FiraSans-ExtraBoldItalic.fa5351fb.ttf → FiraSans-ExtraBoldItalic-fa5351fb.ttf} +0 -0
  44. /package/build/assets/{FiraSans-Hair.4d1eb02b.eot → FiraSans-Hair-4d1eb02b.eot} +0 -0
  45. /package/build/assets/{FiraSans-Hair.99b1ef19.woff → FiraSans-Hair-99b1ef19.woff} +0 -0
  46. /package/build/assets/{FiraSans-Hair.d79d7098.ttf → FiraSans-Hair-d79d7098.ttf} +0 -0
  47. /package/build/assets/{FiraSans-HairItalic.28cd895b.ttf → FiraSans-HairItalic-28cd895b.ttf} +0 -0
  48. /package/build/assets/{FiraSans-HairItalic.6ec27be8.eot → FiraSans-HairItalic-6ec27be8.eot} +0 -0
  49. /package/build/assets/{FiraSans-HairItalic.e3798e2e.woff → FiraSans-HairItalic-e3798e2e.woff} +0 -0
  50. /package/build/assets/{FiraSans-Heavy.28d8c64e.ttf → FiraSans-Heavy-28d8c64e.ttf} +0 -0
  51. /package/build/assets/{FiraSans-Heavy.878022a0.eot → FiraSans-Heavy-878022a0.eot} +0 -0
  52. /package/build/assets/{FiraSans-Heavy.b11eda16.woff → FiraSans-Heavy-b11eda16.woff} +0 -0
  53. /package/build/assets/{FiraSans-HeavyItalic.4220fa31.ttf → FiraSans-HeavyItalic-4220fa31.ttf} +0 -0
  54. /package/build/assets/{FiraSans-HeavyItalic.79c5261e.eot → FiraSans-HeavyItalic-79c5261e.eot} +0 -0
  55. /package/build/assets/{FiraSans-HeavyItalic.7b6ffd1e.woff → FiraSans-HeavyItalic-7b6ffd1e.woff} +0 -0
  56. /package/build/assets/{FiraSans-Italic.246d934f.ttf → FiraSans-Italic-246d934f.ttf} +0 -0
  57. /package/build/assets/{FiraSans-Italic.74969e60.eot → FiraSans-Italic-74969e60.eot} +0 -0
  58. /package/build/assets/{FiraSans-Italic.74b56498.woff → FiraSans-Italic-74b56498.woff} +0 -0
  59. /package/build/assets/{FiraSans-Light.069b8cf6.woff → FiraSans-Light-069b8cf6.woff} +0 -0
  60. /package/build/assets/{FiraSans-Light.3dad6fcc.ttf → FiraSans-Light-3dad6fcc.ttf} +0 -0
  61. /package/build/assets/{FiraSans-Light.3dffd9c8.eot → FiraSans-Light-3dffd9c8.eot} +0 -0
  62. /package/build/assets/{FiraSans-LightItalic.2ab0adbc.woff → FiraSans-LightItalic-2ab0adbc.woff} +0 -0
  63. /package/build/assets/{FiraSans-LightItalic.a54a9c11.eot → FiraSans-LightItalic-a54a9c11.eot} +0 -0
  64. /package/build/assets/{FiraSans-LightItalic.b76153f0.ttf → FiraSans-LightItalic-b76153f0.ttf} +0 -0
  65. /package/build/assets/{FiraSans-Medium.1fe7499b.ttf → FiraSans-Medium-1fe7499b.ttf} +0 -0
  66. /package/build/assets/{FiraSans-Medium.5dfa8d36.eot → FiraSans-Medium-5dfa8d36.eot} +0 -0
  67. /package/build/assets/{FiraSans-Medium.5ee49732.woff → FiraSans-Medium-5ee49732.woff} +0 -0
  68. /package/build/assets/{FiraSans-MediumItalic.278ba15e.woff → FiraSans-MediumItalic-278ba15e.woff} +0 -0
  69. /package/build/assets/{FiraSans-MediumItalic.31b33fdc.eot → FiraSans-MediumItalic-31b33fdc.eot} +0 -0
  70. /package/build/assets/{FiraSans-MediumItalic.b03693dc.ttf → FiraSans-MediumItalic-b03693dc.ttf} +0 -0
  71. /package/build/assets/{FiraSans-Regular.52fd5b84.eot → FiraSans-Regular-52fd5b84.eot} +0 -0
  72. /package/build/assets/{FiraSans-Regular.a389cef7.ttf → FiraSans-Regular-a389cef7.ttf} +0 -0
  73. /package/build/assets/{FiraSans-Regular.f4249196.woff → FiraSans-Regular-f4249196.woff} +0 -0
  74. /package/build/assets/{FiraSans-SemiBold.64aaef22.eot → FiraSans-SemiBold-64aaef22.eot} +0 -0
  75. /package/build/assets/{FiraSans-SemiBold.95386ec5.ttf → FiraSans-SemiBold-95386ec5.ttf} +0 -0
  76. /package/build/assets/{FiraSans-SemiBold.db1aa0a7.woff → FiraSans-SemiBold-db1aa0a7.woff} +0 -0
  77. /package/build/assets/{FiraSans-SemiBoldItalic.5b1b2ef5.woff → FiraSans-SemiBoldItalic-5b1b2ef5.woff} +0 -0
  78. /package/build/assets/{FiraSans-SemiBoldItalic.6312c494.eot → FiraSans-SemiBoldItalic-6312c494.eot} +0 -0
  79. /package/build/assets/{FiraSans-SemiBoldItalic.e48e1077.ttf → FiraSans-SemiBoldItalic-e48e1077.ttf} +0 -0
  80. /package/build/assets/{FiraSans-UltraLight.148134d0.eot → FiraSans-UltraLight-148134d0.eot} +0 -0
  81. /package/build/assets/{FiraSans-UltraLight.9ff1716f.woff → FiraSans-UltraLight-9ff1716f.woff} +0 -0
  82. /package/build/assets/{FiraSans-UltraLight.e5cb35ce.ttf → FiraSans-UltraLight-e5cb35ce.ttf} +0 -0
  83. /package/build/assets/{FiraSans-UltraLightItalic.4d0a542c.eot → FiraSans-UltraLightItalic-4d0a542c.eot} +0 -0
  84. /package/build/assets/{FiraSans-UltraLightItalic.75bbabe2.ttf → FiraSans-UltraLightItalic-75bbabe2.ttf} +0 -0
  85. /package/build/assets/{FiraSans-UltraLightItalic.b3af616b.woff → FiraSans-UltraLightItalic-b3af616b.woff} +0 -0
@@ -1,1171 +0,0 @@
1
- import{g as N_,c as Ar,a as Tl}from"./helpers.162e09a8.js";var Kt={exports:{}},gr={};/*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */var KS=Object.getOwnPropertySymbols,lN=Object.prototype.hasOwnProperty,sN=Object.prototype.propertyIsEnumerable;function fN(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cN(){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 Cl=cN()?Object.assign:function(e,t){for(var r,n=fN(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)lN.call(r,o)&&(n[o]=r[o]);if(KS){i=KS(r);for(var l=0;l<i.length;l++)sN.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n};/** @license React v17.0.2
6
- * react.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */var L_=Cl,If=60103,H5=60106;gr.Fragment=60107;gr.StrictMode=60108;gr.Profiler=60114;var V5=60109,q5=60110,Y5=60112;gr.Suspense=60113;var X5=60115,Q5=60116;if(typeof Symbol=="function"&&Symbol.for){var Wi=Symbol.for;If=Wi("react.element"),H5=Wi("react.portal"),gr.Fragment=Wi("react.fragment"),gr.StrictMode=Wi("react.strict_mode"),gr.Profiler=Wi("react.profiler"),V5=Wi("react.provider"),q5=Wi("react.context"),Y5=Wi("react.forward_ref"),gr.Suspense=Wi("react.suspense"),X5=Wi("react.memo"),Q5=Wi("react.lazy")}var JS=typeof Symbol=="function"&&Symbol.iterator;function hN(e){return e===null||typeof e!="object"?null:(e=JS&&e[JS]||e["@@iterator"],typeof e=="function"?e:null)}function Nd(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 Z5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K5={};function Pf(e,t,r){this.props=e,this.context=t,this.refs=K5,this.updater=r||Z5}Pf.prototype.isReactComponent={};Pf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Nd(85));this.updater.enqueueSetState(this,e,t,"setState")};Pf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function J5(){}J5.prototype=Pf.prototype;function D_(e,t,r){this.props=e,this.context=t,this.refs=K5,this.updater=r||Z5}var $_=D_.prototype=new J5;$_.constructor=D_;L_($_,Pf.prototype);$_.isPureReactComponent=!0;var B_={current:null},ek=Object.prototype.hasOwnProperty,tk={key:!0,ref:!0,__self:!0,__source:!0};function rk(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)ek.call(t,n)&&!tk.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:If,type:e,key:a,ref:o,props:i,_owner:B_.current}}function dN(e,t){return{$$typeof:If,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function z_(e){return typeof e=="object"&&e!==null&&e.$$typeof===If}function pN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var eE=/\/+/g;function Dy(e,t){return typeof e=="object"&&e!==null&&e.key!=null?pN(""+e.key):t.toString(36)}function w0(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 If:case H5:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+Dy(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(eE,"$&/")+"/"),w0(i,t,r,"",function(c){return c})):i!=null&&(z_(i)&&(i=dN(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(eE,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){a=e[l];var s=n+Dy(a,l);o+=w0(a,t,r,s,i)}else if(s=hN(e),typeof s=="function")for(e=s.call(e),l=0;!(a=e.next()).done;)a=a.value,s=n+Dy(a,l++),o+=w0(a,t,r,s,i);else if(a==="object")throw t=""+e,Error(Nd(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function Ev(e,t,r){if(e==null)return e;var n=[],i=0;return w0(e,n,"","",function(a){return t.call(r,a,i++)}),n}function vN(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 nk={current:null};function ro(){var e=nk.current;if(e===null)throw Error(Nd(321));return e}var mN={ReactCurrentDispatcher:nk,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:B_,IsSomeRendererActing:{current:!1},assign:L_};gr.Children={map:Ev,forEach:function(e,t,r){Ev(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Ev(e,function(){t++}),t},toArray:function(e){return Ev(e,function(t){return t})||[]},only:function(e){if(!z_(e))throw Error(Nd(143));return e}};gr.Component=Pf;gr.PureComponent=D_;gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mN;gr.cloneElement=function(e,t,r){if(e==null)throw Error(Nd(267,e));var n=L_({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=B_.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)ek.call(t,s)&&!tk.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:If,type:e.type,key:i,ref:a,props:n,_owner:o}};gr.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:q5,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:V5,_context:e},e.Consumer=e};gr.createElement=rk;gr.createFactory=function(e){var t=rk.bind(null,e);return t.type=e,t};gr.createRef=function(){return{current:null}};gr.forwardRef=function(e){return{$$typeof:Y5,render:e}};gr.isValidElement=z_;gr.lazy=function(e){return{$$typeof:Q5,_payload:{_status:-1,_result:e},_init:vN}};gr.memo=function(e,t){return{$$typeof:X5,type:e,compare:t===void 0?null:t}};gr.useCallback=function(e,t){return ro().useCallback(e,t)};gr.useContext=function(e,t){return ro().useContext(e,t)};gr.useDebugValue=function(){};gr.useEffect=function(e,t){return ro().useEffect(e,t)};gr.useImperativeHandle=function(e,t,r){return ro().useImperativeHandle(e,t,r)};gr.useLayoutEffect=function(e,t){return ro().useLayoutEffect(e,t)};gr.useMemo=function(e,t){return ro().useMemo(e,t)};gr.useReducer=function(e,t,r){return ro().useReducer(e,t,r)};gr.useRef=function(e){return ro().useRef(e)};gr.useState=function(e){return ro().useState(e)};gr.version="17.0.2";(function(e){e.exports=gr})(Kt);const bn=N_(Kt.exports);var U_={exports:{}},Pi={},ik={exports:{}},ak={};/** @license React v0.20.2
13
- * scheduler.production.min.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,c=null,d=function(){if(s!==null)try{var we=e.unstable_now();s(!0,we),s=null}catch(Ve){throw setTimeout(d,0),Ve}};t=function(we){s!==null?setTimeout(t,0,we):(s=we,setTimeout(d,0))},r=function(we,Ve){c=setTimeout(we,Ve)},n=function(){clearTimeout(c)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var y=window.setTimeout,g=window.clearTimeout;if(typeof console<"u"){var m=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof m!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var E=!1,M=null,b=-1,w=5,_=0;e.unstable_shouldYield=function(){return e.unstable_now()>=_},i=function(){},e.unstable_forceFrameRate=function(we){0>we||125<we?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<we?Math.floor(1e3/we):5};var C=new MessageChannel,T=C.port2;C.port1.onmessage=function(){if(M!==null){var we=e.unstable_now();_=we+w;try{M(!0,we)?T.postMessage(null):(E=!1,M=null)}catch(Ve){throw T.postMessage(null),Ve}}else E=!1},t=function(we){M=we,E||(E=!0,T.postMessage(null))},r=function(we,Ve){b=y(function(){we(e.unstable_now())},Ve)},n=function(){g(b),b=-1}}function R(we,Ve){var st=we.length;we.push(Ve);e:for(;;){var Qe=st-1>>>1,ct=we[Qe];if(ct!==void 0&&0<j(ct,Ve))we[Qe]=Ve,we[st]=ct,st=Qe;else break e}}function L(we){return we=we[0],we===void 0?null:we}function q(we){var Ve=we[0];if(Ve!==void 0){var st=we.pop();if(st!==Ve){we[0]=st;e:for(var Qe=0,ct=we.length;Qe<ct;){var yt=2*(Qe+1)-1,Ht=we[yt],qt=yt+1,Ze=we[qt];if(Ht!==void 0&&0>j(Ht,st))Ze!==void 0&&0>j(Ze,Ht)?(we[Qe]=Ze,we[qt]=st,Qe=qt):(we[Qe]=Ht,we[yt]=st,Qe=yt);else if(Ze!==void 0&&0>j(Ze,st))we[Qe]=Ze,we[qt]=st,Qe=qt;else break e}}return Ve}return null}function j(we,Ve){var st=we.sortIndex-Ve.sortIndex;return st!==0?st:we.id-Ve.id}var te=[],ge=[],me=1,ke=null,Re=3,Le=!1,ut=!1,nt=!1;function De(we){for(var Ve=L(ge);Ve!==null;){if(Ve.callback===null)q(ge);else if(Ve.startTime<=we)q(ge),Ve.sortIndex=Ve.expirationTime,R(te,Ve);else break;Ve=L(ge)}}function We(we){if(nt=!1,De(we),!ut)if(L(te)!==null)ut=!0,t(_t);else{var Ve=L(ge);Ve!==null&&r(We,Ve.startTime-we)}}function _t(we,Ve){ut=!1,nt&&(nt=!1,n()),Le=!0;var st=Re;try{for(De(Ve),ke=L(te);ke!==null&&(!(ke.expirationTime>Ve)||we&&!e.unstable_shouldYield());){var Qe=ke.callback;if(typeof Qe=="function"){ke.callback=null,Re=ke.priorityLevel;var ct=Qe(ke.expirationTime<=Ve);Ve=e.unstable_now(),typeof ct=="function"?ke.callback=ct:ke===L(te)&&q(te),De(Ve)}else q(te);ke=L(te)}if(ke!==null)var yt=!0;else{var Ht=L(ge);Ht!==null&&r(We,Ht.startTime-Ve),yt=!1}return yt}finally{ke=null,Re=st,Le=!1}}var He=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(we){we.callback=null},e.unstable_continueExecution=function(){ut||Le||(ut=!0,t(_t))},e.unstable_getCurrentPriorityLevel=function(){return Re},e.unstable_getFirstCallbackNode=function(){return L(te)},e.unstable_next=function(we){switch(Re){case 1:case 2:case 3:var Ve=3;break;default:Ve=Re}var st=Re;Re=Ve;try{return we()}finally{Re=st}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=He,e.unstable_runWithPriority=function(we,Ve){switch(we){case 1:case 2:case 3:case 4:case 5:break;default:we=3}var st=Re;Re=we;try{return Ve()}finally{Re=st}},e.unstable_scheduleCallback=function(we,Ve,st){var Qe=e.unstable_now();switch(typeof st=="object"&&st!==null?(st=st.delay,st=typeof st=="number"&&0<st?Qe+st:Qe):st=Qe,we){case 1:var ct=-1;break;case 2:ct=250;break;case 5:ct=1073741823;break;case 4:ct=1e4;break;default:ct=5e3}return ct=st+ct,we={id:me++,callback:Ve,priorityLevel:we,startTime:st,expirationTime:ct,sortIndex:-1},st>Qe?(we.sortIndex=st,R(ge,we),L(te)===null&&we===L(ge)&&(nt?n():nt=!0,r(We,st-Qe))):(we.sortIndex=ct,R(te,we),ut||Le||(ut=!0,t(_t))),we},e.unstable_wrapCallback=function(we){var Ve=Re;return function(){var st=Re;Re=Ve;try{return we.apply(this,arguments)}finally{Re=st}}}})(ak);(function(e){e.exports=ak})(ik);/** @license React v17.0.2
20
- * react-dom.production.min.js
21
- *
22
- * Copyright (c) Facebook, Inc. and its affiliates.
23
- *
24
- * This source code is licensed under the MIT license found in the
25
- * LICENSE file in the root directory of this source tree.
26
- */var Ym=Kt.exports,zr=Cl,wn=ik.exports;function dt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!Ym)throw Error(dt(227));var ok=new Set,ad={};function Ol(e,t){pf(e,t),pf(e+"Capture",t)}function pf(e,t){for(ad[e]=t,e=0;e<t.length;e++)ok.add(t[e])}var Za=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gN=/^[: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]*$/,tE=Object.prototype.hasOwnProperty,rE={},nE={};function yN(e){return tE.call(nE,e)?!0:tE.call(rE,e)?!1:gN.test(e)?nE[e]=!0:(rE[e]=!0,!1)}function xN(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 bN(e,t,r,n){if(t===null||typeof t>"u"||xN(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 Hn(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 Mn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Mn[e]=new Hn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Mn[t]=new Hn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Mn[e]=new Hn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Mn[e]=new Hn(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){Mn[e]=new Hn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Mn[e]=new Hn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Mn[e]=new Hn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Mn[e]=new Hn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Mn[e]=new Hn(e,5,!1,e.toLowerCase(),null,!1,!1)});var j_=/[\-:]([a-z])/g;function G_(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(j_,G_);Mn[t]=new Hn(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(j_,G_);Mn[t]=new Hn(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(j_,G_);Mn[t]=new Hn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Mn[e]=new Hn(e,1,!1,e.toLowerCase(),null,!1,!1)});Mn.xlinkHref=new Hn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Mn[e]=new Hn(e,1,!1,e.toLowerCase(),null,!0,!0)});function W_(e,t,r,n){var i=Mn.hasOwnProperty(t)?Mn[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||(bN(t,r,i,n)&&(r=null),n||i===null?yN(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 kl=Ym.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Th=60103,rl=60106,Bo=60107,H_=60108,Dh=60114,V_=60109,q_=60110,Xm=60112,$h=60113,W0=60120,Qm=60115,Y_=60116,X_=60121,Q_=60128,uk=60129,Z_=60130,jb=60131;if(typeof Symbol=="function"&&Symbol.for){var vn=Symbol.for;Th=vn("react.element"),rl=vn("react.portal"),Bo=vn("react.fragment"),H_=vn("react.strict_mode"),Dh=vn("react.profiler"),V_=vn("react.provider"),q_=vn("react.context"),Xm=vn("react.forward_ref"),$h=vn("react.suspense"),W0=vn("react.suspense_list"),Qm=vn("react.memo"),Y_=vn("react.lazy"),X_=vn("react.block"),vn("react.scope"),Q_=vn("react.opaque.id"),uk=vn("react.debug_trace_mode"),Z_=vn("react.offscreen"),jb=vn("react.legacy_hidden")}var iE=typeof Symbol=="function"&&Symbol.iterator;function eh(e){return e===null||typeof e!="object"?null:(e=iE&&e[iE]||e["@@iterator"],typeof e=="function"?e:null)}var $y;function Ch(e){if($y===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);$y=t&&t[1]||""}return`
27
- `+$y+e}var By=!1;function Av(e,t){if(!e||By)return"";By=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
28
- `),a=n.stack.split(`
29
- `),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l])return`
30
- `+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{By=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ch(e):""}function wN(e){switch(e.tag){case 5:return Ch(e.type);case 16:return Ch("Lazy");case 13:return Ch("Suspense");case 19:return Ch("SuspenseList");case 0:case 2:case 15:return e=Av(e.type,!1),e;case 11:return e=Av(e.type.render,!1),e;case 22:return e=Av(e.type._render,!1),e;case 1:return e=Av(e.type,!0),e;default:return""}}function Zs(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 Bo:return"Fragment";case rl:return"Portal";case Dh:return"Profiler";case H_:return"StrictMode";case $h:return"Suspense";case W0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q_:return(e.displayName||"Context")+".Consumer";case V_:return(e._context.displayName||"Context")+".Provider";case Xm:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Qm:return Zs(e.type);case X_:return Zs(e._render);case Y_:t=e._payload,e=e._init;try{return Zs(e(t))}catch{}}return null}function tu(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 _N(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 Tv(e){e._valueTracker||(e._valueTracker=_N(e))}function sk(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 H0(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 Gb(e,t){var r=t.checked;return zr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function aE(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=tu(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 fk(e,t){t=t.checked,t!=null&&W_(e,"checked",t,!1)}function Wb(e,t){fk(e,t);var r=tu(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")?Hb(e,t.type,r):t.hasOwnProperty("defaultValue")&&Hb(e,t.type,tu(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function oE(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 Hb(e,t,r){(t!=="number"||H0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function SN(e){var t="";return Ym.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function Vb(e,t){return e=zr({children:void 0},t),(t=SN(t.children))&&(e.children=t),e}function Ks(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=""+tu(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 qb(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(dt(91));return zr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function uE(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:tu(r)}}function ck(e,t){var r=tu(t.value),n=tu(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 lE(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Yb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function hk(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 Xb(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?hk(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Cv,dk=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!==Yb.svg||"innerHTML"in e)e.innerHTML=t;else{for(Cv=Cv||document.createElement("div"),Cv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function od(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Bh={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},EN=["Webkit","ms","Moz","O"];Object.keys(Bh).forEach(function(e){EN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bh[t]=Bh[e]})});function pk(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Bh.hasOwnProperty(e)&&Bh[e]?(""+t).trim():t+"px"}function vk(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=pk(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var AN=zr({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 Qb(e,t){if(t){if(AN[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 Zb(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 K_(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kb=null,Js=null,ef=null;function sE(e){if(e=Dd(e)){if(typeof Kb!="function")throw Error(dt(280));var t=e.stateNode;t&&(t=rg(t),Kb(e.stateNode,e.type,t))}}function mk(e){Js?ef?ef.push(e):ef=[e]:Js=e}function gk(){if(Js){var e=Js,t=ef;if(ef=Js=null,sE(e),t)for(e=0;e<t.length;e++)sE(t[e])}}function J_(e,t){return e(t)}function yk(e,t,r,n,i){return e(t,r,n,i)}function e2(){}var xk=J_,nl=!1,zy=!1;function t2(){(Js!==null||ef!==null)&&(e2(),gk())}function TN(e,t,r){if(zy)return e(t,r);zy=!0;try{return xk(e,t,r)}finally{zy=!1,t2()}}function ud(e,t){var r=e.stateNode;if(r===null)return null;var n=rg(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 Jb=!1;if(Za)try{var th={};Object.defineProperty(th,"passive",{get:function(){Jb=!0}}),window.addEventListener("test",th,th),window.removeEventListener("test",th,th)}catch{Jb=!1}function CN(e,t,r,n,i,a,o,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var zh=!1,V0=null,q0=!1,ew=null,ON={onError:function(e){zh=!0,V0=e}};function kN(e,t,r,n,i,a,o,l,s){zh=!1,V0=null,CN.apply(ON,arguments)}function MN(e,t,r,n,i,a,o,l,s){if(kN.apply(this,arguments),zh){if(zh){var c=V0;zh=!1,V0=null}else throw Error(dt(198));q0||(q0=!0,ew=c)}}function Ml(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function bk(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 fE(e){if(Ml(e)!==e)throw Error(dt(188))}function IN(e){var t=e.alternate;if(!t){if(t=Ml(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 fE(i),e;if(a===n)return fE(i),t;a=a.sibling}throw Error(dt(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=a;break}if(l===n){o=!0,n=i,r=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===r){o=!0,r=a,n=i;break}if(l===n){o=!0,n=a,r=i;break}l=l.sibling}if(!o)throw Error(dt(189))}}if(r.alternate!==n)throw Error(dt(190))}if(r.tag!==3)throw Error(dt(188));return r.stateNode.current===r?e:t}function wk(e){if(e=IN(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 cE(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var _k,r2,Sk,Ek,tw=!1,ca=[],qo=null,Yo=null,Xo=null,ld=new Map,sd=new Map,rh=[],hE="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 rw(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function dE(e,t){switch(e){case"focusin":case"focusout":qo=null;break;case"dragenter":case"dragleave":Yo=null;break;case"mouseover":case"mouseout":Xo=null;break;case"pointerover":case"pointerout":ld.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sd.delete(t.pointerId)}}function nh(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=rw(t,r,n,i,a),t!==null&&(t=Dd(t),t!==null&&r2(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function PN(e,t,r,n,i){switch(t){case"focusin":return qo=nh(qo,e,t,r,n,i),!0;case"dragenter":return Yo=nh(Yo,e,t,r,n,i),!0;case"mouseover":return Xo=nh(Xo,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return ld.set(a,nh(ld.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,sd.set(a,nh(sd.get(a)||null,e,t,r,n,i)),!0}return!1}function FN(e){var t=il(e.target);if(t!==null){var r=Ml(t);if(r!==null){if(t=r.tag,t===13){if(t=bk(r),t!==null){e.blockedOn=t,Ek(e.lanePriority,function(){wn.unstable_runWithPriority(e.priority,function(){Sk(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=o2(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Dd(r),t!==null&&r2(t),e.blockedOn=r,!1;t.shift()}return!0}function pE(e,t,r){_0(e)&&r.delete(t)}function RN(){for(tw=!1;0<ca.length;){var e=ca[0];if(e.blockedOn!==null){e=Dd(e.blockedOn),e!==null&&_k(e);break}for(var t=e.targetContainers;0<t.length;){var r=o2(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&ca.shift()}qo!==null&&_0(qo)&&(qo=null),Yo!==null&&_0(Yo)&&(Yo=null),Xo!==null&&_0(Xo)&&(Xo=null),ld.forEach(pE),sd.forEach(pE)}function ih(e,t){e.blockedOn===t&&(e.blockedOn=null,tw||(tw=!0,wn.unstable_scheduleCallback(wn.unstable_NormalPriority,RN)))}function Ak(e){function t(i){return ih(i,e)}if(0<ca.length){ih(ca[0],e);for(var r=1;r<ca.length;r++){var n=ca[r];n.blockedOn===e&&(n.blockedOn=null)}}for(qo!==null&&ih(qo,e),Yo!==null&&ih(Yo,e),Xo!==null&&ih(Xo,e),ld.forEach(t),sd.forEach(t),r=0;r<rh.length;r++)n=rh[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<rh.length&&(r=rh[0],r.blockedOn===null);)FN(r),r.blockedOn===null&&rh.shift()}function Ov(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var zs={animationend:Ov("Animation","AnimationEnd"),animationiteration:Ov("Animation","AnimationIteration"),animationstart:Ov("Animation","AnimationStart"),transitionend:Ov("Transition","TransitionEnd")},Uy={},Tk={};Za&&(Tk=document.createElement("div").style,"AnimationEvent"in window||(delete zs.animationend.animation,delete zs.animationiteration.animation,delete zs.animationstart.animation),"TransitionEvent"in window||delete zs.transitionend.transition);function Zm(e){if(Uy[e])return Uy[e];if(!zs[e])return e;var t=zs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Tk)return Uy[e]=t[r];return e}var Ck=Zm("animationend"),Ok=Zm("animationiteration"),kk=Zm("animationstart"),Mk=Zm("transitionend"),Ik=new Map,n2=new Map,NN=["abort","abort",Ck,"animationEnd",Ok,"animationIteration",kk,"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",Mk,"transitionEnd","waiting","waiting"];function i2(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)),n2.set(n,t),Ik.set(n,i),Ol(i,[n])}}var LN=wn.unstable_now;LN();var Fr=8;function Ns(e){if((1&e)!==0)return Fr=15,1;if((2&e)!==0)return Fr=14,2;if((4&e)!==0)return Fr=13,4;var t=24&e;return t!==0?(Fr=12,t):(e&32)!==0?(Fr=11,32):(t=192&e,t!==0?(Fr=10,t):(e&256)!==0?(Fr=9,256):(t=3584&e,t!==0?(Fr=8,t):(e&4096)!==0?(Fr=7,4096):(t=4186112&e,t!==0?(Fr=6,t):(t=62914560&e,t!==0?(Fr=5,t):e&67108864?(Fr=4,67108864):(e&134217728)!==0?(Fr=3,134217728):(t=805306368&e,t!==0?(Fr=2,t):(1073741824&e)!==0?(Fr=1,1073741824):(Fr=8,e))))))}function DN(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 $N(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 fd(e,t){var r=e.pendingLanes;if(r===0)return Fr=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=Fr=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=Ns(s),i=Fr):(l&=a,l!==0&&(n=Ns(l),i=Fr))}else a=r&~o,a!==0?(n=Ns(a),i=Fr):l!==0&&(n=Ns(l),i=Fr);if(n===0)return 0;if(n=31-ru(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(Ns(t),i<=Fr)return t;Fr=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-ru(t),i=1<<r,n|=e[r],t&=~i;return n}function Pk(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Y0(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Ls(24&~t),e===0?Y0(10,t):e;case 10:return e=Ls(192&~t),e===0?Y0(8,t):e;case 8:return e=Ls(3584&~t),e===0&&(e=Ls(4186112&~t),e===0&&(e=512)),e;case 2:return t=Ls(805306368&~t),t===0&&(t=268435456),t}throw Error(dt(358,e))}function Ls(e){return e&-e}function jy(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Km(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-ru(t),e[t]=r}var ru=Math.clz32?Math.clz32:UN,BN=Math.log,zN=Math.LN2;function UN(e){return e===0?32:31-(BN(e)/zN|0)|0}var jN=wn.unstable_UserBlockingPriority,GN=wn.unstable_runWithPriority,S0=!0;function WN(e,t,r,n){nl||e2();var i=a2,a=nl;nl=!0;try{yk(i,e,t,r,n)}finally{(nl=a)||t2()}}function HN(e,t,r,n){GN(jN,a2.bind(null,e,t,r,n))}function a2(e,t,r,n){if(S0){var i;if((i=(t&4)===0)&&0<ca.length&&-1<hE.indexOf(e))e=rw(null,e,t,r,n),ca.push(e);else{var a=o2(e,t,r,n);if(a===null)i&&dE(e,n);else{if(i){if(-1<hE.indexOf(e)){e=rw(a,e,t,r,n),ca.push(e);return}if(PN(a,e,t,r,n))return;dE(e,n)}Hk(e,t,n,null,r)}}}}function o2(e,t,r,n){var i=K_(n);if(i=il(i),i!==null){var a=Ml(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=bk(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 Hk(e,t,n,i,r),null}var Uo=null,u2=null,E0=null;function Fk(){if(E0)return E0;var e,t=u2,r=t.length,n,i="value"in Uo?Uo.value:Uo.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 E0=i.slice(e,1<n?1-n:void 0)}function A0(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 kv(){return!0}function vE(){return!1}function pi(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?kv:vE,this.isPropagationStopped=vE,this}return zr(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=kv)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=kv)},persist:function(){},isPersistent:kv}),t}var Ff={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},l2=pi(Ff),Ld=zr({},Ff,{view:0,detail:0}),VN=pi(Ld),Gy,Wy,ah,Jm=zr({},Ld,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:s2,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!==ah&&(ah&&e.type==="mousemove"?(Gy=e.screenX-ah.screenX,Wy=e.screenY-ah.screenY):Wy=Gy=0,ah=e),Gy)},movementY:function(e){return"movementY"in e?e.movementY:Wy}}),mE=pi(Jm),qN=zr({},Jm,{dataTransfer:0}),YN=pi(qN),XN=zr({},Ld,{relatedTarget:0}),Hy=pi(XN),QN=zr({},Ff,{animationName:0,elapsedTime:0,pseudoElement:0}),ZN=pi(QN),KN=zr({},Ff,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),JN=pi(KN),e6=zr({},Ff,{data:0}),gE=pi(e6),t6={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},r6={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"},n6={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i6(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=n6[e])?!!t[e]:!1}function s2(){return i6}var a6=zr({},Ld,{key:function(e){if(e.key){var t=t6[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=A0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?r6[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:s2,charCode:function(e){return e.type==="keypress"?A0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?A0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),o6=pi(a6),u6=zr({},Jm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yE=pi(u6),l6=zr({},Ld,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:s2}),s6=pi(l6),f6=zr({},Ff,{propertyName:0,elapsedTime:0,pseudoElement:0}),c6=pi(f6),h6=zr({},Jm,{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}),d6=pi(h6),p6=[9,13,27,32],f2=Za&&"CompositionEvent"in window,Uh=null;Za&&"documentMode"in document&&(Uh=document.documentMode);var v6=Za&&"TextEvent"in window&&!Uh,Rk=Za&&(!f2||Uh&&8<Uh&&11>=Uh),xE=String.fromCharCode(32),bE=!1;function Nk(e,t){switch(e){case"keyup":return p6.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lk(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Us=!1;function m6(e,t){switch(e){case"compositionend":return Lk(t);case"keypress":return t.which!==32?null:(bE=!0,xE);case"textInput":return e=t.data,e===xE&&bE?null:e;default:return null}}function g6(e,t){if(Us)return e==="compositionend"||!f2&&Nk(e,t)?(e=Fk(),E0=u2=Uo=null,Us=!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 Rk&&t.locale!=="ko"?null:t.data;default:return null}}var y6={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 wE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!y6[e.type]:t==="textarea"}function Dk(e,t,r,n){mk(n),t=X0(t,"onChange"),0<t.length&&(r=new l2("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var jh=null,cd=null;function x6(e){jk(e,0)}function eg(e){var t=Gs(e);if(sk(t))return e}function b6(e,t){if(e==="change")return t}var $k=!1;if(Za){var Vy;if(Za){var qy="oninput"in document;if(!qy){var _E=document.createElement("div");_E.setAttribute("oninput","return;"),qy=typeof _E.oninput=="function"}Vy=qy}else Vy=!1;$k=Vy&&(!document.documentMode||9<document.documentMode)}function SE(){jh&&(jh.detachEvent("onpropertychange",Bk),cd=jh=null)}function Bk(e){if(e.propertyName==="value"&&eg(cd)){var t=[];if(Dk(t,cd,e,K_(e)),e=x6,nl)e(t);else{nl=!0;try{J_(e,t)}finally{nl=!1,t2()}}}}function w6(e,t,r){e==="focusin"?(SE(),jh=t,cd=r,jh.attachEvent("onpropertychange",Bk)):e==="focusout"&&SE()}function _6(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return eg(cd)}function S6(e,t){if(e==="click")return eg(t)}function E6(e,t){if(e==="input"||e==="change")return eg(t)}function A6(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ai=typeof Object.is=="function"?Object.is:A6,T6=Object.prototype.hasOwnProperty;function hd(e,t){if(Ai(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(!T6.call(t,r[n])||!Ai(e[r[n]],t[r[n]]))return!1;return!0}function EE(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function AE(e,t){var r=EE(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=EE(r)}}function zk(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function TE(){for(var e=window,t=H0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=H0(e.document)}return t}function nw(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 C6=Za&&"documentMode"in document&&11>=document.documentMode,js=null,iw=null,Gh=null,aw=!1;function CE(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;aw||js==null||js!==H0(n)||(n=js,"selectionStart"in n&&nw(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}),Gh&&hd(Gh,n)||(Gh=n,n=X0(iw,"onSelect"),0<n.length&&(t=new l2("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=js)))}i2("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);i2("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);i2(NN,2);for(var OE="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Yy=0;Yy<OE.length;Yy++)n2.set(OE[Yy],0);pf("onMouseEnter",["mouseout","mouseover"]);pf("onMouseLeave",["mouseout","mouseover"]);pf("onPointerEnter",["pointerout","pointerover"]);pf("onPointerLeave",["pointerout","pointerover"]);Ol("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ol("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ol("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ol("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ol("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ol("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Uk=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oh));function kE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,MN(n,t,void 0,e),e.currentTarget=null}function jk(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var l=n[o],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&i.isPropagationStopped())break e;kE(i,l,c),a=s}else for(o=0;o<n.length;o++){if(l=n[o],s=l.instance,c=l.currentTarget,l=l.listener,s!==a&&i.isPropagationStopped())break e;kE(i,l,c),a=s}}}if(q0)throw e=ew,q0=!1,ew=null,e}function Rr(e,t){var r=qk(t),n=e+"__bubble";r.has(n)||(Wk(t,e,2,!1),r.add(n))}var ME="_reactListening"+Math.random().toString(36).slice(2);function Gk(e){e[ME]||(e[ME]=!0,ok.forEach(function(t){Uk.has(t)||IE(t,!1,e,null),IE(t,!0,e,null)}))}function IE(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&&Uk.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=qk(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),Wk(a,e,i,t),o.add(l))}function Wk(e,t,r,n){var i=n2.get(t);switch(i===void 0?2:i){case 0:i=WN;break;case 1:i=HN;break;default:i=a2}r=i.bind(null,t,r,e),i=void 0,!Jb||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 Hk(e,t,r,n,i){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var s=o.tag;if((s===3||s===4)&&(s=o.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;o=o.return}for(;l!==null;){if(o=il(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}TN(function(){var c=a,d=K_(r),y=[];e:{var g=Ik.get(e);if(g!==void 0){var m=l2,E=e;switch(e){case"keypress":if(A0(r)===0)break e;case"keydown":case"keyup":m=o6;break;case"focusin":E="focus",m=Hy;break;case"focusout":E="blur",m=Hy;break;case"beforeblur":case"afterblur":m=Hy;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=mE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=YN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=s6;break;case Ck:case Ok:case kk:m=ZN;break;case Mk:m=c6;break;case"scroll":m=VN;break;case"wheel":m=d6;break;case"copy":case"cut":case"paste":m=JN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=yE}var M=(t&4)!==0,b=!M&&e==="scroll",w=M?g!==null?g+"Capture":null:g;M=[];for(var _=c,C;_!==null;){C=_;var T=C.stateNode;if(C.tag===5&&T!==null&&(C=T,w!==null&&(T=ud(_,w),T!=null&&M.push(dd(_,T,C)))),b)break;_=_.return}0<M.length&&(g=new m(g,E,null,r,d),y.push({event:g,listeners:M}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",g&&(t&16)===0&&(E=r.relatedTarget||r.fromElement)&&(il(E)||E[Rf]))break e;if((m||g)&&(g=d.window===d?d:(g=d.ownerDocument)?g.defaultView||g.parentWindow:window,m?(E=r.relatedTarget||r.toElement,m=c,E=E?il(E):null,E!==null&&(b=Ml(E),E!==b||E.tag!==5&&E.tag!==6)&&(E=null)):(m=null,E=c),m!==E)){if(M=mE,T="onMouseLeave",w="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(M=yE,T="onPointerLeave",w="onPointerEnter",_="pointer"),b=m==null?g:Gs(m),C=E==null?g:Gs(E),g=new M(T,_+"leave",m,r,d),g.target=b,g.relatedTarget=C,T=null,il(d)===c&&(M=new M(w,_+"enter",E,r,d),M.target=C,M.relatedTarget=b,T=M),b=T,m&&E)t:{for(M=m,w=E,_=0,C=M;C;C=As(C))_++;for(C=0,T=w;T;T=As(T))C++;for(;0<_-C;)M=As(M),_--;for(;0<C-_;)w=As(w),C--;for(;_--;){if(M===w||w!==null&&M===w.alternate)break t;M=As(M),w=As(w)}M=null}else M=null;m!==null&&PE(y,g,m,M,!1),E!==null&&b!==null&&PE(y,b,E,M,!0)}}e:{if(g=c?Gs(c):window,m=g.nodeName&&g.nodeName.toLowerCase(),m==="select"||m==="input"&&g.type==="file")var R=b6;else if(wE(g))if($k)R=E6;else{R=_6;var L=w6}else(m=g.nodeName)&&m.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(R=S6);if(R&&(R=R(e,c))){Dk(y,R,r,d);break e}L&&L(e,g,c),e==="focusout"&&(L=g._wrapperState)&&L.controlled&&g.type==="number"&&Hb(g,"number",g.value)}switch(L=c?Gs(c):window,e){case"focusin":(wE(L)||L.contentEditable==="true")&&(js=L,iw=c,Gh=null);break;case"focusout":Gh=iw=js=null;break;case"mousedown":aw=!0;break;case"contextmenu":case"mouseup":case"dragend":aw=!1,CE(y,r,d);break;case"selectionchange":if(C6)break;case"keydown":case"keyup":CE(y,r,d)}var q;if(f2)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 Us?Nk(e,r)&&(j="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(j="onCompositionStart");j&&(Rk&&r.locale!=="ko"&&(Us||j!=="onCompositionStart"?j==="onCompositionEnd"&&Us&&(q=Fk()):(Uo=d,u2="value"in Uo?Uo.value:Uo.textContent,Us=!0)),L=X0(c,j),0<L.length&&(j=new gE(j,e,null,r,d),y.push({event:j,listeners:L}),q?j.data=q:(q=Lk(r),q!==null&&(j.data=q)))),(q=v6?m6(e,r):g6(e,r))&&(c=X0(c,"onBeforeInput"),0<c.length&&(d=new gE("onBeforeInput","beforeinput",null,r,d),y.push({event:d,listeners:c}),d.data=q))}jk(y,t)})}function dd(e,t,r){return{instance:e,listener:t,currentTarget:r}}function X0(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=ud(e,r),a!=null&&n.unshift(dd(e,a,i)),a=ud(e,t),a!=null&&n.push(dd(e,a,i))),e=e.return}return n}function As(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function PE(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var l=r,s=l.alternate,c=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&c!==null&&(l=c,i?(s=ud(r,a),s!=null&&o.unshift(dd(r,s,l))):i||(s=ud(r,a),s!=null&&o.push(dd(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function Q0(){}var Xy=null,Qy=null;function Vk(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function ow(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 FE=typeof setTimeout=="function"?setTimeout:void 0,O6=typeof clearTimeout=="function"?clearTimeout:void 0;function c2(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function tf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function RE(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 Zy=0;function k6(e){return{$$typeof:Q_,toString:e,valueOf:e}}var tg=Math.random().toString(36).slice(2),jo="__reactFiber$"+tg,Z0="__reactProps$"+tg,Rf="__reactContainer$"+tg,NE="__reactEvents$"+tg;function il(e){var t=e[jo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Rf]||r[jo]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=RE(e);e!==null;){if(r=e[jo])return r;e=RE(e)}return t}e=r,r=e.parentNode}return null}function Dd(e){return e=e[jo]||e[Rf],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(dt(33))}function rg(e){return e[Z0]||null}function qk(e){var t=e[NE];return t===void 0&&(t=e[NE]=new Set),t}var uw=[],Ws=-1;function du(e){return{current:e}}function Lr(e){0>Ws||(e.current=uw[Ws],uw[Ws]=null,Ws--)}function Vr(e,t){Ws++,uw[Ws]=e.current,e.current=t}var nu={},Dn=du(nu),ei=du(!1),vl=nu;function vf(e,t){var r=e.type.contextTypes;if(!r)return nu;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 ti(e){return e=e.childContextTypes,e!=null}function K0(){Lr(ei),Lr(Dn)}function LE(e,t,r){if(Dn.current!==nu)throw Error(dt(168));Vr(Dn,t),Vr(ei,r)}function Yk(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,Zs(t)||"Unknown",i));return zr({},r,n)}function T0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nu,vl=Dn.current,Vr(Dn,e),Vr(ei,ei.current),!0}function DE(e,t,r){var n=e.stateNode;if(!n)throw Error(dt(169));r?(e=Yk(e,t,vl),n.__reactInternalMemoizedMergedChildContext=e,Lr(ei),Lr(Dn),Vr(Dn,e)):Lr(ei),Vr(ei,r)}var h2=null,fl=null,M6=wn.unstable_runWithPriority,d2=wn.unstable_scheduleCallback,lw=wn.unstable_cancelCallback,I6=wn.unstable_shouldYield,$E=wn.unstable_requestPaint,sw=wn.unstable_now,P6=wn.unstable_getCurrentPriorityLevel,ng=wn.unstable_ImmediatePriority,Xk=wn.unstable_UserBlockingPriority,Qk=wn.unstable_NormalPriority,Zk=wn.unstable_LowPriority,Kk=wn.unstable_IdlePriority,Ky={},F6=$E!==void 0?$E:function(){},Ha=null,C0=null,Jy=!1,BE=sw(),Nn=1e4>BE?sw:function(){return sw()-BE};function mf(){switch(P6()){case ng:return 99;case Xk:return 98;case Qk:return 97;case Zk:return 96;case Kk:return 95;default:throw Error(dt(332))}}function Jk(e){switch(e){case 99:return ng;case 98:return Xk;case 97:return Qk;case 96:return Zk;case 95:return Kk;default:throw Error(dt(332))}}function ml(e,t){return e=Jk(e),M6(e,t)}function pd(e,t,r){return e=Jk(e),d2(e,t,r)}function wa(){if(C0!==null){var e=C0;C0=null,lw(e)}eM()}function eM(){if(!Jy&&Ha!==null){Jy=!0;var e=0;try{var t=Ha;ml(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Ha=null}catch(r){throw Ha!==null&&(Ha=Ha.slice(e+1)),d2(ng,wa),r}finally{Jy=!1}}}var R6=kl.ReactCurrentBatchConfig;function Vi(e,t){if(e&&e.defaultProps){t=zr({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var J0=du(null),em=null,Hs=null,tm=null;function p2(){tm=Hs=em=null}function v2(e){var t=J0.current;Lr(J0),e.type._context._currentValue=t}function tM(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 rf(e,t){em=e,tm=Hs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Yi=!0),e.firstContext=null)}function Mi(e,t){if(tm!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(tm=e,t=1073741823),t={context:e,observedBits:t,next:null},Hs===null){if(em===null)throw Error(dt(308));Hs=t,em.dependencies={lanes:0,firstContext:t,responders:null}}else Hs=Hs.next=t;return e._currentValue}var No=!1;function m2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function rM(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zo(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 zE(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 vd(e,t,r,n){var i=e.updateQueue;No=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,c=s.next;s.next=null,o===null?a=c:o.next=c,o=s;var d=e.alternate;if(d!==null){d=d.updateQueue;var y=d.lastBaseUpdate;y!==o&&(y===null?d.firstBaseUpdate=c:y.next=c,d.lastBaseUpdate=s)}}if(a!==null){y=i.baseState,o=0,d=c=s=null;do{l=a.lane;var g=a.eventTime;if((n&l)===l){d!==null&&(d=d.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,E=a;switch(l=t,g=r,E.tag){case 1:if(m=E.payload,typeof m=="function"){y=m.call(g,y,l);break e}y=m;break e;case 3:m.flags=m.flags&-4097|64;case 0:if(m=E.payload,l=typeof m=="function"?m.call(g,y,l):m,l==null)break e;y=zr({},y,l);break e;case 2:No=!0}}a.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[a]:l.push(a))}else g={eventTime:g,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=g,s=y):d=d.next=g,o|=l;if(a=a.next,a===null){if(l=i.shared.pending,l===null)break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);d===null&&(s=y),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=d,Bd|=o,e.lanes=o,e.memoizedState=y}}function UE(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 nM=new Ym.Component().refs;function rm(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:zr({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var ig={isMounted:function(e){return(e=e._reactInternals)?Ml(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=di(),i=Ko(e),a=Qo(n,i);a.payload=t,r!=null&&(a.callback=r),Zo(e,a),Jo(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=di(),i=Ko(e),a=Qo(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Zo(e,a),Jo(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=di(),n=Ko(e),i=Qo(r,n);i.tag=2,t!=null&&(i.callback=t),Zo(e,i),Jo(e,n,r)}};function jE(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?!hd(r,n)||!hd(i,a):!0}function iM(e,t,r){var n=!1,i=nu,a=t.contextType;return typeof a=="object"&&a!==null?a=Mi(a):(i=ti(t)?vl:Dn.current,n=t.contextTypes,a=(n=n!=null)?vf(e,i):nu),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ig,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function GE(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&&ig.enqueueReplaceState(t,t.state,null)}function fw(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=nM,m2(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Mi(a):(a=ti(t)?vl:Dn.current,i.context=vf(e,a)),vd(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(rm(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&&ig.enqueueReplaceState(i,i.state,null),vd(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Mv=Array.isArray;function oh(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===nM&&(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 Iv(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 aM(e){function t(b,w){if(e){var _=b.lastEffect;_!==null?(_.nextEffect=w,b.lastEffect=w):b.firstEffect=b.lastEffect=w,w.nextEffect=null,w.flags=8}}function r(b,w){if(!e)return null;for(;w!==null;)t(b,w),w=w.sibling;return null}function n(b,w){for(b=new Map;w!==null;)w.key!==null?b.set(w.key,w):b.set(w.index,w),w=w.sibling;return b}function i(b,w){return b=au(b,w),b.index=0,b.sibling=null,b}function a(b,w,_){return b.index=_,e?(_=b.alternate,_!==null?(_=_.index,_<w?(b.flags=2,w):_):(b.flags=2,w)):w}function o(b){return e&&b.alternate===null&&(b.flags=2),b}function l(b,w,_,C){return w===null||w.tag!==6?(w=i1(_,b.mode,C),w.return=b,w):(w=i(w,_),w.return=b,w)}function s(b,w,_,C){return w!==null&&w.elementType===_.type?(C=i(w,_.props),C.ref=oh(b,w,_),C.return=b,C):(C=I0(_.type,_.key,_.props,null,b.mode,C),C.ref=oh(b,w,_),C.return=b,C)}function c(b,w,_,C){return w===null||w.tag!==4||w.stateNode.containerInfo!==_.containerInfo||w.stateNode.implementation!==_.implementation?(w=a1(_,b.mode,C),w.return=b,w):(w=i(w,_.children||[]),w.return=b,w)}function d(b,w,_,C,T){return w===null||w.tag!==7?(w=uf(_,b.mode,C,T),w.return=b,w):(w=i(w,_),w.return=b,w)}function y(b,w,_){if(typeof w=="string"||typeof w=="number")return w=i1(""+w,b.mode,_),w.return=b,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Th:return _=I0(w.type,w.key,w.props,null,b.mode,_),_.ref=oh(b,null,w),_.return=b,_;case rl:return w=a1(w,b.mode,_),w.return=b,w}if(Mv(w)||eh(w))return w=uf(w,b.mode,_,null),w.return=b,w;Iv(b,w)}return null}function g(b,w,_,C){var T=w!==null?w.key:null;if(typeof _=="string"||typeof _=="number")return T!==null?null:l(b,w,""+_,C);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Th:return _.key===T?_.type===Bo?d(b,w,_.props.children,C,T):s(b,w,_,C):null;case rl:return _.key===T?c(b,w,_,C):null}if(Mv(_)||eh(_))return T!==null?null:d(b,w,_,C,null);Iv(b,_)}return null}function m(b,w,_,C,T){if(typeof C=="string"||typeof C=="number")return b=b.get(_)||null,l(w,b,""+C,T);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Th:return b=b.get(C.key===null?_:C.key)||null,C.type===Bo?d(w,b,C.props.children,T,C.key):s(w,b,C,T);case rl:return b=b.get(C.key===null?_:C.key)||null,c(w,b,C,T)}if(Mv(C)||eh(C))return b=b.get(_)||null,d(w,b,C,T,null);Iv(w,C)}return null}function E(b,w,_,C){for(var T=null,R=null,L=w,q=w=0,j=null;L!==null&&q<_.length;q++){L.index>q?(j=L,L=null):j=L.sibling;var te=g(b,L,_[q],C);if(te===null){L===null&&(L=j);break}e&&L&&te.alternate===null&&t(b,L),w=a(te,w,q),R===null?T=te:R.sibling=te,R=te,L=j}if(q===_.length)return r(b,L),T;if(L===null){for(;q<_.length;q++)L=y(b,_[q],C),L!==null&&(w=a(L,w,q),R===null?T=L:R.sibling=L,R=L);return T}for(L=n(b,L);q<_.length;q++)j=m(L,b,q,_[q],C),j!==null&&(e&&j.alternate!==null&&L.delete(j.key===null?q:j.key),w=a(j,w,q),R===null?T=j:R.sibling=j,R=j);return e&&L.forEach(function(ge){return t(b,ge)}),T}function M(b,w,_,C){var T=eh(_);if(typeof T!="function")throw Error(dt(150));if(_=T.call(_),_==null)throw Error(dt(151));for(var R=T=null,L=w,q=w=0,j=null,te=_.next();L!==null&&!te.done;q++,te=_.next()){L.index>q?(j=L,L=null):j=L.sibling;var ge=g(b,L,te.value,C);if(ge===null){L===null&&(L=j);break}e&&L&&ge.alternate===null&&t(b,L),w=a(ge,w,q),R===null?T=ge:R.sibling=ge,R=ge,L=j}if(te.done)return r(b,L),T;if(L===null){for(;!te.done;q++,te=_.next())te=y(b,te.value,C),te!==null&&(w=a(te,w,q),R===null?T=te:R.sibling=te,R=te);return T}for(L=n(b,L);!te.done;q++,te=_.next())te=m(L,b,q,te.value,C),te!==null&&(e&&te.alternate!==null&&L.delete(te.key===null?q:te.key),w=a(te,w,q),R===null?T=te:R.sibling=te,R=te);return e&&L.forEach(function(me){return t(b,me)}),T}return function(b,w,_,C){var T=typeof _=="object"&&_!==null&&_.type===Bo&&_.key===null;T&&(_=_.props.children);var R=typeof _=="object"&&_!==null;if(R)switch(_.$$typeof){case Th:e:{for(R=_.key,T=w;T!==null;){if(T.key===R){switch(T.tag){case 7:if(_.type===Bo){r(b,T.sibling),w=i(T,_.props.children),w.return=b,b=w;break e}break;default:if(T.elementType===_.type){r(b,T.sibling),w=i(T,_.props),w.ref=oh(b,T,_),w.return=b,b=w;break e}}r(b,T);break}else t(b,T);T=T.sibling}_.type===Bo?(w=uf(_.props.children,b.mode,C,_.key),w.return=b,b=w):(C=I0(_.type,_.key,_.props,null,b.mode,C),C.ref=oh(b,w,_),C.return=b,b=C)}return o(b);case rl:e:{for(T=_.key;w!==null;){if(w.key===T)if(w.tag===4&&w.stateNode.containerInfo===_.containerInfo&&w.stateNode.implementation===_.implementation){r(b,w.sibling),w=i(w,_.children||[]),w.return=b,b=w;break e}else{r(b,w);break}else t(b,w);w=w.sibling}w=a1(_,b.mode,C),w.return=b,b=w}return o(b)}if(typeof _=="string"||typeof _=="number")return _=""+_,w!==null&&w.tag===6?(r(b,w.sibling),w=i(w,_),w.return=b,b=w):(r(b,w),w=i1(_,b.mode,C),w.return=b,b=w),o(b);if(Mv(_))return E(b,w,_,C);if(eh(_))return M(b,w,_,C);if(R&&Iv(b,_),typeof _>"u"&&!T)switch(b.tag){case 1:case 22:case 0:case 11:case 15:throw Error(dt(152,Zs(b.type)||"Component"))}return r(b,w)}}var nm=aM(!0),oM=aM(!1),$d={},va=du($d),md=du($d),gd=du($d);function al(e){if(e===$d)throw Error(dt(174));return e}function cw(e,t){switch(Vr(gd,t),Vr(md,e),Vr(va,$d),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xb(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xb(t,e)}Lr(va),Vr(va,t)}function gf(){Lr(va),Lr(md),Lr(gd)}function WE(e){al(gd.current);var t=al(va.current),r=Xb(t,e.type);t!==r&&(Vr(md,e),Vr(va,r))}function g2(e){md.current===e&&(Lr(va),Lr(md))}var Wr=du(0);function im(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=null,Go=null,ma=!1;function uM(e,t){var r=Ti(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 HE(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 hw(e){if(ma){var t=Go;if(t){var r=t;if(!HE(e,t)){if(t=tf(r.nextSibling),!t||!HE(e,t)){e.flags=e.flags&-1025|2,ma=!1,qa=e;return}uM(qa,r)}qa=e,Go=tf(t.firstChild)}else e.flags=e.flags&-1025|2,ma=!1,qa=e}}function VE(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qa=e}function Pv(e){if(e!==qa)return!1;if(!ma)return VE(e),ma=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!ow(t,e.memoizedProps))for(t=Go;t;)uM(e,t),t=tf(t.nextSibling);if(VE(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){Go=tf(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Go=null}}else Go=qa?tf(e.stateNode.nextSibling):null;return!0}function e1(){Go=qa=null,ma=!1}var nf=[];function y2(){for(var e=0;e<nf.length;e++)nf[e]._workInProgressVersionPrimary=null;nf.length=0}var Wh=kl.ReactCurrentDispatcher,Oi=kl.ReactCurrentBatchConfig,yd=0,Qr=null,Rn=null,On=null,am=!1,Hh=!1;function Zn(){throw Error(dt(321))}function x2(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ai(e[r],t[r]))return!1;return!0}function b2(e,t,r,n,i,a){if(yd=a,Qr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wh.current=e===null||e.memoizedState===null?L6:D6,e=r(n,i),Hh){a=0;do{if(Hh=!1,!(25>a))throw Error(dt(301));a+=1,On=Rn=null,t.updateQueue=null,Wh.current=$6,e=r(n,i)}while(Hh)}if(Wh.current=sm,t=Rn!==null&&Rn.next!==null,yd=0,On=Rn=Qr=null,am=!1,t)throw Error(dt(300));return e}function ol(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return On===null?Qr.memoizedState=On=e:On=On.next=e,On}function Il(){if(Rn===null){var e=Qr.alternate;e=e!==null?e.memoizedState:null}else e=Rn.next;var t=On===null?Qr.memoizedState:On.next;if(t!==null)On=t,Rn=e;else{if(e===null)throw Error(dt(310));Rn=e,e={memoizedState:Rn.memoizedState,baseState:Rn.baseState,baseQueue:Rn.baseQueue,queue:Rn.queue,next:null},On===null?Qr.memoizedState=On=e:On=On.next=e}return On}function ha(e,t){return typeof t=="function"?t(e):t}function uh(e){var t=Il(),r=t.queue;if(r===null)throw Error(dt(311));r.lastRenderedReducer=e;var n=Rn,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=o=a=null,s=i;do{var c=s.lane;if((yd&c)===c)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var d={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(o=l=d,a=n):l=l.next=d,Qr.lanes|=c,Bd|=c}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,Ai(n,t.memoizedState)||(Yi=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function lh(e){var t=Il(),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);Ai(a,t.memoizedState)||(Yi=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function qE(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=(yd&e)===e)&&(t._workInProgressVersionPrimary=n,nf.push(t))),e)return r(t._source);throw nf.push(t),Error(dt(350))}function lM(e,t,r,n){var i=Wn;if(i===null)throw Error(dt(349));var a=t._getVersion,o=a(t._source),l=Wh.current,s=l.useState(function(){return qE(i,t,r)}),c=s[1],d=s[0];s=On;var y=e.memoizedState,g=y.refs,m=g.getSnapshot,E=y.source;y=y.subscribe;var M=Qr;return e.memoizedState={refs:g,source:t,subscribe:n},l.useEffect(function(){g.getSnapshot=r,g.setSnapshot=c;var b=a(t._source);if(!Ai(o,b)){b=r(t._source),Ai(d,b)||(c(b),b=Ko(M),i.mutableReadLanes|=b&i.pendingLanes),b=i.mutableReadLanes,i.entangledLanes|=b;for(var w=i.entanglements,_=b;0<_;){var C=31-ru(_),T=1<<C;w[C]|=b,_&=~T}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var b=g.getSnapshot,w=g.setSnapshot;try{w(b(t._source));var _=Ko(M);i.mutableReadLanes|=_&i.pendingLanes}catch(C){w(function(){throw C})}})},[t,n]),Ai(m,r)&&Ai(E,t)&&Ai(y,n)||(e={pending:null,dispatch:null,lastRenderedReducer:ha,lastRenderedState:d},e.dispatch=c=S2.bind(null,Qr,e),s.queue=e,s.baseQueue=null,d=qE(i,t,r),s.memoizedState=s.baseState=d),d}function sM(e,t,r){var n=Il();return lM(n,e,t,r)}function sh(e){var t=ol();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ha,lastRenderedState:e},e=e.dispatch=S2.bind(null,Qr,e),[t.memoizedState,e]}function om(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 YE(e){var t=ol();return e={current:e},t.memoizedState=e}function um(){return Il().memoizedState}function dw(e,t,r,n){var i=ol();Qr.flags|=e,i.memoizedState=om(1|t,r,void 0,n===void 0?null:n)}function w2(e,t,r,n){var i=Il();n=n===void 0?null:n;var a=void 0;if(Rn!==null){var o=Rn.memoizedState;if(a=o.destroy,n!==null&&x2(n,o.deps)){om(t,r,a,n);return}}Qr.flags|=e,i.memoizedState=om(1|t,r,a,n)}function XE(e,t){return dw(516,4,e,t)}function lm(e,t){return w2(516,4,e,t)}function fM(e,t){return w2(4,2,e,t)}function cM(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 hM(e,t,r){return r=r!=null?r.concat([e]):null,w2(4,2,cM.bind(null,t,e),r)}function _2(){}function dM(e,t){var r=Il();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&x2(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function pM(e,t){var r=Il();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&x2(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function N6(e,t){var r=mf();ml(98>r?98:r,function(){e(!0)}),ml(97<r?97:r,function(){var n=Oi.transition;Oi.transition=1;try{e(!1),t()}finally{Oi.transition=n}})}function S2(e,t,r){var n=di(),i=Ko(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)Hh=am=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,r);if(a.eagerReducer=o,a.eagerState=s,Ai(s,l))return}catch{}finally{}Jo(e,i,n)}}var sm={readContext:Mi,useCallback:Zn,useContext:Zn,useEffect:Zn,useImperativeHandle:Zn,useLayoutEffect:Zn,useMemo:Zn,useReducer:Zn,useRef:Zn,useState:Zn,useDebugValue:Zn,useDeferredValue:Zn,useTransition:Zn,useMutableSource:Zn,useOpaqueIdentifier:Zn,unstable_isNewReconciler:!1},L6={readContext:Mi,useCallback:function(e,t){return ol().memoizedState=[e,t===void 0?null:t],e},useContext:Mi,useEffect:XE,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,dw(4,2,cM.bind(null,t,e),r)},useLayoutEffect:function(e,t){return dw(4,2,e,t)},useMemo:function(e,t){var r=ol();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ol();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=S2.bind(null,Qr,e),[n.memoizedState,e]},useRef:YE,useState:sh,useDebugValue:_2,useDeferredValue:function(e){var t=sh(e),r=t[0],n=t[1];return XE(function(){var i=Oi.transition;Oi.transition=1;try{n(e)}finally{Oi.transition=i}},[e]),r},useTransition:function(){var e=sh(!1),t=e[0];return e=N6.bind(null,e[1]),YE(e),[e,t]},useMutableSource:function(e,t,r){var n=ol();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},lM(n,e,t,r)},useOpaqueIdentifier:function(){if(ma){var e=!1,t=k6(function(){throw e||(e=!0,r("r:"+(Zy++).toString(36))),Error(dt(355))}),r=sh(t)[1];return(Qr.mode&2)===0&&(Qr.flags|=516,om(5,function(){r("r:"+(Zy++).toString(36))},void 0,null)),t}return t="r:"+(Zy++).toString(36),sh(t),t},unstable_isNewReconciler:!1},D6={readContext:Mi,useCallback:dM,useContext:Mi,useEffect:lm,useImperativeHandle:hM,useLayoutEffect:fM,useMemo:pM,useReducer:uh,useRef:um,useState:function(){return uh(ha)},useDebugValue:_2,useDeferredValue:function(e){var t=uh(ha),r=t[0],n=t[1];return lm(function(){var i=Oi.transition;Oi.transition=1;try{n(e)}finally{Oi.transition=i}},[e]),r},useTransition:function(){var e=uh(ha)[0];return[um().current,e]},useMutableSource:sM,useOpaqueIdentifier:function(){return uh(ha)[0]},unstable_isNewReconciler:!1},$6={readContext:Mi,useCallback:dM,useContext:Mi,useEffect:lm,useImperativeHandle:hM,useLayoutEffect:fM,useMemo:pM,useReducer:lh,useRef:um,useState:function(){return lh(ha)},useDebugValue:_2,useDeferredValue:function(e){var t=lh(ha),r=t[0],n=t[1];return lm(function(){var i=Oi.transition;Oi.transition=1;try{n(e)}finally{Oi.transition=i}},[e]),r},useTransition:function(){var e=lh(ha)[0];return[um().current,e]},useMutableSource:sM,useOpaqueIdentifier:function(){return lh(ha)[0]},unstable_isNewReconciler:!1},B6=kl.ReactCurrentOwner,Yi=!1;function Kn(e,t,r,n){t.child=e===null?oM(t,null,r,n):nm(t,e.child,r,n)}function QE(e,t,r,n,i){r=r.render;var a=t.ref;return rf(t,i),n=b2(e,t,r,n,a,i),e!==null&&!Yi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Ya(e,t,i)):(t.flags|=1,Kn(e,t,n,i),t.child)}function ZE(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!k2(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,vM(e,t,o,n,i,a)):(e=I0(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,(i&a)===0&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:hd,r(i,n)&&e.ref===t.ref)?Ya(e,t,a):(t.flags|=1,e=au(o,n),e.ref=t.ref,e.return=t,t.child=e)}function vM(e,t,r,n,i,a){if(e!==null&&hd(e.memoizedProps,n)&&e.ref===t.ref)if(Yi=!1,(a&i)!==0)(e.flags&16384)!==0&&(Yi=!0);else return t.lanes=e.lanes,Ya(e,t,a);return pw(e,t,r,n,a)}function t1(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},Rv(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},Rv(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Rv(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Rv(t,n);return Kn(e,t,i,r),t.child}function mM(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function pw(e,t,r,n,i){var a=ti(r)?vl:Dn.current;return a=vf(t,a),rf(t,i),r=b2(e,t,r,n,a,i),e!==null&&!Yi?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Ya(e,t,i)):(t.flags|=1,Kn(e,t,r,i),t.child)}function KE(e,t,r,n,i){if(ti(r)){var a=!0;T0(t)}else a=!1;if(rf(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),iM(t,r,n),fw(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,c=r.contextType;typeof c=="object"&&c!==null?c=Mi(c):(c=ti(r)?vl:Dn.current,c=vf(t,c));var d=r.getDerivedStateFromProps,y=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";y||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==n||s!==c)&&GE(t,o,n,c),No=!1;var g=t.memoizedState;o.state=g,vd(t,n,o,i),s=t.memoizedState,l!==n||g!==s||ei.current||No?(typeof d=="function"&&(rm(t,r,d,n),s=t.memoizedState),(l=No||jE(t,r,l,n,g,s,c))?(y||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),o.props=n,o.state=s,o.context=c,n=l):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,rM(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Vi(t.type,l),o.props=c,y=t.pendingProps,g=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Mi(s):(s=ti(r)?vl:Dn.current,s=vf(t,s));var m=r.getDerivedStateFromProps;(d=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==y||g!==s)&&GE(t,o,n,s),No=!1,g=t.memoizedState,o.state=g,vd(t,n,o,i);var E=t.memoizedState;l!==y||g!==E||ei.current||No?(typeof m=="function"&&(rm(t,r,m,n),E=t.memoizedState),(c=No||jE(t,r,c,n,g,E,s))?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,E,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,E,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=E),o.props=n,o.state=E,o.context=s,n=c):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),n=!1)}return vw(e,t,r,n,a,i)}function vw(e,t,r,n,i,a){mM(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&DE(t,r,!1),Ya(e,t,a);n=t.stateNode,B6.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=nm(t,e.child,null,a),t.child=nm(t,null,l,a)):Kn(e,t,l,a),t.memoizedState=n.state,i&&DE(t,r,!0),t.child}function JE(e){var t=e.stateNode;t.pendingContext?LE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&LE(e,t.context,!1),cw(e,t.containerInfo)}var Fv={dehydrated:null,retryLane:0};function eA(e,t,r){var n=t.pendingProps,i=Wr.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),Vr(Wr,i&1),e===null?(n.fallback!==void 0&&hw(t),e=n.children,i=n.fallback,a?(e=tA(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Fv,e):typeof n.unstable_expectedLoadTime=="number"?(e=tA(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Fv,t.lanes=33554432,e):(r=M2({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=nA(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=Fv,n):(r=rA(e,t,n.children,r),t.memoizedState=null,r):a?(n=nA(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=Fv,n):(r=rA(e,t,n.children,r),t.memoizedState=null,r)}function tA(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},(i&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=M2(t,i,0,null),r=uf(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function rA(e,t,r,n){var i=e.child;return e=i.sibling,r=au(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function nA(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=au(o,l),e!==null?n=au(e,n):(n=uf(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function iA(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),tM(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 aA(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(Kn(e,t,n.children,r),n=Wr.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&iA(e,r);else if(e.tag===19)iA(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(Vr(Wr,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&im(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&&im(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 Ya(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Bd|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(dt(153));if(t.child!==null){for(e=t.child,r=au(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=au(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var gM,mw,yM,xM;gM=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}};mw=function(){};yM=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,al(va.current);var a=null;switch(r){case"input":i=Gb(e,i),n=Gb(e,n),a=[];break;case"option":i=Vb(e,i),n=Vb(e,n),a=[];break;case"select":i=zr({},i,{value:void 0}),n=zr({},n,{value:void 0}),a=[];break;case"textarea":i=qb(e,i),n=qb(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Q0)}Qb(r,n);var o;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(ad.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var s=n[c];if(l=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&s!==l&&(s!=null||l!=null))if(c==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(a||(a=[]),a.push(c,r)),r=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(ad.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&Rr("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===Q_?s.toString():(a=a||[]).push(c,s))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};xM=function(e,t,r,n){r!==n&&(t.flags|=4)};function fh(e,t){if(!ma)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 z6(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 ti(t.type)&&K0(),null;case 3:return gf(),Lr(ei),Lr(Dn),y2(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pv(t)?t.flags|=4:n.hydrate||(t.flags|=256)),mw(t),null;case 5:g2(t);var i=al(gd.current);if(r=t.type,e!==null&&t.stateNode!=null)yM(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=al(va.current),Pv(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[jo]=t,n[Z0]=a,r){case"dialog":Rr("cancel",n),Rr("close",n);break;case"iframe":case"object":case"embed":Rr("load",n);break;case"video":case"audio":for(e=0;e<Oh.length;e++)Rr(Oh[e],n);break;case"source":Rr("error",n);break;case"img":case"image":case"link":Rr("error",n),Rr("load",n);break;case"details":Rr("toggle",n);break;case"input":aE(n,a),Rr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Rr("invalid",n);break;case"textarea":uE(n,a),Rr("invalid",n)}Qb(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]):ad.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Rr("scroll",n));switch(r){case"input":Tv(n),oE(n,a,!0);break;case"textarea":Tv(n),lE(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Q0)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===Yb.html&&(e=hk(r)),e===Yb.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[jo]=t,e[Z0]=n,gM(e,t,!1,!1),t.stateNode=e,o=Zb(r,n),r){case"dialog":Rr("cancel",e),Rr("close",e),i=n;break;case"iframe":case"object":case"embed":Rr("load",e),i=n;break;case"video":case"audio":for(i=0;i<Oh.length;i++)Rr(Oh[i],e);i=n;break;case"source":Rr("error",e),i=n;break;case"img":case"image":case"link":Rr("error",e),Rr("load",e),i=n;break;case"details":Rr("toggle",e),i=n;break;case"input":aE(e,n),i=Gb(e,n),Rr("invalid",e);break;case"option":i=Vb(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=zr({},n,{value:void 0}),Rr("invalid",e);break;case"textarea":uE(e,n),i=qb(e,n),Rr("invalid",e);break;default:i=n}Qb(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?vk(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&dk(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&od(e,s):typeof s=="number"&&od(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ad.hasOwnProperty(a)?s!=null&&a==="onScroll"&&Rr("scroll",e):s!=null&&W_(e,a,s,o))}switch(r){case"input":Tv(e),oE(e,n,!1);break;case"textarea":Tv(e),lE(e);break;case"option":n.value!=null&&e.setAttribute("value",""+tu(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Ks(e,!!n.multiple,a,!1):n.defaultValue!=null&&Ks(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Q0)}Vk(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)xM(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(dt(166));r=al(gd.current),al(va.current),Pv(t)?(n=t.stateNode,r=t.memoizedProps,n[jo]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[jo]=t,t.stateNode=n)}return null;case 13:return Lr(Wr),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Pv(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Wr.current&1)!==0?kn===0&&(kn=3):((kn===0||kn===3)&&(kn=4),Wn===null||(Bd&134217727)===0&&(Lf&134217727)===0||af(Wn,Ln))),(n||r)&&(t.flags|=4),null);case 4:return gf(),mw(t),e===null&&Gk(t.stateNode.containerInfo),null;case 10:return v2(t),null;case 17:return ti(t.type)&&K0(),null;case 19:if(Lr(Wr),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)fh(n,!1);else{if(kn!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=im(e),o!==null){for(t.flags|=64,fh(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 Vr(Wr,Wr.current&1|2),t.child}e=e.sibling}n.tail!==null&&Nn()>_w&&(t.flags|=64,a=!0,fh(n,!1),t.lanes=33554432)}else{if(!a)if(e=im(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),fh(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!ma)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Nn()-n.renderingStartTime>_w&&r!==1073741824&&(t.flags|=64,a=!0,fh(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=Nn(),r.sibling=null,t=Wr.current,Vr(Wr,a?t&1|2:t&1),r):null;case 23:case 24:return O2(),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 U6(e){switch(e.tag){case 1:ti(e.type)&&K0();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(gf(),Lr(ei),Lr(Dn),y2(),t=e.flags,(t&64)!==0)throw Error(dt(285));return e.flags=t&-4097|64,e;case 5:return g2(e),null;case 13:return Lr(Wr),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Lr(Wr),null;case 4:return gf(),null;case 10:return v2(e),null;case 23:case 24:return O2(),null;default:return null}}function E2(e,t){try{var r="",n=t;do r+=wN(n),n=n.return;while(n);var i=r}catch(a){i=`
31
- Error generating stack: `+a.message+`
32
- `+a.stack}return{value:e,source:t,stack:i}}function gw(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var j6=typeof WeakMap=="function"?WeakMap:Map;function bM(e,t,r){r=Qo(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){cm||(cm=!0,Sw=n),gw(e,t)},r}function wM(e,t,r){r=Qo(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return gw(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(da===null?da=new Set([this]):da.add(this),gw(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var G6=typeof WeakSet=="function"?WeakSet:Set;function oA(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){eu(e,r)}else t.current=null}function W6(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:Vi(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&c2(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(dt(163))}function H6(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(MM(r,e),J6(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:Vi(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&UE(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}UE(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Vk(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&&Ak(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(dt(163))}function uA(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=pk("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 lA(e,t){if(fl&&typeof fl.onCommitFiberUnmount=="function")try{fl.onCommitFiberUnmount(h2,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)MM(t,r);else{n=t;try{i()}catch(a){eu(n,a)}}r=r.next}while(r!==e)}break;case 1:if(oA(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){eu(t,a)}break;case 5:oA(t);break;case 4:_M(e,t)}}function sA(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 fA(e){return e.tag===5||e.tag===3||e.tag===4}function cA(e){e:{for(var t=e.return;t!==null;){if(fA(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&&(od(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||fA(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=Q0));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 _M(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(dt(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,l=r,s=l;;)if(lA(o,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(o=i,l=r.stateNode,o.nodeType===8?o.parentNode.removeChild(l):o.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(lA(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 n1(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[Z0]=n,e==="input"&&n.type==="radio"&&n.name!=null&&fk(r,n),Zb(e,i),t=Zb(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?vk(r,l):o==="dangerouslySetInnerHTML"?dk(r,l):o==="children"?od(r,l):W_(r,o,l,t)}switch(e){case"input":Wb(r,n);break;case"textarea":ck(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Ks(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Ks(r,!!n.multiple,n.defaultValue,!0):Ks(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,Ak(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(C2=Nn(),uA(t.child,!0)),hA(t);return;case 19:hA(t);return;case 17:return;case 23:case 24:uA(t,t.memoizedState!==null);return}throw Error(dt(163))}function hA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new G6),t.forEach(function(n){var i=r8.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function V6(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var q6=Math.ceil,fm=kl.ReactCurrentDispatcher,A2=kl.ReactCurrentOwner,Jt=0,Wn=null,cn=null,Ln=0,gl=0,bw=du(0),kn=0,ag=null,Nf=0,Bd=0,Lf=0,T2=0,ww=null,C2=0,_w=1/0;function Df(){_w=Nn()+500}var $t=null,cm=!1,Sw=null,da=null,iu=!1,Vh=null,kh=90,Ew=[],Aw=[],Qa=null,qh=0,Tw=null,O0=-1,Va=0,k0=0,Yh=null,M0=!1;function di(){return(Jt&48)!==0?Nn():O0!==-1?O0:O0=Nn()}function Ko(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return mf()===99?1:2;if(Va===0&&(Va=Nf),R6.transition!==0){k0!==0&&(k0=ww!==null?ww.pendingLanes:0),e=Va;var t=4186112&~k0;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=mf(),(Jt&4)!==0&&e===98?e=Y0(12,Va):(e=DN(e),e=Y0(e,Va)),e}function Jo(e,t,r){if(50<qh)throw qh=0,Tw=null,Error(dt(185));if(e=og(e,t),e===null)return null;Km(e,t,r),e===Wn&&(Lf|=t,kn===4&&af(e,Ln));var n=mf();t===1?(Jt&8)!==0&&(Jt&48)===0?Cw(e):(Ii(e,r),Jt===0&&(Df(),wa())):((Jt&4)===0||n!==98&&n!==99||(Qa===null?Qa=new Set([e]):Qa.add(e)),Ii(e,r)),ww=e}function og(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 Ii(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ru(o),s=1<<l,c=a[l];if(c===-1){if((s&n)===0||(s&i)!==0){c=t,Ns(s);var d=Fr;a[l]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);o&=~s}if(n=fd(e,e===Wn?Ln:0),t=Fr,n===0)r!==null&&(r!==Ky&&lw(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Ky&&lw(r)}t===15?(r=Cw.bind(null,e),Ha===null?(Ha=[r],C0=d2(ng,eM)):Ha.push(r),r=Ky):t===14?r=pd(99,Cw.bind(null,e)):(r=$N(t),r=pd(r,SM.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function SM(e){if(O0=-1,k0=Va=0,(Jt&48)!==0)throw Error(dt(327));var t=e.callbackNode;if(pu()&&e.callbackNode!==t)return null;var r=fd(e,e===Wn?Ln:0);if(r===0)return null;var n=r,i=Jt;Jt|=16;var a=CM();(Wn!==e||Ln!==n)&&(Df(),of(e,n));do try{Q6();break}catch(l){TM(e,l)}while(1);if(p2(),fm.current=a,Jt=i,cn!==null?n=0:(Wn=null,Ln=0,n=kn),(Nf&Lf)!==0)of(e,0);else if(n!==0){if(n===2&&(Jt|=64,e.hydrate&&(e.hydrate=!1,c2(e.containerInfo)),r=Pk(e),r!==0&&(n=Mh(e,r))),n===1)throw t=ag,of(e,0),af(e,r),Ii(e,Nn()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(dt(345));case 2:Qu(e);break;case 3:if(af(e,r),(r&62914560)===r&&(n=C2+500-Nn(),10<n)){if(fd(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){di(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=FE(Qu.bind(null,e),n);break}Qu(e);break;case 4:if(af(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-ru(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=Nn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*q6(r/1960))-r,10<r){e.timeoutHandle=FE(Qu.bind(null,e),r);break}Qu(e);break;case 5:Qu(e);break;default:throw Error(dt(329))}}return Ii(e,Nn()),e.callbackNode===t?SM.bind(null,e):null}function af(e,t){for(t&=~T2,t&=~Lf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ru(t),n=1<<r;e[r]=-1,t&=~n}}function Cw(e){if((Jt&48)!==0)throw Error(dt(327));if(pu(),e===Wn&&(e.expiredLanes&Ln)!==0){var t=Ln,r=Mh(e,t);(Nf&Lf)!==0&&(t=fd(e,t),r=Mh(e,t))}else t=fd(e,0),r=Mh(e,t);if(e.tag!==0&&r===2&&(Jt|=64,e.hydrate&&(e.hydrate=!1,c2(e.containerInfo)),t=Pk(e),t!==0&&(r=Mh(e,t))),r===1)throw r=ag,of(e,0),af(e,t),Ii(e,Nn()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qu(e),Ii(e,Nn()),null}function Y6(){if(Qa!==null){var e=Qa;Qa=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Ii(t,Nn())})}wa()}function EM(e,t){var r=Jt;Jt|=1;try{return e(t)}finally{Jt=r,Jt===0&&(Df(),wa())}}function AM(e,t){var r=Jt;Jt&=-2,Jt|=8;try{return e(t)}finally{Jt=r,Jt===0&&(Df(),wa())}}function Rv(e,t){Vr(bw,gl),gl|=t,Nf|=t}function O2(){gl=bw.current,Lr(bw)}function of(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,O6(r)),cn!==null)for(r=cn.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&K0();break;case 3:gf(),Lr(ei),Lr(Dn),y2();break;case 5:g2(n);break;case 4:gf();break;case 13:Lr(Wr);break;case 19:Lr(Wr);break;case 10:v2(n);break;case 23:case 24:O2()}r=r.return}Wn=e,cn=au(e.current,null),Ln=gl=Nf=t,kn=0,ag=null,T2=Lf=Bd=0}function TM(e,t){do{var r=cn;try{if(p2(),Wh.current=sm,am){for(var n=Qr.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}am=!1}if(yd=0,On=Rn=Qr=null,Hh=!1,A2.current=null,r===null||r.return===null){kn=1,ag=t,cn=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=Ln,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s;if((l.mode&2)===0){var d=l.alternate;d?(l.updateQueue=d.updateQueue,l.memoizedState=d.memoizedState,l.lanes=d.lanes):(l.updateQueue=null,l.memoizedState=null)}var y=(Wr.current&1)!==0,g=o;do{var m;if(m=g.tag===13){var E=g.memoizedState;if(E!==null)m=E.dehydrated!==null;else{var M=g.memoizedProps;m=M.fallback===void 0?!1:M.unstable_avoidThisFallback!==!0?!0:!y}}if(m){var b=g.updateQueue;if(b===null){var w=new Set;w.add(c),g.updateQueue=w}else b.add(c);if((g.mode&2)===0){if(g.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var _=Qo(-1,1);_.tag=2,Zo(l,_)}l.lanes|=1;break e}s=void 0,l=t;var C=a.pingCache;if(C===null?(C=a.pingCache=new j6,s=new Set,C.set(c,s)):(s=C.get(c),s===void 0&&(s=new Set,C.set(c,s))),!s.has(l)){s.add(l);var T=t8.bind(null,a,c,l);c.then(T,T)}g.flags|=4096,g.lanes=t;break e}g=g.return}while(g!==null);s=Error((Zs(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
33
-
34
- Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}kn!==5&&(kn=2),s=E2(s,l),g=o;do{switch(g.tag){case 3:a=s,g.flags|=4096,t&=-t,g.lanes|=t;var R=bM(g,a,t);zE(g,R);break e;case 1:a=s;var L=g.type,q=g.stateNode;if((g.flags&64)===0&&(typeof L.getDerivedStateFromError=="function"||q!==null&&typeof q.componentDidCatch=="function"&&(da===null||!da.has(q)))){g.flags|=4096,t&=-t,g.lanes|=t;var j=wM(g,a,t);zE(g,j);break e}}g=g.return}while(g!==null)}kM(r)}catch(te){t=te,cn===r&&r!==null&&(cn=r=r.return);continue}break}while(1)}function CM(){var e=fm.current;return fm.current=sm,e===null?sm:e}function Mh(e,t){var r=Jt;Jt|=16;var n=CM();Wn===e&&Ln===t||of(e,t);do try{X6();break}catch(i){TM(e,i)}while(1);if(p2(),Jt=r,fm.current=n,cn!==null)throw Error(dt(261));return Wn=null,Ln=0,kn}function X6(){for(;cn!==null;)OM(cn)}function Q6(){for(;cn!==null&&!I6();)OM(cn)}function OM(e){var t=IM(e.alternate,e,gl);e.memoizedProps=e.pendingProps,t===null?kM(e):cn=t,A2.current=null}function kM(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=z6(r,t,gl),r!==null){cn=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(gl&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=U6(t),r!==null){r.flags&=2047,cn=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){cn=t;return}cn=t=e}while(t!==null);kn===0&&(kn=5)}function Qu(e){var t=mf();return ml(99,Z6.bind(null,e,t)),null}function Z6(e,t){do pu();while(Vh!==null);if((Jt&48)!==0)throw Error(dt(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(dt(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-ru(a),c=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~c}if(Qa!==null&&(n&24)===0&&Qa.has(e)&&Qa.delete(e),e===Wn&&(cn=Wn=null,Ln=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Jt,Jt|=32,A2.current=null,Xy=S0,o=TE(),nw(o)){if("selectionStart"in o)l={start:o.selectionStart,end:o.selectionEnd};else e:if(l=(l=o.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&c.rangeCount!==0){l=c.anchorNode,a=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var d=0,y=-1,g=-1,m=0,E=0,M=o,b=null;t:for(;;){for(var w;M!==l||a!==0&&M.nodeType!==3||(y=d+a),M!==s||c!==0&&M.nodeType!==3||(g=d+c),M.nodeType===3&&(d+=M.nodeValue.length),(w=M.firstChild)!==null;)b=M,M=w;for(;;){if(M===o)break t;if(b===l&&++m===a&&(y=d),b===s&&++E===c&&(g=d),(w=M.nextSibling)!==null)break;M=b,b=M.parentNode}M=w}l=y===-1||g===-1?null:{start:y,end:g}}else l=null;l=l||{start:0,end:0}}else l=null;Qy={focusedElem:o,selectionRange:l},S0=!1,Yh=null,M0=!1,$t=n;do try{K6()}catch(te){if($t===null)throw Error(dt(330));eu($t,te),$t=$t.nextEffect}while($t!==null);Yh=null,$t=n;do try{for(o=e;$t!==null;){var _=$t.flags;if(_&16&&od($t.stateNode,""),_&128){var C=$t.alternate;if(C!==null){var T=C.ref;T!==null&&(typeof T=="function"?T(null):T.current=null)}}switch(_&1038){case 2:cA($t),$t.flags&=-3;break;case 6:cA($t),$t.flags&=-3,n1($t.alternate,$t);break;case 1024:$t.flags&=-1025;break;case 1028:$t.flags&=-1025,n1($t.alternate,$t);break;case 4:n1($t.alternate,$t);break;case 8:l=$t,_M(o,l);var R=l.alternate;sA(l),R!==null&&sA(R)}$t=$t.nextEffect}}catch(te){if($t===null)throw Error(dt(330));eu($t,te),$t=$t.nextEffect}while($t!==null);if(T=Qy,C=TE(),_=T.focusedElem,o=T.selectionRange,C!==_&&_&&_.ownerDocument&&zk(_.ownerDocument.documentElement,_)){for(o!==null&&nw(_)&&(C=o.start,T=o.end,T===void 0&&(T=C),"selectionStart"in _?(_.selectionStart=C,_.selectionEnd=Math.min(T,_.value.length)):(T=(C=_.ownerDocument||document)&&C.defaultView||window,T.getSelection&&(T=T.getSelection(),l=_.textContent.length,R=Math.min(o.start,l),o=o.end===void 0?R:Math.min(o.end,l),!T.extend&&R>o&&(l=o,o=R,R=l),l=AE(_,R),a=AE(_,o),l&&a&&(T.rangeCount!==1||T.anchorNode!==l.node||T.anchorOffset!==l.offset||T.focusNode!==a.node||T.focusOffset!==a.offset)&&(C=C.createRange(),C.setStart(l.node,l.offset),T.removeAllRanges(),R>o?(T.addRange(C),T.extend(a.node,a.offset)):(C.setEnd(a.node,a.offset),T.addRange(C)))))),C=[],T=_;T=T.parentNode;)T.nodeType===1&&C.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<C.length;_++)T=C[_],T.element.scrollLeft=T.left,T.element.scrollTop=T.top}S0=!!Xy,Qy=Xy=null,e.current=r,$t=n;do try{for(_=e;$t!==null;){var L=$t.flags;if(L&36&&H6(_,$t.alternate,$t),L&128){C=void 0;var q=$t.ref;if(q!==null){var j=$t.stateNode;switch($t.tag){case 5:C=j;break;default:C=j}typeof q=="function"?q(C):q.current=C}}$t=$t.nextEffect}}catch(te){if($t===null)throw Error(dt(330));eu($t,te),$t=$t.nextEffect}while($t!==null);$t=null,F6(),Jt=i}else e.current=r;if(iu)iu=!1,Vh=e,kh=t;else for($t=n;$t!==null;)t=$t.nextEffect,$t.nextEffect=null,$t.flags&8&&(L=$t,L.sibling=null,L.stateNode=null),$t=t;if(n=e.pendingLanes,n===0&&(da=null),n===1?e===Tw?qh++:(qh=0,Tw=e):qh=0,r=r.stateNode,fl&&typeof fl.onCommitFiberRoot=="function")try{fl.onCommitFiberRoot(h2,r,void 0,(r.current.flags&64)===64)}catch{}if(Ii(e,Nn()),cm)throw cm=!1,e=Sw,Sw=null,e;return(Jt&8)!==0||wa(),null}function K6(){for(;$t!==null;){var e=$t.alternate;M0||Yh===null||(($t.flags&8)!==0?cE($t,Yh)&&(M0=!0):$t.tag===13&&V6(e,$t)&&cE($t,Yh)&&(M0=!0));var t=$t.flags;(t&256)!==0&&W6(e,$t),(t&512)===0||iu||(iu=!0,pd(97,function(){return pu(),null})),$t=$t.nextEffect}}function pu(){if(kh!==90){var e=97<kh?97:kh;return kh=90,ml(e,e8)}return!1}function J6(e,t){Ew.push(t,e),iu||(iu=!0,pd(97,function(){return pu(),null}))}function MM(e,t){Aw.push(t,e),iu||(iu=!0,pd(97,function(){return pu(),null}))}function e8(){if(Vh===null)return!1;var e=Vh;if(Vh=null,(Jt&48)!==0)throw Error(dt(331));var t=Jt;Jt|=32;var r=Aw;Aw=[];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));eu(a,s)}}for(r=Ew,Ew=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(a===null)throw Error(dt(330));eu(a,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return Jt=t,wa(),!0}function dA(e,t,r){t=E2(r,t),t=bM(e,t,1),Zo(e,t),t=di(),e=og(e,1),e!==null&&(Km(e,1,t),Ii(e,t))}function eu(e,t){if(e.tag===3)dA(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){dA(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(da===null||!da.has(n))){e=E2(t,e);var i=wM(r,e,1);if(Zo(r,i),i=di(),r=og(r,1),r!==null)Km(r,1,i),Ii(r,i);else if(typeof n.componentDidCatch=="function"&&(da===null||!da.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function t8(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=di(),e.pingedLanes|=e.suspendedLanes&r,Wn===e&&(Ln&r)===r&&(kn===4||kn===3&&(Ln&62914560)===Ln&&500>Nn()-C2?of(e,0):T2|=r),Ii(e,t)}function r8(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=mf()===99?1:2:(Va===0&&(Va=Nf),t=Ls(62914560&~Va),t===0&&(t=4194304))),r=di(),e=og(e,t),e!==null&&(Km(e,t,r),Ii(e,r))}var IM;IM=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||ei.current)Yi=!0;else if((r&n)!==0)Yi=(e.flags&16384)!==0;else{switch(Yi=!1,t.tag){case 3:JE(t),e1();break;case 5:WE(t);break;case 1:ti(t.type)&&T0(t);break;case 4:cw(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Vr(J0,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?eA(e,t,r):(Vr(Wr,Wr.current&1),t=Ya(e,t,r),t!==null?t.sibling:null);Vr(Wr,Wr.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return aA(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Vr(Wr,Wr.current),n)break;return null;case 23:case 24:return t.lanes=0,t1(e,t,r)}return Ya(e,t,r)}else Yi=!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=vf(t,Dn.current),rf(t,r),i=b2(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,ti(n)){var a=!0;T0(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,m2(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&rm(t,n,o,e),i.updater=ig,t.stateNode=i,i._reactInternals=t,fw(t,n,e,r),t=vw(null,t,n,!0,a,r)}else t.tag=0,Kn(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=i8(i),e=Vi(i,e),a){case 0:t=pw(null,t,i,e,r);break e;case 1:t=KE(null,t,i,e,r);break e;case 11:t=QE(null,t,i,e,r);break e;case 14:t=ZE(null,t,i,Vi(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:Vi(n,i),pw(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Vi(n,i),KE(e,t,n,i,r);case 3:if(JE(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,rM(e,t),vd(t,n,null,r),n=t.memoizedState.element,n===i)e1(),t=Ya(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Go=tf(t.stateNode.containerInfo.firstChild),qa=t,a=ma=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],nf.push(a);for(r=oM(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Kn(e,t,n,r),e1();t=t.child}return t;case 5:return WE(t),e===null&&hw(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,ow(n,i)?o=null:a!==null&&ow(n,a)&&(t.flags|=16),mM(e,t),Kn(e,t,o,r),t.child;case 6:return e===null&&hw(t),null;case 13:return eA(e,t,r);case 4:return cw(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=nm(t,null,n,r):Kn(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Vi(n,i),QE(e,t,n,i,r);case 7:return Kn(e,t,t.pendingProps,r),t.child;case 8:return Kn(e,t,t.pendingProps.children,r),t.child;case 12:return Kn(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var l=t.type._context;if(Vr(J0,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=Ai(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!ei.current){t=Ya(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var c=s.firstContext;c!==null;){if(c.context===n&&(c.observedBits&a)!==0){l.tag===1&&(c=Qo(-1,r&-r),c.tag=2,Zo(l,c)),l.lanes|=r,c=l.alternate,c!==null&&(c.lanes|=r),tM(l.return,r),s.lanes|=r;break}c=c.next}}else o=l.tag===10&&l.type===t.type?null:l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}Kn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,rf(t,r),i=Mi(i,a.unstable_observedBits),n=n(i),t.flags|=1,Kn(e,t,n,r),t.child;case 14:return i=t.type,a=Vi(i,t.pendingProps),a=Vi(i.type,a),ZE(e,t,i,a,n,r);case 15:return vM(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Vi(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ti(n)?(e=!0,T0(t)):e=!1,rf(t,r),iM(t,n,i),fw(t,n,i,r),vw(null,t,n,!0,e,r);case 19:return aA(e,t,r);case 23:return t1(e,t,r);case 24:return t1(e,t,r)}throw Error(dt(156,t.tag))};function n8(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 Ti(e,t,r,n){return new n8(e,t,r,n)}function k2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function i8(e){if(typeof e=="function")return k2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xm)return 11;if(e===Qm)return 14}return 2}function au(e,t){var r=e.alternate;return r===null?(r=Ti(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 I0(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")k2(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Bo:return uf(r.children,i,a,t);case uk:o=8,i|=16;break;case H_:o=8,i|=1;break;case Dh:return e=Ti(12,r,t,i|8),e.elementType=Dh,e.type=Dh,e.lanes=a,e;case $h:return e=Ti(13,r,t,i),e.type=$h,e.elementType=$h,e.lanes=a,e;case W0:return e=Ti(19,r,t,i),e.elementType=W0,e.lanes=a,e;case Z_:return M2(r,i,a,t);case jb:return e=Ti(24,r,t,i),e.elementType=jb,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case V_:o=10;break e;case q_:o=9;break e;case Xm:o=11;break e;case Qm:o=14;break e;case Y_:o=16,n=null;break e;case X_:o=22;break e}throw Error(dt(130,e==null?e:typeof e,""))}return t=Ti(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function uf(e,t,r,n){return e=Ti(7,e,n,t),e.lanes=r,e}function M2(e,t,r,n){return e=Ti(23,e,n,t),e.elementType=Z_,e.lanes=r,e}function i1(e,t,r){return e=Ti(6,e,null,t),e.lanes=r,e}function a1(e,t,r){return t=Ti(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function a8(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=jy(0),this.expirationTimes=jy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jy(0),this.mutableSourceEagerHydrationData=null}function o8(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:rl,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function hm(e,t,r,n){var i=t.current,a=di(),o=Ko(i);e:if(r){r=r._reactInternals;t:{if(Ml(r)!==r||r.tag!==1)throw Error(dt(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ti(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(dt(171))}if(r.tag===1){var s=r.type;if(ti(s)){r=Yk(r,s,l);break e}}r=l}else r=nu;return t.context===null?t.context=r:t.pendingContext=r,t=Qo(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Zo(i,t),Jo(i,o,a),o}function o1(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 pA(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function I2(e,t){pA(e,t),(e=e.alternate)&&pA(e,t)}function u8(){return null}function P2(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new a8(e,t,r!=null&&r.hydrate===!0),t=Ti(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,m2(t),e[Rf]=r.current,Gk(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}P2.prototype.render=function(e){hm(e,this._internalRoot,null,null)};P2.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;hm(null,e,null,function(){t[Rf]=null})};function zd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function l8(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 P2(e,0,t?{hydrate:!0}:void 0)}function ug(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var l=i;i=function(){var c=o1(o);l.call(c)}}hm(t,o,e,i)}else{if(a=r._reactRootContainer=l8(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var c=o1(o);s.call(c)}}AM(function(){hm(t,o,e,i)})}return o1(o)}_k=function(e){if(e.tag===13){var t=di();Jo(e,4,t),I2(e,4)}};r2=function(e){if(e.tag===13){var t=di();Jo(e,67108864,t),I2(e,67108864)}};Sk=function(e){if(e.tag===13){var t=di(),r=Ko(e);Jo(e,r,t),I2(e,r)}};Ek=function(e,t){return t()};Kb=function(e,t,r){switch(t){case"input":if(Wb(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=rg(n);if(!i)throw Error(dt(90));sk(n),Wb(n,i)}}}break;case"textarea":ck(e,r);break;case"select":t=r.value,t!=null&&Ks(e,!!r.multiple,t,!1)}};J_=EM;yk=function(e,t,r,n,i){var a=Jt;Jt|=4;try{return ml(98,e.bind(null,t,r,n,i))}finally{Jt=a,Jt===0&&(Df(),wa())}};e2=function(){(Jt&49)===0&&(Y6(),pu())};xk=function(e,t){var r=Jt;Jt|=2;try{return e(t)}finally{Jt=r,Jt===0&&(Df(),wa())}};function PM(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zd(t))throw Error(dt(200));return o8(e,t,null,r)}var s8={Events:[Dd,Gs,rg,mk,gk,pu,{current:!1}]},ch={findFiberByHostInstance:il,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},f8={bundleType:ch.bundleType,version:ch.version,rendererPackageName:ch.rendererPackageName,rendererConfig:ch.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kl.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wk(e),e===null?null:e.stateNode},findFiberByHostInstance:ch.findFiberByHostInstance||u8,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Nv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nv.isDisabled&&Nv.supportsFiber)try{h2=Nv.inject(f8),fl=Nv}catch{}}Pi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s8;Pi.createPortal=PM;Pi.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=wk(t),e=e===null?null:e.stateNode,e};Pi.flushSync=function(e,t){var r=Jt;if((r&48)!==0)return e(t);Jt|=1;try{if(e)return ml(99,e.bind(null,t))}finally{Jt=r,wa()}};Pi.hydrate=function(e,t,r){if(!zd(t))throw Error(dt(200));return ug(null,e,t,!0,r)};Pi.render=function(e,t,r){if(!zd(t))throw Error(dt(200));return ug(null,e,t,!1,r)};Pi.unmountComponentAtNode=function(e){if(!zd(e))throw Error(dt(40));return e._reactRootContainer?(AM(function(){ug(null,null,e,!1,function(){e._reactRootContainer=null,e[Rf]=null})}),!0):!1};Pi.unstable_batchedUpdates=EM;Pi.unstable_createPortal=function(e,t){return PM(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Pi.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!zd(r))throw Error(dt(200));if(e==null||e._reactInternals===void 0)throw Error(dt(38));return ug(e,t,r,!1,n)};Pi.version="17.0.2";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=Pi})(U_);const Ih=N_(U_.exports);var cr={exports:{}},c8="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",h8=c8,d8=h8;function FM(){}function RM(){}RM.resetWarningCache=FM;var p8=function(){function e(n,i,a,o,l,s){if(s!==d8){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:RM,resetWarningCache:FM};return r.PropTypes=r,r};cr.exports=p8();var v8=function(){},m8=v8(),no=function(e){return e!==m8&&e!==null},g8=no,y8=Array.prototype.forEach,x8=Object.create,b8=function(e,t){var r;for(r in e)t[r]=e[r]},F2=function(e){var t=x8(null);return y8.call(arguments,function(r){!g8(r)||b8(Object(r),t)}),t},w8=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},u1,vA;function _8(){return vA||(vA=1,u1=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),u1}var S8=w8()?Math.sign:_8(),E8=S8,A8=Math.abs,T8=Math.floor,C8=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:E8(e)*T8(A8(e)))},O8=C8,k8=Math.max,Pl=function(e){return k8(0,O8(e))},M8=Pl,NM=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:M8(e)},_a=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},I8=no,Zi=function(e){if(!I8(e))throw new TypeError("Cannot use null or undefined");return e},P8=_a,F8=Zi,R8=Function.prototype.bind,mA=Function.prototype.call,N8=Object.keys,L8=Object.prototype.propertyIsEnumerable,D8=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(F8(r)),P8(n),i=N8(r),o&&i.sort(typeof o=="function"?R8.call(o,r):void 0),typeof e!="function"&&(e=i[e]),mA.call(e,i,function(l,s){return L8.call(r,l)?mA.call(n,a,r[l],l,r,s):t})}},lg=D8("forEach"),Fl={},LM={exports:{}},$8=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")},l1,gA;function B8(){return gA||(gA=1,l1=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),l1}var s1,yA;function z8(){if(yA)return s1;yA=1;var e=no,t=Object.keys;return s1=function(r){return t(e(r)?Object(r):r)},s1}var f1,xA;function U8(){return xA||(xA=1,f1=B8()()?Object.keys:z8()),f1}var c1,bA;function j8(){if(bA)return c1;bA=1;var e=U8(),t=Zi,r=Math.max;return c1=function(n,i){var a,o,l=r(arguments.length,2),s;for(n=Object(t(n)),s=function(c){try{n[c]=i[c]}catch(d){a||(a=d)}},o=1;o<l;++o)i=arguments[o],e(i).forEach(s);if(a!==void 0)throw a;return n},c1}var sg=$8()?Object.assign:j8(),G8=no,W8={function:!0,object:!0},R2=function(e){return G8(e)&&W8[typeof e]||!1};(function(e){var t=sg,r=R2,n=no,i=Error.captureStackTrace;e.exports=function(a){var o=new Error(a),l=arguments[1],s=arguments[2];return n(s)||r(l)&&(s=l,l=null),n(s)&&t(o,s),n(l)&&(o.code=l),i&&i(o,e.exports),o}})(LM);var dm={exports:{}},h1,wA;function DM(){if(wA)return h1;wA=1;var e=Zi,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return h1=function(a,o){var l,s=Object(e(o));if(a=Object(e(a)),n(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){l=d}}),typeof i=="function"&&i(s).forEach(function(c){try{t(a,c,r(o,c))}catch(d){l=d}}),l!==void 0)throw l;return a},h1}var _A=Pl,$M=function(e,t){return t},d1,SA,EA,AA;try{Object.defineProperty($M,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}$M.length===1?(d1={configurable:!0,writable:!1,enumerable:!1},SA=Object.defineProperty,dm.exports=function(e,t){return t=_A(t),e.length===t?e:(d1.value=t,SA(e,"length",d1))}):(AA=DM(),EA=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); };")}}(),dm.exports=function(e,t){var r;if(t=_A(t),e.length===t)return e;r=EA(t)(e);try{AA(r,e)}catch{}return r});var Fi={exports:{}},H8=void 0,$f=function(e){return e!==H8&&e!==null},V8=$f,q8={object:!0,function:!0,undefined:!0},N2=function(e){return V8(e)?hasOwnProperty.call(q8,typeof e):!1},Y8=N2,X8=function(e){if(!Y8(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},Q8=X8,Z8=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!Q8(e)},K8=Z8,J8=/^\s*class[\s{/}]/,eL=Function.prototype.toString,BM=function(e){return!(!K8(e)||J8.test(eL.call(e)))},p1="razdwatrzy",tL=function(){return typeof p1.contains!="function"?!1:p1.contains("dwa")===!0&&p1.contains("foo")===!1},v1,TA;function rL(){if(TA)return v1;TA=1;var e=String.prototype.indexOf;return v1=function(t){return e.call(this,t,arguments[1])>-1},v1}var zM=tL()?String.prototype.contains:rL(),P0=$f,CA=BM,UM=sg,jM=F2,Xh=zM,nL=Fi.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],P0(e)?(r=Xh.call(e,"c"),n=Xh.call(e,"e"),i=Xh.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?UM(jM(a),o):o};nL.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],P0(t)?CA(t)?P0(r)?CA(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,P0(e)?(n=Xh.call(e,"c"),i=Xh.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?UM(jM(a),o):o};var Ow={exports:{}};(function(e,t){var r=Fi.exports,n=_a,i=Function.prototype.apply,a=Function.prototype.call,o=Object.create,l=Object.defineProperty,s=Object.defineProperties,c=Object.prototype.hasOwnProperty,d={configurable:!0,enumerable:!1,writable:!0},y,g,m,E,M,b,w;y=function(_,C){var T;return n(C),c.call(this,"__ee__")?T=this.__ee__:(T=d.value=o(null),l(this,"__ee__",d),d.value=null),T[_]?typeof T[_]=="object"?T[_].push(C):T[_]=[T[_],C]:T[_]=C,this},g=function(_,C){var T,R;return n(C),R=this,y.call(this,_,T=function(){m.call(R,_,T),i.call(C,this,arguments)}),T.__eeOnceListener__=C,this},m=function(_,C){var T,R,L,q;if(n(C),!c.call(this,"__ee__"))return this;if(T=this.__ee__,!T[_])return this;if(R=T[_],typeof R=="object")for(q=0;L=R[q];++q)(L===C||L.__eeOnceListener__===C)&&(R.length===2?T[_]=R[q?0:1]:R.splice(q,1));else(R===C||R.__eeOnceListener__===C)&&delete T[_];return this},E=function(_){var C,T,R,L,q;if(!!c.call(this,"__ee__")&&(L=this.__ee__[_],!!L))if(typeof L=="object"){for(T=arguments.length,q=new Array(T-1),C=1;C<T;++C)q[C-1]=arguments[C];for(L=L.slice(),C=0;R=L[C];++C)i.call(R,this,q)}else switch(arguments.length){case 1:a.call(L,this);break;case 2:a.call(L,this,arguments[1]);break;case 3:a.call(L,this,arguments[1],arguments[2]);break;default:for(T=arguments.length,q=new Array(T-1),C=1;C<T;++C)q[C-1]=arguments[C];i.call(L,this,q)}},M={on:y,once:g,off:m,emit:E},b={on:r(y),once:r(g),off:r(m),emit:r(E)},w=s({},b),e.exports=t=function(_){return _==null?o(w):s(Object(_),b)},t.methods=M})(Ow,Ow.exports);var m1,OA;function iL(){return OA||(OA=1,m1=function(){var e=Array.from,t,r;return typeof e!="function"?!1:(t=["raz","dwa"],r=e(t),Boolean(r&&r!==t&&r[1]==="dwa"))}),m1}var g1,kA;function aL(){return kA||(kA=1,g1=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),g1}var y1,MA;function oL(){if(MA)return y1;MA=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 y1=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__}}(),y1}var x1,IA;function fg(){return IA||(IA=1,x1=aL()()?globalThis:oL()),x1}var b1,PA;function uL(){if(PA)return b1;PA=1;var e=fg(),t={object:!0,symbol:!0};return b1=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])},b1}var w1,FA;function lL(){return FA||(FA=1,w1=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),w1}var _1,RA;function GM(){if(RA)return _1;RA=1;var e=lL();return _1=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},_1}var S1,NA;function sL(){if(NA)return S1;NA=1;var e=Fi.exports,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return S1=function(a){for(var o=0,l,s;i[a+(o||"")];)++o;return a+=o||"",i[a]=!0,l="@@"+a,r(n,l,e.gs(null,function(c){s||(s=!0,r(this,l,e(c)),s=!1)})),l},S1}var E1,LA;function fL(){if(LA)return E1;LA=1;var e=Fi.exports,t=fg().Symbol;return E1=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"))})},E1}var A1,DA;function cL(){if(DA)return A1;DA=1;var e=Fi.exports,t=GM(),r=Object.create(null);return A1=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})})},A1}var T1,$A;function hL(){if($A)return T1;$A=1;var e=Fi.exports,t=GM(),r=fg().Symbol,n=sL(),i=fL(),a=cL(),o=Object.create,l=Object.defineProperties,s=Object.defineProperty,c,d,y;if(typeof r=="function")try{String(r()),y=!0}catch{}else r=null;return d=function(m){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return c(m)},T1=c=function g(m){var E;if(this instanceof g)throw new TypeError("Symbol is not a constructor");return y?r(m):(E=o(d.prototype),m=m===void 0?"":String(m),l(E,{__description__:e("",m),__name__:e("",n(m))}))},i(c),a(c),l(d.prototype,{constructor:e(c),toString:e("",function(){return this.__name__})}),l(c.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),s(c.prototype,c.toPrimitive,e("",function(){var g=t(this);return typeof g=="symbol"?g:g.toString()})),s(c.prototype,c.toStringTag,e("c","Symbol")),s(d.prototype,c.toStringTag,e("c",c.prototype[c.toStringTag])),s(d.prototype,c.toPrimitive,e("c",c.prototype[c.toPrimitive])),T1}var C1,BA;function Rl(){return BA||(BA=1,C1=uL()()?fg().Symbol:hL()),C1}var O1,zA;function cg(){if(zA)return O1;zA=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return O1=function(r){return e.call(r)===t},O1}var k1,UA;function dL(){if(UA)return k1;UA=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return k1=function(r){return typeof r=="function"&&t(e.call(r))},k1}var M1,jA;function hg(){if(jA)return M1;jA=1;var e=Object.prototype.toString,t=e.call("");return M1=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},M1}var I1,GA;function pL(){if(GA)return I1;GA=1;var e=Rl().iterator,t=cg(),r=dL(),n=Pl,i=_a,a=Zi,o=no,l=hg(),s=Array.isArray,c=Function.prototype.call,d={configurable:!0,enumerable:!0,writable:!0,value:null},y=Object.defineProperty;return I1=function(g){var m=arguments[1],E=arguments[2],M,b,w,_,C,T,R,L,q,j;if(g=Object(a(g)),o(m)&&i(m),!this||this===Array||!r(this)){if(!m){if(t(g))return C=g.length,C!==1?Array.apply(null,g):(_=new Array(1),_[0]=g[0],_);if(s(g)){for(_=new Array(C=g.length),b=0;b<C;++b)_[b]=g[b];return _}}_=[]}else M=this;if(!s(g)){if((q=g[e])!==void 0){for(R=i(q).call(g),M&&(_=new M),L=R.next(),b=0;!L.done;)j=m?c.call(m,E,L.value,b):L.value,M?(d.value=j,y(_,b,d)):_[b]=j,L=R.next(),++b;C=b}else if(l(g)){for(C=g.length,M&&(_=new M),b=0,w=0;b<C;++b)j=g[b],b+1<C&&(T=j.charCodeAt(0),T>=55296&&T<=56319&&(j+=g[++b])),j=m?c.call(m,E,j,w):j,M?(d.value=j,y(_,w,d)):_[w]=j,++w;C=w}}if(C===void 0)for(C=n(g.length),M&&(_=new M(C)),b=0;b<C;++b)j=m?c.call(m,E,g[b],b):g[b],M?(d.value=j,y(_,b,d)):_[b]=j;return M&&(d.value=null,_.length=C),_},I1}var P1,WA;function dg(){return WA||(WA=1,P1=iL()()?Array.from:pL()),P1}var vL=dg(),mL=Array.isArray,gL=function(e){return mL(e)?e:vL(e)},yL=gL,xL=no,bL=_a,wL=Array.prototype.slice,WM;WM=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(wL.call(e,this.length))};var _L=function(e){return e=yL(e),e.forEach(function(t){xL(t)&&bL(t)}),WM.bind(e)},Lv=_a,SL=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:Lv(e.get)},e.set!==void 0?(t.set=Lv(e.set),e.delete&&(t.delete=Lv(e.delete)),e.clear&&(t.clear=Lv(e.clear)),t):(t.set=t.get,t))},Dv=LM.exports,$v=dm.exports,hh=Fi.exports,HM=Ow.exports.methods,EL=_L,AL=SL,F1=Function.prototype.apply,R1=Function.prototype.call,HA=Object.create,TL=Object.defineProperties,CL=HM.on,OL=HM.emit,kL=function(e,t,r){var n=HA(null),i,a,o,l,s,c,d,y,g,m,E,M,b,w,_;return t!==!1?a=t:isNaN(e.length)?a=1:a=e.length,r.normalizer&&(m=AL(r.normalizer),o=m.get,l=m.set,s=m.delete,c=m.clear),r.resolvers!=null&&(_=EL(r.resolvers)),o?w=$v(function(C){var T,R,L=arguments;if(_&&(L=_(L)),T=o(L),T!==null&&hasOwnProperty.call(n,T))return E&&i.emit("get",T,L,this),n[T];if(L.length===1?R=R1.call(e,this,L[0]):R=F1.call(e,this,L),T===null){if(T=o(L),T!==null)throw Dv("Circular invocation","CIRCULAR_INVOCATION");T=l(L)}else if(hasOwnProperty.call(n,T))throw Dv("Circular invocation","CIRCULAR_INVOCATION");return n[T]=R,M&&i.emit("set",T,null,R),R},a):t===0?w=function(){var C;if(hasOwnProperty.call(n,"data"))return E&&i.emit("get","data",arguments,this),n.data;if(arguments.length?C=F1.call(e,this,arguments):C=R1.call(e,this),hasOwnProperty.call(n,"data"))throw Dv("Circular invocation","CIRCULAR_INVOCATION");return n.data=C,M&&i.emit("set","data",null,C),C}:w=function(C){var T,R=arguments,L;if(_&&(R=_(arguments)),L=String(R[0]),hasOwnProperty.call(n,L))return E&&i.emit("get",L,R,this),n[L];if(R.length===1?T=R1.call(e,this,R[0]):T=F1.call(e,this,R),hasOwnProperty.call(n,L))throw Dv("Circular invocation","CIRCULAR_INVOCATION");return n[L]=T,M&&i.emit("set",L,null,T),T},i={original:e,memoized:w,profileName:r.profileName,get:function(C){return _&&(C=_(C)),o?o(C):String(C[0])},has:function(C){return hasOwnProperty.call(n,C)},delete:function(C){var T;!hasOwnProperty.call(n,C)||(s&&s(C),T=n[C],delete n[C],b&&i.emit("delete",C,T))},clear:function(){var C=n;c&&c(),n=HA(null),i.emit("clear",C)},on:function(C,T){return C==="get"?E=!0:C==="set"?M=!0:C==="delete"&&(b=!0),CL.call(this,C,T)},emit:OL,updateEnv:function(){e=i.original}},o?d=$v(function(C){var T,R=arguments;_&&(R=_(R)),T=o(R),T!==null&&i.delete(T)},a):t===0?d=function(){return i.delete("data")}:d=function(C){return _&&(C=_(arguments)[0]),i.delete(C)},y=$v(function(){var C,T=arguments;return t===0?n.data:(_&&(T=_(T)),o?C=o(T):C=String(T[0]),n[C])}),g=$v(function(){var C,T=arguments;return t===0?i.has("data"):(_&&(T=_(T)),o?C=o(T):C=String(T[0]),C===null?!1:i.has(C))}),TL(w,{__memoized__:hh(!0),delete:hh(d),clear:hh(i.clear),_get:hh(y),_has:hh(g)}),i},ML=_a,IL=lg,VA=Fl,PL=kL,FL=NM,RL=function e(t){var r,n,i;if(ML(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=FL(r.length,t.length,r.async&&VA.async),i=PL(t,n,r),IL(VA,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},N1,qA;function NL(){return qA||(qA=1,N1=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),N1}var L1,YA;function LL(){return YA||(YA=1,L1=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),L1}var D1,XA;function DL(){return XA||(XA=1,D1=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),D1}var $1,QA;function $L(){return QA||(QA=1,$1=function(e){return e!==e}),$1}var B1,ZA;function BL(){return ZA||(ZA=1,B1=DL()()?Number.isNaN:$L()),B1}var z1,KA;function L2(){if(KA)return z1;KA=1;var e=BL(),t=Pl,r=Zi,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return z1=function(l){var s,c,d,y;if(!e(l))return n.apply(this,arguments);for(c=t(r(this).length),d=arguments[1],isNaN(d)?d=0:d>=0?d=o(d):d=t(this.length)-o(a(d)),s=d;s<c;++s)if(i.call(this,s)&&(y=this[s],e(y)))return s;return-1},z1}var U1,JA;function zL(){if(JA)return U1;JA=1;var e=L2(),t=Object.create;return U1=function(){var r=0,n=[],i=t(null);return{get:function(a){var o=0,l=n,s,c=a.length;if(c===0)return l[c]||null;if(l=l[c]){for(;o<c-1;){if(s=e.call(l[0],a[o]),s===-1)return null;l=l[1][s],++o}return s=e.call(l[0],a[o]),s===-1?null:l[1][s]||null}return null},set:function(a){var o=0,l=n,s,c=a.length;if(c===0)l[c]=++r;else{for(l[c]||(l[c]=[[],[]]),l=l[c];o<c-1;)s=e.call(l[0],a[o]),s===-1&&(s=l[0].push(a[o])-1,l[1].push([[],[]])),l=l[1][s],++o;s=e.call(l[0],a[o]),s===-1&&(s=l[0].push(a[o])-1),l[1][s]=++r}return i[r]=a,r},delete:function(a){var o=0,l=n,s,c=i[a],d=c.length,y=[];if(d===0)delete l[d];else if(l=l[d]){for(;o<d-1;){if(s=e.call(l[0],c[o]),s===-1)return;y.push(l,s),l=l[1][s],++o}if(s=e.call(l[0],c[o]),s===-1)return;for(a=l[1][s],l[0].splice(s,1),l[1].splice(s,1);!l[0].length&&y.length;)s=y.pop(),l=y.pop(),l[0].splice(s,1),l[1].splice(s,1)}delete i[a]},clear:function(){n=[],i=t(null)}}},U1}var j1,e3;function UL(){if(e3)return j1;e3=1;var e=L2();return j1=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=[]}}},j1}var G1,t3;function jL(){if(t3)return G1;t3=1;var e=L2(),t=Object.create;return G1=function(r){var n=0,i=[[],[]],a=t(null);return{get:function(o){for(var l=0,s=i,c;l<r-1;){if(c=e.call(s[0],o[l]),c===-1)return null;s=s[1][c],++l}return c=e.call(s[0],o[l]),c===-1?null:s[1][c]||null},set:function(o){for(var l=0,s=i,c;l<r-1;)c=e.call(s[0],o[l]),c===-1&&(c=s[0].push(o[l])-1,s[1].push([[],[]])),s=s[1][c],++l;return c=e.call(s[0],o[l]),c===-1&&(c=s[0].push(o[l])-1),s[1][c]=++n,a[n]=o,n},delete:function(o){for(var l=0,s=i,c,d=[],y=a[o];l<r-1;){if(c=e.call(s[0],y[l]),c===-1)return;d.push(s,c),s=s[1][c],++l}if(c=e.call(s[0],y[l]),c!==-1){for(o=s[1][c],s[0].splice(c,1),s[1].splice(c,1);!s[0].length&&d.length;)c=d.pop(),s=d.pop(),s[0].splice(c,1),s[1].splice(c,1);delete a[o]}},clear:function(){i=[[],[]],a=t(null)}}},G1}var r3={},W1,n3;function D2(){if(n3)return W1;n3=1;var e=_a,t=lg,r=Function.prototype.call;return W1=function(n,i){var a={},o=arguments[2];return e(i),t(n,function(l,s,c,d){a[s]=r.call(i,o,l,s,c,d)}),a},W1}var H1,i3;function $2(){if(i3)return H1;i3=1;var e=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r},t=function(r){var n=document.createTextNode(""),i,a,o=0;return new r(function(){var l;if(i)a&&(i=a.concat(i));else{if(!a)return;i=a}if(a=i,i=null,typeof a=="function"){l=a,a=null,l();return}for(n.data=o=++o%2;a;)l=a.shift(),a.length||(a=null),l()}).observe(n,{characterData:!0}),function(l){if(e(l),i){typeof i=="function"?i=[i,l]:i.push(l);return}i=l,n.data=o=++o%2}};return H1=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}(),H1}var a3;function GL(){if(a3)return r3;a3=1;var e=dg(),t=D2(),r=DM(),n=dm.exports,i=$2(),a=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;return Fl.async=function(s,c){var d=l(null),y=l(null),g=c.memoized,m=c.original,E,M,b;c.memoized=n(function(w){var _=arguments,C=_[_.length-1];return typeof C=="function"&&(E=C,_=a.call(_,0,-1)),g.apply(M=this,b=_)},g);try{r(c.memoized,g)}catch{}c.on("get",function(w){var _,C,T;if(!!E){if(d[w]){typeof d[w]=="function"?d[w]=[d[w],E]:d[w].push(E),E=null;return}_=E,C=M,T=b,E=M=b=null,i(function(){var R;hasOwnProperty.call(y,w)?(R=y[w],c.emit("getasync",w,T,C),o.call(_,R.context,R.args)):(E=_,M=C,b=T,g.apply(C,T))})}}),c.original=function(){var w,_,C,T;return E?(w=e(arguments),_=function R(L){var q,j,te=R.id;if(te==null){i(o.bind(R,this,arguments));return}if(delete R.id,q=d[te],delete d[te],!!q)return j=e(arguments),c.has(te)&&(L?c.delete(te):(y[te]={context:this,args:j},c.emit("setasync",te,typeof q=="function"?1:q.length))),typeof q=="function"?T=o.call(q,this,j):q.forEach(function(ge){T=o.call(ge,this,j)},this),T},C=E,E=M=b=null,w.push(_),T=o.call(m,this,w),_.cb=C,E=_,T):o.call(m,this,arguments)},c.on("set",function(w){if(!E){c.delete(w);return}d[w]?typeof d[w]=="function"?d[w]=[d[w],E.cb]:d[w].push(E.cb):d[w]=E.cb,delete E.cb,E.id=w,E=null}),c.on("delete",function(w){var _;hasOwnProperty.call(d,w)||!y[w]||(_=y[w],delete y[w],c.emit("deleteasync",w,a.call(_.args,1)))}),c.on("clear",function(){var w=y;y=l(null),c.emit("clearasync",t(w,function(_){return a.call(_.args,1)}))})},r3}var o3={},V1,u3;function WL(){if(u3)return V1;u3=1;var e=Array.prototype.forEach,t=Object.create;return V1=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},V1}var q1,l3;function VM(){return l3||(l3=1,q1=function(e){return typeof e=="function"}),q1}var Y1,s3;function HL(){if(s3)return Y1;s3=1;var e=VM();return Y1=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},Y1}var X1,f3;function VL(){if(f3)return X1;f3=1;var e=Zi,t=HL();return X1=function(r){return t(e(r))},X1}var Q1,c3;function qL(){if(c3)return Q1;c3=1;var e=VM();return Q1=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},Q1}var Z1,h3;function YL(){if(h3)return Z1;h3=1;var e=qL(),t=/[\n\r\u2028\u2029]/g;return Z1=function(r){var n=e(r);return n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),n},Z1}var Bv={exports:{}},d3;function qM(){if(d3)return Bv.exports;d3=1,Bv.exports=e,Bv.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return Bv.exports}var p3;function XL(){if(p3)return o3;p3=1;var e=D2(),t=WL(),r=VL(),n=YL(),i=qM(),a=$2(),o=Object.create,l=t("then","then:finally","done","done:finally");return Fl.promise=function(s,c){var d=o(null),y=o(null),g=o(null);if(s===!0)s=null;else if(s=r(s),!l[s])throw new TypeError("'"+n(s)+"' is not valid promise mode");c.on("set",function(m,E,M){var b=!1;if(!i(M)){y[m]=M,c.emit("setasync",m,1);return}d[m]=1,g[m]=M;var w=function(R){var L=d[m];if(b)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
35
- Consider to rely on 'then' or 'done' mode instead.`);!L||(delete d[m],y[m]=R,c.emit("setasync",m,L))},_=function(){b=!0,d[m]&&(delete d[m],delete g[m],c.delete(m))},C=s;if(C||(C="then"),C==="then"){var T=function(){a(_)};M=M.then(function(R){a(w.bind(this,R))},T),typeof M.finally=="function"&&M.finally(T)}else if(C==="done"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");M.done(w,_)}else if(C==="done:finally"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof M.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");M.done(w),M.finally(_)}}),c.on("get",function(m,E,M){var b;if(d[m]){++d[m];return}b=g[m];var w=function(){c.emit("getasync",m,E,M)};i(b)?typeof b.done=="function"?b.done(w):b.then(function(){a(w)}):w()}),c.on("delete",function(m){if(delete g[m],d[m]){delete d[m];return}if(!!hasOwnProperty.call(y,m)){var E=y[m];delete y[m],c.emit("deleteasync",m,[E])}}),c.on("clear",function(){var m=y;y=o(null),d=o(null),g=o(null),c.emit("clearasync",e(m,function(E){return[E]}))})},o3}var v3={},m3;function QL(){if(m3)return v3;m3=1;var e=_a,t=lg,r=Fl,n=Function.prototype.apply;return r.dispose=function(i,a,o){var l;if(e(i),o.async&&r.async||o.promise&&r.promise){a.on("deleteasync",l=function(s,c){n.call(i,null,c)}),a.on("clearasync",function(s){t(s,function(c,d){l(d,c)})});return}a.on("delete",l=function(s,c){i(c)}),a.on("clear",function(s){t(s,function(c,d){l(d,c)})})},v3}var g3={},K1,y3;function ZL(){return y3||(y3=1,K1=2147483647),K1}var J1,x3;function KL(){if(x3)return J1;x3=1;var e=Pl,t=ZL();return J1=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},J1}var b3;function JL(){if(b3)return g3;b3=1;var e=dg(),t=lg,r=$2(),n=qM(),i=KL(),a=Fl,o=Function.prototype,l=Math.max,s=Math.min,c=Object.create;return a.maxAge=function(d,y,g){var m,E,M,b;d=i(d),d&&(m=c(null),E=g.async&&a.async||g.promise&&a.promise?"async":"",y.on("set"+E,function(w){m[w]=setTimeout(function(){y.delete(w)},d),typeof m[w].unref=="function"&&m[w].unref(),b&&(b[w]&&b[w]!=="nextTick"&&clearTimeout(b[w]),b[w]=setTimeout(function(){delete b[w]},M),typeof b[w].unref=="function"&&b[w].unref())}),y.on("delete"+E,function(w){clearTimeout(m[w]),delete m[w],b&&(b[w]!=="nextTick"&&clearTimeout(b[w]),delete b[w])}),g.preFetch&&(g.preFetch===!0||isNaN(g.preFetch)?M=.333:M=l(s(Number(g.preFetch),1),0),M&&(b={},M=(1-M)*d,y.on("get"+E,function(w,_,C){b[w]||(b[w]="nextTick",r(function(){var T;b[w]==="nextTick"&&(delete b[w],y.delete(w),g.async&&(_=e(_),_.push(o)),T=y.memoized.apply(C,_),g.promise&&n(T)&&(typeof T.done=="function"?T.done(o,o):T.then(o,o)))}))}))),y.on("clear"+E,function(){t(m,function(w){clearTimeout(w)}),m={},b&&(t(b,function(w){w!=="nextTick"&&clearTimeout(w)}),b={})}))},g3}var w3={},ex,_3;function eD(){if(_3)return ex;_3=1;var e=Pl,t=Object.create,r=Object.prototype.hasOwnProperty;return ex=function(n){var i=0,a=1,o=t(null),l=t(null),s=0,c;return n=e(n),{hit:function(d){var y=l[d],g=++s;if(o[g]=d,l[d]=g,!y)return++i,i<=n?void 0:(d=o[a],c(d),d);if(delete o[y],a===y)for(;!r.call(o,++a););},delete:c=function(d){var y=l[d];if(!!y&&(delete o[y],delete l[d],--i,a===y)){if(!i){s=0,a=1;return}for(;!r.call(o,++a););}},clear:function(){i=0,a=1,o=t(null),l=t(null),s=0}}},ex}var S3;function tD(){if(S3)return w3;S3=1;var e=Pl,t=eD(),r=Fl;return r.max=function(n,i,a){var o,l,s;n=e(n),n&&(l=t(n),o=a.async&&r.async||a.promise&&r.promise?"async":"",i.on("set"+o,s=function(c){c=l.hit(c),c!==void 0&&i.delete(c)}),i.on("get"+o,s),i.on("delete"+o,l.delete),i.on("clear"+o,l.clear))},w3}var E3={},A3;function rD(){if(A3)return E3;A3=1;var e=Fi.exports,t=Fl,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,a,o){var l,s;l=r(null),s=o.async&&t.async||o.promise&&t.promise?"async":"",a.on("set"+s,function(c,d){l[c]=d||1}),a.on("get"+s,function(c){++l[c]}),a.on("delete"+s,function(c){delete l[c]}),a.on("clear"+s,function(){l={}}),n(a.memoized,{deleteRef:e(function(){var c=a.get(arguments);return c===null||!l[c]?null:--l[c]?!1:(a.delete(c),!0)}),getRefCount:e(function(){var c=a.get(arguments);return c===null||!l[c]?0:l[c]})})},E3}var nD=F2,iD=NM,aD=RL,Gte=function(e){var t=nD(arguments[1]),r;return t.normalizer||(r=t.length=iD(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=NL():r>1&&(t.normalizer=LL()(r)):r===!1?t.normalizer=zL()():r===1?t.normalizer=UL()():t.normalizer=jL()(r))),t.async&&GL(),t.promise&&XL(),t.dispose&&QL(),t.maxAge&&JL(),t.max&&tD(),t.refCounter&&rD(),aD(e,t)},YM={exports:{}};/*!
36
- Copyright (c) 2018 Jed Watson.
37
- Licensed under the MIT License (MIT), see
38
- http://jedwatson.github.io/classnames
39
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=r.apply(null,a);l&&n.push(l)}}else if(o==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var s in a)t.call(a,s)&&a[s]&&n.push(s)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(YM);const Wte=YM.exports;var oD="Expected a function",T3=0/0,uD="[object Symbol]",lD=/^\s+|\s+$/g,sD=/^[-+]0x[0-9a-f]+$/i,fD=/^0b[01]+$/i,cD=/^0o[0-7]+$/i,hD=parseInt,dD=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,pD=typeof self=="object"&&self&&self.Object===Object&&self,vD=dD||pD||Function("return this")(),mD=Object.prototype,gD=mD.toString,yD=Math.max,xD=Math.min,tx=function(){return vD.Date.now()};function bD(e,t,r){var n,i,a,o,l,s,c=0,d=!1,y=!1,g=!0;if(typeof e!="function")throw new TypeError(oD);t=C3(t)||0,kw(r)&&(d=!!r.leading,y="maxWait"in r,a=y?yD(C3(r.maxWait)||0,t):a,g="trailing"in r?!!r.trailing:g);function m(L){var q=n,j=i;return n=i=void 0,c=L,o=e.apply(j,q),o}function E(L){return c=L,l=setTimeout(w,t),d?m(L):o}function M(L){var q=L-s,j=L-c,te=t-q;return y?xD(te,a-j):te}function b(L){var q=L-s,j=L-c;return s===void 0||q>=t||q<0||y&&j>=a}function w(){var L=tx();if(b(L))return _(L);l=setTimeout(w,M(L))}function _(L){return l=void 0,g&&n?m(L):(n=i=void 0,o)}function C(){l!==void 0&&clearTimeout(l),c=0,n=s=i=l=void 0}function T(){return l===void 0?o:_(tx())}function R(){var L=tx(),q=b(L);if(n=arguments,i=this,s=L,q){if(l===void 0)return E(s);if(y)return l=setTimeout(w,t),m(s)}return l===void 0&&(l=setTimeout(w,t)),o}return R.cancel=C,R.flush=T,R}function kw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function wD(e){return!!e&&typeof e=="object"}function _D(e){return typeof e=="symbol"||wD(e)&&gD.call(e)==uD}function C3(e){if(typeof e=="number")return e;if(_D(e))return T3;if(kw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=kw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(lD,"");var r=fD.test(e);return r||cD.test(e)?hD(e.slice(2),r?2:8):sD.test(e)?T3:+e}var Hte=bD;function ba(){return ba=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},ba.apply(this,arguments)}function yf(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 Mw(e,t){return Mw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Mw(e,t)}function Ud(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mw(e,t)}function SD(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function ED(e,t){e.classList?e.classList.add(t):SD(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function O3(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function AD(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=O3(e.className,t):e.setAttribute("class",O3(e.className&&e.className.baseVal||"",t))}const k3={disabled:!1},XM=bn.createContext(null);var QM=function(t){return t.scrollTop},pg={exports:{}},jd={};/** @license React v17.0.2
40
- * react-jsx-runtime.production.min.js
41
- *
42
- * Copyright (c) Facebook, Inc. and its affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */var TD=Kt.exports,ZM=60103;jd.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var M3=Symbol.for;ZM=M3("react.element"),jd.Fragment=M3("react.fragment")}var CD=TD.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,OD=Object.prototype.hasOwnProperty,kD={key:!0,ref:!0,__self:!0,__source:!0};function KM(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)OD.call(t,n)&&!kD.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:ZM,type:e,key:a,ref:o,props:i,_owner:CD.current}}jd.jsx=KM;jd.jsxs=KM;(function(e){e.exports=jd})(pg);const Vte=pg.exports.Fragment,ga=pg.exports.jsx,MD=pg.exports.jsxs;var Ph="unmounted",Zu="exited",Ku="entering",Ds="entered",Iw="exiting",io=function(e){Ud(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,l=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?l?(s=Zu,a.appearStatus=Ku):s=Ds:n.unmountOnExit||n.mountOnEnter?s=Ph:s=Zu,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Ph?{status:Zu}: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!==Ku&&o!==Ds&&(a=Ku):(o===Ku||o===Ds)&&(a=Iw)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,l;return a=o=l=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,l=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Ku){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Ih.findDOMNode(this);o&&QM(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zu&&this.setState({status:Ph})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,s=this.props.nodeRef?[l]:[Ih.findDOMNode(this),l],c=s[0],d=s[1],y=this.getTimeouts(),g=l?y.appear:y.enter;if(!i&&!o||k3.disabled){this.safeSetState({status:Ds},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ku},function(){a.props.onEntering(c,d),a.onTransitionEnd(g,function(){a.safeSetState({status:Ds},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:Ih.findDOMNode(this);if(!a||k3.disabled){this.safeSetState({status:Zu},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Iw},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Zu},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(l){o&&(o=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Ih.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],d=s[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Ph)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=yf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ga(XM.Provider,{value:null,children:typeof o=="function"?o(i,l):bn.cloneElement(bn.Children.only(o),l)})},t}(bn.Component);io.contextType=XM;io.propTypes={};function Ts(){}io.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ts,onEntering:Ts,onEntered:Ts,onExit:Ts,onExiting:Ts,onExited:Ts};io.UNMOUNTED=Ph;io.EXITED=Zu;io.ENTERING=Ku;io.ENTERED=Ds;io.EXITING=Iw;const ID=io;var PD=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return ED(t,n)})},rx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return AD(t,n)})},B2=function(e){Ud(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1];n.removeClasses(d,"exit"),n.addClass(d,y?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,s)},n.onEntering=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1],g=y?"appear":"enter";n.addClass(d,g,"active"),n.props.onEntering&&n.props.onEntering(l,s)},n.onEntered=function(l,s){var c=n.resolveArguments(l,s),d=c[0],y=c[1],g=y?"appear":"enter";n.removeClasses(d,g),n.addClass(d,g,"done"),n.props.onEntered&&n.props.onEntered(l,s)},n.onExit=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var s=n.resolveArguments(l),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var s=n.resolveArguments(l),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,s){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,s]},n.getClassNames=function(l){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",y=c?""+d+l:s[l],g=c?y+"-active":s[l+"Active"],m=c?y+"-done":s[l+"Done"];return{baseClassName:y,activeClassName:g,doneClassName:m}},n}var r=t.prototype;return r.addClass=function(i,a,o){var l=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(l+=" "+c),o==="active"&&i&&QM(i),l&&(this.appliedClasses[a][o]=l,PD(i,l))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],l=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},l&&rx(i,l),s&&rx(i,s),c&&rx(i,c)},r.render=function(){var i=this.props;i.classNames;var a=yf(i,["classNames"]);return ga(ID,{...a,onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited})},t}(bn.Component);B2.defaultProps={classNames:""};B2.propTypes={};const qte=B2;function zv(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 Gd=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",FD=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Gd&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function RD(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function ND(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},FD))}}var LD=Gd&&window.Promise,DD=LD?RD:ND;function JM(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Nl(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function z2(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Wd(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Nl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:Wd(z2(e))}function eI(e){return e&&e.referenceNode?e.referenceNode:e}var I3=Gd&&!!(window.MSInputMethodContext&&document.documentMode),P3=Gd&&/MSIE 10/.test(navigator.userAgent);function Bf(e){return e===11?I3:e===10?P3:I3||P3}function xf(e){if(!e)return document.documentElement;for(var t=Bf(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&&Nl(r,"position")==="static"?xf(r):r}function $D(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||xf(e.firstElementChild)===e}function Pw(e){return e.parentNode!==null?Pw(e.parentNode):e}function pm(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 $D(o)?o:xf(o);var l=Pw(e);return l.host?pm(l.host,t):pm(e,Pw(t).host)}function bf(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 BD(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=bf(t,"top"),i=bf(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 F3(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 R3(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Bf(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function tI(e){var t=e.body,r=e.documentElement,n=Bf(10)&&getComputedStyle(r);return{height:R3("Height",t,r,n),width:R3("Width",t,r,n)}}var zD=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},UD=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}}(),wf=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},Ci=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ou(e){return Ci({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Fw(e){var t={};try{if(Bf(10)){t=e.getBoundingClientRect();var r=bf(e,"top"),n=bf(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"?tI(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,l=a.height||e.clientHeight||i.height,s=e.offsetWidth-o,c=e.offsetHeight-l;if(s||c){var d=Nl(e);s-=F3(d,"x"),c-=F3(d,"y"),i.width-=s,i.height-=c}return ou(i)}function U2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Bf(10),i=t.nodeName==="HTML",a=Fw(e),o=Fw(t),l=Wd(e),s=Nl(t),c=parseFloat(s.borderTopWidth),d=parseFloat(s.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var y=ou({top:a.top-o.top-c,left:a.left-o.left-d,width:a.width,height:a.height});if(y.marginTop=0,y.marginLeft=0,!n&&i){var g=parseFloat(s.marginTop),m=parseFloat(s.marginLeft);y.top-=c-g,y.bottom-=c-g,y.left-=d-m,y.right-=d-m,y.marginTop=g,y.marginLeft=m}return(n&&!r?t.contains(l):t===l&&l.nodeName!=="BODY")&&(y=BD(y,t)),y}function jD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=U2(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:bf(r),l=t?0:bf(r,"left"),s={top:o-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:i,height:a};return ou(s)}function rI(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Nl(e,"position")==="fixed")return!0;var r=z2(e);return r?rI(r):!1}function nI(e){if(!e||!e.parentElement||Bf())return document.documentElement;for(var t=e.parentElement;t&&Nl(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function j2(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?nI(e):pm(e,eI(t));if(n==="viewport")a=jD(o,i);else{var l=void 0;n==="scrollParent"?(l=Wd(z2(t)),l.nodeName==="BODY"&&(l=e.ownerDocument.documentElement)):n==="window"?l=e.ownerDocument.documentElement:l=n;var s=U2(l,o,i);if(l.nodeName==="HTML"&&!rI(o)){var c=tI(e.ownerDocument),d=c.height,y=c.width;a.top+=s.top-s.marginTop,a.bottom=d+s.top,a.left+=s.left-s.marginLeft,a.right=y+s.left}else a=s}r=r||0;var g=typeof r=="number";return a.left+=g?r:r.left||0,a.top+=g?r:r.top||0,a.right-=g?r:r.right||0,a.bottom-=g?r:r.bottom||0,a}function GD(e){var t=e.width,r=e.height;return t*r}function iI(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=j2(r,n,a,i),l={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},s=Object.keys(l).map(function(g){return Ci({key:g},l[g],{area:GD(l[g])})}).sort(function(g,m){return m.area-g.area}),c=s.filter(function(g){var m=g.width,E=g.height;return m>=r.clientWidth&&E>=r.clientHeight}),d=c.length>0?c[0].key:s[0].key,y=e.split("-")[1];return d+(y?"-"+y:"")}function aI(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?nI(t):pm(t,eI(r));return U2(r,i,n)}function oI(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 vm(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 uI(e,t,r){r=r.split("-")[0];var n=oI(e),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",l=a?"left":"top",s=a?"height":"width",c=a?"width":"height";return i[o]=t[o]+t[s]/2-n[s]/2,r===l?i[l]=t[l]-n[c]:i[l]=t[vm(l)],i}function Hd(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function WD(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=Hd(e,function(i){return i[t]===r});return e.indexOf(n)}function lI(e,t,r){var n=r===void 0?e:e.slice(0,WD(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&&JM(a)&&(t.offsets.popper=ou(t.offsets.popper),t.offsets.reference=ou(t.offsets.reference),t=a(t,i))}),t}function HD(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=aI(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=iI(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=uI(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=lI(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function sI(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function G2(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 VD(){return this.state.isDestroyed=!0,sI(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[G2("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function fI(e){var t=e.ownerDocument;return t?t.defaultView:window}function cI(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||cI(Wd(a.parentNode),t,r,n),n.push(a)}function qD(e,t,r,n){r.updateBound=n,fI(e).addEventListener("resize",r.updateBound,{passive:!0});var i=Wd(e);return cI(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function YD(){this.state.eventsEnabled||(this.state=qD(this.reference,this.options,this.state,this.scheduleUpdate))}function XD(e,t){return fI(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 QD(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=XD(this.reference,this.state))}function W2(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function Rw(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&W2(t[r])&&(n="px"),e.style[r]=t[r]+n})}function ZD(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function KD(e){return Rw(e.instance.popper,e.styles),ZD(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Rw(e.arrowElement,e.arrowStyles),e}function JD(e,t,r,n,i){var a=aI(i,t,e,r.positionFixed),o=iI(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),Rw(t,{position:r.positionFixed?"fixed":"absolute"}),r}function e$(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=Math.round,o=Math.floor,l=function(w){return w},s=a(i.width),c=a(n.width),d=["left","right"].indexOf(e.placement)!==-1,y=e.placement.indexOf("-")!==-1,g=s%2===c%2,m=s%2===1&&c%2===1,E=t?d||y||g?a:o:l,M=t?a:l;return{left:E(m&&!y&&t?n.left-1:n.left),top:M(n.top),bottom:M(n.bottom),right:E(n.right)}}var t$=Gd&&/Firefox/i.test(navigator.userAgent);function r$(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=Hd(e.instance.modifiers,function(C){return C.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=a!==void 0?a:t.gpuAcceleration,l=xf(e.instance.popper),s=Fw(l),c={position:i.position},d=e$(e,window.devicePixelRatio<2||!t$),y=r==="bottom"?"top":"bottom",g=n==="right"?"left":"right",m=G2("transform"),E=void 0,M=void 0;if(y==="bottom"?l.nodeName==="HTML"?M=-l.clientHeight+d.bottom:M=-s.height+d.bottom:M=d.top,g==="right"?l.nodeName==="HTML"?E=-l.clientWidth+d.right:E=-s.width+d.right:E=d.left,o&&m)c[m]="translate3d("+E+"px, "+M+"px, 0)",c[y]=0,c[g]=0,c.willChange="transform";else{var b=y==="bottom"?-1:1,w=g==="right"?-1:1;c[y]=M*b,c[g]=E*w,c.willChange=y+", "+g}var _={"x-placement":e.placement};return e.attributes=Ci({},_,e.attributes),e.styles=Ci({},c,e.styles),e.arrowStyles=Ci({},e.offsets.arrow,e.arrowStyles),e}function hI(e,t,r){var n=Hd(e,function(l){var s=l.name;return s===t}),i=!!n&&e.some(function(l){return l.name===r&&l.enabled&&l.order<n.order});if(!i){var a="`"+t+"`",o="`"+r+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function n$(e,t){var r;if(!hI(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if(typeof n=="string"){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,o=a.popper,l=a.reference,s=["left","right"].indexOf(i)!==-1,c=s?"height":"width",d=s?"Top":"Left",y=d.toLowerCase(),g=s?"left":"top",m=s?"bottom":"right",E=oI(n)[c];l[m]-E<o[y]&&(e.offsets.popper[y]-=o[y]-(l[m]-E)),l[y]+E>o[m]&&(e.offsets.popper[y]+=l[y]+E-o[m]),e.offsets.popper=ou(e.offsets.popper);var M=l[y]+l[c]/2-E/2,b=Nl(e.instance.popper),w=parseFloat(b["margin"+d]),_=parseFloat(b["border"+d+"Width"]),C=M-e.offsets.popper[y]-w-_;return C=Math.max(Math.min(o[c]-E,C),0),e.arrowElement=n,e.offsets.arrow=(r={},wf(r,y,Math.round(C)),wf(r,g,""),r),e}function i$(e){return e==="end"?"start":e==="start"?"end":e}var dI=["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"],nx=dI.slice(3);function N3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=nx.indexOf(e),n=nx.slice(r+1).concat(nx.slice(0,r));return t?n.reverse():n}var ix={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function a$(e,t){if(sI(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=j2(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=vm(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case ix.FLIP:o=[n,i];break;case ix.CLOCKWISE:o=N3(n);break;case ix.COUNTERCLOCKWISE:o=N3(n,!0);break;default:o=t.behavior}return o.forEach(function(l,s){if(n!==l||o.length===s+1)return e;n=e.placement.split("-")[0],i=vm(n);var c=e.offsets.popper,d=e.offsets.reference,y=Math.floor,g=n==="left"&&y(c.right)>y(d.left)||n==="right"&&y(c.left)<y(d.right)||n==="top"&&y(c.bottom)>y(d.top)||n==="bottom"&&y(c.top)<y(d.bottom),m=y(c.left)<y(r.left),E=y(c.right)>y(r.right),M=y(c.top)<y(r.top),b=y(c.bottom)>y(r.bottom),w=n==="left"&&m||n==="right"&&E||n==="top"&&M||n==="bottom"&&b,_=["top","bottom"].indexOf(n)!==-1,C=!!t.flipVariations&&(_&&a==="start"&&m||_&&a==="end"&&E||!_&&a==="start"&&M||!_&&a==="end"&&b),T=!!t.flipVariationsByContent&&(_&&a==="start"&&E||_&&a==="end"&&m||!_&&a==="start"&&b||!_&&a==="end"&&M),R=C||T;(g||w||R)&&(e.flipped=!0,(g||w)&&(n=o[s+1]),R&&(a=i$(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=Ci({},e.offsets.popper,uI(e.instance.popper,e.offsets.reference,e.placement)),e=lI(e.instance.modifiers,e,"flip"))}),e}function o$(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,l=o?"right":"bottom",s=o?"left":"top",c=o?"width":"height";return r[l]<a(n[s])&&(e.offsets.popper[s]=a(n[s])-r[c]),r[s]>a(n[l])&&(e.offsets.popper[s]=a(n[l])),e}function u$(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(o.indexOf("%")===0){var l=void 0;switch(o){case"%p":l=r;break;case"%":case"%r":default:l=n}var s=ou(l);return s[t]/100*a}else if(o==="vh"||o==="vw"){var c=void 0;return o==="vh"?c=Math.max(document.documentElement.clientHeight,window.innerHeight||0):c=Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}else return a}function l$(e,t,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=e.split(/(\+|\-)/).map(function(d){return d.trim()}),l=o.indexOf(Hd(o,function(d){return d.search(/,|\s/)!==-1}));o[l]&&o[l].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=l!==-1?[o.slice(0,l).concat([o[l].split(s)[0]]),[o[l].split(s)[1]].concat(o.slice(l+1))]:[o];return c=c.map(function(d,y){var g=(y===1?!a:a)?"height":"width",m=!1;return d.reduce(function(E,M){return E[E.length-1]===""&&["+","-"].indexOf(M)!==-1?(E[E.length-1]=M,m=!0,E):m?(E[E.length-1]+=M,m=!1,E):E.concat(M)},[]).map(function(E){return u$(E,g,t,r)})}),c.forEach(function(d,y){d.forEach(function(g,m){W2(g)&&(i[y]+=g*(d[m-1]==="-"?-1:1))})}),i}function s$(e,t){var r=t.offset,n=e.placement,i=e.offsets,a=i.popper,o=i.reference,l=n.split("-")[0],s=void 0;return W2(+r)?s=[+r,0]:s=l$(r,a,o,l),l==="left"?(a.top+=s[0],a.left-=s[1]):l==="right"?(a.top+=s[0],a.left+=s[1]):l==="top"?(a.left+=s[0],a.top-=s[1]):l==="bottom"&&(a.left+=s[0],a.top+=s[1]),e.popper=a,e}function f$(e,t){var r=t.boundariesElement||xf(e.instance.popper);e.instance.reference===r&&(r=xf(r));var n=G2("transform"),i=e.instance.popper.style,a=i.top,o=i.left,l=i[n];i.top="",i.left="",i[n]="";var s=j2(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=l,t.boundaries=s;var c=t.priority,d=e.offsets.popper,y={primary:function(m){var E=d[m];return d[m]<s[m]&&!t.escapeWithReference&&(E=Math.max(d[m],s[m])),wf({},m,E)},secondary:function(m){var E=m==="right"?"left":"top",M=d[E];return d[m]>s[m]&&!t.escapeWithReference&&(M=Math.min(d[E],s[m]-(m==="right"?d.width:d.height))),wf({},E,M)}};return c.forEach(function(g){var m=["left","top"].indexOf(g)!==-1?"primary":"secondary";d=Ci({},d,y[m](g))}),e.offsets.popper=d,e}function c$(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,a=i.reference,o=i.popper,l=["bottom","top"].indexOf(r)!==-1,s=l?"left":"top",c=l?"width":"height",d={start:wf({},s,a[s]),end:wf({},s,a[s]+a[c]-o[c])};e.offsets.popper=Ci({},o,d[n])}return e}function h$(e){if(!hI(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=Hd(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 d$(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,o=["left","right"].indexOf(r)!==-1,l=["top","left"].indexOf(r)===-1;return i[o?"left":"top"]=a[r]-(l?i[o?"width":"height"]:0),e.placement=vm(t),e.offsets.popper=ou(i),e}var p$={shift:{order:100,enabled:!0,fn:c$},offset:{order:200,enabled:!0,fn:s$,offset:0},preventOverflow:{order:300,enabled:!0,fn:f$,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:o$},arrow:{order:500,enabled:!0,fn:n$,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:a$,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:d$},hide:{order:800,enabled:!0,fn:h$},computeStyle:{order:850,enabled:!0,fn:r$,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:KD,onLoad:JD,gpuAcceleration:void 0}},v$={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:p$},vg=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};zD(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=DD(this.update.bind(this)),this.options=Ci({},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(Ci({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=Ci({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Ci({name:o},n.options.modifiers[o])}).sort(function(o,l){return o.order-l.order}),this.modifiers.forEach(function(o){o.enabled&&JM(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 UD(e,[{key:"update",value:function(){return HD.call(this)}},{key:"destroy",value:function(){return VD.call(this)}},{key:"enableEventListeners",value:function(){return YD.call(this)}},{key:"disableEventListeners",value:function(){return QD.call(this)}}]),e}();vg.Utils=(typeof window<"u"?window:global).PopperUtils;vg.placements=dI;vg.Defaults=v$;const Yte=vg;function H2(e,t,...r){if(!e)throw new TypeError(pI(t,r))}function pI(e,t){let r=0;return e.replace(/%[os]/gu,()=>vI(t[r++]))}function vI(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let m$;function g$(e){try{const t=e instanceof Error?e:new Error(vI(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}const Qi=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let y$;class ao{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 x$=new ao("W01","Unable to initialize event under dispatching."),b$=new ao("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),w$=new ao("W03","Assigning any truthy value to 'returnValue' property has no effect."),_$=new ao("W04","Unable to preventDefault on non-cancelable events."),S$=new ao("W05","Unable to preventDefault inside passive event listener invocation."),E$=new ao("W06","An event listener wasn't added because it has been added already: %o, %o"),ax=new ao("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),L3=new ao("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");new ao("W09","Event attribute handler must be a function: %o");class oo{static get NONE(){return D3}static get CAPTURING_PHASE(){return $3}static get AT_TARGET(){return B3}static get BUBBLING_PHASE(){return z3}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r!=null?r:{};Nw.set(this,{type:String(t),bubbles:Boolean(n.bubbles),cancelable:Boolean(n.cancelable),composed:Boolean(n.composed),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return Jr(this).type}get target(){return Jr(this).target}get srcElement(){return Jr(this).target}get currentTarget(){return Jr(this).currentTarget}composedPath(){const t=Jr(this).currentTarget;return t?[t]:[]}get NONE(){return D3}get CAPTURING_PHASE(){return $3}get AT_TARGET(){return B3}get BUBBLING_PHASE(){return z3}get eventPhase(){return Jr(this).dispatchFlag?2:0}stopPropagation(){Jr(this).stopPropagationFlag=!0}get cancelBubble(){return Jr(this).stopPropagationFlag}set cancelBubble(t){t?Jr(this).stopPropagationFlag=!0:b$.warn()}stopImmediatePropagation(){const t=Jr(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return Jr(this).bubbles}get cancelable(){return Jr(this).cancelable}get returnValue(){return!Jr(this).canceledFlag}set returnValue(t){t?w$.warn():U3(Jr(this))}preventDefault(){U3(Jr(this))}get defaultPrevented(){return Jr(this).canceledFlag}get composed(){return Jr(this).composed}get isTrusted(){return!1}get timeStamp(){return Jr(this).timeStamp}initEvent(t,r=!1,n=!1){const i=Jr(this);if(i.dispatchFlag){x$.warn();return}Nw.set(this,{...i,type:String(t),bubbles:Boolean(r),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const D3=0,$3=1,B3=2,z3=3,Nw=new WeakMap;function Jr(e,t="this"){const r=Nw.get(e);return H2(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function U3(e){if(e.inPassiveListenerFlag){S$.warn();return}if(!e.cancelable){_$.warn();return}e.canceledFlag=!0}Object.defineProperty(oo,"NONE",{enumerable:!0});Object.defineProperty(oo,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(oo,"AT_TARGET",{enumerable:!0});Object.defineProperty(oo,"BUBBLING_PHASE",{enumerable:!0});const ox=Object.getOwnPropertyNames(oo.prototype);for(let e=0;e<ox.length;++e)ox[e]!=="constructor"&&Object.defineProperty(oo.prototype,ox[e],{enumerable:!0});typeof Qi<"u"&&typeof Qi.Event<"u"&&Object.setPrototypeOf(oo.prototype,Qi.Event.prototype);function A$(e){return Qi.DOMException?new Qi.DOMException(e,"InvalidStateError"):(Cs==null&&(Cs=class mI extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,mI)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(Cs.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),G3(Cs),G3(Cs.prototype)),new Cs(e))}let Cs;const j3={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 G3(e){const t=Object.keys(j3);for(let r=0;r<t.length;++r){const n=t[r],i=j3[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class mg extends oo{static wrap(t){return new(yI(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),gI.set(this,{original:t});const r=Object.keys(t);for(let n=0;n<r.length;++n){const i=r[n];i in this||Object.defineProperty(this,i,xI(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=Lo(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=Lo(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=Lo(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=Lo(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=Lo(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=Lo(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const gI=new WeakMap;function Lo(e){const t=gI.get(e);return H2(t!=null,"'this' is expected an Event object, but got",e),t}const mm=new WeakMap;mm.set(Object.prototype,mg);typeof Qi<"u"&&typeof Qi.Event<"u"&&mm.set(Qi.Event.prototype,mg);function yI(e){const t=Object.getPrototypeOf(e);if(t==null)return mg;let r=mm.get(t);return r==null&&(r=T$(yI(t),t),mm.set(t,r)),r}function T$(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=Lo(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=Lo(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function C$(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function O$(e){e.flags|=8}function bI(e){return(e.flags&1)===1}function wI(e){return(e.flags&2)===2}function _I(e){return(e.flags&4)===4}function k$(e){return(e.flags&8)===8}function M$({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){g$(n)}}function SI({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&bI(e[n])===r)return n;return-1}function I$(e,t,r,n,i,a){let o;a&&(o=EI.bind(null,e,t,r),a.addEventListener("abort",o));const l=C$(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,l]):e.listeners.push(l),l}function EI(e,t,r){const n=SI(e,t,r);return n!==-1?AI(e,n):!1}function AI(e,t,r=!1){const n=e.listeners[t];return O$(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 P$(){return Object.create(null)}function F$(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 V2{constructor(){TI.set(this,P$())}addEventListener(t,r,n){const i=ux(this),{callback:a,capture:o,once:l,passive:s,signal:c,type:d}=R$(t,r,n);if(a==null||(c==null?void 0:c.aborted))return;const y=F$(i,d),g=SI(y,a,o);if(g!==-1){L$(y.listeners[g],s,l,c);return}I$(y,a,o,s,l,c)}removeEventListener(t,r,n){const i=ux(this),{callback:a,capture:o,type:l}=N$(t,r,n),s=i[l];a!=null&&s&&EI(s,a,o)}dispatchEvent(t){const r=ux(this)[String(t.type)];if(r==null)return!0;const n=t instanceof oo?t:mg.wrap(t),i=Jr(n,"event");if(i.dispatchFlag)throw A$("This event has been in dispatching.");if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){const{cow:a,listeners:o}=r;r.cow=!0;for(let l=0;l<o.length;++l){const s=o[l];if(!k$(s)&&(_I(s)&&AI(r,l,!a)&&(l-=1),i.inPassiveListenerFlag=wI(s),M$(s,this,n),i.inPassiveListenerFlag=!1,i.stopImmediatePropagationFlag))break}a||(r.cow=!1)}return i.target=null,i.currentTarget=null,i.stopImmediatePropagationFlag=!1,i.stopPropagationFlag=!1,i.dispatchFlag=!1,!i.canceledFlag}}const TI=new WeakMap;function ux(e,t="this"){const r=TI.get(e);return H2(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function R$(e,t,r){var n;return CI(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture),passive:Boolean(r.passive),once:Boolean(r.once),signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r),passive:!1,once:!1,signal:void 0}}function N$(e,t,r){return CI(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture)}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r)}}function CI(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){L3.warn(e);return}throw new TypeError(pI(L3.message,[e]))}}function L$(e,t,r,n){E$.warn(bI(e)?"capture":"bubble",e.callback),wI(e)!==t&&ax.warn("passive"),_I(e)!==r&&ax.warn("once"),e.signal!==n&&ax.warn("signal")}const lx=Object.getOwnPropertyNames(V2.prototype);for(let e=0;e<lx.length;++e)lx[e]!=="constructor"&&Object.defineProperty(V2.prototype,lx[e],{enumerable:!0});typeof Qi<"u"&&typeof Qi.EventTarget<"u"&&Object.setPrototypeOf(V2.prototype,Qi.EventTarget.prototype);function W3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Nt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?W3(Object(r),!0).forEach(function(n){hn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gm(e){return gm=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},gm(e)}function D$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H3(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 $$(e,t,r){return t&&H3(e.prototype,t),r&&H3(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q2(e,t){return z$(e)||j$(e,t)||OI(e,t)||W$()}function Vd(e){return B$(e)||U$(e)||OI(e)||G$()}function B$(e){if(Array.isArray(e))return Lw(e)}function z$(e){if(Array.isArray(e))return e}function U$(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function OI(e,t){if(!!e){if(typeof e=="string")return Lw(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 Lw(e,t)}}function Lw(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 G$(){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 W$(){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 V3=function(){},Y2={},kI={},MI=null,II={mark:V3,measure:V3};try{typeof window<"u"&&(Y2=window),typeof document<"u"&&(kI=document),typeof MutationObserver<"u"&&(MI=MutationObserver),typeof performance<"u"&&(II=performance)}catch{}var H$=Y2.navigator||{},q3=H$.userAgent,Y3=q3===void 0?"":q3,uu=Y2,Dr=kI,X3=MI,Uv=II;uu.document;var uo=!!Dr.documentElement&&!!Dr.head&&typeof Dr.addEventListener=="function"&&typeof Dr.createElement=="function",PI=~Y3.indexOf("MSIE")||~Y3.indexOf("Trident/"),jv,Gv,Wv,Hv,Vv,Ka="___FONT_AWESOME___",Dw=16,FI="fa",RI="svg-inline--fa",yl="data-fa-i2svg",$w="data-fa-pseudo-element",V$="data-fa-pseudo-element-pending",X2="data-prefix",Q2="data-icon",Q3="fontawesome-i2svg",q$="async",Y$=["HTML","HEAD","STYLE","SCRIPT"],NI=function(){try{return!0}catch{return!1}}(),Nr="classic",Hr="sharp",Z2=[Nr,Hr];function qd(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[Nr]}})}var xd=qd((jv={},hn(jv,Nr,{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"}),hn(jv,Hr,{fa:"solid",fass:"solid","fa-solid":"solid"}),jv)),bd=qd((Gv={},hn(Gv,Nr,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),hn(Gv,Hr,{solid:"fass"}),Gv)),wd=qd((Wv={},hn(Wv,Nr,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),hn(Wv,Hr,{fass:"fa-solid"}),Wv)),X$=qd((Hv={},hn(Hv,Nr,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),hn(Hv,Hr,{"fa-solid":"fass"}),Hv)),Q$=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,LI="fa-layers-text",Z$=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,K$=qd((Vv={},hn(Vv,Nr,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),hn(Vv,Hr,{900:"fass"}),Vv)),DI=[1,2,3,4,5,6,7,8,9,10],J$=DI.concat([11,12,13,14,15,16,17,18,19,20]),eB=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ul={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_d=new Set;Object.keys(bd[Nr]).map(_d.add.bind(_d));Object.keys(bd[Hr]).map(_d.add.bind(_d));var tB=[].concat(Z2,Vd(_d),["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",ul.GROUP,ul.SWAP_OPACITY,ul.PRIMARY,ul.SECONDARY]).concat(DI.map(function(e){return"".concat(e,"x")})).concat(J$.map(function(e){return"w-".concat(e)})),Qh=uu.FontAwesomeConfig||{};function rB(e){var t=Dr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function nB(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Dr&&typeof Dr.querySelector=="function"){var iB=[["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"]];iB.forEach(function(e){var t=q2(e,2),r=t[0],n=t[1],i=nB(rB(r));i!=null&&(Qh[n]=i)})}var $I={styleDefault:"solid",familyDefault:"classic",cssPrefix:FI,replacementClass:RI,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Qh.familyPrefix&&(Qh.cssPrefix=Qh.familyPrefix);var _f=Nt(Nt({},$I),Qh);_f.autoReplaceSvg||(_f.observeMutations=!1);var Ut={};Object.keys($I).forEach(function(e){Object.defineProperty(Ut,e,{enumerable:!0,set:function(r){_f[e]=r,Zh.forEach(function(n){return n(Ut)})},get:function(){return _f[e]}})});Object.defineProperty(Ut,"familyPrefix",{enumerable:!0,set:function(t){_f.cssPrefix=t,Zh.forEach(function(r){return r(Ut)})},get:function(){return _f.cssPrefix}});uu.FontAwesomeConfig=Ut;var Zh=[];function aB(e){return Zh.push(e),function(){Zh.splice(Zh.indexOf(e),1)}}var Fo=Dw,pa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function oB(e){if(!(!e||!uo)){var t=Dr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Dr.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 Dr.head.insertBefore(t,n),e}}var uB="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Sd(){for(var e=12,t="";e-- >0;)t+=uB[Math.random()*62|0];return t}function zf(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function K2(e){return e.classList?zf(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function BI(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function lB(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(BI(e[r]),'" ')},"").trim()}function gg(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function J2(e){return e.size!==pa.size||e.x!==pa.x||e.y!==pa.y||e.rotate!==pa.rotate||e.flipX||e.flipY}function sB(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(l)},c={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:s,path:c}}function fB(e){var t=e.transform,r=e.width,n=r===void 0?Dw:r,i=e.height,a=i===void 0?Dw:i,o=e.startCentered,l=o===void 0?!1:o,s="";return l&&PI?s+="translate(".concat(t.x/Fo-n/2,"em, ").concat(t.y/Fo-a/2,"em) "):l?s+="translate(calc(-50% + ".concat(t.x/Fo,"em), calc(-50% + ").concat(t.y/Fo,"em)) "):s+="translate(".concat(t.x/Fo,"em, ").concat(t.y/Fo,"em) "),s+="scale(".concat(t.size/Fo*(t.flipX?-1:1),", ").concat(t.size/Fo*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var cB=`: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-brands: normal 400 1em/1 "Font Awesome 6 Brands";
80
- }
81
-
82
- svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
83
- overflow: visible;
84
- box-sizing: content-box;
85
- }
86
-
87
- .svg-inline--fa {
88
- display: var(--fa-display, inline-block);
89
- height: 1em;
90
- overflow: visible;
91
- vertical-align: -0.125em;
92
- }
93
- .svg-inline--fa.fa-2xs {
94
- vertical-align: 0.1em;
95
- }
96
- .svg-inline--fa.fa-xs {
97
- vertical-align: 0em;
98
- }
99
- .svg-inline--fa.fa-sm {
100
- vertical-align: -0.0714285705em;
101
- }
102
- .svg-inline--fa.fa-lg {
103
- vertical-align: -0.2em;
104
- }
105
- .svg-inline--fa.fa-xl {
106
- vertical-align: -0.25em;
107
- }
108
- .svg-inline--fa.fa-2xl {
109
- vertical-align: -0.3125em;
110
- }
111
- .svg-inline--fa.fa-pull-left {
112
- margin-right: var(--fa-pull-margin, 0.3em);
113
- width: auto;
114
- }
115
- .svg-inline--fa.fa-pull-right {
116
- margin-left: var(--fa-pull-margin, 0.3em);
117
- width: auto;
118
- }
119
- .svg-inline--fa.fa-li {
120
- width: var(--fa-li-width, 2em);
121
- top: 0.25em;
122
- }
123
- .svg-inline--fa.fa-fw {
124
- width: var(--fa-fw-width, 1.25em);
125
- }
126
-
127
- .fa-layers svg.svg-inline--fa {
128
- bottom: 0;
129
- left: 0;
130
- margin: auto;
131
- position: absolute;
132
- right: 0;
133
- top: 0;
134
- }
135
-
136
- .fa-layers-counter, .fa-layers-text {
137
- display: inline-block;
138
- position: absolute;
139
- text-align: center;
140
- }
141
-
142
- .fa-layers {
143
- display: inline-block;
144
- height: 1em;
145
- position: relative;
146
- text-align: center;
147
- vertical-align: -0.125em;
148
- width: 1em;
149
- }
150
- .fa-layers svg.svg-inline--fa {
151
- -webkit-transform-origin: center center;
152
- transform-origin: center center;
153
- }
154
-
155
- .fa-layers-text {
156
- left: 50%;
157
- top: 50%;
158
- -webkit-transform: translate(-50%, -50%);
159
- transform: translate(-50%, -50%);
160
- -webkit-transform-origin: center center;
161
- transform-origin: center center;
162
- }
163
-
164
- .fa-layers-counter {
165
- background-color: var(--fa-counter-background-color, #ff253a);
166
- border-radius: var(--fa-counter-border-radius, 1em);
167
- box-sizing: border-box;
168
- color: var(--fa-inverse, #fff);
169
- line-height: var(--fa-counter-line-height, 1);
170
- max-width: var(--fa-counter-max-width, 5em);
171
- min-width: var(--fa-counter-min-width, 1.5em);
172
- overflow: hidden;
173
- padding: var(--fa-counter-padding, 0.25em 0.5em);
174
- right: var(--fa-right, 0);
175
- text-overflow: ellipsis;
176
- top: var(--fa-top, 0);
177
- -webkit-transform: scale(var(--fa-counter-scale, 0.25));
178
- transform: scale(var(--fa-counter-scale, 0.25));
179
- -webkit-transform-origin: top right;
180
- transform-origin: top right;
181
- }
182
-
183
- .fa-layers-bottom-right {
184
- bottom: var(--fa-bottom, 0);
185
- right: var(--fa-right, 0);
186
- top: auto;
187
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
188
- transform: scale(var(--fa-layers-scale, 0.25));
189
- -webkit-transform-origin: bottom right;
190
- transform-origin: bottom right;
191
- }
192
-
193
- .fa-layers-bottom-left {
194
- bottom: var(--fa-bottom, 0);
195
- left: var(--fa-left, 0);
196
- right: auto;
197
- top: auto;
198
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
199
- transform: scale(var(--fa-layers-scale, 0.25));
200
- -webkit-transform-origin: bottom left;
201
- transform-origin: bottom left;
202
- }
203
-
204
- .fa-layers-top-right {
205
- top: var(--fa-top, 0);
206
- right: var(--fa-right, 0);
207
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
208
- transform: scale(var(--fa-layers-scale, 0.25));
209
- -webkit-transform-origin: top right;
210
- transform-origin: top right;
211
- }
212
-
213
- .fa-layers-top-left {
214
- left: var(--fa-left, 0);
215
- right: auto;
216
- top: var(--fa-top, 0);
217
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
218
- transform: scale(var(--fa-layers-scale, 0.25));
219
- -webkit-transform-origin: top left;
220
- transform-origin: top left;
221
- }
222
-
223
- .fa-1x {
224
- font-size: 1em;
225
- }
226
-
227
- .fa-2x {
228
- font-size: 2em;
229
- }
230
-
231
- .fa-3x {
232
- font-size: 3em;
233
- }
234
-
235
- .fa-4x {
236
- font-size: 4em;
237
- }
238
-
239
- .fa-5x {
240
- font-size: 5em;
241
- }
242
-
243
- .fa-6x {
244
- font-size: 6em;
245
- }
246
-
247
- .fa-7x {
248
- font-size: 7em;
249
- }
250
-
251
- .fa-8x {
252
- font-size: 8em;
253
- }
254
-
255
- .fa-9x {
256
- font-size: 9em;
257
- }
258
-
259
- .fa-10x {
260
- font-size: 10em;
261
- }
262
-
263
- .fa-2xs {
264
- font-size: 0.625em;
265
- line-height: 0.1em;
266
- vertical-align: 0.225em;
267
- }
268
-
269
- .fa-xs {
270
- font-size: 0.75em;
271
- line-height: 0.0833333337em;
272
- vertical-align: 0.125em;
273
- }
274
-
275
- .fa-sm {
276
- font-size: 0.875em;
277
- line-height: 0.0714285718em;
278
- vertical-align: 0.0535714295em;
279
- }
280
-
281
- .fa-lg {
282
- font-size: 1.25em;
283
- line-height: 0.05em;
284
- vertical-align: -0.075em;
285
- }
286
-
287
- .fa-xl {
288
- font-size: 1.5em;
289
- line-height: 0.0416666682em;
290
- vertical-align: -0.125em;
291
- }
292
-
293
- .fa-2xl {
294
- font-size: 2em;
295
- line-height: 0.03125em;
296
- vertical-align: -0.1875em;
297
- }
298
-
299
- .fa-fw {
300
- text-align: center;
301
- width: 1.25em;
302
- }
303
-
304
- .fa-ul {
305
- list-style-type: none;
306
- margin-left: var(--fa-li-margin, 2.5em);
307
- padding-left: 0;
308
- }
309
- .fa-ul > li {
310
- position: relative;
311
- }
312
-
313
- .fa-li {
314
- left: calc(var(--fa-li-width, 2em) * -1);
315
- position: absolute;
316
- text-align: center;
317
- width: var(--fa-li-width, 2em);
318
- line-height: inherit;
319
- }
320
-
321
- .fa-border {
322
- border-color: var(--fa-border-color, #eee);
323
- border-radius: var(--fa-border-radius, 0.1em);
324
- border-style: var(--fa-border-style, solid);
325
- border-width: var(--fa-border-width, 0.08em);
326
- padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
327
- }
328
-
329
- .fa-pull-left {
330
- float: left;
331
- margin-right: var(--fa-pull-margin, 0.3em);
332
- }
333
-
334
- .fa-pull-right {
335
- float: right;
336
- margin-left: var(--fa-pull-margin, 0.3em);
337
- }
338
-
339
- .fa-beat {
340
- -webkit-animation-name: fa-beat;
341
- animation-name: fa-beat;
342
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
343
- animation-delay: var(--fa-animation-delay, 0s);
344
- -webkit-animation-direction: var(--fa-animation-direction, normal);
345
- animation-direction: var(--fa-animation-direction, normal);
346
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
347
- animation-duration: var(--fa-animation-duration, 1s);
348
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
349
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
350
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
351
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
352
- }
353
-
354
- .fa-bounce {
355
- -webkit-animation-name: fa-bounce;
356
- animation-name: fa-bounce;
357
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
358
- animation-delay: var(--fa-animation-delay, 0s);
359
- -webkit-animation-direction: var(--fa-animation-direction, normal);
360
- animation-direction: var(--fa-animation-direction, normal);
361
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
362
- animation-duration: var(--fa-animation-duration, 1s);
363
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
364
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
365
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
366
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
367
- }
368
-
369
- .fa-fade {
370
- -webkit-animation-name: fa-fade;
371
- animation-name: fa-fade;
372
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
373
- animation-delay: var(--fa-animation-delay, 0s);
374
- -webkit-animation-direction: var(--fa-animation-direction, normal);
375
- animation-direction: var(--fa-animation-direction, normal);
376
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
377
- animation-duration: var(--fa-animation-duration, 1s);
378
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
379
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
380
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
381
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
382
- }
383
-
384
- .fa-beat-fade {
385
- -webkit-animation-name: fa-beat-fade;
386
- animation-name: fa-beat-fade;
387
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
388
- animation-delay: var(--fa-animation-delay, 0s);
389
- -webkit-animation-direction: var(--fa-animation-direction, normal);
390
- animation-direction: var(--fa-animation-direction, normal);
391
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
392
- animation-duration: var(--fa-animation-duration, 1s);
393
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
394
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
395
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
396
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
397
- }
398
-
399
- .fa-flip {
400
- -webkit-animation-name: fa-flip;
401
- animation-name: fa-flip;
402
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
403
- animation-delay: var(--fa-animation-delay, 0s);
404
- -webkit-animation-direction: var(--fa-animation-direction, normal);
405
- animation-direction: var(--fa-animation-direction, normal);
406
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
407
- animation-duration: var(--fa-animation-duration, 1s);
408
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
409
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
410
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
411
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
412
- }
413
-
414
- .fa-shake {
415
- -webkit-animation-name: fa-shake;
416
- animation-name: fa-shake;
417
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
418
- animation-delay: var(--fa-animation-delay, 0s);
419
- -webkit-animation-direction: var(--fa-animation-direction, normal);
420
- animation-direction: var(--fa-animation-direction, normal);
421
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
422
- animation-duration: var(--fa-animation-duration, 1s);
423
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
424
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
425
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
426
- animation-timing-function: var(--fa-animation-timing, linear);
427
- }
428
-
429
- .fa-spin {
430
- -webkit-animation-name: fa-spin;
431
- animation-name: fa-spin;
432
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
433
- animation-delay: var(--fa-animation-delay, 0s);
434
- -webkit-animation-direction: var(--fa-animation-direction, normal);
435
- animation-direction: var(--fa-animation-direction, normal);
436
- -webkit-animation-duration: var(--fa-animation-duration, 2s);
437
- animation-duration: var(--fa-animation-duration, 2s);
438
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
439
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
440
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
441
- animation-timing-function: var(--fa-animation-timing, linear);
442
- }
443
-
444
- .fa-spin-reverse {
445
- --fa-animation-direction: reverse;
446
- }
447
-
448
- .fa-pulse,
449
- .fa-spin-pulse {
450
- -webkit-animation-name: fa-spin;
451
- animation-name: fa-spin;
452
- -webkit-animation-direction: var(--fa-animation-direction, normal);
453
- animation-direction: var(--fa-animation-direction, normal);
454
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
455
- animation-duration: var(--fa-animation-duration, 1s);
456
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
457
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
458
- -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
459
- animation-timing-function: var(--fa-animation-timing, steps(8));
460
- }
461
-
462
- @media (prefers-reduced-motion: reduce) {
463
- .fa-beat,
464
- .fa-bounce,
465
- .fa-fade,
466
- .fa-beat-fade,
467
- .fa-flip,
468
- .fa-pulse,
469
- .fa-shake,
470
- .fa-spin,
471
- .fa-spin-pulse {
472
- -webkit-animation-delay: -1ms;
473
- animation-delay: -1ms;
474
- -webkit-animation-duration: 1ms;
475
- animation-duration: 1ms;
476
- -webkit-animation-iteration-count: 1;
477
- animation-iteration-count: 1;
478
- transition-delay: 0s;
479
- transition-duration: 0s;
480
- }
481
- }
482
- @-webkit-keyframes fa-beat {
483
- 0%, 90% {
484
- -webkit-transform: scale(1);
485
- transform: scale(1);
486
- }
487
- 45% {
488
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
489
- transform: scale(var(--fa-beat-scale, 1.25));
490
- }
491
- }
492
- @keyframes fa-beat {
493
- 0%, 90% {
494
- -webkit-transform: scale(1);
495
- transform: scale(1);
496
- }
497
- 45% {
498
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
499
- transform: scale(var(--fa-beat-scale, 1.25));
500
- }
501
- }
502
- @-webkit-keyframes fa-bounce {
503
- 0% {
504
- -webkit-transform: scale(1, 1) translateY(0);
505
- transform: scale(1, 1) translateY(0);
506
- }
507
- 10% {
508
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
509
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
510
- }
511
- 30% {
512
- -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));
513
- 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));
514
- }
515
- 50% {
516
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
517
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
518
- }
519
- 57% {
520
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
521
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
522
- }
523
- 64% {
524
- -webkit-transform: scale(1, 1) translateY(0);
525
- transform: scale(1, 1) translateY(0);
526
- }
527
- 100% {
528
- -webkit-transform: scale(1, 1) translateY(0);
529
- transform: scale(1, 1) translateY(0);
530
- }
531
- }
532
- @keyframes fa-bounce {
533
- 0% {
534
- -webkit-transform: scale(1, 1) translateY(0);
535
- transform: scale(1, 1) translateY(0);
536
- }
537
- 10% {
538
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
539
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
540
- }
541
- 30% {
542
- -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));
543
- 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));
544
- }
545
- 50% {
546
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
547
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
548
- }
549
- 57% {
550
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
551
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
552
- }
553
- 64% {
554
- -webkit-transform: scale(1, 1) translateY(0);
555
- transform: scale(1, 1) translateY(0);
556
- }
557
- 100% {
558
- -webkit-transform: scale(1, 1) translateY(0);
559
- transform: scale(1, 1) translateY(0);
560
- }
561
- }
562
- @-webkit-keyframes fa-fade {
563
- 50% {
564
- opacity: var(--fa-fade-opacity, 0.4);
565
- }
566
- }
567
- @keyframes fa-fade {
568
- 50% {
569
- opacity: var(--fa-fade-opacity, 0.4);
570
- }
571
- }
572
- @-webkit-keyframes fa-beat-fade {
573
- 0%, 100% {
574
- opacity: var(--fa-beat-fade-opacity, 0.4);
575
- -webkit-transform: scale(1);
576
- transform: scale(1);
577
- }
578
- 50% {
579
- opacity: 1;
580
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
581
- transform: scale(var(--fa-beat-fade-scale, 1.125));
582
- }
583
- }
584
- @keyframes fa-beat-fade {
585
- 0%, 100% {
586
- opacity: var(--fa-beat-fade-opacity, 0.4);
587
- -webkit-transform: scale(1);
588
- transform: scale(1);
589
- }
590
- 50% {
591
- opacity: 1;
592
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
593
- transform: scale(var(--fa-beat-fade-scale, 1.125));
594
- }
595
- }
596
- @-webkit-keyframes fa-flip {
597
- 50% {
598
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
599
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
600
- }
601
- }
602
- @keyframes fa-flip {
603
- 50% {
604
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
605
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
606
- }
607
- }
608
- @-webkit-keyframes fa-shake {
609
- 0% {
610
- -webkit-transform: rotate(-15deg);
611
- transform: rotate(-15deg);
612
- }
613
- 4% {
614
- -webkit-transform: rotate(15deg);
615
- transform: rotate(15deg);
616
- }
617
- 8%, 24% {
618
- -webkit-transform: rotate(-18deg);
619
- transform: rotate(-18deg);
620
- }
621
- 12%, 28% {
622
- -webkit-transform: rotate(18deg);
623
- transform: rotate(18deg);
624
- }
625
- 16% {
626
- -webkit-transform: rotate(-22deg);
627
- transform: rotate(-22deg);
628
- }
629
- 20% {
630
- -webkit-transform: rotate(22deg);
631
- transform: rotate(22deg);
632
- }
633
- 32% {
634
- -webkit-transform: rotate(-12deg);
635
- transform: rotate(-12deg);
636
- }
637
- 36% {
638
- -webkit-transform: rotate(12deg);
639
- transform: rotate(12deg);
640
- }
641
- 40%, 100% {
642
- -webkit-transform: rotate(0deg);
643
- transform: rotate(0deg);
644
- }
645
- }
646
- @keyframes fa-shake {
647
- 0% {
648
- -webkit-transform: rotate(-15deg);
649
- transform: rotate(-15deg);
650
- }
651
- 4% {
652
- -webkit-transform: rotate(15deg);
653
- transform: rotate(15deg);
654
- }
655
- 8%, 24% {
656
- -webkit-transform: rotate(-18deg);
657
- transform: rotate(-18deg);
658
- }
659
- 12%, 28% {
660
- -webkit-transform: rotate(18deg);
661
- transform: rotate(18deg);
662
- }
663
- 16% {
664
- -webkit-transform: rotate(-22deg);
665
- transform: rotate(-22deg);
666
- }
667
- 20% {
668
- -webkit-transform: rotate(22deg);
669
- transform: rotate(22deg);
670
- }
671
- 32% {
672
- -webkit-transform: rotate(-12deg);
673
- transform: rotate(-12deg);
674
- }
675
- 36% {
676
- -webkit-transform: rotate(12deg);
677
- transform: rotate(12deg);
678
- }
679
- 40%, 100% {
680
- -webkit-transform: rotate(0deg);
681
- transform: rotate(0deg);
682
- }
683
- }
684
- @-webkit-keyframes fa-spin {
685
- 0% {
686
- -webkit-transform: rotate(0deg);
687
- transform: rotate(0deg);
688
- }
689
- 100% {
690
- -webkit-transform: rotate(360deg);
691
- transform: rotate(360deg);
692
- }
693
- }
694
- @keyframes fa-spin {
695
- 0% {
696
- -webkit-transform: rotate(0deg);
697
- transform: rotate(0deg);
698
- }
699
- 100% {
700
- -webkit-transform: rotate(360deg);
701
- transform: rotate(360deg);
702
- }
703
- }
704
- .fa-rotate-90 {
705
- -webkit-transform: rotate(90deg);
706
- transform: rotate(90deg);
707
- }
708
-
709
- .fa-rotate-180 {
710
- -webkit-transform: rotate(180deg);
711
- transform: rotate(180deg);
712
- }
713
-
714
- .fa-rotate-270 {
715
- -webkit-transform: rotate(270deg);
716
- transform: rotate(270deg);
717
- }
718
-
719
- .fa-flip-horizontal {
720
- -webkit-transform: scale(-1, 1);
721
- transform: scale(-1, 1);
722
- }
723
-
724
- .fa-flip-vertical {
725
- -webkit-transform: scale(1, -1);
726
- transform: scale(1, -1);
727
- }
728
-
729
- .fa-flip-both,
730
- .fa-flip-horizontal.fa-flip-vertical {
731
- -webkit-transform: scale(-1, -1);
732
- transform: scale(-1, -1);
733
- }
734
-
735
- .fa-rotate-by {
736
- -webkit-transform: rotate(var(--fa-rotate-angle, none));
737
- transform: rotate(var(--fa-rotate-angle, none));
738
- }
739
-
740
- .fa-stack {
741
- display: inline-block;
742
- vertical-align: middle;
743
- height: 2em;
744
- position: relative;
745
- width: 2.5em;
746
- }
747
-
748
- .fa-stack-1x,
749
- .fa-stack-2x {
750
- bottom: 0;
751
- left: 0;
752
- margin: auto;
753
- position: absolute;
754
- right: 0;
755
- top: 0;
756
- z-index: var(--fa-stack-z-index, auto);
757
- }
758
-
759
- .svg-inline--fa.fa-stack-1x {
760
- height: 1em;
761
- width: 1.25em;
762
- }
763
- .svg-inline--fa.fa-stack-2x {
764
- height: 2em;
765
- width: 2.5em;
766
- }
767
-
768
- .fa-inverse {
769
- color: var(--fa-inverse, #fff);
770
- }
771
-
772
- .sr-only,
773
- .fa-sr-only {
774
- position: absolute;
775
- width: 1px;
776
- height: 1px;
777
- padding: 0;
778
- margin: -1px;
779
- overflow: hidden;
780
- clip: rect(0, 0, 0, 0);
781
- white-space: nowrap;
782
- border-width: 0;
783
- }
784
-
785
- .sr-only-focusable:not(:focus),
786
- .fa-sr-only-focusable:not(:focus) {
787
- position: absolute;
788
- width: 1px;
789
- height: 1px;
790
- padding: 0;
791
- margin: -1px;
792
- overflow: hidden;
793
- clip: rect(0, 0, 0, 0);
794
- white-space: nowrap;
795
- border-width: 0;
796
- }
797
-
798
- .svg-inline--fa .fa-primary {
799
- fill: var(--fa-primary-color, currentColor);
800
- opacity: var(--fa-primary-opacity, 1);
801
- }
802
-
803
- .svg-inline--fa .fa-secondary {
804
- fill: var(--fa-secondary-color, currentColor);
805
- opacity: var(--fa-secondary-opacity, 0.4);
806
- }
807
-
808
- .svg-inline--fa.fa-swap-opacity .fa-primary {
809
- opacity: var(--fa-secondary-opacity, 0.4);
810
- }
811
-
812
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
813
- opacity: var(--fa-primary-opacity, 1);
814
- }
815
-
816
- .svg-inline--fa mask .fa-primary,
817
- .svg-inline--fa mask .fa-secondary {
818
- fill: black;
819
- }
820
-
821
- .fad.fa-inverse,
822
- .fa-duotone.fa-inverse {
823
- color: var(--fa-inverse, #fff);
824
- }`;function zI(){var e=FI,t=RI,r=Ut.cssPrefix,n=Ut.replacementClass,i=cB;if(r!==e||n!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(l,".".concat(n))}return i}var Z3=!1;function sx(){Ut.autoAddCss&&!Z3&&(oB(zI()),Z3=!0)}var hB={mixout:function(){return{dom:{css:zI,insertCss:sx}}},hooks:function(){return{beforeDOMElementCreation:function(){sx()},beforeI2svg:function(){sx()}}}},Ja=uu||{};Ja[Ka]||(Ja[Ka]={});Ja[Ka].styles||(Ja[Ka].styles={});Ja[Ka].hooks||(Ja[Ka].hooks={});Ja[Ka].shims||(Ja[Ka].shims=[]);var Xi=Ja[Ka],UI=[],dB=function e(){Dr.removeEventListener("DOMContentLoaded",e),ym=1,UI.map(function(t){return t()})},ym=!1;uo&&(ym=(Dr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Dr.readyState),ym||Dr.addEventListener("DOMContentLoaded",dB));function pB(e){!uo||(ym?setTimeout(e,0):UI.push(e))}function Yd(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"?BI(e):"<".concat(t," ").concat(lB(n),">").concat(a.map(Yd).join(""),"</").concat(t,">")}function K3(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var vB=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},fx=function(t,r,n,i){var a=Object.keys(t),o=a.length,l=i!==void 0?vB(r,i):r,s,c,d;for(n===void 0?(s=1,d=t[a[0]]):(s=0,d=n);s<o;s++)c=a[s],d=l(d,t[c],c,t);return d};function mB(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 Bw(e){var t=mB(e);return t.length===1?t[0].toString(16):null}function gB(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 J3(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 zw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,a=J3(t);typeof Xi.hooks.addPack=="function"&&!i?Xi.hooks.addPack(e,J3(t)):Xi.styles[e]=Nt(Nt({},Xi.styles[e]||{}),a),e==="fas"&&zw("fa",t)}var qv,Yv,Xv,Vs=Xi.styles,yB=Xi.shims,xB=(qv={},hn(qv,Nr,Object.values(wd[Nr])),hn(qv,Hr,Object.values(wd[Hr])),qv),eS=null,jI={},GI={},WI={},HI={},VI={},bB=(Yv={},hn(Yv,Nr,Object.keys(xd[Nr])),hn(Yv,Hr,Object.keys(xd[Hr])),Yv);function wB(e){return~tB.indexOf(e)}function _B(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!wB(i)?i:null}var qI=function(){var t=function(a){return fx(Vs,function(o,l,s){return o[s]=fx(l,a,{}),o},{})};jI=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var l=a[2].filter(function(s){return typeof s=="number"});l.forEach(function(s){i[s.toString(16)]=o})}return i}),GI=t(function(i,a,o){if(i[o]=o,a[2]){var l=a[2].filter(function(s){return typeof s=="string"});l.forEach(function(s){i[s]=o})}return i}),VI=t(function(i,a,o){var l=a[2];return i[o]=o,l.forEach(function(s){i[s]=o}),i});var r="far"in Vs||Ut.autoFetchSvg,n=fx(yB,function(i,a){var o=a[0],l=a[1],s=a[2];return l==="far"&&!r&&(l="fas"),typeof o=="string"&&(i.names[o]={prefix:l,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:l,iconName:s}),i},{names:{},unicodes:{}});WI=n.names,HI=n.unicodes,eS=yg(Ut.styleDefault,{family:Ut.familyDefault})};aB(function(e){eS=yg(e.styleDefault,{family:Ut.familyDefault})});qI();function tS(e,t){return(jI[e]||{})[t]}function SB(e,t){return(GI[e]||{})[t]}function ll(e,t){return(VI[e]||{})[t]}function YI(e){return WI[e]||{prefix:null,iconName:null}}function EB(e){var t=HI[e],r=tS("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function lu(){return eS}var rS=function(){return{prefix:null,iconName:null,rest:[]}};function yg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?Nr:r,i=xd[n][e],a=bd[n][e]||bd[n][i],o=e in Xi.styles?e:null;return a||o||null}var eT=(Xv={},hn(Xv,Nr,Object.keys(wd[Nr])),hn(Xv,Hr,Object.keys(wd[Hr])),Xv);function xg(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.skipLookups,i=n===void 0?!1:n,a=(t={},hn(t,Nr,"".concat(Ut.cssPrefix,"-").concat(Nr)),hn(t,Hr,"".concat(Ut.cssPrefix,"-").concat(Hr)),t),o=null,l=Nr;(e.includes(a[Nr])||e.some(function(c){return eT[Nr].includes(c)}))&&(l=Nr),(e.includes(a[Hr])||e.some(function(c){return eT[Hr].includes(c)}))&&(l=Hr);var s=e.reduce(function(c,d){var y=_B(Ut.cssPrefix,d);if(Vs[d]?(d=xB[l].includes(d)?X$[l][d]:d,o=d,c.prefix=d):bB[l].indexOf(d)>-1?(o=d,c.prefix=yg(d,{family:l})):y?c.iconName=y:d!==Ut.replacementClass&&d!==a[Nr]&&d!==a[Hr]&&c.rest.push(d),!i&&c.prefix&&c.iconName){var g=o==="fa"?YI(c.iconName):{},m=ll(c.prefix,c.iconName);g.prefix&&(o=null),c.iconName=g.iconName||m||c.iconName,c.prefix=g.prefix||c.prefix,c.prefix==="far"&&!Vs.far&&Vs.fas&&!Ut.autoFetchSvg&&(c.prefix="fas")}return c},rS());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&l===Hr&&(Vs.fass||Ut.autoFetchSvg)&&(s.prefix="fass",s.iconName=ll(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=lu()||"fas"),s}var AB=function(){function e(){D$(this,e),this.definitions={}}return $$(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(l){r.definitions[l]=Nt(Nt({},r.definitions[l]||{}),o[l]),zw(l,o[l]);var s=wd[Nr][l];s&&zw(s,o[l]),qI()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(function(a){var o=i[a],l=o.prefix,s=o.iconName,c=o.icon,d=c[2];r[l]||(r[l]={}),d.length>0&&d.forEach(function(y){typeof y=="string"&&(r[l][y]=c)}),r[l][s]=c}),r}}]),e}(),tT=[],qs={},lf={},TB=Object.keys(lf);function CB(e,t){var r=t.mixoutsTo;return tT=e,qs={},Object.keys(lf).forEach(function(n){TB.indexOf(n)===-1&&delete lf[n]}),tT.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),gm(i[o])==="object"&&Object.keys(i[o]).forEach(function(l){r[o]||(r[o]={}),r[o][l]=i[o][l]})}),n.hooks){var a=n.hooks();Object.keys(a).forEach(function(o){qs[o]||(qs[o]=[]),qs[o].push(a[o])})}n.provides&&n.provides(lf)}),r}function Uw(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=qs[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function xl(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=qs[e]||[];i.forEach(function(a){a.apply(null,r)})}function eo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return lf[e]?lf[e].apply(null,t):void 0}function jw(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||lu();if(!!t)return t=ll(r,t)||t,K3(XI.definitions,r,t)||K3(Xi.styles,r,t)}var XI=new AB,OB=function(){Ut.autoReplaceSvg=!1,Ut.observeMutations=!1,xl("noAuto")},kB={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return uo?(xl("beforeI2svg",t),eo("pseudoElements2svg",t),eo("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;Ut.autoReplaceSvg===!1&&(Ut.autoReplaceSvg=!0),Ut.observeMutations=!0,pB(function(){IB({autoReplaceSvgRoot:r}),xl("watch",t)})}},MB={icon:function(t){if(t===null)return null;if(gm(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:ll(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=yg(t[0]);return{prefix:n,iconName:ll(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(Ut.cssPrefix,"-"))>-1||t.match(Q$))){var i=xg(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||lu(),iconName:ll(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=lu();return{prefix:a,iconName:ll(a,t)||t}}}},vi={noAuto:OB,config:Ut,dom:kB,parse:MB,library:XI,findIconDefinition:jw,toHtml:Yd},IB=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Dr:r;(Object.keys(Xi.styles).length>0||Ut.autoFetchSvg)&&uo&&Ut.autoReplaceSvg&&vi.dom.i2svg({node:n})};function bg(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Yd(n)})}}),Object.defineProperty(e,"node",{get:function(){if(!!uo){var n=Dr.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function PB(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(J2(o)&&r.found&&!n.found){var l=r.width,s=r.height,c={x:l/s/2,y:.5};i.style=gg(Nt(Nt({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function FB(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(Ut.cssPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Nt(Nt({},i),{},{id:o}),children:n}]}]}function nS(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,s=e.title,c=e.maskId,d=e.titleId,y=e.extra,g=e.watchable,m=g===void 0?!1:g,E=n.found?n:r,M=E.width,b=E.height,w=i==="fak",_=[Ut.replacementClass,a?"".concat(Ut.cssPrefix,"-").concat(a):""].filter(function(te){return y.classes.indexOf(te)===-1}).filter(function(te){return te!==""||!!te}).concat(y.classes).join(" "),C={children:[],attributes:Nt(Nt({},y.attributes),{},{"data-prefix":i,"data-icon":a,class:_,role:y.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(M," ").concat(b)})},T=w&&!~y.classes.indexOf("fa-fw")?{width:"".concat(M/b*16*.0625,"em")}:{};m&&(C.attributes[yl]=""),s&&(C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(d||Sd())},children:[s]}),delete C.attributes.title);var R=Nt(Nt({},C),{},{prefix:i,iconName:a,main:r,mask:n,maskId:c,transform:o,symbol:l,styles:Nt(Nt({},T),y.styles)}),L=n.found&&r.found?eo("generateAbstractMask",R)||{children:[],attributes:{}}:eo("generateAbstractIcon",R)||{children:[],attributes:{}},q=L.children,j=L.attributes;return R.children=q,R.attributes=j,l?FB(R):PB(R)}function rT(e){var t=e.content,r=e.width,n=e.height,i=e.transform,a=e.title,o=e.extra,l=e.watchable,s=l===void 0?!1:l,c=Nt(Nt(Nt({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[yl]="");var d=Nt({},o.styles);J2(i)&&(d.transform=fB({transform:i,startCentered:!0,width:r,height:n}),d["-webkit-transform"]=d.transform);var y=gg(d);y.length>0&&(c.style=y);var g=[];return g.push({tag:"span",attributes:c,children:[t]}),a&&g.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),g}function RB(e){var t=e.content,r=e.title,n=e.extra,i=Nt(Nt(Nt({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=gg(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 cx=Xi.styles;function Gw(e){var t=e[0],r=e[1],n=e.slice(4),i=q2(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(Ut.cssPrefix,"-").concat(ul.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ut.cssPrefix,"-").concat(ul.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Ut.cssPrefix,"-").concat(ul.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var NB={found:!1,width:512,height:512};function LB(e,t){!NI&&!Ut.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ww(e,t){var r=t;return t==="fa"&&Ut.styleDefault!==null&&(t=lu()),new Promise(function(n,i){if(eo("missingIconAbstract"),r==="fa"){var a=YI(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&cx[t]&&cx[t][e]){var o=cx[t][e];return n(Gw(o))}LB(e,t),n(Nt(Nt({},NB),{},{icon:Ut.showMissingIcons&&e?eo("missingIconAbstract")||{}:{}}))})}var nT=function(){},Hw=Ut.measurePerformance&&Uv&&Uv.mark&&Uv.measure?Uv:{mark:nT,measure:nT},Fh='FA "6.2.1"',DB=function(t){return Hw.mark("".concat(Fh," ").concat(t," begins")),function(){return QI(t)}},QI=function(t){Hw.mark("".concat(Fh," ").concat(t," ends")),Hw.measure("".concat(Fh," ").concat(t),"".concat(Fh," ").concat(t," begins"),"".concat(Fh," ").concat(t," ends"))},iS={begin:DB,end:QI},F0=function(){};function iT(e){var t=e.getAttribute?e.getAttribute(yl):null;return typeof t=="string"}function $B(e){var t=e.getAttribute?e.getAttribute(X2):null,r=e.getAttribute?e.getAttribute(Q2):null;return t&&r}function BB(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ut.replacementClass)}function zB(){if(Ut.autoReplaceSvg===!0)return R0.replace;var e=R0[Ut.autoReplaceSvg];return e||R0.replace}function UB(e){return Dr.createElementNS("http://www.w3.org/2000/svg",e)}function jB(e){return Dr.createElement(e)}function ZI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?UB:jB:r;if(typeof e=="string")return Dr.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(ZI(o,{ceFn:n}))}),i}function GB(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var R0={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(ZI(i),r)}),r.getAttribute(yl)===null&&Ut.keepOriginalSource){var n=Dr.createComment(GB(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~K2(r).indexOf(Ut.replacementClass))return R0.replace(t);var i=new RegExp("".concat(Ut.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(l,s){return s===Ut.replacementClass||s.match(i)?l.toSvg.push(s):l.toNode.push(s),l},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(l){return Yd(l)}).join(`
825
- `);r.setAttribute(yl,""),r.innerHTML=o}};function aT(e){e()}function KI(e,t){var r=typeof t=="function"?t:F0;if(e.length===0)r();else{var n=aT;Ut.mutateApproach===q$&&(n=uu.requestAnimationFrame||aT),n(function(){var i=zB(),a=iS.begin("mutate");e.map(i),a(),r()})}}var aS=!1;function JI(){aS=!0}function Vw(){aS=!1}var xm=null;function oT(e){if(!!X3&&!!Ut.observeMutations){var t=e.treeCallback,r=t===void 0?F0:t,n=e.nodeCallback,i=n===void 0?F0:n,a=e.pseudoElementsCallback,o=a===void 0?F0:a,l=e.observeMutationsRoot,s=l===void 0?Dr:l;xm=new X3(function(c){if(!aS){var d=lu();zf(c).forEach(function(y){if(y.type==="childList"&&y.addedNodes.length>0&&!iT(y.addedNodes[0])&&(Ut.searchPseudoElements&&o(y.target),r(y.target)),y.type==="attributes"&&y.target.parentNode&&Ut.searchPseudoElements&&o(y.target.parentNode),y.type==="attributes"&&iT(y.target)&&~eB.indexOf(y.attributeName))if(y.attributeName==="class"&&$B(y.target)){var g=xg(K2(y.target)),m=g.prefix,E=g.iconName;y.target.setAttribute(X2,m||d),E&&y.target.setAttribute(Q2,E)}else BB(y.target)&&i(y.target)})}}),uo&&xm.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function WB(){!xm||xm.disconnect()}function HB(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var a=i.split(":"),o=a[0],l=a.slice(1);return o&&l.length>0&&(n[o]=l.join(":").trim()),n},{})),r}function VB(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=xg(K2(e));return i.prefix||(i.prefix=lu()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||(i.prefix&&n.length>0&&(i.iconName=SB(i.prefix,e.innerText)||tS(i.prefix,Bw(e.innerText))),!i.iconName&&Ut.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function qB(e){var t=zf(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 Ut.autoA11y&&(r?t["aria-labelledby"]="".concat(Ut.replacementClass,"-title-").concat(n||Sd()):(t["aria-hidden"]="true",t.focusable="false")),t}function YB(){return{iconName:null,title:null,titleId:null,prefix:null,transform:pa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function uT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=VB(e),n=r.iconName,i=r.prefix,a=r.rest,o=qB(e),l=Uw("parseNodeAttributes",{},e),s=t.styleParser?HB(e):[];return Nt({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:pa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},l)}var XB=Xi.styles;function eP(e){var t=Ut.autoReplaceSvg==="nest"?uT(e,{styleParser:!1}):uT(e);return~t.extra.classes.indexOf(LI)?eo("generateLayersText",e,t):eo("generateSvgReplacementMutation",e,t)}var su=new Set;Z2.map(function(e){su.add("fa-".concat(e))});Object.keys(xd[Nr]).map(su.add.bind(su));Object.keys(xd[Hr]).map(su.add.bind(su));su=Vd(su);function lT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!uo)return Promise.resolve();var r=Dr.documentElement.classList,n=function(y){return r.add("".concat(Q3,"-").concat(y))},i=function(y){return r.remove("".concat(Q3,"-").concat(y))},a=Ut.autoFetchSvg?su:Z2.map(function(d){return"fa-".concat(d)}).concat(Object.keys(XB));a.includes("fa")||a.push("fa");var o=[".".concat(LI,":not([").concat(yl,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(yl,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=zf(e.querySelectorAll(o))}catch{}if(l.length>0)n("pending"),i("complete");else return Promise.resolve();var s=iS.begin("onTree"),c=l.reduce(function(d,y){try{var g=eP(y);g&&d.push(g)}catch(m){NI||m.name==="MissingIcon"&&console.error(m)}return d},[]);return new Promise(function(d,y){Promise.all(c).then(function(g){KI(g,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),s(),d()})}).catch(function(g){s(),y(g)})})}function QB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;eP(e).then(function(r){r&&KI([r],t)})}function ZB(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:jw(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:jw(i||{})),e(n,Nt(Nt({},r),{},{mask:i}))}}var KB=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?pa:n,a=r.symbol,o=a===void 0?!1:a,l=r.mask,s=l===void 0?null:l,c=r.maskId,d=c===void 0?null:c,y=r.title,g=y===void 0?null:y,m=r.titleId,E=m===void 0?null:m,M=r.classes,b=M===void 0?[]:M,w=r.attributes,_=w===void 0?{}:w,C=r.styles,T=C===void 0?{}:C;if(!!t){var R=t.prefix,L=t.iconName,q=t.icon;return bg(Nt({type:"icon"},t),function(){return xl("beforeDOMElementCreation",{iconDefinition:t,params:r}),Ut.autoA11y&&(g?_["aria-labelledby"]="".concat(Ut.replacementClass,"-title-").concat(E||Sd()):(_["aria-hidden"]="true",_.focusable="false")),nS({icons:{main:Gw(q),mask:s?Gw(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:R,iconName:L,transform:Nt(Nt({},pa),i),symbol:o,title:g,maskId:d,titleId:E,extra:{attributes:_,styles:T,classes:b}})})}},JB={mixout:function(){return{icon:ZB(KB)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=lT,r.nodeCallback=QB,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?Dr:n,a=r.callback,o=a===void 0?function(){}:a;return lT(i,o)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,a=n.title,o=n.titleId,l=n.prefix,s=n.transform,c=n.symbol,d=n.mask,y=n.maskId,g=n.extra;return new Promise(function(m,E){Promise.all([Ww(i,l),d.iconName?Ww(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(M){var b=q2(M,2),w=b[0],_=b[1];m([r,nS({icons:{main:w,mask:_},prefix:l,iconName:i,transform:s,symbol:c,maskId:y,title:a,titleId:o,extra:g,watchable:!0})])}).catch(E)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.transform,l=r.styles,s=gg(l);s.length>0&&(i.style=s);var c;return J2(o)&&(c=eo("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(c||a.icon),{children:n,attributes:i}}}},ez={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 bg({type:"layer"},function(){xl("beforeDOMElementCreation",{assembler:r,params:n});var o=[];return r(function(l){Array.isArray(l)?l.map(function(s){o=o.concat(s.abstract)}):o=o.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(Ut.cssPrefix,"-layers")].concat(Vd(a)).join(" ")},children:o}]})}}}},tz={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.title,a=i===void 0?null:i,o=n.classes,l=o===void 0?[]:o,s=n.attributes,c=s===void 0?{}:s,d=n.styles,y=d===void 0?{}:d;return bg({type:"counter",content:r},function(){return xl("beforeDOMElementCreation",{content:r,params:n}),RB({content:r.toString(),title:a,extra:{attributes:c,styles:y,classes:["".concat(Ut.cssPrefix,"-layers-counter")].concat(Vd(l))}})})}}}},rz={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?pa:i,o=n.title,l=o===void 0?null:o,s=n.classes,c=s===void 0?[]:s,d=n.attributes,y=d===void 0?{}:d,g=n.styles,m=g===void 0?{}:g;return bg({type:"text",content:r},function(){return xl("beforeDOMElementCreation",{content:r,params:n}),rT({content:r,transform:Nt(Nt({},pa),a),title:l,extra:{attributes:y,styles:m,classes:["".concat(Ut.cssPrefix,"-layers-text")].concat(Vd(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,l=null,s=null;if(PI){var c=parseInt(getComputedStyle(r).fontSize,10),d=r.getBoundingClientRect();l=d.width/c,s=d.height/c}return Ut.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([r,rT({content:r.innerHTML,width:l,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},nz=new RegExp('"',"ug"),sT=[1105920,1112319];function iz(e){var t=e.replace(nz,""),r=gB(t,0),n=r>=sT[0]&&r<=sT[1],i=t.length===2?t[0]===t[1]:!1;return{value:Bw(i?t[0]:t),isSecondary:n||i}}function fT(e,t){var r="".concat(V$).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=zf(e.children),o=a.filter(function(q){return q.getAttribute($w)===t})[0],l=uu.getComputedStyle(e,t),s=l.getPropertyValue("font-family").match(Z$),c=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(o&&!s)return e.removeChild(o),n();if(s&&d!=="none"&&d!==""){var y=l.getPropertyValue("content"),g=~["Sharp"].indexOf(s[2])?Hr:Nr,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?bd[g][s[2].toLowerCase()]:K$[g][c],E=iz(y),M=E.value,b=E.isSecondary,w=s[0].startsWith("FontAwesome"),_=tS(m,M),C=_;if(w){var T=EB(M);T.iconName&&T.prefix&&(_=T.iconName,m=T.prefix)}if(_&&!b&&(!o||o.getAttribute(X2)!==m||o.getAttribute(Q2)!==C)){e.setAttribute(r,C),o&&e.removeChild(o);var R=YB(),L=R.extra;L.attributes[$w]=t,Ww(_,m).then(function(q){var j=nS(Nt(Nt({},R),{},{icons:{main:q,mask:rS()},prefix:m,iconName:C,extra:L,watchable:!0})),te=Dr.createElement("svg");t==="::before"?e.insertBefore(te,e.firstChild):e.appendChild(te),te.outerHTML=j.map(function(ge){return Yd(ge)}).join(`
826
- `),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function az(e){return Promise.all([fT(e,"::before"),fT(e,"::after")])}function oz(e){return e.parentNode!==document.head&&!~Y$.indexOf(e.tagName.toUpperCase())&&!e.getAttribute($w)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function cT(e){if(!!uo)return new Promise(function(t,r){var n=zf(e.querySelectorAll("*")).filter(oz).map(az),i=iS.begin("searchPseudoElements");JI(),Promise.all(n).then(function(){i(),Vw(),t()}).catch(function(){i(),Vw(),r()})})}var uz={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=cT,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?Dr:n;Ut.searchPseudoElements&&cT(i)}}},hT=!1,lz={mixout:function(){return{dom:{unwatch:function(){JI(),hT=!0}}}},hooks:function(){return{bootstrap:function(){oT(Uw("mutationObserverCallbacks",{}))},noAuto:function(){WB()},watch:function(r){var n=r.observeMutationsRoot;hT?Vw():oT(Uw("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},dT=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,i){var a=i.toLowerCase().split("-"),o=a[0],l=a.slice(1).join("-");if(o&&l==="h")return n.flipX=!0,n;if(o&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(o){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},r)},sz={mixout:function(){return{parse:{transform:function(r){return dT(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=dT(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,a=r.containerWidth,o=r.iconWidth,l={transform:"translate(".concat(a/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),d="rotate(".concat(i.rotate," 0 0)"),y={transform:"".concat(s," ").concat(c," ").concat(d)},g={transform:"translate(".concat(o/2*-1," -256)")},m={outer:l,inner:y,path:g};return{tag:"g",attributes:Nt({},m.outer),children:[{tag:"g",attributes:Nt({},m.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Nt(Nt({},n.icon.attributes),m.path)}]}]}}}},hx={x:0,y:0,width:"100%",height:"100%"};function pT(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 fz(e){return e.tag==="g"?e.children:[e]}var cz={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?xg(i.split(" ").map(function(o){return o.trim()})):rS();return a.prefix||(a.prefix=lu()),r.mask=a,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.mask,l=r.maskId,s=r.transform,c=a.width,d=a.icon,y=o.width,g=o.icon,m=sB({transform:s,containerWidth:y,iconWidth:c}),E={tag:"rect",attributes:Nt(Nt({},hx),{},{fill:"white"})},M=d.children?{children:d.children.map(pT)}:{},b={tag:"g",attributes:Nt({},m.inner),children:[pT(Nt({tag:d.tag,attributes:Nt(Nt({},d.attributes),m.path)},M))]},w={tag:"g",attributes:Nt({},m.outer),children:[b]},_="mask-".concat(l||Sd()),C="clip-".concat(l||Sd()),T={tag:"mask",attributes:Nt(Nt({},hx),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[E,w]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:C},children:fz(g)},T]};return n.push(R,{tag:"rect",attributes:Nt({fill:"currentColor","clip-path":"url(#".concat(C,")"),mask:"url(#".concat(_,")")},hx)}),{children:n,attributes:i}}}},hz={provides:function(t){var r=!1;uu.matchMedia&&(r=uu.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Nt(Nt({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Nt(Nt({},a),{},{attributeName:"opacity"}),l={tag:"circle",attributes:Nt(Nt({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||l.children.push({tag:"animate",attributes:Nt(Nt({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Nt(Nt({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:Nt(Nt({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:Nt(Nt({},o),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:Nt(Nt({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Nt(Nt({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},dz={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}}}},pz=[hB,JB,ez,tz,rz,uz,lz,sz,cz,hz,dz];CB(pz,{mixoutsTo:vi});vi.noAuto;vi.config;vi.library;vi.dom;var qw=vi.parse;vi.findIconDefinition;vi.toHtml;var vz=vi.icon;vi.layer;vi.text;vi.counter;function vT(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 Wo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vT(Object(r),!0).forEach(function(n){Ys(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vT(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 Ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mz(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 gz(e,t){if(e==null)return{};var r=mz(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 Yw(e){return yz(e)||xz(e)||bz(e)||wz()}function yz(e){if(Array.isArray(e))return Xw(e)}function xz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bz(e,t){if(!!e){if(typeof e=="string")return Xw(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 Xw(e,t)}}function Xw(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 wz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
827
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _z(e){var t,r=e.beat,n=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,d=e.spinReverse,y=e.pulse,g=e.fixedWidth,m=e.inverse,E=e.border,M=e.listItem,b=e.flip,w=e.size,_=e.rotation,C=e.pull,T=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":y,"fa-fw":g,"fa-inverse":m,"fa-border":E,"fa-li":M,"fa-flip":b===!0,"fa-flip-horizontal":b==="horizontal"||b==="both","fa-flip-vertical":b==="vertical"||b==="both"},Ys(t,"fa-".concat(w),typeof w<"u"&&w!==null),Ys(t,"fa-rotate-".concat(_),typeof _<"u"&&_!==null&&_!==0),Ys(t,"fa-pull-".concat(C),typeof C<"u"&&C!==null),Ys(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(T).map(function(R){return T[R]?R:null}).filter(function(R){return R})}function Sz(e){return e=e-0,e===e}function tP(e){return Sz(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Ez=["style"];function Az(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Tz(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=tP(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[Az(i)]=a:t[i]=a,t},{})}function rP(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 rP(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=Tz(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=d:s.attrs[tP(c)]=d}return s},{attrs:{}}),a=r.style,o=a===void 0?{}:a,l=gz(r,Ez);return i.attrs.style=Wo(Wo({},i.attrs.style),o),e.apply(void 0,[t.tag,Wo(Wo({},i.attrs),l)].concat(Yw(n)))}var nP=!1;try{nP=!0}catch{}function Cz(){if(!nP&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function mT(e){if(e&&bm(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(qw.icon)return qw.icon(e);if(e===null)return null;if(e&&bm(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 dx(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ys({},e,t):{}}var wg=bn.forwardRef(function(e,t){var r=e.icon,n=e.mask,i=e.symbol,a=e.className,o=e.title,l=e.titleId,s=e.maskId,c=mT(r),d=dx("classes",[].concat(Yw(_z(e)),Yw(a.split(" ")))),y=dx("transform",typeof e.transform=="string"?qw.transform(e.transform):e.transform),g=dx("mask",mT(n)),m=vz(c,Wo(Wo(Wo(Wo({},d),y),g),{},{symbol:i,title:o,titleId:l,maskId:s}));if(!m)return Cz("Could not find icon",c),null;var E=m.abstract,M={ref:t};return Object.keys(e).forEach(function(b){wg.defaultProps.hasOwnProperty(b)||(M[b]=e[b])}),Oz(E[0],M)});wg.displayName="FontAwesomeIcon";wg.propTypes={beat:cr.exports.bool,border:cr.exports.bool,beatFade:cr.exports.bool,bounce:cr.exports.bool,className:cr.exports.string,fade:cr.exports.bool,flash:cr.exports.bool,mask:cr.exports.oneOfType([cr.exports.object,cr.exports.array,cr.exports.string]),maskId:cr.exports.string,fixedWidth:cr.exports.bool,inverse:cr.exports.bool,flip:cr.exports.oneOf([!0,!1,"horizontal","vertical","both"]),icon:cr.exports.oneOfType([cr.exports.object,cr.exports.array,cr.exports.string]),listItem:cr.exports.bool,pull:cr.exports.oneOf(["right","left"]),pulse:cr.exports.bool,rotation:cr.exports.oneOf([0,90,180,270]),shake:cr.exports.bool,size:cr.exports.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:cr.exports.bool,spinPulse:cr.exports.bool,spinReverse:cr.exports.bool,symbol:cr.exports.oneOfType([cr.exports.bool,cr.exports.string]),title:cr.exports.string,titleId:cr.exports.string,transform:cr.exports.oneOfType([cr.exports.string,cr.exports.object]),swapOpacity:cr.exports.bool};wg.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 Oz=rP.bind(null,bn.createElement),iP={exports:{}},aP={exports:{}},N0=1;function kz(){return N0=(N0*9301+49297)%233280,N0/233280}function Mz(e){N0=e}var Iz={nextValue:kz,seed:Mz},Qw=Iz,el="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",Ho,gT,Rh;function Zw(){Rh=!1}function oP(e){if(!e){Ho!==el&&(Ho=el,Zw());return}if(e!==Ho){if(e.length!==el.length)throw new Error("Custom alphabet for shortid must be "+el.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 "+el.length+" unique characters. These characters were not unique: "+t.join(", "));Ho=e,Zw()}}function Pz(e){return oP(e),Ho}function Fz(e){Qw.seed(e),gT!==e&&(Zw(),gT=e)}function Rz(){Ho||oP(el);for(var e=Ho.split(""),t=[],r=Qw.nextValue(),n;e.length>0;)r=Qw.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function uP(){return Rh||(Rh=Rz(),Rh)}function Nz(e){var t=uP();return t[e]}function Lz(){return Ho||el}var oS={get:Lz,characters:Pz,seed:Fz,lookup:Nz,shuffled:uP},px=typeof window=="object"&&(window.crypto||window.msCrypto),Kw;!px||!px.getRandomValues?Kw=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:Kw=function(e){return px.getRandomValues(new Uint8Array(e))};var Dz=Kw,$z=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*r/t.length),a="";;)for(var o=e(i),l=i;l--;)if(a+=t[o[l]&n]||"",a.length===+r)return a},Bz=oS,zz=Dz,Uz=$z;function jz(e){for(var t=0,r,n="";!r;)n=n+Uz(zz,Bz.get(),1),r=e<Math.pow(16,t+1),t++;return n}var Gz=jz,Qv=Gz,Wz=1567752802062,Hz=7,Zv,yT;function Vz(e){var t="",r=Math.floor((Date.now()-Wz)*.001);return r===yT?Zv++:(Zv=0,yT=r),t=t+Qv(Hz),t=t+Qv(e),Zv>0&&(t=t+Qv(Zv)),t=t+Qv(r),t}var qz=Vz,Yz=oS;function Xz(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+Yz.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var Qz=Xz;(function(e){var t=oS,r=qz,n=Qz,i=0;function a(c){return t.seed(c),e.exports}function o(c){return i=c,e.exports}function l(c){return c!==void 0&&t.characters(c),t.shuffled()}function s(){return r(i)}e.exports=s,e.exports.generate=s,e.exports.seed=a,e.exports.worker=o,e.exports.characters=l,e.exports.isValid=n})(aP);(function(e){e.exports=aP.exports})(iP);const Xte=N_(iP.exports);var Zz=bn.createContext(null);function Kz(e){e()}var lP=Kz,Jz=function(t){return lP=t},e7=function(){return lP};function t7(){var e=e7(),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 xT={notify:function(){},get:function(){return[]}};function r7(e,t){var r,n=xT;function i(y){return s(),n.subscribe(y)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function l(){return Boolean(r)}function s(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=t7())}function c(){r&&(r(),r=void 0,n.clear(),n=xT)}var d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:s,tryUnsubscribe:c,getListeners:function(){return n}};return d}var n7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Kt.exports.useLayoutEffect:Kt.exports.useEffect,sP={exports:{}},_r={};/** @license React v16.13.1
828
- * react-is.production.min.js
829
- *
830
- * Copyright (c) Facebook, Inc. and its affiliates.
831
- *
832
- * This source code is licensed under the MIT license found in the
833
- * LICENSE file in the root directory of this source tree.
834
- */var _n=typeof Symbol=="function"&&Symbol.for,uS=_n?Symbol.for("react.element"):60103,lS=_n?Symbol.for("react.portal"):60106,_g=_n?Symbol.for("react.fragment"):60107,Sg=_n?Symbol.for("react.strict_mode"):60108,Eg=_n?Symbol.for("react.profiler"):60114,Ag=_n?Symbol.for("react.provider"):60109,Tg=_n?Symbol.for("react.context"):60110,sS=_n?Symbol.for("react.async_mode"):60111,Cg=_n?Symbol.for("react.concurrent_mode"):60111,Og=_n?Symbol.for("react.forward_ref"):60112,kg=_n?Symbol.for("react.suspense"):60113,i7=_n?Symbol.for("react.suspense_list"):60120,Mg=_n?Symbol.for("react.memo"):60115,Ig=_n?Symbol.for("react.lazy"):60116,a7=_n?Symbol.for("react.block"):60121,o7=_n?Symbol.for("react.fundamental"):60117,u7=_n?Symbol.for("react.responder"):60118,l7=_n?Symbol.for("react.scope"):60119;function mi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case uS:switch(e=e.type,e){case sS:case Cg:case _g:case Eg:case Sg:case kg:return e;default:switch(e=e&&e.$$typeof,e){case Tg:case Og:case Ig:case Mg:case Ag:return e;default:return t}}case lS:return t}}}function fP(e){return mi(e)===Cg}_r.AsyncMode=sS;_r.ConcurrentMode=Cg;_r.ContextConsumer=Tg;_r.ContextProvider=Ag;_r.Element=uS;_r.ForwardRef=Og;_r.Fragment=_g;_r.Lazy=Ig;_r.Memo=Mg;_r.Portal=lS;_r.Profiler=Eg;_r.StrictMode=Sg;_r.Suspense=kg;_r.isAsyncMode=function(e){return fP(e)||mi(e)===sS};_r.isConcurrentMode=fP;_r.isContextConsumer=function(e){return mi(e)===Tg};_r.isContextProvider=function(e){return mi(e)===Ag};_r.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===uS};_r.isForwardRef=function(e){return mi(e)===Og};_r.isFragment=function(e){return mi(e)===_g};_r.isLazy=function(e){return mi(e)===Ig};_r.isMemo=function(e){return mi(e)===Mg};_r.isPortal=function(e){return mi(e)===lS};_r.isProfiler=function(e){return mi(e)===Eg};_r.isStrictMode=function(e){return mi(e)===Sg};_r.isSuspense=function(e){return mi(e)===kg};_r.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_g||e===Cg||e===Eg||e===Sg||e===kg||e===i7||typeof e=="object"&&e!==null&&(e.$$typeof===Ig||e.$$typeof===Mg||e.$$typeof===Ag||e.$$typeof===Tg||e.$$typeof===Og||e.$$typeof===o7||e.$$typeof===u7||e.$$typeof===l7||e.$$typeof===a7)};_r.typeOf=mi;(function(e){e.exports=_r})(sP);var fS=sP.exports,s7={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f7={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},cP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},cS={};cS[fS.ForwardRef]=c7;cS[fS.Memo]=cP;function bT(e){return fS.isMemo(e)?cP:cS[e.$$typeof]||s7}var h7=Object.defineProperty,d7=Object.getOwnPropertyNames,wT=Object.getOwnPropertySymbols,p7=Object.getOwnPropertyDescriptor,v7=Object.getPrototypeOf,_T=Object.prototype;function hP(e,t,r){if(typeof t!="string"){if(_T){var n=v7(t);n&&n!==_T&&hP(e,n,r)}var i=d7(t);wT&&(i=i.concat(wT(t)));for(var a=bT(e),o=bT(t),l=0;l<i.length;++l){var s=i[l];if(!f7[s]&&!(r&&r[s])&&!(o&&o[s])&&!(a&&a[s])){var c=p7(t,s);try{h7(e,s,c)}catch{}}}}return e}var ST=hP,dP={exports:{}},Or={};/** @license React v17.0.2
835
- * react-is.production.min.js
836
- *
837
- * Copyright (c) Facebook, Inc. and its affiliates.
838
- *
839
- * This source code is licensed under the MIT license found in the
840
- * LICENSE file in the root directory of this source tree.
841
- */var Pg=60103,Fg=60106,Xd=60107,Qd=60108,Zd=60114,Kd=60109,Jd=60110,ep=60112,tp=60113,hS=60120,rp=60115,np=60116,pP=60121,vP=60122,mP=60117,gP=60129,yP=60131;if(typeof Symbol=="function"&&Symbol.for){var Tn=Symbol.for;Pg=Tn("react.element"),Fg=Tn("react.portal"),Xd=Tn("react.fragment"),Qd=Tn("react.strict_mode"),Zd=Tn("react.profiler"),Kd=Tn("react.provider"),Jd=Tn("react.context"),ep=Tn("react.forward_ref"),tp=Tn("react.suspense"),hS=Tn("react.suspense_list"),rp=Tn("react.memo"),np=Tn("react.lazy"),pP=Tn("react.block"),vP=Tn("react.server.block"),mP=Tn("react.fundamental"),gP=Tn("react.debug_trace_mode"),yP=Tn("react.legacy_hidden")}function Ki(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pg:switch(e=e.type,e){case Xd:case Zd:case Qd:case tp:case hS:return e;default:switch(e=e&&e.$$typeof,e){case Jd:case ep:case np:case rp:case Kd:return e;default:return t}}case Fg:return t}}}var m7=Kd,g7=Pg,y7=ep,x7=Xd,b7=np,w7=rp,_7=Fg,S7=Zd,E7=Qd,A7=tp;Or.ContextConsumer=Jd;Or.ContextProvider=m7;Or.Element=g7;Or.ForwardRef=y7;Or.Fragment=x7;Or.Lazy=b7;Or.Memo=w7;Or.Portal=_7;Or.Profiler=S7;Or.StrictMode=E7;Or.Suspense=A7;Or.isAsyncMode=function(){return!1};Or.isConcurrentMode=function(){return!1};Or.isContextConsumer=function(e){return Ki(e)===Jd};Or.isContextProvider=function(e){return Ki(e)===Kd};Or.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pg};Or.isForwardRef=function(e){return Ki(e)===ep};Or.isFragment=function(e){return Ki(e)===Xd};Or.isLazy=function(e){return Ki(e)===np};Or.isMemo=function(e){return Ki(e)===rp};Or.isPortal=function(e){return Ki(e)===Fg};Or.isProfiler=function(e){return Ki(e)===Zd};Or.isStrictMode=function(e){return Ki(e)===Qd};Or.isSuspense=function(e){return Ki(e)===tp};Or.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Xd||e===Zd||e===gP||e===Qd||e===tp||e===hS||e===yP||typeof e=="object"&&e!==null&&(e.$$typeof===np||e.$$typeof===rp||e.$$typeof===Kd||e.$$typeof===Jd||e.$$typeof===ep||e.$$typeof===mP||e.$$typeof===pP||e[0]===vP)};Or.typeOf=Ki;(function(e){e.exports=Or})(dP);var T7=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],C7=["reactReduxForwardedRef"],O7=[],k7=[null,null];function M7(e,t){var r=e[1];return[t.payload,r+1]}function ET(e,t,r){n7(function(){return e.apply(void 0,t)},r)}function I7(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function P7(e,t,r,n,i,a,o,l,s,c){if(!!e){var d=!1,y=null,g=function(){if(!d){var M=t.getState(),b,w;try{b=n(M,i.current)}catch(_){w=_,y=_}w||(y=null),b===a.current?o.current||s():(a.current=b,l.current=b,o.current=!0,c({type:"STORE_UPDATED",payload:{error:w}}))}};r.onStateChange=g,r.trySubscribe(),g();var m=function(){if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,y)throw y};return m}}var F7=function(){return[null,0]};function R7(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(C){return"ConnectAdvanced("+C+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,l=r.renderCountProp,s=l===void 0?void 0:l,c=r.shouldHandleStateChanges,d=c===void 0?!0:c,y=r.storeKey,g=y===void 0?"store":y;r.withRef;var m=r.forwardRef,E=m===void 0?!1:m,M=r.context,b=M===void 0?Zz:M,w=yf(r,T7),_=b;return function(T){var R=T.displayName||T.name||"Component",L=i(R),q=ba({},w,{getDisplayName:i,methodName:o,renderCountProp:s,shouldHandleStateChanges:d,storeKey:g,displayName:L,wrappedComponentName:R,WrappedComponent:T}),j=w.pure;function te(Le){return e(Le.dispatch,q)}var ge=j?Kt.exports.useMemo:function(Le){return Le()};function me(Le){var ut=Kt.exports.useMemo(function(){var fe=Le.reactReduxForwardedRef,Fe=yf(Le,C7);return[Le.context,fe,Fe]},[Le]),nt=ut[0],De=ut[1],We=ut[2],_t=Kt.exports.useMemo(function(){return nt&&nt.Consumer&&dP.exports.isContextConsumer(bn.createElement(nt.Consumer,null))?nt:_},[nt,_]),He=Kt.exports.useContext(_t),we=Boolean(Le.store)&&Boolean(Le.store.getState)&&Boolean(Le.store.dispatch);Boolean(He)&&Boolean(He.store);var Ve=we?Le.store:He.store,st=Kt.exports.useMemo(function(){return te(Ve)},[Ve]),Qe=Kt.exports.useMemo(function(){if(!d)return k7;var fe=r7(Ve,we?null:He.subscription),Fe=fe.notifyNestedSubs.bind(fe);return[fe,Fe]},[Ve,we,He]),ct=Qe[0],yt=Qe[1],Ht=Kt.exports.useMemo(function(){return we?He:ba({},He,{subscription:ct})},[we,He,ct]),qt=Kt.exports.useReducer(M7,O7,F7),Ze=qt[0],At=Ze[0],jt=qt[1];if(At&&At.error)throw At.error;var Ce=Kt.exports.useRef(),W=Kt.exports.useRef(We),ae=Kt.exports.useRef(),I=Kt.exports.useRef(!1),A=ge(function(){return ae.current&&We===W.current?ae.current:st(Ve.getState(),We)},[Ve,At,We]);ET(I7,[W,Ce,I,We,A,ae,yt]),ET(P7,[d,Ve,ct,st,W,Ce,I,ae,yt,jt],[Ve,ct,st]);var k=Kt.exports.useMemo(function(){return ga(T,{...A,ref:De})},[De,T,A]),$=Kt.exports.useMemo(function(){return d?ga(_t.Provider,{value:Ht,children:k}):k},[_t,k,Ht]);return $}var ke=j?bn.memo(me):me;if(ke.WrappedComponent=T,ke.displayName=me.displayName=L,E){var Re=bn.forwardRef(function(ut,nt){return ga(ke,{...ut,reactReduxForwardedRef:nt})});return Re.displayName=L,Re.WrappedComponent=T,ST(Re,T)}return ST(ke,T)}}function AT(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function vx(e,t){if(AT(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])||!AT(e[r[i]],t[r[i]]))return!1;return!0}function N7(e,t){var r={},n=function(o){var l=e[o];typeof l=="function"&&(r[o]=function(){return t(l.apply(void 0,arguments))})};for(var i in e)n(i);return r}function dS(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function TT(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function xP(e,t){return function(n,i){i.displayName;var a=function(l,s){return a.dependsOnOwnProps?a.mapToProps(l,s):a.mapToProps(l)};return a.dependsOnOwnProps=!0,a.mapToProps=function(l,s){a.mapToProps=e,a.dependsOnOwnProps=TT(e);var c=a(l,s);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=TT(c),c=a(l,s)),c},a}}function L7(e){return typeof e=="function"?xP(e):void 0}function D7(e){return e?void 0:dS(function(t){return{dispatch:t}})}function $7(e){return e&&typeof e=="object"?dS(function(t){return N7(e,t)}):void 0}const B7=[L7,D7,$7];function z7(e){return typeof e=="function"?xP(e):void 0}function U7(e){return e?void 0:dS(function(){return{}})}const j7=[z7,U7];function G7(e,t,r){return ba({},r,e,t)}function W7(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,l;return function(c,d,y){var g=e(c,d,y);return o?(!i||!a(g,l))&&(l=g):(o=!0,l=g),l}}}function H7(e){return typeof e=="function"?W7(e):void 0}function V7(e){return e?void 0:function(){return G7}}const q7=[H7,V7];var Y7=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function X7(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function Q7(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,l=i.areStatePropsEqual,s=!1,c,d,y,g,m;function E(C,T){return c=C,d=T,y=e(c,d),g=t(n,d),m=r(y,g,d),s=!0,m}function M(){return y=e(c,d),t.dependsOnOwnProps&&(g=t(n,d)),m=r(y,g,d),m}function b(){return e.dependsOnOwnProps&&(y=e(c,d)),t.dependsOnOwnProps&&(g=t(n,d)),m=r(y,g,d),m}function w(){var C=e(c,d),T=!l(C,y);return y=C,T&&(m=r(y,g,d)),m}function _(C,T){var R=!o(T,d),L=!a(C,c);return c=C,d=T,R&&L?M():R?b():L?w():m}return function(T,R){return s?_(T,R):E(T,R)}}function Z7(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=yf(t,Y7),o=r(e,a),l=n(e,a),s=i(e,a),c=a.pure?Q7:X7;return c(o,l,s,e,a)}var K7=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function mx(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 J7(e,t){return e===t}function e9(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?R7:r,i=t.mapStateToPropsFactories,a=i===void 0?j7:i,o=t.mapDispatchToPropsFactories,l=o===void 0?B7:o,s=t.mergePropsFactories,c=s===void 0?q7:s,d=t.selectorFactory,y=d===void 0?Z7:d;return function(m,E,M,b){b===void 0&&(b={});var w=b,_=w.pure,C=_===void 0?!0:_,T=w.areStatesEqual,R=T===void 0?J7:T,L=w.areOwnPropsEqual,q=L===void 0?vx:L,j=w.areStatePropsEqual,te=j===void 0?vx:j,ge=w.areMergedPropsEqual,me=ge===void 0?vx:ge,ke=yf(w,K7),Re=mx(m,a,"mapStateToProps"),Le=mx(E,l,"mapDispatchToProps"),ut=mx(M,c,"mergeProps");return n(y,ba({methodName:"connect",getDisplayName:function(De){return"Connect("+De+")"},shouldHandleStateChanges:Boolean(m),initMapStateToProps:Re,initMapDispatchToProps:Le,initMergeProps:ut,pure:C,areStatesEqual:R,areOwnPropsEqual:q,areStatePropsEqual:te,areMergedPropsEqual:me},ke))}}const bP=e9();Jz(U_.exports.unstable_batchedUpdates);function t9(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 wP(e,t){var r=Kt.exports.useState(function(){return{inputs:t,result:e()}})[0],n=Kt.exports.useRef(!0),i=Kt.exports.useRef(r),a=n.current||Boolean(t&&i.current.inputs&&t9(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return Kt.exports.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function r9(e,t){return wP(function(){return e},t)}var Gn=wP,mn=r9,n9=!0,gx="Invariant failed";function i9(e,t){if(!e){if(n9)throw new Error(gx);var r=typeof t=="function"?t():t,n=r?gx+": "+r:gx;throw new Error(n)}}var Xs=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,l=i-r,s={top:r,right:n,bottom:i,left:a,width:o,height:l,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return s},_P=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},CT=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},a9=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},yx={top:0,right:0,bottom:0,left:0},pS=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?yx:n,a=t.border,o=a===void 0?yx:a,l=t.padding,s=l===void 0?yx:l,c=Xs(_P(r,i)),d=Xs(CT(r,o)),y=Xs(CT(d,s));return{marginBox:c,borderBox:Xs(r),paddingBox:d,contentBox:y,margin:i,border:o,padding:s}},_i=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&i9(!1),i},o9=function(){return{x:window.pageXOffset,y:window.pageYOffset}},u9=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,l=a9(n,r);return pS({borderBox:l,border:i,margin:a,padding:o})},Jw=function(t,r){return r===void 0&&(r=o9()),u9(t,r)},SP=function(t,r){var n={top:_i(r.marginTop),right:_i(r.marginRight),bottom:_i(r.marginBottom),left:_i(r.marginLeft)},i={top:_i(r.paddingTop),right:_i(r.paddingRight),bottom:_i(r.paddingBottom),left:_i(r.paddingLeft)},a={top:_i(r.borderTopWidth),right:_i(r.borderRightWidth),bottom:_i(r.borderBottomWidth),left:_i(r.borderLeftWidth)};return pS({borderBox:t,margin:n,padding:i,border:a})},EP=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return SP(r,n)},OT=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function l9(e,t){return!!(e===t||OT(e)&&OT(t))}function s9(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!l9(e[r],t[r]))return!1;return!0}function en(e,t){t===void 0&&(t=s9);var r,n=[],i,a=!1;function o(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];return a&&r===this&&t(l,n)||(i=e.apply(this,l),a=!0,r=this,n=l),i}return o}var f9=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];r=l,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){!n||(cancelAnimationFrame(n),n=null)},i};const c9=f9;function AP(e,t){}AP.bind(null,"warn");AP.bind(null,"error");function h9(){}function d9(e,t){return ba({},e,{},t)}function p9(e,t,r){var n=t.map(function(i){var a=d9(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 v9="Invariant failed";function wm(e){this.message=e}wm.prototype.toString=function(){return this.message};function hi(e,t){if(!e)throw new wm(v9)}(function(e){Ud(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=h9,n.onWindowError=function(l){var s=n.getCallbacks();s.isDragging()&&s.tryAbort();var c=l.error;c instanceof wm&&l.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(l){n.callbacks=l},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=p9(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof wm){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(bn.Component);var bl={x:0,y:0},m9=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},g9=function(t,r){return t.x===r.x&&t.y===r.y},y9=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},x9=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},b9=function(e,t){var r=Xs({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},w9=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},_9={top:0,right:0,bottom:0,left:0},S9=function(t,r){return r?w9(t,r.scroll.diff.displacement):t},E9=function(t,r,n){if(n&&n.increasedBy){var i;return ba({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},A9=function(t,r){return r&&r.shouldClipSubject?b9(r.pageMarginBox,t):Xs(t)},T9=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=S9(t.marginBox,i),o=E9(a,n,r),l=A9(o,i);return{page:t,withPlaceholder:r,active:l}};function TP(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function C9(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 CP(e,t){if(e.find)return e.find(t);var r=C9(e,t);if(r!==-1)return e[r]}en(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});en(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var O9=en(function(e){return TP(e)}),k9=en(function(e){return TP(e)});en(function(e,t){var r=k9(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function M9(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}en(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var I9={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},P9={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};en(function(t,r){var n=r[t.line];return{value:n,point:x9(t.line,n)}});var L0=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},F9=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},R9=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},vS={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Ed={opacity:{drop:0,combining:.7},scale:{drop:.75}},N9={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Yu=N9.outOfTheWay+"s "+vS.outOfTheWay,D0={fluid:"opacity "+Yu,snap:"transform "+Yu+", opacity "+Yu,drop:function(t){var r=t+"s "+vS.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+Yu,placeholder:"height "+Yu+", width "+Yu+", margin "+Yu},kT=function(t){return g9(t,bl)?null:"translate("+t.x+"px, "+t.y+"px)"},e_={moveTo:kT,drop:function(t,r){var n=kT(t);return n?r?n+" scale("+Ed.scale.drop+")":n:null}},OP=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=m9({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},L9=function(){var e=document.documentElement;return e||hi(!1),e},D9=function(){var e=L9(),t=OP({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};en(function(e){return O9(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var $9="data-rbd",MT={contextId:$9+"-scroll-container-context-id"},Kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Kt.exports.useLayoutEffect:Kt.exports.useEffect,kP=bn.createContext(null),B9=0,z9={separator:"::"};function MP(e,t){return t===void 0&&(t=z9),Gn(function(){return""+e+t.separator+B9++},[t.separator,e])}var mS=bn.createContext(null);function U9(e){var t=Kt.exports.useRef(e);return Kt.exports.useEffect(function(){t.current=e}),t}var j9=9,G9=13,W9=33,H9=34,V9=35,q9=36,Kv;Kv={},Kv[G9]=!0,Kv[j9]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=CP(t,function(n){return"on"+n in document});return r||e})();var Os;Os={},Os[H9]=!0,Os[W9]=!0,Os[q9]=!0,Os[V9]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=CP(t,function(n){return n in Element.prototype});return r||e})();var IP=function(t){return function(r){return t===r}},Y9=IP("scroll"),X9=IP("auto"),IT=function(t,r){return r(t.overflowX)||r(t.overflowY)},Q9=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return IT(n,Y9)||IT(n,X9)},Z9=function(){return!1},K9=function e(t){return t==null?null:t===document.body?Z9()?t:null:t===document.documentElement?null:Q9(t)?t:e(t.parentElement)},t_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},J9=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},eU=function(e){var t=K9(e),r=J9(e);return{closestScrollable:t,isFixedOnPage:r}},tU=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,s=e.closest,c=function(){if(!s)return null;var m=s.scrollSize,E=s.client,M=OP({scrollHeight:m.scrollHeight,scrollWidth:m.scrollWidth,height:E.paddingBox.height,width:E.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:E,scrollSize:m,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:M,diff:{value:bl,displacement:bl}}}}(),d=a==="vertical"?I9:P9,y=T9({page:l,withPlaceholder:null,axis:d,frame:c}),g={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:d,isEnabled:r,client:o,page:l,frame:c,subject:y};return g},rU=function(t,r){var n=EP(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,s={top:i,right:l,bottom:o,left:a},c=_P(s,n.border),d=pS({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return d},nU=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,c=n.closestScrollable,d=rU(t,c),y=Jw(d,i),g=function(){if(!c)return null;var E=EP(c),M={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:E,page:Jw(E,i),scroll:t_(c),scrollSize:M,shouldClipSubject:s}}(),m=tU({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:d,page:y,closest:g});return m},iU={passive:!1},aU={passive:!0},PT=function(e){return e.shouldPublishImmediately?iU:aU};function _m(e){var t=Kt.exports.useContext(e);return t||hi(!1),t}var Jv=function(t){return t&&t.env.closestScrollable||null};function oU(e){var t=Kt.exports.useRef(null),r=_m(mS),n=MP("droppable"),i=r.registry,a=r.marshal,o=U9(e),l=Gn(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=Kt.exports.useRef(l),c=Gn(function(){return en(function(T,R){t.current||hi(!1);var L={x:T,y:R};a.updateDroppableScroll(l.id,L)})},[l.id,a]),d=mn(function(){var T=t.current;return!T||!T.env.closestScrollable?bl:t_(T.env.closestScrollable)},[]),y=mn(function(){var T=d();c(T.x,T.y)},[d,c]),g=Gn(function(){return c9(y)},[y]),m=mn(function(){var T=t.current,R=Jv(T);T&&R||hi(!1);var L=T.scrollOptions;if(L.shouldPublishImmediately){y();return}g()},[g,y]),E=mn(function(T,R){t.current&&hi(!1);var L=o.current,q=L.getDroppableRef();q||hi(!1);var j=eU(q),te={ref:q,descriptor:l,env:j,scrollOptions:R};t.current=te;var ge=nU({ref:q,descriptor:l,env:j,windowScroll:T,direction:L.direction,isDropDisabled:L.isDropDisabled,isCombineEnabled:L.isCombineEnabled,shouldClipSubject:!L.ignoreContainerClipping}),me=j.closestScrollable;return me&&(me.setAttribute(MT.contextId,r.contextId),me.addEventListener("scroll",m,PT(te.scrollOptions))),ge},[r.contextId,l,m,o]),M=mn(function(){var T=t.current,R=Jv(T);return T&&R||hi(!1),t_(R)},[]),b=mn(function(){var T=t.current;T||hi(!1);var R=Jv(T);t.current=null,R&&(g.cancel(),R.removeAttribute(MT.contextId),R.removeEventListener("scroll",m,PT(T.scrollOptions)))},[m,g]),w=mn(function(T){var R=t.current;R||hi(!1);var L=Jv(R);L||hi(!1),L.scrollTop+=T.y,L.scrollLeft+=T.x},[]),_=Gn(function(){return{getDimensionAndWatchScroll:E,getScrollWhileDragging:M,dragStopped:b,scroll:w}},[b,E,M,w]),C=Gn(function(){return{uniqueId:n,descriptor:l,callbacks:_}},[_,l,n]);Kh(function(){return s.current=C.descriptor,i.droppable.register(C),function(){t.current&&b(),i.droppable.unregister(C)}},[_,l,b,C,a,i.droppable]),Kh(function(){!t.current||a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),Kh(function(){!t.current||a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function xx(){}var FT={width:0,height:0,margin:_9},uU=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?FT:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},lU=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=uU({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"?D0.placeholder:null}};function sU(e){var t=Kt.exports.useRef(null),r=mn(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=Kt.exports.useState(e.animate==="open"),s=l[0],c=l[1];Kt.exports.useEffect(function(){return s?n!=="open"?(r(),c(!1),xx):t.current?xx:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):xx},[n,s,r]);var d=mn(function(g){g.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),y=lU({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return bn.createElement(e.placeholder.tagName,{style:y,"data-rbd-placeholder-context-id":o,onTransitionEnd:d,ref:e.innerRef})}var fU=bn.memo(sU),gS=bn.createContext(null),cU=function(e){Ud(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:Boolean(n.props.on),data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(i.on),data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(bn.PureComponent),RT={dragging:5e3,dropAnimating:4500},hU=function(t,r){return r?D0.drop(r.duration):t?D0.snap:D0.fluid},dU=function(t,r){return t?r?Ed.opacity.drop:Ed.opacity.combining:null},pU=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function vU(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),l=pU(e),s=Boolean(a),c=s?e_.drop(n,o):e_.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:hU(l,a),transform:c,opacity:dU(o,s),zIndex:s?RT.dropAnimating:RT.dragging,pointerEvents:"none"};return d}function mU(e){return{transform:e_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function gU(e){return e.type==="DRAGGING"?vU(e):mU(e)}function yU(e,t,r){r===void 0&&(r=bl);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=SP(i,n),o=Jw(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},s={x:a.marginBox.width,y:a.marginBox.height},c={descriptor:e,placeholder:l,displaceBy:s,client:a,page:o};return c}function xU(e){var t=MP("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,s=Gn(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),c=mn(function(m){var E=i();return E||hi(!1),yU(r,E,m)},[r,i]),d=Gn(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:c}},[r,c,s,t]),y=Kt.exports.useRef(d),g=Kt.exports.useRef(!0);Kh(function(){return n.draggable.register(y.current),function(){return n.draggable.unregister(y.current)}},[n.draggable]),Kh(function(){if(g.current){g.current=!1;return}var m=y.current;y.current=d,n.draggable.update(d,m)},[d,n.draggable])}function bU(e){e.preventDefault()}function wU(e){var t=Kt.exports.useRef(null),r=mn(function(te){t.current=te},[]),n=mn(function(){return t.current},[]),i=_m(mS),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,s=_m(gS),c=s.type,d=s.droppableId,y=Gn(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}},[e.draggableId,e.index,c,d]),g=e.children,m=e.draggableId,E=e.isEnabled,M=e.shouldRespectForcePress,b=e.canDragInteractiveElements,w=e.isClone,_=e.mapped,C=e.dropAnimationFinished;if(!w){var T=Gn(function(){return{descriptor:y,registry:l,getDraggableRef:n,canDragInteractiveElements:b,shouldRespectForcePress:M,isEnabled:E}},[y,l,n,b,M,E]);xU(T)}var R=Gn(function(){return E?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:bU}:null},[a,o,m,E]),L=mn(function(te){_.type==="DRAGGING"&&(!_.dropping||te.propertyName==="transform"&&C())},[C,_]),q=Gn(function(){var te=gU(_),ge=_.type==="DRAGGING"&&_.dropping?L:null,me={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":m,style:te,onTransitionEnd:ge},dragHandleProps:R};return me},[a,R,m,_,L,r]),j=Gn(function(){return{draggableId:y.id,type:y.type,source:{index:y.index,droppableId:y.droppableId}}},[y.droppableId,y.id,y.index,y.type]);return g(q,_.snapshot,j)}var PP=function(e,t){return e===t},FP=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},_U=function(t){return t.combine?t.combine.draggableId:null},SU=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function EU(){var e=en(function(i,a){return{x:i,y:a}}),t=en(function(i,a,o,l,s){return{isDragging:!0,isClone:a,isDropAnimating:Boolean(s),dropAnimation:s,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=en(function(i,a,o,l,s,c,d){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:c,mode:a,offset:i,dimension:o,forceShouldAnimate:d,snapshot:t(a,l,s,c,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,s=a.dimensions.draggables[o.draggableId],c=L0(a.impact),d=SU(a.impact),y=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,s,o.isClone,c,d,y)}if(a.phase==="DROP_ANIMATING"){var g=a.completed;if(g.result.draggableId!==o.draggableId)return null;var m=o.isClone,E=a.dimensions.draggables[o.draggableId],M=g.result,b=M.mode,w=FP(M),_=_U(M),C=a.dropDuration,T={duration:C,curve:vS.drop,moveTo:a.newHomeClientOffset,opacity:_?Ed.opacity.drop:null,scale:_?Ed.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:E,dropping:T,draggingOver:w,combineWith:_,mode:b,forceShouldAnimate:null,snapshot:t(b,m,w,_,T)}}}return null};return n}function RP(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var AU={mapped:{type:"SECONDARY",offset:bl,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:RP(null)}};function TU(){var e=en(function(o,l){return{x:o,y:l}}),t=en(RP),r=en(function(o,l,s){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:s,snapshot:t(l)}}}),n=function(l){return l?r(bl,l,!0):null},i=function(l,s,c,d){var y=c.displaced.visible[l],g=Boolean(d.inVirtualList&&d.effected[l]),m=M9(c),E=m&&m.draggableId===l?s:null;if(!y){if(!g)return n(E);if(c.displaced.invisible[l])return null;var M=y9(d.displacedBy.point),b=e(M.x,M.y);return r(b,E,!0)}if(g)return n(E);var w=c.displacedBy.point,_=e(w.x,w.y);return r(_,E,y.shouldAnimate)},a=function(l,s){if(l.isDragging)return l.critical.draggable.id===s.draggableId?null:i(s.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var c=l.completed;return c.result.draggableId===s.draggableId?null:i(s.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return a}var CU=function(){var t=EU(),r=TU(),n=function(a,o){return t(a,o)||r(a,o)||AU};return n},OU={dropAnimationFinished:R9},kU=bP(CU,OU,null,{context:kP,pure:!0,areStatePropsEqual:PP})(wU);function NP(e){var t=_m(gS),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:ga(kU,{...e})}function Qte(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return ga(NP,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function MU(e){var t=Kt.exports.useContext(mS);t||hi(!1);var r=t.contextId,n=t.isMovementAllowed,i=Kt.exports.useRef(null),a=Kt.exports.useRef(null),o=e.children,l=e.droppableId,s=e.type,c=e.mode,d=e.direction,y=e.ignoreContainerClipping,g=e.isDropDisabled,m=e.isCombineEnabled,E=e.snapshot,M=e.useClone,b=e.updateViewportMaxScroll,w=e.getContainerForClone,_=mn(function(){return i.current},[]),C=mn(function(me){i.current=me},[]);mn(function(){return a.current},[]);var T=mn(function(me){a.current=me},[]),R=mn(function(){n()&&b({maxScroll:D9()})},[n,b]);oU({droppableId:l,type:s,mode:c,direction:d,isDropDisabled:g,isCombineEnabled:m,ignoreContainerClipping:y,getDroppableRef:_});var L=ga(cU,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(me){var ke=me.onClose,Re=me.data,Le=me.animate;return ga(fU,{placeholder:Re,onClose:ke,innerRef:T,animate:Le,contextId:r,onTransitionEnd:R})}}),q=Gn(function(){return{innerRef:C,placeholder:L,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,L,C]),j=M?M.dragging.draggableId:null,te=Gn(function(){return{droppableId:l,type:s,isUsingCloneFor:j}},[l,j,s]);function ge(){if(!M)return null;var me=M.dragging,ke=M.render,Re=ga(NP,{draggableId:me.draggableId,index:me.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Le,ut){return ke(Le,ut,me)}});return Ih.createPortal(Re,w())}return MD(gS.Provider,{value:te,children:[o(q,E),ge()]})}var bx=function(t,r){return t===r.droppable.type},NT=function(t,r){return r.draggables[t.draggable.id]},IU=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=ba({},t,{shouldAnimatePlaceholder:!1}),n=en(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=en(function(o,l,s,c,d,y){var g=d.descriptor.id,m=d.descriptor.droppableId===o;if(m){var E=y?{render:y,dragging:n(d.descriptor)}:null,M={isDraggingOver:s,draggingOverWith:s?g:null,draggingFromThisWith:g,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!1,snapshot:M,useClone:E}}if(!l)return r;if(!c)return t;var b={isDraggingOver:s,draggingOverWith:g,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!0,snapshot:b,useClone:null}}),a=function(l,s){var c=s.droppableId,d=s.type,y=!s.isDropDisabled,g=s.renderClone;if(l.isDragging){var m=l.critical;if(!bx(d,m))return r;var E=NT(m,l.dimensions),M=L0(l.impact)===c;return i(c,y,M,M,E,g)}if(l.phase==="DROP_ANIMATING"){var b=l.completed;if(!bx(d,b.critical))return r;var w=NT(b.critical,l.dimensions);return i(c,y,FP(b.result)===c,L0(b.impact)===c,w,g)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var _=l.completed;if(!bx(d,_.critical))return r;var C=L0(_.impact)===c,T=Boolean(_.impact.at&&_.impact.at.type==="COMBINE"),R=_.critical.droppable.id===c;return C?T?t:r:R?t:r}return r};return a},PU={updateViewportMaxScroll:F9};function FU(){return document.body||hi(!1),document.body}var RU={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:FU},NU=bP(IU,PU,null,{context:kP,pure:!0,areStatePropsEqual:PP})(MU);NU.defaultProps=RU;var LU=typeof performance=="object"&&typeof performance.now=="function",LT=LU?function(){return performance.now()}:function(){return Date.now()};function DT(e){cancelAnimationFrame(e.id)}function DU(e,t){var r=LT();function n(){LT()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var ks=null;function $T(e){if(e===void 0&&(e=!1),ks===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?ks="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ks="negative":ks="positive-ascending"),document.body.removeChild(t),ks}return ks}var $U=150,BU=function(t,r){return t};function zU(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,y=e.validateProps;return r=t=function(g){Ud(m,g);function m(M){var b;return b=g.call(this,M)||this,b._instanceProps=c(b.props,zv(zv(b))),b._outerRef=void 0,b._resetIsScrollingTimeoutId=null,b.state={instance:zv(zv(b)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof b.props.initialScrollOffset=="number"?b.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},b._callOnItemsRendered=void 0,b._callOnItemsRendered=en(function(w,_,C,T){return b.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:_,visibleStartIndex:C,visibleStopIndex:T})}),b._callOnScroll=void 0,b._callOnScroll=en(function(w,_,C){return b.props.onScroll({scrollDirection:w,scrollOffset:_,scrollUpdateWasRequested:C})}),b._getItemStyle=void 0,b._getItemStyle=function(w){var _=b.props,C=_.direction,T=_.itemSize,R=_.layout,L=b._getItemStyleCache(d&&T,d&&R,d&&C),q;if(L.hasOwnProperty(w))q=L[w];else{var j=n(b.props,w,b._instanceProps),te=a(b.props,w,b._instanceProps),ge=C==="horizontal"||R==="horizontal",me=C==="rtl",ke=ge?j:0;L[w]=q={position:"absolute",left:me?void 0:ke,right:me?ke:void 0,top:ge?0:j,height:ge?"100%":te,width:ge?te:"100%"}}return q},b._getItemStyleCache=void 0,b._getItemStyleCache=en(function(w,_,C){return{}}),b._onScrollHorizontal=function(w){var _=w.currentTarget,C=_.clientWidth,T=_.scrollLeft,R=_.scrollWidth;b.setState(function(L){if(L.scrollOffset===T)return null;var q=b.props.direction,j=T;if(q==="rtl")switch($T()){case"negative":j=-T;break;case"positive-descending":j=R-C-T;break}return j=Math.max(0,Math.min(j,R-C)),{isScrolling:!0,scrollDirection:L.scrollOffset<T?"forward":"backward",scrollOffset:j,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._onScrollVertical=function(w){var _=w.currentTarget,C=_.clientHeight,T=_.scrollHeight,R=_.scrollTop;b.setState(function(L){if(L.scrollOffset===R)return null;var q=Math.max(0,Math.min(R,T-C));return{isScrolling:!0,scrollDirection:L.scrollOffset<q?"forward":"backward",scrollOffset:q,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._outerRefSetter=function(w){var _=b.props.outerRef;b._outerRef=w,typeof _=="function"?_(w):_!=null&&typeof _=="object"&&_.hasOwnProperty("current")&&(_.current=w)},b._resetIsScrollingDebounced=function(){b._resetIsScrollingTimeoutId!==null&&DT(b._resetIsScrollingTimeoutId),b._resetIsScrollingTimeoutId=DU(b._resetIsScrolling,$U)},b._resetIsScrolling=function(){b._resetIsScrollingTimeoutId=null,b.setState({isScrolling:!1},function(){b._getItemStyleCache(-1,null)})},b}m.getDerivedStateFromProps=function(b,w){return UU(b,w),y(b),null};var E=m.prototype;return E.scrollTo=function(b){b=Math.max(0,b),this.setState(function(w){return w.scrollOffset===b?null:{scrollDirection:w.scrollOffset<b?"forward":"backward",scrollOffset:b,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},E.scrollToItem=function(b,w){w===void 0&&(w="auto");var _=this.props.itemCount,C=this.state.scrollOffset;b=Math.max(0,Math.min(b,_-1)),this.scrollTo(o(this.props,b,w,C,this._instanceProps))},E.componentDidMount=function(){var b=this.props,w=b.direction,_=b.initialScrollOffset,C=b.layout;if(typeof _=="number"&&this._outerRef!=null){var T=this._outerRef;w==="horizontal"||C==="horizontal"?T.scrollLeft=_:T.scrollTop=_}this._callPropsCallbacks()},E.componentDidUpdate=function(){var b=this.props,w=b.direction,_=b.layout,C=this.state,T=C.scrollOffset,R=C.scrollUpdateWasRequested;if(R&&this._outerRef!=null){var L=this._outerRef;if(w==="horizontal"||_==="horizontal")if(w==="rtl")switch($T()){case"negative":L.scrollLeft=-T;break;case"positive-ascending":L.scrollLeft=T;break;default:var q=L.clientWidth,j=L.scrollWidth;L.scrollLeft=j-q-T;break}else L.scrollLeft=T;else L.scrollTop=T}this._callPropsCallbacks()},E.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&DT(this._resetIsScrollingTimeoutId)},E.render=function(){var b=this.props,w=b.children,_=b.className,C=b.direction,T=b.height,R=b.innerRef,L=b.innerElementType,q=b.innerTagName,j=b.itemCount,te=b.itemData,ge=b.itemKey,me=ge===void 0?BU:ge,ke=b.layout,Re=b.outerElementType,Le=b.outerTagName,ut=b.style,nt=b.useIsScrolling,De=b.width,We=this.state.isScrolling,_t=C==="horizontal"||ke==="horizontal",He=_t?this._onScrollHorizontal:this._onScrollVertical,we=this._getRangeToRender(),Ve=we[0],st=we[1],Qe=[];if(j>0)for(var ct=Ve;ct<=st;ct++)Qe.push(Kt.exports.createElement(w,{data:te,key:me(ct,te),index:ct,isScrolling:nt?We:void 0,style:this._getItemStyle(ct)}));var yt=i(this.props,this._instanceProps);return Kt.exports.createElement(Re||Le||"div",{className:_,onScroll:He,ref:this._outerRefSetter,style:ba({position:"relative",height:T,width:De,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:C},ut)},Kt.exports.createElement(L||q||"div",{children:Qe,ref:R,style:{height:_t?"100%":yt,pointerEvents:We?"none":void 0,width:_t?yt:"100%"}}))},E._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var b=this.props.itemCount;if(b>0){var w=this._getRangeToRender(),_=w[0],C=w[1],T=w[2],R=w[3];this._callOnItemsRendered(_,C,T,R)}}if(typeof this.props.onScroll=="function"){var L=this.state,q=L.scrollDirection,j=L.scrollOffset,te=L.scrollUpdateWasRequested;this._callOnScroll(q,j,te)}},E._getRangeToRender=function(){var b=this.props,w=b.itemCount,_=b.overscanCount,C=this.state,T=C.isScrolling,R=C.scrollDirection,L=C.scrollOffset;if(w===0)return[0,0,0,0];var q=l(this.props,L,this._instanceProps),j=s(this.props,q,L,this._instanceProps),te=!T||R==="backward"?Math.max(1,_):1,ge=!T||R==="forward"?Math.max(1,_):1;return[Math.max(0,q-te),Math.max(0,Math.min(w-1,j+ge)),q,j]},m}(Kt.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var UU=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},Zte=zU({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,s=t.itemSize,c=t.layout,d=t.width,y=a==="horizontal"||c==="horizontal",g=y?d:o,m=Math.max(0,l*s-g),E=Math.min(m,r*s),M=Math.max(0,r*s-g+s);switch(n==="smart"&&(i>=M-g&&i<=E+g?n="auto":n="center"),n){case"start":return E;case"end":return M;case"center":{var b=Math.round(M+(E-M)/2);return b<Math.ceil(g/2)?0:b>m+Math.floor(g/2)?m:b}case"auto":default:return i>=M&&i<=E?i:i<M?M:E}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,s=t.layout,c=t.width,d=i==="horizontal"||s==="horizontal",y=r*l,g=d?c:a,m=Math.ceil((g+n-y)/l);return Math.max(0,Math.min(o-1,r+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),jU=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},GU=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}}(),WU=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},HU=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)},BT=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},VU=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ki=void 0;typeof window<"u"?ki=window:typeof self<"u"?ki=self:ki=global;var r_=null,n_=null,zT=20,wx=ki.clearTimeout,UT=ki.setTimeout,_x=ki.cancelAnimationFrame||ki.mozCancelAnimationFrame||ki.webkitCancelAnimationFrame,jT=ki.requestAnimationFrame||ki.mozRequestAnimationFrame||ki.webkitRequestAnimationFrame;_x==null||jT==null?(r_=wx,n_=function(t){return UT(t,zT)}):(r_=function(t){var r=VU(t,2),n=r[0],i=r[1];_x(n),wx(i)},n_=function(t){var r=jT(function(){wx(n),t()}),n=UT(function(){_x(r),t()},zT);return[r,n]});function qU(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){o=function(T){var R=T.__resizeTriggers__,L=R.firstElementChild,q=R.lastElementChild,j=L.firstElementChild;q.scrollLeft=q.scrollWidth,q.scrollTop=q.scrollHeight,j.style.width=L.offsetWidth+1+"px",j.style.height=L.offsetHeight+1+"px",L.scrollLeft=L.scrollWidth,L.scrollTop=L.scrollHeight},a=function(T){return T.offsetWidth!==T.__resizeLast__.width||T.offsetHeight!==T.__resizeLast__.height},l=function(T){if(!(T.target.className&&typeof T.target.className.indexOf=="function"&&T.target.className.indexOf("contract-trigger")<0&&T.target.className.indexOf("expand-trigger")<0)){var R=this;o(this),this.__resizeRAF__&&r_(this.__resizeRAF__),this.__resizeRAF__=n_(function(){a(R)&&(R.__resizeLast__.width=R.offsetWidth,R.__resizeLast__.height=R.offsetHeight,R.__resizeListeners__.forEach(function(j){j.call(R,T)}))})}};var c=!1,d="";n="animationstart";var y="Webkit Moz O ms".split(" "),g="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),m="";{var E=document.createElement("fakeelement");if(E.style.animationName!==void 0&&(c=!0),c===!1){for(var M=0;M<y.length;M++)if(E.style[y[M]+"AnimationName"]!==void 0){m=y[M],d="-"+m.toLowerCase()+"-",n=g[M],c=!0;break}}}r="resizeanim",t="@"+d+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=d+"animation: 1ms "+r+"; "}var b=function(T){if(!T.getElementById("detectElementResize")){var 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%; }',L=T.head||T.getElementsByTagName("head")[0],q=T.createElement("style");q.id="detectElementResize",q.type="text/css",e!=null&&q.setAttribute("nonce",e),q.styleSheet?q.styleSheet.cssText=R:q.appendChild(T.createTextNode(R)),L.appendChild(q)}},w=function(T,R){if(s)T.attachEvent("onresize",R);else{if(!T.__resizeTriggers__){var L=T.ownerDocument,q=ki.getComputedStyle(T);q&&q.position==="static"&&(T.style.position="relative"),b(L),T.__resizeLast__={},T.__resizeListeners__=[],(T.__resizeTriggers__=L.createElement("div")).className="resize-triggers";var j=L.createElement("div");j.className="expand-trigger",j.appendChild(L.createElement("div"));var te=L.createElement("div");te.className="contract-trigger",T.__resizeTriggers__.appendChild(j),T.__resizeTriggers__.appendChild(te),T.appendChild(T.__resizeTriggers__),o(T),T.addEventListener("scroll",l,!0),n&&(T.__resizeTriggers__.__animationListener__=function(me){me.animationName===r&&o(T)},T.__resizeTriggers__.addEventListener(n,T.__resizeTriggers__.__animationListener__))}T.__resizeListeners__.push(R)}},_=function(T,R){if(s)T.detachEvent("onresize",R);else if(T.__resizeListeners__.splice(T.__resizeListeners__.indexOf(R),1),!T.__resizeListeners__.length){T.removeEventListener("scroll",l,!0),T.__resizeTriggers__.__animationListener__&&(T.__resizeTriggers__.removeEventListener(n,T.__resizeTriggers__.__animationListener__),T.__resizeTriggers__.__animationListener__=null);try{T.__resizeTriggers__=!T.removeChild(T.__resizeTriggers__)}catch{}}};return{addResizeListener:w,removeResizeListener:_}}var YU=function(e){HU(t,e);function t(){var r,n,i,a;jU(this,t);for(var o=arguments.length,l=Array(o),s=0;s<o;s++)l[s]=arguments[s];return a=(n=(i=BT(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var c=i.props,d=c.disableHeight,y=c.disableWidth,g=c.onResize;if(i._parentNode){var m=i._parentNode.offsetHeight||0,E=i._parentNode.offsetWidth||0,M=window.getComputedStyle(i._parentNode)||{},b=parseInt(M.paddingLeft,10)||0,w=parseInt(M.paddingRight,10)||0,_=parseInt(M.paddingTop,10)||0,C=parseInt(M.paddingBottom,10)||0,T=m-_-C,R=E-b-w;(!d&&i.state.height!==T||!y&&i.state.width!==R)&&(i.setState({height:m-_-C,width:E-b-w}),g({height:m,width:E}))}},i._setRef=function(c){i._autoSizer=c},n),BT(i,a)}return GU(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=qU(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,s=n.style,c=this.state,d=c.height,y=c.width,g={overflow:"visible"},m={},E=!1;return o||(d===0&&(E=!0),g.height=0,m.height=d),l||(y===0&&(E=!0),g.width=0,m.width=y),Kt.exports.createElement("div",{className:a,ref:this._setRef,style:WU({},g,s)},!E&&i(m))}}]),t}(Kt.exports.PureComponent);YU.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var XU=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,QU=typeof self=="object"&&self&&self.Object===Object&&self,ZU=XU||QU||Function("return this")(),GT=ZU.Symbol;GT&&GT.isConcatSpreadable;var WT=Object.prototype.toString,LP=function(t){var r=WT.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&WT.call(t.callee)==="[object Function]"),n},Sx,HT;function KU(){if(HT)return Sx;HT=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=LP,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(g){var m=g.constructor;return m&&m.prototype===g},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var g in window)try{if(!c["$"+g]&&t.call(window,g)&&window[g]!==null&&typeof window[g]=="object")try{s(window[g])}catch{return!0}}catch{return!0}return!1}(),y=function(g){if(typeof window>"u"||!d)return s(g);try{return s(g)}catch{return!1}};e=function(m){var E=m!==null&&typeof m=="object",M=r.call(m)==="[object Function]",b=n(m),w=E&&r.call(m)==="[object String]",_=[];if(!E&&!M&&!b)throw new TypeError("Object.keys called on a non-object");var C=o&&M;if(w&&m.length>0&&!t.call(m,0))for(var T=0;T<m.length;++T)_.push(String(T));if(b&&m.length>0)for(var R=0;R<m.length;++R)_.push(String(R));else for(var L in m)!(C&&L==="prototype")&&t.call(m,L)&&_.push(String(L));if(a)for(var q=y(m),j=0;j<l.length;++j)!(q&&l[j]==="constructor")&&t.call(m,l[j])&&_.push(l[j]);return _}}return Sx=e,Sx}var JU=Array.prototype.slice,ej=LP,VT=Object.keys,$0=VT?function(t){return VT(t)}:KU(),qT=Object.keys;$0.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 ej(n)?qT(JU.call(n)):qT(n)})}else Object.keys=$0;return Object.keys||$0};var yS=$0,Rg=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},tj=Rg,vu=function(){return tj()&&!!Symbol.toStringTag},YT=typeof Symbol<"u"&&Symbol,rj=Rg,xS=function(){return typeof YT!="function"||typeof Symbol!="function"||typeof YT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:rj()},nj="Function.prototype.bind called on incompatible ",Ex=Array.prototype.slice,ij=Object.prototype.toString,aj="[object Function]",oj=function(t){var r=this;if(typeof r!="function"||ij.call(r)!==aj)throw new TypeError(nj+r);for(var n=Ex.call(arguments,1),i,a=function(){if(this instanceof i){var d=r.apply(this,n.concat(Ex.call(arguments)));return Object(d)===d?d:this}else return r.apply(t,n.concat(Ex.call(arguments)))},o=Math.max(0,r.length-n.length),l=[],s=0;s<o;s++)l.push("$"+s);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},uj=oj,bS=Function.prototype.bind||uj,lj=bS,sj=lj.call(Function.call,Object.prototype.hasOwnProperty),vr,Sf=SyntaxError,DP=Function,sf=TypeError,Ax=function(e){try{return DP('"use strict"; return ('+e+").constructor;")()}catch{}},cl=Object.getOwnPropertyDescriptor;if(cl)try{cl({},"")}catch{cl=null}var Tx=function(){throw new sf},fj=cl?function(){try{return arguments.callee,Tx}catch{try{return cl(arguments,"callee").get}catch{return Tx}}}():Tx,Ms=xS(),Do=Object.getPrototypeOf||function(e){return e.__proto__},$s={},cj=typeof Uint8Array>"u"?vr:Do(Uint8Array),ff={"%AggregateError%":typeof AggregateError>"u"?vr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?vr:ArrayBuffer,"%ArrayIteratorPrototype%":Ms?Do([][Symbol.iterator]()):vr,"%AsyncFromSyncIteratorPrototype%":vr,"%AsyncFunction%":$s,"%AsyncGenerator%":$s,"%AsyncGeneratorFunction%":$s,"%AsyncIteratorPrototype%":$s,"%Atomics%":typeof Atomics>"u"?vr:Atomics,"%BigInt%":typeof BigInt>"u"?vr:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?vr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?vr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?vr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?vr:FinalizationRegistry,"%Function%":DP,"%GeneratorFunction%":$s,"%Int8Array%":typeof Int8Array>"u"?vr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?vr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?vr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ms?Do(Do([][Symbol.iterator]())):vr,"%JSON%":typeof JSON=="object"?JSON:vr,"%Map%":typeof Map>"u"?vr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ms?vr:Do(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?vr:Promise,"%Proxy%":typeof Proxy>"u"?vr:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?vr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?vr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ms?vr:Do(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?vr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ms?Do(""[Symbol.iterator]()):vr,"%Symbol%":Ms?Symbol:vr,"%SyntaxError%":Sf,"%ThrowTypeError%":fj,"%TypedArray%":cj,"%TypeError%":sf,"%Uint8Array%":typeof Uint8Array>"u"?vr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?vr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?vr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?vr:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?vr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?vr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?vr:WeakSet},hj=function e(t){var r;if(t==="%AsyncFunction%")r=Ax("async function () {}");else if(t==="%GeneratorFunction%")r=Ax("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ax("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Do(i.prototype))}return ff[t]=r,r},XT={"%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"]},ip=bS,Sm=sj,dj=ip.call(Function.call,Array.prototype.concat),pj=ip.call(Function.apply,Array.prototype.splice),QT=ip.call(Function.call,String.prototype.replace),Em=ip.call(Function.call,String.prototype.slice),vj=ip.call(Function.call,RegExp.prototype.exec),mj=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gj=/\\(\\)?/g,yj=function(t){var r=Em(t,0,1),n=Em(t,-1);if(r==="%"&&n!=="%")throw new Sf("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Sf("invalid intrinsic syntax, expected opening `%`");var i=[];return QT(t,mj,function(a,o,l,s){i[i.length]=l?QT(s,gj,"$1"):o||a}),i},xj=function(t,r){var n=t,i;if(Sm(XT,n)&&(i=XT[n],n="%"+i[0]+"%"),Sm(ff,n)){var a=ff[n];if(a===$s&&(a=hj(n)),typeof a>"u"&&!r)throw new sf("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Sf("intrinsic "+t+" does not exist!")},mu=function(t,r){if(typeof t!="string"||t.length===0)throw new sf("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new sf('"allowMissing" argument must be a boolean');if(vj(/^%?[^%]*%?$/,t)===null)throw new Sf("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yj(t),i=n.length>0?n[0]:"",a=xj("%"+i+"%",r),o=a.name,l=a.value,s=!1,c=a.alias;c&&(i=c[0],pj(n,dj([0,1],c)));for(var d=1,y=!0;d<n.length;d+=1){var g=n[d],m=Em(g,0,1),E=Em(g,-1);if((m==='"'||m==="'"||m==="`"||E==='"'||E==="'"||E==="`")&&m!==E)throw new Sf("property names with quotes must have matching quotes");if((g==="constructor"||!y)&&(s=!0),i+="."+g,o="%"+i+"%",Sm(ff,o))l=ff[o];else if(l!=null){if(!(g in l)){if(!r)throw new sf("base intrinsic for "+t+" exists, but the property is not available.");return}if(cl&&d+1>=n.length){var M=cl(l,g);y=!!M,y&&"get"in M&&!("originalValue"in M.get)?l=M.get:l=l[g]}else y=Sm(l,g),l=l[g];y&&!s&&(ff[o]=l)}}return l},ap={exports:{}};(function(e){var t=bS,r=mu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(y){var g=a(t,i,arguments);if(o&&l){var m=o(g,"length");m.configurable&&l(g,"length",{value:1+s(0,y.length-(arguments.length-1))})}return g};var c=function(){return a(t,n,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c})(ap);var $P=mu,BP=ap.exports,bj=BP($P("String.prototype.indexOf")),Sa=function(t,r){var n=$P(t,!!r);return typeof n=="function"&&bj(t,".prototype.")>-1?BP(n):n},wj=vu(),_j=Sa,i_=_j("Object.prototype.toString"),Ng=function(t){return wj&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:i_(t)==="[object Arguments]"},zP=function(t){return Ng(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&i_(t)!=="[object Array]"&&i_(t.callee)==="[object Function]"},Sj=function(){return Ng(arguments)}();Ng.isLegacyArguments=zP;var UP=Sj?Ng:zP,Ej=mu,a_=Ej("%Object.defineProperty%",!0),o_=function(){if(a_)try{return a_({},"a",{value:1}),!0}catch{return!1}return!1};o_.hasArrayLengthDefineBug=function(){if(!o_())return null;try{return a_([],"length",{value:1}).length!==1}catch{return!0}};var Aj=o_,Tj=yS,Cj=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oj=Object.prototype.toString,kj=Array.prototype.concat,jP=Object.defineProperty,Mj=function(e){return typeof e=="function"&&Oj.call(e)==="[object Function]"},Ij=Aj(),GP=jP&&Ij,Pj=function(e,t,r,n){t in e&&(!Mj(n)||!n())||(GP?jP(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},WP=function(e,t){var r=arguments.length>2?arguments[2]:{},n=Tj(t);Cj&&(n=kj.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)Pj(e,n[i],t[n[i]],r[n[i]])};WP.supportsDescriptors=!!GP;var Ll=WP,ZT=function(e){return e!==e},HP=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||ZT(t)&&ZT(r))},Fj=HP,VP=function(){return typeof Object.is=="function"?Object.is:Fj},Rj=VP,Nj=Ll,Lj=function(){var t=Rj();return Nj(Object,{is:t},{is:function(){return Object.is!==t}}),t},Dj=Ll,$j=ap.exports,Bj=HP,qP=VP,zj=Lj,YP=$j(qP(),Object);Dj(YP,{getPolyfill:qP,implementation:Bj,shim:zj});var Uj=YP,u_=Sa,XP=vu(),QP,ZP,l_,s_;if(XP){QP=u_("Object.prototype.hasOwnProperty"),ZP=u_("RegExp.prototype.exec"),l_={};var Cx=function(){throw l_};s_={toString:Cx,valueOf:Cx},typeof Symbol.toPrimitive=="symbol"&&(s_[Symbol.toPrimitive]=Cx)}var jj=u_("Object.prototype.toString"),Gj=Object.getOwnPropertyDescriptor,Wj="[object RegExp]",Hj=XP?function(t){if(!t||typeof t!="object")return!1;var r=Gj(t,"lastIndex"),n=r&&QP(r,"value");if(!n)return!1;try{ZP(t,s_)}catch(i){return i===l_}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:jj(t)===Wj},wS={exports:{}},Ad=function(){return typeof function(){}.name=="string"},Jh=Object.getOwnPropertyDescriptor;if(Jh)try{Jh([],"length")}catch{Jh=null}Ad.functionsHaveConfigurableNames=function(){if(!Ad()||!Jh)return!1;var t=Jh(function(){},"name");return!!t&&!!t.configurable};var Vj=Function.prototype.bind;Ad.boundFunctionsHaveNames=function(){return Ad()&&typeof Vj=="function"&&function(){}.bind().name!==""};var qj=Ad;(function(e){var t=qj.functionsHaveConfigurableNames(),r=Object,n=TypeError;e.exports=function(){if(this!=null&&this!==r(this))throw new n("RegExp.prototype.flags getter called on non-object");var a="";return this.hasIndices&&(a+="d"),this.global&&(a+="g"),this.ignoreCase&&(a+="i"),this.multiline&&(a+="m"),this.dotAll&&(a+="s"),this.unicode&&(a+="u"),this.sticky&&(a+="y"),a},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(wS);var Yj=wS.exports,Xj=Ll.supportsDescriptors,Qj=Object.getOwnPropertyDescriptor,KP=function(){if(Xj&&/a/mig.flags==="gim"){var t=Qj(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 Yj},Zj=Ll.supportsDescriptors,Kj=KP,Jj=Object.getOwnPropertyDescriptor,eG=Object.defineProperty,tG=TypeError,KT=Object.getPrototypeOf,rG=/a/,nG=function(){if(!Zj||!KT)throw new tG("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=Kj(),r=KT(rG),n=Jj(r,"flags");return(!n||n.get!==t)&&eG(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},iG=Ll,aG=ap.exports,oG=wS.exports,JP=KP,uG=nG,eF=aG(JP());iG(eF,{getPolyfill:JP,implementation:oG,shim:uG});var lG=eF,sG={}.toString,tF=Array.isArray||function(e){return sG.call(e)=="[object Array]"},fG=Date.prototype.getDay,cG=function(t){try{return fG.call(t),!0}catch{return!1}},hG=Object.prototype.toString,dG="[object Date]",pG=vu(),vG=function(t){return typeof t!="object"||t===null?!1:pG?cG(t):hG.call(t)===dG},mG=String.prototype.valueOf,gG=function(t){try{return mG.call(t),!0}catch{return!1}},yG=Object.prototype.toString,xG="[object String]",bG=vu(),rF=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:bG?gG(t):yG.call(t)===xG},wG=Number.prototype.toString,_G=function(t){try{return wG.call(t),!0}catch{return!1}},SG=Object.prototype.toString,EG="[object Number]",AG=vu(),TG=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:AG?_G(t):SG.call(t)===EG},nF=Sa,CG=nF("Boolean.prototype.toString"),OG=nF("Object.prototype.toString"),kG=function(t){try{return CG(t),!0}catch{return!1}},MG="[object Boolean]",IG=vu(),PG=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:IG&&Symbol.toStringTag in t?kG(t):OG(t)===MG},f_={exports:{}},FG=Object.prototype.toString,RG=xS();if(RG){var NG=Symbol.prototype.toString,LG=/^Symbol\(.*\)$/,DG=function(t){return typeof t.valueOf()!="symbol"?!1:LG.test(NG.call(t))};f_.exports=function(t){if(typeof t=="symbol")return!0;if(FG.call(t)!=="[object Symbol]")return!1;try{return DG(t)}catch{return!1}}}else f_.exports=function(t){return!1};var c_={exports:{}},JT=typeof BigInt<"u"&&BigInt,$G=function(){return typeof JT=="function"&&typeof BigInt=="function"&&typeof JT(42)=="bigint"&&typeof BigInt(42)=="bigint"},BG=$G();if(BG){var zG=BigInt.prototype.valueOf,UG=function(t){try{return zG.call(t),!0}catch{}return!1};c_.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:UG(t)}}else c_.exports=function(t){return!1};var jG=rF,GG=TG,WG=PG,HG=f_.exports,VG=c_.exports,qG=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(jG(t))return"String";if(GG(t))return"Number";if(WG(t))return"Boolean";if(HG(t))return"Symbol";if(VG(t))return"BigInt"},_S=typeof Map=="function"&&Map.prototype?Map:null,YG=typeof Set=="function"&&Set.prototype?Set:null,Am;_S||(Am=function(t){return!1});var iF=_S?Map.prototype.has:null,eC=YG?Set.prototype.has:null;!Am&&!iF&&(Am=function(t){return!1});var aF=Am||function(t){if(!t||typeof t!="object")return!1;try{if(iF.call(t),eC)try{eC.call(t)}catch{return!0}return t instanceof _S}catch{}return!1},XG=typeof Map=="function"&&Map.prototype?Map:null,SS=typeof Set=="function"&&Set.prototype?Set:null,Tm;SS||(Tm=function(t){return!1});var tC=XG?Map.prototype.has:null,oF=SS?Set.prototype.has:null;!Tm&&!oF&&(Tm=function(t){return!1});var uF=Tm||function(t){if(!t||typeof t!="object")return!1;try{if(oF.call(t),tC)try{tC.call(t)}catch{return!0}return t instanceof SS}catch{}return!1},Cm=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,rC=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Om;Cm||(Om=function(t){return!1});var h_=Cm?Cm.prototype.has:null,Ox=rC?rC.prototype.has:null;!Om&&!h_&&(Om=function(t){return!1});var QG=Om||function(t){if(!t||typeof t!="object")return!1;try{if(h_.call(t,h_),Ox)try{Ox.call(t,Ox)}catch{return!0}return t instanceof Cm}catch{}return!1},d_={exports:{}},ZG=mu,lF=Sa,KG=ZG("%WeakSet%",!0),kx=lF("WeakSet.prototype.has",!0);if(kx){var Mx=lF("WeakMap.prototype.has",!0);d_.exports=function(t){if(!t||typeof t!="object")return!1;try{if(kx(t,kx),Mx)try{Mx(t,Mx)}catch{return!0}return t instanceof KG}catch{}return!1}}else d_.exports=function(t){return!1};var JG=aF,eW=uF,tW=QG,rW=d_.exports,nW=function(t){if(t&&typeof t=="object"){if(JG(t))return"Map";if(eW(t))return"Set";if(tW(t))return"WeakMap";if(rW(t))return"WeakSet"}return!1},B0={exports:{}},nC=UP;if(xS()||Rg()){var Ix=Symbol.iterator;B0.exports=function(t){if(t!=null&&typeof t[Ix]<"u")return t[Ix]();if(nC(t))return Array.prototype[Ix].call(t)}}else{var iW=tF,aW=rF,iC=mu,oW=iC("%Map%",!0),uW=iC("%Set%",!0),Hi=Sa,aC=Hi("Array.prototype.push"),oC=Hi("String.prototype.charCodeAt"),lW=Hi("String.prototype.slice"),sW=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=oC(t,r);if(i<55296||i>56319)return r+1;var a=oC(t,r+1);return a<56320||a>57343?r+1:r+2},Px=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}}}},uC=function(t,r){if(iW(t)||nC(t))return Px(t);if(aW(t)){var n=0;return{next:function(){var a=sW(t,n),o=lW(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(!oW&&!uW)B0.exports=function(t){if(t!=null)return uC(t,!0)};else{var fW=aF,cW=uF,lC=Hi("Map.prototype.forEach",!0),sC=Hi("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var fC=Hi("Map.prototype.iterator",!0),cC=Hi("Set.prototype.iterator",!0),hC=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var dC=Hi("Map.prototype.@@iterator",!0)||Hi("Map.prototype._es6-shim iterator_",!0),pC=Hi("Set.prototype.@@iterator",!0)||Hi("Set.prototype._es6-shim iterator_",!0),hW=function(t){if(fW(t)){if(fC)return hC(fC(t));if(dC)return dC(t);if(lC){var r=[];return lC(t,function(i,a){aC(r,[a,i])}),Px(r)}}if(cW(t)){if(cC)return hC(cC(t));if(pC)return pC(t);if(sC){var n=[];return sC(t,function(i){aC(n,i)}),Px(n)}}};B0.exports=function(t){return hW(t)||uC(t)}}}const dW={},pW=Object.freeze(Object.defineProperty({__proto__:null,default:dW},Symbol.toStringTag,{value:"Module"})),vW=Tl(pW);var ES=typeof Map=="function"&&Map.prototype,Fx=Object.getOwnPropertyDescriptor&&ES?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,km=ES&&Fx&&typeof Fx.get=="function"?Fx.get:null,mW=ES&&Map.prototype.forEach,AS=typeof Set=="function"&&Set.prototype,Rx=Object.getOwnPropertyDescriptor&&AS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Mm=AS&&Rx&&typeof Rx.get=="function"?Rx.get:null,gW=AS&&Set.prototype.forEach,yW=typeof WeakMap=="function"&&WeakMap.prototype,ed=yW?WeakMap.prototype.has:null,xW=typeof WeakSet=="function"&&WeakSet.prototype,td=xW?WeakSet.prototype.has:null,bW=typeof WeakRef=="function"&&WeakRef.prototype,vC=bW?WeakRef.prototype.deref:null,wW=Boolean.prototype.valueOf,_W=Object.prototype.toString,SW=Function.prototype.toString,EW=String.prototype.match,TS=String.prototype.slice,Vo=String.prototype.replace,AW=String.prototype.toUpperCase,mC=String.prototype.toLowerCase,sF=RegExp.prototype.test,gC=Array.prototype.concat,la=Array.prototype.join,TW=Array.prototype.slice,yC=Math.floor,p_=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Nx=Object.getOwnPropertySymbols,v_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$n=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ef?"object":"symbol")?Symbol.toStringTag:null,fF=Object.prototype.propertyIsEnumerable,xC=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function bC(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||sF.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-yC(-e):yC(e);if(n!==e){var i=String(n),a=TS.call(t,i.length+1);return Vo.call(i,r,"$&_")+"."+Vo.call(Vo.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Vo.call(t,r,"$&_")}var m_=vW,wC=m_.custom,_C=hF(wC)?wC:null,CW=function e(t,r,n,i){var a=r||{};if($o(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if($o(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=$o(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($o(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($o(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return pF(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return l?bC(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return l?bC(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 g_(t)?"[Array]":"[Object]";var y=HW(a,n);if(typeof i>"u")i=[];else if(dF(i,t)>=0)return"[Circular]";function g(Re,Le,ut){if(Le&&(i=TW.call(i),i.push(Le)),ut){var nt={depth:a.depth};return $o(a,"quoteStyle")&&(nt.quoteStyle=a.quoteStyle),e(Re,nt,n+1,i)}return e(Re,a,n+1,i)}if(typeof t=="function"&&!SC(t)){var m=LW(t),E=e0(t,g);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(E.length>0?" { "+la.call(E,", ")+" }":"")}if(hF(t)){var M=Ef?Vo.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):v_.call(t);return typeof t=="object"&&!Ef?dh(M):M}if(jW(t)){for(var b="<"+mC.call(String(t.nodeName)),w=t.attributes||[],_=0;_<w.length;_++)b+=" "+w[_].name+"="+cF(OW(w[_].value),"double",a);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+mC.call(String(t.nodeName))+">",b}if(g_(t)){if(t.length===0)return"[]";var C=e0(t,g);return y&&!WW(C)?"["+y_(C,y)+"]":"[ "+la.call(C,", ")+" ]"}if(MW(t)){var T=e0(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!fF.call(t,"cause")?"{ ["+String(t)+"] "+la.call(gC.call("[cause]: "+g(t.cause),T),", ")+" }":T.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+la.call(T,", ")+" }"}if(typeof t=="object"&&o){if(_C&&typeof t[_C]=="function"&&m_)return m_(t,{depth:d-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(DW(t)){var R=[];return mW.call(t,function(Re,Le){R.push(g(Le,t,!0)+" => "+g(Re,t))}),EC("Map",km.call(t),R,y)}if(zW(t)){var L=[];return gW.call(t,function(Re){L.push(g(Re,t))}),EC("Set",Mm.call(t),L,y)}if($W(t))return Lx("WeakMap");if(UW(t))return Lx("WeakSet");if(BW(t))return Lx("WeakRef");if(PW(t))return dh(g(Number(t)));if(RW(t))return dh(g(p_.call(t)));if(FW(t))return dh(wW.call(t));if(IW(t))return dh(g(String(t)));if(!kW(t)&&!SC(t)){var q=e0(t,g),j=xC?xC(t)===Object.prototype:t instanceof Object||t.constructor===Object,te=t instanceof Object?"":"null prototype",ge=!j&&$n&&Object(t)===t&&$n in t?TS.call(gu(t),8,-1):te?"Object":"",me=j||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ke=me+(ge||te?"["+la.call(gC.call([],ge||[],te||[]),": ")+"] ":"");return q.length===0?ke+"{}":y?ke+"{"+y_(q,y)+"}":ke+"{ "+la.call(q,", ")+" }"}return String(t)};function cF(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function OW(e){return Vo.call(String(e),/"/g,"&quot;")}function g_(e){return gu(e)==="[object Array]"&&(!$n||!(typeof e=="object"&&$n in e))}function kW(e){return gu(e)==="[object Date]"&&(!$n||!(typeof e=="object"&&$n in e))}function SC(e){return gu(e)==="[object RegExp]"&&(!$n||!(typeof e=="object"&&$n in e))}function MW(e){return gu(e)==="[object Error]"&&(!$n||!(typeof e=="object"&&$n in e))}function IW(e){return gu(e)==="[object String]"&&(!$n||!(typeof e=="object"&&$n in e))}function PW(e){return gu(e)==="[object Number]"&&(!$n||!(typeof e=="object"&&$n in e))}function FW(e){return gu(e)==="[object Boolean]"&&(!$n||!(typeof e=="object"&&$n in e))}function hF(e){if(Ef)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!v_)return!1;try{return v_.call(e),!0}catch{}return!1}function RW(e){if(!e||typeof e!="object"||!p_)return!1;try{return p_.call(e),!0}catch{}return!1}var NW=Object.prototype.hasOwnProperty||function(e){return e in this};function $o(e,t){return NW.call(e,t)}function gu(e){return _W.call(e)}function LW(e){if(e.name)return e.name;var t=EW.call(SW.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function dF(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 DW(e){if(!km||!e||typeof e!="object")return!1;try{km.call(e);try{Mm.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function $W(e){if(!ed||!e||typeof e!="object")return!1;try{ed.call(e,ed);try{td.call(e,td)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function BW(e){if(!vC||!e||typeof e!="object")return!1;try{return vC.call(e),!0}catch{}return!1}function zW(e){if(!Mm||!e||typeof e!="object")return!1;try{Mm.call(e);try{km.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function UW(e){if(!td||!e||typeof e!="object")return!1;try{td.call(e,td);try{ed.call(e,ed)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function jW(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function pF(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return pF(TS.call(e,0,t.maxStringLength),t)+n}var i=Vo.call(Vo.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,GW);return cF(i,"single",t)}function GW(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":"")+AW.call(t.toString(16))}function dh(e){return"Object("+e+")"}function Lx(e){return e+" { ? }"}function EC(e,t,r,n){var i=n?y_(r,n):la.call(r,", ");return e+" ("+t+") {"+i+"}"}function WW(e){for(var t=0;t<e.length;t++)if(dF(e[t],`
842
- `)>=0)return!1;return!0}function HW(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=la.call(Array(e.indent+1)," ");else return null;return{base:r,prev:la.call(Array(t+1),r)}}function y_(e,t){if(e.length===0)return"";var r=`
843
- `+t.prev+t.base;return r+la.call(e,","+r)+`
844
- `+t.prev}function e0(e,t){var r=g_(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=$o(e,i)?t(e[i],e):""}var a=typeof Nx=="function"?Nx(e):[],o;if(Ef){o={};for(var l=0;l<a.length;l++)o["$"+a[l]]=a[l]}for(var s in e)!$o(e,s)||r&&String(Number(s))===s&&s<e.length||Ef&&o["$"+s]instanceof Symbol||(sF.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e)));if(typeof Nx=="function")for(var c=0;c<a.length;c++)fF.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var CS=mu,Uf=Sa,VW=CW,qW=CS("%TypeError%"),t0=CS("%WeakMap%",!0),r0=CS("%Map%",!0),YW=Uf("WeakMap.prototype.get",!0),XW=Uf("WeakMap.prototype.set",!0),QW=Uf("WeakMap.prototype.has",!0),ZW=Uf("Map.prototype.get",!0),KW=Uf("Map.prototype.set",!0),JW=Uf("Map.prototype.has",!0),OS=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},eH=function(e,t){var r=OS(e,t);return r&&r.value},tH=function(e,t,r){var n=OS(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},rH=function(e,t){return!!OS(e,t)},nH=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new qW("Side channel does not contain "+VW(a))},get:function(a){if(t0&&a&&(typeof a=="object"||typeof a=="function")){if(t)return YW(t,a)}else if(r0){if(r)return ZW(r,a)}else if(n)return eH(n,a)},has:function(a){if(t0&&a&&(typeof a=="object"||typeof a=="function")){if(t)return QW(t,a)}else if(r0){if(r)return JW(r,a)}else if(n)return rH(n,a);return!1},set:function(a,o){t0&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new t0),XW(t,a,o)):r0?(r||(r=new r0),KW(r,a,o)):(n||(n={key:{},next:null}),tH(n,a,o))}};return i},iH=Object.prototype.hasOwnProperty,aH=Object.prototype.toString,vF=function(t,r,n){if(aH.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var a=0;a<i;a++)r.call(n,t[a],a,t);else for(var o in t)iH.call(t,o)&&r.call(n,t[o],o,t)},Dx=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],oH=typeof globalThis>"u"?Ar:globalThis,mF=function(){for(var t=[],r=0;r<Dx.length;r++)typeof oH[Dx[r]]=="function"&&(t[t.length]=Dx[r]);return t},$x={exports:{}},Bx,AC;function uH(){if(AC)return Bx;AC=1;var e=mu,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Bx=t,Bx}var TC;function gF(){return TC||(TC=1,function(e){e.exports=uH()}($x)),$x.exports}var zx,CC;function lH(){if(CC)return zx;CC=1;var e=vF,t=mF,r=Sa,n=r("Object.prototype.toString"),i=vu(),a=typeof globalThis>"u"?Ar:globalThis,o=t(),l=r("Array.prototype.indexOf",!0)||function(E,M){for(var b=0;b<E.length;b+=1)if(E[b]===M)return b;return-1},s=r("String.prototype.slice"),c={},d=gF(),y=Object.getPrototypeOf;i&&d&&y&&e(o,function(m){var E=new a[m];if(Symbol.toStringTag in E){var M=y(E),b=d(M,Symbol.toStringTag);if(!b){var w=y(M);b=d(w,Symbol.toStringTag)}c[m]=b.get}});var g=function(E){var M=!1;return e(c,function(b,w){if(!M)try{M=b.call(E)===w}catch{}}),M};return zx=function(E){if(!E||typeof E!="object")return!1;if(!i||!(Symbol.toStringTag in E)){var M=s(n(E),8,-1);return l(o,M)>-1}return d?g(E):!1},zx}var yF=vF,sH=mF,xF=Sa,fH=xF("Object.prototype.toString"),bF=vu(),OC=typeof globalThis>"u"?Ar:globalThis,cH=sH(),hH=xF("String.prototype.slice"),wF={},Ux=gF(),jx=Object.getPrototypeOf;bF&&Ux&&jx&&yF(cH,function(e){if(typeof OC[e]=="function"){var t=new OC[e];if(Symbol.toStringTag in t){var r=jx(t),n=Ux(r,Symbol.toStringTag);if(!n){var i=jx(r);n=Ux(i,Symbol.toStringTag)}wF[e]=n.get}}});var dH=function(t){var r=!1;return yF(wF,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},pH=lH(),vH=function(t){return pH(t)?!bF||!(Symbol.toStringTag in t)?hH(fH(t),8,-1):dH(t):!1},mH=yS,_F=Rg(),SF=Sa,kC=Object,gH=SF("Array.prototype.push"),MC=SF("Object.prototype.propertyIsEnumerable"),yH=_F?Object.getOwnPropertySymbols:null,EF=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=kC(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var a=kC(arguments[i]),o=mH(a),l=_F&&(Object.getOwnPropertySymbols||yH);if(l)for(var s=l(a),c=0;c<s.length;++c){var d=s[c];MC(a,d)&&gH(o,d)}for(var y=0;y<o.length;++y){var g=o[y];if(MC(a,g)){var m=a[g];n[g]=m}}}return n},Gx=EF,xH=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},bH=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},AF=function(){return!Object.assign||xH()||bH()?Gx:Object.assign},wH=Ll,_H=AF,SH=function(){var t=_H();return wH(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},EH=Ll,AH=ap.exports,TH=EF,TF=AF,CH=SH,OH=AH.apply(TF()),CF=function(t,r){return OH(Object,arguments)};EH(CF,{getPolyfill:TF,implementation:TH,shim:CH});var kH=CF,IC=yS,PC=UP,FC=Uj,RC=Hj,NC=lG,LC=tF,DC=vG,$C=qG,MH=mu,lo=Sa,BC=nW,Af=B0.exports,IH=nH,zC=vH,OF=kH,UC=lo("Date.prototype.getTime"),Wx=Object.getPrototypeOf,jC=lo("Object.prototype.toString"),Im=MH("%Set%",!0),x_=lo("Map.prototype.has",!0),Pm=lo("Map.prototype.get",!0),GC=lo("Map.prototype.size",!0),Fm=lo("Set.prototype.add",!0),kF=lo("Set.prototype.delete",!0),Rm=lo("Set.prototype.has",!0),z0=lo("Set.prototype.size",!0);function WC(e,t,r,n){for(var i=Af(e),a;(a=i.next())&&!a.done;)if(to(t,a.value,r,n))return kF(e,a.value),!0;return!1}function MF(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 PH(e,t,r,n,i,a){var o=MF(r);if(o!=null)return o;var l=Pm(t,o),s=OF({},i,{strict:!1});return typeof l>"u"&&!x_(t,o)||!to(n,l,s,a)?!1:!x_(e,o)&&to(n,l,s,a)}function FH(e,t,r){var n=MF(r);return n!=null?n:Rm(t,n)&&!Rm(e,n)}function HC(e,t,r,n,i,a){for(var o=Af(e),l,s;(l=o.next())&&!l.done;)if(s=l.value,to(r,s,i,a)&&to(n,Pm(t,s),i,a))return kF(e,s),!0;return!1}function to(e,t,r,n){var i=r||{};if(i.strict?FC(e,t):e===t)return!0;var a=$C(e),o=$C(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?FC(e,t):e==t;var l=n.has(e),s=n.has(t),c;if(l&&s){if(n.get(e)===n.get(t))return!0}else c={};return l||n.set(e,c),s||n.set(t,c),LH(e,t,i,n)}function VC(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 RH(e,t,r,n){if(z0(e)!==z0(t))return!1;for(var i=Af(e),a=Af(t),o,l,s;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")s||(s=new Im),Fm(s,o.value);else if(!Rm(t,o.value)){if(r.strict||!FH(e,t,o.value))return!1;s||(s=new Im),Fm(s,o.value)}if(s){for(;(l=a.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!WC(s,l.value,r.strict,n))return!1}else if(!r.strict&&!Rm(e,l.value)&&!WC(s,l.value,r.strict,n))return!1;return z0(s)===0}return!0}function NH(e,t,r,n){if(GC(e)!==GC(t))return!1;for(var i=Af(e),a=Af(t),o,l,s,c,d,y;(o=i.next())&&!o.done;)if(c=o.value[0],d=o.value[1],c&&typeof c=="object")s||(s=new Im),Fm(s,c);else if(y=Pm(t,c),typeof y>"u"&&!x_(t,c)||!to(d,y,r,n)){if(r.strict||!PH(e,t,c,d,r,n))return!1;s||(s=new Im),Fm(s,c)}if(s){for(;(l=a.next())&&!l.done;)if(c=l.value[0],y=l.value[1],c&&typeof c=="object"){if(!HC(s,e,c,y,r,n))return!1}else if(!r.strict&&(!e.has(c)||!to(Pm(e,c),y,r,n))&&!HC(s,e,c,y,OF({},r,{strict:!1}),n))return!1;return z0(s)===0}return!0}function LH(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||jC(e)!==jC(t)||PC(e)!==PC(t))return!1;var o=LC(e),l=LC(t);if(o!==l)return!1;var s=e instanceof Error,c=t instanceof Error;if(s!==c||(s||c)&&(e.name!==t.name||e.message!==t.message))return!1;var d=RC(e),y=RC(t);if(d!==y||(d||y)&&(e.source!==t.source||NC(e)!==NC(t)))return!1;var g=DC(e),m=DC(t);if(g!==m||(g||m)&&UC(e)!==UC(t)||r.strict&&Wx&&Wx(e)!==Wx(t)||zC(e)!==zC(t))return!1;var E=VC(e),M=VC(t);if(E!==M)return!1;if(E||M){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;var b=IC(e),w=IC(t);if(b.length!==w.length)return!1;for(b.sort(),w.sort(),i=b.length-1;i>=0;i--)if(b[i]!=w[i])return!1;for(i=b.length-1;i>=0;i--)if(a=b[i],!to(e[a],t[a],r,n))return!1;var _=BC(e),C=BC(t);return _!==C?!1:_==="Set"||C==="Set"?RH(e,t,r,n):_==="Map"?NH(e,t,r,n):!0}var Kte=function(t,r,n){return to(t,r,n,IH())},DH={exports:{}};/*! Native Promise Only
845
- v0.8.1 (c) Kyle Simpson
846
- MIT License: http://getify.mit-license.org
847
- */(function(e){(function(r,n,i){n[r]=n[r]||i(),e.exports&&(e.exports=n[r])})("Promise",typeof Ar<"u"?Ar:Ar,function(){var r,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(C){return setImmediate(C)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(C,T,R,L){return Object.defineProperty(C,T,{value:R,writable:!0,configurable:L!==!1})}}catch{r=function(T,R,L){return T[R]=L,T}}i=function(){var C,T,R;function L(q,j){this.fn=q,this.self=j,this.next=void 0}return{add:function(j,te){R=new L(j,te),T?T.next=R:C=R,T=R,R=void 0},drain:function(){var j=C;for(C=T=n=void 0;j;)j.fn.call(j.self),j=j.next}}}();function l(_,C){i.add(_,C),n||(n=o(i.drain))}function s(_){var C,T=typeof _;return _!=null&&(T=="object"||T=="function")&&(C=_.then),typeof C=="function"?C:!1}function c(){for(var _=0;_<this.chain.length;_++)d(this,this.state===1?this.chain[_].success:this.chain[_].failure,this.chain[_]);this.chain.length=0}function d(_,C,T){var R,L;try{C===!1?T.reject(_.msg):(C===!0?R=_.msg:R=C.call(void 0,_.msg),R===T.promise?T.reject(TypeError("Promise-chain cycle")):(L=s(R))?L.call(R,T.resolve,T.reject):T.resolve(R))}catch(q){T.reject(q)}}function y(_){var C,T=this;if(!T.triggered){T.triggered=!0,T.def&&(T=T.def);try{(C=s(_))?l(function(){var R=new E(T);try{C.call(_,function(){y.apply(R,arguments)},function(){g.apply(R,arguments)})}catch(L){g.call(R,L)}}):(T.msg=_,T.state=1,T.chain.length>0&&l(c,T))}catch(R){g.call(new E(T),R)}}}function g(_){var C=this;C.triggered||(C.triggered=!0,C.def&&(C=C.def),C.msg=_,C.state=2,C.chain.length>0&&l(c,C))}function m(_,C,T,R){for(var L=0;L<C.length;L++)(function(j){_.resolve(C[j]).then(function(ge){T(j,ge)},R)})(L)}function E(_){this.def=_,this.triggered=!1}function M(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function b(_){if(typeof _!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var C=new M(this);this.then=function(R,L){var q={success:typeof R=="function"?R:!0,failure:typeof L=="function"?L:!1};return q.promise=new this.constructor(function(te,ge){if(typeof te!="function"||typeof ge!="function")throw TypeError("Not a function");q.resolve=te,q.reject=ge}),C.chain.push(q),C.state!==0&&l(c,C),q.promise},this.catch=function(R){return this.then(void 0,R)};try{_.call(void 0,function(R){y.call(C,R)},function(R){g.call(C,R)})}catch(T){g.call(C,T)}}var w=r({},"constructor",b,!1);return b.prototype=w,r(w,"__NPO__",0,!1),r(b,"resolve",function(C){var T=this;return C&&typeof C=="object"&&C.__NPO__===1?C:new T(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");L(C)})}),r(b,"reject",function(C){return new this(function(R,L){if(typeof R!="function"||typeof L!="function")throw TypeError("Not a function");L(C)})}),r(b,"all",function(C){var T=this;return a.call(C)!="[object Array]"?T.reject(TypeError("Not an array")):C.length===0?T.resolve([]):new T(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");var j=C.length,te=Array(j),ge=0;m(T,C,function(ke,Re){te[ke]=Re,++ge===j&&L(te)},q)})}),r(b,"race",function(C){var T=this;return a.call(C)!="[object Array]"?T.reject(TypeError("Not an array")):new T(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");m(T,C,function(te,ge){L(ge)},q)})}),b})})(DH);var $H={exports:{}};(function(e){(function(){var t={version:"3.8.0"},r=[].slice,n=function(u){return r.call(u)},i=self.document;function a(u){return u&&(u.ownerDocument||u.document||u).documentElement}function o(u){return u&&(u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView)}if(i)try{n(i.documentElement.childNodes)[0].nodeType}catch{n=function(f){for(var h=f.length,p=new Array(h);h--;)p[h]=f[h];return p}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement("DIV").style.setProperty("opacity",0,"")}catch{var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,d=this.CSSStyleDeclaration.prototype,y=d.setProperty;l.setAttribute=function(f,h){s.call(this,f,h+"")},l.setAttributeNS=function(f,h,p){c.call(this,f,h,p+"")},d.setProperty=function(f,h,p){y.call(this,f,h+"",p)}}t.ascending=g;function g(u,f){return u<f?-1:u>f?1:u>=f?0:NaN}t.descending=function(u,f){return f<u?-1:f>u?1:f>=u?0:NaN},t.min=function(u,f){var h=-1,p=u.length,v,x;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=x;break}for(;++h<p;)(x=u[h])!=null&&v>x&&(v=x)}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&v>x&&(v=x)}return v},t.max=function(u,f){var h=-1,p=u.length,v,x;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=x;break}for(;++h<p;)(x=u[h])!=null&&x>v&&(v=x)}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&x>v&&(v=x)}return v},t.extent=function(u,f){var h=-1,p=u.length,v,x,O;if(arguments.length===1){for(;++h<p;)if((x=u[h])!=null&&x>=x){v=O=x;break}for(;++h<p;)(x=u[h])!=null&&(v>x&&(v=x),O<x&&(O=x))}else{for(;++h<p;)if((x=f.call(u,u[h],h))!=null&&x>=x){v=O=x;break}for(;++h<p;)(x=f.call(u,u[h],h))!=null&&(v>x&&(v=x),O<x&&(O=x))}return[v,O]};function m(u){return u===null?NaN:+u}function E(u){return!isNaN(u)}t.sum=function(u,f){var h=0,p=u.length,v,x=-1;if(arguments.length===1)for(;++x<p;)E(v=+u[x])&&(h+=v);else for(;++x<p;)E(v=+f.call(u,u[x],x))&&(h+=v);return h},t.mean=function(u,f){var h=0,p=u.length,v,x=-1,O=p;if(arguments.length===1)for(;++x<p;)E(v=m(u[x]))?h+=v:--O;else for(;++x<p;)E(v=m(f.call(u,u[x],x)))?h+=v:--O;if(O)return h/O},t.quantile=function(u,f){var h=(u.length-1)*f+1,p=Math.floor(h),v=+u[p-1],x=h-p;return x?v+x*(u[p]-v):v},t.median=function(u,f){var h=[],p=u.length,v,x=-1;if(arguments.length===1)for(;++x<p;)E(v=m(u[x]))&&h.push(v);else for(;++x<p;)E(v=m(f.call(u,u[x],x)))&&h.push(v);if(h.length)return t.quantile(h.sort(g),.5)},t.variance=function(u,f){var h=u.length,p=0,v,x,O=0,S=-1,P=0;if(arguments.length===1)for(;++S<h;)E(v=m(u[S]))&&(x=v-p,p+=x/++P,O+=x*(v-p));else for(;++S<h;)E(v=m(f.call(u,u[S],S)))&&(x=v-p,p+=x/++P,O+=x*(v-p));if(P>1)return O/(P-1)},t.deviation=function(){var u=t.variance.apply(this,arguments);return u&&Math.sqrt(u)};function M(u){return{left:function(f,h,p,v){for(arguments.length<3&&(p=0),arguments.length<4&&(v=f.length);p<v;){var x=p+v>>>1;u(f[x],h)<0?p=x+1:v=x}return p},right:function(f,h,p,v){for(arguments.length<3&&(p=0),arguments.length<4&&(v=f.length);p<v;){var x=p+v>>>1;u(f[x],h)>0?v=x:p=x+1}return p}}}var b=M(g);t.bisectLeft=b.left,t.bisect=t.bisectRight=b.right,t.bisector=function(u){return M(u.length===1?function(f,h){return g(u(f),h)}:u)},t.shuffle=function(u,f,h){(p=arguments.length)<3&&(h=u.length,p<2&&(f=0));for(var p=h-f,v,x;p;)x=Math.random()*p--|0,v=u[p+f],u[p+f]=u[x+f],u[x+f]=v;return u},t.permute=function(u,f){for(var h=f.length,p=new Array(h);h--;)p[h]=u[f[h]];return p},t.pairs=function(u){for(var f=0,h=u.length-1,p=u[0],v=new Array(h<0?0:h);f<h;)v[f]=[p,p=u[++f]];return v},t.transpose=function(u){if(!(x=u.length))return[];for(var f=-1,h=t.min(u,w),p=new Array(h);++f<h;)for(var v=-1,x,O=p[f]=new Array(x);++v<x;)O[v]=u[v][f];return p};function w(u){return u.length}t.zip=function(){return t.transpose(arguments)},t.keys=function(u){var f=[];for(var h in u)f.push(h);return f},t.values=function(u){var f=[];for(var h in u)f.push(u[h]);return f},t.entries=function(u){var f=[];for(var h in u)f.push({key:h,value:u[h]});return f},t.merge=function(u){for(var f=u.length,h,p=-1,v=0,x,O;++p<f;)v+=u[p].length;for(x=new Array(v);--f>=0;)for(O=u[f],h=O.length;--h>=0;)x[--v]=O[h];return x};var _=Math.abs;t.range=function(u,f,h){if(arguments.length<3&&(h=1,arguments.length<2&&(f=u,u=0)),(f-u)/h===1/0)throw new Error("infinite range");var p=[],v=C(_(h)),x=-1,O;if(u*=v,f*=v,h*=v,h<0)for(;(O=u+h*++x)>f;)p.push(O/v);else for(;(O=u+h*++x)<f;)p.push(O/v);return p};function C(u){for(var f=1;u*f%1;)f*=10;return f}function T(u,f){for(var h in f)Object.defineProperty(u.prototype,h,{value:f[h],enumerable:!1})}t.map=function(u,f){var h=new R;if(u instanceof R)u.forEach(function(S,P){h.set(S,P)});else if(Array.isArray(u)){var p=-1,v=u.length,x;if(arguments.length===1)for(;++p<v;)h.set(p,u[p]);else for(;++p<v;)h.set(f.call(u,x=u[p],p),x)}else for(var O in u)h.set(O,u[O]);return h};function R(){this._=Object.create(null)}var L="__proto__",q="\0";T(R,{has:ge,get:function(u){return this._[j(u)]},set:function(u,f){return this._[j(u)]=f},remove:me,keys:ke,values:function(){var u=[];for(var f in this._)u.push(this._[f]);return u},entries:function(){var u=[];for(var f in this._)u.push({key:te(f),value:this._[f]});return u},size:Re,empty:Le,forEach:function(u){for(var f in this._)u.call(this,te(f),this._[f])}});function j(u){return(u+="")===L||u[0]===q?q+u:u}function te(u){return(u+="")[0]===q?u.slice(1):u}function ge(u){return j(u)in this._}function me(u){return(u=j(u))in this._&&delete this._[u]}function ke(){var u=[];for(var f in this._)u.push(te(f));return u}function Re(){var u=0;for(var f in this._)++u;return u}function Le(){for(var u in this._)return!1;return!0}t.nest=function(){var u={},f=[],h=[],p,v;function x(S,P,N){if(N>=f.length)return v?v.call(u,P):p?P.sort(p):P;for(var D=-1,B=P.length,z=f[N++],ie,oe,G,X=new R,J;++D<B;)(J=X.get(ie=z(oe=P[D])))?J.push(oe):X.set(ie,[oe]);return S?(oe=S(),G=function(ue,le){oe.set(ue,x(S,le,N))}):(oe={},G=function(ue,le){oe[ue]=x(S,le,N)}),X.forEach(G),oe}function O(S,P){if(P>=f.length)return S;var N=[],D=h[P++];return S.forEach(function(B,z){N.push({key:B,values:O(z,P)})}),D?N.sort(function(B,z){return D(B.key,z.key)}):N}return u.map=function(S,P){return x(P,S,0)},u.entries=function(S){return O(x(t.map,S,0),0)},u.key=function(S){return f.push(S),u},u.sortKeys=function(S){return h[f.length-1]=S,u},u.sortValues=function(S){return p=S,u},u.rollup=function(S){return v=S,u},u},t.set=function(u){var f=new ut;if(u)for(var h=0,p=u.length;h<p;++h)f.add(u[h]);return f};function ut(){this._=Object.create(null)}T(ut,{has:ge,add:function(u){return this._[j(u+="")]=!0,u},remove:me,values:ke,size:Re,empty:Le,forEach:function(u){for(var f in this._)u.call(this,te(f))}}),t.behavior={};function nt(u){return u}t.rebind=function(u,f){for(var h=1,p=arguments.length,v;++h<p;)u[v=arguments[h]]=De(u,f,f[v]);return u};function De(u,f,h){return function(){var p=h.apply(f,arguments);return p===f?u:p}}function We(u,f){if(f in u)return f;f=f.charAt(0).toUpperCase()+f.slice(1);for(var h=0,p=_t.length;h<p;++h){var v=_t[h]+f;if(v in u)return v}}var _t=["webkit","ms","moz","Moz","o","O"];function He(){}t.dispatch=function(){for(var u=new we,f=-1,h=arguments.length;++f<h;)u[arguments[f]]=Ve(u);return u};function we(){}we.prototype.on=function(u,f){var h=u.indexOf("."),p="";if(h>=0&&(p=u.slice(h+1),u=u.slice(0,h)),u)return arguments.length<2?this[u].on(p):this[u].on(p,f);if(arguments.length===2){if(f==null)for(u in this)this.hasOwnProperty(u)&&this[u].on(p,null);return this}};function Ve(u){var f=[],h=new R;function p(){for(var v=f,x=-1,O=v.length,S;++x<O;)(S=v[x].on)&&S.apply(this,arguments);return u}return p.on=function(v,x){var O=h.get(v),S;return arguments.length<2?O&&O.on:(O&&(O.on=null,f=f.slice(0,S=f.indexOf(O)).concat(f.slice(S+1)),h.remove(v)),x&&f.push(h.set(v,{on:x})),u)},p}t.event=null;function st(){t.event.preventDefault()}function Qe(){for(var u=t.event,f;f=u.sourceEvent;)u=f;return u}function ct(u){for(var f=new we,h=0,p=arguments.length;++h<p;)f[arguments[h]]=Ve(f);return f.of=function(v,x){return function(O){try{var S=O.sourceEvent=t.event;O.target=u,t.event=O,f[O.type].apply(v,x)}finally{t.event=S}}},f}t.requote=function(u){return u.replace(yt,"\\$&")};var yt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ht={}.__proto__?function(u,f){u.__proto__=f}:function(u,f){for(var h in f)u[h]=f[h]};function qt(u){return Ht(u,Ce),u}var Ze=function(u,f){return f.querySelector(u)},At=function(u,f){return f.querySelectorAll(u)},jt=function(u,f){var h=u.matches||u[We(u,"matchesSelector")];return jt=function(p,v){return h.call(p,v)},jt(u,f)};typeof Sizzle=="function"&&(Ze=function(u,f){return Sizzle(u,f)[0]||null},At=Sizzle,jt=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var Ce=t.selection.prototype=[];Ce.select=function(u){var f=[],h,p,v,x;u=W(u);for(var O=-1,S=this.length;++O<S;){f.push(h=[]),h.parentNode=(v=this[O]).parentNode;for(var P=-1,N=v.length;++P<N;)(x=v[P])?(h.push(p=u.call(x,x.__data__,P,O)),p&&"__data__"in x&&(p.__data__=x.__data__)):h.push(null)}return qt(f)};function W(u){return typeof u=="function"?u:function(){return Ze(u,this)}}Ce.selectAll=function(u){var f=[],h,p;u=ae(u);for(var v=-1,x=this.length;++v<x;)for(var O=this[v],S=-1,P=O.length;++S<P;)(p=O[S])&&(f.push(h=n(u.call(p,p.__data__,S,v))),h.parentNode=p);return qt(f)};function ae(u){return typeof u=="function"?u:function(){return At(u,this)}}var I="http://www.w3.org/1999/xhtml",A={svg:"http://www.w3.org/2000/svg",xhtml:I,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};t.ns={prefix:A,qualify:function(u){var f=u.indexOf(":"),h=u;return f>=0&&(h=u.slice(0,f))!=="xmlns"&&(u=u.slice(f+1)),A.hasOwnProperty(h)?{space:A[h],local:u}:u}},Ce.attr=function(u,f){if(arguments.length<2){if(typeof u=="string"){var h=this.node();return u=t.ns.qualify(u),u.local?h.getAttributeNS(u.space,u.local):h.getAttribute(u)}for(f in u)this.each(k(f,u[f]));return this}return this.each(k(u,f))};function k(u,f){u=t.ns.qualify(u);function h(){this.removeAttribute(u)}function p(){this.removeAttributeNS(u.space,u.local)}function v(){this.setAttribute(u,f)}function x(){this.setAttributeNS(u.space,u.local,f)}function O(){var P=f.apply(this,arguments);P==null?this.removeAttribute(u):this.setAttribute(u,P)}function S(){var P=f.apply(this,arguments);P==null?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,P)}return f==null?u.local?p:h:typeof f=="function"?u.local?S:O:u.local?x:v}function $(u){return u.trim().replace(/\s+/g," ")}Ce.classed=function(u,f){if(arguments.length<2){if(typeof u=="string"){var h=this.node(),p=(u=Fe(u)).length,v=-1;if(f=h.classList){for(;++v<p;)if(!f.contains(u[v]))return!1}else for(f=h.getAttribute("class");++v<p;)if(!fe(u[v]).test(f))return!1;return!0}for(f in u)this.each(ze(f,u[f]));return this}return this.each(ze(u,f))};function fe(u){return new RegExp("(?:^|\\s+)"+t.requote(u)+"(?:\\s+|$)","g")}function Fe(u){return(u+"").trim().split(/^|\s+/)}function ze(u,f){u=Fe(u).map(Qt);var h=u.length;function p(){for(var x=-1;++x<h;)u[x](this,f)}function v(){for(var x=-1,O=f.apply(this,arguments);++x<h;)u[x](this,O)}return typeof f=="function"?v:p}function Qt(u){var f=fe(u);return function(h,p){if(v=h.classList)return p?v.add(u):v.remove(u);var v=h.getAttribute("class")||"";p?(f.lastIndex=0,f.test(v)||h.setAttribute("class",$(v+" "+u))):h.setAttribute("class",$(v.replace(f," ")))}}Ce.style=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f="");for(h in u)this.each(sr(h,u[h],f));return this}if(p<2){var v=this.node();return o(v).getComputedStyle(v,null).getPropertyValue(u)}h=""}return this.each(sr(u,f,h))};function sr(u,f,h){function p(){this.style.removeProperty(u)}function v(){this.style.setProperty(u,f,h)}function x(){var O=f.apply(this,arguments);O==null?this.style.removeProperty(u):this.style.setProperty(u,O,h)}return f==null?p:typeof f=="function"?x:v}Ce.property=function(u,f){if(arguments.length<2){if(typeof u=="string")return this.node()[u];for(f in u)this.each(nr(f,u[f]));return this}return this.each(nr(u,f))};function nr(u,f){function h(){delete this[u]}function p(){this[u]=f}function v(){var x=f.apply(this,arguments);x==null?delete this[u]:this[u]=x}return f==null?h:typeof f=="function"?v:p}Ce.text=function(u){return arguments.length?this.each(typeof u=="function"?function(){var f=u.apply(this,arguments);this.textContent=f==null?"":f}:u==null?function(){this.textContent=""}:function(){this.textContent=u}):this.node().textContent},Ce.html=function(u){return arguments.length?this.each(typeof u=="function"?function(){var f=u.apply(this,arguments);this.innerHTML=f==null?"":f}:u==null?function(){this.innerHTML=""}:function(){this.innerHTML=u}):this.node().innerHTML},Ce.append=function(u){return u=qr(u),this.select(function(){return this.appendChild(u.apply(this,arguments))})};function qr(u){function f(){var p=this.ownerDocument,v=this.namespaceURI;return v===I&&p.documentElement.namespaceURI===I?p.createElement(u):p.createElementNS(v,u)}function h(){return this.ownerDocument.createElementNS(u.space,u.local)}return typeof u=="function"?u:(u=t.ns.qualify(u)).local?h:f}Ce.insert=function(u,f){return u=qr(u),f=W(f),this.select(function(){return this.insertBefore(u.apply(this,arguments),f.apply(this,arguments)||null)})},Ce.remove=function(){return this.each(kr)};function kr(){var u=this.parentNode;u&&u.removeChild(this)}Ce.data=function(u,f){var h=-1,p=this.length,v,x;if(!arguments.length){for(u=new Array(p=(v=this[0]).length);++h<p;)(x=v[h])&&(u[h]=x.__data__);return u}function O(D,B){var z,ie=D.length,oe=B.length,G=Math.min(ie,oe),X=new Array(oe),J=new Array(oe),ue=new Array(ie),le,re;if(f){var Pe=new R,Ue=new Array(ie),tt;for(z=-1;++z<ie;)(le=D[z])&&(Pe.has(tt=f.call(le,le.__data__,z))?ue[z]=le:Pe.set(tt,le),Ue[z]=tt);for(z=-1;++z<oe;)(le=Pe.get(tt=f.call(B,re=B[z],z)))?le!==!0&&(X[z]=le,le.__data__=re):J[z]=Ji(re),Pe.set(tt,!0);for(z=-1;++z<ie;)z in Ue&&Pe.get(Ue[z])!==!0&&(ue[z]=D[z])}else{for(z=-1;++z<G;)le=D[z],re=B[z],le?(le.__data__=re,X[z]=le):J[z]=Ji(re);for(;z<oe;++z)J[z]=Ji(B[z]);for(;z<ie;++z)ue[z]=D[z]}J.update=X,J.parentNode=X.parentNode=ue.parentNode=D.parentNode,S.push(J),P.push(X),N.push(ue)}var S=hp([]),P=qt([]),N=qt([]);if(typeof u=="function")for(;++h<p;)O(v=this[h],u.call(v,v.parentNode.__data__,h));else for(;++h<p;)O(v=this[h],u);return P.enter=function(){return S},P.exit=function(){return N},P};function Ji(u){return{__data__:u}}Ce.datum=function(u){return arguments.length?this.property("__data__",u):this.property("__data__")},Ce.filter=function(u){var f=[],h,p,v;typeof u!="function"&&(u=bu(u));for(var x=0,O=this.length;x<O;x++){f.push(h=[]),h.parentNode=(p=this[x]).parentNode;for(var S=0,P=p.length;S<P;S++)(v=p[S])&&u.call(v,v.__data__,S,x)&&h.push(v)}return qt(f)};function bu(u){return function(){return jt(this,u)}}Ce.order=function(){for(var u=-1,f=this.length;++u<f;)for(var h=this[u],p=h.length-1,v=h[p],x;--p>=0;)(x=h[p])&&(v&&v!==x.nextSibling&&v.parentNode.insertBefore(x,v),v=x);return this},Ce.sort=function(u){u=Ea.apply(this,arguments);for(var f=-1,h=this.length;++f<h;)this[f].sort(u);return this.order()};function Ea(u){return arguments.length||(u=g),function(f,h){return f&&h?u(f.__data__,h.__data__):!f-!h}}Ce.each=function(u){return gi(this,function(f,h,p){u.call(f,f.__data__,h,p)})};function gi(u,f){for(var h=0,p=u.length;h<p;h++)for(var v=u[h],x=0,O=v.length,S;x<O;x++)(S=v[x])&&f(S,x,h);return u}Ce.call=function(u){var f=n(arguments);return u.apply(f[0]=this,f),this},Ce.empty=function(){return!this.node()},Ce.node=function(){for(var u=0,f=this.length;u<f;u++)for(var h=this[u],p=0,v=h.length;p<v;p++){var x=h[p];if(x)return x}return null},Ce.size=function(){var u=0;return gi(this,function(){++u}),u};function hp(u){return Ht(u,Ri),u}var Ri=[];t.selection.enter=hp,t.selection.enter.prototype=Ri,Ri.append=Ce.append,Ri.empty=Ce.empty,Ri.node=Ce.node,Ri.call=Ce.call,Ri.size=Ce.size,Ri.select=function(u){for(var f=[],h,p,v,x,O,S=-1,P=this.length;++S<P;){v=(x=this[S]).update,f.push(h=[]),h.parentNode=x.parentNode;for(var N=-1,D=x.length;++N<D;)(O=x[N])?(h.push(v[N]=p=u.call(x.parentNode,O.__data__,N,S)),p.__data__=O.__data__):h.push(null)}return qt(f)},Ri.insert=function(u,f){return arguments.length<2&&(f=wu(this)),Ce.insert.call(this,u,f)};function wu(u){var f,h;return function(p,v,x){var O=u[x].update,S=O.length,P;for(x!=h&&(h=x,f=0),v>=f&&(f=v+1);!(P=O[f])&&++f<S;);return P}}t.select=function(u){var f;return typeof u=="string"?(f=[Ze(u,i)],f.parentNode=i.documentElement):(f=[u],f.parentNode=a(u)),qt([f])},t.selectAll=function(u){var f;return typeof u=="string"?(f=n(At(u,i)),f.parentNode=i.documentElement):(f=n(u),f.parentNode=null),qt([f])},Ce.on=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f=!1);for(h in u)this.each(zl(h,u[h],f));return this}if(p<2)return(p=this.node()["__on"+u])&&p._;h=!1}return this.each(zl(u,f,h))};function zl(u,f,h){var p="__on"+u,v=u.indexOf("."),x=jl;v>0&&(u=u.slice(0,v));var O=Ul.get(u);O&&(u=O,x=ty);function S(){var D=this[p];D&&(this.removeEventListener(u,D,D.$),delete this[p])}function P(){var D=x(f,n(arguments));S.call(this),this.addEventListener(u,this[p]=D,D.$=h),D._=f}function N(){var D=new RegExp("^__on([^.]+)"+t.requote(u)+"$"),B;for(var z in this)if(B=z.match(D)){var ie=this[z];this.removeEventListener(B[1],ie,ie.$),delete this[z]}}return v?f?P:S:f?He:N}var Ul=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&Ul.forEach(function(u){"on"+u in i&&Ul.remove(u)});function jl(u,f){return function(h){var p=t.event;t.event=h,f[0]=this.__data__;try{u.apply(this,f)}finally{t.event=p}}}function ty(u,f){var h=jl(u,f);return function(p){var v=this,x=p.relatedTarget;(!x||x!==v&&!(x.compareDocumentPosition(v)&8))&&h.call(v,p)}}var Aa,ry=0;function Gl(u){var f=".dragsuppress-"+ ++ry,h="click"+f,p=t.select(o(u)).on("touchmove"+f,st).on("dragstart"+f,st).on("selectstart"+f,st);if(Aa==null&&(Aa="onselectstart"in u?!1:We(u.style,"userSelect")),Aa){var v=a(u).style,x=v[Aa];v[Aa]="none"}return function(O){if(p.on(f,null),Aa&&(v[Aa]=x),O){var S=function(){p.on(h,null)};p.on(h,function(){st(),S()},!0),setTimeout(S,0)}}}t.mouse=function(u){return ni(u,Qe())};var tn=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function ni(u,f){f.changedTouches&&(f=f.changedTouches[0]);var h=u.ownerSVGElement||u;if(h.createSVGPoint){var p=h.createSVGPoint();if(tn<0){var v=o(u);if(v.scrollX||v.scrollY){h=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var x=h[0][0].getScreenCTM();tn=!(x.f||x.e),h.remove()}}return tn?(p.x=f.pageX,p.y=f.pageY):(p.x=f.clientX,p.y=f.clientY),p=p.matrixTransform(u.getScreenCTM().inverse()),[p.x,p.y]}var O=u.getBoundingClientRect();return[f.clientX-O.left-u.clientLeft,f.clientY-O.top-u.clientTop]}t.touch=function(u,f,h){if(arguments.length<3&&(h=f,f=Qe().changedTouches),f){for(var p=0,v=f.length,x;p<v;++p)if((x=f[p]).identifier===h)return ni(u,x)}},t.behavior.drag=function(){var u=ct(v,"drag","dragstart","dragend"),f=null,h=x(He,t.mouse,o,"mousemove","mouseup"),p=x(Bn,t.touch,nt,"touchmove","touchend");function v(){this.on("mousedown.drag",h).on("touchstart.drag",p)}function x(O,S,P,N,D){return function(){var B=this,z=t.event.target.correspondingElement||t.event.target,ie=B.parentNode,oe=u.of(B,arguments),G=0,X=O(),J=".drag"+(X==null?"":"-"+X),ue,le=t.select(P(z)).on(N+J,Ue).on(D+J,tt),re=Gl(z),Pe=S(ie,X);f?(ue=f.apply(B,arguments),ue=[ue.x-Pe[0],ue.y-Pe[1]]):ue=[0,0],oe({type:"dragstart"});function Ue(){var je=S(ie,X),at,vt;!je||(at=je[0]-Pe[0],vt=je[1]-Pe[1],G|=at|vt,Pe=je,oe({type:"drag",x:je[0]+ue[0],y:je[1]+ue[1],dx:at,dy:vt}))}function tt(){!S(ie,X)||(le.on(N+J,null).on(D+J,null),re(G),oe({type:"dragend"}))}}}return v.origin=function(O){return arguments.length?(f=O,v):f},t.rebind(v,u,"on")};function Bn(){return t.event.changedTouches[0].identifier}t.touches=function(u,f){return arguments.length<2&&(f=Qe().touches),f?n(f).map(function(h){var p=ni(u,h);return p.identifier=h.identifier,p}):[]};var ir=1e-6,dp=ir*ir,Ni=Math.PI,so=2*Ni,pp=so-ir,yi=Ni/2,vp=Ni/180,_u=180/Ni;function ny(u,f,h){return(f[0]-u[0])*(h[1]-u[1])-(f[1]-u[1])*(h[0]-u[0])}function mp(u){return u>1?yi:u<-1?-yi:Math.asin(u)}function iy(u){return((u=Math.exp(u))-1/u)/2}function gp(u){return((u=Math.exp(u))+1/u)/2}function ay(u){return((u=Math.exp(2*u))-1)/(u+1)}var Su=Math.SQRT2,Wf=2,yp=4;t.interpolateZoom=function(u,f){var h=u[0],p=u[1],v=u[2],x=f[0],O=f[1],S=f[2],P=x-h,N=O-p,D=P*P+N*N,B,z;if(D<dp)z=Math.log(S/v)/Su,B=function(ue){return[h+ue*P,p+ue*N,v*Math.exp(Su*ue*z)]};else{var ie=Math.sqrt(D),oe=(S*S-v*v+yp*D)/(2*v*Wf*ie),G=(S*S-v*v-yp*D)/(2*S*Wf*ie),X=Math.log(Math.sqrt(oe*oe+1)-oe),J=Math.log(Math.sqrt(G*G+1)-G);z=(J-X)/Su,B=function(ue){var le=ue*z,re=gp(X),Pe=v/(Wf*ie)*(re*ay(Su*le+X)-iy(X));return[h+Pe*P,p+Pe*N,v*re/gp(Su*le+X)]}}return B.duration=z*1e3,B},t.behavior.zoom=function(){var u={x:0,y:0,k:1},f,h,p,v=[960,500],x=Eu,O=250,S=0,P="mousedown.zoom",N="mousemove.zoom",D="mouseup.zoom",B,z="touchstart.zoom",ie,oe=ct(le,"zoomstart","zoom","zoomend"),G,X,J,ue;Hf||(Hf="onwheel"in i?(Wl=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(Wl=function(){return t.event.wheelDelta},"mousewheel"):(Wl=function(){return-t.event.detail},"MozMousePixelScroll"));function le(rt){rt.on(P,zt).on(Hf+".zoom",Mr).on("dblclick.zoom",dr).on(z,ar)}le.event=function(rt){rt.each(function(){var Wt=oe.of(this,arguments),Yt=u;ji?t.select(this).transition().each("start.zoom",function(){u=this.__chart__||{x:0,y:0,k:1},vt(Wt)}).tween("zoom:zoom",function(){var or=v[0],Sr=v[1],Br=h?h[0]:or/2,Yr=h?h[1]:Sr/2,pn=t.interpolateZoom([(Br-u.x)/u.k,(Yr-u.y)/u.k,or/u.k],[(Br-Yt.x)/Yt.k,(Yr-Yt.y)/Yt.k,or/Yt.k]);return function(En){var an=pn(En),Pn=or/an[2];this.__chart__=u={x:Br-an[0]*Pn,y:Yr-an[1]*Pn,k:Pn},Gt(Wt)}}).each("interrupt.zoom",function(){bt(Wt)}).each("end.zoom",function(){bt(Wt)}):(this.__chart__=u,vt(Wt),Gt(Wt),bt(Wt))})},le.translate=function(rt){return arguments.length?(u={x:+rt[0],y:+rt[1],k:u.k},at(),le):[u.x,u.y]},le.scale=function(rt){return arguments.length?(u={x:u.x,y:u.y,k:null},Ue(+rt),at(),le):u.k},le.scaleExtent=function(rt){return arguments.length?(x=rt==null?Eu:[+rt[0],+rt[1]],le):x},le.center=function(rt){return arguments.length?(p=rt&&[+rt[0],+rt[1]],le):p},le.size=function(rt){return arguments.length?(v=rt&&[+rt[0],+rt[1]],le):v},le.duration=function(rt){return arguments.length?(O=+rt,le):O},le.x=function(rt){return arguments.length?(X=rt,G=rt.copy(),u={x:0,y:0,k:1},le):X},le.y=function(rt){return arguments.length?(ue=rt,J=rt.copy(),u={x:0,y:0,k:1},le):ue};function re(rt){return[(rt[0]-u.x)/u.k,(rt[1]-u.y)/u.k]}function Pe(rt){return[rt[0]*u.k+u.x,rt[1]*u.k+u.y]}function Ue(rt){u.k=Math.max(x[0],Math.min(x[1],rt))}function tt(rt,Wt){Wt=Pe(Wt),u.x+=rt[0]-Wt[0],u.y+=rt[1]-Wt[1]}function je(rt,Wt,Yt,or){rt.__chart__={x:u.x,y:u.y,k:u.k},Ue(Math.pow(2,or)),tt(h=Wt,Yt),rt=t.select(rt),O>0&&(rt=rt.transition().duration(O)),rt.call(le.event)}function at(){X&&X.domain(G.range().map(function(rt){return(rt-u.x)/u.k}).map(G.invert)),ue&&ue.domain(J.range().map(function(rt){return(rt-u.y)/u.k}).map(J.invert))}function vt(rt){S++||rt({type:"zoomstart"})}function Gt(rt){at(),rt({type:"zoom",scale:u.k,translate:[u.x,u.y]})}function bt(rt){--S||(rt({type:"zoomend"}),h=null)}function zt(){var rt=this,Wt=oe.of(rt,arguments),Yt=0,or=t.select(o(rt)).on(N,Yr).on(D,pn),Sr=re(t.mouse(rt)),Br=Gl(rt);_s.call(rt),vt(Wt);function Yr(){Yt=1,tt(t.mouse(rt),Sr),Gt(Wt)}function pn(){or.on(N,null).on(D,null),Br(Yt),bt(Wt)}}function ar(){var rt=this,Wt=oe.of(rt,arguments),Yt={},or=0,Sr,Br=".zoom-"+t.event.changedTouches[0].identifier,Yr="touchmove"+Br,pn="touchend"+Br,En=[],an=t.select(rt),Pn=Gl(rt);H(),vt(Wt),an.on(P,null).on(z,H);function F(){var Me=t.touches(rt);return Sr=u.k,Me.forEach(function(xe){xe.identifier in Yt&&(Yt[xe.identifier]=re(xe))}),Me}function H(){var Me=t.event.target;t.select(Me).on(Yr,K).on(pn,Ee),En.push(Me);for(var xe=t.event.changedTouches,_e=0,Ye=xe.length;_e<Ye;++_e)Yt[xe[_e].identifier]=null;var Xe=F(),et=Date.now();if(Xe.length===1){if(et-ie<500){var ft=Xe[0];je(rt,ft,Yt[ft.identifier],Math.floor(Math.log(u.k)/Math.LN2)+1),st()}ie=et}else if(Xe.length>1){var ft=Xe[0],It=Xe[1],St=ft[0]-It[0],it=ft[1]-It[1];or=St*St+it*it}}function K(){var Me=t.touches(rt),xe,_e,Ye,Xe;_s.call(rt);for(var et=0,ft=Me.length;et<ft;++et,Xe=null)if(Ye=Me[et],Xe=Yt[Ye.identifier]){if(_e)break;xe=Ye,_e=Xe}if(Xe){var It=(It=Ye[0]-xe[0])*It+(It=Ye[1]-xe[1])*It,St=or&&Math.sqrt(It/or);xe=[(xe[0]+Ye[0])/2,(xe[1]+Ye[1])/2],_e=[(_e[0]+Xe[0])/2,(_e[1]+Xe[1])/2],Ue(St*Sr)}ie=null,tt(xe,_e),Gt(Wt)}function Ee(){if(t.event.touches.length){for(var Me=t.event.changedTouches,xe=0,_e=Me.length;xe<_e;++xe)delete Yt[Me[xe].identifier];for(var Ye in Yt)return void F()}t.selectAll(En).on(Br,null),an.on(P,zt).on(z,ar),Pn(),bt(Wt)}}function Mr(){var rt=oe.of(this,arguments);B?clearTimeout(B):(_s.call(this),f=re(h=p||t.mouse(this)),vt(rt)),B=setTimeout(function(){B=null,bt(rt)},50),st(),Ue(Math.pow(2,Wl()*.002)*u.k),tt(h,f),Gt(rt)}function dr(){var rt=t.mouse(this),Wt=Math.log(u.k)/Math.LN2;je(this,rt,re(rt),t.event.shiftKey?Math.ceil(Wt)-1:Math.floor(Wt)+1)}return t.rebind(le,oe,"on")};var Eu=[0,1/0],Wl,Hf;t.color=ea;function ea(){}ea.prototype.toString=function(){return this.rgb()+""},t.hsl=Vn;function Vn(u,f,h){return this instanceof Vn?(this.h=+u,this.s=+f,void(this.l=+h)):arguments.length<2?u instanceof Vn?new Vn(u.h,u.s,u.l):Ca(""+u,Kf,Vn):new Vn(u,f,h)}var Hl=Vn.prototype=new ea;Hl.brighter=function(u){return u=Math.pow(.7,arguments.length?u:1),new Vn(this.h,this.s,this.l/u)},Hl.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Vn(this.h,this.s,u*this.l)},Hl.rgb=function(){return Vl(this.h,this.s,this.l)};function Vl(u,f,h){var p,v;u=isNaN(u)?0:(u%=360)<0?u+360:u,f=isNaN(f)||f<0?0:f>1?1:f,h=h<0?0:h>1?1:h,v=h<=.5?h*(1+f):h+f-h*f,p=2*h-v;function x(S){return S>360?S-=360:S<0&&(S+=360),S<60?p+(v-p)*S/60:S<180?v:S<240?p+(v-p)*(240-S)/60:p}function O(S){return Math.round(x(S)*255)}return new rn(O(u+120),O(u),O(u-120))}t.hcl=ii;function ii(u,f,h){return this instanceof ii?(this.h=+u,this.c=+f,void(this.l=+h)):arguments.length<2?u instanceof ii?new ii(u.h,u.c,u.l):u instanceof Zr?wp(u.l,u.a,u.b):wp((u=Oa((u=t.rgb(u)).r,u.g,u.b)).l,u.a,u.b):new ii(u,f,h)}var Au=ii.prototype=new ea;Au.brighter=function(u){return new ii(this.h,this.c,Math.min(100,this.l+Ta*(arguments.length?u:1)))},Au.darker=function(u){return new ii(this.h,this.c,Math.max(0,this.l-Ta*(arguments.length?u:1)))},Au.rgb=function(){return Tu(this.h,this.c,this.l).rgb()};function Tu(u,f,h){return isNaN(u)&&(u=0),isNaN(f)&&(f=0),new Zr(h,Math.cos(u*=vp)*f,Math.sin(u)*f)}t.lab=Zr;function Zr(u,f,h){return this instanceof Zr?(this.l=+u,this.a=+f,void(this.b=+h)):arguments.length<2?u instanceof Zr?new Zr(u.l,u.a,u.b):u instanceof ii?Tu(u.h,u.c,u.l):Oa((u=rn(u)).r,u.g,u.b):new Zr(u,f,h)}var Ta=18,Vf=.95047,qf=1,xp=1.08883,Yf=Zr.prototype=new ea;Yf.brighter=function(u){return new Zr(Math.min(100,this.l+Ta*(arguments.length?u:1)),this.a,this.b)},Yf.darker=function(u){return new Zr(Math.max(0,this.l-Ta*(arguments.length?u:1)),this.a,this.b)},Yf.rgb=function(){return bp(this.l,this.a,this.b)};function bp(u,f,h){var p=(u+16)/116,v=p+f/500,x=p-h/200;return v=Xf(v)*Vf,p=Xf(p)*qf,x=Xf(x)*xp,new rn(Zf(3.2404542*v-1.5371385*p-.4985314*x),Zf(-.969266*v+1.8760108*p+.041556*x),Zf(.0556434*v-.2040259*p+1.0572252*x))}function wp(u,f,h){return u>0?new ii(Math.atan2(h,f)*_u,Math.sqrt(f*f+h*h),u):new ii(NaN,NaN,u)}function Xf(u){return u>.206893034?u*u*u:(u-4/29)/7.787037}function Qf(u){return u>.008856?Math.pow(u,1/3):7.787037*u+4/29}function Zf(u){return Math.round(255*(u<=.00304?12.92*u:1.055*Math.pow(u,1/2.4)-.055))}t.rgb=rn;function rn(u,f,h){return this instanceof rn?(this.r=~~u,this.g=~~f,void(this.b=~~h)):arguments.length<2?u instanceof rn?new rn(u.r,u.g,u.b):Ca(""+u,rn,Vl):new rn(u,f,h)}function _p(u){return new rn(u>>16,u>>8&255,u&255)}function ql(u){return _p(u)+""}var ta=rn.prototype=new ea;ta.brighter=function(u){u=Math.pow(.7,arguments.length?u:1);var f=this.r,h=this.g,p=this.b,v=30;return!f&&!h&&!p?new rn(v,v,v):(f&&f<v&&(f=v),h&&h<v&&(h=v),p&&p<v&&(p=v),new rn(Math.min(255,f/u),Math.min(255,h/u),Math.min(255,p/u)))},ta.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new rn(u*this.r,u*this.g,u*this.b)},ta.hsl=function(){return Kf(this.r,this.g,this.b)},ta.toString=function(){return"#"+fo(this.r)+fo(this.g)+fo(this.b)};function fo(u){return u<16?"0"+Math.max(0,u).toString(16):Math.min(255,u).toString(16)}function Ca(u,f,h){var p=0,v=0,x=0,O,S,P;if(O=/([a-z]+)\((.*)\)/.exec(u=u.toLowerCase()),O)switch(S=O[2].split(","),O[1]){case"hsl":return h(parseFloat(S[0]),parseFloat(S[1])/100,parseFloat(S[2])/100);case"rgb":return f(ra(S[0]),ra(S[1]),ra(S[2]))}return(P=co.get(u))?f(P.r,P.g,P.b):(u!=null&&u.charAt(0)==="#"&&!isNaN(P=parseInt(u.slice(1),16))&&(u.length===4?(p=(P&3840)>>4,p=p>>4|p,v=P&240,v=v>>4|v,x=P&15,x=x<<4|x):u.length===7&&(p=(P&16711680)>>16,v=(P&65280)>>8,x=P&255)),f(p,v,x))}function Kf(u,f,h){var p=Math.min(u/=255,f/=255,h/=255),v=Math.max(u,f,h),x=v-p,O,S,P=(v+p)/2;return x?(S=P<.5?x/(v+p):x/(2-v-p),u==v?O=(f-h)/x+(f<h?6:0):f==v?O=(h-u)/x+2:O=(u-f)/x+4,O*=60):(O=NaN,S=P>0&&P<1?0:O),new Vn(O,S,P)}function Oa(u,f,h){u=Yl(u),f=Yl(f),h=Yl(h);var p=Qf((.4124564*u+.3575761*f+.1804375*h)/Vf),v=Qf((.2126729*u+.7151522*f+.072175*h)/qf),x=Qf((.0193339*u+.119192*f+.9503041*h)/xp);return Zr(116*v-16,500*(p-v),200*(v-x))}function Yl(u){return(u/=255)<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4)}function ra(u){var f=parseFloat(u);return u.charAt(u.length-1)==="%"?Math.round(f*2.55):f}var co=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});co.forEach(function(u,f){co.set(u,_p(f))});function mr(u){return typeof u=="function"?u:function(){return u}}t.functor=mr,t.xhr=Jf(nt);function Jf(u){return function(f,h,p){return arguments.length===2&&typeof h=="function"&&(p=h,h=null),Xl(f,h,u,p)}}function Xl(u,f,h,p){var v={},x=t.dispatch("beforesend","progress","load","error"),O={},S=new XMLHttpRequest,P=null;self.XDomainRequest&&!("withCredentials"in S)&&/^(http(s)?:)?\/\//.test(u)&&(S=new XDomainRequest),"onload"in S?S.onload=S.onerror=N:S.onreadystatechange=function(){S.readyState>3&&N()};function N(){var D=S.status,B;if(!D&&oy(S)||D>=200&&D<300||D===304){try{B=h.call(v,S)}catch(z){x.error.call(v,z);return}x.load.call(v,B)}else x.error.call(v,S)}return S.onprogress=function(D){var B=t.event;t.event=D;try{x.progress.call(v,S)}finally{t.event=B}},v.header=function(D,B){return D=(D+"").toLowerCase(),arguments.length<2?O[D]:(B==null?delete O[D]:O[D]=B+"",v)},v.mimeType=function(D){return arguments.length?(f=D==null?null:D+"",v):f},v.responseType=function(D){return arguments.length?(P=D,v):P},v.response=function(D){return h=D,v},["get","post"].forEach(function(D){v[D]=function(){return v.send.apply(v,[D].concat(n(arguments)))}}),v.send=function(D,B,z){if(arguments.length===2&&typeof B=="function"&&(z=B,B=null),S.open(D,u,!0),f!=null&&!("accept"in O)&&(O.accept=f+",*/*"),S.setRequestHeader)for(var ie in O)S.setRequestHeader(ie,O[ie]);return f!=null&&S.overrideMimeType&&S.overrideMimeType(f),P!=null&&(S.responseType=P),z!=null&&v.on("error",z).on("load",function(oe){z(null,oe)}),x.beforesend.call(v,S),S.send(B==null?null:B),v},v.abort=function(){return S.abort(),v},t.rebind(v,x,"on"),p==null?v:v.get(Sp(p))}function Sp(u){return u.length===1?function(f,h){u(f==null?h:null)}:u}function oy(u){var f=u.responseType;return f&&f!=="text"?u.response:u.responseText}t.dsv=function(u,f){var h=new RegExp('["'+u+`
848
- ]`),p=u.charCodeAt(0);function v(N,D,B){arguments.length<3&&(B=D,D=null);var z=Xl(N,f,D==null?x:O(D),B);return z.row=function(ie){return arguments.length?z.response((D=ie)==null?x:O(ie)):D},z}function x(N){return v.parse(N.responseText)}function O(N){return function(D){return v.parse(D.responseText,N)}}v.parse=function(N,D){var B;return v.parseRows(N,function(z,ie){if(B)return B(z,ie-1);var oe=function(G){for(var X={},J=z.length,ue=0;ue<J;++ue)X[z[ue]]=G[ue];return X};B=D?function(G,X){return D(oe(G),X)}:oe})},v.parseRows=function(N,D){var B={},z={},ie=[],oe=N.length,G=0,X=0,J,ue;function le(){if(G>=oe)return z;if(ue)return ue=!1,B;var Pe=G;if(N.charCodeAt(Pe)===34){for(var Ue=Pe;Ue++<oe;)if(N.charCodeAt(Ue)===34){if(N.charCodeAt(Ue+1)!==34)break;++Ue}G=Ue+2;var tt=N.charCodeAt(Ue+1);return tt===13?(ue=!0,N.charCodeAt(Ue+2)===10&&++G):tt===10&&(ue=!0),N.slice(Pe+1,Ue).replace(/""/g,'"')}for(;G<oe;){var tt=N.charCodeAt(G++),je=1;if(tt===10)ue=!0;else if(tt===13)ue=!0,N.charCodeAt(G)===10&&(++G,++je);else if(tt!==p)continue;return N.slice(Pe,G-je)}return N.slice(Pe)}for(;(J=le())!==z;){for(var re=[];J!==B&&J!==z;)re.push(J),J=le();D&&(re=D(re,X++))==null||ie.push(re)}return ie},v.format=function(N){if(Array.isArray(N[0]))return v.formatRows(N);var D=new ut,B=[];return N.forEach(function(z){for(var ie in z)D.has(ie)||B.push(D.add(ie))}),[B.map(P).join(u)].concat(N.map(function(z){return B.map(function(ie){return P(z[ie])}).join(u)})).join(`
849
- `)},v.formatRows=function(N){return N.map(S).join(`
850
- `)};function S(N){return N.map(P).join(u)}function P(N){return h.test(N)?'"'+N.replace(/\"/g,'""')+'"':N}return v},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv(" ","text/tab-separated-values");var Ql,Cu,ai,Zl,oi=this[We(this,"requestAnimationFrame")]||function(u){setTimeout(u,17)};t.timer=function(){ho.apply(this,arguments)};function ho(u,f,h){var p=arguments.length;p<2&&(f=0),p<3&&(h=Date.now());var v=h+f,x={c:u,t:v,n:null};return Cu?Cu.n=x:Ql=x,Cu=x,ai||(Zl=clearTimeout(Zl),ai=1,oi(po)),x}function po(){var u=na(),f=Kl()-u;f>24?(isFinite(f)&&(clearTimeout(Zl),Zl=setTimeout(po,f)),ai=0):(ai=1,oi(po))}t.timer.flush=function(){na(),Kl()};function na(){for(var u=Date.now(),f=Ql;f;)u>=f.t&&f.c(u-f.t)&&(f.c=null),f=f.n;return u}function Kl(){for(var u,f=Ql,h=1/0;f;)f.c?(f.t<h&&(h=f.t),f=(u=f).n):f=u?u.n=f.n:Ql=f.n;return Cu=u,h}t.round=function(u,f){return f?Math.round(u*(f=Math.pow(10,f)))/f:Math.round(u)},t.geom={};function Li(u){return u[0]}function Di(u){return u[1]}t.geom.hull=function(u){var f=Li,h=Di;if(arguments.length)return p(u);function p(v){if(v.length<3)return[];var x=mr(f),O=mr(h),S,P=v.length,N=[],D=[];for(S=0;S<P;S++)N.push([+x.call(this,v[S],S),+O.call(this,v[S],S),S]);for(N.sort(Ep),S=0;S<P;S++)D.push([N[S][0],-N[S][1]]);var B=Ou(N),z=Ou(D),ie=z[0]===B[0],oe=z[z.length-1]===B[B.length-1],G=[];for(S=B.length-1;S>=0;--S)G.push(v[N[B[S]][2]]);for(S=+ie;S<z.length-oe;++S)G.push(v[N[z[S]][2]]);return G}return p.x=function(v){return arguments.length?(f=v,p):f},p.y=function(v){return arguments.length?(h=v,p):h},p};function Ou(u){for(var f=u.length,h=[0,1],p=2,v=2;v<f;v++){for(;p>1&&ny(u[h[p-2]],u[h[p-1]],u[v])<=0;)--p;h[p++]=v}return h.slice(0,p)}function Ep(u,f){return u[0]-f[0]||u[1]-f[1]}t.geom.polygon=function(u){return Ht(u,vo),u};var vo=t.geom.polygon.prototype=[];vo.area=function(){for(var u=-1,f=this.length,h,p=this[f-1],v=0;++u<f;)h=p,p=this[u],v+=h[1]*p[0]-h[0]*p[1];return v*.5},vo.centroid=function(u){var f=-1,h=this.length,p=0,v=0,x,O=this[h-1],S;for(arguments.length||(u=-1/(6*this.area()));++f<h;)x=O,O=this[f],S=x[0]*O[1]-O[0]*x[1],p+=(x[0]+O[0])*S,v+=(x[1]+O[1])*S;return[p*u,v*u]},vo.clip=function(u){for(var f,h=Ap(u),p=-1,v=this.length-Ap(this),x,O,S=this[v-1],P,N,D;++p<v;){for(f=u.slice(),u.length=0,P=this[p],N=f[(O=f.length-h)-1],x=-1;++x<O;)D=f[x],Jl(D,S,P)?(Jl(N,S,P)||u.push(ec(N,D,S,P)),u.push(D)):Jl(N,S,P)&&u.push(ec(N,D,S,P)),N=D;h&&u.push(u[0]),S=P}return u};function Jl(u,f,h){return(h[0]-f[0])*(u[1]-f[1])<(h[1]-f[1])*(u[0]-f[0])}function ec(u,f,h,p){var v=u[0],x=h[0],O=f[0]-v,S=p[0]-x,P=u[1],N=h[1],D=f[1]-P,B=p[1]-N,z=(S*(P-N)-B*(v-x))/(B*O-S*D);return[v+z*O,P+z*D]}function Ap(u){var f=u[0],h=u[u.length-1];return!(f[0]-h[0]||f[1]-h[1])}var mo,ka,ia,ku=[],Mu,Ma,Ia=[];function tc(){rs(this),this.edge=this.site=this.circle=null}function es(u){var f=ku.pop()||new tc;return f.site=u,f}function Iu(u){ui(u),ia.remove(u),ku.push(u),rs(u)}function rc(u){var f=u.circle,h=f.x,p=f.cy,v={x:h,y:p},x=u.P,O=u.N,S=[u];Iu(u);for(var P=x;P.circle&&_(h-P.circle.x)<ir&&_(p-P.circle.cy)<ir;)x=P.P,S.unshift(P),Iu(P),P=x;S.unshift(P),ui(P);for(var N=O;N.circle&&_(h-N.circle.x)<ir&&_(p-N.circle.cy)<ir;)O=N.N,S.push(N),Iu(N),N=O;S.push(N),ui(N);var D=S.length,B;for(B=1;B<D;++B)N=S[B],P=S[B-1],go(N.edge,P.site,N.site,v);P=S[0],N=S[D-1],N.edge=Fu(P.site,N.site,null,v),Pa(P),Pa(N)}function Tp(u){for(var f=u.x,h=u.y,p,v,x,O,S=ia._;S;)if(x=nc(S,h)-f,x>ir)S=S.L;else if(O=f-Cp(S,h),O>ir){if(!S.R){p=S;break}S=S.R}else{x>-ir?(p=S.P,v=S):O>-ir?(p=S,v=S.N):p=v=S;break}var P=es(u);if(ia.insert(p,P),!(!p&&!v)){if(p===v){ui(p),v=es(p.site),ia.insert(P,v),P.edge=v.edge=Fu(p.site,P.site),Pa(p),Pa(v);return}if(!v){P.edge=Fu(p.site,P.site);return}ui(p),ui(v);var N=p.site,D=N.x,B=N.y,z=u.x-D,ie=u.y-B,oe=v.site,G=oe.x-D,X=oe.y-B,J=2*(z*X-ie*G),ue=z*z+ie*ie,le=G*G+X*X,re={x:(X*ue-ie*le)/J+D,y:(z*le-G*ue)/J+B};go(v.edge,N,oe,re),P.edge=Fu(N,u,null,re),v.edge=Fu(u,oe,null,re),Pa(p),Pa(v)}}function nc(u,f){var h=u.site,p=h.x,v=h.y,x=v-f;if(!x)return p;var O=u.P;if(!O)return-1/0;h=O.site;var S=h.x,P=h.y,N=P-f;if(!N)return S;var D=S-p,B=1/x-1/N,z=D/N;return B?(-z+Math.sqrt(z*z-2*B*(D*D/(-2*N)-P+N/2+v-x/2)))/B+p:(p+S)/2}function Cp(u,f){var h=u.N;if(h)return nc(h,f);var p=u.site;return p.y===f?p.x:1/0}function ic(u){this.site=u,this.edges=[]}ic.prototype.prepare=function(){for(var u=this.edges,f=u.length,h;f--;)h=u[f].edge,(!h.b||!h.a)&&u.splice(f,1);return u.sort(ac),u.length};function Op(u){for(var f=u[0][0],h=u[1][0],p=u[0][1],v=u[1][1],x,O,S,P,N=ka,D=N.length,B,z,ie,oe,G,X;D--;)if(B=N[D],!(!B||!B.prepare()))for(ie=B.edges,oe=ie.length,z=0;z<oe;)X=ie[z].end(),S=X.x,P=X.y,G=ie[++z%oe].start(),x=G.x,O=G.y,(_(S-x)>ir||_(P-O)>ir)&&(ie.splice(z,0,new ts(uy(B.site,X,_(S-f)<ir&&v-P>ir?{x:f,y:_(x-f)<ir?O:v}:_(P-v)<ir&&h-S>ir?{x:_(O-v)<ir?x:h,y:v}:_(S-h)<ir&&P-p>ir?{x:h,y:_(x-h)<ir?O:p}:_(P-p)<ir&&S-f>ir?{x:_(O-p)<ir?x:f,y:p}:null),B.site,null)),++oe)}function ac(u,f){return f.angle-u.angle}function kp(){rs(this),this.x=this.y=this.arc=this.site=this.cy=null}function Pa(u){var f=u.P,h=u.N;if(!(!f||!h)){var p=f.site,v=u.site,x=h.site;if(p!==x){var O=v.x,S=v.y,P=p.x-O,N=p.y-S,D=x.x-O,X=x.y-S,B=2*(P*X-N*D);if(!(B>=-dp)){var z=P*P+N*N,ie=D*D+X*X,oe=(X*z-N*ie)/B,G=(P*ie-D*z)/B,X=G+S,J=Ia.pop()||new kp;J.arc=u,J.site=v,J.x=oe+O,J.y=X+Math.sqrt(oe*oe+G*G),J.cy=X,u.circle=J;for(var ue=null,le=Ma._;le;)if(J.y<le.y||J.y===le.y&&J.x<=le.x)if(le.L)le=le.L;else{ue=le.P;break}else if(le.R)le=le.R;else{ue=le;break}Ma.insert(ue,J),ue||(Mu=J)}}}}function ui(u){var f=u.circle;f&&(f.P||(Mu=f.N),Ma.remove(f),Ia.push(f),rs(f),u.circle=null)}function oc(u,f,h,p){return function(v){var x=v.a,O=v.b,S=x.x,P=x.y,N=O.x,D=O.y,B=0,z=1,ie=N-S,oe=D-P,G;if(G=u-S,!(!ie&&G>0)){if(G/=ie,ie<0){if(G<B)return;G<z&&(z=G)}else if(ie>0){if(G>z)return;G>B&&(B=G)}if(G=h-S,!(!ie&&G<0)){if(G/=ie,ie<0){if(G>z)return;G>B&&(B=G)}else if(ie>0){if(G<B)return;G<z&&(z=G)}if(G=f-P,!(!oe&&G>0)){if(G/=oe,oe<0){if(G<B)return;G<z&&(z=G)}else if(oe>0){if(G>z)return;G>B&&(B=G)}if(G=p-P,!(!oe&&G<0)){if(G/=oe,oe<0){if(G>z)return;G>B&&(B=G)}else if(oe>0){if(G<B)return;G<z&&(z=G)}return B>0&&(v.a={x:S+B*ie,y:P+B*oe}),z<1&&(v.b={x:S+z*ie,y:P+z*oe}),v}}}}}}function uc(u){for(var f=mo,h=oc(u[0][0],u[0][1],u[1][0],u[1][1]),p=f.length,v;p--;)v=f[p],(!Pu(v,u)||!h(v)||_(v.a.x-v.b.x)<ir&&_(v.a.y-v.b.y)<ir)&&(v.a=v.b=null,f.splice(p,1))}function Pu(u,f){var h=u.b;if(h)return!0;var p=u.a,v=f[0][0],x=f[1][0],O=f[0][1],S=f[1][1],P=u.l,N=u.r,D=P.x,B=P.y,z=N.x,ie=N.y,oe=(D+z)/2,G=(B+ie)/2,X,J;if(ie===B){if(oe<v||oe>=x)return;if(D>z){if(!p)p={x:oe,y:O};else if(p.y>=S)return;h={x:oe,y:S}}else{if(!p)p={x:oe,y:S};else if(p.y<O)return;h={x:oe,y:O}}}else if(X=(D-z)/(ie-B),J=G-X*oe,X<-1||X>1)if(D>z){if(!p)p={x:(O-J)/X,y:O};else if(p.y>=S)return;h={x:(S-J)/X,y:S}}else{if(!p)p={x:(S-J)/X,y:S};else if(p.y<O)return;h={x:(O-J)/X,y:O}}else if(B<ie){if(!p)p={x:v,y:X*v+J};else if(p.x>=x)return;h={x,y:X*x+J}}else{if(!p)p={x,y:X*x+J};else if(p.x<v)return;h={x:v,y:X*v+J}}return u.a=p,u.b=h,!0}function Mp(u,f){this.l=u,this.r=f,this.a=this.b=null}function Fu(u,f,h,p){var v=new Mp(u,f);return mo.push(v),h&&go(v,u,f,h),p&&go(v,f,u,p),ka[u.i].edges.push(new ts(v,u,f)),ka[f.i].edges.push(new ts(v,f,u)),v}function uy(u,f,h){var p=new Mp(u,null);return p.a=f,p.b=h,mo.push(p),p}function go(u,f,h,p){!u.a&&!u.b?(u.a=p,u.l=f,u.r=h):u.l===h?u.b=p:u.a=p}function ts(u,f,h){var p=u.a,v=u.b;this.edge=u,this.site=f,this.angle=h?Math.atan2(h.y-f.y,h.x-f.x):u.l===f?Math.atan2(v.x-p.x,p.y-v.y):Math.atan2(p.x-v.x,v.y-p.y)}ts.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 lc(){this._=null}function rs(u){u.U=u.C=u.L=u.R=u.P=u.N=null}lc.prototype={insert:function(u,f){var h,p,v;if(u){if(f.P=u,f.N=u.N,u.N&&(u.N.P=f),u.N=f,u.R){for(u=u.R;u.L;)u=u.L;u.L=f}else u.R=f;h=u}else this._?(u=ns(this._),f.P=null,f.N=u,u.P=u.L=f,h=u):(f.P=f.N=null,this._=f,h=null);for(f.L=f.R=null,f.U=h,f.C=!0,u=f;h&&h.C;)p=h.U,h===p.L?(v=p.R,v&&v.C?(h.C=v.C=!1,p.C=!0,u=p):(u===h.R&&(Fa(this,h),u=h,h=u.U),h.C=!1,p.C=!0,Ru(this,p))):(v=p.L,v&&v.C?(h.C=v.C=!1,p.C=!0,u=p):(u===h.L&&(Ru(this,h),u=h,h=u.U),h.C=!1,p.C=!0,Fa(this,p))),h=u.U;this._.C=!1},remove:function(u){u.N&&(u.N.P=u.P),u.P&&(u.P.N=u.N),u.N=u.P=null;var f=u.U,h,p=u.L,v=u.R,x,O;if(p?v?x=ns(v):x=p:x=v,f?f.L===u?f.L=x:f.R=x:this._=x,p&&v?(O=x.C,x.C=u.C,x.L=p,p.U=x,x!==v?(f=x.U,x.U=u.U,u=x.R,f.L=u,x.R=v,v.U=x):(x.U=f,f=x,u=x.R)):(O=u.C,u=x),u&&(u.U=f),!O){if(u&&u.C){u.C=!1;return}do{if(u===this._)break;if(u===f.L){if(h=f.R,h.C&&(h.C=!1,f.C=!0,Fa(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,Ru(this,h),h=f.R),h.C=f.C,f.C=h.R.C=!1,Fa(this,f),u=this._;break}}else if(h=f.L,h.C&&(h.C=!1,f.C=!0,Ru(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,Fa(this,h),h=f.L),h.C=f.C,f.C=h.L.C=!1,Ru(this,f),u=this._;break}h.C=!0,u=f,f=f.U}while(!u.C);u&&(u.C=!1)}}};function Fa(u,f){var h=f,p=f.R,v=h.U;v?v.L===h?v.L=p:v.R=p:u._=p,p.U=v,h.U=p,h.R=p.L,h.R&&(h.R.U=h),p.L=h}function Ru(u,f){var h=f,p=f.L,v=h.U;v?v.L===h?v.L=p:v.R=p:u._=p,p.U=v,h.U=p,h.L=p.R,h.L&&(h.L.U=h),p.R=h}function ns(u){for(;u.L;)u=u.L;return u}function is(u,f){var h=u.sort(Ip).pop(),p,v,x;for(mo=[],ka=new Array(u.length),ia=new lc,Ma=new lc;;)if(x=Mu,h&&(!x||h.y<x.y||h.y===x.y&&h.x<x.x))(h.x!==p||h.y!==v)&&(ka[h.i]=new ic(h),Tp(h),p=h.x,v=h.y),h=u.pop();else if(x)rc(x.arc);else break;f&&(uc(f),Op(f));var O={cells:ka,edges:mo};return ia=Ma=mo=ka=null,O}function Ip(u,f){return f.y-u.y||f.x-u.x}t.geom.voronoi=function(u){var f=Li,h=Di,p=f,v=h,x=yo;if(u)return O(u);function O(P){var N=new Array(P.length),D=x[0][0],B=x[0][1],z=x[1][0],ie=x[1][1];return is(S(P),x).cells.forEach(function(oe,G){var X=oe.edges,J=oe.site,ue=N[G]=X.length?X.map(function(le){var re=le.start();return[re.x,re.y]}):J.x>=D&&J.x<=z&&J.y>=B&&J.y<=ie?[[D,ie],[z,ie],[z,B],[D,B]]:[];ue.point=P[G]}),N}function S(P){return P.map(function(N,D){return{x:Math.round(p(N,D)/ir)*ir,y:Math.round(v(N,D)/ir)*ir,i:D}})}return O.links=function(P){return is(S(P)).edges.filter(function(N){return N.l&&N.r}).map(function(N){return{source:P[N.l.i],target:P[N.r.i]}})},O.triangles=function(P){var N=[];return is(S(P)).cells.forEach(function(D,B){for(var z=D.site,ie=D.edges.sort(ac),oe=-1,G=ie.length,X,J=ie[G-1].edge,ue=J.l===z?J.r:J.l;++oe<G;)X=ue,J=ie[oe].edge,ue=J.l===z?J.r:J.l,B<X.i&&B<ue.i&&ly(z,X,ue)<0&&N.push([P[B],P[X.i],P[ue.i]])}),N},O.x=function(P){return arguments.length?(p=mr(f=P),O):f},O.y=function(P){return arguments.length?(v=mr(h=P),O):h},O.clipExtent=function(P){return arguments.length?(x=P==null?yo:P,O):x===yo?null:x},O.size=function(P){return arguments.length?O.clipExtent(P&&[[0,0],P]):x===yo?null:x&&x[1]},O};var yo=[[-1e6,-1e6],[1e6,1e6]];function ly(u,f,h){return(u.x-h.x)*(f.y-u.y)-(u.x-f.x)*(h.y-u.y)}t.geom.delaunay=function(u){return t.geom.voronoi().triangles(u)},t.geom.quadtree=function(u,f,h,p,v){var x=Li,O=Di,S;if(S=arguments.length)return x=as,O=sy,S===3&&(v=h,p=f,h=f=0),P(u);function P(N){var D,B=mr(x),z=mr(O),ie,oe,G,X,J,ue,le,re;if(f!=null)J=f,ue=h,le=p,re=v;else if(le=re=-(J=ue=1/0),ie=[],oe=[],X=N.length,S)for(G=0;G<X;++G)D=N[G],D.x<J&&(J=D.x),D.y<ue&&(ue=D.y),D.x>le&&(le=D.x),D.y>re&&(re=D.y),ie.push(D.x),oe.push(D.y);else for(G=0;G<X;++G){var Pe=+B(D=N[G],G),Ue=+z(D,G);Pe<J&&(J=Pe),Ue<ue&&(ue=Ue),Pe>le&&(le=Pe),Ue>re&&(re=Ue),ie.push(Pe),oe.push(Ue)}var tt=le-J,je=re-ue;tt>je?re=ue+tt:le=J+je;function at(bt,zt,ar,Mr,dr,rt,Wt,Yt){if(!(isNaN(ar)||isNaN(Mr)))if(bt.leaf){var or=bt.x,Sr=bt.y;if(or!=null)if(_(or-ar)+_(Sr-Mr)<.01)vt(bt,zt,ar,Mr,dr,rt,Wt,Yt);else{var Br=bt.point;bt.x=bt.y=bt.point=null,vt(bt,Br,or,Sr,dr,rt,Wt,Yt),vt(bt,zt,ar,Mr,dr,rt,Wt,Yt)}else bt.x=ar,bt.y=Mr,bt.point=zt}else vt(bt,zt,ar,Mr,dr,rt,Wt,Yt)}function vt(bt,zt,ar,Mr,dr,rt,Wt,Yt){var or=(dr+Wt)*.5,Sr=(rt+Yt)*.5,Br=ar>=or,Yr=Mr>=Sr,pn=Yr<<1|Br;bt.leaf=!1,bt=bt.nodes[pn]||(bt.nodes[pn]=Pp()),Br?dr=or:Wt=or,Yr?rt=Sr:Yt=Sr,at(bt,zt,ar,Mr,dr,rt,Wt,Yt)}var Gt=Pp();if(Gt.add=function(bt){at(Gt,bt,+B(bt,++G),+z(bt,G),J,ue,le,re)},Gt.visit=function(bt){Nu(bt,Gt,J,ue,le,re)},Gt.find=function(bt){return fy(Gt,bt[0],bt[1],J,ue,le,re)},G=-1,f==null){for(;++G<X;)at(Gt,N[G],ie[G],oe[G],J,ue,le,re);--G}else N.forEach(Gt.add);return ie=oe=N=D=null,Gt}return P.x=function(N){return arguments.length?(x=N,P):x},P.y=function(N){return arguments.length?(O=N,P):O},P.extent=function(N){return arguments.length?(N==null?f=h=p=v=null:(f=+N[0][0],h=+N[0][1],p=+N[1][0],v=+N[1][1]),P):f==null?null:[[f,h],[p,v]]},P.size=function(N){return arguments.length?(N==null?f=h=p=v=null:(f=h=0,p=+N[0],v=+N[1]),P):f==null?null:[p-f,v-h]},P};function as(u){return u.x}function sy(u){return u.y}function Pp(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Nu(u,f,h,p,v,x){if(!u(f,h,p,v,x)){var O=(h+v)*.5,S=(p+x)*.5,P=f.nodes;P[0]&&Nu(u,P[0],h,p,O,S),P[1]&&Nu(u,P[1],O,p,v,S),P[2]&&Nu(u,P[2],h,S,O,x),P[3]&&Nu(u,P[3],O,S,v,x)}}function fy(u,f,h,p,v,x,O){var S=1/0,P;return function N(D,B,z,ie,oe){if(!(B>x||z>O||ie<p||oe<v)){if(G=D.point){var G,X=f-D.x,J=h-D.y,ue=X*X+J*J;if(ue<S){var le=Math.sqrt(S=ue);p=f-le,v=h-le,x=f+le,O=h+le,P=G}}for(var re=D.nodes,Pe=(B+ie)*.5,Ue=(z+oe)*.5,tt=f>=Pe,je=h>=Ue,at=je<<1|tt,vt=at+4;at<vt;++at)if(D=re[at&3])switch(at&3){case 0:N(D,B,z,Pe,Ue);break;case 1:N(D,Pe,z,ie,Ue);break;case 2:N(D,B,Ue,Pe,oe);break;case 3:N(D,Pe,Ue,ie,oe);break}}}(u,p,v,x,O),P}t.interpolateRgb=sc;function sc(u,f){u=t.rgb(u),f=t.rgb(f);var h=u.r,p=u.g,v=u.b,x=f.r-h,O=f.g-p,S=f.b-v;return function(P){return"#"+fo(Math.round(h+x*P))+fo(Math.round(p+O*P))+fo(Math.round(v+S*P))}}t.interpolateObject=Fp;function Fp(u,f){var h={},p={},v;for(v in u)v in f?h[v]=xi(u[v],f[v]):p[v]=u[v];for(v in f)v in u||(p[v]=f[v]);return function(x){for(v in h)p[v]=h[v](x);return p}}t.interpolateNumber=$i;function $i(u,f){return u=+u,f=+f,function(h){return u*(1-h)+f*h}}t.interpolateString=fc;function fc(u,f){var h=Ra.lastIndex=cc.lastIndex=0,p,v,x,O=-1,S=[],P=[];for(u=u+"",f=f+"";(p=Ra.exec(u))&&(v=cc.exec(f));)(x=v.index)>h&&(x=f.slice(h,x),S[O]?S[O]+=x:S[++O]=x),(p=p[0])===(v=v[0])?S[O]?S[O]+=v:S[++O]=v:(S[++O]=null,P.push({i:O,x:$i(p,v)})),h=cc.lastIndex;return h<f.length&&(x=f.slice(h),S[O]?S[O]+=x:S[++O]=x),S.length<2?P[0]?(f=P[0].x,function(N){return f(N)+""}):function(){return f}:(f=P.length,function(N){for(var D=0,B;D<f;++D)S[(B=P[D]).i]=B.x(N);return S.join("")})}var Ra=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,cc=new RegExp(Ra.source,"g");t.interpolate=xi;function xi(u,f){for(var h=t.interpolators.length,p;--h>=0&&!(p=t.interpolators[h](u,f)););return p}t.interpolators=[function(u,f){var h=typeof f;return(h==="string"?co.has(f.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(f)?sc:fc:f instanceof ea?sc:Array.isArray(f)?In:h==="object"&&isNaN(f)?Fp:$i)(u,f)}],t.interpolateArray=In;function In(u,f){var h=[],p=[],v=u.length,x=f.length,O=Math.min(u.length,f.length),S;for(S=0;S<O;++S)h.push(xi(u[S],f[S]));for(;S<v;++S)p[S]=u[S];for(;S<x;++S)p[S]=f[S];return function(P){for(S=0;S<O;++S)p[S]=h[S](P);return p}}var Na=function(){return nt},Rp=t.map({linear:Na,poly:Kr,quad:function(){return Dp},cubic:function(){return cy},sin:function(){return $p},exp:function(){return Bp},circle:function(){return La},elastic:zp,back:Up,bounce:function(){return hy}}),Np=t.map({in:nt,out:hc,"in-out":dc,"out-in":function(u){return dc(hc(u))}});t.ease=function(u){var f=u.indexOf("-"),h=f>=0?u.slice(0,f):u,p=f>=0?u.slice(f+1):"in";return h=Rp.get(h)||Na,p=Np.get(p)||nt,Lp(p(h.apply(null,r.call(arguments,1))))};function Lp(u){return function(f){return f<=0?0:f>=1?1:u(f)}}function hc(u){return function(f){return 1-u(1-f)}}function dc(u){return function(f){return .5*(f<.5?u(2*f):2-u(2-2*f))}}function Dp(u){return u*u}function cy(u){return u*u*u}function xo(u){if(u<=0)return 0;if(u>=1)return 1;var f=u*u,h=f*u;return 4*(u<.5?h:3*(u-f)+h-.75)}function Kr(u){return function(f){return Math.pow(f,u)}}function $p(u){return 1-Math.cos(u*yi)}function Bp(u){return Math.pow(2,10*(u-1))}function La(u){return 1-Math.sqrt(1-u*u)}function zp(u,f){var h;return arguments.length<2&&(f=.45),arguments.length?h=f/so*Math.asin(1/u):(u=1,h=f/4),function(p){return 1+u*Math.pow(2,-10*p)*Math.sin((p-h)*so/f)}}function Up(u){return u||(u=1.70158),function(f){return f*f*((u+1)*f-u)}}function hy(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375}t.interpolateHcl=dy;function dy(u,f){u=t.hcl(u),f=t.hcl(f);var h=u.h,p=u.c,v=u.l,x=f.h-h,O=f.c-p,S=f.l-v;return isNaN(O)&&(O=0,p=isNaN(p)?f.c:p),isNaN(x)?(x=0,h=isNaN(h)?f.h:h):x>180?x-=360:x<-180&&(x+=360),function(P){return Tu(h+x*P,p+O*P,v+S*P)+""}}t.interpolateHsl=py;function py(u,f){u=t.hsl(u),f=t.hsl(f);var h=u.h,p=u.s,v=u.l,x=f.h-h,O=f.s-p,S=f.l-v;return isNaN(O)&&(O=0,p=isNaN(p)?f.s:p),isNaN(x)?(x=0,h=isNaN(h)?f.h:h):x>180?x-=360:x<-180&&(x+=360),function(P){return Vl(h+x*P,p+O*P,v+S*P)+""}}t.interpolateLab=vy;function vy(u,f){u=t.lab(u),f=t.lab(f);var h=u.l,p=u.a,v=u.b,x=f.l-h,O=f.a-p,S=f.b-v;return function(P){return bp(h+x*P,p+O*P,v+S*P)+""}}t.interpolateRound=os;function os(u,f){return f-=u,function(h){return Math.round(u+f*h)}}t.transform=function(u){var f=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(h){if(h!=null){f.setAttribute("transform",h);var p=f.transform.baseVal.consolidate()}return new pc(p?p.matrix:my)})(u)};function pc(u){var f=[u.a,u.b],h=[u.c,u.d],p=vc(f),v=jp(f,h),x=vc(Gp(h,f,-v))||0;f[0]*h[1]<h[0]*f[1]&&(f[0]*=-1,f[1]*=-1,p*=-1,v*=-1),this.rotate=(p?Math.atan2(f[1],f[0]):Math.atan2(-h[0],h[1]))*_u,this.translate=[u.e,u.f],this.scale=[p,x],this.skew=x?Math.atan2(v,x)*_u:0}pc.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function jp(u,f){return u[0]*f[0]+u[1]*f[1]}function vc(u){var f=Math.sqrt(jp(u,u));return f&&(u[0]/=f,u[1]/=f),f}function Gp(u,f,h){return u[0]+=h*f[0],u[1]+=h*f[1],u}var my={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=mc;function Bi(u){return u.length?u.pop()+",":""}function gy(u,f,h,p){if(u[0]!==f[0]||u[1]!==f[1]){var v=h.push("translate(",null,",",null,")");p.push({i:v-4,x:$i(u[0],f[0])},{i:v-2,x:$i(u[1],f[1])})}else(f[0]||f[1])&&h.push("translate("+f+")")}function aa(u,f,h,p){u!==f?(u-f>180?f+=360:f-u>180&&(u+=360),p.push({i:h.push(Bi(h)+"rotate(",null,")")-2,x:$i(u,f)})):f&&h.push(Bi(h)+"rotate("+f+")")}function us(u,f,h,p){u!==f?p.push({i:h.push(Bi(h)+"skewX(",null,")")-2,x:$i(u,f)}):f&&h.push(Bi(h)+"skewX("+f+")")}function Wp(u,f,h,p){if(u[0]!==f[0]||u[1]!==f[1]){var v=h.push(Bi(h)+"scale(",null,",",null,")");p.push({i:v-4,x:$i(u[0],f[0])},{i:v-2,x:$i(u[1],f[1])})}else(f[0]!==1||f[1]!==1)&&h.push(Bi(h)+"scale("+f+")")}function mc(u,f){var h=[],p=[];return u=t.transform(u),f=t.transform(f),gy(u.translate,f.translate,h,p),aa(u.rotate,f.rotate,h,p),us(u.skew,f.skew,h,p),Wp(u.scale,f.scale,h,p),u=f=null,function(v){for(var x=-1,O=p.length,S;++x<O;)h[(S=p[x]).i]=S.x(v);return h.join("")}}function Hp(u,f){return f=(f-=u=+u)||1/f,function(h){return(h-u)/f}}function Vp(u,f){return f=(f-=u=+u)||1/f,function(h){return Math.max(0,Math.min(1,(h-u)/f))}}t.layout={},t.layout.bundle=function(){return function(u){for(var f=[],h=-1,p=u.length;++h<p;)f.push(qp(u[h]));return f}};function qp(u){for(var f=u.source,h=u.target,p=Yp(f,h),v=[f];f!==p;)f=f.parent,v.push(f);for(var x=v.length;h!==p;)v.splice(x,0,h),h=h.parent;return v}function gc(u){for(var f=[],h=u.parent;h!=null;)f.push(u),u=h,h=h.parent;return f.push(u),f}function Yp(u,f){if(u===f)return u;for(var h=gc(u),p=gc(f),v=h.pop(),x=p.pop(),O=null;v===x;)O=v,v=h.pop(),x=p.pop();return O}t.layout.chord=function(){var u={},f,h,p,v,x=0,O,S,P;function N(){var B={},z=[],ie=t.range(v),oe=[],G,X,J,ue,le;for(f=[],h=[],G=0,ue=-1;++ue<v;){for(X=0,le=-1;++le<v;)X+=p[ue][le];z.push(X),oe.push(t.range(v)),G+=X}for(O&&ie.sort(function(Gt,bt){return O(z[Gt],z[bt])}),S&&oe.forEach(function(Gt,bt){Gt.sort(function(zt,ar){return S(p[bt][zt],p[bt][ar])})}),G=(so-x*v)/G,X=0,ue=-1;++ue<v;){for(J=X,le=-1;++le<v;){var re=ie[ue],Pe=oe[re][le],Ue=p[re][Pe],tt=X,je=X+=Ue*G;B[re+"-"+Pe]={index:re,subindex:Pe,startAngle:tt,endAngle:je,value:Ue}}h[re]={index:re,startAngle:J,endAngle:X,value:z[re]},X+=x}for(ue=-1;++ue<v;)for(le=ue-1;++le<v;){var at=B[ue+"-"+le],vt=B[le+"-"+ue];(at.value||vt.value)&&f.push(at.value<vt.value?{source:vt,target:at}:{source:at,target:vt})}P&&D()}function D(){f.sort(function(B,z){return P((B.source.value+B.target.value)/2,(z.source.value+z.target.value)/2)})}return u.matrix=function(B){return arguments.length?(v=(p=B)&&p.length,f=h=null,u):p},u.padding=function(B){return arguments.length?(x=B,f=h=null,u):x},u.sortGroups=function(B){return arguments.length?(O=B,f=h=null,u):O},u.sortSubgroups=function(B){return arguments.length?(S=B,f=null,u):S},u.sortChords=function(B){return arguments.length?(P=B,f&&D(),u):P},u.chords=function(){return f||N(),f},u.groups=function(){return h||N(),h},u},t.layout.force=function(){var u={},f=t.dispatch("start","tick","end"),h,p=[1,1],v,x,O=.9,S=zi,P=yc,N=-30,D=bo,B=.1,z=.64,ie=[],oe=[],G,X,J;function ue(re){return function(Pe,Ue,tt,je){if(Pe.point!==re){var at=Pe.cx-re.x,vt=Pe.cy-re.y,Gt=je-Ue,bt=at*at+vt*vt;if(Gt*Gt/z<bt){if(bt<D){var zt=Pe.charge/bt;re.px-=at*zt,re.py-=vt*zt}return!0}if(Pe.point&&bt&&bt<D){var zt=Pe.pointCharge/bt;re.px-=at*zt,re.py-=vt*zt}}return!Pe.charge}}u.tick=function(){if((x*=.99)<.005)return h=null,f.end({type:"end",alpha:x=0}),!0;var re=ie.length,Pe=oe.length,Ue,tt,je,at,vt,Gt,bt,zt,ar;for(tt=0;tt<Pe;++tt)je=oe[tt],at=je.source,vt=je.target,zt=vt.x-at.x,ar=vt.y-at.y,(Gt=zt*zt+ar*ar)&&(Gt=x*X[tt]*((Gt=Math.sqrt(Gt))-G[tt])/Gt,zt*=Gt,ar*=Gt,vt.x-=zt*(bt=at.weight+vt.weight?at.weight/(at.weight+vt.weight):.5),vt.y-=ar*bt,at.x+=zt*(bt=1-bt),at.y+=ar*bt);if((bt=x*B)&&(zt=p[0]/2,ar=p[1]/2,tt=-1,bt))for(;++tt<re;)je=ie[tt],je.x+=(zt-je.x)*bt,je.y+=(ar-je.y)*bt;if(N)for(Kp(Ue=t.geom.quadtree(ie),x,J),tt=-1;++tt<re;)(je=ie[tt]).fixed||Ue.visit(ue(je));for(tt=-1;++tt<re;)je=ie[tt],je.fixed?(je.x=je.px,je.y=je.py):(je.x-=(je.px-(je.px=je.x))*O,je.y-=(je.py-(je.py=je.y))*O);f.tick({type:"tick",alpha:x})},u.nodes=function(re){return arguments.length?(ie=re,u):ie},u.links=function(re){return arguments.length?(oe=re,u):oe},u.size=function(re){return arguments.length?(p=re,u):p},u.linkDistance=function(re){return arguments.length?(S=typeof re=="function"?re:+re,u):S},u.distance=u.linkDistance,u.linkStrength=function(re){return arguments.length?(P=typeof re=="function"?re:+re,u):P},u.friction=function(re){return arguments.length?(O=+re,u):O},u.charge=function(re){return arguments.length?(N=typeof re=="function"?re:+re,u):N},u.chargeDistance=function(re){return arguments.length?(D=re*re,u):Math.sqrt(D)},u.gravity=function(re){return arguments.length?(B=+re,u):B},u.theta=function(re){return arguments.length?(z=re*re,u):Math.sqrt(z)},u.alpha=function(re){return arguments.length?(re=+re,x?re>0?x=re:(h.c=null,h.t=NaN,h=null,f.end({type:"end",alpha:x=0})):re>0&&(f.start({type:"start",alpha:x=re}),h=ho(u.tick)),u):x},u.start=function(){var re,Pe=ie.length,Ue=oe.length,tt=p[0],je=p[1],at,vt;for(re=0;re<Pe;++re)(vt=ie[re]).index=re,vt.weight=0;for(re=0;re<Ue;++re)vt=oe[re],typeof vt.source=="number"&&(vt.source=ie[vt.source]),typeof vt.target=="number"&&(vt.target=ie[vt.target]),++vt.source.weight,++vt.target.weight;for(re=0;re<Pe;++re)vt=ie[re],isNaN(vt.x)&&(vt.x=Gt("x",tt)),isNaN(vt.y)&&(vt.y=Gt("y",je)),isNaN(vt.px)&&(vt.px=vt.x),isNaN(vt.py)&&(vt.py=vt.y);if(G=[],typeof S=="function")for(re=0;re<Ue;++re)G[re]=+S.call(this,oe[re],re);else for(re=0;re<Ue;++re)G[re]=S;if(X=[],typeof P=="function")for(re=0;re<Ue;++re)X[re]=+P.call(this,oe[re],re);else for(re=0;re<Ue;++re)X[re]=P;if(J=[],typeof N=="function")for(re=0;re<Pe;++re)J[re]=+N.call(this,ie[re],re);else for(re=0;re<Pe;++re)J[re]=N;function Gt(bt,zt){if(!at){for(at=new Array(Pe),dr=0;dr<Pe;++dr)at[dr]=[];for(dr=0;dr<Ue;++dr){var ar=oe[dr];at[ar.source.index].push(ar.target),at[ar.target.index].push(ar.source)}}for(var Mr=at[re],dr=-1,rt=Mr.length,Wt;++dr<rt;)if(!isNaN(Wt=Mr[dr][bt]))return Wt;return Math.random()*zt}return u.resume()},u.resume=function(){return u.alpha(.1)},u.stop=function(){return u.alpha(0)},u.drag=function(){if(v||(v=t.behavior.drag().origin(nt).on("dragstart.force",Xp).on("drag.force",le).on("dragend.force",Qp)),!arguments.length)return v;this.on("mouseover.force",li).on("mouseout.force",Zp).call(v)};function le(re){re.px=t.event.x,re.py=t.event.y,u.resume()}return t.rebind(u,f,"on")};function Xp(u){u.fixed|=2}function Qp(u){u.fixed&=-7}function li(u){u.fixed|=4,u.px=u.x,u.py=u.y}function Zp(u){u.fixed&=-5}function Kp(u,f,h){var p=0,v=0;if(u.charge=0,!u.leaf)for(var x=u.nodes,O=x.length,S=-1,P;++S<O;)P=x[S],P!=null&&(Kp(P,f,h),u.charge+=P.charge,p+=P.charge*P.cx,v+=P.charge*P.cy);if(u.point){u.leaf||(u.point.x+=Math.random()-.5,u.point.y+=Math.random()-.5);var N=f*h[u.point.index];u.charge+=u.pointCharge=N,p+=N*u.point.x,v+=N*u.point.y}u.cx=p/u.charge,u.cy=v/u.charge}var zi=20,yc=1,bo=1/0;t.layout.hierarchy=function(){var u=yy,f=Jp,h=ev;function p(v){var x=[v],O=[],S;for(v.depth=0;(S=x.pop())!=null;)if(O.push(S),(N=f.call(p,S,S.depth))&&(P=N.length)){for(var P,N,D;--P>=0;)x.push(D=N[P]),D.parent=S,D.depth=S.depth+1;h&&(S.value=0),S.children=N}else h&&(S.value=+h.call(p,S,S.depth)||0),delete S.children;return si(v,function(B){var z,ie;u&&(z=B.children)&&z.sort(u),h&&(ie=B.parent)&&(ie.value+=B.value)}),O}return p.sort=function(v){return arguments.length?(u=v,p):u},p.children=function(v){return arguments.length?(f=v,p):f},p.value=function(v){return arguments.length?(h=v,p):h},p.revalue=function(v){return h&&(_o(v,function(x){x.children&&(x.value=0)}),si(v,function(x){var O;x.children||(x.value=+h.call(p,x,x.depth)||0),(O=x.parent)&&(O.value+=x.value)})),v},p};function wo(u,f){return t.rebind(u,f,"sort","children","value"),u.nodes=u,u.links=xy,u}function _o(u,f){for(var h=[u];(u=h.pop())!=null;)if(f(u),(v=u.children)&&(p=v.length))for(var p,v;--p>=0;)h.push(v[p])}function si(u,f){for(var h=[u],p=[];(u=h.pop())!=null;)if(p.push(u),(O=u.children)&&(x=O.length))for(var v=-1,x,O;++v<x;)h.push(O[v]);for(;(u=p.pop())!=null;)f(u)}function Jp(u){return u.children}function ev(u){return u.value}function yy(u,f){return f.value-u.value}function xy(u){return t.merge(u.map(function(f){return(f.children||[]).map(function(h){return{source:f,target:h}})}))}t.layout.partition=function(){var u=t.layout.hierarchy(),f=[1,1];function h(x,O,S,P){var N=x.children;if(x.x=O,x.y=x.depth*P,x.dx=S,x.dy=P,N&&(B=N.length)){var D=-1,B,z,ie;for(S=x.value?S/x.value:0;++D<B;)h(z=N[D],O,ie=z.value*S,P),O+=ie}}function p(x){var O=x.children,S=0;if(O&&(N=O.length))for(var P=-1,N;++P<N;)S=Math.max(S,p(O[P]));return 1+S}function v(x,O){var S=u.call(this,x,O);return h(S[0],0,f[0],f[1]/p(S[0])),S}return v.size=function(x){return arguments.length?(f=x,v):f},wo(v,u)},t.layout.pie=function(){var u=Number,f=tv,h=0,p=so,v=0;function x(O){var S=O.length,P=O.map(function(ue,le){return+u.call(x,ue,le)}),N=+(typeof h=="function"?h.apply(this,arguments):h),D=(typeof p=="function"?p.apply(this,arguments):p)-N,B=Math.min(Math.abs(D)/S,+(typeof v=="function"?v.apply(this,arguments):v)),z=B*(D<0?-1:1),ie=t.sum(P),oe=ie?(D-S*z)/ie:0,G=t.range(S),X=[],J;return f!=null&&G.sort(f===tv?function(ue,le){return P[le]-P[ue]}:function(ue,le){return f(O[ue],O[le])}),G.forEach(function(ue){X[ue]={data:O[ue],value:J=P[ue],startAngle:N,endAngle:N+=J*oe+z,padAngle:B}}),X}return x.value=function(O){return arguments.length?(u=O,x):u},x.sort=function(O){return arguments.length?(f=O,x):f},x.startAngle=function(O){return arguments.length?(h=O,x):h},x.endAngle=function(O){return arguments.length?(p=O,x):p},x.padAngle=function(O){return arguments.length?(v=O,x):v},x};var tv={};t.layout.stack=function(){var u=nt,f=bc,h=wc,p=_y,v=by,x=wy;function O(S,P){if(!(oe=S.length))return S;var N=S.map(function(ue,le){return u.call(O,ue,le)}),D=N.map(function(ue){return ue.map(function(le,re){return[v.call(O,le,re),x.call(O,le,re)]})}),B=f.call(O,D,P);N=t.permute(N,B),D=t.permute(D,B);var z=h.call(O,D,P),ie=N[0].length,oe,G,X,J;for(X=0;X<ie;++X)for(p.call(O,N[0][X],J=z[X],D[0][X][1]),G=1;G<oe;++G)p.call(O,N[G][X],J+=D[G-1][X][1],D[G][X][1]);return S}return O.values=function(S){return arguments.length?(u=S,O):u},O.order=function(S){return arguments.length?(f=typeof S=="function"?S:xc.get(S)||bc,O):f},O.offset=function(S){return arguments.length?(h=typeof S=="function"?S:ls.get(S)||wc,O):h},O.x=function(S){return arguments.length?(v=S,O):v},O.y=function(S){return arguments.length?(x=S,O):x},O.out=function(S){return arguments.length?(p=S,O):p},O};function by(u){return u.x}function wy(u){return u.y}function _y(u,f,h){u.y0=f,u.y=h}var xc=t.map({"inside-out":function(u){var f=u.length,h,p,v=u.map(rv),x=u.map(ss),O=t.range(f).sort(function(B,z){return v[B]-v[z]}),S=0,P=0,N=[],D=[];for(h=0;h<f;++h)p=O[h],S<P?(S+=x[p],N.push(p)):(P+=x[p],D.push(p));return D.reverse().concat(N)},reverse:function(u){return t.range(u.length).reverse()},default:bc}),ls=t.map({silhouette:function(u){var f=u.length,h=u[0].length,p=[],v=0,x,O,S,P=[];for(O=0;O<h;++O){for(x=0,S=0;x<f;x++)S+=u[x][O][1];S>v&&(v=S),p.push(S)}for(O=0;O<h;++O)P[O]=(v-p[O])/2;return P},wiggle:function(u){var f=u.length,h=u[0],p=h.length,v,x,O,S,P,N,D,B,z,ie=[];for(ie[0]=B=z=0,x=1;x<p;++x){for(v=0,S=0;v<f;++v)S+=u[v][x][1];for(v=0,P=0,D=h[x][0]-h[x-1][0];v<f;++v){for(O=0,N=(u[v][x][1]-u[v][x-1][1])/(2*D);O<v;++O)N+=(u[O][x][1]-u[O][x-1][1])/D;P+=N*u[v][x][1]}ie[x]=B-=S?P/S*D:0,B<z&&(z=B)}for(x=0;x<p;++x)ie[x]-=z;return ie},expand:function(u){var f=u.length,h=u[0].length,p=1/f,v,x,O,S=[];for(x=0;x<h;++x){for(v=0,O=0;v<f;v++)O+=u[v][x][1];if(O)for(v=0;v<f;v++)u[v][x][1]/=O;else for(v=0;v<f;v++)u[v][x][1]=p}for(x=0;x<h;++x)S[x]=0;return S},zero:wc});function bc(u){return t.range(u.length)}function wc(u){for(var f=-1,h=u[0].length,p=[];++f<h;)p[f]=0;return p}function rv(u){for(var f=1,h=0,p=u[0][1],v,x=u.length;f<x;++f)(v=u[f][1])>p&&(h=f,p=v);return h}function ss(u){return u.reduce(_c,0)}function _c(u,f){return u+f[1]}t.layout.histogram=function(){var u=!0,f=Number,h=Ey,p=Sy;function v(x,z){for(var S=[],P=x.map(f,this),N=h.call(this,P,z),D=p.call(this,N,P,z),B,z=-1,ie=P.length,oe=D.length-1,G=u?1:1/ie,X;++z<oe;)B=S[z]=[],B.dx=D[z+1]-(B.x=D[z]),B.y=0;if(oe>0)for(z=-1;++z<ie;)X=P[z],X>=N[0]&&X<=N[1]&&(B=S[t.bisect(D,X,1,oe)-1],B.y+=G,B.push(x[z]));return S}return v.value=function(x){return arguments.length?(f=x,v):f},v.range=function(x){return arguments.length?(h=mr(x),v):h},v.bins=function(x){return arguments.length?(p=typeof x=="number"?function(O){return Sc(O,x)}:mr(x),v):p},v.frequency=function(x){return arguments.length?(u=!!x,v):u},v};function Sy(u,f){return Sc(u,Math.ceil(Math.log(f.length)/Math.LN2+1))}function Sc(u,f){for(var h=-1,p=+u[0],v=(u[1]-p)/f,x=[];++h<=f;)x[h]=v*h+p;return x}function Ey(u){return[t.min(u),t.max(u)]}t.layout.pack=function(){var u=t.layout.hierarchy().sort(Ay),f=0,h=[1,1],p;function v(x,O){var S=u.call(this,x,O),P=S[0],N=h[0],D=h[1],B=p==null?Math.sqrt:typeof p=="function"?p:function(){return p};if(P.x=P.y=0,si(P,function(ie){ie.r=+B(ie.value)}),si(P,Ac),f){var z=f*(p?1:Math.max(2*P.r/N,2*P.r/D))/2;si(P,function(ie){ie.r+=z}),si(P,Ac),si(P,function(ie){ie.r-=z})}return av(P,N/2,D/2,p?1:1/Math.max(2*P.r/N,2*P.r/D)),S}return v.size=function(x){return arguments.length?(h=x,v):h},v.radius=function(x){return arguments.length?(p=x==null||typeof x=="function"?x:+x,v):p},v.padding=function(x){return arguments.length?(f=+x,v):f},wo(v,u)};function Ay(u,f){return u.value-f.value}function Ec(u,f){var h=u._pack_next;u._pack_next=f,f._pack_prev=u,f._pack_next=h,h._pack_prev=f}function nv(u,f){u._pack_next=f,f._pack_prev=u}function iv(u,f){var h=f.x-u.x,p=f.y-u.y,v=u.r+f.r;return .999*v*v>h*h+p*p}function Ac(u){if(!(f=u.children)||!(z=f.length))return;var f,h=1/0,p=-1/0,v=1/0,x=-1/0,O,S,P,N,D,B,z;function ie(re){h=Math.min(re.x-re.r,h),p=Math.max(re.x+re.r,p),v=Math.min(re.y-re.r,v),x=Math.max(re.y+re.r,x)}if(f.forEach(Ty),O=f[0],O.x=-O.r,O.y=0,ie(O),z>1&&(S=f[1],S.x=S.r,S.y=0,ie(S),z>2))for(P=f[2],ov(O,S,P),ie(P),Ec(O,P),O._pack_prev=P,Ec(P,S),S=O._pack_next,N=3;N<z;N++){ov(O,S,P=f[N]);var oe=0,G=1,X=1;for(D=S._pack_next;D!==S;D=D._pack_next,G++)if(iv(D,P)){oe=1;break}if(oe==1)for(B=O._pack_prev;B!==D._pack_prev&&!iv(B,P);B=B._pack_prev,X++);oe?(G<X||G==X&&S.r<O.r?nv(O,S=D):nv(O=B,S),N--):(Ec(O,P),S=P,ie(P))}var J=(h+p)/2,ue=(v+x)/2,le=0;for(N=0;N<z;N++)P=f[N],P.x-=J,P.y-=ue,le=Math.max(le,P.r+Math.sqrt(P.x*P.x+P.y*P.y));u.r=le,f.forEach(Cy)}function Ty(u){u._pack_next=u._pack_prev=u}function Cy(u){delete u._pack_next,delete u._pack_prev}function av(u,f,h,p){var v=u.children;if(u.x=f+=p*u.x,u.y=h+=p*u.y,u.r*=p,v)for(var x=-1,O=v.length;++x<O;)av(v[x],f,h,p)}function ov(u,f,h){var p=u.r+h.r,v=f.x-u.x,x=f.y-u.y;if(p&&(v||x)){var O=f.r+h.r,S=v*v+x*x;O*=O,p*=p;var P=.5+(p-O)/(2*S),N=Math.sqrt(Math.max(0,2*O*(p+S)-(p-=S)*p-O*O))/(2*S);h.x=u.x+P*v+N*x,h.y=u.y+P*x-N*v}else h.x=u.x+p,h.y=u.y}t.layout.tree=function(){var u=t.layout.hierarchy().sort(null).value(null),f=uv,h=[1,1],p=null;function v(D,B){var z=u.call(this,D,B),ie=z[0],oe=x(ie);if(si(oe,O),oe.parent.m=-oe.z,_o(oe,S),p)_o(ie,N);else{var G=ie,X=ie,J=ie;_o(ie,function(Pe){Pe.x<G.x&&(G=Pe),Pe.x>X.x&&(X=Pe),Pe.depth>J.depth&&(J=Pe)});var ue=f(G,X)/2-G.x,le=h[0]/(X.x+f(X,G)/2+ue),re=h[1]/(J.depth||1);_o(ie,function(Pe){Pe.x=(Pe.x+ue)*le,Pe.y=Pe.depth*re})}return z}function x(D){for(var B={A:null,children:[D]},z=[B],ie;(ie=z.pop())!=null;)for(var oe=ie.children,G,X=0,J=oe.length;X<J;++X)z.push((oe[X]=G={_:oe[X],parent:ie,children:(G=oe[X].children)&&G.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:X}).a=G);return B.children[0]}function O(D){var B=D.children,z=D.parent.children,ie=D.i?z[D.i-1]:null;if(B.length){ky(D);var oe=(B[0].z+B[B.length-1].z)/2;ie?(D.z=ie.z+f(D._,ie._),D.m=D.z-oe):D.z=oe}else ie&&(D.z=ie.z+f(D._,ie._));D.parent.A=P(D,ie,D.parent.A||z[0])}function S(D){D._.x=D.z+D.parent.m,D.m+=D.parent.m}function P(D,B,z){if(B){for(var ie=D,oe=D,G=B,X=ie.parent.children[0],J=ie.m,ue=oe.m,le=G.m,re=X.m,Pe;G=Cc(G),ie=Tc(ie),G&&ie;)X=Tc(X),oe=Cc(oe),oe.a=D,Pe=G.z+le-ie.z-J+f(G._,ie._),Pe>0&&(Oy(bi(G,D,z),D,Pe),J+=Pe,ue+=Pe),le+=G.m,J+=ie.m,re+=X.m,ue+=oe.m;G&&!Cc(oe)&&(oe.t=G,oe.m+=le-ue),ie&&!Tc(X)&&(X.t=ie,X.m+=J-re,z=D)}return z}function N(D){D.x*=h[0],D.y=D.depth*h[1]}return v.separation=function(D){return arguments.length?(f=D,v):f},v.size=function(D){return arguments.length?(p=(h=D)==null?N:null,v):p?null:h},v.nodeSize=function(D){return arguments.length?(p=(h=D)==null?null:N,v):p?h:null},wo(v,u)};function uv(u,f){return u.parent==f.parent?1:2}function Tc(u){var f=u.children;return f.length?f[0]:u.t}function Cc(u){var f=u.children,h;return(h=f.length)?f[h-1]:u.t}function Oy(u,f,h){var p=h/(f.i-u.i);f.c-=p,f.s+=h,u.c+=p,f.z+=h,f.m+=h}function ky(u){for(var f=0,h=0,p=u.children,v=p.length,x;--v>=0;)x=p[v],x.z+=f,x.m+=f,f+=x.s+(h+=x.c)}function bi(u,f,h){return u.a.parent===f.parent?u.a:h}t.layout.cluster=function(){var u=t.layout.hierarchy().sort(null).value(null),f=uv,h=[1,1],p=!1;function v(x,O){var S=u.call(this,x,O),P=S[0],N,D=0;si(P,function(G){var X=G.children;X&&X.length?(G.x=My(X),G.y=lv(X)):(G.x=N?D+=f(G,N):0,G.y=0,N=G)});var B=sv(P),z=fv(P),ie=B.x-f(B,z)/2,oe=z.x+f(z,B)/2;return si(P,p?function(G){G.x=(G.x-P.x)*h[0],G.y=(P.y-G.y)*h[1]}:function(G){G.x=(G.x-ie)/(oe-ie)*h[0],G.y=(1-(P.y?G.y/P.y:1))*h[1]}),S}return v.separation=function(x){return arguments.length?(f=x,v):f},v.size=function(x){return arguments.length?(p=(h=x)==null,v):p?null:h},v.nodeSize=function(x){return arguments.length?(p=(h=x)!=null,v):p?h:null},wo(v,u)};function lv(u){return 1+t.max(u,function(f){return f.y})}function My(u){return u.reduce(function(f,h){return f+h.x},0)/u.length}function sv(u){var f=u.children;return f&&f.length?sv(f[0]):u}function fv(u){var f=u.children,h;return f&&(h=f.length)?fv(f[h-1]):u}t.layout.treemap=function(){var u=t.layout.hierarchy(),f=Math.round,h=[1,1],p=null,v=Oc,x=!1,O,S="squarify",P=.5*(1+Math.sqrt(5));function N(G,X){for(var J=-1,ue=G.length,le,re;++J<ue;)re=(le=G[J]).value*(X<0?0:X),le.area=isNaN(re)||re<=0?0:re}function D(G){var X=G.children;if(X&&X.length){var J=v(G),ue=[],le=X.slice(),re,Pe=1/0,Ue,tt=S==="slice"?J.dx:S==="dice"?J.dy:S==="slice-dice"?G.depth&1?J.dy:J.dx:Math.min(J.dx,J.dy),je;for(N(le,J.dx*J.dy/G.value),ue.area=0;(je=le.length)>0;)ue.push(re=le[je-1]),ue.area+=re.area,S!=="squarify"||(Ue=z(ue,tt))<=Pe?(le.pop(),Pe=Ue):(ue.area-=ue.pop().area,ie(ue,tt,J,!1),tt=Math.min(J.dx,J.dy),ue.length=ue.area=0,Pe=1/0);ue.length&&(ie(ue,tt,J,!0),ue.length=ue.area=0),X.forEach(D)}}function B(G){var X=G.children;if(X&&X.length){var J=v(G),ue=X.slice(),le,re=[];for(N(ue,J.dx*J.dy/G.value),re.area=0;le=ue.pop();)re.push(le),re.area+=le.area,le.z!=null&&(ie(re,le.z?J.dx:J.dy,J,!ue.length),re.length=re.area=0);X.forEach(B)}}function z(G,X){for(var J=G.area,ue,le=0,re=1/0,Pe=-1,Ue=G.length;++Pe<Ue;)!(ue=G[Pe].area)||(ue<re&&(re=ue),ue>le&&(le=ue));return J*=J,X*=X,J?Math.max(X*le*P/J,J/(X*re*P)):1/0}function ie(G,X,J,ue){var le=-1,re=G.length,Pe=J.x,Ue=J.y,tt=X?f(G.area/X):0,je;if(X==J.dx){for((ue||tt>J.dy)&&(tt=J.dy);++le<re;)je=G[le],je.x=Pe,je.y=Ue,je.dy=tt,Pe+=je.dx=Math.min(J.x+J.dx-Pe,tt?f(je.area/tt):0);je.z=!0,je.dx+=J.x+J.dx-Pe,J.y+=tt,J.dy-=tt}else{for((ue||tt>J.dx)&&(tt=J.dx);++le<re;)je=G[le],je.x=Pe,je.y=Ue,je.dx=tt,Ue+=je.dy=Math.min(J.y+J.dy-Ue,tt?f(je.area/tt):0);je.z=!1,je.dy+=J.y+J.dy-Ue,J.x+=tt,J.dx-=tt}}function oe(G){var X=O||u(G),J=X[0];return J.x=J.y=0,J.value?(J.dx=h[0],J.dy=h[1]):J.dx=J.dy=0,O&&u.revalue(J),N([J],J.dx*J.dy/J.value),(O?B:D)(J),x&&(O=X),X}return oe.size=function(G){return arguments.length?(h=G,oe):h},oe.padding=function(G){if(!arguments.length)return p;function X(le){var re=G.call(oe,le,le.depth);return re==null?Oc(le):cv(le,typeof re=="number"?[re,re,re,re]:re)}function J(le){return cv(le,G)}var ue;return v=(p=G)==null?Oc:(ue=typeof G)=="function"?X:(ue==="number"&&(G=[G,G,G,G]),J),oe},oe.round=function(G){return arguments.length?(f=G?Math.round:Number,oe):f!=Number},oe.sticky=function(G){return arguments.length?(x=G,O=null,oe):x},oe.ratio=function(G){return arguments.length?(P=G,oe):P},oe.mode=function(G){return arguments.length?(S=G+"",oe):S},wo(oe,u)};function Oc(u){return{x:u.x,y:u.y,dx:u.dx,dy:u.dy}}function cv(u,f){var h=u.x+f[3],p=u.y+f[0],v=u.dx-f[1]-f[3],x=u.dy-f[0]-f[2];return v<0&&(h+=v/2,v=0),x<0&&(p+=x/2,x=0),{x:h,y:p,dx:v,dy:x}}t.random={normal:function(u,f){var h=arguments.length;return h<2&&(f=1),h<1&&(u=0),function(){var p,v,x;do p=Math.random()*2-1,v=Math.random()*2-1,x=p*p+v*v;while(!x||x>1);return u+f*p*Math.sqrt(-2*Math.log(x)/x)}},logNormal:function(){var u=t.random.normal.apply(t,arguments);return function(){return Math.exp(u())}},bates:function(u){var f=t.random.irwinHall(u);return function(){return f()/u}},irwinHall:function(u){return function(){for(var f=0,h=0;h<u;h++)f+=Math.random();return f}}},t.scale={};function fs(u){var f=u[0],h=u[u.length-1];return f<h?[f,h]:[h,f]}function cs(u){return u.rangeExtent?u.rangeExtent():fs(u.range())}function Iy(u,f,h,p){var v=h(u[0],u[1]),x=p(f[0],f[1]);return function(O){return x(v(O))}}function Gr(u,f){var h=0,p=u.length-1,v=u[h],x=u[p],O;return x<v&&(O=h,h=p,p=O,O=v,v=x,x=O),u[h]=f.floor(v),u[p]=f.ceil(x),u}function Da(u){return u?{floor:function(f){return Math.floor(f/u)*u},ceil:function(f){return Math.ceil(f/u)*u}}:So}var So={floor:nt,ceil:nt};function Py(u,f,h,p){var v=[],x=[],O=0,S=Math.min(u.length,f.length)-1;for(u[S]<u[0]&&(u=u.slice().reverse(),f=f.slice().reverse());++O<=S;)v.push(h(u[O-1],u[O])),x.push(p(f[O-1],f[O]));return function(P){var N=t.bisect(u,P,1,S)-1;return x[N](v[N](P))}}t.scale.linear=function(){return $a([0,1],[0,1],xi,!1)};function $a(u,f,h,p){var v,x;function O(){var P=Math.min(u.length,f.length)>2?Py:Iy,N=p?Vp:Hp;return v=P(u,f,N,h),x=P(f,u,N,xi),S}function S(P){return v(P)}return S.invert=function(P){return x(P)},S.domain=function(P){return arguments.length?(u=P.map(Number),O()):u},S.range=function(P){return arguments.length?(f=P,O()):f},S.rangeRound=function(P){return S.range(P).interpolate(os)},S.clamp=function(P){return arguments.length?(p=P,O()):p},S.interpolate=function(P){return arguments.length?(h=P,O()):h},S.ticks=function(P){return Du(u,P)},S.tickFormat=function(P,N){return d3_scale_linearTickFormat(u,P,N)},S.nice=function(P){return Ba(u,P),O()},S.copy=function(){return $a(u,f,h,p)},O()}function kc(u,f){return t.rebind(u,f,"range","rangeRound","interpolate","clamp")}function Ba(u,f){return Gr(u,Da(Lu(u,f)[2])),Gr(u,Da(Lu(u,f)[2])),u}function Lu(u,f){f==null&&(f=10);var h=fs(u),p=h[1]-h[0],v=Math.pow(10,Math.floor(Math.log(p/f)/Math.LN10)),x=f/p*v;return x<=.15?v*=10:x<=.35?v*=5:x<=.75&&(v*=2),h[0]=Math.ceil(h[0]/v)*v,h[1]=Math.floor(h[1]/v)*v+v*.5,h[2]=v,h}function Du(u,f){return t.range.apply(t,Lu(u,f))}t.scale.log=function(){return hs(t.scale.linear().domain([0,1]),10,!0,[1,10])};function hs(u,f,h,p){function v(S){return(h?Math.log(S<0?0:S):-Math.log(S>0?0:-S))/Math.log(f)}function x(S){return h?Math.pow(f,S):-Math.pow(f,-S)}function O(S){return u(v(S))}return O.invert=function(S){return x(u.invert(S))},O.domain=function(S){return arguments.length?(h=S[0]>=0,u.domain((p=S.map(Number)).map(v)),O):p},O.base=function(S){return arguments.length?(f=+S,u.domain(p.map(v)),O):f},O.nice=function(){var S=Gr(p.map(v),h?Math:Mc);return u.domain(S),p=S.map(x),O},O.ticks=function(){var S=fs(p),P=[],N=S[0],D=S[1],B=Math.floor(v(N)),z=Math.ceil(v(D)),ie=f%1?2:f;if(isFinite(z-B)){if(h){for(;B<z;B++)for(var oe=1;oe<ie;oe++)P.push(x(B)*oe);P.push(x(B))}else for(P.push(x(B));B++<z;)for(var oe=ie-1;oe>0;oe--)P.push(x(B)*oe);for(B=0;P[B]<N;B++);for(z=P.length;P[z-1]>D;z--);P=P.slice(B,z)}return P},O.copy=function(){return hs(u.copy(),f,h,p)},kc(O,u)}var Mc={floor:function(u){return-Math.ceil(-u)},ceil:function(u){return-Math.floor(-u)}};t.scale.pow=function(){return ds(t.scale.linear(),1,[0,1])};function ds(u,f,h){var p=za(f),v=za(1/f);function x(O){return u(p(O))}return x.invert=function(O){return v(u.invert(O))},x.domain=function(O){return arguments.length?(u.domain((h=O.map(Number)).map(p)),x):h},x.ticks=function(O){return Du(h,O)},x.tickFormat=function(O,S){return d3_scale_linearTickFormat(h,O,S)},x.nice=function(O){return x.domain(Ba(h,O))},x.exponent=function(O){return arguments.length?(p=za(f=O),v=za(1/f),u.domain(h.map(p)),x):f},x.copy=function(){return ds(u.copy(),f,h)},kc(x,u)}function za(u){return function(f){return f<0?-Math.pow(-f,u):Math.pow(f,u)}}t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return Ic([],{t:"range",a:[[]]})};function Ic(u,f){var h,p,v;function x(S){return p[((h.get(S)||(f.t==="range"?h.set(S,u.push(S)):NaN))-1)%p.length]}function O(S,P){return t.range(u.length).map(function(N){return S+P*N})}return x.domain=function(S){if(!arguments.length)return u;u=[],h=new R;for(var P=-1,N=S.length,D;++P<N;)h.has(D=S[P])||h.set(D,u.push(D));return x[f.t].apply(x,f.a)},x.range=function(S){return arguments.length?(p=S,v=0,f={t:"range",a:arguments},x):p},x.rangePoints=function(S,P){arguments.length<2&&(P=0);var N=S[0],D=S[1],B=u.length<2?(N=(N+D)/2,0):(D-N)/(u.length-1+P);return p=O(N+B*P/2,B),v=0,f={t:"rangePoints",a:arguments},x},x.rangeRoundPoints=function(S,P){arguments.length<2&&(P=0);var N=S[0],D=S[1],B=u.length<2?(N=D=Math.round((N+D)/2),0):(D-N)/(u.length-1+P)|0;return p=O(N+Math.round(B*P/2+(D-N-(u.length-1+P)*B)/2),B),v=0,f={t:"rangeRoundPoints",a:arguments},x},x.rangeBands=function(S,P,N){arguments.length<2&&(P=0),arguments.length<3&&(N=P);var D=S[1]<S[0],B=S[D-0],z=S[1-D],ie=(z-B)/(u.length-P+2*N);return p=O(B+ie*N,ie),D&&p.reverse(),v=ie*(1-P),f={t:"rangeBands",a:arguments},x},x.rangeRoundBands=function(S,P,N){arguments.length<2&&(P=0),arguments.length<3&&(N=P);var D=S[1]<S[0],B=S[D-0],z=S[1-D],ie=Math.floor((z-B)/(u.length-P+2*N));return p=O(B+Math.round((z-B-(u.length-P)*ie)/2),ie),D&&p.reverse(),v=Math.round(ie*(1-P)),f={t:"rangeRoundBands",a:arguments},x},x.rangeBand=function(){return v},x.rangeExtent=function(){return fs(f.a[0])},x.copy=function(){return Ic(u,f)},x.domain(u)}t.scale.category10=function(){return t.scale.ordinal().range(hv)},t.scale.category20=function(){return t.scale.ordinal().range(dv)},t.scale.category20b=function(){return t.scale.ordinal().range(pv)},t.scale.category20c=function(){return t.scale.ordinal().range(vv)};var hv=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ql),dv=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ql),pv=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ql),vv=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ql);t.scale.quantile=function(){return ps([],[])};function ps(u,f){var h;function p(){var x=0,O=f.length;for(h=[];++x<O;)h[x-1]=t.quantile(u,x/O);return v}function v(x){if(!isNaN(x=+x))return f[t.bisect(h,x)]}return v.domain=function(x){return arguments.length?(u=x.map(m).filter(E).sort(g),p()):u},v.range=function(x){return arguments.length?(f=x,p()):f},v.quantiles=function(){return h},v.invertExtent=function(x){return x=f.indexOf(x),x<0?[NaN,NaN]:[x>0?h[x-1]:u[0],x<h.length?h[x]:u[u.length-1]]},v.copy=function(){return ps(u,f)},p()}t.scale.quantize=function(){return vs(0,1,[0,1])};function vs(u,f,h){var p,v;function x(S){return h[Math.max(0,Math.min(v,Math.floor(p*(S-u))))]}function O(){return p=h.length/(f-u),v=h.length-1,x}return x.domain=function(S){return arguments.length?(u=+S[0],f=+S[S.length-1],O()):[u,f]},x.range=function(S){return arguments.length?(h=S,O()):h},x.invertExtent=function(S){return S=h.indexOf(S),S=S<0?NaN:S/p+u,[S,S+1/p]},x.copy=function(){return vs(u,f,h)},O()}t.scale.threshold=function(){return Pc([.5],[0,1])};function Pc(u,f){function h(p){if(p<=p)return f[t.bisect(u,p)]}return h.domain=function(p){return arguments.length?(u=p,h):u},h.range=function(p){return arguments.length?(f=p,h):f},h.invertExtent=function(p){return p=f.indexOf(p),[u[p-1],u[p]]},h.copy=function(){return Pc(u,f)},h}t.scale.identity=function(){return Fc([0,1])};function Fc(u){function f(h){return+h}return f.invert=f,f.domain=f.range=function(h){return arguments.length?(u=h.map(f),f):u},f.ticks=function(h){return Du(u,h)},f.tickFormat=function(h,p){return d3_scale_linearTickFormat(u,h,p)},f.copy=function(){return Fc(u)},f}t.svg={};function mv(){return 0}t.svg.arc=function(){var u=Rc,f=gv,h=mv,p=$u,v=Nc,x=ms,O=Lc;function S(){var N=Math.max(0,+u.apply(this,arguments)),D=Math.max(0,+f.apply(this,arguments)),B=v.apply(this,arguments)-yi,z=x.apply(this,arguments)-yi,ie=Math.abs(z-B),oe=B>z?0:1;if(D<N&&(G=D,D=N,N=G),ie>=pp)return P(D,oe)+(N?P(N,1-oe):"")+"Z";var G,X,J,ue,le=0,re=0,Pe,Ue,tt,je,at,vt,Gt,bt,zt=[];if((ue=(+O.apply(this,arguments)||0)/2)&&(J=p===$u?Math.sqrt(N*N+D*D):+p.apply(this,arguments),oe||(re*=-1),D&&(re=mp(J/D*Math.sin(ue))),N&&(le=mp(J/N*Math.sin(ue)))),D){Pe=D*Math.cos(B+re),Ue=D*Math.sin(B+re),tt=D*Math.cos(z-re),je=D*Math.sin(z-re);var ar=Math.abs(z-B-2*re)<=Ni?0:1;if(re&&Bu(Pe,Ue,tt,je)===oe^ar){var Mr=(B+z)/2;Pe=D*Math.cos(Mr),Ue=D*Math.sin(Mr),tt=je=null}}else Pe=Ue=0;if(N){at=N*Math.cos(z-le),vt=N*Math.sin(z-le),Gt=N*Math.cos(B+le),bt=N*Math.sin(B+le);var dr=Math.abs(B-z+2*le)<=Ni?0:1;if(le&&Bu(at,vt,Gt,bt)===1-oe^dr){var rt=(B+z)/2;at=N*Math.cos(rt),vt=N*Math.sin(rt),Gt=bt=null}}else at=vt=0;if(ie>ir&&(G=Math.min(Math.abs(D-N)/2,+h.apply(this,arguments)))>.001){X=N<D^oe?0:1;var Wt=G,Yt=G;if(ie<Ni){var or=Gt==null?[at,vt]:tt==null?[Pe,Ue]:ec([Pe,Ue],[Gt,bt],[tt,je],[at,vt]),Sr=Pe-or[0],Br=Ue-or[1],Yr=tt-or[0],pn=je-or[1],En=1/Math.sin(Math.acos((Sr*Yr+Br*pn)/(Math.sqrt(Sr*Sr+Br*Br)*Math.sqrt(Yr*Yr+pn*pn)))/2),an=Math.sqrt(or[0]*or[0]+or[1]*or[1]);Yt=Math.min(G,(N-an)/(En-1)),Wt=Math.min(G,(D-an)/(En+1))}if(tt!=null){var Pn=Eo(Gt==null?[at,vt]:[Gt,bt],[Pe,Ue],D,Wt,oe),F=Eo([tt,je],[at,vt],D,Wt,oe);G===Wt?zt.push("M",Pn[0],"A",Wt,",",Wt," 0 0,",X," ",Pn[1],"A",D,",",D," 0 ",1-oe^Bu(Pn[1][0],Pn[1][1],F[1][0],F[1][1]),",",oe," ",F[1],"A",Wt,",",Wt," 0 0,",X," ",F[0]):zt.push("M",Pn[0],"A",Wt,",",Wt," 0 1,",X," ",F[0])}else zt.push("M",Pe,",",Ue);if(Gt!=null){var H=Eo([Pe,Ue],[Gt,bt],N,-Yt,oe),K=Eo([at,vt],tt==null?[Pe,Ue]:[tt,je],N,-Yt,oe);G===Yt?zt.push("L",K[0],"A",Yt,",",Yt," 0 0,",X," ",K[1],"A",N,",",N," 0 ",oe^Bu(K[1][0],K[1][1],H[1][0],H[1][1]),",",1-oe," ",H[1],"A",Yt,",",Yt," 0 0,",X," ",H[0]):zt.push("L",K[0],"A",Yt,",",Yt," 0 0,",X," ",H[0])}else zt.push("L",at,",",vt)}else zt.push("M",Pe,",",Ue),tt!=null&&zt.push("A",D,",",D," 0 ",ar,",",oe," ",tt,",",je),zt.push("L",at,",",vt),Gt!=null&&zt.push("A",N,",",N," 0 ",dr,",",1-oe," ",Gt,",",bt);return zt.push("Z"),zt.join("")}function P(N,D){return"M0,"+N+"A"+N+","+N+" 0 1,"+D+" 0,"+-N+"A"+N+","+N+" 0 1,"+D+" 0,"+N}return S.innerRadius=function(N){return arguments.length?(u=mr(N),S):u},S.outerRadius=function(N){return arguments.length?(f=mr(N),S):f},S.cornerRadius=function(N){return arguments.length?(h=mr(N),S):h},S.padRadius=function(N){return arguments.length?(p=N==$u?$u:mr(N),S):p},S.startAngle=function(N){return arguments.length?(v=mr(N),S):v},S.endAngle=function(N){return arguments.length?(x=mr(N),S):x},S.padAngle=function(N){return arguments.length?(O=mr(N),S):O},S.centroid=function(){var N=(+u.apply(this,arguments)+ +f.apply(this,arguments))/2,D=(+v.apply(this,arguments)+ +x.apply(this,arguments))/2-yi;return[Math.cos(D)*N,Math.sin(D)*N]},S};var $u="auto";function Rc(u){return u.innerRadius}function gv(u){return u.outerRadius}function Nc(u){return u.startAngle}function ms(u){return u.endAngle}function Lc(u){return u&&u.padAngle}function Bu(u,f,h,p){return(u-h)*f-(f-p)*u>0?0:1}function Eo(u,f,h,p,v){var x=u[0]-f[0],O=u[1]-f[1],S=(v?p:-p)/Math.sqrt(x*x+O*O),P=S*O,N=-S*x,D=u[0]+P,B=u[1]+N,z=f[0]+P,ie=f[1]+N,oe=(D+z)/2,G=(B+ie)/2,X=z-D,J=ie-B,ue=X*X+J*J,le=h-p,re=D*ie-z*B,Pe=(J<0?-1:1)*Math.sqrt(Math.max(0,le*le*ue-re*re)),Ue=(re*J-X*Pe)/ue,tt=(-re*X-J*Pe)/ue,je=(re*J+X*Pe)/ue,at=(-re*X+J*Pe)/ue,vt=Ue-oe,Gt=tt-G,bt=je-oe,zt=at-G;return vt*vt+Gt*Gt>bt*bt+zt*zt&&(Ue=je,tt=at),[[Ue-P,tt-N],[Ue*h/le,tt*h/le]]}function Dc(){return!0}function $c(u){var f=Li,h=Di,p=Dc,v=qn,x=v.key,O=.7;function S(P){var N=[],D=[],B=-1,z=P.length,ie,oe=mr(f),G=mr(h);function X(){N.push("M",v(u(D),O))}for(;++B<z;)p.call(this,ie=P[B],B)?D.push([+oe.call(this,ie,B),+G.call(this,ie,B)]):D.length&&(X(),D=[]);return D.length&&X(),N.length?N.join(""):null}return S.x=function(P){return arguments.length?(f=P,S):f},S.y=function(P){return arguments.length?(h=P,S):h},S.defined=function(P){return arguments.length?(p=P,S):p},S.interpolate=function(P){return arguments.length?(typeof P=="function"?x=v=P:x=(v=zu.get(P)||qn).key,S):x},S.tension=function(P){return arguments.length?(O=P,S):O},S}t.svg.line=function(){return $c(nt)};var zu=t.map({linear:qn,"linear-closed":Bc,step:zc,"step-before":Uu,"step-after":Ua,basis:ju,"basis-open":ys,"basis-closed":Ao,bundle:To,cardinal:Ui,"cardinal-open":yv,"cardinal-closed":gs,monotone:Fy});zu.forEach(function(u,f){f.key=u,f.closed=/-closed$/.test(u)});function qn(u){return u.length>1?u.join("L"):u+"Z"}function Bc(u){return u.join("L")+"Z"}function zc(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("H",(p[0]+(p=u[f])[0])/2,"V",p[1]);return h>1&&v.push("H",p[0]),v.join("")}function Uu(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("V",(p=u[f])[1],"H",p[0]);return v.join("")}function Ua(u){for(var f=0,h=u.length,p=u[0],v=[p[0],",",p[1]];++f<h;)v.push("H",(p=u[f])[0],"V",p[1]);return v.join("")}function yv(u,f){return u.length<4?qn(u):u[1]+ja(u.slice(1,-1),oa(u,f))}function gs(u,f){return u.length<3?Bc(u):u[0]+ja((u.push(u[0]),u),oa([u[u.length-2]].concat(u,[u[1]]),f))}function Ui(u,f){return u.length<3?qn(u):u[0]+ja(u,oa(u,f))}function ja(u,f){if(f.length<1||u.length!=f.length&&u.length!=f.length+2)return qn(u);var h=u.length!=f.length,p="",v=u[0],x=u[1],O=f[0],S=O,P=1;if(h&&(p+="Q"+(x[0]-O[0]*2/3)+","+(x[1]-O[1]*2/3)+","+x[0]+","+x[1],v=u[1],P=2),f.length>1){S=f[1],x=u[P],P++,p+="C"+(v[0]+O[0])+","+(v[1]+O[1])+","+(x[0]-S[0])+","+(x[1]-S[1])+","+x[0]+","+x[1];for(var N=2;N<f.length;N++,P++)x=u[P],S=f[N],p+="S"+(x[0]-S[0])+","+(x[1]-S[1])+","+x[0]+","+x[1]}if(h){var D=u[P];p+="Q"+(x[0]+S[0]*2/3)+","+(x[1]+S[1]*2/3)+","+D[0]+","+D[1]}return p}function oa(u,f){for(var h=[],p=(1-f)/2,v,x=u[0],O=u[1],S=1,P=u.length;++S<P;)v=x,x=O,O=u[S],h.push([p*(O[0]-v[0]),p*(O[1]-v[1])]);return h}function ju(u){if(u.length<3)return qn(u);var f=1,h=u.length,p=u[0],v=p[0],x=p[1],O=[v,v,v,(p=u[1])[0]],S=[x,x,x,p[1]],P=[v,",",x,"L",nn(fi,O),",",nn(fi,S)];for(u.push(u[h-1]);++f<=h;)p=u[f],O.shift(),O.push(p[0]),S.shift(),S.push(p[1]),Gu(P,O,S);return u.pop(),P.push("L",p),P.join("")}function ys(u){if(u.length<4)return qn(u);for(var f=[],h=-1,p=u.length,v,x=[0],O=[0];++h<3;)v=u[h],x.push(v[0]),O.push(v[1]);for(f.push(nn(fi,x)+","+nn(fi,O)),--h;++h<p;)v=u[h],x.shift(),x.push(v[0]),O.shift(),O.push(v[1]),Gu(f,x,O);return f.join("")}function Ao(u){for(var f,h=-1,p=u.length,v=p+4,x,O=[],S=[];++h<4;)x=u[h%p],O.push(x[0]),S.push(x[1]);for(f=[nn(fi,O),",",nn(fi,S)],--h;++h<v;)x=u[h%p],O.shift(),O.push(x[0]),S.shift(),S.push(x[1]),Gu(f,O,S);return f.join("")}function To(u,f){var h=u.length-1;if(h)for(var p=u[0][0],v=u[0][1],x=u[h][0]-p,O=u[h][1]-v,S=-1,P,N;++S<=h;)P=u[S],N=S/h,P[0]=f*P[0]+(1-f)*(p+N*x),P[1]=f*P[1]+(1-f)*(v+N*O);return ju(u)}function nn(u,f){return u[0]*f[0]+u[1]*f[1]+u[2]*f[2]+u[3]*f[3]}var xs=[0,2/3,1/3,0],bs=[0,1/3,2/3,0],fi=[0,1/6,2/3,1/6];function Gu(u,f,h){u.push("C",nn(xs,f),",",nn(xs,h),",",nn(bs,f),",",nn(bs,h),",",nn(fi,f),",",nn(fi,h))}function Wu(u,f){return(f[1]-u[1])/(f[0]-u[0])}function Co(u){for(var f=0,h=u.length-1,p=[],v=u[0],x=u[1],O=p[0]=Wu(v,x);++f<h;)p[f]=(O+(O=Wu(v=x,x=u[f+1])))/2;return p[f]=O,p}function Oo(u){for(var f=[],h,p,v,x,O=Co(u),S=-1,P=u.length-1;++S<P;)h=Wu(u[S],u[S+1]),_(h)<ir?O[S]=O[S+1]=0:(p=O[S]/h,v=O[S+1]/h,x=p*p+v*v,x>9&&(x=h*3/Math.sqrt(x),O[S]=x*p,O[S+1]=x*v));for(S=-1;++S<=P;)x=(u[Math.min(P,S+1)][0]-u[Math.max(0,S-1)][0])/(6*(1+O[S]*O[S])),f.push([x||0,O[S]*x||0]);return f}function Fy(u){return u.length<3?qn(u):u[0]+ja(u,Oo(u))}t.svg.line.radial=function(){var u=$c(xv);return u.radius=u.x,delete u.x,u.angle=u.y,delete u.y,u};function xv(u){for(var f,h=-1,p=u.length,v,x;++h<p;)f=u[h],v=f[0],x=f[1]-yi,f[0]=v*Math.cos(x),f[1]=v*Math.sin(x);return u}function Uc(u){var f=Li,h=Li,p=0,v=Di,x=Dc,O=qn,S=O.key,P=O,N="L",D=.7;function B(z){var ie=[],oe=[],G=[],X=-1,J=z.length,ue,le=mr(f),re=mr(p),Pe=f===h?function(){return tt}:mr(h),Ue=p===v?function(){return je}:mr(v),tt,je;function at(){ie.push("M",O(u(G),D),N,P(u(oe.reverse()),D),"Z")}for(;++X<J;)x.call(this,ue=z[X],X)?(oe.push([tt=+le.call(this,ue,X),je=+re.call(this,ue,X)]),G.push([+Pe.call(this,ue,X),+Ue.call(this,ue,X)])):oe.length&&(at(),oe=[],G=[]);return oe.length&&at(),ie.length?ie.join(""):null}return B.x=function(z){return arguments.length?(f=h=z,B):h},B.x0=function(z){return arguments.length?(f=z,B):f},B.x1=function(z){return arguments.length?(h=z,B):h},B.y=function(z){return arguments.length?(p=v=z,B):v},B.y0=function(z){return arguments.length?(p=z,B):p},B.y1=function(z){return arguments.length?(v=z,B):v},B.defined=function(z){return arguments.length?(x=z,B):x},B.interpolate=function(z){return arguments.length?(typeof z=="function"?S=O=z:S=(O=zu.get(z)||qn).key,P=O.reverse||O,N=O.closed?"M":"L",B):S},B.tension=function(z){return arguments.length?(D=z,B):D},B}Uu.reverse=Ua,Ua.reverse=Uu,t.svg.area=function(){return Uc(nt)},t.svg.area.radial=function(){var u=Uc(xv);return u.radius=u.x,delete u.x,u.innerRadius=u.x0,delete u.x0,u.outerRadius=u.x1,delete u.x1,u.angle=u.y,delete u.y,u.startAngle=u.y0,delete u.y0,u.endAngle=u.y1,delete u.y1,u};function jc(u){return u.source}function Gc(u){return u.target}t.svg.chord=function(){var u=jc,f=Gc,h=Ry,p=Nc,v=ms;function x(D,B){var z=O(this,u,D,B),ie=O(this,f,D,B);return"M"+z.p0+P(z.r,z.p1,z.a1-z.a0)+(S(z,ie)?N(z.r,z.p1,z.r,z.p0):N(z.r,z.p1,ie.r,ie.p0)+P(ie.r,ie.p1,ie.a1-ie.a0)+N(ie.r,ie.p1,z.r,z.p0))+"Z"}function O(D,B,z,ie){var oe=B.call(D,z,ie),G=h.call(D,oe,ie),X=p.call(D,oe,ie)-yi,J=v.call(D,oe,ie)-yi;return{r:G,a0:X,a1:J,p0:[G*Math.cos(X),G*Math.sin(X)],p1:[G*Math.cos(J),G*Math.sin(J)]}}function S(D,B){return D.a0==B.a0&&D.a1==B.a1}function P(D,B,z){return"A"+D+","+D+" 0 "+ +(z>Ni)+",1 "+B}function N(D,B,z,ie){return"Q 0,0 "+ie}return x.radius=function(D){return arguments.length?(h=mr(D),x):h},x.source=function(D){return arguments.length?(u=mr(D),x):u},x.target=function(D){return arguments.length?(f=mr(D),x):f},x.startAngle=function(D){return arguments.length?(p=mr(D),x):p},x.endAngle=function(D){return arguments.length?(v=mr(D),x):v},x};function Ry(u){return u.radius}t.svg.diagonal=function(){var u=jc,f=Gc,h=Ga;function p(v,x){var O=u.call(this,v,x),S=f.call(this,v,x),P=(O.y+S.y)/2,N=[O,{x:O.x,y:P},{x:S.x,y:P},S];return N=N.map(h),"M"+N[0]+"C"+N[1]+" "+N[2]+" "+N[3]}return p.source=function(v){return arguments.length?(u=mr(v),p):u},p.target=function(v){return arguments.length?(f=mr(v),p):f},p.projection=function(v){return arguments.length?(h=v,p):h},p};function Ga(u){return[u.x,u.y]}t.svg.diagonal.radial=function(){var u=t.svg.diagonal(),f=Ga,h=u.projection;return u.projection=function(p){return arguments.length?h(Wc(f=p)):f},u};function Wc(u){return function(){var f=u.apply(this,arguments),h=f[0],p=f[1]-yi;return[h*Math.cos(p),h*Math.sin(p)]}}t.svg.symbol=function(){var u=Ly,f=Ny;function h(p,v){return(wv.get(u.call(this,p,v))||bv)(f.call(this,p,v))}return h.type=function(p){return arguments.length?(u=mr(p),h):u},h.size=function(p){return arguments.length?(f=mr(p),h):f},h};function Ny(){return 64}function Ly(){return"circle"}function bv(u){var f=Math.sqrt(u/Ni);return"M0,"+f+"A"+f+","+f+" 0 1,1 0,"+-f+"A"+f+","+f+" 0 1,1 0,"+f+"Z"}var wv=t.map({circle:bv,cross:function(u){var f=Math.sqrt(u/5)/2;return"M"+-3*f+","+-f+"H"+-f+"V"+-3*f+"H"+f+"V"+-f+"H"+3*f+"V"+f+"H"+f+"V"+3*f+"H"+-f+"V"+f+"H"+-3*f+"Z"},diamond:function(u){var f=Math.sqrt(u/(2*_v)),h=f*_v;return"M0,"+-f+"L"+h+",0 0,"+f+" "+-h+",0Z"},square:function(u){var f=Math.sqrt(u)/2;return"M"+-f+","+-f+"L"+f+","+-f+" "+f+","+f+" "+-f+","+f+"Z"},"triangle-down":function(u){var f=Math.sqrt(u/ws),h=f*ws/2;return"M0,"+h+"L"+f+","+-h+" "+-f+","+-h+"Z"},"triangle-up":function(u){var f=Math.sqrt(u/ws),h=f*ws/2;return"M0,"+-h+"L"+f+","+h+" "+-f+","+h+"Z"}});t.svg.symbolTypes=wv.keys();var ws=Math.sqrt(3),_v=Math.tan(30*vp);Ce.transition=function(u){for(var f=ji||++Ss,h=Vu(u),p=[],v,x,O=ko||{time:Date.now(),ease:xo,delay:0,duration:250},S=-1,P=this.length;++S<P;){p.push(v=[]);for(var N=this[S],D=-1,B=N.length;++D<B;)(x=N[D])&&Mo(x,D,h,f,O),v.push(x)}return Hu(p,h,f)},Ce.interrupt=function(u){return this.each(u==null?_s:Sv(Vu(u)))};var _s=Sv(Vu());function Sv(u){return function(){var f,h,p;(f=this[u])&&(p=f[h=f.active])&&(p.timer.c=null,p.timer.t=NaN,--f.count?delete f[h]:delete this[u],f.active+=.5,p.event&&p.event.interrupt.call(this,this.__data__,p.index))}}function Hu(u,f,h){return Ht(u,$r),u.namespace=f,u.id=h,u}var $r=[],Ss=0,ji,ko;$r.call=Ce.call,$r.empty=Ce.empty,$r.node=Ce.node,$r.size=Ce.size,t.transition=function(u,f){return u&&u.transition?ji?u.transition(f):u:t.selection().transition(u)},t.transition.prototype=$r,$r.select=function(u){var f=this.id,h=this.namespace,p=[],v,x,O;u=W(u);for(var S=-1,P=this.length;++S<P;){p.push(v=[]);for(var N=this[S],D=-1,B=N.length;++D<B;)(O=N[D])&&(x=u.call(O,O.__data__,D,S))?("__data__"in O&&(x.__data__=O.__data__),Mo(x,D,h,f,O[h][f]),v.push(x)):v.push(null)}return Hu(p,h,f)},$r.selectAll=function(u){var f=this.id,h=this.namespace,p=[],v,x,O,S,P;u=ae(u);for(var N=-1,D=this.length;++N<D;)for(var B=this[N],z=-1,ie=B.length;++z<ie;)if(O=B[z]){P=O[h][f],x=u.call(O,O.__data__,z,N),p.push(v=[]);for(var oe=-1,G=x.length;++oe<G;)(S=x[oe])&&Mo(S,oe,h,f,P),v.push(S)}return Hu(p,h,f)},$r.filter=function(u){var f=[],h,p,v;typeof u!="function"&&(u=bu(u));for(var x=0,O=this.length;x<O;x++){f.push(h=[]);for(var p=this[x],S=0,P=p.length;S<P;S++)(v=p[S])&&u.call(v,v.__data__,S,x)&&h.push(v)}return Hu(f,this.namespace,this.id)},$r.tween=function(u,f){var h=this.id,p=this.namespace;return arguments.length<2?this.node()[p][h].tween.get(u):gi(this,f==null?function(v){v[p][h].tween.remove(u)}:function(v){v[p][h].tween.set(u,f)})};function Es(u,f,h,p){var v=u.id,x=u.namespace;return gi(u,typeof h=="function"?function(O,S,P){O[x][v].tween.set(f,p(h.call(O,O.__data__,S,P)))}:(h=p(h),function(O){O[x][v].tween.set(f,h)}))}$r.attr=function(u,f){if(arguments.length<2){for(f in u)this.attr(f,u[f]);return this}var h=u=="transform"?mc:xi,p=t.ns.qualify(u);function v(){this.removeAttribute(p)}function x(){this.removeAttributeNS(p.space,p.local)}function O(P){return P==null?v:(P+="",function(){var N=this.getAttribute(p),D;return N!==P&&(D=h(N,P),function(B){this.setAttribute(p,D(B))})})}function S(P){return P==null?x:(P+="",function(){var N=this.getAttributeNS(p.space,p.local),D;return N!==P&&(D=h(N,P),function(B){this.setAttributeNS(p.space,p.local,D(B))})})}return Es(this,"attr."+u,f,p.local?S:O)},$r.attrTween=function(u,f){var h=t.ns.qualify(u);function p(x,O){var S=f.call(this,x,O,this.getAttribute(h));return S&&function(P){this.setAttribute(h,S(P))}}function v(x,O){var S=f.call(this,x,O,this.getAttributeNS(h.space,h.local));return S&&function(P){this.setAttributeNS(h.space,h.local,S(P))}}return this.tween("attr."+u,h.local?v:p)},$r.style=function(u,f,h){var p=arguments.length;if(p<3){if(typeof u!="string"){p<2&&(f="");for(h in u)this.style(h,u[h],f);return this}h=""}function v(){this.style.removeProperty(u)}function x(O){return O==null?v:(O+="",function(){var S=o(this).getComputedStyle(this,null).getPropertyValue(u),P;return S!==O&&(P=xi(S,O),function(N){this.style.setProperty(u,P(N),h)})})}return Es(this,"style."+u,f,x)},$r.styleTween=function(u,f,h){arguments.length<3&&(h="");function p(v,x){var O=f.call(this,v,x,o(this).getComputedStyle(this,null).getPropertyValue(u));return O&&function(S){this.style.setProperty(u,O(S),h)}}return this.tween("style."+u,p)},$r.text=function(u){return Es(this,"text",u,Hc)};function Hc(u){return u==null&&(u=""),function(){this.textContent=u}}$r.remove=function(){var u=this.namespace;return this.each("end.transition",function(){var f;this[u].count<2&&(f=this.parentNode)&&f.removeChild(this)})},$r.ease=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].ease:(typeof u!="function"&&(u=t.ease.apply(t,arguments)),gi(this,function(p){p[h][f].ease=u}))},$r.delay=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].delay:gi(this,typeof u=="function"?function(p,v,x){p[h][f].delay=+u.call(p,p.__data__,v,x)}:(u=+u,function(p){p[h][f].delay=u}))},$r.duration=function(u){var f=this.id,h=this.namespace;return arguments.length<1?this.node()[h][f].duration:gi(this,typeof u=="function"?function(p,v,x){p[h][f].duration=Math.max(1,u.call(p,p.__data__,v,x))}:(u=Math.max(1,u),function(p){p[h][f].duration=u}))},$r.each=function(u,f){var h=this.id,p=this.namespace;if(arguments.length<2){var v=ko,x=ji;try{ji=h,gi(this,function(O,S,P){ko=O[p][h],u.call(O,O.__data__,S,P)})}finally{ko=v,ji=x}}else gi(this,function(O){var S=O[p][h];(S.event||(S.event=t.dispatch("start","end","interrupt"))).on(u,f)});return this},$r.transition=function(){for(var u=this.id,f=++Ss,h=this.namespace,p=[],v,x,O,S,P=0,N=this.length;P<N;P++){p.push(v=[]);for(var x=this[P],D=0,B=x.length;D<B;D++)(O=x[D])&&(S=O[h][u],Mo(O,D,h,f,{time:S.time,ease:S.ease,delay:S.delay+S.duration,duration:S.duration})),v.push(O)}return Hu(p,h,f)};function Vu(u){return u==null?"__transition__":"__transition_"+u+"__"}function Mo(u,f,h,p,v){var x=u[h]||(u[h]={active:0,count:0}),O=x[p],S,P,N,D,B;function z(G){var X=O.delay;if(P.t=X+S,X<=G)return ie(G-X);P.c=ie}function ie(G){var X=x.active,J=x[X];J&&(J.timer.c=null,J.timer.t=NaN,--x.count,delete x[X],J.event&&J.event.interrupt.call(u,u.__data__,J.index));for(var ue in x)if(+ue<p){var le=x[ue];le.timer.c=null,le.timer.t=NaN,--x.count,delete x[ue]}P.c=oe,ho(function(){return P.c&&oe(G||1)&&(P.c=null,P.t=NaN),1},0,S),x.active=p,O.event&&O.event.start.call(u,u.__data__,f),B=[],O.tween.forEach(function(re,Pe){(Pe=Pe.call(u,u.__data__,f))&&B.push(Pe)}),D=O.ease,N=O.duration}function oe(G){for(var X=G/N,J=D(X),ue=B.length;ue>0;)B[--ue].call(u,J);if(X>=1)return O.event&&O.event.end.call(u,u.__data__,f),--x.count?delete x[p]:delete u[h],1}O||(S=v.time,P=ho(z,0,S),O=x[p]={tween:new R,time:S,timer:P,delay:v.delay,duration:v.duration,ease:v.ease,index:f},v=null,++x.count)}t.svg.axis=function(){var u=t.scale.linear(),f=Vc,h=6,p=6,v=3,x=[10],O=null,S;function P(N){N.each(function(){var D=t.select(this),B=this.__chart__||u,z=this.__chart__=u.copy(),ie=O==null?z.ticks?z.ticks.apply(z,x):z.domain():O,oe=S==null?z.tickFormat?z.tickFormat.apply(z,x):nt:S,G=D.selectAll(".tick").data(ie,z),X=G.enter().insert("g",".domain").attr("class","tick").style("opacity",ir),J=t.transition(G.exit()).style("opacity",ir).remove(),ue=t.transition(G.order()).style("opacity",1),le=Math.max(h,0)+v,re,Pe=cs(z),Ue=D.selectAll(".domain").data([0]),tt=(Ue.enter().append("path").attr("class","domain"),t.transition(Ue));X.append("line"),X.append("text");var je=X.select("line"),at=ue.select("line"),vt=G.select("text").text(oe),Gt=X.select("text"),bt=ue.select("text"),zt=f==="top"||f==="left"?-1:1,ar,Mr,dr,rt;if(f==="bottom"||f==="top"?(re=Yc,ar="x",dr="y",Mr="x2",rt="y2",vt.attr("dy",zt<0?"0em":".71em").style("text-anchor","middle"),tt.attr("d","M"+Pe[0]+","+zt*p+"V0H"+Pe[1]+"V"+zt*p)):(re=Xc,ar="y",dr="x",Mr="y2",rt="x2",vt.attr("dy",".32em").style("text-anchor",zt<0?"end":"start"),tt.attr("d","M"+zt*p+","+Pe[0]+"H0V"+Pe[1]+"H"+zt*p)),je.attr(rt,zt*h),Gt.attr(dr,zt*le),at.attr(Mr,0).attr(rt,zt*h),bt.attr(ar,0).attr(dr,zt*le),z.rangeBand){var Wt=z,Yt=Wt.rangeBand()/2;B=z=function(or){return Wt(or)+Yt}}else B.rangeBand?B=z:J.call(re,z,B);X.call(re,B,z),ue.call(re,z,z)})}return P.scale=function(N){return arguments.length?(u=N,P):u},P.orient=function(N){return arguments.length?(f=N in qc?N+"":Vc,P):f},P.ticks=function(){return arguments.length?(x=n(arguments),P):x},P.tickValues=function(N){return arguments.length?(O=N,P):O},P.tickFormat=function(N){return arguments.length?(S=N,P):S},P.tickSize=function(N){var D=arguments.length;return D?(h=+N,p=+arguments[D-1],P):h},P.innerTickSize=function(N){return arguments.length?(h=+N,P):h},P.outerTickSize=function(N){return arguments.length?(p=+N,P):p},P.tickPadding=function(N){return arguments.length?(v=+N,P):v},P.tickSubdivide=function(){return arguments.length&&P},P};var Vc="bottom",qc={top:1,right:1,bottom:1,left:1};function Yc(u,f,h){u.attr("transform",function(p){var v=f(p);return"translate("+(isFinite(v)?v:h(p))+",0)"})}function Xc(u,f,h){u.attr("transform",function(p){var v=f(p);return"translate(0,"+(isFinite(v)?v:h(p))+")"})}t.svg.brush=function(){var u=ct(D,"brushstart","brush","brushend"),f=null,h=null,p=[0,0],v=[0,0],x,O,S=!0,P=!0,N=qu[0];function D(G){G.each(function(){var X=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",oe).on("touchstart.brush",oe),J=X.selectAll(".background").data([0]);J.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),X.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ue=X.selectAll(".resize").data(N,nt);ue.exit().remove(),ue.enter().append("g").attr("class",function(Ue){return"resize "+Ue}).style("cursor",function(Ue){return Qc[Ue]}).append("rect").attr("x",function(Ue){return/[ew]$/.test(Ue)?-3:null}).attr("y",function(Ue){return/^[ns]/.test(Ue)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ue.style("display",D.empty()?"none":null);var le=t.transition(X),re=t.transition(J),Pe;f&&(Pe=cs(f),re.attr("x",Pe[0]).attr("width",Pe[1]-Pe[0]),z(le)),h&&(Pe=cs(h),re.attr("y",Pe[0]).attr("height",Pe[1]-Pe[0]),ie(le)),B(le)})}D.event=function(G){G.each(function(){var X=u.of(this,arguments),J={x:p,y:v,i:x,j:O},ue=this.__chart__||J;this.__chart__=J,ji?t.select(this).transition().each("start.brush",function(){x=ue.i,O=ue.j,p=ue.x,v=ue.y,X({type:"brushstart"})}).tween("brush:brush",function(){var le=In(p,J.x),re=In(v,J.y);return x=O=null,function(Pe){p=J.x=le(Pe),v=J.y=re(Pe),X({type:"brush",mode:"resize"})}}).each("end.brush",function(){x=J.i,O=J.j,X({type:"brush",mode:"resize"}),X({type:"brushend"})}):(X({type:"brushstart"}),X({type:"brush",mode:"resize"}),X({type:"brushend"}))})};function B(G){G.selectAll(".resize").attr("transform",function(X){return"translate("+p[+/e$/.test(X)]+","+v[+/^s/.test(X)]+")"})}function z(G){G.select(".extent").attr("x",p[0]),G.selectAll(".extent,.n>rect,.s>rect").attr("width",p[1]-p[0])}function ie(G){G.select(".extent").attr("y",v[0]),G.selectAll(".extent,.e>rect,.w>rect").attr("height",v[1]-v[0])}function oe(){var G=this,X=t.select(t.event.target),J=u.of(G,arguments),ue=t.select(G),le=X.datum(),re=!/^(n|s)$/.test(le)&&f,Pe=!/^(e|w)$/.test(le)&&h,Ue=X.classed("extent"),tt=Gl(G),je,at=t.mouse(G),vt,Gt=t.select(o(G)).on("keydown.brush",ar).on("keyup.brush",Mr);if(t.event.changedTouches?Gt.on("touchmove.brush",dr).on("touchend.brush",Wt):Gt.on("mousemove.brush",dr).on("mouseup.brush",Wt),ue.interrupt().selectAll("*").interrupt(),Ue)at[0]=p[0]-at[0],at[1]=v[0]-at[1];else if(le){var bt=+/w$/.test(le),zt=+/^n/.test(le);vt=[p[1-bt]-at[0],v[1-zt]-at[1]],at[0]=p[bt],at[1]=v[zt]}else t.event.altKey&&(je=at.slice());ue.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",X.style("cursor")),J({type:"brushstart"}),dr();function ar(){t.event.keyCode==32&&(Ue||(je=null,at[0]-=p[1],at[1]-=v[1],Ue=2),st())}function Mr(){t.event.keyCode==32&&Ue==2&&(at[0]+=p[1],at[1]+=v[1],Ue=0,st())}function dr(){var Yt=t.mouse(G),or=!1;vt&&(Yt[0]+=vt[0],Yt[1]+=vt[1]),Ue||(t.event.altKey?(je||(je=[(p[0]+p[1])/2,(v[0]+v[1])/2]),at[0]=p[+(Yt[0]<je[0])],at[1]=v[+(Yt[1]<je[1])]):je=null),re&&rt(Yt,f,0)&&(z(ue),or=!0),Pe&&rt(Yt,h,1)&&(ie(ue),or=!0),or&&(B(ue),J({type:"brush",mode:Ue?"move":"resize"}))}function rt(Yt,or,Sr){var Br=cs(or),Yr=Br[0],pn=Br[1],En=at[Sr],an=Sr?v:p,Pn=an[1]-an[0],F,H;if(Ue&&(Yr-=En,pn-=Pn+En),F=(Sr?P:S)?Math.max(Yr,Math.min(pn,Yt[Sr])):Yt[Sr],Ue?H=(F+=En)+Pn:(je&&(En=Math.max(Yr,Math.min(pn,2*je[Sr]-F))),En<F?(H=F,F=En):H=En),an[0]!=F||an[1]!=H)return Sr?O=null:x=null,an[0]=F,an[1]=H,!0}function Wt(){dr(),ue.style("pointer-events","all").selectAll(".resize").style("display",D.empty()?"none":null),t.select("body").style("cursor",null),Gt.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),tt(),J({type:"brushend"})}}return D.x=function(G){return arguments.length?(f=G,N=qu[!f<<1|!h],D):f},D.y=function(G){return arguments.length?(h=G,N=qu[!f<<1|!h],D):h},D.clamp=function(G){return arguments.length?(f&&h?(S=!!G[0],P=!!G[1]):f?S=!!G:h&&(P=!!G),D):f&&h?[S,P]:f?S:h?P:null},D.extent=function(G){var X,J,ue,le,re;return arguments.length?(f&&(X=G[0],J=G[1],h&&(X=X[0],J=J[0]),x=[X,J],f.invert&&(X=f(X),J=f(J)),J<X&&(re=X,X=J,J=re),(X!=p[0]||J!=p[1])&&(p=[X,J])),h&&(ue=G[0],le=G[1],f&&(ue=ue[1],le=le[1]),O=[ue,le],h.invert&&(ue=h(ue),le=h(le)),le<ue&&(re=ue,ue=le,le=re),(ue!=v[0]||le!=v[1])&&(v=[ue,le])),D):(f&&(x?(X=x[0],J=x[1]):(X=p[0],J=p[1],f.invert&&(X=f.invert(X),J=f.invert(J)),J<X&&(re=X,X=J,J=re))),h&&(O?(ue=O[0],le=O[1]):(ue=v[0],le=v[1],h.invert&&(ue=h.invert(ue),le=h.invert(le)),le<ue&&(re=ue,ue=le,le=re))),f&&h?[[X,ue],[J,le]]:f?[X,J]:h&&[ue,le])},D.clear=function(){return D.empty()||(p=[0,0],v=[0,0],x=O=null),D},D.empty=function(){return!!f&&p[0]==p[1]||!!h&&v[0]==v[1]},t.rebind(D,u,"on")};var Qc={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=Jf(function(u){return u.responseText}),t.json=function(u,f){return Xl(u,"application/json",Zc,f)};function Zc(u){return JSON.parse(u.responseText)}t.html=function(u,f){return Xl(u,"text/html",Kc,f)};function Kc(u){var f=i.createRange();return f.selectNode(i.body),f.createContextualFragment(u.responseText)}t.xml=Jf(function(u){return u.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})($H);var Hx=new Date,Vx=new Date;function dn(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),l=i.ceil(a);return a-o<l-a?o:l},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,l){var s=[],c;if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a<o)||!(l>0))return s;do s.push(c=new Date(+a)),t(a,l),e(a);while(c<a&&a<o);return s},i.filter=function(a){return dn(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,l){if(o>=o)if(l<0)for(;++l<=0;)for(;t(o,-1),!a(o););else for(;--l>=0;)for(;t(o,1),!a(o););})},r&&(i.count=function(a,o){return Hx.setTime(+a),Vx.setTime(+o),e(Hx),e(Vx),Math.floor(r(Hx,Vx))},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 Nm=dn(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Nm.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?dn(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):Nm};const qC=Nm;var YC=Nm.range,Lm=1e3,wl=6e4,Dm=36e5,IF=864e5,PF=6048e5,FF=dn(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*Lm)},function(e,t){return(t-e)/Lm},function(e){return e.getUTCSeconds()});const XC=FF;var QC=FF.range,RF=dn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Lm)},function(e,t){e.setTime(+e+t*wl)},function(e,t){return(t-e)/wl},function(e){return e.getMinutes()});const BH=RF;var zH=RF.range,NF=dn(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Lm-e.getMinutes()*wl)},function(e,t){e.setTime(+e+t*Dm)},function(e,t){return(t-e)/Dm},function(e){return e.getHours()});const UH=NF;var jH=NF.range,LF=dn(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())*wl)/IF},function(e){return e.getDate()-1});const kS=LF;var GH=LF.range;function Dl(e){return dn(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())*wl)/PF})}var $m=Dl(0),Td=Dl(1),DF=Dl(2),$F=Dl(3),_l=Dl(4),BF=Dl(5),zF=Dl(6),ZC=$m.range,WH=Td.range,HH=DF.range,VH=$F.range,qH=_l.range,YH=BF.range,XH=zF.range,UF=dn(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 QH=UF;var ZH=UF.range,MS=dn(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()});MS.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:dn(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 Tf=MS;var KH=MS.range,jF=dn(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*wl)},function(e,t){return(t-e)/wl},function(e){return e.getUTCMinutes()});const JH=jF;var eV=jF.range,GF=dn(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Dm)},function(e,t){return(t-e)/Dm},function(e){return e.getUTCHours()});const tV=GF;var rV=GF.range,WF=dn(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 IS=WF;var nV=WF.range;function $l(e){return dn(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 Bm=$l(0),Cd=$l(1),HF=$l(2),VF=$l(3),Sl=$l(4),qF=$l(5),YF=$l(6),KC=Bm.range,iV=Cd.range,aV=HF.range,oV=VF.range,uV=Sl.range,lV=qF.range,sV=YF.range,XF=dn(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 fV=XF;var cV=XF.range,PS=dn(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()});PS.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:dn(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 Cf=PS;var hV=PS.range;const dV=Object.freeze(Object.defineProperty({__proto__:null,timeInterval:dn,timeMillisecond:qC,timeMilliseconds:YC,utcMillisecond:qC,utcMilliseconds:YC,timeSecond:XC,timeSeconds:QC,utcSecond:XC,utcSeconds:QC,timeMinute:BH,timeMinutes:zH,timeHour:UH,timeHours:jH,timeDay:kS,timeDays:GH,timeWeek:$m,timeWeeks:ZC,timeSunday:$m,timeSundays:ZC,timeMonday:Td,timeMondays:WH,timeTuesday:DF,timeTuesdays:HH,timeWednesday:$F,timeWednesdays:VH,timeThursday:_l,timeThursdays:qH,timeFriday:BF,timeFridays:YH,timeSaturday:zF,timeSaturdays:XH,timeMonth:QH,timeMonths:ZH,timeYear:Tf,timeYears:KH,utcMinute:JH,utcMinutes:eV,utcHour:tV,utcHours:rV,utcDay:IS,utcDays:nV,utcWeek:Bm,utcWeeks:KC,utcSunday:Bm,utcSundays:KC,utcMonday:Cd,utcMondays:iV,utcTuesday:HF,utcTuesdays:aV,utcWednesday:VF,utcWednesdays:oV,utcThursday:Sl,utcThursdays:uV,utcFriday:qF,utcFridays:lV,utcSaturday:YF,utcSaturdays:sV,utcMonth:fV,utcMonths:cV,utcYear:Cf,utcYears:hV},Symbol.toStringTag,{value:"Module"}));function qx(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 Yx(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 ph(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,l=e.months,s=e.shortMonths,c=vh(i),d=mh(i),y=vh(a),g=mh(a),m=vh(o),E=mh(o),M=vh(l),b=mh(l),w=vh(s),_=mh(s),C={a:De,A:We,b:_t,B:He,c:null,d:iO,e:iO,f:LV,g:VV,G:YV,H:FV,I:RV,j:NV,L:ZF,m:DV,M:$V,p:we,q:Ve,Q:uO,s:lO,S:BV,u:zV,U:UV,V:jV,w:GV,W:WV,x:null,X:null,y:HV,Y:qV,Z:XV,"%":oO},T={a:st,A:Qe,b:ct,B:yt,c:null,d:aO,e:aO,f:JV,g:sq,G:cq,H:QV,I:ZV,j:KV,L:JF,m:eq,M:tq,p:Ht,q:qt,Q:uO,s:lO,S:rq,u:nq,U:iq,V:aq,w:oq,W:uq,x:null,X:null,y:lq,Y:fq,Z:hq,"%":oO},R={a:ge,A:me,b:ke,B:Re,c:Le,d:rO,e:rO,f:kV,g:tO,G:eO,H:nO,I:nO,j:AV,L:OV,m:EV,M:TV,p:te,q:SV,Q:IV,s:PV,S:CV,u:yV,U:xV,V:bV,w:gV,W:wV,x:ut,X:nt,y:tO,Y:eO,Z:_V,"%":MV};C.x=L(r,C),C.X=L(n,C),C.c=L(t,C),T.x=L(r,T),T.X=L(n,T),T.c=L(t,T);function L(Ze,At){return function(jt){var Ce=[],W=-1,ae=0,I=Ze.length,A,k,$;for(jt instanceof Date||(jt=new Date(+jt));++W<I;)Ze.charCodeAt(W)===37&&(Ce.push(Ze.slice(ae,W)),(k=JC[A=Ze.charAt(++W)])!=null?A=Ze.charAt(++W):k=A==="e"?" ":"0",($=At[A])&&(A=$(jt,k)),Ce.push(A),ae=W+1);return Ce.push(Ze.slice(ae,W)),Ce.join("")}}function q(Ze,At){return function(jt){var Ce=ph(1900,void 0,1),W=j(Ce,Ze,jt+="",0),ae,I;if(W!=jt.length)return null;if("Q"in Ce)return new Date(Ce.Q);if("s"in Ce)return new Date(Ce.s*1e3+("L"in Ce?Ce.L:0));if(At&&!("Z"in Ce)&&(Ce.Z=0),"p"in Ce&&(Ce.H=Ce.H%12+Ce.p*12),Ce.m===void 0&&(Ce.m="q"in Ce?Ce.q:0),"V"in Ce){if(Ce.V<1||Ce.V>53)return null;"w"in Ce||(Ce.w=1),"Z"in Ce?(ae=Yx(ph(Ce.y,0,1)),I=ae.getUTCDay(),ae=I>4||I===0?Cd.ceil(ae):Cd(ae),ae=IS.offset(ae,(Ce.V-1)*7),Ce.y=ae.getUTCFullYear(),Ce.m=ae.getUTCMonth(),Ce.d=ae.getUTCDate()+(Ce.w+6)%7):(ae=qx(ph(Ce.y,0,1)),I=ae.getDay(),ae=I>4||I===0?Td.ceil(ae):Td(ae),ae=kS.offset(ae,(Ce.V-1)*7),Ce.y=ae.getFullYear(),Ce.m=ae.getMonth(),Ce.d=ae.getDate()+(Ce.w+6)%7)}else("W"in Ce||"U"in Ce)&&("w"in Ce||(Ce.w="u"in Ce?Ce.u%7:"W"in Ce?1:0),I="Z"in Ce?Yx(ph(Ce.y,0,1)).getUTCDay():qx(ph(Ce.y,0,1)).getDay(),Ce.m=0,Ce.d="W"in Ce?(Ce.w+6)%7+Ce.W*7-(I+5)%7:Ce.w+Ce.U*7-(I+6)%7);return"Z"in Ce?(Ce.H+=Ce.Z/100|0,Ce.M+=Ce.Z%100,Yx(Ce)):qx(Ce)}}function j(Ze,At,jt,Ce){for(var W=0,ae=At.length,I=jt.length,A,k;W<ae;){if(Ce>=I)return-1;if(A=At.charCodeAt(W++),A===37){if(A=At.charAt(W++),k=R[A in JC?At.charAt(W++):A],!k||(Ce=k(Ze,jt,Ce))<0)return-1}else if(A!=jt.charCodeAt(Ce++))return-1}return Ce}function te(Ze,At,jt){var Ce=c.exec(At.slice(jt));return Ce?(Ze.p=d[Ce[0].toLowerCase()],jt+Ce[0].length):-1}function ge(Ze,At,jt){var Ce=m.exec(At.slice(jt));return Ce?(Ze.w=E[Ce[0].toLowerCase()],jt+Ce[0].length):-1}function me(Ze,At,jt){var Ce=y.exec(At.slice(jt));return Ce?(Ze.w=g[Ce[0].toLowerCase()],jt+Ce[0].length):-1}function ke(Ze,At,jt){var Ce=w.exec(At.slice(jt));return Ce?(Ze.m=_[Ce[0].toLowerCase()],jt+Ce[0].length):-1}function Re(Ze,At,jt){var Ce=M.exec(At.slice(jt));return Ce?(Ze.m=b[Ce[0].toLowerCase()],jt+Ce[0].length):-1}function Le(Ze,At,jt){return j(Ze,t,At,jt)}function ut(Ze,At,jt){return j(Ze,r,At,jt)}function nt(Ze,At,jt){return j(Ze,n,At,jt)}function De(Ze){return o[Ze.getDay()]}function We(Ze){return a[Ze.getDay()]}function _t(Ze){return s[Ze.getMonth()]}function He(Ze){return l[Ze.getMonth()]}function we(Ze){return i[+(Ze.getHours()>=12)]}function Ve(Ze){return 1+~~(Ze.getMonth()/3)}function st(Ze){return o[Ze.getUTCDay()]}function Qe(Ze){return a[Ze.getUTCDay()]}function ct(Ze){return s[Ze.getUTCMonth()]}function yt(Ze){return l[Ze.getUTCMonth()]}function Ht(Ze){return i[+(Ze.getUTCHours()>=12)]}function qt(Ze){return 1+~~(Ze.getUTCMonth()/3)}return{format:function(Ze){var At=L(Ze+="",C);return At.toString=function(){return Ze},At},parse:function(Ze){var At=q(Ze+="",!1);return At.toString=function(){return Ze},At},utcFormat:function(Ze){var At=L(Ze+="",T);return At.toString=function(){return Ze},At},utcParse:function(Ze){var At=q(Ze+="",!0);return At.toString=function(){return Ze},At}}}var JC={"-":"",_:" ",0:"0"},Sn=/^\s*\d+/,pV=/^%/,vV=/[\\^$*+?|[\]().{}]/g;function yr(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function mV(e){return e.replace(vV,"\\$&")}function vh(e){return new RegExp("^(?:"+e.map(mV).join("|")+")","i")}function mh(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function gV(e,t,r){var n=Sn.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function yV(e,t,r){var n=Sn.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function xV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function bV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function wV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function eO(e,t,r){var n=Sn.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function tO(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function _V(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 SV(e,t,r){var n=Sn.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function EV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function rO(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function AV(e,t,r){var n=Sn.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function nO(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function TV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function CV(e,t,r){var n=Sn.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function OV(e,t,r){var n=Sn.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function kV(e,t,r){var n=Sn.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function MV(e,t,r){var n=pV.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function IV(e,t,r){var n=Sn.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function PV(e,t,r){var n=Sn.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function iO(e,t){return yr(e.getDate(),t,2)}function FV(e,t){return yr(e.getHours(),t,2)}function RV(e,t){return yr(e.getHours()%12||12,t,2)}function NV(e,t){return yr(1+kS.count(Tf(e),e),t,3)}function ZF(e,t){return yr(e.getMilliseconds(),t,3)}function LV(e,t){return ZF(e,t)+"000"}function DV(e,t){return yr(e.getMonth()+1,t,2)}function $V(e,t){return yr(e.getMinutes(),t,2)}function BV(e,t){return yr(e.getSeconds(),t,2)}function zV(e){var t=e.getDay();return t===0?7:t}function UV(e,t){return yr($m.count(Tf(e)-1,e),t,2)}function KF(e){var t=e.getDay();return t>=4||t===0?_l(e):_l.ceil(e)}function jV(e,t){return e=KF(e),yr(_l.count(Tf(e),e)+(Tf(e).getDay()===4),t,2)}function GV(e){return e.getDay()}function WV(e,t){return yr(Td.count(Tf(e)-1,e),t,2)}function HV(e,t){return yr(e.getFullYear()%100,t,2)}function VV(e,t){return e=KF(e),yr(e.getFullYear()%100,t,2)}function qV(e,t){return yr(e.getFullYear()%1e4,t,4)}function YV(e,t){var r=e.getDay();return e=r>=4||r===0?_l(e):_l.ceil(e),yr(e.getFullYear()%1e4,t,4)}function XV(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yr(t/60|0,"0",2)+yr(t%60,"0",2)}function aO(e,t){return yr(e.getUTCDate(),t,2)}function QV(e,t){return yr(e.getUTCHours(),t,2)}function ZV(e,t){return yr(e.getUTCHours()%12||12,t,2)}function KV(e,t){return yr(1+IS.count(Cf(e),e),t,3)}function JF(e,t){return yr(e.getUTCMilliseconds(),t,3)}function JV(e,t){return JF(e,t)+"000"}function eq(e,t){return yr(e.getUTCMonth()+1,t,2)}function tq(e,t){return yr(e.getUTCMinutes(),t,2)}function rq(e,t){return yr(e.getUTCSeconds(),t,2)}function nq(e){var t=e.getUTCDay();return t===0?7:t}function iq(e,t){return yr(Bm.count(Cf(e)-1,e),t,2)}function eR(e){var t=e.getUTCDay();return t>=4||t===0?Sl(e):Sl.ceil(e)}function aq(e,t){return e=eR(e),yr(Sl.count(Cf(e),e)+(Cf(e).getUTCDay()===4),t,2)}function oq(e){return e.getUTCDay()}function uq(e,t){return yr(Cd.count(Cf(e)-1,e),t,2)}function lq(e,t){return yr(e.getUTCFullYear()%100,t,2)}function sq(e,t){return e=eR(e),yr(e.getUTCFullYear()%100,t,2)}function fq(e,t){return yr(e.getUTCFullYear()%1e4,t,4)}function cq(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Sl(e):Sl.ceil(e),yr(e.getUTCFullYear()%1e4,t,4)}function hq(){return"+0000"}function oO(){return"%"}function uO(e){return+e}function lO(e){return Math.floor(+e/1e3)}var Is,tR,rR,FS,RS;nR({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 nR(e){return Is=QF(e),tR=Is.format,rR=Is.parse,FS=Is.utcFormat,RS=Is.utcParse,Is}var iR="%Y-%m-%dT%H:%M:%S.%LZ";function dq(e){return e.toISOString()}var pq=Date.prototype.toISOString?dq:FS(iR);const vq=pq;function mq(e){var t=new Date(e);return isNaN(t)?null:t}var gq=+new Date("2000-01-01T00:00:00.000Z")?mq:RS(iR);const yq=gq,xq=Object.freeze(Object.defineProperty({__proto__:null,timeFormatDefaultLocale:nR,get timeFormat(){return tR},get timeParse(){return rR},get utcFormat(){return FS},get utcParse(){return RS},timeFormatLocale:QF,isoFormat:vq,isoParse:yq},Symbol.toStringTag,{value:"Module"})),Jte=Tl(xq);function bq(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function zm(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 Of(e){return e=zm(Math.abs(e)),e?e[1]:NaN}function wq(e,t){return function(r,n){for(var i=r.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>n&&(l=Math.max(1,n-s)),a.push(r.substring(i-=l,i+l)),!((s+=l+1)>n));)l=e[o=(o+1)%e.length];return a.reverse().join(t)}}function _q(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Sq=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Um(e){if(!(t=Sq.exec(e)))throw new Error("invalid format: "+e);var t;return new Lg({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]})}Um.prototype=Lg.prototype;function Lg(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+""}Lg.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 Eq(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 aR;function Aq(e,t){var r=zm(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(aR=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")+zm(e,Math.max(0,t+a-1))[0]}function sO(e,t){var r=zm(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 fO={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:bq,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 sO(e*100,t)},r:sO,s:Aq,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function cO(e){return e}var hO=Array.prototype.map,dO=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function oR(e){var t=e.grouping===void 0||e.thousands===void 0?cO:wq(hO.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?cO:_q(hO.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"-":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function c(y){y=Um(y);var g=y.fill,m=y.align,E=y.sign,M=y.symbol,b=y.zero,w=y.width,_=y.comma,C=y.precision,T=y.trim,R=y.type;R==="n"?(_=!0,R="g"):fO[R]||(C===void 0&&(C=12),T=!0,R="g"),(b||g==="0"&&m==="=")&&(b=!0,g="0",m="=");var L=M==="$"?r:M==="#"&&/[boxX]/.test(R)?"0"+R.toLowerCase():"",q=M==="$"?n:/[%p]/.test(R)?o:"",j=fO[R],te=/[defgprs%]/.test(R);C=C===void 0?6:/[gprs]/.test(R)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function ge(me){var ke=L,Re=q,Le,ut,nt;if(R==="c")Re=j(me)+Re,me="";else{me=+me;var De=me<0||1/me<0;if(me=isNaN(me)?s:j(Math.abs(me),C),T&&(me=Eq(me)),De&&+me==0&&E!=="+"&&(De=!1),ke=(De?E==="("?E:l:E==="-"||E==="("?"":E)+ke,Re=(R==="s"?dO[8+aR/3]:"")+Re+(De&&E==="("?")":""),te){for(Le=-1,ut=me.length;++Le<ut;)if(nt=me.charCodeAt(Le),48>nt||nt>57){Re=(nt===46?i+me.slice(Le+1):me.slice(Le))+Re,me=me.slice(0,Le);break}}}_&&!b&&(me=t(me,1/0));var We=ke.length+me.length+Re.length,_t=We<w?new Array(w-We+1).join(g):"";switch(_&&b&&(me=t(_t+me,_t.length?w-Re.length:1/0),_t=""),m){case"<":me=ke+me+Re+_t;break;case"=":me=ke+_t+me+Re;break;case"^":me=_t.slice(0,We=_t.length>>1)+ke+me+Re+_t.slice(We);break;default:me=_t+ke+me+Re;break}return a(me)}return ge.toString=function(){return y+""},ge}function d(y,g){var m=c((y=Um(y),y.type="f",y)),E=Math.max(-8,Math.min(8,Math.floor(Of(g)/3)))*3,M=Math.pow(10,-E),b=dO[8+E/3];return function(w){return m(M*w)+b}}return{format:c,formatPrefix:d}}var n0,uR,lR;sR({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function sR(e){return n0=oR(e),uR=n0.format,lR=n0.formatPrefix,n0}function Tq(e){return Math.max(0,-Of(Math.abs(e)))}function Cq(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Of(t)/3)))*3-Of(Math.abs(e)))}function Oq(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Of(t)-Of(e))+1}const kq=Object.freeze(Object.defineProperty({__proto__:null,formatDefaultLocale:sR,get format(){return uR},get formatPrefix(){return lR},formatLocale:oR,formatSpecifier:Um,FormatSpecifier:Lg,precisionFixed:Tq,precisionPrefix:Cq,precisionRound:Oq},Symbol.toStringTag,{value:"Module"})),ere=Tl(kq);var Mq=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},Iq=Mq,tre=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&Iq(r))return!1}else if(t!=="number")return!1;return e-e<1},Pq={exports:{}};(function(e){(function(t){var r=/^\s+/,n=/\s+$/,i=0,a=t.round,o=t.min,l=t.max,s=t.random;function c(W,ae){if(W=W||"",ae=ae||{},W instanceof c)return W;if(!(this instanceof c))return new c(W,ae);var I=d(W);this._originalInput=W,this._r=I.r,this._g=I.g,this._b=I.b,this._a=I.a,this._roundA=a(100*this._a)/100,this._format=ae.format||I.format,this._gradientType=ae.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=I.ok,this._tc_id=i++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var W=this.toRgb();return(W.r*299+W.g*587+W.b*114)/1e3},getLuminance:function(){var W=this.toRgb(),ae,I,A,k,$,fe;return ae=W.r/255,I=W.g/255,A=W.b/255,ae<=.03928?k=ae/12.92:k=t.pow((ae+.055)/1.055,2.4),I<=.03928?$=I/12.92:$=t.pow((I+.055)/1.055,2.4),A<=.03928?fe=A/12.92:fe=t.pow((A+.055)/1.055,2.4),.2126*k+.7152*$+.0722*fe},setAlpha:function(W){return this._a=_t(W),this._roundA=a(100*this._a)/100,this},toHsv:function(){var W=E(this._r,this._g,this._b);return{h:W.h*360,s:W.s,v:W.v,a:this._a}},toHsvString:function(){var W=E(this._r,this._g,this._b),ae=a(W.h*360),I=a(W.s*100),A=a(W.v*100);return this._a==1?"hsv("+ae+", "+I+"%, "+A+"%)":"hsva("+ae+", "+I+"%, "+A+"%, "+this._roundA+")"},toHsl:function(){var W=g(this._r,this._g,this._b);return{h:W.h*360,s:W.s,l:W.l,a:this._a}},toHslString:function(){var W=g(this._r,this._g,this._b),ae=a(W.h*360),I=a(W.s*100),A=a(W.l*100);return this._a==1?"hsl("+ae+", "+I+"%, "+A+"%)":"hsla("+ae+", "+I+"%, "+A+"%, "+this._roundA+")"},toHex:function(W){return b(this._r,this._g,this._b,W)},toHexString:function(W){return"#"+this.toHex(W)},toHex8:function(W){return w(this._r,this._g,this._b,this._a,W)},toHex8String:function(W){return"#"+this.toHex8(W)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(He(this._r,255)*100)+"%",g:a(He(this._g,255)*100)+"%",b:a(He(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(He(this._r,255)*100)+"%, "+a(He(this._g,255)*100)+"%, "+a(He(this._b,255)*100)+"%)":"rgba("+a(He(this._r,255)*100)+"%, "+a(He(this._g,255)*100)+"%, "+a(He(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:De[b(this._r,this._g,this._b,!0)]||!1},toFilter:function(W){var ae="#"+_(this._r,this._g,this._b,this._a),I=ae,A=this._gradientType?"GradientType = 1, ":"";if(W){var k=c(W);I="#"+_(k._r,k._g,k._b,k._a)}return"progid:DXImageTransform.Microsoft.gradient("+A+"startColorstr="+ae+",endColorstr="+I+")"},toString:function(W){var ae=!!W;W=W||this._format;var I=!1,A=this._a<1&&this._a>=0,k=!ae&&A&&(W==="hex"||W==="hex6"||W==="hex3"||W==="hex4"||W==="hex8"||W==="name");return k?W==="name"&&this._a===0?this.toName():this.toRgbString():(W==="rgb"&&(I=this.toRgbString()),W==="prgb"&&(I=this.toPercentageRgbString()),(W==="hex"||W==="hex6")&&(I=this.toHexString()),W==="hex3"&&(I=this.toHexString(!0)),W==="hex4"&&(I=this.toHex8String(!0)),W==="hex8"&&(I=this.toHex8String()),W==="name"&&(I=this.toName()),W==="hsl"&&(I=this.toHslString()),W==="hsv"&&(I=this.toHsvString()),I||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(W,ae){var I=W.apply(null,[this].concat([].slice.call(ae)));return this._r=I._r,this._g=I._g,this._b=I._b,this.setAlpha(I._a),this},lighten:function(){return this._applyModification(L,arguments)},brighten:function(){return this._applyModification(q,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(T,arguments)},greyscale:function(){return this._applyModification(R,arguments)},spin:function(){return this._applyModification(te,arguments)},_applyCombination:function(W,ae){return W.apply(null,[this].concat([].slice.call(ae)))},analogous:function(){return this._applyCombination(Le,arguments)},complement:function(){return this._applyCombination(ge,arguments)},monochromatic:function(){return this._applyCombination(ut,arguments)},splitcomplement:function(){return this._applyCombination(Re,arguments)},triad:function(){return this._applyCombination(me,arguments)},tetrad:function(){return this._applyCombination(ke,arguments)}},c.fromRatio=function(W,ae){if(typeof W=="object"){var I={};for(var A in W)W.hasOwnProperty(A)&&(A==="a"?I[A]=W[A]:I[A]=yt(W[A]));W=I}return c(W,ae)};function d(W){var ae={r:0,g:0,b:0},I=1,A=null,k=null,$=null,fe=!1,Fe=!1;return typeof W=="string"&&(W=jt(W)),typeof W=="object"&&(At(W.r)&&At(W.g)&&At(W.b)?(ae=y(W.r,W.g,W.b),fe=!0,Fe=String(W.r).substr(-1)==="%"?"prgb":"rgb"):At(W.h)&&At(W.s)&&At(W.v)?(A=yt(W.s),k=yt(W.v),ae=M(W.h,A,k),fe=!0,Fe="hsv"):At(W.h)&&At(W.s)&&At(W.l)&&(A=yt(W.s),$=yt(W.l),ae=m(W.h,A,$),fe=!0,Fe="hsl"),W.hasOwnProperty("a")&&(I=W.a)),I=_t(I),{ok:fe,format:W.format||Fe,r:o(255,l(ae.r,0)),g:o(255,l(ae.g,0)),b:o(255,l(ae.b,0)),a:I}}function y(W,ae,I){return{r:He(W,255)*255,g:He(ae,255)*255,b:He(I,255)*255}}function g(W,ae,I){W=He(W,255),ae=He(ae,255),I=He(I,255);var A=l(W,ae,I),k=o(W,ae,I),$,fe,Fe=(A+k)/2;if(A==k)$=fe=0;else{var ze=A-k;switch(fe=Fe>.5?ze/(2-A-k):ze/(A+k),A){case W:$=(ae-I)/ze+(ae<I?6:0);break;case ae:$=(I-W)/ze+2;break;case I:$=(W-ae)/ze+4;break}$/=6}return{h:$,s:fe,l:Fe}}function m(W,ae,I){var A,k,$;W=He(W,360),ae=He(ae,100),I=He(I,100);function fe(Qt,sr,nr){return nr<0&&(nr+=1),nr>1&&(nr-=1),nr<1/6?Qt+(sr-Qt)*6*nr:nr<1/2?sr:nr<2/3?Qt+(sr-Qt)*(2/3-nr)*6:Qt}if(ae===0)A=k=$=I;else{var Fe=I<.5?I*(1+ae):I+ae-I*ae,ze=2*I-Fe;A=fe(ze,Fe,W+1/3),k=fe(ze,Fe,W),$=fe(ze,Fe,W-1/3)}return{r:A*255,g:k*255,b:$*255}}function E(W,ae,I){W=He(W,255),ae=He(ae,255),I=He(I,255);var A=l(W,ae,I),k=o(W,ae,I),$,fe,Fe=A,ze=A-k;if(fe=A===0?0:ze/A,A==k)$=0;else{switch(A){case W:$=(ae-I)/ze+(ae<I?6:0);break;case ae:$=(I-W)/ze+2;break;case I:$=(W-ae)/ze+4;break}$/=6}return{h:$,s:fe,v:Fe}}function M(W,ae,I){W=He(W,360)*6,ae=He(ae,100),I=He(I,100);var A=t.floor(W),k=W-A,$=I*(1-ae),fe=I*(1-k*ae),Fe=I*(1-(1-k)*ae),ze=A%6,Qt=[I,fe,$,$,Fe,I][ze],sr=[Fe,I,I,fe,$,$][ze],nr=[$,$,Fe,I,I,fe][ze];return{r:Qt*255,g:sr*255,b:nr*255}}function b(W,ae,I,A){var k=[ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16))];return A&&k[0].charAt(0)==k[0].charAt(1)&&k[1].charAt(0)==k[1].charAt(1)&&k[2].charAt(0)==k[2].charAt(1)?k[0].charAt(0)+k[1].charAt(0)+k[2].charAt(0):k.join("")}function w(W,ae,I,A,k){var $=[ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16)),ct(Ht(A))];return k&&$[0].charAt(0)==$[0].charAt(1)&&$[1].charAt(0)==$[1].charAt(1)&&$[2].charAt(0)==$[2].charAt(1)&&$[3].charAt(0)==$[3].charAt(1)?$[0].charAt(0)+$[1].charAt(0)+$[2].charAt(0)+$[3].charAt(0):$.join("")}function _(W,ae,I,A){var k=[ct(Ht(A)),ct(a(W).toString(16)),ct(a(ae).toString(16)),ct(a(I).toString(16))];return k.join("")}c.equals=function(W,ae){return!W||!ae?!1:c(W).toRgbString()==c(ae).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})};function C(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.s-=ae/100,I.s=we(I.s),c(I)}function T(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.s+=ae/100,I.s=we(I.s),c(I)}function R(W){return c(W).desaturate(100)}function L(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.l+=ae/100,I.l=we(I.l),c(I)}function q(W,ae){ae=ae===0?0:ae||10;var I=c(W).toRgb();return I.r=l(0,o(255,I.r-a(255*-(ae/100)))),I.g=l(0,o(255,I.g-a(255*-(ae/100)))),I.b=l(0,o(255,I.b-a(255*-(ae/100)))),c(I)}function j(W,ae){ae=ae===0?0:ae||10;var I=c(W).toHsl();return I.l-=ae/100,I.l=we(I.l),c(I)}function te(W,ae){var I=c(W).toHsl(),A=(I.h+ae)%360;return I.h=A<0?360+A:A,c(I)}function ge(W){var ae=c(W).toHsl();return ae.h=(ae.h+180)%360,c(ae)}function me(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+120)%360,s:ae.s,l:ae.l}),c({h:(I+240)%360,s:ae.s,l:ae.l})]}function ke(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+90)%360,s:ae.s,l:ae.l}),c({h:(I+180)%360,s:ae.s,l:ae.l}),c({h:(I+270)%360,s:ae.s,l:ae.l})]}function Re(W){var ae=c(W).toHsl(),I=ae.h;return[c(W),c({h:(I+72)%360,s:ae.s,l:ae.l}),c({h:(I+216)%360,s:ae.s,l:ae.l})]}function Le(W,ae,I){ae=ae||6,I=I||30;var A=c(W).toHsl(),k=360/I,$=[c(W)];for(A.h=(A.h-(k*ae>>1)+720)%360;--ae;)A.h=(A.h+k)%360,$.push(c(A));return $}function ut(W,ae){ae=ae||6;for(var I=c(W).toHsv(),A=I.h,k=I.s,$=I.v,fe=[],Fe=1/ae;ae--;)fe.push(c({h:A,s:k,v:$})),$=($+Fe)%1;return fe}c.mix=function(W,ae,I){I=I===0?0:I||50;var A=c(W).toRgb(),k=c(ae).toRgb(),$=I/100,fe={r:(k.r-A.r)*$+A.r,g:(k.g-A.g)*$+A.g,b:(k.b-A.b)*$+A.b,a:(k.a-A.a)*$+A.a};return c(fe)},c.readability=function(W,ae){var I=c(W),A=c(ae);return(t.max(I.getLuminance(),A.getLuminance())+.05)/(t.min(I.getLuminance(),A.getLuminance())+.05)},c.isReadable=function(W,ae,I){var A=c.readability(W,ae),k,$;switch($=!1,k=Ce(I),k.level+k.size){case"AAsmall":case"AAAlarge":$=A>=4.5;break;case"AAlarge":$=A>=3;break;case"AAAsmall":$=A>=7;break}return $},c.mostReadable=function(W,ae,I){var A=null,k=0,$,fe,Fe,ze;I=I||{},fe=I.includeFallbackColors,Fe=I.level,ze=I.size;for(var Qt=0;Qt<ae.length;Qt++)$=c.readability(W,ae[Qt]),$>k&&(k=$,A=c(ae[Qt]));return c.isReadable(W,A,{level:Fe,size:ze})||!fe?A:(I.includeFallbackColors=!1,c.mostReadable(W,["#fff","#000"],I))};var nt=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},De=c.hexNames=We(nt);function We(W){var ae={};for(var I in W)W.hasOwnProperty(I)&&(ae[W[I]]=I);return ae}function _t(W){return W=parseFloat(W),(isNaN(W)||W<0||W>1)&&(W=1),W}function He(W,ae){st(W)&&(W="100%");var I=Qe(W);return W=o(ae,l(0,parseFloat(W))),I&&(W=parseInt(W*ae,10)/100),t.abs(W-ae)<1e-6?1:W%ae/parseFloat(ae)}function we(W){return o(1,l(0,W))}function Ve(W){return parseInt(W,16)}function st(W){return typeof W=="string"&&W.indexOf(".")!=-1&&parseFloat(W)===1}function Qe(W){return typeof W=="string"&&W.indexOf("%")!=-1}function ct(W){return W.length==1?"0"+W:""+W}function yt(W){return W<=1&&(W=W*100+"%"),W}function Ht(W){return t.round(parseFloat(W)*255).toString(16)}function qt(W){return Ve(W)/255}var Ze=function(){var W="[-\\+]?\\d+%?",ae="[-\\+]?\\d*\\.\\d+%?",I="(?:"+ae+")|(?:"+W+")",A="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",k="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?";return{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+A),rgba:new RegExp("rgba"+k),hsl:new RegExp("hsl"+A),hsla:new RegExp("hsla"+k),hsv:new RegExp("hsv"+A),hsva:new RegExp("hsva"+k),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function At(W){return!!Ze.CSS_UNIT.exec(W)}function jt(W){W=W.replace(r,"").replace(n,"").toLowerCase();var ae=!1;if(nt[W])W=nt[W],ae=!0;else if(W=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var I;return(I=Ze.rgb.exec(W))?{r:I[1],g:I[2],b:I[3]}:(I=Ze.rgba.exec(W))?{r:I[1],g:I[2],b:I[3],a:I[4]}:(I=Ze.hsl.exec(W))?{h:I[1],s:I[2],l:I[3]}:(I=Ze.hsla.exec(W))?{h:I[1],s:I[2],l:I[3],a:I[4]}:(I=Ze.hsv.exec(W))?{h:I[1],s:I[2],v:I[3]}:(I=Ze.hsva.exec(W))?{h:I[1],s:I[2],v:I[3],a:I[4]}:(I=Ze.hex8.exec(W))?{r:Ve(I[1]),g:Ve(I[2]),b:Ve(I[3]),a:qt(I[4]),format:ae?"name":"hex8"}:(I=Ze.hex6.exec(W))?{r:Ve(I[1]),g:Ve(I[2]),b:Ve(I[3]),format:ae?"name":"hex"}:(I=Ze.hex4.exec(W))?{r:Ve(I[1]+""+I[1]),g:Ve(I[2]+""+I[2]),b:Ve(I[3]+""+I[3]),a:qt(I[4]+""+I[4]),format:ae?"name":"hex8"}:(I=Ze.hex3.exec(W))?{r:Ve(I[1]+""+I[1]),g:Ve(I[2]+""+I[2]),b:Ve(I[3]+""+I[3]),format:ae?"name":"hex"}:!1}function Ce(W){var ae,I;return W=W||{level:"AA",size:"small"},ae=(W.level||"AA").toUpperCase(),I=(W.size||"small").toLowerCase(),ae!=="AA"&&ae!=="AAA"&&(ae="AA"),I!=="small"&&I!=="large"&&(I="small"),{level:ae,size:I}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Pq);var Fq=Rq;function Rq(){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 Nq=Lq;function Lq(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 Dq=$q;function $q(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 fR=Bq;function Bq(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 zq=Uq;function Uq(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],a=t[6],o=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=r,e[6]=t[9],e[7]=t[13],e[8]=n,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}var jq=Gq;function Gq(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],s=t[6],c=t[7],d=t[8],y=t[9],g=t[10],m=t[11],E=t[12],M=t[13],b=t[14],w=t[15],_=r*l-n*o,C=r*s-i*o,T=r*c-a*o,R=n*s-i*l,L=n*c-a*l,q=i*c-a*s,j=d*M-y*E,te=d*b-g*E,ge=d*w-m*E,me=y*b-g*M,ke=y*w-m*M,Re=g*w-m*b,Le=_*Re-C*ke+T*me+R*ge-L*te+q*j;return Le?(Le=1/Le,e[0]=(l*Re-s*ke+c*me)*Le,e[1]=(i*ke-n*Re-a*me)*Le,e[2]=(M*q-b*L+w*R)*Le,e[3]=(g*L-y*q-m*R)*Le,e[4]=(s*ge-o*Re-c*te)*Le,e[5]=(r*Re-i*ge+a*te)*Le,e[6]=(b*T-E*q-w*C)*Le,e[7]=(d*q-g*T+m*C)*Le,e[8]=(o*ke-l*ge+c*j)*Le,e[9]=(n*ge-r*ke-a*j)*Le,e[10]=(E*L-M*T+w*_)*Le,e[11]=(y*T-d*L-m*_)*Le,e[12]=(l*te-o*me-s*j)*Le,e[13]=(r*me-n*te+i*j)*Le,e[14]=(M*C-E*R-b*_)*Le,e[15]=(d*R-y*C+g*_)*Le,e):null}var Wq=Hq;function Hq(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],s=t[6],c=t[7],d=t[8],y=t[9],g=t[10],m=t[11],E=t[12],M=t[13],b=t[14],w=t[15];return e[0]=l*(g*w-m*b)-y*(s*w-c*b)+M*(s*m-c*g),e[1]=-(n*(g*w-m*b)-y*(i*w-a*b)+M*(i*m-a*g)),e[2]=n*(s*w-c*b)-l*(i*w-a*b)+M*(i*c-a*s),e[3]=-(n*(s*m-c*g)-l*(i*m-a*g)+y*(i*c-a*s)),e[4]=-(o*(g*w-m*b)-d*(s*w-c*b)+E*(s*m-c*g)),e[5]=r*(g*w-m*b)-d*(i*w-a*b)+E*(i*m-a*g),e[6]=-(r*(s*w-c*b)-o*(i*w-a*b)+E*(i*c-a*s)),e[7]=r*(s*m-c*g)-o*(i*m-a*g)+d*(i*c-a*s),e[8]=o*(y*w-m*M)-d*(l*w-c*M)+E*(l*m-c*y),e[9]=-(r*(y*w-m*M)-d*(n*w-a*M)+E*(n*m-a*y)),e[10]=r*(l*w-c*M)-o*(n*w-a*M)+E*(n*c-a*l),e[11]=-(r*(l*m-c*y)-o*(n*m-a*y)+d*(n*c-a*l)),e[12]=-(o*(y*b-g*M)-d*(l*b-s*M)+E*(l*g-s*y)),e[13]=r*(y*b-g*M)-d*(n*b-i*M)+E*(n*g-i*y),e[14]=-(r*(l*b-s*M)-o*(n*b-i*M)+E*(n*s-i*l)),e[15]=r*(l*g-s*y)-o*(n*g-i*y)+d*(n*s-i*l),e}var Vq=qq;function qq(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],l=e[6],s=e[7],c=e[8],d=e[9],y=e[10],g=e[11],m=e[12],E=e[13],M=e[14],b=e[15],w=t*o-r*a,_=t*l-n*a,C=t*s-i*a,T=r*l-n*o,R=r*s-i*o,L=n*s-i*l,q=c*E-d*m,j=c*M-y*m,te=c*b-g*m,ge=d*M-y*E,me=d*b-g*E,ke=y*b-g*M;return w*ke-_*me+C*ge+T*te-R*j+L*q}var Yq=Xq;function Xq(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],s=t[5],c=t[6],d=t[7],y=t[8],g=t[9],m=t[10],E=t[11],M=t[12],b=t[13],w=t[14],_=t[15],C=r[0],T=r[1],R=r[2],L=r[3];return e[0]=C*n+T*l+R*y+L*M,e[1]=C*i+T*s+R*g+L*b,e[2]=C*a+T*c+R*m+L*w,e[3]=C*o+T*d+R*E+L*_,C=r[4],T=r[5],R=r[6],L=r[7],e[4]=C*n+T*l+R*y+L*M,e[5]=C*i+T*s+R*g+L*b,e[6]=C*a+T*c+R*m+L*w,e[7]=C*o+T*d+R*E+L*_,C=r[8],T=r[9],R=r[10],L=r[11],e[8]=C*n+T*l+R*y+L*M,e[9]=C*i+T*s+R*g+L*b,e[10]=C*a+T*c+R*m+L*w,e[11]=C*o+T*d+R*E+L*_,C=r[12],T=r[13],R=r[14],L=r[15],e[12]=C*n+T*l+R*y+L*M,e[13]=C*i+T*s+R*g+L*b,e[14]=C*a+T*c+R*m+L*w,e[15]=C*o+T*d+R*E+L*_,e}var Qq=Zq;function Zq(e,t,r){var n=r[0],i=r[1],a=r[2],o,l,s,c,d,y,g,m,E,M,b,w;return t===e?(e[12]=t[0]*n+t[4]*i+t[8]*a+t[12],e[13]=t[1]*n+t[5]*i+t[9]*a+t[13],e[14]=t[2]*n+t[6]*i+t[10]*a+t[14],e[15]=t[3]*n+t[7]*i+t[11]*a+t[15]):(o=t[0],l=t[1],s=t[2],c=t[3],d=t[4],y=t[5],g=t[6],m=t[7],E=t[8],M=t[9],b=t[10],w=t[11],e[0]=o,e[1]=l,e[2]=s,e[3]=c,e[4]=d,e[5]=y,e[6]=g,e[7]=m,e[8]=E,e[9]=M,e[10]=b,e[11]=w,e[12]=o*n+d*i+E*a+t[12],e[13]=l*n+y*i+M*a+t[13],e[14]=s*n+g*i+b*a+t[14],e[15]=c*n+m*i+w*a+t[15]),e}var Kq=Jq;function Jq(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 eY=tY;function tY(e,t,r,n){var i=n[0],a=n[1],o=n[2],l=Math.sqrt(i*i+a*a+o*o),s,c,d,y,g,m,E,M,b,w,_,C,T,R,L,q,j,te,ge,me,ke,Re,Le,ut;return Math.abs(l)<1e-6?null:(l=1/l,i*=l,a*=l,o*=l,s=Math.sin(r),c=Math.cos(r),d=1-c,y=t[0],g=t[1],m=t[2],E=t[3],M=t[4],b=t[5],w=t[6],_=t[7],C=t[8],T=t[9],R=t[10],L=t[11],q=i*i*d+c,j=a*i*d+o*s,te=o*i*d-a*s,ge=i*a*d-o*s,me=a*a*d+c,ke=o*a*d+i*s,Re=i*o*d+a*s,Le=a*o*d-i*s,ut=o*o*d+c,e[0]=y*q+M*j+C*te,e[1]=g*q+b*j+T*te,e[2]=m*q+w*j+R*te,e[3]=E*q+_*j+L*te,e[4]=y*ge+M*me+C*ke,e[5]=g*ge+b*me+T*ke,e[6]=m*ge+w*me+R*ke,e[7]=E*ge+_*me+L*ke,e[8]=y*Re+M*Le+C*ut,e[9]=g*Re+b*Le+T*ut,e[10]=m*Re+w*Le+R*ut,e[11]=E*Re+_*Le+L*ut,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}var rY=nY;function nY(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],l=t[6],s=t[7],c=t[8],d=t[9],y=t[10],g=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=a*i+c*n,e[5]=o*i+d*n,e[6]=l*i+y*n,e[7]=s*i+g*n,e[8]=c*i-a*n,e[9]=d*i-o*n,e[10]=y*i-l*n,e[11]=g*i-s*n,e}var iY=aY;function aY(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],s=t[3],c=t[8],d=t[9],y=t[10],g=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i-c*n,e[1]=o*i-d*n,e[2]=l*i-y*n,e[3]=s*i-g*n,e[8]=a*n+c*i,e[9]=o*n+d*i,e[10]=l*n+y*i,e[11]=s*n+g*i,e}var oY=uY;function uY(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],s=t[3],c=t[4],d=t[5],y=t[6],g=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i+c*n,e[1]=o*i+d*n,e[2]=l*i+y*n,e[3]=s*i+g*n,e[4]=c*i-a*n,e[5]=d*i-o*n,e[6]=y*i-l*n,e[7]=g*i-s*n,e}var lY=sY;function sY(e,t,r){var n,i,a,o=r[0],l=r[1],s=r[2],c=Math.sqrt(o*o+l*l+s*s);return Math.abs(c)<1e-6?null:(c=1/c,o*=c,l*=c,s*=c,n=Math.sin(t),i=Math.cos(t),a=1-i,e[0]=o*o*a+i,e[1]=l*o*a+s*n,e[2]=s*o*a-l*n,e[3]=0,e[4]=o*l*a-s*n,e[5]=l*l*a+i,e[6]=s*l*a+o*n,e[7]=0,e[8]=o*s*a+l*n,e[9]=l*s*a-o*n,e[10]=s*s*a+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}var fY=cY;function cY(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=n+n,s=i+i,c=a+a,d=n*l,y=n*s,g=n*c,m=i*s,E=i*c,M=a*c,b=o*l,w=o*s,_=o*c;return e[0]=1-(m+M),e[1]=y+_,e[2]=g-w,e[3]=0,e[4]=y-_,e[5]=1-(d+M),e[6]=E+b,e[7]=0,e[8]=g+w,e[9]=E-b,e[10]=1-(d+m),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}var hY=dY;function dY(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 pY=vY;function vY(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 mY=gY;function gY(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 yY=xY;function xY(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 bY=wY;function wY(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 _Y=SY;function SY(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=r+r,l=n+n,s=i+i,c=r*o,d=n*o,y=n*l,g=i*o,m=i*l,E=i*s,M=a*o,b=a*l,w=a*s;return e[0]=1-y-E,e[1]=d+w,e[2]=g-b,e[3]=0,e[4]=d-w,e[5]=1-c-E,e[6]=m+M,e[7]=0,e[8]=g+b,e[9]=m-M,e[10]=1-c-y,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var EY=AY;function AY(e,t,r,n,i,a,o){var l=1/(r-t),s=1/(i-n),c=1/(a-o);return e[0]=a*2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a*2*s,e[6]=0,e[7]=0,e[8]=(r+t)*l,e[9]=(i+n)*s,e[10]=(o+a)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*c,e[15]=0,e}var TY=CY;function CY(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 OY=kY;function kY(e,t,r,n){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),s=2/(o+l),c=2/(i+a);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-((o-l)*s*.5),e[9]=(i-a)*c*.5,e[10]=n/(r-n),e[11]=-1,e[12]=0,e[13]=0,e[14]=n*r/(r-n),e[15]=0,e}var MY=IY;function IY(e,t,r,n,i,a,o){var l=1/(t-r),s=1/(n-i),c=1/(a-o);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+r)*l,e[13]=(i+n)*s,e[14]=(o+a)*c,e[15]=1,e}var PY=fR,FY=RY;function RY(e,t,r,n){var i,a,o,l,s,c,d,y,g,m,E=t[0],M=t[1],b=t[2],w=n[0],_=n[1],C=n[2],T=r[0],R=r[1],L=r[2];return Math.abs(E-T)<1e-6&&Math.abs(M-R)<1e-6&&Math.abs(b-L)<1e-6?PY(e):(d=E-T,y=M-R,g=b-L,m=1/Math.sqrt(d*d+y*y+g*g),d*=m,y*=m,g*=m,i=_*g-C*y,a=C*d-w*g,o=w*y-_*d,m=Math.sqrt(i*i+a*a+o*o),m?(m=1/m,i*=m,a*=m,o*=m):(i=0,a=0,o=0),l=y*o-g*a,s=g*i-d*o,c=d*a-y*i,m=Math.sqrt(l*l+s*s+c*c),m?(m=1/m,l*=m,s*=m,c*=m):(l=0,s=0,c=0),e[0]=i,e[1]=l,e[2]=d,e[3]=0,e[4]=a,e[5]=s,e[6]=y,e[7]=0,e[8]=o,e[9]=c,e[10]=g,e[11]=0,e[12]=-(i*E+a*M+o*b),e[13]=-(l*E+s*M+c*b),e[14]=-(d*E+y*M+g*b),e[15]=1,e)}var NY=LY;function LY(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 rre={create:Fq,clone:Nq,copy:Dq,identity:fR,transpose:zq,invert:jq,adjoint:Wq,determinant:Vq,multiply:Yq,translate:Qq,scale:Kq,rotate:eY,rotateX:rY,rotateY:iY,rotateZ:oY,fromRotation:lY,fromRotationTranslation:fY,fromScaling:hY,fromTranslation:pY,fromXRotation:mY,fromYRotation:yY,fromZRotation:bY,fromQuat:_Y,frustum:EY,perspective:TY,perspectiveFromFieldOfView:OY,ortho:MY,lookAt:FY,str:NY},NS={exports:{}};NS.exports=LS;NS.exports.isMobile=LS;NS.exports.default=LS;const DY=/(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|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,$Y=/CrOS/,BY=/android|ipad|playbook|silk/i;function LS(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=DY.test(t)&&!$Y.test(t)||!!e.tablet&&BY.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var zY=!0,UY=zY,b_;typeof Ar.matchMedia=="function"?b_=!Ar.matchMedia("(hover: none)").matches:b_=UY;var nre=b_,cR={exports:{}},cf=typeof Reflect=="object"?Reflect:null,pO=cf&&typeof cf.apply=="function"?cf.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},U0;cf&&typeof cf.ownKeys=="function"?U0=cf.ownKeys:Object.getOwnPropertySymbols?U0=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:U0=function(t){return Object.getOwnPropertyNames(t)};function jY(e){console&&console.warn&&console.warn(e)}var hR=Number.isNaN||function(t){return t!==t};function Tr(){Tr.init.call(this)}cR.exports=Tr;cR.exports.once=VY;Tr.EventEmitter=Tr;Tr.prototype._events=void 0;Tr.prototype._eventsCount=0;Tr.prototype._maxListeners=void 0;var vO=10;function Dg(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Tr,"defaultMaxListeners",{enumerable:!0,get:function(){return vO},set:function(e){if(typeof e!="number"||e<0||hR(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");vO=e}});Tr.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Tr.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||hR(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 dR(e){return e._maxListeners===void 0?Tr.defaultMaxListeners:e._maxListeners}Tr.prototype.getMaxListeners=function(){return dR(this)};Tr.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",a=this._events;if(a!==void 0)i=i&&a.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=a[t];if(s===void 0)return!1;if(typeof s=="function")pO(s,this,r);else for(var c=s.length,d=yR(s,c),n=0;n<c;++n)pO(d[n],this,r);return!0};function pR(e,t,r,n){var i,a,o;if(Dg(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=dR(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,jY(l)}return e}Tr.prototype.addListener=function(t,r){return pR(this,t,r,!1)};Tr.prototype.on=Tr.prototype.addListener;Tr.prototype.prependListener=function(t,r){return pR(this,t,r,!0)};function GY(){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 vR(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=GY.bind(n);return i.listener=r,n.wrapFn=i,i}Tr.prototype.once=function(t,r){return Dg(r),this.on(t,vR(this,t,r)),this};Tr.prototype.prependOnceListener=function(t,r){return Dg(r),this.prependListener(t,vR(this,t,r)),this};Tr.prototype.removeListener=function(t,r){var n,i,a,o,l;if(Dg(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){l=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():WY(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,l||r)}return this};Tr.prototype.off=Tr.prototype.removeListener;Tr.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var a=Object.keys(n),o;for(i=0;i<a.length;++i)o=a[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function mR(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?HY(i):yR(i,i.length)}Tr.prototype.listeners=function(t){return mR(this,t,!0)};Tr.prototype.rawListeners=function(t){return mR(this,t,!1)};Tr.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):gR.call(e,t)};Tr.prototype.listenerCount=gR;function gR(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Tr.prototype.eventNames=function(){return this._eventsCount>0?U0(this._events):[]};function yR(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function WY(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function HY(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function VY(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))}xR(e,t,a,{once:!0}),t!=="error"&&qY(e,i,{once:!0})})}function qY(e,t,r){typeof e.on=="function"&&xR(e,"error",t,r)}function xR(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 bR=XY,Xx={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},YY=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function XY(e){var t=[];return e.replace(YY,function(r,n,i){var a=n.toLowerCase();for(i=ZY(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==Xx[a])return i.unshift(n),t.push(i);if(i.length<Xx[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,Xx[a])))}}),t}var QY=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function ZY(e){var t=e.match(QY);return t?t.map(Number):[]}var KY={left:0,top:0},ire=JY;function JY(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=eX(t);return r[0]=n-a.left,r[1]=i-a.top,r}function eX(e){return e===window||e===document||e===document.body?KY:e.getBoundingClientRect()}function tX(){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 are=tX();function rX(){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 nX=rX;function iX(e){typeof e!="number"&&(e=1e-10);var t={epsilon:function(r){return typeof r=="number"&&(e=r),e},pointAboveOrOnLine:function(r,n,i){var a=n[0],o=n[1],l=i[0],s=i[1],c=r[0],d=r[1];return(l-a)*(d-o)-(s-o)*(c-a)>=-e},pointBetween:function(r,n,i){var a=r[1]-n[1],o=i[0]-n[0],l=r[0]-n[0],s=i[1]-n[1],c=l*o+a*s;if(c<e)return!1;var d=o*o+s*s;return!(c-d>-e)},pointsSameX:function(r,n){return Math.abs(r[0]-n[0])<e},pointsSameY:function(r,n){return Math.abs(r[1]-n[1])<e},pointsSame:function(r,n){return t.pointsSameX(r,n)&&t.pointsSameY(r,n)},pointsCompare:function(r,n){return t.pointsSameX(r,n)?t.pointsSameY(r,n)?0:r[1]<n[1]?-1:1:r[0]<n[0]?-1:1},pointsCollinear:function(r,n,i){var a=r[0]-n[0],o=r[1]-n[1],l=n[0]-i[0],s=n[1]-i[1];return Math.abs(a*s-l*o)<e},linesIntersect:function(r,n,i,a){var o=n[0]-r[0],l=n[1]-r[1],s=a[0]-i[0],c=a[1]-i[1],d=o*c-l*s;if(Math.abs(d)<e)return!1;var y=r[0]-i[0],g=r[1]-i[1],m=(s*g-c*y)/d,E=(o*g-l*y)/d,M={alongA:0,alongB:0,pt:[r[0]+m*o,r[1]+m*l]};return m<=-e?M.alongA=-2:m<e?M.alongA=-1:m-1<=-e?M.alongA=0:m-1<e?M.alongA=1:M.alongA=2,E<=-e?M.alongB=-2:E<e?M.alongB=-1:E-1<=-e?M.alongB=0:E-1<e?M.alongB=1:M.alongB=2,M},pointInsideRegion:function(r,n){for(var i=r[0],a=r[1],o=n[n.length-1][0],l=n[n.length-1][1],s=!1,c=0;c<n.length;c++){var d=n[c][0],y=n[c][1];y-a>e!=l-a>e&&(o-d)*(a-y)/(l-y)+d-i>e&&(s=!s),o=d,l=y}return s}};return t}var aX=iX,oX={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}},uX=oX,gh=uX;function lX(e,t,r){function n(E,M){return{id:r?r.segmentId():-1,start:E,end:M,myFill:{above:null,below:null},otherFill:null}}function i(E,M,b){return{id:r?r.segmentId():-1,start:E,end:M,myFill:{above:b.myFill.above,below:b.myFill.below},otherFill:null}}var a=gh.create();function o(E,M,b,w,_,C){var T=t.pointsCompare(M,_);return T!==0?T:t.pointsSame(b,C)?0:E!==w?E?1:-1:t.pointAboveOrOnLine(b,w?_:C,w?C:_)?1:-1}function l(E,M){a.insertBefore(E,function(b){var w=o(E.isStart,E.pt,M,b.isStart,b.pt,b.other.pt);return w<0})}function s(E,M){var b=gh.node({isStart:!0,pt:E.start,seg:E,primary:M,other:null,status:null});return l(b,E.end),b}function c(E,M,b){var w=gh.node({isStart:!1,pt:M.end,seg:M,primary:b,other:E,status:null});E.other=w,l(w,E.pt)}function d(E,M){var b=s(E,M);return c(b,E,M),b}function y(E,M){r&&r.segmentChop(E.seg,M),E.other.remove(),E.seg.end=M,E.other.pt=M,l(E.other,E.pt)}function g(E,M){var b=i(M,E.seg.end,E.seg);return y(E,M),d(b,E.primary)}function m(E,M){var b=gh.create();function w(Le,ut){var nt=Le.seg.start,De=Le.seg.end,We=ut.seg.start,_t=ut.seg.end;return t.pointsCollinear(nt,We,_t)?t.pointsCollinear(De,We,_t)||t.pointAboveOrOnLine(De,We,_t)?1:-1:t.pointAboveOrOnLine(nt,We,_t)?1:-1}function _(Le){return b.findTransition(function(ut){var nt=w(Le,ut.ev);return nt>0})}function C(Le,ut){var nt=Le.seg,De=ut.seg,We=nt.start,_t=nt.end,He=De.start,we=De.end;r&&r.checkIntersection(nt,De);var Ve=t.linesIntersect(We,_t,He,we);if(Ve===!1){if(!t.pointsCollinear(We,_t,He)||t.pointsSame(We,we)||t.pointsSame(_t,He))return!1;var st=t.pointsSame(We,He),Qe=t.pointsSame(_t,we);if(st&&Qe)return ut;var ct=!st&&t.pointBetween(We,He,we),yt=!Qe&&t.pointBetween(_t,He,we);if(st)return yt?g(ut,_t):g(Le,we),ut;ct&&(Qe||(yt?g(ut,_t):g(Le,we)),g(ut,We))}else Ve.alongA===0&&(Ve.alongB===-1?g(Le,He):Ve.alongB===0?g(Le,Ve.pt):Ve.alongB===1&&g(Le,we)),Ve.alongB===0&&(Ve.alongA===-1?g(ut,We):Ve.alongA===0?g(ut,Ve.pt):Ve.alongA===1&&g(ut,_t));return!1}for(var T=[];!a.isEmpty();){var R=a.getHead();if(r&&r.vert(R.pt[0]),R.isStart){let Le=function(){if(q){var ut=C(R,q);if(ut)return ut}return j?C(R,j):!1};r&&r.segmentNew(R.seg,R.primary);var L=_(R),q=L.before?L.before.ev:null,j=L.after?L.after.ev:null;r&&r.tempStatus(R.seg,q?q.seg:!1,j?j.seg:!1);var te=Le();if(te){if(e){var ge;R.seg.myFill.below===null?ge=!0:ge=R.seg.myFill.above!==R.seg.myFill.below,ge&&(te.seg.myFill.above=!te.seg.myFill.above)}else te.seg.otherFill=R.seg.myFill;r&&r.segmentUpdate(te.seg),R.other.remove(),R.remove()}if(a.getHead()!==R){r&&r.rewind(R.seg);continue}if(e){var ge;R.seg.myFill.below===null?ge=!0:ge=R.seg.myFill.above!==R.seg.myFill.below,j?R.seg.myFill.below=j.seg.myFill.above:R.seg.myFill.below=E,ge?R.seg.myFill.above=!R.seg.myFill.below:R.seg.myFill.above=R.seg.myFill.below}else if(R.seg.otherFill===null){var me;j?R.primary===j.primary?me=j.seg.otherFill.above:me=j.seg.myFill.above:me=R.primary?M:E,R.seg.otherFill={above:me,below:me}}r&&r.status(R.seg,q?q.seg:!1,j?j.seg:!1),R.other.status=L.insert(gh.node({ev:R}))}else{var ke=R.status;if(ke===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(b.exists(ke.prev)&&b.exists(ke.next)&&C(ke.prev.ev,ke.next.ev),r&&r.statusRemove(ke.ev.seg),ke.remove(),!R.primary){var Re=R.seg.myFill;R.seg.myFill=R.seg.otherFill,R.seg.otherFill=Re}T.push(R.seg)}a.getHead().remove()}return r&&r.done(),T}return e?{addRegion:function(E){for(var M,b=E[E.length-1],w=0;w<E.length;w++){M=b,b=E[w];var _=t.pointsCompare(M,b);_!==0&&d(n(_<0?M:b,_<0?b:M),!0)}},calculate:function(E){return m(E,!1)}}:{calculate:function(E,M,b,w){return E.forEach(function(_){d(i(_.start,_.end,_),!0)}),b.forEach(function(_){d(i(_.start,_.end,_),!1)}),m(M,w)}}}var sX=lX;function fX(e,t,r){var n=[],i=[];return e.forEach(function(a){var o=a.start,l=a.end;if(t.pointsSame(o,l)){console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");return}r&&r.chainStart(a);var s={index:0,matches_head:!1,matches_pt1:!1},c={index:0,matches_head:!1,matches_pt1:!1},d=s;function y(ke,Re,Le){return d.index=ke,d.matches_head=Re,d.matches_pt1=Le,d===s?(d=c,!1):(d=null,!0)}for(var g=0;g<n.length;g++){var m=n[g],E=m[0];m[1];var M=m[m.length-1];if(m[m.length-2],t.pointsSame(E,o)){if(y(g,!0,!0))break}else if(t.pointsSame(E,l)){if(y(g,!0,!1))break}else if(t.pointsSame(M,o)){if(y(g,!1,!0))break}else if(t.pointsSame(M,l)&&y(g,!1,!1))break}if(d===s){n.push([o,l]),r&&r.chainNew(o,l);return}if(d===c){r&&r.chainMatch(s.index);var b=s.index,w=s.matches_pt1?l:o,_=s.matches_head,m=n[b],C=_?m[0]:m[m.length-1],T=_?m[1]:m[m.length-2],R=_?m[m.length-1]:m[0],L=_?m[m.length-2]:m[1];if(t.pointsCollinear(T,C,w)&&(_?(r&&r.chainRemoveHead(s.index,w),m.shift()):(r&&r.chainRemoveTail(s.index,w),m.pop()),C=T),t.pointsSame(R,w)){n.splice(b,1),t.pointsCollinear(L,R,C)&&(_?(r&&r.chainRemoveTail(s.index,C),m.pop()):(r&&r.chainRemoveHead(s.index,C),m.shift())),r&&r.chainClose(s.index),i.push(m);return}_?(r&&r.chainAddHead(s.index,w),m.unshift(w)):(r&&r.chainAddTail(s.index,w),m.push(w));return}function q(ke){r&&r.chainReverse(ke),n[ke].reverse()}function j(ke,Re){var Le=n[ke],ut=n[Re],nt=Le[Le.length-1],De=Le[Le.length-2],We=ut[0],_t=ut[1];t.pointsCollinear(De,nt,We)&&(r&&r.chainRemoveTail(ke,nt),Le.pop(),nt=De),t.pointsCollinear(nt,We,_t)&&(r&&r.chainRemoveHead(Re,We),ut.shift()),r&&r.chainJoin(ke,Re),n[ke]=Le.concat(ut),n.splice(Re,1)}var te=s.index,ge=c.index;r&&r.chainConnect(te,ge);var me=n[te].length<n[ge].length;s.matches_head?c.matches_head?me?(q(te),j(te,ge)):(q(ge),j(ge,te)):j(ge,te):c.matches_head?j(te,ge):me?(q(te),j(ge,te)):(q(ge),j(te,ge))}),i}var cX=fX;function yh(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 hX={union:function(e,t){return yh(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return yh(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return yh(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return yh(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return yh(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},dX=hX,pX={toPolygon:function(e,t){function r(a){if(a.length<=0)return e.segments({inverted:!1,regions:[]});function o(c){var d=c.slice(0,c.length-1);return e.segments({inverted:!1,regions:[d]})}for(var l=o(a[0]),s=1;s<a.length;s++)l=e.selectDifference(e.combine(l,o(a[s])));return l}if(t.type==="Polygon")return e.polygon(r(t.coordinates));if(t.type==="MultiPolygon"){for(var n=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)n=e.selectUnion(e.combine(n,r(t.coordinates[i])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){r=e.polygon(e.segments(r));function n(m,E){return t.pointInsideRegion([(m[0][0]+m[1][0])*.5,(m[0][1]+m[1][1])*.5],E)}function i(m){return{region:m,children:[]}}var a=i(null);function o(m,E){for(var M=0;M<m.children.length;M++){var b=m.children[M];if(n(E,b.region)){o(b,E);return}}for(var w=i(E),M=0;M<m.children.length;M++){var b=m.children[M];n(b.region,E)&&(w.children.push(b),m.children.splice(M,1),M--)}m.children.push(w)}for(var l=0;l<r.regions.length;l++){var s=r.regions[l];s.length<3||o(a,s)}function c(m,E){for(var M=0,b=m[m.length-1][0],w=m[m.length-1][1],_=[],C=0;C<m.length;C++){var T=m[C][0],R=m[C][1];_.push([T,R]),M+=R*b-T*w,b=T,w=R}var L=M<0;return L!==E&&_.reverse(),_.push([_[0][0],_[0][1]]),_}var d=[];function y(m){var E=[c(m.region,!1)];d.push(E);for(var M=0;M<m.children.length;M++)E.push(g(m.children[M]))}function g(m){for(var E=0;E<m.children.length;E++)y(m.children[E]);return c(m.region,!0)}for(var l=0;l<a.children.length;l++)y(a.children[l]);return d.length<=0?{type:"Polygon",coordinates:[]}:d.length==1?{type:"Polygon",coordinates:d[0]}:{type:"MultiPolygon",coordinates:d}}},vX=pX;/*
851
- * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
852
- * @license MIT
853
- * @preserve Project Home: https://github.com/voidqk/polybooljs
854
- */var mX=nX,gX=aX,mO=sX,yX=cX,xh=dX,gO=vX,Si=!1,bh=gX(),Jn;Jn={buildLog:function(e){return e===!0?Si=mX():e===!1&&(Si=!1),Si===!1?!1:Si.list},epsilon:function(e){return bh.epsilon(e)},segments:function(e){var t=mO(!0,bh,Si);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=mO(!1,bh,Si);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:xh.union(e.combined,Si),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:xh.intersect(e.combined,Si),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:xh.difference(e.combined,Si),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:xh.differenceRev(e.combined,Si),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:xh.xor(e.combined,Si),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:yX(e.segments,bh,Si),inverted:e.inverted}},polygonFromGeoJSON:function(e){return gO.toPolygon(Jn,e)},polygonToGeoJSON:function(e){return gO.fromPolygon(Jn,bh,e)},union:function(e,t){return wh(e,t,Jn.selectUnion)},intersect:function(e,t){return wh(e,t,Jn.selectIntersect)},difference:function(e,t){return wh(e,t,Jn.selectDifference)},differenceRev:function(e,t){return wh(e,t,Jn.selectDifferenceRev)},xor:function(e,t){return wh(e,t,Jn.selectXor)}};function wh(e,t,r){var n=Jn.segments(e),i=Jn.segments(t),a=Jn.combine(n,i),o=r(a);return Jn.polygon(o)}typeof window=="object"&&(window.PolyBool=Jn);var ore=Jn,ure=function(t,r,n,i){var a=t[0],o=t[1],l=!1;n===void 0&&(n=0),i===void 0&&(i=r.length);for(var s=i-n,c=0,d=s-1;c<s;d=c++){var y=r[c+n][0],g=r[c+n][1],m=r[d+n][0],E=r[d+n][1],M=g>o!=E>o&&a<(m-y)*(o-g)/(E-g)+y;M&&(l=!l)}return l};const lre=Tl(dV);var wR={exports:{}};function xX(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s>=0?(a=o,i=o-1):n=o+1}return a}function bX(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s>0?(a=o,i=o-1):n=o+1}return a}function wX(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s<0?(a=o,n=o+1):i=o-1}return a}function _X(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],s=r!==void 0?r(l,t):l-t;s<=0?(a=o,n=o+1):i=o-1}return a}function SX(e,t,r,n,i){for(;n<=i;){var a=n+i>>>1,o=e[a],l=r!==void 0?r(o,t):o-t;if(l===0)return a;l<=0?n=a+1:i=a-1}return-1}function _h(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 EX={ge:function(e,t,r,n,i){return _h(e,t,r,n,i,xX)},gt:function(e,t,r,n,i){return _h(e,t,r,n,i,bX)},lt:function(e,t,r,n,i){return _h(e,t,r,n,i,wX)},le:function(e,t,r,n,i){return _h(e,t,r,n,i,_X)},eq:function(e,t,r,n,i){return _h(e,t,r,n,i,SX)}},op=AX;function AX(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var yu=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=yO(r)),Array.isArray(r)){var l={};for(o=0;o<r.length;o++)l[r[o]]=!0;r=l}for(a in r)r[a]=yO(r[a]);var s={};for(a in r){var c=r[a];if(Array.isArray(c))for(o=0;o<c.length;o++){var d=c[o];if(n&&(s[d]=!0),d in t){if(i[a]=t[d],n)for(var y=o;y<c.length;y++)s[c[y]]=!0;break}}else a in t&&(r[a]&&(i[a]=t[a]),n&&(s[a]=!0))}if(n)for(a in t)s[a]||(i[a]=t[a]);return i},Qx={};function yO(e){return Qx[e]?Qx[e]:(typeof e=="string"&&(e=Qx[e]=e.split(/\s*,\s*|\s+/)),e)}var TX=yu,$g=CX;function CX(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=TX(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 up=OX;function OX(e,t){if(!e||e.length==null)throw Error("Argument should be an array");t==null?t=1:t=Math.floor(t);for(var r=Array(t*2),n=0;n<t;n++){for(var i=-1/0,a=1/0,o=n,l=e.length;o<l;o+=t)e[o]>i&&(i=e[o]),e[o]<a&&(a=e[o]);r[n]=a,r[t+n]=i}return r}var _R=function(){for(var e=0;e<arguments.length;e++)if(arguments[e]!==void 0)return arguments[e]},DS=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}},xO=DS,lp=kX;function kX(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=+(r||0)|0,Array.isArray(e)&&e[0]&&typeof e[0][0]=="number"){var n=e[0].length,i=e.length*n,a,o,l,s;(!t||typeof t=="string")&&(t=new(xO(t||"float32"))(i+r));var c=t.length-r;if(i!==c)throw new Error("source length "+i+" ("+n+"x"+e.length+") does not match destination length "+c);for(a=0,l=r;a<e.length;a++)for(o=0;o<n;o++)t[l++]=e[a][o]===null?NaN:e[a][o]}else if(!t||typeof t=="string"){var d=xO(t||"float32");if(Array.isArray(e)||t==="array")for(t=new d(e.length+r),a=0,l=r,s=t.length;l<s;l++,a++)t[l]=e[a]===null?NaN:e[a];else r===0?t=new d(e):(t=new d(e.length+r),t.set(e,r))}else t.set(e,r);return t}var MX=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},IX=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const bO=EX,wO=op,PX=$g,FX=up,_O=yu,Zx=_R,RX=lp,NX=MX,LX=DS,SO=IX,DX=1073741824;var $X=function(t,r){r||(r={}),t=RX(t,"float64"),r=_O(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=Zx(r.maxDepth,255),i=Zx(r.bounds,FX(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=EO(t,i),o=t.length>>>1,l;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?l=new(LX(r.dtype))(o):r.dtype&&(l=r.dtype,Array.isArray(l)&&(l.length=o));for(let w=0;w<o;++w)l[w]=w;let s=[],c=[],d=[],y=[];m(0,0,1,l,0,1);let g=0;for(let w=0;w<s.length;w++){let _=s[w];if(l.set)l.set(_,g);else for(let T=0,R=_.length;T<R;T++)l[T+g]=_[T];let C=g+s[w].length;y[w]=[g,C],g=C}return l.range=E,l;function m(w,_,C,T,R,L){if(!T.length)return null;let q=s[R]||(s[R]=[]),j=d[R]||(d[R]=[]),te=c[R]||(c[R]=[]),ge=q.length;if(R++,R>n||L>DX){for(let We=0;We<T.length;We++)q.push(T[We]),j.push(L),te.push(null,null,null,null);return ge}if(q.push(T[0]),j.push(L),T.length<=1)return te.push(null,null,null,null),ge;let me=C*.5,ke=w+me,Re=_+me,Le=[],ut=[],nt=[],De=[];for(let We=1,_t=T.length;We<_t;We++){let He=T[We],we=a[He*2],Ve=a[He*2+1];we<ke?Ve<Re?Le.push(He):ut.push(He):Ve<Re?nt.push(He):De.push(He)}return L<<=2,te.push(m(w,_,me,Le,R,L),m(w,Re,me,ut,R,L+1),m(ke,_,me,nt,R,L+2),m(ke,Re,me,De,R,L+3)),ge}function E(...w){let _;if(NX(w[w.length-1])){let nt=w.pop();!w.length&&(nt.x!=null||nt.l!=null||nt.left!=null)&&(w=[nt],_={}),_=_O(nt,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else _={};w.length||(w=i);let C=PX(...w),[T,R,L,q]=[Math.min(C.x,C.x+C.width),Math.min(C.y,C.y+C.height),Math.max(C.x,C.x+C.width),Math.max(C.y,C.y+C.height)],[j,te,ge,me]=EO([T,R,L,q],i),ke=Zx(_.level,s.length);if(_.d!=null){let nt;typeof _.d=="number"?nt=[_.d,_.d]:_.d.length&&(nt=_.d),ke=Math.min(Math.max(Math.ceil(-SO(Math.abs(nt[0])/(i[2]-i[0]))),Math.ceil(-SO(Math.abs(nt[1])/(i[3]-i[1])))),ke)}if(ke=Math.min(ke,s.length),_.lod)return M(j,te,ge,me,ke);let Re=[];Le(0,0,1,0,0,1);function Le(nt,De,We,_t,He,we){if(He===null||we===null)return;let Ve=nt+We,st=De+We;if(j>Ve||te>st||ge<nt||me<De||_t>=ke||He===we)return;let Qe=s[_t];we===void 0&&(we=Qe.length);for(let W=He;W<we;W++){let ae=Qe[W],I=t[ae*2],A=t[ae*2+1];I>=T&&I<=L&&A>=R&&A<=q&&Re.push(ae)}let ct=c[_t],yt=ct[He*4+0],Ht=ct[He*4+1],qt=ct[He*4+2],Ze=ct[He*4+3],At=ut(ct,He+1),jt=We*.5,Ce=_t+1;Le(nt,De,jt,Ce,yt,Ht||qt||Ze||At),Le(nt,De+jt,jt,Ce,Ht,qt||Ze||At),Le(nt+jt,De,jt,Ce,qt,Ze||At),Le(nt+jt,De+jt,jt,Ce,Ze,At)}function ut(nt,De){let We=null,_t=0;for(;We===null;)if(We=nt[De*4+_t],_t++,_t>nt.length)return null;return We}return Re}function M(w,_,C,T,R){let L=[];for(let q=0;q<R;q++){let j=d[q],te=y[q][0],ge=b(w,_,q),me=b(C,T,q),ke=bO.ge(j,ge),Re=bO.gt(j,me,ke,j.length-1);L[q]=[ke+te,Re+te]}return L}function b(w,_,C){let T=1,R=.5,L=.5,q=.5;for(let j=0;j<C;j++)T<<=2,T+=w<R?_<L?0:1:_<L?2:3,q*=.5,R+=w<R?-q:q,L+=_<L?-q:q;return T}};function EO(e,t){let[r,n,i,a]=t,o=1/(i-r),l=1/(a-n),s=new Array(e.length);for(let c=0,d=e.length/2;c<d;c++)s[2*c]=wO((e[2*c]-r)*o,0,1),s[2*c+1]=wO((e[2*c+1]-n)*l,0,1);return s}(function(e){e.exports=$X})(wR);var SR=BX;function BX(e){var t=0,r=0,n=0,i=0;return e.map(function(a){a=a.slice();var o=a[0],l=o.toUpperCase();if(o!=l)switch(a[0]=l,o){case"a":a[6]+=n,a[7]+=i;break;case"v":a[1]+=i;break;case"h":a[1]+=n;break;default:for(var s=1;s<a.length;)a[s++]+=n,a[s++]+=i}switch(l){case"Z":n=t,i=r;break;case"H":n=a[1];break;case"V":i=a[1];break;case"M":n=t=a[1],i=r=a[2];break;default:n=a[a.length-2],i=a[a.length-1]}return a})}var zX=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),rd=Math.PI*2,Kx=function(t,r,n,i,a,o,l){var s=t.x,c=t.y;s*=r,c*=n;var d=i*s-a*c,y=a*s+i*c;return{x:d+o,y:y+l}},UX=function(t,r){var n=r===1.5707963267948966?.551915024494:r===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(r/4),i=Math.cos(t),a=Math.sin(t),o=Math.cos(t+r),l=Math.sin(t+r);return[{x:i-a*n,y:a+i*n},{x:o+l*n,y:l-o*n},{x:o,y:l}]},AO=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)},jX=function(t,r,n,i,a,o,l,s,c,d,y,g){var m=Math.pow(a,2),E=Math.pow(o,2),M=Math.pow(y,2),b=Math.pow(g,2),w=m*E-m*b-E*M;w<0&&(w=0),w/=m*b+E*M,w=Math.sqrt(w)*(l===s?-1:1);var _=w*a/o*g,C=w*-o/a*y,T=d*_-c*C+(t+n)/2,R=c*_+d*C+(r+i)/2,L=(y-_)/a,q=(g-C)/o,j=(-y-_)/a,te=(-g-C)/o,ge=AO(1,0,L,q),me=AO(L,q,j,te);return s===0&&me>0&&(me-=rd),s===1&&me<0&&(me+=rd),[T,R,ge,me]},GX=function(t){var r=t.px,n=t.py,i=t.cx,a=t.cy,o=t.rx,l=t.ry,s=t.xAxisRotation,c=s===void 0?0:s,d=t.largeArcFlag,y=d===void 0?0:d,g=t.sweepFlag,m=g===void 0?0:g,E=[];if(o===0||l===0)return[];var M=Math.sin(c*rd/360),b=Math.cos(c*rd/360),w=b*(r-i)/2+M*(n-a)/2,_=-M*(r-i)/2+b*(n-a)/2;if(w===0&&_===0)return[];o=Math.abs(o),l=Math.abs(l);var C=Math.pow(w,2)/Math.pow(o,2)+Math.pow(_,2)/Math.pow(l,2);C>1&&(o*=Math.sqrt(C),l*=Math.sqrt(C));var T=jX(r,n,i,a,o,l,y,m,M,b,w,_),R=zX(T,4),L=R[0],q=R[1],j=R[2],te=R[3],ge=Math.abs(te)/(rd/4);Math.abs(1-ge)<1e-7&&(ge=1);var me=Math.max(Math.ceil(ge),1);te/=me;for(var ke=0;ke<me;ke++)E.push(UX(j,te)),j+=te;return E.map(function(Re){var Le=Kx(Re[0],o,l,b,M,L,q),ut=Le.x,nt=Le.y,De=Kx(Re[1],o,l,b,M,L,q),We=De.x,_t=De.y,He=Kx(Re[2],o,l,b,M,L,q),we=He.x,Ve=He.y;return{x1:ut,y1:nt,x2:We,y2:_t,x:we,y:Ve}})};const WX=Object.freeze(Object.defineProperty({__proto__:null,default:GX},Symbol.toStringTag,{value:"Module"})),HX=Tl(WX);var VX=YX,qX=HX;function YX(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,s=null,c=0,d=0,y=0,g=e.length;y<g;y++){var m=e[y],E=m[0];switch(E){case"M":a=m[1],o=m[2];break;case"A":var M=qX({px:c,py:d,cx:m[6],cy:m[7],rx:m[1],ry:m[2],xAxisRotation:m[3],largeArcFlag:m[4],sweepFlag:m[5]});if(!M.length)continue;for(var b=0,w;b<M.length;b++)w=M[b],m=["C",w.x1,w.y1,w.x2,w.y2,w.x,w.y],b<M.length-1&&r.push(m);break;case"S":var _=c,C=d;(t=="C"||t=="S")&&(_+=_-n,C+=C-i),m=["C",_,C,m[1],m[2],m[3],m[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,s=d*2-s):(l=c,s=d),m=TO(c,d,l,s,m[1],m[2]);break;case"Q":l=m[1],s=m[2],m=TO(c,d,m[1],m[2],m[3],m[4]);break;case"L":m=i0(c,d,m[1],m[2]);break;case"H":m=i0(c,d,m[1],d);break;case"V":m=i0(c,d,c,m[1]);break;case"Z":m=i0(c,d,a,o);break}t=E,c=m[m.length-2],d=m[m.length-1],m.length>4?(n=m[m.length-4],i=m[m.length-3]):(n=c,i=d),r.push(m)}return r}function i0(e,t,r,n){return["C",e,t,r,n,r,n]}function TO(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 ER=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))},XX=bR,QX=SR,ZX=VX,KX=ER,JX=eQ;function eQ(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!KX(e))throw Error("String is not an SVG path.");e=XX(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=QX(e),e=ZX(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 Ju=Math.PI,CO=TR(120),tQ=rQ;function rQ(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,s=null,c=0,d=0,y=0,g=e.length;y<g;y++){var m=e[y],E=m[0];switch(E){case"M":a=m[1],o=m[2];break;case"A":m=AR(c,d,m[1],m[2],TR(m[3]),m[4],m[5],m[6],m[7]),m.unshift("C"),m.length>7&&(r.push(m.splice(0,7)),m.unshift("C"));break;case"S":var M=c,b=d;(t=="C"||t=="S")&&(M+=M-n,b+=b-i),m=["C",M,b,m[1],m[2],m[3],m[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,s=d*2-s):(l=c,s=d),m=OO(c,d,l,s,m[1],m[2]);break;case"Q":l=m[1],s=m[2],m=OO(c,d,m[1],m[2],m[3],m[4]);break;case"L":m=a0(c,d,m[1],m[2]);break;case"H":m=a0(c,d,m[1],d);break;case"V":m=a0(c,d,c,m[1]);break;case"Z":m=a0(c,d,a,o);break}t=E,c=m[m.length-2],d=m[m.length-1],m.length>4?(n=m[m.length-4],i=m[m.length-3]):(n=c,i=d),r.push(m)}return r}function a0(e,t,r,n){return["C",e,t,r,n,r,n]}function OO(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 AR(e,t,r,n,i,a,o,l,s,c){if(c)C=c[0],T=c[1],w=c[2],_=c[3];else{var d=Jx(e,t,-i);e=d.x,t=d.y,d=Jx(l,s,-i),l=d.x,s=d.y;var y=(e-l)/2,g=(t-s)/2,m=y*y/(r*r)+g*g/(n*n);m>1&&(m=Math.sqrt(m),r=m*r,n=m*n);var E=r*r,M=n*n,b=(a==o?-1:1)*Math.sqrt(Math.abs((E*M-E*g*g-M*y*y)/(E*g*g+M*y*y)));b==1/0&&(b=1);var w=b*r*g/n+(e+l)/2,_=b*-n*y/r+(t+s)/2,C=Math.asin(((t-_)/n).toFixed(9)),T=Math.asin(((s-_)/n).toFixed(9));C=e<w?Ju-C:C,T=l<w?Ju-T:T,C<0&&(C=Ju*2+C),T<0&&(T=Ju*2+T),o&&C>T&&(C=C-Ju*2),!o&&T>C&&(T=T-Ju*2)}if(Math.abs(T-C)>CO){var R=T,L=l,q=s;T=C+CO*(o&&T>C?1:-1),l=w+r*Math.cos(T),s=_+n*Math.sin(T);var j=AR(l,s,r,n,i,0,o,L,q,[T,R,w,_])}var te=Math.tan((T-C)/4),ge=4/3*r*te,me=4/3*n*te,ke=[2*e-(e+ge*Math.sin(C)),2*t-(t-me*Math.cos(C)),l+ge*Math.sin(T),s-me*Math.cos(T),l,s];if(c)return ke;j&&(ke=ke.concat(j));for(var Re=0;Re<ke.length;){var Le=Jx(ke[Re],ke[Re+1],i);ke[Re++]=Le.x,ke[Re++]=Le.y}return ke}function Jx(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function TR(e){return e*(Ju/180)}var nQ=SR,iQ=tQ,aQ={M:"moveTo",C:"bezierCurveTo"},oQ=function(e,t){e.beginPath(),iQ(nQ(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[aQ[n]].apply(e,i)}),e.closePath()},uQ=op,lQ=sQ,nd=1e20;function sQ(e,t){t||(t={});var r=t.cutoff==null?.25:t.cutoff,n=t.radius==null?8:t.radius,i=t.channel||0,a,o,l,s,c,d,y,g,m,E,M;if(ArrayBuffer.isView(e)||Array.isArray(e)){if(!t.width||!t.height)throw Error("For raw data width and height should be provided by options");a=t.width,o=t.height,s=e,t.stride?d=t.stride:d=Math.floor(e.length/a/o)}else window.HTMLCanvasElement&&e instanceof window.HTMLCanvasElement?(g=e,y=g.getContext("2d"),a=g.width,o=g.height,m=y.getImageData(0,0,a,o),s=m.data,d=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(g=e.canvas,y=e,a=g.width,o=g.height,m=y.getImageData(0,0,a,o),s=m.data,d=4):window.ImageData&&e instanceof window.ImageData&&(m=e,a=e.width,o=e.height,s=m.data,d=4);if(l=Math.max(a,o),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(c=s,s=Array(a*o),E=0,M=c.length;E<M;E++)s[E]=c[E*d+i]/255;else if(d!==1)throw Error("Raw data can have only 1 value per pixel");var b=Array(a*o),w=Array(a*o),_=Array(l),C=Array(l),T=Array(l+1),R=Array(l);for(E=0,M=a*o;E<M;E++){var L=s[E];b[E]=L===1?0:L===0?nd:Math.pow(Math.max(0,.5-L),2),w[E]=L===1?nd:L===0?0:Math.pow(Math.max(0,L-.5),2)}kO(b,a,o,_,C,R,T),kO(w,a,o,_,C,R,T);var q=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(E=0,M=a*o;E<M;E++)q[E]=uQ(1-((b[E]-w[E])/n+r),0,1);return q}function kO(e,t,r,n,i,a,o){for(var l=0;l<t;l++){for(var s=0;s<r;s++)n[s]=e[s*t+l];for(MO(n,i,a,o,r),s=0;s<r;s++)e[s*t+l]=i[s]}for(s=0;s<r;s++){for(l=0;l<t;l++)n[l]=e[s*t+l];for(MO(n,i,a,o,t),l=0;l<t;l++)e[s*t+l]=Math.sqrt(i[l])}}function MO(e,t,r,n,i){r[0]=0,n[0]=-nd,n[1]=+nd;for(var a=1,o=0;a<i;a++){for(var l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);l<=n[o];)o--,l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);o++,r[o]=a,n[o]=l,n[o+1]=+nd}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 fQ=JX,cQ=bR,hQ=oQ,dQ=ER,pQ=lQ,w_=document.createElement("canvas"),jn=w_.getContext("2d"),sre=vQ;function vQ(e,t){if(!dQ(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=w_.width=t.w||t.width||200,n=w_.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||fQ(e),l=[r/(o[2]-o[0]),n/(o[3]-o[1])],s=Math.min(l[0]||0,l[1]||0)/2;if(jn.fillStyle="black",jn.fillRect(0,0,r,n),jn.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?jn.strokeStyle="white":jn.strokeStyle="black",jn.lineWidth=Math.abs(a)),jn.translate(r*.5,n*.5),jn.scale(s,s),mQ()){var c=new Path2D(e);jn.fill(c),a&&jn.stroke(c)}else{var d=cQ(e);hQ(jn,d),jn.fill(),a&&jn.stroke()}jn.setTransform(1,0,0,1,0,0);var y=pQ(jn,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return y}var o0;function mQ(){if(o0!=null)return o0;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return o0=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return o0=r&&r.data&&r.data[3]===255}var gQ={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]},yQ=Object.prototype.toString,CR=function(e){var t;return yQ.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},IO=gQ,xQ=CR,Xu=_R,bQ=wQ,PO={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function wQ(e){var t,r=[],n=1,i;if(typeof e=="string")if(IO[e])r=IO[e].slice(),i="rgb";else if(e==="transparent")n=0,i="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var a=e.slice(1),o=a.length,l=o<=4;n=1,l?(r=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],o===4&&(n=parseInt(a[3]+a[3],16)/255)):(r=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],o===8&&(n=parseInt(a[6]+a[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),i="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var s=t[1],c=s==="rgb",a=s.replace(/a$/,"");i=a;var o=a==="cmyk"?4:a==="gray"?1:3;r=t[2].trim().split(/\s*,\s*/).map(function(m,E){if(/%$/.test(m))return E===o?parseFloat(m)/100:a==="rgb"?parseFloat(m)*255/100:parseFloat(m);if(a[E]==="h"){if(/deg$/.test(m))return parseFloat(m);if(PO[m]!==void 0)return PO[m]}return parseFloat(m)}),s===a&&r.push(1),n=c||r[o]===void 0?1:r[o],r=r.slice(0,o)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(r=e.match(/([0-9]+)/g).map(function(y){return parseFloat(y)}),i=e.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(e))i="rgb",r=[e>>>16,(e&65280)>>>8,e&255];else if(xQ(e)){var d=Xu(e.r,e.red,e.R,null);d!==null?(i="rgb",r=[d,Xu(e.g,e.green,e.G),Xu(e.b,e.blue,e.B)]):(i="hsl",r=[Xu(e.h,e.hue,e.H),Xu(e.s,e.saturation,e.S),Xu(e.l,e.lightness,e.L,e.b,e.brightness)]),n=Xu(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||Ar.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(e))&&(r=[e[0],e[1],e[2]],i="rgb",n=e.length===4?e[3]:1);return{space:i,values:r,alpha:n}}var _Q={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,a,o,l,s;if(r===0)return s=n*255,[s,s,s];n<.5?a=n*(1+r):a=n+r-n*r,i=2*n-a,l=[0,0,0];for(var c=0;c<3;c++)o=t+1/3*-(c-1),o<0?o++:o>1&&o--,6*o<1?s=i+(a-i)*6*o:2*o<1?s=a:3*o<2?s=i+(a-i)*(2/3-o)*6:s=i,l[c]=s*255;return l}},SQ=bQ,EQ=_Q,u0=op,AQ=function(t){var r,n=SQ(t);return n.space?(r=Array(3),r[0]=u0(n.values[0],0,255),r[1]=u0(n.values[1],0,255),r[2]=u0(n.values[2],0,255),n.space[0]==="h"&&(r=EQ.rgb(r)),r.push(u0(n.alpha,0,1)),r):[]},TQ=AQ,l0=op,CQ=DS,Bg=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=CQ(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=TQ(t),t[0]/=255,t[1]/=255,t[2]/=255),OQ(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]=l0(Math.floor(t[0]*255),0,255),i[1]=l0(Math.floor(t[1]*255),0,255),i[2]=l0(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:l0(Math.floor(t[3]*255),0,255)),i)};function OQ(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 zg={exports:{}},s0=op;zg.exports=OR;zg.exports.to=OR;zg.exports.from=kQ;function OR(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=s0(r,0,255)&255,n=s0(n,0,255)&255,i=s0(i,0,255)&255,a=s0(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function kQ(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 kR=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("")},MR=function(t,r,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var i=0,a=n.length;i<a;i++){var o=n[i];for(var l in o)if(!(r[l]!==void 0&&!Array.isArray(r[l])&&t[l]===r[l])&&l in r){var s;if(o[l]===!0)s=r[l];else{if(o[l]===!1)continue;if(typeof o[l]=="function"&&(s=o[l](r[l],t,r),s===void 0))continue}t[l]=s}}return t},MQ=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),fu={exports:{}};fu.exports=id;fu.exports.float32=fu.exports.float=id;fu.exports.fract32=fu.exports.fract=IQ;var FO=new Float32Array(1);function IQ(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=id(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return id(e-id(e))}function id(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(FO[0]=e,FO[0])}function PQ(e,t){return NQ(e)||DQ(e,t)||IR(e,t)||BQ()}function FQ(e){return RQ(e)||LQ(e)||IR(e)||$Q()}function RQ(e){if(Array.isArray(e))return __(e)}function NQ(e){if(Array.isArray(e))return e}function LQ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function IR(e,t){if(!!e){if(typeof e=="string")return __(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 __(e,t)}}function __(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 $Q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
855
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
856
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var zQ=Bg,UQ=up,jQ=zg.exports,GQ=wR.exports,hl=Cl,f0=kR,WQ=yu,HQ=MR,VQ=lp,RO=MQ,c0=fu.exports,qQ=$g,YQ=gn;function gn(e,t){var r=this;if(!(this instanceof gn))return new gn(e,t);typeof e=="function"?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n=e._gl,i,a=[],o={},l=[],s=[null],c=[null],d=255,y=100;this.tooManyColors=RO,i=e.texture({data:new Uint8Array(d*4),width:d,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),hl(this,{regl:e,gl:n,groups:l,markerCache:c,markerTextures:s,palette:a,paletteIds:o,paletteTexture:i,maxColors:d,maxSize:y,canvas:n.canvas}),this.update(t);var g={uniforms:{constPointSize:!!t.constPointSize,opacity:e.prop("opacity"),paletteSize:function(b,w){return[r.tooManyColors?0:d,i.height]},pixelRatio:e.context("pixelRatio"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translate:e.prop("translate"),translateFract:e.prop("translateFract"),markerTexture:e.prop("markerTexture"),paletteTexture:i},attributes:{x:function(b,w){return w.xAttr||{buffer:w.positionBuffer,stride:8,offset:0}},y:function(b,w){return w.yAttr||{buffer:w.positionBuffer,stride:8,offset:4}},xFract:function(b,w){return w.xAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:0}},yFract:function(b,w){return w.yAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:4}},size:function(b,w){return w.size.length?{buffer:w.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(w.size*255/r.maxSize)]}},borderSize:function(b,w){return w.borderSize.length?{buffer:w.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(w.borderSize*255/r.maxSize)]}},colorId:function(b,w){return w.color.length?{buffer:w.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?a.slice(w.color*4,w.color*4+4):[w.color]}},borderColorId:function(b,w){return w.borderColor.length?{buffer:w.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?a.slice(w.borderColor*4,w.borderColor*4+4):[w.borderColor]}},isActive:function(b,w){return w.activation===!0?{constant:[1]}:w.activation?w.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:e.prop("elements"),count:e.prop("count"),offset:e.prop("offset"),primitive:"points"},m=hl({},g);m.frag=f0([`precision highp float;
857
- #define GLSLIFY 1
858
-
859
- uniform float opacity;
860
- uniform sampler2D markerTexture;
861
-
862
- varying vec4 fragColor, fragBorderColor;
863
- varying float fragWidth, fragBorderColorLevel, fragColorLevel;
864
-
865
- float smoothStep(float x, float y) {
866
- return 1.0 / (1.0 + exp(50.0*(x - y)));
867
- }
868
-
869
- void main() {
870
- float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
871
-
872
- // max-distance alpha
873
- if (dist < 0.003) discard;
874
-
875
- // null-border case
876
- if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
877
- float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
878
- gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
879
- }
880
- else {
881
- float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
882
- float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
883
-
884
- vec4 color = fragBorderColor;
885
- color.a *= borderColorAmt;
886
- color = mix(color, fragColor, colorAmt);
887
- color.a *= opacity;
888
-
889
- gl_FragColor = color;
890
- }
891
-
892
- }
893
- `]),m.vert=f0([`precision highp float;
894
- #define GLSLIFY 1
895
-
896
- attribute float x, y, xFract, yFract;
897
- attribute float size, borderSize;
898
- attribute vec4 colorId, borderColorId;
899
- attribute float isActive;
900
-
901
- uniform bool constPointSize;
902
- uniform float pixelRatio;
903
- uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
904
- uniform sampler2D paletteTexture;
905
-
906
- const float maxSize = 100.;
907
- const float borderLevel = .5;
908
-
909
- varying vec4 fragColor, fragBorderColor;
910
- varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
911
-
912
- float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
913
-
914
- bool isDirect = (paletteSize.x < 1.);
915
-
916
- vec4 getColor(vec4 id) {
917
- return isDirect ? id / 255. : texture2D(paletteTexture,
918
- vec2(
919
- (id.x + .5) / paletteSize.x,
920
- (id.y + .5) / paletteSize.y
921
- )
922
- );
923
- }
924
-
925
- void main() {
926
- // ignore inactive points
927
- if (isActive == 0.) return;
928
-
929
- vec2 position = vec2(x, y);
930
- vec2 positionFract = vec2(xFract, yFract);
931
-
932
- vec4 color = getColor(colorId);
933
- vec4 borderColor = getColor(borderColorId);
934
-
935
- float size = size * maxSize / 255.;
936
- float borderSize = borderSize * maxSize / 255.;
937
-
938
- gl_PointSize = 2. * size * pointSizeScale;
939
- fragPointSize = size * pixelRatio;
940
-
941
- vec2 pos = (position + translate) * scale
942
- + (positionFract + translateFract) * scale
943
- + (position + translate) * scaleFract
944
- + (positionFract + translateFract) * scaleFract;
945
-
946
- gl_Position = vec4(pos * 2. - 1., 0., 1.);
947
-
948
- fragColor = color;
949
- fragBorderColor = borderColor;
950
- fragWidth = 1. / gl_PointSize;
951
-
952
- fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
953
- fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
954
- }`]),this.drawMarker=e(m);var E=hl({},g);E.frag=f0([`precision highp float;
955
- #define GLSLIFY 1
956
-
957
- varying vec4 fragColor, fragBorderColor;
958
- varying float fragBorderRadius, fragWidth;
959
-
960
- uniform float opacity;
961
-
962
- float smoothStep(float edge0, float edge1, float x) {
963
- float t;
964
- t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
965
- return t * t * (3.0 - 2.0 * t);
966
- }
967
-
968
- void main() {
969
- float radius, alpha = 1.0, delta = fragWidth;
970
-
971
- radius = length(2.0 * gl_PointCoord.xy - 1.0);
972
-
973
- if (radius > 1.0 + delta) {
974
- discard;
975
- }
976
-
977
- alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
978
-
979
- float borderRadius = fragBorderRadius;
980
- float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
981
- vec4 color = mix(fragColor, fragBorderColor, ratio);
982
- color.a *= alpha * opacity;
983
- gl_FragColor = color;
984
- }
985
- `]),E.vert=f0([`precision highp float;
986
- #define GLSLIFY 1
987
-
988
- attribute float x, y, xFract, yFract;
989
- attribute float size, borderSize;
990
- attribute vec4 colorId, borderColorId;
991
- attribute float isActive;
992
-
993
- uniform bool constPointSize;
994
- uniform float pixelRatio;
995
- uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
996
- uniform sampler2D paletteTexture;
997
-
998
- const float maxSize = 100.;
999
-
1000
- varying vec4 fragColor, fragBorderColor;
1001
- varying float fragBorderRadius, fragWidth;
1002
-
1003
- float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
1004
-
1005
- bool isDirect = (paletteSize.x < 1.);
1006
-
1007
- vec4 getColor(vec4 id) {
1008
- return isDirect ? id / 255. : texture2D(paletteTexture,
1009
- vec2(
1010
- (id.x + .5) / paletteSize.x,
1011
- (id.y + .5) / paletteSize.y
1012
- )
1013
- );
1014
- }
1015
-
1016
- void main() {
1017
- // ignore inactive points
1018
- if (isActive == 0.) return;
1019
-
1020
- vec2 position = vec2(x, y);
1021
- vec2 positionFract = vec2(xFract, yFract);
1022
-
1023
- vec4 color = getColor(colorId);
1024
- vec4 borderColor = getColor(borderColorId);
1025
-
1026
- float size = size * maxSize / 255.;
1027
- float borderSize = borderSize * maxSize / 255.;
1028
-
1029
- gl_PointSize = (size + borderSize) * pointSizeScale;
1030
-
1031
- vec2 pos = (position + translate) * scale
1032
- + (positionFract + translateFract) * scale
1033
- + (position + translate) * scaleFract
1034
- + (positionFract + translateFract) * scaleFract;
1035
-
1036
- gl_Position = vec4(pos * 2. - 1., 0., 1.);
1037
-
1038
- fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
1039
- fragColor = color;
1040
- fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
1041
- fragWidth = 1. / gl_PointSize;
1042
- }
1043
- `]),RO&&(E.frag=E.frag.replace("smoothstep","smoothStep"),m.frag=m.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(E)}gn.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};gn.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};gn.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(r.length===1&&Array.isArray(r[0])&&(r[0][0]===null||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var a=0;a<r.length;a++)this.drawItem(a,r[a]);else i.forEach(function(o,l){e.drawItem(l)});return this};gn.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,FQ(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};gn.prototype.getMarkerDrawOptions=function(e,t,r){var n=t.range,i=t.tree,a=t.viewport,o=t.activation,l=t.selectionBuffer,s=t.count;if(this.regl,!i)return r?[hl({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[hl({},t,{markerTexture:this.markerTextures[e],activation:o[e],offset:0})];var c=[],d=i.range(n,{lod:!0,px:[(n[2]-n[0])/a.width,(n[3]-n[1])/a.height]});if(r){for(var y=o[e],g=y.data,m=new Uint8Array(s),E=0;E<r.length;E++){var M=r[E];m[M]=g?g[M]:1}l.subdata(m)}for(var b=d.length;b--;){var w=PQ(d[b],2),_=w[0],C=w[1];c.push(hl({},t,{markerTexture:this.markerTextures[e],activation:r?l:o[e],offset:_,count:C-_}))}return c};gn.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!!r.length){r.length===1&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,a=this.gl,o=this.regl,l=this.maxSize,s=this.maxColors,c=this.palette;this.groups=i=r.map(function(d,y){var g=i[y];if(d===void 0)return g;d===null?d={positions:null}:typeof d=="function"?d={ondraw:d}:typeof d[0]=="number"&&(d={positions:d}),d=WQ(d,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),d.positions===null&&(d.positions=[]),d.tooManyColors!=null&&(e.tooManyColors=d.tooManyColors),g||(i[y]=g={id:y,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:o.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},d=hl({},gn.defaults,d)),d.positions&&!("marker"in d)&&(d.marker=g.marker,delete g.marker),d.marker&&!("positions"in d)&&(d.positions=g.positions,delete g.positions);var m=0,E=0;if(HQ(g,d,[{snap:!0,size:function(De,We){return De==null&&(De=gn.defaults.size),m+=De&&De.length?1:0,De},borderSize:function(De,We){return De==null&&(De=gn.defaults.borderSize),m+=De&&De.length?1:0,De},opacity:parseFloat,color:function(De,We){return De==null&&(De=gn.defaults.color),De=e.updateColor(De),E++,De},borderColor:function(De,We){return De==null&&(De=gn.defaults.borderColor),De=e.updateColor(De),E++,De},bounds:function(De,We,_t){return"range"in _t||(_t.range=null),De},positions:function(De,We,_t){var He=We.snap,we=We.positionBuffer,Ve=We.positionFractBuffer,st=We.selectionBuffer;if(De.x||De.y)return De.x.length?We.xAttr={buffer:o.buffer(De.x),offset:0,stride:4,count:De.x.length}:We.xAttr={buffer:De.x.buffer,offset:De.x.offset*4||0,stride:(De.x.stride||1)*4,count:De.x.count},De.y.length?We.yAttr={buffer:o.buffer(De.y),offset:0,stride:4,count:De.y.length}:We.yAttr={buffer:De.y.buffer,offset:De.y.offset*4||0,stride:(De.y.stride||1)*4,count:De.y.count},We.count=Math.max(We.xAttr.count,We.yAttr.count),De;De=VQ(De,"float64");var Qe=We.count=Math.floor(De.length/2),ct=We.bounds=Qe?UQ(De,2):null;if(!_t.range&&!We.range&&(delete We.range,_t.range=ct),!_t.marker&&!We.marker&&(delete We.marker,_t.marker=null),He&&(He===!0||Qe>He)?We.tree=GQ(De,{bounds:ct}):He&&He.length&&(We.tree=He),We.tree){var yt={primitive:"points",usage:"static",data:We.tree,type:"uint32"};We.elements?We.elements(yt):We.elements=o.elements(yt)}var Ht=c0.float32(De);we({data:Ht,usage:"dynamic"});var qt=c0.fract32(De,Ht);return Ve({data:qt,usage:"dynamic"}),st({data:new Uint8Array(Qe),type:"uint8",usage:"stream"}),De}},{marker:function(De,We,_t){var He=We.activation;if(He.forEach(function(qt){return qt&&qt.destroy&&qt.destroy()}),He.length=0,!De||typeof De[0]=="number"){var we=e.addMarker(De);He[we]=!0}else{for(var Ve=[],st=0,Qe=Math.min(De.length,We.count);st<Qe;st++){var ct=e.addMarker(De[st]);Ve[ct]||(Ve[ct]=new Uint8Array(We.count)),Ve[ct][st]=1}for(var yt=0;yt<Ve.length;yt++)if(!!Ve[yt]){var Ht={data:Ve[yt],type:"uint8",usage:"static"};He[yt]?He[yt](Ht):He[yt]=o.buffer(Ht),He[yt].data=Ve[yt]}}return De},range:function(De,We,_t){var He=We.bounds;if(!!He)return De||(De=He),We.scale=[1/(De[2]-De[0]),1/(De[3]-De[1])],We.translate=[-De[0],-De[1]],We.scaleFract=c0.fract(We.scale),We.translateFract=c0.fract(We.translate),De},viewport:function(De){var We=qQ(De||[a.drawingBufferWidth,a.drawingBufferHeight]);return We}}]),m){var M=g,b=M.count,w=M.size,_=M.borderSize,C=M.sizeBuffer,T=new Uint8Array(b*2);if(w.length||_.length)for(var R=0;R<b;R++)T[R*2]=Math.round((w[R]==null?w:w[R])*255/l),T[R*2+1]=Math.round((_[R]==null?_:_[R])*255/l);C({data:T,usage:"dynamic"})}if(E){var L=g,q=L.count,j=L.color,te=L.borderColor,ge=L.colorBuffer,me;if(e.tooManyColors){if(j.length||te.length){me=new Uint8Array(q*8);for(var ke=0;ke<q;ke++){var Re=j[ke];me[ke*8]=c[Re*4],me[ke*8+1]=c[Re*4+1],me[ke*8+2]=c[Re*4+2],me[ke*8+3]=c[Re*4+3];var Le=te[ke];me[ke*8+4]=c[Le*4],me[ke*8+5]=c[Le*4+1],me[ke*8+6]=c[Le*4+2],me[ke*8+7]=c[Le*4+3]}}}else if(j.length||te.length){me=new Uint8Array(q*4+2);for(var ut=0;ut<q;ut++)j[ut]!=null&&(me[ut*4]=j[ut]%s,me[ut*4+1]=Math.floor(j[ut]/s)),te[ut]!=null&&(me[ut*4+2]=te[ut]%s,me[ut*4+3]=Math.floor(te[ut]/s))}ge({data:me||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return g})}};gn.prototype.addMarker=function(e){var t=this.markerTextures,r=this.regl,n=this.markerCache,i=e==null?0:n.indexOf(e);if(i>=0)return i;var a;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)a=e;else{a=new Uint8Array(e.length);for(var o=0,l=e.length;o<l;o++)a[o]=e[o]*255}var s=Math.floor(Math.sqrt(a.length));return i=t.length,n.push(e),t.push(r.texture({channels:1,data:a,radius:s,mag:"linear",min:"linear"})),i};gn.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if(typeof e[0]=="number"){var a=[];if(Array.isArray(e))for(var o=0;o<e.length;o+=4)a.push(e.slice(o,o+4));else for(var l=0;l<e.length;l+=4)a.push(e.subarray(l,l+4));e=a}for(var s=0;s<e.length;s++){var c=e[s];c=zQ(c,"uint8");var d=jQ(c,!1);if(t[d]==null){var y=r.length;t[d]=Math.floor(y/4),r[y]=c[0],r[y+1]=c[1],r[y+2]=c[2],r[y+3]=c[3]}i[s]=t[d]}return!this.tooManyColors&&r.length>n*4&&(this.tooManyColors=!0),this.updatePalette(r),i.length===1?i[0]:i};gn.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)}};gn.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 XQ=Cl,QQ=function(t,r){var n=new YQ(t,r),i=n.render.bind(n);return XQ(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},fre=QQ,$S={exports:{}};$S.exports=Ug;$S.exports.default=Ug;function Ug(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=PR(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var l,s,c,d,y,g,m;if(n&&(a=tZ(e,t,a,r)),e.length>80*r){l=c=e[0],s=d=e[1];for(var E=r;E<i;E+=r)y=e[E],g=e[E+1],y<l&&(l=y),g<s&&(s=g),y>c&&(c=y),g>d&&(d=g);m=Math.max(c-l,d-s),m=m!==0?1/m:0}return Od(a,o,r,l,s,m),o}function PR(e,t,r,n,i){var a,o;if(i===A_(e,t,r,n)>0)for(a=t;a<r;a+=n)o=NO(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=NO(a,e[a],e[a+1],o);return o&&jg(o,o.next)&&(Md(o),o=o.next),o}function cu(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(jg(r,r.next)||Ur(r.prev,r,r.next)===0)){if(Md(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function Od(e,t,r,n,i,a,o){if(!!e){!o&&a&&oZ(e,n,i,a);for(var l=e,s,c;e.prev!==e.next;){if(s=e.prev,c=e.next,a?KQ(e,n,i,a):ZQ(e)){t.push(s.i/r),t.push(e.i/r),t.push(c.i/r),Md(e),e=c.next,l=c.next;continue}if(e=c,e===l){o?o===1?(e=JQ(cu(e),t,r),Od(e,t,r,n,i,a,2)):o===2&&eZ(e,t,r,n,i,a):Od(cu(e),t,r,n,i,a,1);break}}}}function ZQ(e){var t=e.prev,r=e,n=e.next;if(Ur(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(Qs(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&Ur(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function KQ(e,t,r,n){var i=e.prev,a=e,o=e.next;if(Ur(i,a,o)>=0)return!1;for(var l=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,s=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,c=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,d=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,y=S_(l,s,t,r,n),g=S_(c,d,t,r,n),m=e.prevZ,E=e.nextZ;m&&m.z>=y&&E&&E.z<=g;){if(m!==e.prev&&m!==e.next&&Qs(i.x,i.y,a.x,a.y,o.x,o.y,m.x,m.y)&&Ur(m.prev,m,m.next)>=0||(m=m.prevZ,E!==e.prev&&E!==e.next&&Qs(i.x,i.y,a.x,a.y,o.x,o.y,E.x,E.y)&&Ur(E.prev,E,E.next)>=0))return!1;E=E.nextZ}for(;m&&m.z>=y;){if(m!==e.prev&&m!==e.next&&Qs(i.x,i.y,a.x,a.y,o.x,o.y,m.x,m.y)&&Ur(m.prev,m,m.next)>=0)return!1;m=m.prevZ}for(;E&&E.z<=g;){if(E!==e.prev&&E!==e.next&&Qs(i.x,i.y,a.x,a.y,o.x,o.y,E.x,E.y)&&Ur(E.prev,E,E.next)>=0)return!1;E=E.nextZ}return!0}function JQ(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!jg(i,a)&&FR(i,n,n.next,a)&&kd(i,a)&&kd(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),Md(n),Md(n.next),n=e=a),n=n.next}while(n!==e);return cu(n)}function eZ(e,t,r,n,i,a){var o=e;do{for(var l=o.next.next;l!==o.prev;){if(o.i!==l.i&&sZ(o,l)){var s=RR(o,l);o=cu(o,o.next),s=cu(s,s.next),Od(o,t,r,n,i,a),Od(s,t,r,n,i,a);return}l=l.next}o=o.next}while(o!==e)}function tZ(e,t,r,n){var i=[],a,o,l,s,c;for(a=0,o=t.length;a<o;a++)l=t[a]*n,s=a<o-1?t[a+1]*n:e.length,c=PR(e,l,s,n,!1),c===c.next&&(c.steiner=!0),i.push(lZ(c));for(i.sort(rZ),a=0;a<i.length;a++)r=nZ(i[a],r),r=cu(r,r.next);return r}function rZ(e,t){return e.x-t.x}function nZ(e,t){var r=iZ(e,t);if(!r)return t;var n=RR(r,e),i=cu(r,r.next);return cu(n,n.next),t===r?i:t}function iZ(e,t){var r=t,n=e.x,i=e.y,a=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a){if(a=l,l===n){if(i===r.y)return r;if(i===r.next.y)return r.next}o=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!o)return null;if(n===a)return o;var s=o,c=o.x,d=o.y,y=1/0,g;r=o;do n>=r.x&&r.x>=c&&n!==r.x&&Qs(i<d?n:a,i,c,d,i<d?a:n,i,r.x,r.y)&&(g=Math.abs(i-r.y)/(n-r.x),kd(r,e)&&(g<y||g===y&&(r.x>o.x||r.x===o.x&&aZ(o,r)))&&(o=r,y=g)),r=r.next;while(r!==s);return o}function aZ(e,t){return Ur(e.prev,e,t.prev)<0&&Ur(t.next,e,e.next)<0}function oZ(e,t,r,n){var i=e;do i.z===null&&(i.z=S_(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,uZ(i)}function uZ(e){var t,r,n,i,a,o,l,s,c=1;do{for(r=e,e=null,a=null,o=0;r;){for(o++,n=r,l=0,t=0;t<c&&(l++,n=n.nextZ,!!n);t++);for(s=c;l>0||s>0&&n;)l!==0&&(s===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,s--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;r=n}a.nextZ=null,c*=2}while(o>1);return e}function S_(e,t,r,n,i){return e=32767*(e-r)*i,t=32767*(t-n)*i,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function lZ(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 Qs(e,t,r,n,i,a,o,l){return(i-o)*(t-l)-(e-o)*(a-l)>=0&&(e-o)*(n-l)-(r-o)*(t-l)>=0&&(r-o)*(a-l)-(i-o)*(n-l)>=0}function sZ(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!fZ(e,t)&&(kd(e,t)&&kd(t,e)&&cZ(e,t)&&(Ur(e.prev,e,t.prev)||Ur(e,t.prev,t))||jg(e,t)&&Ur(e.prev,e,e.next)>0&&Ur(t.prev,t,t.next)>0)}function Ur(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function jg(e,t){return e.x===t.x&&e.y===t.y}function FR(e,t,r,n){var i=d0(Ur(e,t,r)),a=d0(Ur(e,t,n)),o=d0(Ur(r,n,e)),l=d0(Ur(r,n,t));return!!(i!==a&&o!==l||i===0&&h0(e,r,t)||a===0&&h0(e,n,t)||o===0&&h0(r,e,n)||l===0&&h0(r,t,n))}function h0(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 d0(e){return e>0?1:e<0?-1:0}function fZ(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&&FR(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function kd(e,t){return Ur(e.prev,e,e.next)<0?Ur(e,t,e.next)>=0&&Ur(e,e.prev,t)>=0:Ur(e,t,e.prev)<0||Ur(e,e.next,t)<0}function cZ(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 RR(e,t){var r=new E_(e.i,e.x,e.y),n=new E_(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 NO(e,t,r,n){var i=new E_(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 Md(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 E_(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}Ug.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(A_(e,0,a,r));if(i)for(var l=0,s=t.length;l<s;l++){var c=t[l]*r,d=l<s-1?t[l+1]*r:e.length;o-=Math.abs(A_(e,c,d,r))}var y=0;for(l=0;l<n.length;l+=3){var g=n[l]*r,m=n[l+1]*r,E=n[l+2]*r;y+=Math.abs((e[g]-e[E])*(e[m+1]-e[g+1])-(e[g]-e[m])*(e[E+1]-e[g+1]))}return o===0&&y===0?0:Math.abs((y-o)/o)};function A_(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}Ug.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 hZ=up,dZ=pZ;function pZ(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=hZ(e,t));for(var n=0;n<t;n++){var i=r[t+n],a=r[n],o=n,l=e.length;if(i===1/0&&a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:e[o]===a?0:.5;else if(i===1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:0;else if(a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===a?0:1;else{var s=i-a;for(o=n;o<l;o+=t)isNaN(e[o])||(e[o]=s===0?.5:(e[o]-a)/s)}}return e}var vZ=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")},eb,LO;function NR(){if(LO)return eb;LO=1;var e=Object.create,t=Object.getPrototypeOf,r={};return eb=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},eb}var tb,DO;function mZ(){if(DO)return tb;DO=1;var e=Object.create,t;return NR()()||(t=LR()),tb=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)})}(),tb}var rb,$O;function LR(){if($O)return rb;$O=1;var e=R2,t=Zi,r=Object.prototype.isPrototypeOf,n=Object.defineProperty,i={configurable:!0,enumerable:!1,writable:!0,value:void 0},a;return a=function(o,l){if(t(o),l===null||e(l))return o;throw new TypeError("Prototype must be null or an object")},rb=function(o){var l,s;return o?(o.level===2?o.set?(s=o.set,l=function(c,d){return s.call(a(c,d),d),c}):l=function(c,d){return a(c,d).__proto__=d,c}:l=function c(d,y){var g;return a(d,y),g=r.call(c.nullPolyfill,d),g&&delete c.nullPolyfill.__proto__,y===null&&(y=c.nullPolyfill),d.__proto__=y,g&&n(c.nullPolyfill,"__proto__",i),d},Object.defineProperty(l,"level",{configurable:!1,enumerable:!1,writable:!1,value:o.level})):null}(function(){var o=Object.create(null),l={},s,c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(c){try{s=c.set,s.call(o,l)}catch{}if(Object.getPrototypeOf(o)===l)return{set:s,level:2}}return o.__proto__=l,Object.getPrototypeOf(o)===l?{level:2}:(o={},o.__proto__=l,Object.getPrototypeOf(o)===l?{level:1}:!1)}()),mZ(),rb}var nb,BO;function BS(){return BO||(BO=1,nb=NR()()?Object.setPrototypeOf:LR()),nb}var ib,zO;function gZ(){if(zO)return ib;zO=1;var e=R2;return ib=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},ib}var ab,UO;function yZ(){if(UO)return ab;UO=1;var e=Object.create(null),t=Math.random;return ab=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},ab}var ob={exports:{}},ub,jO;function xZ(){if(jO)return ub;jO=1;var e=Zi;return ub=function(){return e(this).length=0,this},ub}var lb,GO;function bZ(){if(GO)return lb;GO=1;var e=$f,t=N2,r=Object.prototype.toString;return lb=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}},lb}var sb,WO;function wZ(){return WO||(WO=1,sb=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),sb}var fb,HO;function _Z(){if(HO)return fb;HO=1;var e=wZ(),t=/[\n\r\u2028\u2029]/g;return fb=function(r){var n=e(r);return n===null?"<Non-coercible to string value>":(n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){switch(i){case`
1044
- `:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),n)},fb}var cb,VO;function DR(){if(VO)return cb;VO=1;var e=$f,t=N2,r=bZ(),n=_Z(),i=function(a,o){return a.replace("%v",n(o))};return cb=function(a,o,l){if(!t(l))throw new TypeError(i(o,a));if(!e(a)){if("default"in l)return l.default;if(l.isOptional)return null}var s=r(l.errorMessage);throw e(s)||(s=o),new TypeError(i(s,a))},cb}var hb,qO;function SZ(){if(qO)return hb;qO=1;var e=DR(),t=$f;return hb=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},hb}var db,YO;function EZ(){if(YO)return db;YO=1;var e=DR(),t=BM;return db=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},db}var pb,XO;function AZ(){if(XO)return pb;XO=1;var e=dg(),t=sg,r=Zi;return pb=function(n){var i=Object(r(n)),a=arguments[1],o=Object(arguments[2]);if(i!==n&&!a)return i;var l={};return a?e(a,function(s){(o.ensure||s in n)&&(l[s]=n[s])}):t(l,n),l},pb}var vb,QO;function TZ(){if(QO)return vb;QO=1;var e=$f,t=SZ(),r=EZ(),n=AZ(),i=F2,a=D2(),o=Function.prototype.bind,l=Object.defineProperty,s=Object.prototype.hasOwnProperty,c;return c=function(d,y,g){var m=t(y)&&r(y.value),E;return E=n(y),delete E.writable,delete E.value,E.get=function(){return!g.overwriteDefinition&&s.call(this,d)?m:(y.value=o.call(m,g.resolveContext?g.resolveContext(this):this),l(this,d,y),this[d])},E},vb=function(d){var y=i(arguments[1]);return e(y.resolveContext)&&r(y.resolveContext),a(d,function(g,m){return c(m,g,y)})},vb}var mb,ZO;function $R(){if(ZO)return mb;ZO=1;var e=xZ(),t=sg,r=_a,n=Zi,i=Fi.exports,a=TZ(),o=Rl(),l=Object.defineProperty,s=Object.defineProperties,c;return mb=c=function(d,y){if(!(this instanceof c))throw new TypeError("Constructor requires 'new'");s(this,{__list__:i("w",n(d)),__context__:i("w",y),__nextIndex__:i("w",0)}),y&&(r(y.on),y.on("_add",this._onAdd),y.on("_delete",this._onDelete),y.on("_clear",this._onClear))},delete c.prototype.constructor,s(c.prototype,t({_next:i(function(){var d;if(!!this.__list__){if(this.__redo__&&(d=this.__redo__.shift(),d!==void 0))return d;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:i(function(){return this._createResult(this._next())}),_createResult:i(function(d){return d===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(d)}}),_resolve:i(function(d){return this.__list__[d]}),_unBind:i(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:i(function(){return"[object "+(this[o.toStringTag]||"Object")+"]"})},a({_onAdd:i(function(d){if(!(d>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){l(this,"__redo__",i("c",[d]));return}this.__redo__.forEach(function(y,g){y>=d&&(this.__redo__[g]=++y)},this),this.__redo__.push(d)}}),_onDelete:i(function(d){var y;d>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(y=this.__redo__.indexOf(d),y!==-1&&this.__redo__.splice(y,1),this.__redo__.forEach(function(g,m){g>d&&(this.__redo__[m]=--g)},this)))}),_onClear:i(function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0})}))),l(c.prototype,o.iterator,i(function(){return this})),mb}var KO;function CZ(){if(KO)return ob.exports;KO=1;var e=BS(),t=zM,r=Fi.exports,n=Rl(),i=$R(),a=Object.defineProperty,o;return o=ob.exports=function(l,s){if(!(this instanceof o))throw new TypeError("Constructor requires 'new'");i.call(this,l),s?t.call(s,"key+value")?s="key+value":t.call(s,"key")?s="key":s="value":s="value",a(this,"__kind__",r("",s))},e&&e(o,i),delete o.prototype.constructor,o.prototype=Object.create(i.prototype,{_resolve:r(function(l){return this.__kind__==="value"?this.__list__[l]:this.__kind__==="key+value"?[l,this.__list__[l]]:l})}),a(o.prototype,n.toStringTag,r("c","Array Iterator")),ob.exports}var gb={exports:{}},JO;function OZ(){if(JO)return gb.exports;JO=1;var e=BS(),t=Fi.exports,r=Rl(),n=$R(),i=Object.defineProperty,a;return a=gb.exports=function(o){if(!(this instanceof a))throw new TypeError("Constructor requires 'new'");o=String(o),n.call(this,o),i(this,"__length__",t("",o.length))},e&&e(a,n),delete a.prototype.constructor,a.prototype=Object.create(n.prototype,{_next:t(function(){if(!!this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:t(function(o){var l=this.__list__[o],s;return this.__nextIndex__===this.__length__?l:(s=l.charCodeAt(0),s>=55296&&s<=56319?l+this.__list__[this.__nextIndex__++]:l)})}),i(a.prototype,r.toStringTag,t("c","String Iterator")),gb.exports}var yb,e5;function kZ(){if(e5)return yb;e5=1;var e=cg(),t=no,r=hg(),n=Rl().iterator,i=Array.isArray;return yb=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},yb}var xb,t5;function MZ(){if(t5)return xb;t5=1;var e=kZ();return xb=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},xb}var bb,r5;function BR(){if(r5)return bb;r5=1;var e=cg(),t=hg(),r=CZ(),n=OZ(),i=MZ(),a=Rl().iterator;return bb=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},bb}var wb,n5;function IZ(){if(n5)return wb;n5=1;var e=cg(),t=_a,r=hg(),n=BR(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return wb=function(l,s){var c,d=arguments[2],y,g,m,E,M,b,w;if(i(l)||e(l)?c="array":r(l)?c="string":l=n(l),t(s),g=function(){m=!0},c==="array"){o.call(l,function(_){return a.call(s,d,_,g),m});return}if(c==="string"){for(M=l.length,E=0;E<M&&(b=l[E],E+1<M&&(w=b.charCodeAt(0),w>=55296&&w<=56319&&(b+=l[++E])),a.call(s,d,b,g),!m);++E);return}for(y=l.next();!y.done;){if(a.call(s,d,y.value,g),m)return;y=l.next()}},wb}var _b,i5;function PZ(){return i5||(i5=1,_b=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),_b}var Sb,a5;function FZ(){if(a5)return Sb;a5=1;var e=no,t=BS(),r=gZ(),n=Zi,i=yZ(),a=Fi.exports,o=BR(),l=IZ(),s=Rl().toStringTag,c=PZ(),d=Array.isArray,y=Object.defineProperty,g=Object.prototype.hasOwnProperty,m=Object.getPrototypeOf,E;return Sb=E=function(){var M=arguments[0],b;if(!(this instanceof E))throw new TypeError("Constructor requires 'new'");return b=c&&t&&WeakMap!==E?t(new WeakMap,m(this)):this,e(M)&&(d(M)||(M=o(M))),y(b,"__weakMapData__",a("c","$weakMap$"+i())),M&&l(M,function(w){n(w),b.set(w[0],w[1])}),b},c&&(t&&t(E,WeakMap),E.prototype=Object.create(WeakMap.prototype,{constructor:a(E)})),Object.defineProperties(E.prototype,{delete:a(function(M){return g.call(r(M),this.__weakMapData__)?(delete M[this.__weakMapData__],!0):!1}),get:a(function(M){if(!!g.call(r(M),this.__weakMapData__))return M[this.__weakMapData__]}),has:a(function(M){return g.call(r(M),this.__weakMapData__)}),set:a(function(M,b){return y(r(M),this.__weakMapData__,a("c",b)),this}),toString:a(function(){return"[object WeakMap]"})}),y(E.prototype,s,a("c","WeakMap")),Sb}var zR=vZ()?WeakMap:FZ(),RZ=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 p0=Bg,NZ=up,T_=Cl,Ps=kR,LZ=yu,DZ=lp,o5=$S.exports,$Z=dZ,{float32:BZ,fract32:Eb}=fu.exports,zZ=zR,u5=$g,UZ=RZ;var cre=wr;function wr(e,t){if(!(this instanceof wr))return new wr(e,t);if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=e._gl,this.regl=e,this.passes=[],this.shaders=wr.shaders.has(e)?wr.shaders.get(e):wr.shaders.set(e,wr.createShaders(e)).get(e),this.update(t)}wr.dashMult=2;wr.maxPatternLength=256;wr.precisionThreshold=3e6;wr.maxPoints=1e4;wr.maxLines=2048;wr.shaders=new zZ;wr.createShaders=function(e){let t=e.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),r={primitive:"triangle strip",instances:e.prop("count"),count:4,offset:0,uniforms:{miterMode:(o,l)=>l.join==="round"?2:1,miterLimit:e.prop("miterLimit"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),thickness:e.prop("thickness"),dashTexture:e.prop("dashTexture"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),dashLength:e.prop("dashLength"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight],depth:e.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(o,l)=>!l.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},n=e(T_({vert:Ps("./rect-vert.glsl"),frag:Ps("./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(T_({cull:{enable:!0,face:"back"},vert:Ps("./miter-vert.glsl"),frag:Ps("./miter-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aColor:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:e.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},r))}catch{i=n}return{fill:e({primitive:"triangle",elements:(o,l)=>l.triangles,offset:0,vert:Ps("./fill-vert.glsl"),frag:Ps("./fill-frag.glsl"),uniforms:{scale:e.prop("scale"),color:e.prop("fill"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight]},attributes:{position:{buffer:e.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8}},blend:r.blend,depth:{enable:!1},scissor:r.scissor,stencil:r.stencil,viewport:r.viewport}),rect:n,miter:i}};wr.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null};wr.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};wr.prototype.draw=function(...e){return(e.length?e:this.passes).forEach((t,r)=>{if(t&&Array.isArray(t))return this.draw(...t);typeof t=="number"&&(t=this.passes[t]),t&&t.count>1&&t.opacity&&(this.regl._refresh(),t.fill&&t.triangles&&t.triangles.length>2&&this.shaders.fill(t),t.thickness&&(t.scale[0]*t.viewport.width>wr.precisionThreshold||t.scale[1]*t.viewport.height>wr.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=wr.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};wr.prototype.update=function(e){if(!e)return;e.length!=null?typeof e[0]=="number"&&(e=[{positions:e}]):Array.isArray(e)||(e=[e]);let{regl:t,gl:r}=this;if(e.forEach((i,a)=>{let o=this.passes[a];if(i!==void 0){if(i===null){this.passes[a]=null;return}if(typeof i[0]=="number"&&(i={positions:i}),i=LZ(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=T_({},wr.defaults,i)),i.thickness!=null&&(o.thickness=parseFloat(i.thickness)),i.opacity!=null&&(o.opacity=parseFloat(i.opacity)),i.miterLimit!=null&&(o.miterLimit=parseFloat(i.miterLimit)),i.overlay!=null&&(o.overlay=!!i.overlay,a<wr.maxLines&&(o.depth=2*(wr.maxLines-1-a%wr.maxLines)/wr.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?p0(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=u5(i.viewport)),o.viewport||(o.viewport=u5([r.drawingBufferWidth,r.drawingBufferHeight])),i.close!=null&&(o.close=i.close),i.positions===null&&(i.positions=[]),i.positions){let c,d;if(i.positions.x&&i.positions.y){let E=i.positions.x,M=i.positions.y;d=o.count=Math.max(E.length,M.length),c=new Float64Array(d*2);for(let b=0;b<d;b++)c[b*2]=E[b],c[b*2+1]=M[b]}else c=DZ(i.positions,"float64"),d=o.count=Math.floor(c.length/2);let y=o.bounds=NZ(c,2);if(o.fill){let E=[],M={},b=0;for(let w=0,_=0,C=o.count;w<C;w++){let T=c[w*2],R=c[w*2+1];isNaN(T)||isNaN(R)||T==null||R==null?(T=c[b*2],R=c[b*2+1],M[w]=b):b=w,E[_++]=T,E[_++]=R}if(i.splitNull){o.count-1 in M||(M[o.count]=o.count-1);let w=Object.keys(M).map(Number).sort((R,L)=>R-L),_=[],C=0,T=o.hole!=null?o.hole[0]:null;if(T!=null){let R=UZ(w,L=>L>=T);w=w.slice(0,R),w.push(T)}for(let R=0;R<w.length;R++){let L=E.slice(C*2,w[R]*2).concat(T?E.slice(T*2):[]),q=(o.hole||[]).map(te=>te-T+(w[R]-C)),j=o5(L,q);j=j.map(te=>te+C+(te+C<w[R]?0:T-w[R])),_.push(...j),C=w[R]+1}for(let R=0,L=_.length;R<L;R++)M[_[R]]!=null&&(_[R]=M[_[R]]);o.triangles=_}else{let w=o5(E,o.hole||[]);for(let _=0,C=w.length;_<C;_++)M[w[_]]!=null&&(w[_]=M[w[_]]);o.triangles=w}}let g=new Float64Array(c);$Z(g,2,y);let m=new Float64Array(d*2+6);o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(m[0]=g[d*2-4],m[1]=g[d*2-3]):(m[0]=g[d*2-2],m[1]=g[d*2-1]):(m[0]=g[0],m[1]=g[1]),m.set(g,2),o.close?c[0]===c[d*2-2]&&c[1]===c[d*2-1]?(m[d*2+2]=g[2],m[d*2+3]=g[3],o.count-=1):(m[d*2+2]=g[0],m[d*2+3]=g[1],m[d*2+4]=g[2],m[d*2+5]=g[3]):(m[d*2+2]=g[d*2-2],m[d*2+3]=g[d*2-1],m[d*2+4]=g[d*2-2],m[d*2+5]=g[d*2-1]);var l=BZ(m);o.positionBuffer(l);var s=Eb(m,l);o.positionFractBuffer(s)}if(i.range?o.range=i.range:o.range||(o.range=o.bounds),(i.range||i.positions)&&o.count){let c=o.bounds,d=c[2]-c[0],y=c[3]-c[1],g=o.range[2]-o.range[0],m=o.range[3]-o.range[1];o.scale=[d/g,y/m],o.translate=[-o.range[0]/g+c[0]/g||0,-o.range[1]/m+c[1]/m||0],o.scaleFract=Eb(o.scale),o.translateFract=Eb(o.translate)}if(i.dashes){let c=0,d;if(!i.dashes||i.dashes.length<2)c=1,d=new Uint8Array([255,255,255,255,255,255,255,255]);else{c=0;for(let m=0;m<i.dashes.length;++m)c+=i.dashes[m];d=new Uint8Array(c*wr.dashMult);let y=0,g=255;for(let m=0;m<2;m++)for(let E=0;E<i.dashes.length;++E){for(let M=0,b=i.dashes[E]*wr.dashMult*.5;M<b;++M)d[y++]=g;g^=255}}o.dashLength=c,o.dashTexture({channels:1,data:d,width:d.length,height:1,mag:"linear",min:"linear"},0,0)}if(i.color){let c=o.count,d=i.color;d||(d="transparent");let y=new Uint8Array(c*4+4);if(!Array.isArray(d)||typeof d[0]=="number"){let g=p0(d,"uint8");for(let m=0;m<c+1;m++)y.set(g,m*4)}else{for(let g=0;g<c;g++){let m=p0(d[g],"uint8");y.set(m,g*4)}y.set(p0(d[0],"uint8"),c*4)}o.colorBuffer({usage:"dynamic",type:"uint8",data:y})}}}),e.length<this.passes.length){for(let i=e.length;i<this.passes.length;i++){let a=this.passes[i];!a||(a.colorBuffer.destroy(),a.positionBuffer.destroy(),a.dashTexture.destroy())}this.passes.length=e.length}let n=[];for(let i=0;i<this.passes.length;i++)this.passes[i]!==null&&n.push(this.passes[i]);return this.passes=n,this};wr.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const jZ=up,GZ=Bg,WZ=MR,HZ=yu,l5=Cl,s5=lp,{float32:VZ,fract32:Ab}=fu.exports;var hre=qZ;const f5=[[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 qZ(e,t){if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let r=e._gl,n,i,a,o,l,s,c={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},d=[];return o=e.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),i=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),a=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),s=e.buffer({usage:"static",type:"float",data:f5}),E(t),n=e({vert:`
1045
- precision highp float;
1046
-
1047
- attribute vec2 position, positionFract;
1048
- attribute vec4 error;
1049
- attribute vec4 color;
1050
-
1051
- attribute vec2 direction, lineOffset, capOffset;
1052
-
1053
- uniform vec4 viewport;
1054
- uniform float lineWidth, capSize;
1055
- uniform vec2 scale, scaleFract, translate, translateFract;
1056
-
1057
- varying vec4 fragColor;
1058
-
1059
- void main() {
1060
- fragColor = color / 255.;
1061
-
1062
- vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
1063
-
1064
- vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
1065
-
1066
- vec2 position = position + dxy;
1067
-
1068
- vec2 pos = (position + translate) * scale
1069
- + (positionFract + translateFract) * scale
1070
- + (position + translate) * scaleFract
1071
- + (positionFract + translateFract) * scaleFract;
1072
-
1073
- pos += pixelOffset / viewport.zw;
1074
-
1075
- gl_Position = vec4(pos * 2. - 1., 0, 1);
1076
- }
1077
- `,frag:`
1078
- precision highp float;
1079
-
1080
- varying vec4 fragColor;
1081
-
1082
- uniform float opacity;
1083
-
1084
- void main() {
1085
- gl_FragColor = fragColor;
1086
- gl_FragColor.a *= opacity;
1087
- }
1088
- `,uniforms:{range:e.prop("range"),lineWidth:e.prop("lineWidth"),capSize:e.prop("capSize"),opacity:e.prop("opacity"),scale:e.prop("scale"),translate:e.prop("translate"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),viewport:(b,w)=>[w.viewport.x,w.viewport.y,b.viewportWidth,b.viewportHeight]},attributes:{color:{buffer:o,offset:(b,w)=>w.offset*4,divisor:1},position:{buffer:i,offset:(b,w)=>w.offset*8,divisor:1},positionFract:{buffer:a,offset:(b,w)=>w.offset*8,divisor:1},error:{buffer:l,offset:(b,w)=>w.offset*16,divisor:1},direction:{buffer:s,stride:24,offset:0},lineOffset:{buffer:s,stride:24,offset:8},capOffset:{buffer:s,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:!1,instances:e.prop("count"),count:f5.length}),l5(y,{update:E,draw:g,destroy:M,regl:e,gl:r,canvas:r.canvas,groups:d}),y;function y(b){b?E(b):b===null&&M(),g()}function g(b){if(typeof b=="number")return m(b);b&&!Array.isArray(b)&&(b=[b]),e._refresh(),d.forEach((w,_)=>{if(!!w){if(b&&(b[_]?w.draw=!0:w.draw=!1),!w.draw){w.draw=!0;return}m(_)}})}function m(b){typeof b=="number"&&(b=d[b]),b!=null&&(!(b&&b.count&&b.color&&b.opacity&&b.positions&&b.positions.length>1)||(b.scaleRatio=[b.scale[0]*b.viewport.width,b.scale[1]*b.viewport.height],n(b),b.after&&b.after(b)))}function E(b){if(!b)return;b.length!=null?typeof b[0]=="number"&&(b=[{positions:b}]):Array.isArray(b)||(b=[b]);let w=0,_=0;if(y.groups=d=b.map((R,L)=>{let q=d[L];if(R)typeof R=="function"?R={after:R}:typeof R[0]=="number"&&(R={positions:R});else return q;return R=HZ(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"}),q||(d[L]=q={id:L,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},R=l5({},c,R)),WZ(q,R,[{lineWidth:j=>+j*.5,capSize:j=>+j*.5,opacity:parseFloat,errors:j=>(j=s5(j),_+=j.length,j),positions:(j,te)=>(j=s5(j,"float64"),te.count=Math.floor(j.length/2),te.bounds=jZ(j,2),te.offset=w,w+=te.count,j)},{color:(j,te)=>{let ge=te.count;if(j||(j="transparent"),!Array.isArray(j)||typeof j[0]=="number"){let ke=j;j=Array(ge);for(let Re=0;Re<ge;Re++)j[Re]=ke}if(j.length<ge)throw Error("Not enough colors");let me=new Uint8Array(ge*4);for(let ke=0;ke<ge;ke++){let Re=GZ(j[ke],"uint8");me.set(Re,ke*4)}return me},range:(j,te,ge)=>{let me=te.bounds;return j||(j=me),te.scale=[1/(j[2]-j[0]),1/(j[3]-j[1])],te.translate=[-j[0],-j[1]],te.scaleFract=Ab(te.scale),te.translateFract=Ab(te.translate),j},viewport:j=>{let te;return Array.isArray(j)?te={x:j[0],y:j[1],width:j[2]-j[0],height:j[3]-j[1]}:j?(te={x:j.x||j.left||0,y:j.y||j.top||0},j.right?te.width=j.right-te.x:te.width=j.w||j.width||0,j.bottom?te.height=j.bottom-te.y:te.height=j.h||j.height||0):te={x:0,y:0,width:r.drawingBufferWidth,height:r.drawingBufferHeight},te}}]),q}),w||_){let R=d.reduce((te,ge,me)=>te+(ge?ge.count:0),0),L=new Float64Array(R*2),q=new Uint8Array(R*4),j=new Float32Array(R*4);d.forEach((te,ge)=>{if(!te)return;let{positions:me,count:ke,offset:Re,color:Le,errors:ut}=te;!ke||(q.set(Le,Re*4),j.set(ut,Re*4),L.set(me,Re*2))});var C=VZ(L);i(C);var T=Ab(L,C);a(T),o(q),l(j)}}function M(){i.destroy(),a.destroy(),o.destroy(),l.destroy(),s.destroy()}}var c5=/[\'\"]/,YZ=function(t){return t?(c5.test(t.charAt(0))&&(t=t.substr(1)),c5.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const UR=["inherit","initial","unset"],jR=["caption","icon","menu","message-box","small-caption","status-bar"],GR=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],WR=["normal","italic","oblique"],HR=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function VR(e,t){if(typeof e!="string")return[e];var r=[e];typeof t=="string"||Array.isArray(t)?t={brackets:t}:t||(t={});var n=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],i=t.escape||"___",a=!!t.flat;n.forEach(function(s){var c=new RegExp(["\\",s[0],"[^\\",s[0],"\\",s[1],"]*\\",s[1]].join("")),d=[];function y(g,m,E){var M=r.push(g.slice(s[0].length,-s[1].length))-1;return d.push(M),i+M+i}r.forEach(function(g,m){for(var E,M=0;g!=E;)if(E=g,g=g.replace(c,y),M++>1e4)throw Error("References have circular dependency. Please, check them.");r[m]=g}),d=d.reverse(),r=r.map(function(g){return d.forEach(function(m){g=g.replace(new RegExp("(\\"+i+m+"\\"+i+")","g"),s[0]+"$1"+s[1])}),g})});var o=new RegExp("\\"+i+"([0-9]+)\\"+i);function l(s,c,d){for(var y=[],g,m=0;g=o.exec(s);){if(m++>1e4)throw Error("Circular references in parenthesis");y.push(s.slice(0,g.index)),y.push(l(c[g[1]],c)),s=s.slice(g.index+g[0].length)}return y.push(s),y}return a?r:l(r[0],r)}function qR(e,t){if(t&&t.flat){var r=t&&t.escape||"___",n=e[0],i;if(!n)return"";for(var a=new RegExp("\\"+r+"([0-9]+)\\"+r),o=0;n!=i;){if(o++>1e4)throw Error("Circular references in "+e);i=n,n=n.replace(a,l)}return n}return e.reduce(function s(c,d){return Array.isArray(d)&&(d=d.reduce(s,"")),c+d},"");function l(s,c){if(e[c]==null)throw Error("Reference "+c+"is undefined");return e[c]}}function zS(e,t){return Array.isArray(e)?qR(e,t):VR(e,t)}zS.parse=VR;zS.stringify=qR;var XZ=zS,h5=XZ,QZ=function(t,r,n){if(t==null)throw Error("First argument should be a string");if(r==null)throw Error("Separator should be a string or a RegExp");n?(typeof n=="string"||Array.isArray(n))&&(n={ignore:n}):n={},n.escape==null&&(n.escape=!0),n.ignore==null?n.ignore=["[]","()","{}","<>",'""',"''","``","\u201C\u201D","\xAB\xBB"]:(typeof n.ignore=="string"&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map(function(y){return y.length===1&&(y=y+y),y}));var i=h5.parse(t,{flat:!0,brackets:n.ignore}),a=i[0],o=a.split(r);if(n.escape){for(var l=[],s=0;s<o.length;s++){var c=o[s],d=o[s+1];c[c.length-1]==="\\"&&c[c.length-2]!=="\\"?(l.push(c+r+d),s++):l.push(c)}o=l}for(var s=0;s<o.length;s++)i[0]=o[s],o[s]=h5.stringify(i,{flat:!0});return o};const ZZ=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var KZ=ZZ,YR={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||KZ.indexOf(t)!==-1}},JZ=YZ,eK=UR,tK=jR,rK=GR,nK=WR,iK=HR,Tb=QZ,aK=YR.isSize,oK=XR,Sh=XR.cache={};function XR(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(Sh[e])return Sh[e];if(e==="")throw new Error("Cannot parse an empty string.");if(tK.indexOf(e)!==-1)return Sh[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=Tb(e,/\s+/),n;n=r.shift();){if(eK.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),Sh[e]=t;if(nK.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(iK.indexOf(n)!==-1){t.stretch=n;continue}if(rK.indexOf(n)!==-1){t.weight=n;continue}if(aK(n)){var i=Tb(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=d5(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=d5(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=Tb(r.join(" "),/\s*,\s*/).map(JZ),Sh[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function d5(e){var t=parseFloat(e);return t.toString()===e?t:e}var uK=yu,lK=YR.isSize,sK=sp(UR),fK=sp(jR),cK=sp(GR),hK=sp(WR),dK=sp(HR),pK={normal:1,"small-caps":1},vK={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},Cb={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},QR=function(t){if(t=uK(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&&Eh(t.system,fK),t.system;if(Eh(t.style,hK),Eh(t.variant,pK),Eh(t.weight,cK),Eh(t.stretch,dK),t.size==null&&(t.size=Cb.size),typeof t.size=="number"&&(t.size+="px"),!lK)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=Cb.family),Array.isArray(t.family)&&(t.family.length||(t.family=[Cb.family]),t.family=t.family.map(function(n){return vK[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 Eh(e,t){if(e&&!t[e]&&!sK[e])throw Error("Unknown keyword `"+e+"`");return e}function sp(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var mK={parse:oK,stringify:QR},ZR={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ar,function(){var r=function(F,H){for(var K=Object.keys(H),Ee=0;Ee<K.length;++Ee)F[K[Ee]]=H[K[Ee]];return F},n=0,i=0,a=5,o=6;function l(F,H){this.id=n++,this.type=F,this.data=H}function s(F){return F.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function c(F){if(F.length===0)return[];var H=F.charAt(0),K=F.charAt(F.length-1);if(F.length>1&&H===K&&(H==='"'||H==="'"))return['"'+s(F.substr(1,F.length-2))+'"'];var Ee=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(F);if(Ee)return c(F.substr(0,Ee.index)).concat(c(Ee[1])).concat(c(F.substr(Ee.index+Ee[0].length)));var Me=F.split(".");if(Me.length===1)return['"'+s(F)+'"'];for(var xe=[],_e=0;_e<Me.length;++_e)xe=xe.concat(c(Me[_e]));return xe}function d(F){return"["+c(F).join("][")+"]"}function y(F,H){return new l(F,d(H+""))}function g(F){return typeof F=="function"&&!F._reglType||F instanceof l}function m(F,H){if(typeof F=="function")return new l(i,F);if(typeof F=="number"||typeof F=="boolean")return new l(a,F);if(Array.isArray(F))return new l(o,F.map(function(K,Ee){return m(K)}));if(F instanceof l)return F}var E={DynamicVariable:l,define:y,isDynamic:g,unbox:m,accessor:d},M={next:typeof requestAnimationFrame=="function"?function(F){return requestAnimationFrame(F)}:function(F){return setTimeout(F,16)},cancel:typeof cancelAnimationFrame=="function"?function(F){return cancelAnimationFrame(F)}:clearTimeout},b=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date};function w(){var F={"":0},H=[""];return{id:function(K){var Ee=F[K];return Ee||(Ee=F[K]=H.length,H.push(K),Ee)},str:function(K){return H[K]}}}function _(F,H,K){var Ee=document.createElement("canvas");r(Ee.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),F.appendChild(Ee),F===document.body&&(Ee.style.position="absolute",r(F.style,{margin:0,padding:0}));function Me(){var Ye=window.innerWidth,Xe=window.innerHeight;if(F!==document.body){var et=Ee.getBoundingClientRect();Ye=et.right-et.left,Xe=et.bottom-et.top}Ee.width=K*Ye,Ee.height=K*Xe}var xe;F!==document.body&&typeof ResizeObserver=="function"?(xe=new ResizeObserver(function(){setTimeout(Me)}),xe.observe(F)):window.addEventListener("resize",Me,!1);function _e(){xe?xe.disconnect():window.removeEventListener("resize",Me),F.removeChild(Ee)}return Me(),{canvas:Ee,onDestroy:_e}}function C(F,H){function K(Ee){try{return F.getContext(Ee,H)}catch{return null}}return K("webgl")||K("experimental-webgl")||K("webgl-experimental")}function T(F){return typeof F.nodeName=="string"&&typeof F.appendChild=="function"&&typeof F.getBoundingClientRect=="function"}function R(F){return typeof F.drawArrays=="function"||typeof F.drawElements=="function"}function L(F){return typeof F=="string"?F.split():F}function q(F){return typeof F=="string"?document.querySelector(F):F}function j(F){var H=F||{},K,Ee,Me,xe,_e={},Ye=[],Xe=[],et=typeof window>"u"?1:window.devicePixelRatio,ft=!1,It={},St=function(he){},it=function(){};if(typeof H=="string"?K=document.querySelector(H):typeof H=="object"&&(T(H)?K=H:R(H)?(xe=H,Me=xe.canvas):("gl"in H?xe=H.gl:"canvas"in H?Me=q(H.canvas):"container"in H&&(Ee=q(H.container)),"attributes"in H&&(_e=H.attributes),"extensions"in H&&(Ye=L(H.extensions)),"optionalExtensions"in H&&(Xe=L(H.optionalExtensions)),"onDone"in H&&(St=H.onDone),"profile"in H&&(ft=!!H.profile),"pixelRatio"in H&&(et=+H.pixelRatio),"cachedCode"in H&&(It=H.cachedCode))),K&&(K.nodeName.toLowerCase()==="canvas"?Me=K:Ee=K),!xe){if(!Me){var Ge=_(Ee||document.body,St,et);if(!Ge)return null;Me=Ge.canvas,it=Ge.onDestroy}_e.premultipliedAlpha===void 0&&(_e.premultipliedAlpha=!0),xe=C(Me,_e)}return xe?{gl:xe,canvas:Me,container:Ee,extensions:Ye,optionalExtensions:Xe,pixelRatio:et,profile:ft,cachedCode:It,onDone:St,onDestroy:it}:(it(),St("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function te(F,H){var K={};function Ee(_e){var Ye=_e.toLowerCase(),Xe;try{Xe=K[Ye]=F.getExtension(Ye)}catch{}return!!Xe}for(var Me=0;Me<H.extensions.length;++Me){var xe=H.extensions[Me];if(!Ee(xe))return H.onDestroy(),H.onDone('"'+xe+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return H.optionalExtensions.forEach(Ee),{extensions:K,restore:function(){Object.keys(K).forEach(function(_e){if(K[_e]&&!Ee(_e))throw new Error("(regl): error restoring extension "+_e)})}}}function ge(F,H){for(var K=Array(F),Ee=0;Ee<F;++Ee)K[Ee]=H(Ee);return K}var me=5120,ke=5121,Re=5122,Le=5123,ut=5124,nt=5125,De=5126;function We(F){for(var H=16;H<=1<<28;H*=16)if(F<=H)return H;return 0}function _t(F){var H,K;return H=(F>65535)<<4,F>>>=H,K=(F>255)<<3,F>>>=K,H|=K,K=(F>15)<<2,F>>>=K,H|=K,K=(F>3)<<1,F>>>=K,H|=K,H|F>>1}function He(){var F=ge(8,function(){return[]});function H(xe){var _e=We(xe),Ye=F[_t(_e)>>2];return Ye.length>0?Ye.pop():new ArrayBuffer(_e)}function K(xe){F[_t(xe.byteLength)>>2].push(xe)}function Ee(xe,_e){var Ye=null;switch(xe){case me:Ye=new Int8Array(H(_e),0,_e);break;case ke:Ye=new Uint8Array(H(_e),0,_e);break;case Re:Ye=new Int16Array(H(2*_e),0,_e);break;case Le:Ye=new Uint16Array(H(2*_e),0,_e);break;case ut:Ye=new Int32Array(H(4*_e),0,_e);break;case nt:Ye=new Uint32Array(H(4*_e),0,_e);break;case De:Ye=new Float32Array(H(4*_e),0,_e);break;default:return null}return Ye.length!==_e?Ye.subarray(0,_e):Ye}function Me(xe){K(xe.buffer)}return{alloc:H,free:K,allocType:Ee,freeType:Me}}var we=He();we.zero=He();var Ve=3408,st=3410,Qe=3411,ct=3412,yt=3413,Ht=3414,qt=3415,Ze=33901,At=33902,jt=3379,Ce=3386,W=34921,ae=36347,I=36348,A=35661,k=35660,$=34930,fe=36349,Fe=34076,ze=34024,Qt=7936,sr=7937,nr=7938,qr=35724,kr=34047,Ji=36063,bu=34852,Ea=3553,gi=34067,hp=34069,Ri=33984,wu=6408,zl=5126,Ul=5121,jl=36160,ty=36053,Aa=36064,ry=16384,Gl=function(F,H){var K=1;H.ext_texture_filter_anisotropic&&(K=F.getParameter(kr));var Ee=1,Me=1;H.webgl_draw_buffers&&(Ee=F.getParameter(bu),Me=F.getParameter(Ji));var xe=!!H.oes_texture_float;if(xe){var _e=F.createTexture();F.bindTexture(Ea,_e),F.texImage2D(Ea,0,wu,1,1,0,wu,zl,null);var Ye=F.createFramebuffer();if(F.bindFramebuffer(jl,Ye),F.framebufferTexture2D(jl,Aa,Ea,_e,0),F.bindTexture(Ea,null),F.checkFramebufferStatus(jl)!==ty)xe=!1;else{F.viewport(0,0,1,1),F.clearColor(1,0,0,1),F.clear(ry);var Xe=we.allocType(zl,4);F.readPixels(0,0,1,1,wu,zl,Xe),F.getError()?xe=!1:(F.deleteFramebuffer(Ye),F.deleteTexture(_e),xe=Xe[0]===1),we.freeType(Xe)}}var et=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),ft=!0;if(!et){var It=F.createTexture(),St=we.allocType(Ul,36);F.activeTexture(Ri),F.bindTexture(gi,It),F.texImage2D(hp,0,wu,3,3,0,wu,Ul,St),we.freeType(St),F.bindTexture(gi,null),F.deleteTexture(It),ft=!F.getError()}return{colorBits:[F.getParameter(st),F.getParameter(Qe),F.getParameter(ct),F.getParameter(yt)],depthBits:F.getParameter(Ht),stencilBits:F.getParameter(qt),subpixelBits:F.getParameter(Ve),extensions:Object.keys(H).filter(function(it){return!!H[it]}),maxAnisotropic:K,maxDrawbuffers:Ee,maxColorAttachments:Me,pointSizeDims:F.getParameter(Ze),lineWidthDims:F.getParameter(At),maxViewportDims:F.getParameter(Ce),maxCombinedTextureUnits:F.getParameter(A),maxCubeMapSize:F.getParameter(Fe),maxRenderbufferSize:F.getParameter(ze),maxTextureUnits:F.getParameter($),maxTextureSize:F.getParameter(jt),maxAttributes:F.getParameter(W),maxVertexUniforms:F.getParameter(ae),maxVertexTextureUnits:F.getParameter(k),maxVaryingVectors:F.getParameter(I),maxFragmentUniforms:F.getParameter(fe),glsl:F.getParameter(qr),renderer:F.getParameter(sr),vendor:F.getParameter(Qt),version:F.getParameter(nr),readFloat:xe,npotTextureCube:ft}},tn=function(F){return F instanceof Uint8Array||F instanceof Uint16Array||F instanceof Uint32Array||F instanceof Int8Array||F instanceof Int16Array||F instanceof Int32Array||F instanceof Float32Array||F instanceof Float64Array||F instanceof Uint8ClampedArray};function ni(F){return!!F&&typeof F=="object"&&Array.isArray(F.shape)&&Array.isArray(F.stride)&&typeof F.offset=="number"&&F.shape.length===F.stride.length&&(Array.isArray(F.data)||tn(F.data))}var Bn=function(F){return Object.keys(F).map(function(H){return F[H]})},ir={shape:vp,flatten:yi};function dp(F,H,K){for(var Ee=0;Ee<H;++Ee)K[Ee]=F[Ee]}function Ni(F,H,K,Ee){for(var Me=0,xe=0;xe<H;++xe)for(var _e=F[xe],Ye=0;Ye<K;++Ye)Ee[Me++]=_e[Ye]}function so(F,H,K,Ee,Me,xe){for(var _e=xe,Ye=0;Ye<H;++Ye)for(var Xe=F[Ye],et=0;et<K;++et)for(var ft=Xe[et],It=0;It<Ee;++It)Me[_e++]=ft[It]}function pp(F,H,K,Ee,Me){for(var xe=1,_e=K+1;_e<H.length;++_e)xe*=H[_e];var Ye=H[K];if(H.length-K===4){var Xe=H[K+1],et=H[K+2],ft=H[K+3];for(_e=0;_e<Ye;++_e)so(F[_e],Xe,et,ft,Ee,Me),Me+=xe}else for(_e=0;_e<Ye;++_e)pp(F[_e],H,K+1,Ee,Me),Me+=xe}function yi(F,H,K,Ee){var Me=1;if(H.length)for(var xe=0;xe<H.length;++xe)Me*=H[xe];else Me=0;var _e=Ee||we.allocType(K,Me);switch(H.length){case 0:break;case 1:dp(F,H[0],_e);break;case 2:Ni(F,H[0],H[1],_e);break;case 3:so(F,H[0],H[1],H[2],_e,0);break;default:pp(F,H,0,_e,0)}return _e}function vp(F){for(var H=[],K=F;K.length;K=K[0])H.push(K.length);return H}var _u={"[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},ny=5120,mp=5122,iy=5124,gp=5121,ay=5123,Su=5125,Wf=5126,yp=5126,Eu={int8:ny,int16:mp,int32:iy,uint8:gp,uint16:ay,uint32:Su,float:Wf,float32:yp},Wl=35048,Hf=35040,ea={dynamic:Wl,stream:Hf,static:35044},Vn=ir.flatten,Hl=ir.shape,Vl=35044,ii=35040,Au=5121,Tu=5126,Zr=[];Zr[5120]=1,Zr[5122]=2,Zr[5124]=4,Zr[5121]=1,Zr[5123]=2,Zr[5125]=4,Zr[5126]=4;function Ta(F){return _u[Object.prototype.toString.call(F)]|0}function Vf(F,H){for(var K=0;K<H.length;++K)F[K]=H[K]}function qf(F,H,K,Ee,Me,xe,_e){for(var Ye=0,Xe=0;Xe<K;++Xe)for(var et=0;et<Ee;++et)F[Ye++]=H[Me*Xe+xe*et+_e]}function xp(F,H,K,Ee){var Me=0,xe={};function _e(he){this.id=Me++,this.buffer=F.createBuffer(),this.type=he,this.usage=Vl,this.byteLength=0,this.dimension=1,this.dtype=Au,this.persistentData=null,K.profile&&(this.stats={size:0})}_e.prototype.bind=function(){F.bindBuffer(this.type,this.buffer)},_e.prototype.destroy=function(){St(this)};var Ye=[];function Xe(he,Te){var qe=Ye.pop();return qe||(qe=new _e(he)),qe.bind(),It(qe,Te,ii,0,1,!1),qe}function et(he){Ye.push(he)}function ft(he,Te,qe){he.byteLength=Te.byteLength,F.bufferData(he.type,Te,qe)}function It(he,Te,qe,Ke,Ne,pt){var ot;if(he.usage=qe,Array.isArray(Te)){if(he.dtype=Ke||Tu,Te.length>0){var Pt;if(Array.isArray(Te[0])){ot=Hl(Te);for(var $e=1,Ie=1;Ie<ot.length;++Ie)$e*=ot[Ie];he.dimension=$e,Pt=Vn(Te,ot,he.dtype),ft(he,Pt,qe),pt?he.persistentData=Pt:we.freeType(Pt)}else if(typeof Te[0]=="number"){he.dimension=Ne;var mt=we.allocType(he.dtype,Te.length);Vf(mt,Te),ft(he,mt,qe),pt?he.persistentData=mt:we.freeType(mt)}else tn(Te[0])&&(he.dimension=Te[0].length,he.dtype=Ke||Ta(Te[0])||Tu,Pt=Vn(Te,[Te.length,Te[0].length],he.dtype),ft(he,Pt,qe),pt?he.persistentData=Pt:we.freeType(Pt))}}else if(tn(Te))he.dtype=Ke||Ta(Te),he.dimension=Ne,ft(he,Te,qe),pt&&(he.persistentData=new Uint8Array(new Uint8Array(Te.buffer)));else if(ni(Te)){ot=Te.shape;var Ae=Te.stride,ht=Te.offset,Je=0,Ft=0,er=0,xt=0;ot.length===1?(Je=ot[0],Ft=1,er=Ae[0],xt=0):ot.length===2&&(Je=ot[0],Ft=ot[1],er=Ae[0],xt=Ae[1]),he.dtype=Ke||Ta(Te.data)||Tu,he.dimension=Ft;var Bt=we.allocType(he.dtype,Je*Ft);qf(Bt,Te.data,Je,Ft,er,xt,ht),ft(he,Bt,qe),pt?he.persistentData=Bt:we.freeType(Bt)}else Te instanceof ArrayBuffer&&(he.dtype=Au,he.dimension=Ne,ft(he,Te,qe),pt&&(he.persistentData=new Uint8Array(new Uint8Array(Te))))}function St(he){H.bufferCount--,Ee(he);var Te=he.buffer;F.deleteBuffer(Te),he.buffer=null,delete xe[he.id]}function it(he,Te,qe,Ke){H.bufferCount++;var Ne=new _e(Te);xe[Ne.id]=Ne;function pt($e){var Ie=Vl,mt=null,Ae=0,ht=0,Je=1;return Array.isArray($e)||tn($e)||ni($e)||$e instanceof ArrayBuffer?mt=$e:typeof $e=="number"?Ae=$e|0:$e&&("data"in $e&&(mt=$e.data),"usage"in $e&&(Ie=ea[$e.usage]),"type"in $e&&(ht=Eu[$e.type]),"dimension"in $e&&(Je=$e.dimension|0),"length"in $e&&(Ae=$e.length|0)),Ne.bind(),mt?It(Ne,mt,Ie,ht,Je,Ke):(Ae&&F.bufferData(Ne.type,Ae,Ie),Ne.dtype=ht||Au,Ne.usage=Ie,Ne.dimension=Je,Ne.byteLength=Ae),K.profile&&(Ne.stats.size=Ne.byteLength*Zr[Ne.dtype]),pt}function ot($e,Ie){F.bufferSubData(Ne.type,Ie,$e)}function Pt($e,Ie){var mt=(Ie||0)|0,Ae;if(Ne.bind(),tn($e)||$e instanceof ArrayBuffer)ot($e,mt);else if(Array.isArray($e)){if($e.length>0){if(typeof $e[0]=="number"){var ht=we.allocType(Ne.dtype,$e.length);Vf(ht,$e),ot(ht,mt),we.freeType(ht)}else if(Array.isArray($e[0])||tn($e[0])){Ae=Hl($e);var Je=Vn($e,Ae,Ne.dtype);ot(Je,mt),we.freeType(Je)}}}else if(ni($e)){Ae=$e.shape;var Ft=$e.stride,er=0,xt=0,Bt=0,lt=0;Ae.length===1?(er=Ae[0],xt=1,Bt=Ft[0],lt=0):Ae.length===2&&(er=Ae[0],xt=Ae[1],Bt=Ft[0],lt=Ft[1]);var tr=Array.isArray($e.data)?Ne.dtype:Ta($e.data),ur=we.allocType(tr,er*xt);qf(ur,$e.data,er,xt,Bt,lt,$e.offset),ot(ur,mt),we.freeType(ur)}return pt}return qe||pt(he),pt._reglType="buffer",pt._buffer=Ne,pt.subdata=Pt,K.profile&&(pt.stats=Ne.stats),pt.destroy=function(){St(Ne)},pt}function Ge(){Bn(xe).forEach(function(he){he.buffer=F.createBuffer(),F.bindBuffer(he.type,he.buffer),F.bufferData(he.type,he.persistentData||he.byteLength,he.usage)})}return K.profile&&(H.getTotalBufferSize=function(){var he=0;return Object.keys(xe).forEach(function(Te){he+=xe[Te].stats.size}),he}),{create:it,createStream:Xe,destroyStream:et,clear:function(){Bn(xe).forEach(St),Ye.forEach(St)},getBuffer:function(he){return he&&he._buffer instanceof _e?he._buffer:null},restore:Ge,_initBuffer:It}}var Yf=0,bp=0,wp=1,Xf=1,Qf=4,Zf=4,rn={points:Yf,point:bp,lines:wp,line:Xf,triangles:Qf,triangle:Zf,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},_p=0,ql=1,ta=4,fo=5120,Ca=5121,Kf=5122,Oa=5123,Yl=5124,ra=5125,co=34963,mr=35040,Jf=35044;function Xl(F,H,K,Ee){var Me={},xe=0,_e={uint8:Ca,uint16:Oa};H.oes_element_index_uint&&(_e.uint32=ra);function Ye(Ge){this.id=xe++,Me[this.id]=this,this.buffer=Ge,this.primType=ta,this.vertCount=0,this.type=0}Ye.prototype.bind=function(){this.buffer.bind()};var Xe=[];function et(Ge){var he=Xe.pop();return he||(he=new Ye(K.create(null,co,!0,!1)._buffer)),It(he,Ge,mr,-1,-1,0,0),he}function ft(Ge){Xe.push(Ge)}function It(Ge,he,Te,qe,Ke,Ne,pt){Ge.buffer.bind();var ot;if(he){var Pt=pt;!pt&&(!tn(he)||ni(he)&&!tn(he.data))&&(Pt=H.oes_element_index_uint?ra:Oa),K._initBuffer(Ge.buffer,he,Te,Pt,3)}else F.bufferData(co,Ne,Te),Ge.buffer.dtype=ot||Ca,Ge.buffer.usage=Te,Ge.buffer.dimension=3,Ge.buffer.byteLength=Ne;if(ot=pt,!pt){switch(Ge.buffer.dtype){case Ca:case fo:ot=Ca;break;case Oa:case Kf:ot=Oa;break;case ra:case Yl:ot=ra;break}Ge.buffer.dtype=ot}Ge.type=ot;var $e=Ke;$e<0&&($e=Ge.buffer.byteLength,ot===Oa?$e>>=1:ot===ra&&($e>>=2)),Ge.vertCount=$e;var Ie=qe;if(qe<0){Ie=ta;var mt=Ge.buffer.dimension;mt===1&&(Ie=_p),mt===2&&(Ie=ql),mt===3&&(Ie=ta)}Ge.primType=Ie}function St(Ge){Ee.elementsCount--,delete Me[Ge.id],Ge.buffer.destroy(),Ge.buffer=null}function it(Ge,he){var Te=K.create(null,co,!0),qe=new Ye(Te._buffer);Ee.elementsCount++;function Ke(Ne){if(!Ne)Te(),qe.primType=ta,qe.vertCount=0,qe.type=Ca;else if(typeof Ne=="number")Te(Ne),qe.primType=ta,qe.vertCount=Ne|0,qe.type=Ca;else{var pt=null,ot=Jf,Pt=-1,$e=-1,Ie=0,mt=0;Array.isArray(Ne)||tn(Ne)||ni(Ne)?pt=Ne:("data"in Ne&&(pt=Ne.data),"usage"in Ne&&(ot=ea[Ne.usage]),"primitive"in Ne&&(Pt=rn[Ne.primitive]),"count"in Ne&&($e=Ne.count|0),"type"in Ne&&(mt=_e[Ne.type]),"length"in Ne?Ie=Ne.length|0:(Ie=$e,mt===Oa||mt===Kf?Ie*=2:(mt===ra||mt===Yl)&&(Ie*=4))),It(qe,pt,ot,Pt,$e,Ie,mt)}return Ke}return Ke(Ge),Ke._reglType="elements",Ke._elements=qe,Ke.subdata=function(Ne,pt){return Te.subdata(Ne,pt),Ke},Ke.destroy=function(){St(qe)},Ke}return{create:it,createStream:et,destroyStream:ft,getElements:function(Ge){return typeof Ge=="function"&&Ge._elements instanceof Ye?Ge._elements:null},clear:function(){Bn(Me).forEach(St)}}}var Sp=new Float32Array(1),oy=new Uint32Array(Sp.buffer),Ql=5123;function Cu(F){for(var H=we.allocType(Ql,F.length),K=0;K<F.length;++K)if(isNaN(F[K]))H[K]=65535;else if(F[K]===1/0)H[K]=31744;else if(F[K]===-1/0)H[K]=64512;else{Sp[0]=F[K];var Ee=oy[0],Me=Ee>>>31<<15,xe=(Ee<<1>>>24)-127,_e=Ee>>13&(1<<10)-1;if(xe<-24)H[K]=Me;else if(xe<-14){var Ye=-14-xe;H[K]=Me+(_e+(1<<10)>>Ye)}else xe>15?H[K]=Me+31744:H[K]=Me+(xe+15<<10)+_e}return H}function ai(F){return Array.isArray(F)||tn(F)}var Zl=34467,oi=3553,ho=34067,po=34069,na=6408,Kl=6406,Li=6407,Di=6409,Ou=6410,Ep=32854,vo=32855,Jl=36194,ec=32819,Ap=32820,mo=33635,ka=34042,ia=6402,ku=34041,Mu=35904,Ma=35906,Ia=36193,tc=33776,es=33777,Iu=33778,rc=33779,Tp=35986,nc=35987,Cp=34798,ic=35840,Op=35841,ac=35842,kp=35843,Pa=36196,ui=5121,oc=5123,uc=5125,Pu=5126,Mp=10242,Fu=10243,uy=10497,go=33071,ts=33648,lc=10240,rs=10241,Fa=9728,Ru=9729,ns=9984,is=9985,Ip=9986,yo=9987,ly=33170,as=4352,sy=4353,Pp=4354,Nu=34046,fy=3317,sc=37440,Fp=37441,$i=37443,fc=37444,Ra=33984,cc=[ns,Ip,is,yo],xi=[0,Di,Ou,Li,na],In={};In[Di]=In[Kl]=In[ia]=1,In[ku]=In[Ou]=2,In[Li]=In[Mu]=3,In[na]=In[Ma]=4;function Na(F){return"[object "+F+"]"}var Rp=Na("HTMLCanvasElement"),Np=Na("OffscreenCanvas"),Lp=Na("CanvasRenderingContext2D"),hc=Na("ImageBitmap"),dc=Na("HTMLImageElement"),Dp=Na("HTMLVideoElement"),cy=Object.keys(_u).concat([Rp,Np,Lp,hc,dc,Dp]),xo=[];xo[ui]=1,xo[Pu]=4,xo[Ia]=2,xo[oc]=2,xo[uc]=4;var Kr=[];Kr[Ep]=2,Kr[vo]=2,Kr[Jl]=2,Kr[ku]=4,Kr[tc]=.5,Kr[es]=.5,Kr[Iu]=1,Kr[rc]=1,Kr[Tp]=.5,Kr[nc]=1,Kr[Cp]=1,Kr[ic]=.5,Kr[Op]=.25,Kr[ac]=.5,Kr[kp]=.25,Kr[Pa]=.5;function $p(F){return Array.isArray(F)&&(F.length===0||typeof F[0]=="number")}function Bp(F){if(!Array.isArray(F))return!1;var H=F.length;return!(H===0||!ai(F[0]))}function La(F){return Object.prototype.toString.call(F)}function zp(F){return La(F)===Rp}function Up(F){return La(F)===Np}function hy(F){return La(F)===Lp}function dy(F){return La(F)===hc}function py(F){return La(F)===dc}function vy(F){return La(F)===Dp}function os(F){if(!F)return!1;var H=La(F);return cy.indexOf(H)>=0?!0:$p(F)||Bp(F)||ni(F)}function pc(F){return _u[Object.prototype.toString.call(F)]|0}function jp(F,H){var K=H.length;switch(F.type){case ui:case oc:case uc:case Pu:var Ee=we.allocType(F.type,K);Ee.set(H),F.data=Ee;break;case Ia:F.data=Cu(H);break}}function vc(F,H){return we.allocType(F.type===Ia?Pu:F.type,H)}function Gp(F,H){F.type===Ia?(F.data=Cu(H),we.freeType(H)):F.data=H}function my(F,H,K,Ee,Me,xe){for(var _e=F.width,Ye=F.height,Xe=F.channels,et=_e*Ye*Xe,ft=vc(F,et),It=0,St=0;St<Ye;++St)for(var it=0;it<_e;++it)for(var Ge=0;Ge<Xe;++Ge)ft[It++]=H[K*it+Ee*St+Me*Ge+xe];Gp(F,ft)}function Bi(F,H,K,Ee,Me,xe){var _e;if(typeof Kr[F]<"u"?_e=Kr[F]:_e=In[F]*xo[H],xe&&(_e*=6),Me){for(var Ye=0,Xe=K;Xe>=1;)Ye+=_e*Xe*Xe,Xe/=2;return Ye}else return _e*K*Ee}function gy(F,H,K,Ee,Me,xe,_e){var Ye={"don't care":as,"dont care":as,nice:Pp,fast:sy},Xe={repeat:uy,clamp:go,mirror:ts},et={nearest:Fa,linear:Ru},ft=r({mipmap:yo,"nearest mipmap nearest":ns,"linear mipmap nearest":is,"nearest mipmap linear":Ip,"linear mipmap linear":yo},et),It={none:0,browser:fc},St={uint8:ui,rgba4:ec,rgb565:mo,"rgb5 a1":Ap},it={alpha:Kl,luminance:Di,"luminance alpha":Ou,rgb:Li,rgba:na,rgba4:Ep,"rgb5 a1":vo,rgb565:Jl},Ge={};H.ext_srgb&&(it.srgb=Mu,it.srgba=Ma),H.oes_texture_float&&(St.float32=St.float=Pu),H.oes_texture_half_float&&(St.float16=St["half float"]=Ia),H.webgl_depth_texture&&(r(it,{depth:ia,"depth stencil":ku}),r(St,{uint16:oc,uint32:uc,"depth stencil":ka})),H.webgl_compressed_texture_s3tc&&r(Ge,{"rgb s3tc dxt1":tc,"rgba s3tc dxt1":es,"rgba s3tc dxt3":Iu,"rgba s3tc dxt5":rc}),H.webgl_compressed_texture_atc&&r(Ge,{"rgb atc":Tp,"rgba atc explicit alpha":nc,"rgba atc interpolated alpha":Cp}),H.webgl_compressed_texture_pvrtc&&r(Ge,{"rgb pvrtc 4bppv1":ic,"rgb pvrtc 2bppv1":Op,"rgba pvrtc 4bppv1":ac,"rgba pvrtc 2bppv1":kp}),H.webgl_compressed_texture_etc1&&(Ge["rgb etc1"]=Pa);var he=Array.prototype.slice.call(F.getParameter(Zl));Object.keys(Ge).forEach(function(Y){var be=Ge[Y];he.indexOf(be)>=0&&(it[Y]=be)});var Te=Object.keys(it);K.textureFormats=Te;var qe=[];Object.keys(it).forEach(function(Y){var be=it[Y];qe[be]=Y});var Ke=[];Object.keys(St).forEach(function(Y){var be=St[Y];Ke[be]=Y});var Ne=[];Object.keys(et).forEach(function(Y){var be=et[Y];Ne[be]=Y});var pt=[];Object.keys(ft).forEach(function(Y){var be=ft[Y];pt[be]=Y});var ot=[];Object.keys(Xe).forEach(function(Y){var be=Xe[Y];ot[be]=Y});var Pt=Te.reduce(function(Y,be){var ye=it[be];return ye===Di||ye===Kl||ye===Di||ye===Ou||ye===ia||ye===ku||H.ext_srgb&&(ye===Mu||ye===Ma)?Y[ye]=ye:ye===vo||be.indexOf("rgba")>=0?Y[ye]=na:Y[ye]=Li,Y},{});function $e(){this.internalformat=na,this.format=na,this.type=ui,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=fc,this.width=0,this.height=0,this.channels=0}function Ie(Y,be){Y.internalformat=be.internalformat,Y.format=be.format,Y.type=be.type,Y.compressed=be.compressed,Y.premultiplyAlpha=be.premultiplyAlpha,Y.flipY=be.flipY,Y.unpackAlignment=be.unpackAlignment,Y.colorSpace=be.colorSpace,Y.width=be.width,Y.height=be.height,Y.channels=be.channels}function mt(Y,be){if(!(typeof be!="object"||!be)){if("premultiplyAlpha"in be&&(Y.premultiplyAlpha=be.premultiplyAlpha),"flipY"in be&&(Y.flipY=be.flipY),"alignment"in be&&(Y.unpackAlignment=be.alignment),"colorSpace"in be&&(Y.colorSpace=It[be.colorSpace]),"type"in be){var ye=be.type;Y.type=St[ye]}var Tt=Y.width,rr=Y.height,Ir=Y.channels,Ct=!1;"shape"in be?(Tt=be.shape[0],rr=be.shape[1],be.shape.length===3&&(Ir=be.shape[2],Ct=!0)):("radius"in be&&(Tt=rr=be.radius),"width"in be&&(Tt=be.width),"height"in be&&(rr=be.height),"channels"in be&&(Ir=be.channels,Ct=!0)),Y.width=Tt|0,Y.height=rr|0,Y.channels=Ir|0;var U=!1;if("format"in be){var V=be.format,ee=Y.internalformat=it[V];Y.format=Pt[ee],V in St&&("type"in be||(Y.type=St[V])),V in Ge&&(Y.compressed=!0),U=!0}!Ct&&U?Y.channels=In[Y.format]:Ct&&!U&&Y.channels!==xi[Y.format]&&(Y.format=Y.internalformat=xi[Y.channels])}}function Ae(Y){F.pixelStorei(sc,Y.flipY),F.pixelStorei(Fp,Y.premultiplyAlpha),F.pixelStorei($i,Y.colorSpace),F.pixelStorei(fy,Y.unpackAlignment)}function ht(){$e.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Je(Y,be){var ye=null;if(os(be)?ye=be:be&&(mt(Y,be),"x"in be&&(Y.xOffset=be.x|0),"y"in be&&(Y.yOffset=be.y|0),os(be.data)&&(ye=be.data)),be.copy){var Tt=Me.viewportWidth,rr=Me.viewportHeight;Y.width=Y.width||Tt-Y.xOffset,Y.height=Y.height||rr-Y.yOffset,Y.needsCopy=!0}else if(!ye)Y.width=Y.width||1,Y.height=Y.height||1,Y.channels=Y.channels||4;else if(tn(ye))Y.channels=Y.channels||4,Y.data=ye,!("type"in be)&&Y.type===ui&&(Y.type=pc(ye));else if($p(ye))Y.channels=Y.channels||4,jp(Y,ye),Y.alignment=1,Y.needsFree=!0;else if(ni(ye)){var Ir=ye.data;!Array.isArray(Ir)&&Y.type===ui&&(Y.type=pc(Ir));var Ct=ye.shape,U=ye.stride,V,ee,Se,pe,de,ce;Ct.length===3?(Se=Ct[2],ce=U[2]):(Se=1,ce=1),V=Ct[0],ee=Ct[1],pe=U[0],de=U[1],Y.alignment=1,Y.width=V,Y.height=ee,Y.channels=Se,Y.format=Y.internalformat=xi[Se],Y.needsFree=!0,my(Y,Ir,pe,de,ce,ye.offset)}else if(zp(ye)||Up(ye)||hy(ye))zp(ye)||Up(ye)?Y.element=ye:Y.element=ye.canvas,Y.width=Y.element.width,Y.height=Y.element.height,Y.channels=4;else if(dy(ye))Y.element=ye,Y.width=ye.width,Y.height=ye.height,Y.channels=4;else if(py(ye))Y.element=ye,Y.width=ye.naturalWidth,Y.height=ye.naturalHeight,Y.channels=4;else if(vy(ye))Y.element=ye,Y.width=ye.videoWidth,Y.height=ye.videoHeight,Y.channels=4;else if(Bp(ye)){var se=Y.width||ye[0].length,Z=Y.height||ye.length,ne=Y.channels;ai(ye[0][0])?ne=ne||ye[0][0].length:ne=ne||1;for(var Q=ir.shape(ye),ve=1,Oe=0;Oe<Q.length;++Oe)ve*=Q[Oe];var Be=vc(Y,ve);ir.flatten(ye,Q,"",Be),Gp(Y,Be),Y.alignment=1,Y.width=se,Y.height=Z,Y.channels=ne,Y.format=Y.internalformat=xi[ne],Y.needsFree=!0}Y.type===Pu||Y.type}function Ft(Y,be,ye){var Tt=Y.element,rr=Y.data,Ir=Y.internalformat,Ct=Y.format,U=Y.type,V=Y.width,ee=Y.height;Ae(Y),Tt?F.texImage2D(be,ye,Ct,Ct,U,Tt):Y.compressed?F.compressedTexImage2D(be,ye,Ir,V,ee,0,rr):Y.needsCopy?(Ee(),F.copyTexImage2D(be,ye,Ct,Y.xOffset,Y.yOffset,V,ee,0)):F.texImage2D(be,ye,Ct,V,ee,0,Ct,U,rr||null)}function er(Y,be,ye,Tt,rr){var Ir=Y.element,Ct=Y.data,U=Y.internalformat,V=Y.format,ee=Y.type,Se=Y.width,pe=Y.height;Ae(Y),Ir?F.texSubImage2D(be,rr,ye,Tt,V,ee,Ir):Y.compressed?F.compressedTexSubImage2D(be,rr,ye,Tt,U,Se,pe,Ct):Y.needsCopy?(Ee(),F.copyTexSubImage2D(be,rr,ye,Tt,Y.xOffset,Y.yOffset,Se,pe)):F.texSubImage2D(be,rr,ye,Tt,Se,pe,V,ee,Ct)}var xt=[];function Bt(){return xt.pop()||new ht}function lt(Y){Y.needsFree&&we.freeType(Y.data),ht.call(Y),xt.push(Y)}function tr(){$e.call(this),this.genMipmaps=!1,this.mipmapHint=as,this.mipmask=0,this.images=Array(16)}function ur(Y,be,ye){var Tt=Y.images[0]=Bt();Y.mipmask=1,Tt.width=Y.width=be,Tt.height=Y.height=ye,Tt.channels=Y.channels=4}function hr(Y,be){var ye=null;if(os(be))ye=Y.images[0]=Bt(),Ie(ye,Y),Je(ye,be),Y.mipmask=1;else if(mt(Y,be),Array.isArray(be.mipmap))for(var Tt=be.mipmap,rr=0;rr<Tt.length;++rr)ye=Y.images[rr]=Bt(),Ie(ye,Y),ye.width>>=rr,ye.height>>=rr,Je(ye,Tt[rr]),Y.mipmask|=1<<rr;else ye=Y.images[0]=Bt(),Ie(ye,Y),Je(ye,be),Y.mipmask=1;Ie(Y,Y.images[0]),Y.compressed&&(Y.internalformat===tc||Y.internalformat===es||Y.internalformat===Iu||Y.internalformat)}function on(Y,be){for(var ye=Y.images,Tt=0;Tt<ye.length;++Tt){if(!ye[Tt])return;Ft(ye[Tt],be,Tt)}}var lr=[];function Yn(){var Y=lr.pop()||new tr;$e.call(Y),Y.mipmask=0;for(var be=0;be<16;++be)Y.images[be]=null;return Y}function Er(Y){for(var be=Y.images,ye=0;ye<be.length;++ye)be[ye]&&lt(be[ye]),be[ye]=null;lr.push(Y)}function An(){this.minFilter=Fa,this.magFilter=Fa,this.wrapS=go,this.wrapT=go,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=as}function Xn(Y,be){if("min"in be){var ye=be.min;Y.minFilter=ft[ye],cc.indexOf(Y.minFilter)>=0&&!("faces"in be)&&(Y.genMipmaps=!0)}if("mag"in be){var Tt=be.mag;Y.magFilter=et[Tt]}var rr=Y.wrapS,Ir=Y.wrapT;if("wrap"in be){var Ct=be.wrap;typeof Ct=="string"?rr=Ir=Xe[Ct]:Array.isArray(Ct)&&(rr=Xe[Ct[0]],Ir=Xe[Ct[1]])}else{if("wrapS"in be){var U=be.wrapS;rr=Xe[U]}if("wrapT"in be){var V=be.wrapT;Ir=Xe[V]}}if(Y.wrapS=rr,Y.wrapT=Ir,"anisotropic"in be&&(be.anisotropic,Y.anisotropic=be.anisotropic),"mipmap"in be){var ee=!1;switch(typeof be.mipmap){case"string":Y.mipmapHint=Ye[be.mipmap],Y.genMipmaps=!0,ee=!0;break;case"boolean":ee=Y.genMipmaps=be.mipmap;break;case"object":Y.genMipmaps=!1,ee=!0;break}ee&&!("min"in be)&&(Y.minFilter=ns)}}function Fn(Y,be){F.texParameteri(be,rs,Y.minFilter),F.texParameteri(be,lc,Y.magFilter),F.texParameteri(be,Mp,Y.wrapS),F.texParameteri(be,Fu,Y.wrapT),H.ext_texture_filter_anisotropic&&F.texParameteri(be,Nu,Y.anisotropic),Y.genMipmaps&&(F.hint(ly,Y.mipmapHint),F.generateMipmap(be))}var Gi=0,un={},ln=K.maxTextureUnits,Xt=Array(ln).map(function(){return null});function ci(Y){$e.call(this),this.mipmask=0,this.internalformat=na,this.id=Gi++,this.refCount=1,this.target=Y,this.texture=F.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new An,_e.profile&&(this.stats={size:0})}function br(Y){F.activeTexture(Ra),F.bindTexture(Y.target,Y.texture)}function sn(){var Y=Xt[0];Y?F.bindTexture(Y.target,Y.texture):F.bindTexture(oi,null)}function zn(Y){var be=Y.texture,ye=Y.unit,Tt=Y.target;ye>=0&&(F.activeTexture(Ra+ye),F.bindTexture(Tt,null),Xt[ye]=null),F.deleteTexture(be),Y.texture=null,Y.params=null,Y.pixels=null,Y.refCount=0,delete un[Y.id],xe.textureCount--}r(ci.prototype,{bind:function(){var Y=this;Y.bindCount+=1;var be=Y.unit;if(be<0){for(var ye=0;ye<ln;++ye){var Tt=Xt[ye];if(Tt){if(Tt.bindCount>0)continue;Tt.unit=-1}Xt[ye]=Y,be=ye;break}_e.profile&&xe.maxTextureUnits<be+1&&(xe.maxTextureUnits=be+1),Y.unit=be,F.activeTexture(Ra+be),F.bindTexture(Y.target,Y.texture)}return be},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&zn(this)}});function Un(Y,be){var ye=new ci(oi);un[ye.id]=ye,xe.textureCount++;function Tt(Ct,U){var V=ye.texInfo;An.call(V);var ee=Yn();return typeof Ct=="number"?typeof U=="number"?ur(ee,Ct|0,U|0):ur(ee,Ct|0,Ct|0):Ct?(Xn(V,Ct),hr(ee,Ct)):ur(ee,1,1),V.genMipmaps&&(ee.mipmask=(ee.width<<1)-1),ye.mipmask=ee.mipmask,Ie(ye,ee),ye.internalformat=ee.internalformat,Tt.width=ee.width,Tt.height=ee.height,br(ye),on(ee,oi),Fn(V,oi),sn(),Er(ee),_e.profile&&(ye.stats.size=Bi(ye.internalformat,ye.type,ee.width,ee.height,V.genMipmaps,!1)),Tt.format=qe[ye.internalformat],Tt.type=Ke[ye.type],Tt.mag=Ne[V.magFilter],Tt.min=pt[V.minFilter],Tt.wrapS=ot[V.wrapS],Tt.wrapT=ot[V.wrapT],Tt}function rr(Ct,U,V,ee){var Se=U|0,pe=V|0,de=ee|0,ce=Bt();return Ie(ce,ye),ce.width=0,ce.height=0,Je(ce,Ct),ce.width=ce.width||(ye.width>>de)-Se,ce.height=ce.height||(ye.height>>de)-pe,br(ye),er(ce,oi,Se,pe,de),sn(),lt(ce),Tt}function Ir(Ct,U){var V=Ct|0,ee=U|0||V;if(V===ye.width&&ee===ye.height)return Tt;Tt.width=ye.width=V,Tt.height=ye.height=ee,br(ye);for(var Se=0;ye.mipmask>>Se;++Se){var pe=V>>Se,de=ee>>Se;if(!pe||!de)break;F.texImage2D(oi,Se,ye.format,pe,de,0,ye.format,ye.type,null)}return sn(),_e.profile&&(ye.stats.size=Bi(ye.internalformat,ye.type,V,ee,!1,!1)),Tt}return Tt(Y,be),Tt.subimage=rr,Tt.resize=Ir,Tt._reglType="texture2d",Tt._texture=ye,_e.profile&&(Tt.stats=ye.stats),Tt.destroy=function(){ye.decRef()},Tt}function Zt(Y,be,ye,Tt,rr,Ir){var Ct=new ci(ho);un[Ct.id]=Ct,xe.cubeCount++;var U=new Array(6);function V(pe,de,ce,se,Z,ne){var Q,ve=Ct.texInfo;for(An.call(ve),Q=0;Q<6;++Q)U[Q]=Yn();if(typeof pe=="number"||!pe){var Oe=pe|0||1;for(Q=0;Q<6;++Q)ur(U[Q],Oe,Oe)}else if(typeof pe=="object")if(de)hr(U[0],pe),hr(U[1],de),hr(U[2],ce),hr(U[3],se),hr(U[4],Z),hr(U[5],ne);else if(Xn(ve,pe),mt(Ct,pe),"faces"in pe){var Be=pe.faces;for(Q=0;Q<6;++Q)Ie(U[Q],Ct),hr(U[Q],Be[Q])}else for(Q=0;Q<6;++Q)hr(U[Q],pe);for(Ie(Ct,U[0]),ve.genMipmaps?Ct.mipmask=(U[0].width<<1)-1:Ct.mipmask=U[0].mipmask,Ct.internalformat=U[0].internalformat,V.width=U[0].width,V.height=U[0].height,br(Ct),Q=0;Q<6;++Q)on(U[Q],po+Q);for(Fn(ve,ho),sn(),_e.profile&&(Ct.stats.size=Bi(Ct.internalformat,Ct.type,V.width,V.height,ve.genMipmaps,!0)),V.format=qe[Ct.internalformat],V.type=Ke[Ct.type],V.mag=Ne[ve.magFilter],V.min=pt[ve.minFilter],V.wrapS=ot[ve.wrapS],V.wrapT=ot[ve.wrapT],Q=0;Q<6;++Q)Er(U[Q]);return V}function ee(pe,de,ce,se,Z){var ne=ce|0,Q=se|0,ve=Z|0,Oe=Bt();return Ie(Oe,Ct),Oe.width=0,Oe.height=0,Je(Oe,de),Oe.width=Oe.width||(Ct.width>>ve)-ne,Oe.height=Oe.height||(Ct.height>>ve)-Q,br(Ct),er(Oe,po+pe,ne,Q,ve),sn(),lt(Oe),V}function Se(pe){var de=pe|0;if(de!==Ct.width){V.width=Ct.width=de,V.height=Ct.height=de,br(Ct);for(var ce=0;ce<6;++ce)for(var se=0;Ct.mipmask>>se;++se)F.texImage2D(po+ce,se,Ct.format,de>>se,de>>se,0,Ct.format,Ct.type,null);return sn(),_e.profile&&(Ct.stats.size=Bi(Ct.internalformat,Ct.type,V.width,V.height,!1,!0)),V}}return V(Y,be,ye,Tt,rr,Ir),V.subimage=ee,V.resize=Se,V._reglType="textureCube",V._texture=Ct,_e.profile&&(V.stats=Ct.stats),V.destroy=function(){Ct.decRef()},V}function fr(){for(var Y=0;Y<ln;++Y)F.activeTexture(Ra+Y),F.bindTexture(oi,null),Xt[Y]=null;Bn(un).forEach(zn),xe.cubeCount=0,xe.textureCount=0}_e.profile&&(xe.getTotalTextureSize=function(){var Y=0;return Object.keys(un).forEach(function(be){Y+=un[be].stats.size}),Y});function Cr(){for(var Y=0;Y<ln;++Y){var be=Xt[Y];be&&(be.bindCount=0,be.unit=-1,Xt[Y]=null)}Bn(un).forEach(function(ye){ye.texture=F.createTexture(),F.bindTexture(ye.target,ye.texture);for(var Tt=0;Tt<32;++Tt)if((ye.mipmask&1<<Tt)!==0)if(ye.target===oi)F.texImage2D(oi,Tt,ye.internalformat,ye.width>>Tt,ye.height>>Tt,0,ye.internalformat,ye.type,null);else for(var rr=0;rr<6;++rr)F.texImage2D(po+rr,Tt,ye.internalformat,ye.width>>Tt,ye.height>>Tt,0,ye.internalformat,ye.type,null);Fn(ye.texInfo,ye.target)})}function fn(){for(var Y=0;Y<ln;++Y){var be=Xt[Y];be&&(be.bindCount=0,be.unit=-1,Xt[Y]=null),F.activeTexture(Ra+Y),F.bindTexture(oi,null),F.bindTexture(ho,null)}}return{create2D:Un,createCube:Zt,clear:fr,getTexture:function(Y){return null},restore:Cr,refresh:fn}}var aa=36161,us=32854,Wp=32855,mc=36194,Hp=33189,Vp=36168,qp=34041,gc=35907,Yp=34836,Xp=34842,Qp=34843,li=[];li[us]=2,li[Wp]=2,li[mc]=2,li[Hp]=2,li[Vp]=1,li[qp]=4,li[gc]=4,li[Yp]=16,li[Xp]=8,li[Qp]=6;function Zp(F,H,K){return li[F]*H*K}var Kp=function(F,H,K,Ee,Me){var xe={rgba4:us,rgb565:mc,"rgb5 a1":Wp,depth:Hp,stencil:Vp,"depth stencil":qp};H.ext_srgb&&(xe.srgba=gc),H.ext_color_buffer_half_float&&(xe.rgba16f=Xp,xe.rgb16f=Qp),H.webgl_color_buffer_float&&(xe.rgba32f=Yp);var _e=[];Object.keys(xe).forEach(function(it){var Ge=xe[it];_e[Ge]=it});var Ye=0,Xe={};function et(it){this.id=Ye++,this.refCount=1,this.renderbuffer=it,this.format=us,this.width=0,this.height=0,Me.profile&&(this.stats={size:0})}et.prototype.decRef=function(){--this.refCount<=0&&ft(this)};function ft(it){var Ge=it.renderbuffer;F.bindRenderbuffer(aa,null),F.deleteRenderbuffer(Ge),it.renderbuffer=null,it.refCount=0,delete Xe[it.id],Ee.renderbufferCount--}function It(it,Ge){var he=new et(F.createRenderbuffer());Xe[he.id]=he,Ee.renderbufferCount++;function Te(Ke,Ne){var pt=0,ot=0,Pt=us;if(typeof Ke=="object"&&Ke){var $e=Ke;if("shape"in $e){var Ie=$e.shape;pt=Ie[0]|0,ot=Ie[1]|0}else"radius"in $e&&(pt=ot=$e.radius|0),"width"in $e&&(pt=$e.width|0),"height"in $e&&(ot=$e.height|0);"format"in $e&&(Pt=xe[$e.format])}else typeof Ke=="number"?(pt=Ke|0,typeof Ne=="number"?ot=Ne|0:ot=pt):Ke||(pt=ot=1);if(!(pt===he.width&&ot===he.height&&Pt===he.format))return Te.width=he.width=pt,Te.height=he.height=ot,he.format=Pt,F.bindRenderbuffer(aa,he.renderbuffer),F.renderbufferStorage(aa,Pt,pt,ot),Me.profile&&(he.stats.size=Zp(he.format,he.width,he.height)),Te.format=_e[he.format],Te}function qe(Ke,Ne){var pt=Ke|0,ot=Ne|0||pt;return pt===he.width&&ot===he.height||(Te.width=he.width=pt,Te.height=he.height=ot,F.bindRenderbuffer(aa,he.renderbuffer),F.renderbufferStorage(aa,he.format,pt,ot),Me.profile&&(he.stats.size=Zp(he.format,he.width,he.height))),Te}return Te(it,Ge),Te.resize=qe,Te._reglType="renderbuffer",Te._renderbuffer=he,Me.profile&&(Te.stats=he.stats),Te.destroy=function(){he.decRef()},Te}Me.profile&&(Ee.getTotalRenderbufferSize=function(){var it=0;return Object.keys(Xe).forEach(function(Ge){it+=Xe[Ge].stats.size}),it});function St(){Bn(Xe).forEach(function(it){it.renderbuffer=F.createRenderbuffer(),F.bindRenderbuffer(aa,it.renderbuffer),F.renderbufferStorage(aa,it.format,it.width,it.height)}),F.bindRenderbuffer(aa,null)}return{create:It,clear:function(){Bn(Xe).forEach(ft)},restore:St}},zi=36160,yc=36161,bo=3553,wo=34069,_o=36064,si=36096,Jp=36128,ev=33306,yy=36053,xy=36193,tv=5121,by=5126,wy=6407,_y=6408,xc=[];xc[_y]=4,xc[wy]=3;var ls=[];ls[tv]=1,ls[by]=4,ls[xy]=2;function bc(F,H,K,Ee,Me,xe){var _e={cur:null,next:null,dirty:!1,setFBO:null},Ye=["rgba"],Xe=["rgba4","rgb565","rgb5 a1"];H.ext_srgb&&Xe.push("srgba"),H.ext_color_buffer_half_float&&Xe.push("rgba16f","rgb16f"),H.webgl_color_buffer_float&&Xe.push("rgba32f"),H.oes_texture_half_float,H.oes_texture_float;function et(Ae,ht,Je){this.target=Ae,this.texture=ht,this.renderbuffer=Je;var Ft=0,er=0;ht?(Ft=ht.width,er=ht.height):Je&&(Ft=Je.width,er=Je.height),this.width=Ft,this.height=er}function ft(Ae){Ae&&(Ae.texture&&Ae.texture._texture.decRef(),Ae.renderbuffer&&Ae.renderbuffer._renderbuffer.decRef())}function It(Ae,ht,Je){if(!!Ae)if(Ae.texture){var Ft=Ae.texture._texture;Math.max(1,Ft.width),Math.max(1,Ft.height),Ft.refCount+=1}else{var er=Ae.renderbuffer._renderbuffer;er.refCount+=1}}function St(Ae,ht){ht&&(ht.texture?F.framebufferTexture2D(zi,Ae,ht.target,ht.texture._texture.texture,0):F.framebufferRenderbuffer(zi,Ae,yc,ht.renderbuffer._renderbuffer.renderbuffer))}function it(Ae){var ht=bo,Je=null,Ft=null,er=Ae;typeof Ae=="object"&&(er=Ae.data,"target"in Ae&&(ht=Ae.target|0));var xt=er._reglType;return xt==="texture2d"||xt==="textureCube"?Je=er:xt==="renderbuffer"&&(Ft=er,ht=yc),new et(ht,Je,Ft)}function Ge(Ae,ht,Je,Ft,er){if(Je){var xt=Ee.create2D({width:Ae,height:ht,format:Ft,type:er});return xt._texture.refCount=0,new et(bo,xt,null)}else{var Bt=Me.create({width:Ae,height:ht,format:Ft});return Bt._renderbuffer.refCount=0,new et(yc,null,Bt)}}function he(Ae){return Ae&&(Ae.texture||Ae.renderbuffer)}function Te(Ae,ht,Je){Ae&&(Ae.texture?Ae.texture.resize(ht,Je):Ae.renderbuffer&&Ae.renderbuffer.resize(ht,Je),Ae.width=ht,Ae.height=Je)}var qe=0,Ke={};function Ne(){this.id=qe++,Ke[this.id]=this,this.framebuffer=F.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function pt(Ae){Ae.colorAttachments.forEach(ft),ft(Ae.depthAttachment),ft(Ae.stencilAttachment),ft(Ae.depthStencilAttachment)}function ot(Ae){var ht=Ae.framebuffer;F.deleteFramebuffer(ht),Ae.framebuffer=null,xe.framebufferCount--,delete Ke[Ae.id]}function Pt(Ae){var ht;F.bindFramebuffer(zi,Ae.framebuffer);var Je=Ae.colorAttachments;for(ht=0;ht<Je.length;++ht)St(_o+ht,Je[ht]);for(ht=Je.length;ht<K.maxColorAttachments;++ht)F.framebufferTexture2D(zi,_o+ht,bo,null,0);F.framebufferTexture2D(zi,ev,bo,null,0),F.framebufferTexture2D(zi,si,bo,null,0),F.framebufferTexture2D(zi,Jp,bo,null,0),St(si,Ae.depthAttachment),St(Jp,Ae.stencilAttachment),St(ev,Ae.depthStencilAttachment);var Ft=F.checkFramebufferStatus(zi);F.isContextLost(),F.bindFramebuffer(zi,_e.next?_e.next.framebuffer:null),_e.cur=_e.next,F.getError()}function $e(Ae,ht){var Je=new Ne;xe.framebufferCount++;function Ft(xt,Bt){var lt,tr=0,ur=0,hr=!0,on=!0,lr=null,Yn=!0,Er="rgba",An="uint8",Xn=1,Fn=null,Gi=null,un=null,ln=!1;if(typeof xt=="number")tr=xt|0,ur=Bt|0||tr;else if(!xt)tr=ur=1;else{var Xt=xt;if("shape"in Xt){var ci=Xt.shape;tr=ci[0],ur=ci[1]}else"radius"in Xt&&(tr=ur=Xt.radius),"width"in Xt&&(tr=Xt.width),"height"in Xt&&(ur=Xt.height);("color"in Xt||"colors"in Xt)&&(lr=Xt.color||Xt.colors),lr||("colorCount"in Xt&&(Xn=Xt.colorCount|0),"colorTexture"in Xt&&(Yn=!!Xt.colorTexture,Er="rgba4"),"colorType"in Xt&&(An=Xt.colorType,Yn||(An==="half float"||An==="float16"?Er="rgba16f":(An==="float"||An==="float32")&&(Er="rgba32f"))),"colorFormat"in Xt&&(Er=Xt.colorFormat,Ye.indexOf(Er)>=0?Yn=!0:Xe.indexOf(Er)>=0&&(Yn=!1))),("depthTexture"in Xt||"depthStencilTexture"in Xt)&&(ln=!!(Xt.depthTexture||Xt.depthStencilTexture)),"depth"in Xt&&(typeof Xt.depth=="boolean"?hr=Xt.depth:(Fn=Xt.depth,on=!1)),"stencil"in Xt&&(typeof Xt.stencil=="boolean"?on=Xt.stencil:(Gi=Xt.stencil,hr=!1)),"depthStencil"in Xt&&(typeof Xt.depthStencil=="boolean"?hr=on=Xt.depthStencil:(un=Xt.depthStencil,hr=!1,on=!1))}var br=null,sn=null,zn=null,Un=null;if(Array.isArray(lr))br=lr.map(it);else if(lr)br=[it(lr)];else for(br=new Array(Xn),lt=0;lt<Xn;++lt)br[lt]=Ge(tr,ur,Yn,Er,An);for(tr=tr||br[0].width,ur=ur||br[0].height,Fn?sn=it(Fn):hr&&!on&&(sn=Ge(tr,ur,ln,"depth","uint32")),Gi?zn=it(Gi):on&&!hr&&(zn=Ge(tr,ur,!1,"stencil","uint8")),un?Un=it(un):!Fn&&!Gi&&on&&hr&&(Un=Ge(tr,ur,ln,"depth stencil","depth stencil")),lt=0;lt<br.length;++lt)It(br[lt]),br[lt]&&br[lt].texture&&xc[br[lt].texture._texture.format]*ls[br[lt].texture._texture.type];return It(sn),It(zn),It(Un),pt(Je),Je.width=tr,Je.height=ur,Je.colorAttachments=br,Je.depthAttachment=sn,Je.stencilAttachment=zn,Je.depthStencilAttachment=Un,Ft.color=br.map(he),Ft.depth=he(sn),Ft.stencil=he(zn),Ft.depthStencil=he(Un),Ft.width=Je.width,Ft.height=Je.height,Pt(Je),Ft}function er(xt,Bt){var lt=Math.max(xt|0,1),tr=Math.max(Bt|0||lt,1);if(lt===Je.width&&tr===Je.height)return Ft;for(var ur=Je.colorAttachments,hr=0;hr<ur.length;++hr)Te(ur[hr],lt,tr);return Te(Je.depthAttachment,lt,tr),Te(Je.stencilAttachment,lt,tr),Te(Je.depthStencilAttachment,lt,tr),Je.width=Ft.width=lt,Je.height=Ft.height=tr,Pt(Je),Ft}return Ft(Ae,ht),r(Ft,{resize:er,_reglType:"framebuffer",_framebuffer:Je,destroy:function(){ot(Je),pt(Je)},use:function(xt){_e.setFBO({framebuffer:Ft},xt)}})}function Ie(Ae){var ht=Array(6);function Je(er){var xt,Bt={color:null},lt=0,tr=null,ur="rgba",hr="uint8",on=1;if(typeof er=="number")lt=er|0;else if(!er)lt=1;else{var lr=er;if("shape"in lr){var Yn=lr.shape;lt=Yn[0]}else"radius"in lr&&(lt=lr.radius|0),"width"in lr?lt=lr.width|0:"height"in lr&&(lt=lr.height|0);("color"in lr||"colors"in lr)&&(tr=lr.color||lr.colors),tr||("colorCount"in lr&&(on=lr.colorCount|0),"colorType"in lr&&(hr=lr.colorType),"colorFormat"in lr&&(ur=lr.colorFormat)),"depth"in lr&&(Bt.depth=lr.depth),"stencil"in lr&&(Bt.stencil=lr.stencil),"depthStencil"in lr&&(Bt.depthStencil=lr.depthStencil)}var Er;if(tr)if(Array.isArray(tr))for(Er=[],xt=0;xt<tr.length;++xt)Er[xt]=tr[xt];else Er=[tr];else{Er=Array(on);var An={radius:lt,format:ur,type:hr};for(xt=0;xt<on;++xt)Er[xt]=Ee.createCube(An)}for(Bt.color=Array(Er.length),xt=0;xt<Er.length;++xt){var Xn=Er[xt];lt=lt||Xn.width,Bt.color[xt]={target:wo,data:Er[xt]}}for(xt=0;xt<6;++xt){for(var Fn=0;Fn<Er.length;++Fn)Bt.color[Fn].target=wo+xt;xt>0&&(Bt.depth=ht[0].depth,Bt.stencil=ht[0].stencil,Bt.depthStencil=ht[0].depthStencil),ht[xt]?ht[xt](Bt):ht[xt]=$e(Bt)}return r(Je,{width:lt,height:lt,color:Er})}function Ft(er){var xt,Bt=er|0;if(Bt===Je.width)return Je;var lt=Je.color;for(xt=0;xt<lt.length;++xt)lt[xt].resize(Bt);for(xt=0;xt<6;++xt)ht[xt].resize(Bt);return Je.width=Je.height=Bt,Je}return Je(Ae),r(Je,{faces:ht,resize:Ft,_reglType:"framebufferCube",destroy:function(){ht.forEach(function(er){er.destroy()})}})}function mt(){_e.cur=null,_e.next=null,_e.dirty=!0,Bn(Ke).forEach(function(Ae){Ae.framebuffer=F.createFramebuffer(),Pt(Ae)})}return r(_e,{getFramebuffer:function(Ae){if(typeof Ae=="function"&&Ae._reglType==="framebuffer"){var ht=Ae._framebuffer;if(ht instanceof Ne)return ht}return null},create:$e,createCube:Ie,clear:function(){Bn(Ke).forEach(ot)},restore:mt})}var wc=5126,rv=34962,ss=34963;function _c(){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=wc,this.offset=0,this.stride=0,this.divisor=0}function Sy(F,H,K,Ee,Me,xe,_e){for(var Ye=K.maxAttributes,Xe=new Array(Ye),et=0;et<Ye;++et)Xe[et]=new _c;var ft=0,It={},St={Record:_c,scope:{},state:Xe,currentVAO:null,targetVAO:null,restore:Ge()?ot:function(){},createVAO:Pt,getVAO:Te,destroyBuffer:it,setVAO:Ge()?qe:Ke,clear:Ge()?Ne:function(){}};function it($e){for(var Ie=0;Ie<Xe.length;++Ie){var mt=Xe[Ie];mt.buffer===$e&&(F.disableVertexAttribArray(Ie),mt.buffer=null)}}function Ge(){return H.oes_vertex_array_object}function he(){return H.angle_instanced_arrays}function Te($e){return typeof $e=="function"&&$e._vao?$e._vao:null}function qe($e){if($e!==St.currentVAO){var Ie=Ge();$e?Ie.bindVertexArrayOES($e.vao):Ie.bindVertexArrayOES(null),St.currentVAO=$e}}function Ke($e){if($e!==St.currentVAO){if($e)$e.bindAttrs();else{for(var Ie=he(),mt=0;mt<Xe.length;++mt){var Ae=Xe[mt];Ae.buffer?(F.enableVertexAttribArray(mt),Ae.buffer.bind(),F.vertexAttribPointer(mt,Ae.size,Ae.type,Ae.normalized,Ae.stride,Ae.offfset),Ie&&Ae.divisor&&Ie.vertexAttribDivisorANGLE(mt,Ae.divisor)):(F.disableVertexAttribArray(mt),F.vertexAttrib4f(mt,Ae.x,Ae.y,Ae.z,Ae.w))}_e.elements?F.bindBuffer(ss,_e.elements.buffer.buffer):F.bindBuffer(ss,null)}St.currentVAO=$e}}function Ne(){Bn(It).forEach(function($e){$e.destroy()})}function pt(){this.id=++ft,this.attributes=[],this.elements=null,this.ownsElements=!1,this.count=0,this.offset=0,this.instances=-1,this.primitive=4;var $e=Ge();$e?this.vao=$e.createVertexArrayOES():this.vao=null,It[this.id]=this,this.buffers=[]}pt.prototype.bindAttrs=function(){for(var $e=he(),Ie=this.attributes,mt=0;mt<Ie.length;++mt){var Ae=Ie[mt];Ae.buffer?(F.enableVertexAttribArray(mt),F.bindBuffer(rv,Ae.buffer.buffer),F.vertexAttribPointer(mt,Ae.size,Ae.type,Ae.normalized,Ae.stride,Ae.offset),$e&&Ae.divisor&&$e.vertexAttribDivisorANGLE(mt,Ae.divisor)):(F.disableVertexAttribArray(mt),F.vertexAttrib4f(mt,Ae.x,Ae.y,Ae.z,Ae.w))}for(var ht=Ie.length;ht<Ye;++ht)F.disableVertexAttribArray(ht);var Je=xe.getElements(this.elements);Je?F.bindBuffer(ss,Je.buffer.buffer):F.bindBuffer(ss,null)},pt.prototype.refresh=function(){var $e=Ge();$e&&($e.bindVertexArrayOES(this.vao),this.bindAttrs(),St.currentVAO=null,$e.bindVertexArrayOES(null))},pt.prototype.destroy=function(){if(this.vao){var $e=Ge();this===St.currentVAO&&(St.currentVAO=null,$e.bindVertexArrayOES(null)),$e.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),It[this.id]&&(delete It[this.id],Ee.vaoCount-=1)};function ot(){var $e=Ge();$e&&Bn(It).forEach(function(Ie){Ie.refresh()})}function Pt($e){var Ie=new pt;Ee.vaoCount+=1;function mt(Ae){var ht;if(Array.isArray(Ae))ht=Ae,Ie.elements&&Ie.ownsElements&&Ie.elements.destroy(),Ie.elements=null,Ie.ownsElements=!1,Ie.offset=0,Ie.count=0,Ie.instances=-1,Ie.primitive=4;else{if(Ae.elements){var Je=Ae.elements;Ie.ownsElements?typeof Je=="function"&&Je._reglType==="elements"?(Ie.elements.destroy(),Ie.ownsElements=!1):(Ie.elements(Je),Ie.ownsElements=!1):xe.getElements(Ae.elements)?(Ie.elements=Ae.elements,Ie.ownsElements=!1):(Ie.elements=xe.create(Ae.elements),Ie.ownsElements=!0)}else Ie.elements=null,Ie.ownsElements=!1;ht=Ae.attributes,Ie.offset=0,Ie.count=-1,Ie.instances=-1,Ie.primitive=4,Ie.elements&&(Ie.count=Ie.elements._elements.vertCount,Ie.primitive=Ie.elements._elements.primType),"offset"in Ae&&(Ie.offset=Ae.offset|0),"count"in Ae&&(Ie.count=Ae.count|0),"instances"in Ae&&(Ie.instances=Ae.instances|0),"primitive"in Ae&&(Ie.primitive=rn[Ae.primitive])}var Ft={},er=Ie.attributes;er.length=ht.length;for(var xt=0;xt<ht.length;++xt){var Bt=ht[xt],lt=er[xt]=new _c,tr=Bt.data||Bt;if(Array.isArray(tr)||tn(tr)||ni(tr)){var ur;Ie.buffers[xt]&&(ur=Ie.buffers[xt],tn(tr)&&ur._buffer.byteLength>=tr.byteLength?ur.subdata(tr):(ur.destroy(),Ie.buffers[xt]=null)),Ie.buffers[xt]||(ur=Ie.buffers[xt]=Me.create(Bt,rv,!1,!0)),lt.buffer=Me.getBuffer(ur),lt.size=lt.buffer.dimension|0,lt.normalized=!1,lt.type=lt.buffer.dtype,lt.offset=0,lt.stride=0,lt.divisor=0,lt.state=1,Ft[xt]=1}else Me.getBuffer(Bt)?(lt.buffer=Me.getBuffer(Bt),lt.size=lt.buffer.dimension|0,lt.normalized=!1,lt.type=lt.buffer.dtype,lt.offset=0,lt.stride=0,lt.divisor=0,lt.state=1):Me.getBuffer(Bt.buffer)?(lt.buffer=Me.getBuffer(Bt.buffer),lt.size=(+Bt.size||lt.buffer.dimension)|0,lt.normalized=!!Bt.normalized||!1,"type"in Bt?lt.type=Eu[Bt.type]:lt.type=lt.buffer.dtype,lt.offset=(Bt.offset||0)|0,lt.stride=(Bt.stride||0)|0,lt.divisor=(Bt.divisor||0)|0,lt.state=1):"x"in Bt&&(lt.x=+Bt.x||0,lt.y=+Bt.y||0,lt.z=+Bt.z||0,lt.w=+Bt.w||0,lt.state=2)}for(var hr=0;hr<Ie.buffers.length;++hr)!Ft[hr]&&Ie.buffers[hr]&&(Ie.buffers[hr].destroy(),Ie.buffers[hr]=null);return Ie.refresh(),mt}return mt.destroy=function(){for(var Ae=0;Ae<Ie.buffers.length;++Ae)Ie.buffers[Ae]&&Ie.buffers[Ae].destroy();Ie.buffers.length=0,Ie.ownsElements&&(Ie.elements.destroy(),Ie.elements=null,Ie.ownsElements=!1),Ie.destroy()},mt._vao=Ie,mt._reglType="vao",mt($e)}return St}var Sc=35632,Ey=35633,Ay=35718,Ec=35721;function nv(F,H,K,Ee){var Me={},xe={};function _e(he,Te,qe,Ke){this.name=he,this.id=Te,this.location=qe,this.info=Ke}function Ye(he,Te){for(var qe=0;qe<he.length;++qe)if(he[qe].id===Te.id){he[qe].location=Te.location;return}he.push(Te)}function Xe(he,Te,qe){var Ke=he===Sc?Me:xe,Ne=Ke[Te];if(!Ne){var pt=H.str(Te);Ne=F.createShader(he),F.shaderSource(Ne,pt),F.compileShader(Ne),Ke[Te]=Ne}return Ne}var et={},ft=[],It=0;function St(he,Te){this.id=It++,this.fragId=he,this.vertId=Te,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Ee.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function it(he,Te,qe){var Ke,Ne,pt=Xe(Sc,he.fragId),ot=Xe(Ey,he.vertId),Pt=he.program=F.createProgram();if(F.attachShader(Pt,pt),F.attachShader(Pt,ot),qe)for(Ke=0;Ke<qe.length;++Ke){var $e=qe[Ke];F.bindAttribLocation(Pt,$e[0],$e[1])}F.linkProgram(Pt);var Ie=F.getProgramParameter(Pt,Ay);Ee.profile&&(he.stats.uniformsCount=Ie);var mt=he.uniforms;for(Ke=0;Ke<Ie;++Ke)if(Ne=F.getActiveUniform(Pt,Ke),Ne)if(Ne.size>1)for(var Ae=0;Ae<Ne.size;++Ae){var ht=Ne.name.replace("[0]","["+Ae+"]");Ye(mt,new _e(ht,H.id(ht),F.getUniformLocation(Pt,ht),Ne))}else Ye(mt,new _e(Ne.name,H.id(Ne.name),F.getUniformLocation(Pt,Ne.name),Ne));var Je=F.getProgramParameter(Pt,Ec);Ee.profile&&(he.stats.attributesCount=Je);var Ft=he.attributes;for(Ke=0;Ke<Je;++Ke)Ne=F.getActiveAttrib(Pt,Ke),Ne&&Ye(Ft,new _e(Ne.name,H.id(Ne.name),F.getAttribLocation(Pt,Ne.name),Ne))}Ee.profile&&(K.getMaxUniformsCount=function(){var he=0;return ft.forEach(function(Te){Te.stats.uniformsCount>he&&(he=Te.stats.uniformsCount)}),he},K.getMaxAttributesCount=function(){var he=0;return ft.forEach(function(Te){Te.stats.attributesCount>he&&(he=Te.stats.attributesCount)}),he});function Ge(){Me={},xe={};for(var he=0;he<ft.length;++he)it(ft[he],null,ft[he].attributes.map(function(Te){return[Te.location,Te.name]}))}return{clear:function(){var he=F.deleteShader.bind(F);Bn(Me).forEach(he),Me={},Bn(xe).forEach(he),xe={},ft.forEach(function(Te){F.deleteProgram(Te.program)}),ft.length=0,et={},K.shaderCount=0},program:function(he,Te,qe,Ke){var Ne=et[Te];Ne||(Ne=et[Te]={});var pt=Ne[he];if(pt&&(pt.refCount++,!Ke))return pt;var ot=new St(Te,he);return K.shaderCount++,it(ot,qe,Ke),pt||(Ne[he]=ot),ft.push(ot),r(ot,{destroy:function(){if(ot.refCount--,ot.refCount<=0){F.deleteProgram(ot.program);var Pt=ft.indexOf(ot);ft.splice(Pt,1),K.shaderCount--}Ne[ot.vertId].refCount<=0&&(F.deleteShader(xe[ot.vertId]),delete xe[ot.vertId],delete et[ot.fragId][ot.vertId]),Object.keys(et[ot.fragId]).length||(F.deleteShader(Me[ot.fragId]),delete Me[ot.fragId],delete et[ot.fragId])}})},restore:Ge,shader:Xe,frag:-1,vert:-1}}var iv=6408,Ac=5121,Ty=3333,Cy=5126;function av(F,H,K,Ee,Me,xe,_e){function Ye(ft){var It;H.next===null?It=Ac:It=H.next.colorAttachments[0].texture._texture.type;var St=0,it=0,Ge=Ee.framebufferWidth,he=Ee.framebufferHeight,Te=null;tn(ft)?Te=ft:ft&&(St=ft.x|0,it=ft.y|0,Ge=(ft.width||Ee.framebufferWidth-St)|0,he=(ft.height||Ee.framebufferHeight-it)|0,Te=ft.data||null),K();var qe=Ge*he*4;return Te||(It===Ac?Te=new Uint8Array(qe):It===Cy&&(Te=Te||new Float32Array(qe))),F.pixelStorei(Ty,4),F.readPixels(St,it,Ge,he,iv,It,Te),Te}function Xe(ft){var It;return H.setFBO({framebuffer:ft.framebuffer},function(){It=Ye(ft)}),It}function et(ft){return!ft||!("framebuffer"in ft)?Ye(ft):Xe(ft)}return et}function ov(F){return Tc(uv(Cc(F)))}function uv(F){return ky(Iy(Oy(F),F.length*8))}function Tc(F){for(var H="0123456789abcdef",K="",Ee,Me=0;Me<F.length;Me++)Ee=F.charCodeAt(Me),K+=H.charAt(Ee>>>4&15)+H.charAt(Ee&15);return K}function Cc(F){for(var H="",K=-1,Ee,Me;++K<F.length;)Ee=F.charCodeAt(K),Me=K+1<F.length?F.charCodeAt(K+1):0,55296<=Ee&&Ee<=56319&&56320<=Me&&Me<=57343&&(Ee=65536+((Ee&1023)<<10)+(Me&1023),K++),Ee<=127?H+=String.fromCharCode(Ee):Ee<=2047?H+=String.fromCharCode(192|Ee>>>6&31,128|Ee&63):Ee<=65535?H+=String.fromCharCode(224|Ee>>>12&15,128|Ee>>>6&63,128|Ee&63):Ee<=2097151&&(H+=String.fromCharCode(240|Ee>>>18&7,128|Ee>>>12&63,128|Ee>>>6&63,128|Ee&63));return H}function Oy(F){for(var H=Array(F.length>>2),K=0;K<H.length;K++)H[K]=0;for(var K=0;K<F.length*8;K+=8)H[K>>5]|=(F.charCodeAt(K/8)&255)<<24-K%32;return H}function ky(F){for(var H="",K=0;K<F.length*32;K+=8)H+=String.fromCharCode(F[K>>5]>>>24-K%32&255);return H}function bi(F,H){return F>>>H|F<<32-H}function lv(F,H){return F>>>H}function My(F,H,K){return F&H^~F&K}function sv(F,H,K){return F&H^F&K^H&K}function fv(F){return bi(F,2)^bi(F,13)^bi(F,22)}function Oc(F){return bi(F,6)^bi(F,11)^bi(F,25)}function cv(F){return bi(F,7)^bi(F,18)^lv(F,3)}function fs(F){return bi(F,17)^bi(F,19)^lv(F,10)}var cs=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 Iy(F,H){var K=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),Ee=new Array(64),Me,xe,_e,Ye,Xe,et,ft,It,St,it,Ge,he;for(F[H>>5]|=128<<24-H%32,F[(H+64>>9<<4)+15]=H,St=0;St<F.length;St+=16){for(Me=K[0],xe=K[1],_e=K[2],Ye=K[3],Xe=K[4],et=K[5],ft=K[6],It=K[7],it=0;it<64;it++)it<16?Ee[it]=F[it+St]:Ee[it]=Gr(Gr(Gr(fs(Ee[it-2]),Ee[it-7]),cv(Ee[it-15])),Ee[it-16]),Ge=Gr(Gr(Gr(Gr(It,Oc(Xe)),My(Xe,et,ft)),cs[it]),Ee[it]),he=Gr(fv(Me),sv(Me,xe,_e)),It=ft,ft=et,et=Xe,Xe=Gr(Ye,Ge),Ye=_e,_e=xe,xe=Me,Me=Gr(Ge,he);K[0]=Gr(Me,K[0]),K[1]=Gr(xe,K[1]),K[2]=Gr(_e,K[2]),K[3]=Gr(Ye,K[3]),K[4]=Gr(Xe,K[4]),K[5]=Gr(et,K[5]),K[6]=Gr(ft,K[6]),K[7]=Gr(It,K[7])}return K}function Gr(F,H){var K=(F&65535)+(H&65535),Ee=(F>>16)+(H>>16)+(K>>16);return Ee<<16|K&65535}function Da(F){return Array.prototype.slice.call(F)}function So(F){return Da(F).join("")}function Py(F){var H=F&&F.cache,K=0,Ee=[],Me=[],xe=[];function _e(Ge,he){var Te=he&&he.stable;if(!Te){for(var qe=0;qe<Me.length;++qe)if(Me[qe]===Ge&&!xe[qe])return Ee[qe]}var Ke="g"+K++;return Ee.push(Ke),Me.push(Ge),xe.push(Te),Ke}function Ye(){var Ge=[];function he(){Ge.push.apply(Ge,Da(arguments))}var Te=[];function qe(){var Ke="v"+K++;return Te.push(Ke),arguments.length>0&&(Ge.push(Ke,"="),Ge.push.apply(Ge,Da(arguments)),Ge.push(";")),Ke}return r(he,{def:qe,toString:function(){return So([Te.length>0?"var "+Te.join(",")+";":"",So(Ge)])}})}function Xe(){var Ge=Ye(),he=Ye(),Te=Ge.toString,qe=he.toString;function Ke(Ne,pt){he(Ne,pt,"=",Ge.def(Ne,pt),";")}return r(function(){Ge.apply(Ge,Da(arguments))},{def:Ge.def,entry:Ge,exit:he,save:Ke,set:function(Ne,pt,ot){Ke(Ne,pt),Ge(Ne,pt,"=",ot,";")},toString:function(){return Te()+qe()}})}function et(){var Ge=So(arguments),he=Xe(),Te=Xe(),qe=he.toString,Ke=Te.toString;return r(he,{then:function(){return he.apply(he,Da(arguments)),this},else:function(){return Te.apply(Te,Da(arguments)),this},toString:function(){var Ne=Ke();return Ne&&(Ne="else{"+Ne+"}"),So(["if(",Ge,"){",qe(),"}",Ne])}})}var ft=Ye(),It={};function St(Ge,he){var Te=[];function qe(){var Pt="a"+Te.length;return Te.push(Pt),Pt}he=he||0;for(var Ke=0;Ke<he;++Ke)qe();var Ne=Xe(),pt=Ne.toString,ot=It[Ge]=r(Ne,{arg:qe,toString:function(){return So(["function(",Te.join(),"){",pt(),"}"])}});return ot}function it(){var Ge=['"use strict";',ft,"return {"];Object.keys(It).forEach(function(Ke){Ge.push('"',Ke,'":',It[Ke].toString(),",")}),Ge.push("}");var he=So(Ge).replace(/;/g,`;
1089
- `).replace(/}/g,`}
1090
- `).replace(/{/g,`{
1091
- `),Te;if(H&&(Te=ov(he),H[Te]))return H[Te].apply(null,Me);var qe=Function.apply(null,Ee.concat(he));return H&&(H[Te]=qe),qe.apply(null,Me)}return{global:ft,link:_e,block:Ye,proc:St,scope:Xe,cond:et,compile:it}}var $a="xyzw".split(""),kc=5121,Ba=1,Lu=2,Du=0,hs=1,Mc=2,ds=3,za=4,Ic=5,hv=6,dv="dither",pv="blend.enable",vv="blend.color",ps="blend.equation",vs="blend.func",Pc="depth.enable",Fc="depth.func",mv="depth.range",$u="depth.mask",Rc="colorMask",gv="cull.enable",Nc="cull.face",ms="frontFace",Lc="lineWidth",Bu="polygonOffset.enable",Eo="polygonOffset.offset",Dc="sample.alpha",$c="sample.enable",zu="sample.coverage",qn="stencil.enable",Bc="stencil.mask",zc="stencil.func",Uu="stencil.opFront",Ua="stencil.opBack",yv="scissor.enable",gs="scissor.box",Ui="viewport",ja="profile",oa="framebuffer",ju="vert",ys="frag",Ao="elements",To="primitive",nn="count",xs="offset",bs="instances",fi="vao",Gu="Width",Wu="Height",Co=oa+Gu,Oo=oa+Wu,Fy=Ui+Gu,xv=Ui+Wu,Uc="drawingBuffer",jc=Uc+Gu,Gc=Uc+Wu,Ry=[vs,ps,zc,Uu,Ua,zu,Ui,gs,Eo],Ga=34962,Wc=34963,Ny=2884,Ly=3042,bv=3024,wv=2960,ws=2929,_v=3089,_s=32823,Sv=32926,Hu=32928,$r=5126,Ss=35664,ji=35665,ko=35666,Es=5124,Hc=35667,Vu=35668,Mo=35669,Vc=35670,qc=35671,Yc=35672,Xc=35673,Qc=35674,qu=35675,Zc=35676,Kc=35678,u=35680,f=4,h=1028,p=1029,v=2304,x=2305,O=32775,S=32776,P=519,N=7680,D=0,B=1,z=32774,ie=513,oe=36160,G=36064,X={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},J={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},ue={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},le={cw:v,ccw:x};function re(F){return Array.isArray(F)||tn(F)||ni(F)}function Pe(F){return F.sort(function(H,K){return H===Ui?-1:K===Ui?1:H<K?-1:1})}function Ue(F,H,K,Ee){this.thisDep=F,this.contextDep=H,this.propDep=K,this.append=Ee}function tt(F){return F&&!(F.thisDep||F.contextDep||F.propDep)}function je(F){return new Ue(!1,!1,!1,F)}function at(F,H){var K=F.type;if(K===Du){var Ee=F.data.length;return new Ue(!0,Ee>=1,Ee>=2,H)}else if(K===za){var Me=F.data;return new Ue(Me.thisDep,Me.contextDep,Me.propDep,H)}else{if(K===Ic)return new Ue(!1,!1,!1,H);if(K===hv){for(var xe=!1,_e=!1,Ye=!1,Xe=0;Xe<F.data.length;++Xe){var et=F.data[Xe];if(et.type===hs)Ye=!0;else if(et.type===Mc)_e=!0;else if(et.type===ds)xe=!0;else if(et.type===Du){xe=!0;var ft=et.data;ft>=1&&(_e=!0),ft>=2&&(Ye=!0)}else et.type===za&&(xe=xe||et.data.thisDep,_e=_e||et.data.contextDep,Ye=Ye||et.data.propDep)}return new Ue(xe,_e,Ye,H)}else return new Ue(K===ds,K===Mc,K===hs,H)}}var vt=new Ue(!1,!1,!1,function(){});function Gt(F,H,K,Ee,Me,xe,_e,Ye,Xe,et,ft,It,St,it,Ge,he){var Te=et.Record,qe={add:32774,subtract:32778,"reverse subtract":32779};K.ext_blend_minmax&&(qe.min=O,qe.max=S);var Ke=K.angle_instanced_arrays,Ne=K.webgl_draw_buffers,pt=K.oes_vertex_array_object,ot={dirty:!0,profile:he.profile},Pt={},$e=[],Ie={},mt={};function Ae(U){return U.replace(".","_")}function ht(U,V,ee){var Se=Ae(U);$e.push(U),Pt[Se]=ot[Se]=!!ee,Ie[Se]=V}function Je(U,V,ee){var Se=Ae(U);$e.push(U),Array.isArray(ee)?(ot[Se]=ee.slice(),Pt[Se]=ee.slice()):ot[Se]=Pt[Se]=ee,mt[Se]=V}function Ft(U){return!!isNaN(U)}ht(dv,bv),ht(pv,Ly),Je(vv,"blendColor",[0,0,0,0]),Je(ps,"blendEquationSeparate",[z,z]),Je(vs,"blendFuncSeparate",[B,D,B,D]),ht(Pc,ws,!0),Je(Fc,"depthFunc",ie),Je(mv,"depthRange",[0,1]),Je($u,"depthMask",!0),Je(Rc,Rc,[!0,!0,!0,!0]),ht(gv,Ny),Je(Nc,"cullFace",p),Je(ms,ms,x),Je(Lc,Lc,1),ht(Bu,_s),Je(Eo,"polygonOffset",[0,0]),ht(Dc,Sv),ht($c,Hu),Je(zu,"sampleCoverage",[1,!1]),ht(qn,wv),Je(Bc,"stencilMask",-1),Je(zc,"stencilFunc",[P,0,-1]),Je(Uu,"stencilOpSeparate",[h,N,N,N]),Je(Ua,"stencilOpSeparate",[p,N,N,N]),ht(yv,_v),Je(gs,"scissor",[0,0,F.drawingBufferWidth,F.drawingBufferHeight]),Je(Ui,Ui,[0,0,F.drawingBufferWidth,F.drawingBufferHeight]);var er={gl:F,context:St,strings:H,next:Pt,current:ot,draw:It,elements:xe,buffer:Me,shader:ft,attributes:et.state,vao:et,uniforms:Xe,framebuffer:Ye,extensions:K,timer:it,isBufferArgs:re},xt={primTypes:rn,compareFuncs:J,blendFuncs:X,blendEquations:qe,stencilOps:ue,glTypes:Eu,orientationType:le};Ne&&(xt.backBuffer=[p],xt.drawBuffer=ge(Ee.maxDrawbuffers,function(U){return U===0?[0]:ge(U,function(V){return G+V})}));var Bt=0;function lt(){var U=Py({cache:Ge}),V=U.link,ee=U.global;U.id=Bt++,U.batchId="0";var Se=V(er),pe=U.shared={props:"a0"};Object.keys(er).forEach(function(ne){pe[ne]=ee.def(Se,".",ne)});var de=U.next={},ce=U.current={};Object.keys(mt).forEach(function(ne){Array.isArray(ot[ne])&&(de[ne]=ee.def(pe.next,".",ne),ce[ne]=ee.def(pe.current,".",ne))});var se=U.constants={};Object.keys(xt).forEach(function(ne){se[ne]=ee.def(JSON.stringify(xt[ne]))}),U.invoke=function(ne,Q){switch(Q.type){case Du:var ve=["this",pe.context,pe.props,U.batchId];return ne.def(V(Q.data),".call(",ve.slice(0,Math.max(Q.data.length+1,4)),")");case hs:return ne.def(pe.props,Q.data);case Mc:return ne.def(pe.context,Q.data);case ds:return ne.def("this",Q.data);case za:return Q.data.append(U,ne),Q.data.ref;case Ic:return Q.data.toString();case hv:return Q.data.map(function(Oe){return U.invoke(ne,Oe)})}},U.attribCache={};var Z={};return U.scopeAttrib=function(ne){var Q=H.id(ne);if(Q in Z)return Z[Q];var ve=et.scope[Q];ve||(ve=et.scope[Q]=new Te);var Oe=Z[Q]=V(ve);return Oe},U}function tr(U){var V=U.static,ee=U.dynamic,Se;if(ja in V){var pe=!!V[ja];Se=je(function(ce,se){return pe}),Se.enable=pe}else if(ja in ee){var de=ee[ja];Se=at(de,function(ce,se){return ce.invoke(se,de)})}return Se}function ur(U,V){var ee=U.static,Se=U.dynamic;if(oa in ee){var pe=ee[oa];return pe?(pe=Ye.getFramebuffer(pe),je(function(ce,se){var Z=ce.link(pe),ne=ce.shared;se.set(ne.framebuffer,".next",Z);var Q=ne.context;return se.set(Q,"."+Co,Z+".width"),se.set(Q,"."+Oo,Z+".height"),Z})):je(function(ce,se){var Z=ce.shared;se.set(Z.framebuffer,".next","null");var ne=Z.context;return se.set(ne,"."+Co,ne+"."+jc),se.set(ne,"."+Oo,ne+"."+Gc),"null"})}else if(oa in Se){var de=Se[oa];return at(de,function(ce,se){var Z=ce.invoke(se,de),ne=ce.shared,Q=ne.framebuffer,ve=se.def(Q,".getFramebuffer(",Z,")");se.set(Q,".next",ve);var Oe=ne.context;return se.set(Oe,"."+Co,ve+"?"+ve+".width:"+Oe+"."+jc),se.set(Oe,"."+Oo,ve+"?"+ve+".height:"+Oe+"."+Gc),ve})}else return null}function hr(U,V,ee){var Se=U.static,pe=U.dynamic;function de(Z){if(Z in Se){var ne=Se[Z],Q=!0,ve=ne.x|0,Oe=ne.y|0,Be,Lt;return"width"in ne?Be=ne.width|0:Q=!1,"height"in ne?Lt=ne.height|0:Q=!1,new Ue(!Q&&V&&V.thisDep,!Q&&V&&V.contextDep,!Q&&V&&V.propDep,function(Rt,Et){var Dt=Rt.shared.context,wt=Be;"width"in ne||(wt=Et.def(Dt,".",Co,"-",ve));var Ot=Lt;return"height"in ne||(Ot=Et.def(Dt,".",Oo,"-",Oe)),[ve,Oe,wt,Ot]})}else if(Z in pe){var Mt=pe[Z],gt=at(Mt,function(Rt,Et){var Dt=Rt.invoke(Et,Mt),wt=Rt.shared.context,Ot=Et.def(Dt,".x|0"),kt=Et.def(Dt,".y|0"),Vt=Et.def('"width" in ',Dt,"?",Dt,".width|0:","(",wt,".",Co,"-",Ot,")"),Pr=Et.def('"height" in ',Dt,"?",Dt,".height|0:","(",wt,".",Oo,"-",kt,")");return[Ot,kt,Vt,Pr]});return V&&(gt.thisDep=gt.thisDep||V.thisDep,gt.contextDep=gt.contextDep||V.contextDep,gt.propDep=gt.propDep||V.propDep),gt}else return V?new Ue(V.thisDep,V.contextDep,V.propDep,function(Rt,Et){var Dt=Rt.shared.context;return[0,0,Et.def(Dt,".",Co),Et.def(Dt,".",Oo)]}):null}var ce=de(Ui);if(ce){var se=ce;ce=new Ue(ce.thisDep,ce.contextDep,ce.propDep,function(Z,ne){var Q=se.append(Z,ne),ve=Z.shared.context;return ne.set(ve,"."+Fy,Q[2]),ne.set(ve,"."+xv,Q[3]),Q})}return{viewport:ce,scissor_box:de(gs)}}function on(U,V){var ee=U.static,Se=typeof ee[ys]=="string"&&typeof ee[ju]=="string";if(Se){if(Object.keys(V.dynamic).length>0)return null;var pe=V.static,de=Object.keys(pe);if(de.length>0&&typeof pe[de[0]]=="number"){for(var ce=[],se=0;se<de.length;++se)ce.push([pe[de[se]]|0,de[se]]);return ce}}return null}function lr(U,V,ee){var Se=U.static,pe=U.dynamic;function de(Q){if(Q in Se){var ve=H.id(Se[Q]),Oe=je(function(){return ve});return Oe.id=ve,Oe}else if(Q in pe){var Be=pe[Q];return at(Be,function(Lt,Mt){var gt=Lt.invoke(Mt,Be),Rt=Mt.def(Lt.shared.strings,".id(",gt,")");return Rt})}return null}var ce=de(ys),se=de(ju),Z=null,ne;return tt(ce)&&tt(se)?(Z=ft.program(se.id,ce.id,null,ee),ne=je(function(Q,ve){return Q.link(Z)})):ne=new Ue(ce&&ce.thisDep||se&&se.thisDep,ce&&ce.contextDep||se&&se.contextDep,ce&&ce.propDep||se&&se.propDep,function(Q,ve){var Oe=Q.shared.shader,Be;ce?Be=ce.append(Q,ve):Be=ve.def(Oe,".",ys);var Lt;se?Lt=se.append(Q,ve):Lt=ve.def(Oe,".",ju);var Mt=Oe+".program("+Lt+","+Be;return ve.def(Mt+")")}),{frag:ce,vert:se,progVar:ne,program:Z}}function Yn(U,V){var ee=U.static,Se=U.dynamic,pe={},de=!1;function ce(){if(fi in ee){var Et=ee[fi];return Et!==null&&et.getVAO(Et)===null&&(Et=et.createVAO(Et)),de=!0,pe.vao=Et,je(function(wt){var Ot=et.getVAO(Et);return Ot?wt.link(Ot):"null"})}else if(fi in Se){de=!0;var Dt=Se[fi];return at(Dt,function(wt,Ot){var kt=wt.invoke(Ot,Dt);return Ot.def(wt.shared.vao+".getVAO("+kt+")")})}return null}var se=ce(),Z=!1;function ne(){if(Ao in ee){var Et=ee[Ao];if(pe.elements=Et,re(Et)){var Dt=pe.elements=xe.create(Et,!0);Et=xe.getElements(Dt),Z=!0}else Et&&(Et=xe.getElements(Et),Z=!0);var wt=je(function(kt,Vt){if(Et){var Pr=kt.link(Et);return kt.ELEMENTS=Pr,Pr}return kt.ELEMENTS=null,null});return wt.value=Et,wt}else if(Ao in Se){Z=!0;var Ot=Se[Ao];return at(Ot,function(kt,Vt){var Pr=kt.shared,Qn=Pr.isBufferArgs,Wa=Pr.elements,Io=kt.invoke(Vt,Ot),Po=Vt.def("null"),wi=Vt.def(Qn,"(",Io,")"),Jc=kt.cond(wi).then(Po,"=",Wa,".createStream(",Io,");").else(Po,"=",Wa,".getElements(",Io,");");return Vt.entry(Jc),Vt.exit(kt.cond(wi).then(Wa,".destroyStream(",Po,");")),kt.ELEMENTS=Po,Po})}else if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Vt){return Vt.def(kt.shared.vao+".currentVAO?"+kt.shared.elements+".getElements("+kt.shared.vao+".currentVAO.elements):null")});return null}var Q=ne();function ve(){if(To in ee){var Et=ee[To];return pe.primitive=Et,je(function(wt,Ot){return rn[Et]})}else if(To in Se){var Dt=Se[To];return at(Dt,function(wt,Ot){var kt=wt.constants.primTypes,Vt=wt.invoke(Ot,Dt);return Ot.def(kt,"[",Vt,"]")})}else{if(Z)return tt(Q)?Q.value?je(function(wt,Ot){return Ot.def(wt.ELEMENTS,".primType")}):je(function(){return f}):new Ue(Q.thisDep,Q.contextDep,Q.propDep,function(wt,Ot){var kt=wt.ELEMENTS;return Ot.def(kt,"?",kt,".primType:",f)});if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(wt,Ot){return Ot.def(wt.shared.vao+".currentVAO?"+wt.shared.vao+".currentVAO.primitive:"+f)})}return null}function Oe(Et,Dt){if(Et in ee){var wt=ee[Et]|0;return Dt?pe.offset=wt:pe.instances=wt,je(function(kt,Vt){return Dt&&(kt.OFFSET=wt),wt})}else if(Et in Se){var Ot=Se[Et];return at(Ot,function(kt,Vt){var Pr=kt.invoke(Vt,Ot);return Dt&&(kt.OFFSET=Pr),Pr})}else if(Dt){if(Z)return je(function(kt,Vt){return kt.OFFSET=0,0});if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Vt){return Vt.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.offset:0")})}else if(de)return new Ue(se.thisDep,se.contextDep,se.propDep,function(kt,Vt){return Vt.def(kt.shared.vao+".currentVAO?"+kt.shared.vao+".currentVAO.instances:-1")});return null}var Be=Oe(xs,!0);function Lt(){if(nn in ee){var Et=ee[nn]|0;return pe.count=Et,je(function(){return Et})}else if(nn in Se){var Dt=Se[nn];return at(Dt,function(Vt,Pr){var Qn=Vt.invoke(Pr,Dt);return Qn})}else if(Z)if(tt(Q)){if(Q)return Be?new Ue(Be.thisDep,Be.contextDep,Be.propDep,function(Vt,Pr){var Qn=Pr.def(Vt.ELEMENTS,".vertCount-",Vt.OFFSET);return Qn}):je(function(Vt,Pr){return Pr.def(Vt.ELEMENTS,".vertCount")});var wt=je(function(){return-1});return wt}else{var Ot=new Ue(Q.thisDep||Be.thisDep,Q.contextDep||Be.contextDep,Q.propDep||Be.propDep,function(Vt,Pr){var Qn=Vt.ELEMENTS;return Vt.OFFSET?Pr.def(Qn,"?",Qn,".vertCount-",Vt.OFFSET,":-1"):Pr.def(Qn,"?",Qn,".vertCount:-1")});return Ot}else if(de){var kt=new Ue(se.thisDep,se.contextDep,se.propDep,function(Vt,Pr){return Pr.def(Vt.shared.vao,".currentVAO?",Vt.shared.vao,".currentVAO.count:-1")});return kt}return null}var Mt=ve(),gt=Lt(),Rt=Oe(bs,!1);return{elements:Q,primitive:Mt,count:gt,instances:Rt,offset:Be,vao:se,vaoActive:de,elementsActive:Z,static:pe}}function Er(U,V){var ee=U.static,Se=U.dynamic,pe={};return $e.forEach(function(de){var ce=Ae(de);function se(Z,ne){if(de in ee){var Q=Z(ee[de]);pe[ce]=je(function(){return Q})}else if(de in Se){var ve=Se[de];pe[ce]=at(ve,function(Oe,Be){return ne(Oe,Be,Oe.invoke(Be,ve))})}}switch(de){case gv:case pv:case dv:case qn:case Pc:case yv:case Bu:case Dc:case $c:case $u:return se(function(Z){return Z},function(Z,ne,Q){return Q});case Fc:return se(function(Z){return J[Z]},function(Z,ne,Q){var ve=Z.constants.compareFuncs;return ne.def(ve,"[",Q,"]")});case mv:return se(function(Z){return Z},function(Z,ne,Q){var ve=ne.def("+",Q,"[0]"),Oe=ne.def("+",Q,"[1]");return[ve,Oe]});case vs:return se(function(Z){var ne="srcRGB"in Z?Z.srcRGB:Z.src,Q="srcAlpha"in Z?Z.srcAlpha:Z.src,ve="dstRGB"in Z?Z.dstRGB:Z.dst,Oe="dstAlpha"in Z?Z.dstAlpha:Z.dst;return[X[ne],X[ve],X[Q],X[Oe]]},function(Z,ne,Q){var ve=Z.constants.blendFuncs;function Oe(Dt,wt){var Ot=ne.def('"',Dt,wt,'" in ',Q,"?",Q,".",Dt,wt,":",Q,".",Dt);return Ot}var Be=Oe("src","RGB"),Lt=Oe("dst","RGB"),Mt=ne.def(ve,"[",Be,"]"),gt=ne.def(ve,"[",Oe("src","Alpha"),"]"),Rt=ne.def(ve,"[",Lt,"]"),Et=ne.def(ve,"[",Oe("dst","Alpha"),"]");return[Mt,Rt,gt,Et]});case ps:return se(function(Z){if(typeof Z=="string")return[qe[Z],qe[Z]];if(typeof Z=="object")return[qe[Z.rgb],qe[Z.alpha]]},function(Z,ne,Q){var ve=Z.constants.blendEquations,Oe=ne.def(),Be=ne.def(),Lt=Z.cond("typeof ",Q,'==="string"');return Lt.then(Oe,"=",Be,"=",ve,"[",Q,"];"),Lt.else(Oe,"=",ve,"[",Q,".rgb];",Be,"=",ve,"[",Q,".alpha];"),ne(Lt),[Oe,Be]});case vv:return se(function(Z){return ge(4,function(ne){return+Z[ne]})},function(Z,ne,Q){return ge(4,function(ve){return ne.def("+",Q,"[",ve,"]")})});case Bc:return se(function(Z){return Z|0},function(Z,ne,Q){return ne.def(Q,"|0")});case zc:return se(function(Z){var ne=Z.cmp||"keep",Q=Z.ref||0,ve="mask"in Z?Z.mask:-1;return[J[ne],Q,ve]},function(Z,ne,Q){var ve=Z.constants.compareFuncs,Oe=ne.def('"cmp" in ',Q,"?",ve,"[",Q,".cmp]",":",N),Be=ne.def(Q,".ref|0"),Lt=ne.def('"mask" in ',Q,"?",Q,".mask|0:-1");return[Oe,Be,Lt]});case Uu:case Ua:return se(function(Z){var ne=Z.fail||"keep",Q=Z.zfail||"keep",ve=Z.zpass||"keep";return[de===Ua?p:h,ue[ne],ue[Q],ue[ve]]},function(Z,ne,Q){var ve=Z.constants.stencilOps;function Oe(Be){return ne.def('"',Be,'" in ',Q,"?",ve,"[",Q,".",Be,"]:",N)}return[de===Ua?p:h,Oe("fail"),Oe("zfail"),Oe("zpass")]});case Eo:return se(function(Z){var ne=Z.factor|0,Q=Z.units|0;return[ne,Q]},function(Z,ne,Q){var ve=ne.def(Q,".factor|0"),Oe=ne.def(Q,".units|0");return[ve,Oe]});case Nc:return se(function(Z){var ne=0;return Z==="front"?ne=h:Z==="back"&&(ne=p),ne},function(Z,ne,Q){return ne.def(Q,'==="front"?',h,":",p)});case Lc:return se(function(Z){return Z},function(Z,ne,Q){return Q});case ms:return se(function(Z){return le[Z]},function(Z,ne,Q){return ne.def(Q+'==="cw"?'+v+":"+x)});case Rc:return se(function(Z){return Z.map(function(ne){return!!ne})},function(Z,ne,Q){return ge(4,function(ve){return"!!"+Q+"["+ve+"]"})});case zu:return se(function(Z){var ne="value"in Z?Z.value:1,Q=!!Z.invert;return[ne,Q]},function(Z,ne,Q){var ve=ne.def('"value" in ',Q,"?+",Q,".value:1"),Oe=ne.def("!!",Q,".invert");return[ve,Oe]})}}),pe}function An(U,V){var ee=U.static,Se=U.dynamic,pe={};return Object.keys(ee).forEach(function(de){var ce=ee[de],se;if(typeof ce=="number"||typeof ce=="boolean")se=je(function(){return ce});else if(typeof ce=="function"){var Z=ce._reglType;Z==="texture2d"||Z==="textureCube"?se=je(function(ne){return ne.link(ce)}):(Z==="framebuffer"||Z==="framebufferCube")&&(se=je(function(ne){return ne.link(ce.color[0])}))}else ai(ce)&&(se=je(function(ne){var Q=ne.global.def("[",ge(ce.length,function(ve){return ce[ve]}),"]");return Q}));se.value=ce,pe[de]=se}),Object.keys(Se).forEach(function(de){var ce=Se[de];pe[de]=at(ce,function(se,Z){return se.invoke(Z,ce)})}),pe}function Xn(U,V){var ee=U.static,Se=U.dynamic,pe={};return Object.keys(ee).forEach(function(de){var ce=ee[de],se=H.id(de),Z=new Te;if(re(ce))Z.state=Ba,Z.buffer=Me.getBuffer(Me.create(ce,Ga,!1,!0)),Z.type=0;else{var ne=Me.getBuffer(ce);if(ne)Z.state=Ba,Z.buffer=ne,Z.type=0;else if("constant"in ce){var Q=ce.constant;Z.buffer="null",Z.state=Lu,typeof Q=="number"?Z.x=Q:$a.forEach(function(Rt,Et){Et<Q.length&&(Z[Rt]=Q[Et])})}else{re(ce.buffer)?ne=Me.getBuffer(Me.create(ce.buffer,Ga,!1,!0)):ne=Me.getBuffer(ce.buffer);var ve=ce.offset|0,Oe=ce.stride|0,Be=ce.size|0,Lt=!!ce.normalized,Mt=0;"type"in ce&&(Mt=Eu[ce.type]);var gt=ce.divisor|0;Z.buffer=ne,Z.state=Ba,Z.size=Be,Z.normalized=Lt,Z.type=Mt||ne.dtype,Z.offset=ve,Z.stride=Oe,Z.divisor=gt}}pe[de]=je(function(Rt,Et){var Dt=Rt.attribCache;if(se in Dt)return Dt[se];var wt={isStream:!1};return Object.keys(Z).forEach(function(Ot){wt[Ot]=Z[Ot]}),Z.buffer&&(wt.buffer=Rt.link(Z.buffer),wt.type=wt.type||wt.buffer+".dtype"),Dt[se]=wt,wt})}),Object.keys(Se).forEach(function(de){var ce=Se[de];function se(Z,ne){var Q=Z.invoke(ne,ce),ve=Z.shared,Oe=Z.constants,Be=ve.isBufferArgs,Lt=ve.buffer,Mt={isStream:ne.def(!1)},gt=new Te;gt.state=Ba,Object.keys(gt).forEach(function(wt){Mt[wt]=ne.def(""+gt[wt])});var Rt=Mt.buffer,Et=Mt.type;ne("if(",Be,"(",Q,")){",Mt.isStream,"=true;",Rt,"=",Lt,".createStream(",Ga,",",Q,");",Et,"=",Rt,".dtype;","}else{",Rt,"=",Lt,".getBuffer(",Q,");","if(",Rt,"){",Et,"=",Rt,".dtype;",'}else if("constant" in ',Q,"){",Mt.state,"=",Lu,";","if(typeof "+Q+'.constant === "number"){',Mt[$a[0]],"=",Q,".constant;",$a.slice(1).map(function(wt){return Mt[wt]}).join("="),"=0;","}else{",$a.map(function(wt,Ot){return Mt[wt]+"="+Q+".constant.length>"+Ot+"?"+Q+".constant["+Ot+"]:0;"}).join(""),"}}else{","if(",Be,"(",Q,".buffer)){",Rt,"=",Lt,".createStream(",Ga,",",Q,".buffer);","}else{",Rt,"=",Lt,".getBuffer(",Q,".buffer);","}",Et,'="type" in ',Q,"?",Oe.glTypes,"[",Q,".type]:",Rt,".dtype;",Mt.normalized,"=!!",Q,".normalized;");function Dt(wt){ne(Mt[wt],"=",Q,".",wt,"|0;")}return Dt("size"),Dt("offset"),Dt("stride"),Dt("divisor"),ne("}}"),ne.exit("if(",Mt.isStream,"){",Lt,".destroyStream(",Rt,");","}"),Mt}pe[de]=at(ce,se)}),pe}function Fn(U){var V=U.static,ee=U.dynamic,Se={};return Object.keys(V).forEach(function(pe){var de=V[pe];Se[pe]=je(function(ce,se){return typeof de=="number"||typeof de=="boolean"?""+de:ce.link(de)})}),Object.keys(ee).forEach(function(pe){var de=ee[pe];Se[pe]=at(de,function(ce,se){return ce.invoke(se,de)})}),Se}function Gi(U,V,ee,Se,pe){U.static,U.dynamic;var de=on(U,V),ce=ur(U),se=hr(U,ce),Z=Yn(U),ne=Er(U),Q=lr(U,pe,de);function ve(Rt){var Et=se[Rt];Et&&(ne[Rt]=Et)}ve(Ui),ve(Ae(gs));var Oe=Object.keys(ne).length>0,Be={framebuffer:ce,draw:Z,shader:Q,state:ne,dirty:Oe,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Be.profile=tr(U),Be.uniforms=An(ee),Be.drawVAO=Be.scopeVAO=Z.vao,!Be.drawVAO&&Q.program&&!de&&K.angle_instanced_arrays&&Z.static.elements){var Lt=!0,Mt=Q.program.attributes.map(function(Rt){var Et=V.static[Rt];return Lt=Lt&&!!Et,Et});if(Lt&&Mt.length>0){var gt=et.getVAO(et.createVAO({attributes:Mt,elements:Z.static.elements}));Be.drawVAO=new Ue(null,null,null,function(Rt,Et){return Rt.link(gt)}),Be.useVAO=!0}}return de?Be.useVAO=!0:Be.attributes=Xn(V),Be.context=Fn(Se),Be}function un(U,V,ee){var Se=U.shared,pe=Se.context,de=U.scope();Object.keys(ee).forEach(function(ce){V.save(pe,"."+ce);var se=ee[ce],Z=se.append(U,V);Array.isArray(Z)?de(pe,".",ce,"=[",Z.join(),"];"):de(pe,".",ce,"=",Z,";")}),V(de)}function ln(U,V,ee,Se){var pe=U.shared,de=pe.gl,ce=pe.framebuffer,se;Ne&&(se=V.def(pe.extensions,".webgl_draw_buffers"));var Z=U.constants,ne=Z.drawBuffer,Q=Z.backBuffer,ve;ee?ve=ee.append(U,V):ve=V.def(ce,".next"),Se||V("if(",ve,"!==",ce,".cur){"),V("if(",ve,"){",de,".bindFramebuffer(",oe,",",ve,".framebuffer);"),Ne&&V(se,".drawBuffersWEBGL(",ne,"[",ve,".colorAttachments.length]);"),V("}else{",de,".bindFramebuffer(",oe,",null);"),Ne&&V(se,".drawBuffersWEBGL(",Q,");"),V("}",ce,".cur=",ve,";"),Se||V("}")}function Xt(U,V,ee){var Se=U.shared,pe=Se.gl,de=U.current,ce=U.next,se=Se.current,Z=Se.next,ne=U.cond(se,".dirty");$e.forEach(function(Q){var ve=Ae(Q);if(!(ve in ee.state)){var Oe,Be;if(ve in ce){Oe=ce[ve],Be=de[ve];var Lt=ge(ot[ve].length,function(gt){return ne.def(Oe,"[",gt,"]")});ne(U.cond(Lt.map(function(gt,Rt){return gt+"!=="+Be+"["+Rt+"]"}).join("||")).then(pe,".",mt[ve],"(",Lt,");",Lt.map(function(gt,Rt){return Be+"["+Rt+"]="+gt}).join(";"),";"))}else{Oe=ne.def(Z,".",ve);var Mt=U.cond(Oe,"!==",se,".",ve);ne(Mt),ve in Ie?Mt(U.cond(Oe).then(pe,".enable(",Ie[ve],");").else(pe,".disable(",Ie[ve],");"),se,".",ve,"=",Oe,";"):Mt(pe,".",mt[ve],"(",Oe,");",se,".",ve,"=",Oe,";")}}}),Object.keys(ee.state).length===0&&ne(se,".dirty=false;"),V(ne)}function ci(U,V,ee,Se){var pe=U.shared,de=U.current,ce=pe.current,se=pe.gl,Z;Pe(Object.keys(ee)).forEach(function(ne){var Q=ee[ne];if(!(Se&&!Se(Q))){var ve=Q.append(U,V);if(Ie[ne]){var Oe=Ie[ne];tt(Q)?(Z=U.link(ve,{stable:!0}),V(U.cond(Z).then(se,".enable(",Oe,");").else(se,".disable(",Oe,");")),V(ce,".",ne,"=",Z,";")):(V(U.cond(ve).then(se,".enable(",Oe,");").else(se,".disable(",Oe,");")),V(ce,".",ne,"=",ve,";"))}else if(ai(ve)){var Be=de[ne];V(se,".",mt[ne],"(",ve,");",ve.map(function(Lt,Mt){return Be+"["+Mt+"]="+Lt}).join(";"),";")}else tt(Q)?(Z=U.link(ve,{stable:!0}),V(se,".",mt[ne],"(",Z,");",ce,".",ne,"=",Z,";")):V(se,".",mt[ne],"(",ve,");",ce,".",ne,"=",ve,";")}})}function br(U,V){Ke&&(U.instancing=V.def(U.shared.extensions,".angle_instanced_arrays"))}function sn(U,V,ee,Se,pe){var de=U.shared,ce=U.stats,se=de.current,Z=de.timer,ne=ee.profile;function Q(){return typeof performance>"u"?"Date.now()":"performance.now()"}var ve,Oe;function Be(Dt){ve=V.def(),Dt(ve,"=",Q(),";"),typeof pe=="string"?Dt(ce,".count+=",pe,";"):Dt(ce,".count++;"),it&&(Se?(Oe=V.def(),Dt(Oe,"=",Z,".getNumPendingQueries();")):Dt(Z,".beginQuery(",ce,");"))}function Lt(Dt){Dt(ce,".cpuTime+=",Q(),"-",ve,";"),it&&(Se?Dt(Z,".pushScopeStats(",Oe,",",Z,".getNumPendingQueries(),",ce,");"):Dt(Z,".endQuery();"))}function Mt(Dt){var wt=V.def(se,".profile");V(se,".profile=",Dt,";"),V.exit(se,".profile=",wt,";")}var gt;if(ne){if(tt(ne)){ne.enable?(Be(V),Lt(V.exit),Mt("true")):Mt("false");return}gt=ne.append(U,V),Mt(gt)}else gt=V.def(se,".profile");var Rt=U.block();Be(Rt),V("if(",gt,"){",Rt,"}");var Et=U.block();Lt(Et),V.exit("if(",gt,"){",Et,"}")}function zn(U,V,ee,Se,pe){var de=U.shared;function ce(Z){switch(Z){case Ss:case Hc:case qc:return 2;case ji:case Vu:case Yc:return 3;case ko:case Mo:case Xc:return 4;default:return 1}}function se(Z,ne,Q){var ve=de.gl,Oe=V.def(Z,".location"),Be=V.def(de.attributes,"[",Oe,"]"),Lt=Q.state,Mt=Q.buffer,gt=[Q.x,Q.y,Q.z,Q.w],Rt=["buffer","normalized","offset","stride"];function Et(){V("if(!",Be,".buffer){",ve,".enableVertexAttribArray(",Oe,");}");var wt=Q.type,Ot;if(Q.size?Ot=V.def(Q.size,"||",ne):Ot=ne,V("if(",Be,".type!==",wt,"||",Be,".size!==",Ot,"||",Rt.map(function(Vt){return Be+"."+Vt+"!=="+Q[Vt]}).join("||"),"){",ve,".bindBuffer(",Ga,",",Mt,".buffer);",ve,".vertexAttribPointer(",[Oe,Ot,wt,Q.normalized,Q.stride,Q.offset],");",Be,".type=",wt,";",Be,".size=",Ot,";",Rt.map(function(Vt){return Be+"."+Vt+"="+Q[Vt]+";"}).join(""),"}"),Ke){var kt=Q.divisor;V("if(",Be,".divisor!==",kt,"){",U.instancing,".vertexAttribDivisorANGLE(",[Oe,kt],");",Be,".divisor=",kt,";}")}}function Dt(){V("if(",Be,".buffer){",ve,".disableVertexAttribArray(",Oe,");",Be,".buffer=null;","}if(",$a.map(function(wt,Ot){return Be+"."+wt+"!=="+gt[Ot]}).join("||"),"){",ve,".vertexAttrib4f(",Oe,",",gt,");",$a.map(function(wt,Ot){return Be+"."+wt+"="+gt[Ot]+";"}).join(""),"}")}Lt===Ba?Et():Lt===Lu?Dt():(V("if(",Lt,"===",Ba,"){"),Et(),V("}else{"),Dt(),V("}"))}Se.forEach(function(Z){var ne=Z.name,Q=ee.attributes[ne],ve;if(Q){if(!pe(Q))return;ve=Q.append(U,V)}else{if(!pe(vt))return;var Oe=U.scopeAttrib(ne);ve={},Object.keys(new Te).forEach(function(Be){ve[Be]=V.def(Oe,".",Be)})}se(U.link(Z),ce(Z.info.type),ve)})}function Un(U,V,ee,Se,pe,de){for(var ce=U.shared,se=ce.gl,Z,ne=0;ne<Se.length;++ne){var Q=Se[ne],ve=Q.name,Oe=Q.info.type,Be=ee.uniforms[ve],Lt=U.link(Q),Mt=Lt+".location",gt;if(Be){if(!pe(Be))continue;if(tt(Be)){var Rt=Be.value;if(Oe===Kc||Oe===u){var Et=U.link(Rt._texture||Rt.color[0]._texture);V(se,".uniform1i(",Mt,",",Et+".bind());"),V.exit(Et,".unbind();")}else if(Oe===Qc||Oe===qu||Oe===Zc){var Dt=U.global.def("new Float32Array(["+Array.prototype.slice.call(Rt)+"])"),wt=2;Oe===qu?wt=3:Oe===Zc&&(wt=4),V(se,".uniformMatrix",wt,"fv(",Mt,",false,",Dt,");")}else{switch(Oe){case $r:Z="1f";break;case Ss:Z="2f";break;case ji:Z="3f";break;case ko:Z="4f";break;case Vc:Z="1i";break;case Es:Z="1i";break;case qc:Z="2i";break;case Hc:Z="2i";break;case Yc:Z="3i";break;case Vu:Z="3i";break;case Xc:Z="4i";break;case Mo:Z="4i";break}V(se,".uniform",Z,"(",Mt,",",ai(Rt)?Array.prototype.slice.call(Rt):Rt,");")}continue}else gt=Be.append(U,V)}else{if(!pe(vt))continue;gt=V.def(ce.uniforms,"[",H.id(ve),"]")}Oe===Kc?V("if(",gt,"&&",gt,'._reglType==="framebuffer"){',gt,"=",gt,".color[0];","}"):Oe===u&&V("if(",gt,"&&",gt,'._reglType==="framebufferCube"){',gt,"=",gt,".color[0];","}");var Ot=1;switch(Oe){case Kc:case u:var kt=V.def(gt,"._texture");V(se,".uniform1i(",Mt,",",kt,".bind());"),V.exit(kt,".unbind();");continue;case Es:case Vc:Z="1i";break;case Hc:case qc:Z="2i",Ot=2;break;case Vu:case Yc:Z="3i",Ot=3;break;case Mo:case Xc:Z="4i",Ot=4;break;case $r:Z="1f";break;case Ss:Z="2f",Ot=2;break;case ji:Z="3f",Ot=3;break;case ko:Z="4f",Ot=4;break;case Qc:Z="Matrix2fv";break;case qu:Z="Matrix3fv";break;case Zc:Z="Matrix4fv";break}if(Z.charAt(0)==="M"){V(se,".uniform",Z,"(",Mt,",");var Vt=Math.pow(Oe-Qc+2,2),Pr=U.global.def("new Float32Array(",Vt,")");Array.isArray(gt)?V("false,(",ge(Vt,function(wi){return Pr+"["+wi+"]="+gt[wi]}),",",Pr,")"):V("false,(Array.isArray(",gt,")||",gt," instanceof Float32Array)?",gt,":(",ge(Vt,function(wi){return Pr+"["+wi+"]="+gt+"["+wi+"]"}),",",Pr,")"),V(");")}else if(Ot>1){for(var Qn=[],Wa=[],Io=0;Io<Ot;++Io)Array.isArray(gt)?Wa.push(gt[Io]):Wa.push(V.def(gt+"["+Io+"]")),de&&Qn.push(V.def());de&&V("if(!",U.batchId,"||",Qn.map(function(wi,Jc){return wi+"!=="+Wa[Jc]}).join("||"),"){",Qn.map(function(wi,Jc){return wi+"="+Wa[Jc]+";"}).join("")),V(se,".uniform",Z,"(",Mt,",",Wa.join(","),");"),de&&V("}")}else{if(de){var Po=V.def();V("if(!",U.batchId,"||",Po,"!==",gt,"){",Po,"=",gt,";")}V(se,".uniform",Z,"(",Mt,",",gt,");"),de&&V("}")}}}function Zt(U,V,ee,Se){var pe=U.shared,de=pe.gl,ce=pe.draw,se=Se.draw;function Z(){var Ot=se.elements,kt,Vt=V;return Ot?((Ot.contextDep&&Se.contextDynamic||Ot.propDep)&&(Vt=ee),kt=Ot.append(U,Vt),se.elementsActive&&Vt("if("+kt+")"+de+".bindBuffer("+Wc+","+kt+".buffer.buffer);")):(kt=Vt.def(),Vt(kt,"=",ce,".",Ao,";","if(",kt,"){",de,".bindBuffer(",Wc,",",kt,".buffer.buffer);}","else if(",pe.vao,".currentVAO){",kt,"=",U.shared.elements+".getElements("+pe.vao,".currentVAO.elements);",pt?"":"if("+kt+")"+de+".bindBuffer("+Wc+","+kt+".buffer.buffer);","}")),kt}function ne(){var Ot=se.count,kt,Vt=V;return Ot?((Ot.contextDep&&Se.contextDynamic||Ot.propDep)&&(Vt=ee),kt=Ot.append(U,Vt)):kt=Vt.def(ce,".",nn),kt}var Q=Z();function ve(Ot){var kt=se[Ot];return kt?kt.contextDep&&Se.contextDynamic||kt.propDep?kt.append(U,ee):kt.append(U,V):V.def(ce,".",Ot)}var Oe=ve(To),Be=ve(xs),Lt=ne();if(typeof Lt=="number"){if(Lt===0)return}else ee("if(",Lt,"){"),ee.exit("}");var Mt,gt;Ke&&(Mt=ve(bs),gt=U.instancing);var Rt=Q+".type",Et=se.elements&&tt(se.elements)&&!se.vaoActive;function Dt(){function Ot(){ee(gt,".drawElementsInstancedANGLE(",[Oe,Lt,Rt,Be+"<<(("+Rt+"-"+kc+")>>1)",Mt],");")}function kt(){ee(gt,".drawArraysInstancedANGLE(",[Oe,Be,Lt,Mt],");")}Q&&Q!=="null"?Et?Ot():(ee("if(",Q,"){"),Ot(),ee("}else{"),kt(),ee("}")):kt()}function wt(){function Ot(){ee(de+".drawElements("+[Oe,Lt,Rt,Be+"<<(("+Rt+"-"+kc+")>>1)"]+");")}function kt(){ee(de+".drawArrays("+[Oe,Be,Lt]+");")}Q&&Q!=="null"?Et?Ot():(ee("if(",Q,"){"),Ot(),ee("}else{"),kt(),ee("}")):kt()}Ke&&(typeof Mt!="number"||Mt>=0)?typeof Mt=="string"?(ee("if(",Mt,">0){"),Dt(),ee("}else if(",Mt,"<0){"),wt(),ee("}")):Dt():wt()}function fr(U,V,ee,Se,pe){var de=lt(),ce=de.proc("body",pe);return Ke&&(de.instancing=ce.def(de.shared.extensions,".angle_instanced_arrays")),U(de,ce,ee,Se),de.compile().body}function Cr(U,V,ee,Se){br(U,V),ee.useVAO?ee.drawVAO?V(U.shared.vao,".setVAO(",ee.drawVAO.append(U,V),");"):V(U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"):(V(U.shared.vao,".setVAO(null);"),zn(U,V,ee,Se.attributes,function(){return!0})),Un(U,V,ee,Se.uniforms,function(){return!0},!1),Zt(U,V,V,ee)}function fn(U,V){var ee=U.proc("draw",1);br(U,ee),un(U,ee,V.context),ln(U,ee,V.framebuffer),Xt(U,ee,V),ci(U,ee,V.state),sn(U,ee,V,!1,!0);var Se=V.shader.progVar.append(U,ee);if(ee(U.shared.gl,".useProgram(",Se,".program);"),V.shader.program)Cr(U,ee,V,V.shader.program);else{ee(U.shared.vao,".setVAO(null);");var pe=U.global.def("{}"),de=ee.def(Se,".id"),ce=ee.def(pe,"[",de,"]");ee(U.cond(ce).then(ce,".call(this,a0);").else(ce,"=",pe,"[",de,"]=",U.link(function(se){return fr(Cr,U,V,se,1)}),"(",Se,");",ce,".call(this,a0);"))}Object.keys(V.state).length>0&&ee(U.shared.current,".dirty=true;"),U.shared.vao&&ee(U.shared.vao,".setVAO(null);")}function Y(U,V,ee,Se){U.batchId="a1",br(U,V);function pe(){return!0}zn(U,V,ee,Se.attributes,pe),Un(U,V,ee,Se.uniforms,pe,!1),Zt(U,V,V,ee)}function be(U,V,ee,Se){br(U,V);var pe=ee.contextDep,de=V.def(),ce="a0",se="a1",Z=V.def();U.shared.props=Z,U.batchId=de;var ne=U.scope(),Q=U.scope();V(ne.entry,"for(",de,"=0;",de,"<",se,";++",de,"){",Z,"=",ce,"[",de,"];",Q,"}",ne.exit);function ve(Rt){return Rt.contextDep&&pe||Rt.propDep}function Oe(Rt){return!ve(Rt)}if(ee.needsContext&&un(U,Q,ee.context),ee.needsFramebuffer&&ln(U,Q,ee.framebuffer),ci(U,Q,ee.state,ve),ee.profile&&ve(ee.profile)&&sn(U,Q,ee,!1,!0),Se)ee.useVAO?ee.drawVAO?ve(ee.drawVAO)?Q(U.shared.vao,".setVAO(",ee.drawVAO.append(U,Q),");"):ne(U.shared.vao,".setVAO(",ee.drawVAO.append(U,ne),");"):ne(U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"):(ne(U.shared.vao,".setVAO(null);"),zn(U,ne,ee,Se.attributes,Oe),zn(U,Q,ee,Se.attributes,ve)),Un(U,ne,ee,Se.uniforms,Oe,!1),Un(U,Q,ee,Se.uniforms,ve,!0),Zt(U,ne,Q,ee);else{var Be=U.global.def("{}"),Lt=ee.shader.progVar.append(U,Q),Mt=Q.def(Lt,".id"),gt=Q.def(Be,"[",Mt,"]");Q(U.shared.gl,".useProgram(",Lt,".program);","if(!",gt,"){",gt,"=",Be,"[",Mt,"]=",U.link(function(Rt){return fr(Y,U,ee,Rt,2)}),"(",Lt,");}",gt,".call(this,a0[",de,"],",de,");")}}function ye(U,V){var ee=U.proc("batch",2);U.batchId="0",br(U,ee);var Se=!1,pe=!0;Object.keys(V.context).forEach(function(Be){Se=Se||V.context[Be].propDep}),Se||(un(U,ee,V.context),pe=!1);var de=V.framebuffer,ce=!1;de?(de.propDep?Se=ce=!0:de.contextDep&&Se&&(ce=!0),ce||ln(U,ee,de)):ln(U,ee,null),V.state.viewport&&V.state.viewport.propDep&&(Se=!0);function se(Be){return Be.contextDep&&Se||Be.propDep}Xt(U,ee,V),ci(U,ee,V.state,function(Be){return!se(Be)}),(!V.profile||!se(V.profile))&&sn(U,ee,V,!1,"a1"),V.contextDep=Se,V.needsContext=pe,V.needsFramebuffer=ce;var Z=V.shader.progVar;if(Z.contextDep&&Se||Z.propDep)be(U,ee,V,null);else{var ne=Z.append(U,ee);if(ee(U.shared.gl,".useProgram(",ne,".program);"),V.shader.program)be(U,ee,V,V.shader.program);else{ee(U.shared.vao,".setVAO(null);");var Q=U.global.def("{}"),ve=ee.def(ne,".id"),Oe=ee.def(Q,"[",ve,"]");ee(U.cond(Oe).then(Oe,".call(this,a0,a1);").else(Oe,"=",Q,"[",ve,"]=",U.link(function(Be){return fr(be,U,V,Be,2)}),"(",ne,");",Oe,".call(this,a0,a1);"))}}Object.keys(V.state).length>0&&ee(U.shared.current,".dirty=true;"),U.shared.vao&&ee(U.shared.vao,".setVAO(null);")}function Tt(U,V){var ee=U.proc("scope",3);U.batchId="a2";var Se=U.shared,pe=Se.current;if(un(U,ee,V.context),V.framebuffer&&V.framebuffer.append(U,ee),Pe(Object.keys(V.state)).forEach(function(se){var Z=V.state[se],ne=Z.append(U,ee);ai(ne)?ne.forEach(function(Q,ve){Ft(Q)?ee.set(U.next[se],"["+ve+"]",Q):ee.set(U.next[se],"["+ve+"]",U.link(Q,{stable:!0}))}):tt(Z)?ee.set(Se.next,"."+se,U.link(ne,{stable:!0})):ee.set(Se.next,"."+se,ne)}),sn(U,ee,V,!0,!0),[Ao,xs,nn,bs,To].forEach(function(se){var Z=V.draw[se];if(!!Z){var ne=Z.append(U,ee);Ft(ne)?ee.set(Se.draw,"."+se,ne):ee.set(Se.draw,"."+se,U.link(ne),{stable:!0})}}),Object.keys(V.uniforms).forEach(function(se){var Z=V.uniforms[se].append(U,ee);Array.isArray(Z)&&(Z="["+Z.map(function(ne){return Ft(ne)?ne:U.link(ne,{stable:!0})})+"]"),ee.set(Se.uniforms,"["+U.link(H.id(se),{stable:!0})+"]",Z)}),Object.keys(V.attributes).forEach(function(se){var Z=V.attributes[se].append(U,ee),ne=U.scopeAttrib(se);Object.keys(new Te).forEach(function(Q){ee.set(ne,"."+Q,Z[Q])})}),V.scopeVAO){var de=V.scopeVAO.append(U,ee);Ft(de)?ee.set(Se.vao,".targetVAO",de):ee.set(Se.vao,".targetVAO",U.link(de,{stable:!0}))}function ce(se){var Z=V.shader[se];if(Z){var ne=Z.append(U,ee);Ft(ne)?ee.set(Se.shader,"."+se,ne):ee.set(Se.shader,"."+se,U.link(ne,{stable:!0}))}}ce(ju),ce(ys),Object.keys(V.state).length>0&&(ee(pe,".dirty=true;"),ee.exit(pe,".dirty=true;")),ee("a1(",U.shared.context,",a0,",U.batchId,");")}function rr(U){if(!(typeof U!="object"||ai(U))){for(var V=Object.keys(U),ee=0;ee<V.length;++ee)if(E.isDynamic(U[V[ee]]))return!0;return!1}}function Ir(U,V,ee){var Se=V.static[ee];if(!Se||!rr(Se))return;var pe=U.global,de=Object.keys(Se),ce=!1,se=!1,Z=!1,ne=U.global.def("{}");de.forEach(function(ve){var Oe=Se[ve];if(E.isDynamic(Oe)){typeof Oe=="function"&&(Oe=Se[ve]=E.unbox(Oe));var Be=at(Oe,null);ce=ce||Be.thisDep,Z=Z||Be.propDep,se=se||Be.contextDep}else{switch(pe(ne,".",ve,"="),typeof Oe){case"number":pe(Oe);break;case"string":pe('"',Oe,'"');break;case"object":Array.isArray(Oe)&&pe("[",Oe.join(),"]");break;default:pe(U.link(Oe));break}pe(";")}});function Q(ve,Oe){de.forEach(function(Be){var Lt=Se[Be];if(!!E.isDynamic(Lt)){var Mt=ve.invoke(Oe,Lt);Oe(ne,".",Be,"=",Mt,";")}})}V.dynamic[ee]=new E.DynamicVariable(za,{thisDep:ce,contextDep:se,propDep:Z,ref:ne,append:Q}),delete V.static[ee]}function Ct(U,V,ee,Se,pe){var de=lt();de.stats=de.link(pe),Object.keys(V.static).forEach(function(se){Ir(de,V,se)}),Ry.forEach(function(se){Ir(de,U,se)});var ce=Gi(U,V,ee,Se,de);return ce.shader.program&&(ce.shader.program.attributes.sort(function(se,Z){return se.name<Z.name?-1:1}),ce.shader.program.uniforms.sort(function(se,Z){return se.name<Z.name?-1:1})),fn(de,ce),Tt(de,ce),ye(de,ce),r(de.compile(),{destroy:function(){ce.shader.program.destroy()}})}return{next:Pt,current:ot,procs:function(){var U=lt(),V=U.proc("poll"),ee=U.proc("refresh"),Se=U.block();V(Se),ee(Se);var pe=U.shared,de=pe.gl,ce=pe.next,se=pe.current;Se(se,".dirty=false;"),ln(U,V),ln(U,ee,null,!0);var Z;Ke&&(Z=U.link(Ke)),K.oes_vertex_array_object&&ee(U.link(K.oes_vertex_array_object),".bindVertexArrayOES(null);");var ne=ee.def(pe.attributes),Q=ee.def(0),ve=U.cond(Q,".buffer");ve.then(de,".enableVertexAttribArray(i);",de,".bindBuffer(",Ga,",",Q,".buffer.buffer);",de,".vertexAttribPointer(i,",Q,".size,",Q,".type,",Q,".normalized,",Q,".stride,",Q,".offset);").else(de,".disableVertexAttribArray(i);",de,".vertexAttrib4f(i,",Q,".x,",Q,".y,",Q,".z,",Q,".w);",Q,".buffer=null;");var Oe=U.link(Ee.maxAttributes,{stable:!0});return ee("for(var i=0;i<",Oe,";++i){",Q,"=",ne,"[i];",ve,"}"),Ke&&ee("for(var i=0;i<",Oe,";++i){",Z,".vertexAttribDivisorANGLE(i,",ne,"[i].divisor);","}"),ee(U.shared.vao,".currentVAO=null;",U.shared.vao,".setVAO(",U.shared.vao,".targetVAO);"),Object.keys(Ie).forEach(function(Be){var Lt=Ie[Be],Mt=Se.def(ce,".",Be),gt=U.block();gt("if(",Mt,"){",de,".enable(",Lt,")}else{",de,".disable(",Lt,")}",se,".",Be,"=",Mt,";"),ee(gt),V("if(",Mt,"!==",se,".",Be,"){",gt,"}")}),Object.keys(mt).forEach(function(Be){var Lt=mt[Be],Mt=ot[Be],gt,Rt,Et=U.block();if(Et(de,".",Lt,"("),ai(Mt)){var Dt=Mt.length;gt=U.global.def(ce,".",Be),Rt=U.global.def(se,".",Be),Et(ge(Dt,function(wt){return gt+"["+wt+"]"}),");",ge(Dt,function(wt){return Rt+"["+wt+"]="+gt+"["+wt+"];"}).join("")),V("if(",ge(Dt,function(wt){return gt+"["+wt+"]!=="+Rt+"["+wt+"]"}).join("||"),"){",Et,"}")}else gt=Se.def(ce,".",Be),Rt=Se.def(se,".",Be),Et(gt,");",se,".",Be,"=",gt,";"),V("if(",gt,"!==",Rt,"){",Et,"}");ee(Et)}),U.compile()}(),compile:Ct}}function bt(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var zt=34918,ar=34919,Mr=35007,dr=function(F,H){if(!H.ext_disjoint_timer_query)return null;var K=[];function Ee(){return K.pop()||H.ext_disjoint_timer_query.createQueryEXT()}function Me(qe){K.push(qe)}var xe=[];function _e(qe){var Ke=Ee();H.ext_disjoint_timer_query.beginQueryEXT(Mr,Ke),xe.push(Ke),it(xe.length-1,xe.length,qe)}function Ye(){H.ext_disjoint_timer_query.endQueryEXT(Mr)}function Xe(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var et=[];function ft(){return et.pop()||new Xe}function It(qe){et.push(qe)}var St=[];function it(qe,Ke,Ne){var pt=ft();pt.startQueryIndex=qe,pt.endQueryIndex=Ke,pt.sum=0,pt.stats=Ne,St.push(pt)}var Ge=[],he=[];function Te(){var qe,Ke,Ne=xe.length;if(Ne!==0){he.length=Math.max(he.length,Ne+1),Ge.length=Math.max(Ge.length,Ne+1),Ge[0]=0,he[0]=0;var pt=0;for(qe=0,Ke=0;Ke<xe.length;++Ke){var ot=xe[Ke];H.ext_disjoint_timer_query.getQueryObjectEXT(ot,ar)?(pt+=H.ext_disjoint_timer_query.getQueryObjectEXT(ot,zt),Me(ot)):xe[qe++]=ot,Ge[Ke+1]=pt,he[Ke+1]=qe}for(xe.length=qe,qe=0,Ke=0;Ke<St.length;++Ke){var Pt=St[Ke],$e=Pt.startQueryIndex,Ie=Pt.endQueryIndex;Pt.sum+=Ge[Ie]-Ge[$e];var mt=he[$e],Ae=he[Ie];Ae===mt?(Pt.stats.gpuTime+=Pt.sum/1e6,It(Pt)):(Pt.startQueryIndex=mt,Pt.endQueryIndex=Ae,St[qe++]=Pt)}St.length=qe}}return{beginQuery:_e,endQuery:Ye,pushScopeStats:it,update:Te,getNumPendingQueries:function(){return xe.length},clear:function(){K.push.apply(K,xe);for(var qe=0;qe<K.length;qe++)H.ext_disjoint_timer_query.deleteQueryEXT(K[qe]);xe.length=0,K.length=0},restore:function(){xe.length=0,K.length=0}}},rt=16384,Wt=256,Yt=1024,or=34962,Sr="webglcontextlost",Br="webglcontextrestored",Yr=1,pn=2,En=3;function an(F,H){for(var K=0;K<F.length;++K)if(F[K]===H)return K;return-1}function Pn(F){var H=j(F);if(!H)return null;var K=H.gl,Ee=K.getContextAttributes();K.isContextLost();var Me=te(K,H);if(!Me)return null;var xe=w(),_e=bt(),Ye=H.cachedCode||{},Xe=Me.extensions,et=dr(K,Xe),ft=b(),It=K.drawingBufferWidth,St=K.drawingBufferHeight,it={tick:0,time:0,viewportWidth:It,viewportHeight:St,framebufferWidth:It,framebufferHeight:St,drawingBufferWidth:It,drawingBufferHeight:St,pixelRatio:H.pixelRatio},Ge={},he={elements:null,primitive:4,count:-1,offset:0,instances:-1},Te=Gl(K,Xe),qe=xp(K,_e,H,pt),Ke=Xl(K,Xe,qe,_e),Ne=Sy(K,Xe,Te,_e,qe,Ke,he);function pt(Zt){return Ne.destroyBuffer(Zt)}var ot=nv(K,xe,_e,H),Pt=gy(K,Xe,Te,function(){mt.procs.poll()},it,_e,H),$e=Kp(K,Xe,Te,_e,H),Ie=bc(K,Xe,Te,Pt,$e,_e),mt=Gt(K,xe,Xe,Te,qe,Ke,Pt,Ie,Ge,Ne,ot,he,it,et,Ye,H),Ae=av(K,Ie,mt.procs.poll,it),ht=mt.next,Je=K.canvas,Ft=[],er=[],xt=[],Bt=[H.onDestroy],lt=null;function tr(){if(Ft.length===0){et&&et.update(),lt=null;return}lt=M.next(tr),ln();for(var Zt=Ft.length-1;Zt>=0;--Zt){var fr=Ft[Zt];fr&&fr(it,null,0)}K.flush(),et&&et.update()}function ur(){!lt&&Ft.length>0&&(lt=M.next(tr))}function hr(){lt&&(M.cancel(tr),lt=null)}function on(Zt){Zt.preventDefault(),hr(),er.forEach(function(fr){fr()})}function lr(Zt){K.getError(),Me.restore(),ot.restore(),qe.restore(),Pt.restore(),$e.restore(),Ie.restore(),Ne.restore(),et&&et.restore(),mt.procs.refresh(),ur(),xt.forEach(function(fr){fr()})}Je&&(Je.addEventListener(Sr,on,!1),Je.addEventListener(Br,lr,!1));function Yn(){Ft.length=0,hr(),Je&&(Je.removeEventListener(Sr,on),Je.removeEventListener(Br,lr)),ot.clear(),Ie.clear(),$e.clear(),Ne.clear(),Pt.clear(),Ke.clear(),qe.clear(),et&&et.clear(),Bt.forEach(function(Zt){Zt()})}function Er(Zt){function fr(pe){var de=r({},pe);delete de.uniforms,delete de.attributes,delete de.context,delete de.vao,"stencil"in de&&de.stencil.op&&(de.stencil.opBack=de.stencil.opFront=de.stencil.op,delete de.stencil.op);function ce(se){if(se in de){var Z=de[se];delete de[se],Object.keys(Z).forEach(function(ne){de[se+"."+ne]=Z[ne]})}}return ce("blend"),ce("depth"),ce("cull"),ce("stencil"),ce("polygonOffset"),ce("scissor"),ce("sample"),"vao"in pe&&(de.vao=pe.vao),de}function Cr(pe,de){var ce={},se={};return Object.keys(pe).forEach(function(Z){var ne=pe[Z];if(E.isDynamic(ne)){se[Z]=E.unbox(ne,Z);return}else if(de&&Array.isArray(ne)){for(var Q=0;Q<ne.length;++Q)if(E.isDynamic(ne[Q])){se[Z]=E.unbox(ne,Z);return}}ce[Z]=ne}),{dynamic:se,static:ce}}var fn=Cr(Zt.context||{},!0),Y=Cr(Zt.uniforms||{},!0),be=Cr(Zt.attributes||{},!1),ye=Cr(fr(Zt),!1),Tt={gpuTime:0,cpuTime:0,count:0},rr=mt.compile(ye,be,Y,fn,Tt),Ir=rr.draw,Ct=rr.batch,U=rr.scope,V=[];function ee(pe){for(;V.length<pe;)V.push(null);return V}function Se(pe,de){var ce;if(typeof pe=="function")return U.call(this,null,pe,0);if(typeof de=="function")if(typeof pe=="number")for(ce=0;ce<pe;++ce)U.call(this,null,de,ce);else if(Array.isArray(pe))for(ce=0;ce<pe.length;++ce)U.call(this,pe[ce],de,ce);else return U.call(this,pe,de,0);else if(typeof pe=="number"){if(pe>0)return Ct.call(this,ee(pe|0),pe|0)}else if(Array.isArray(pe)){if(pe.length)return Ct.call(this,pe,pe.length)}else return Ir.call(this,pe)}return r(Se,{stats:Tt,destroy:function(){rr.destroy()}})}var An=Ie.setFBO=Er({framebuffer:E.define.call(null,Yr,"framebuffer")});function Xn(Zt,fr){var Cr=0;mt.procs.poll();var fn=fr.color;fn&&(K.clearColor(+fn[0]||0,+fn[1]||0,+fn[2]||0,+fn[3]||0),Cr|=rt),"depth"in fr&&(K.clearDepth(+fr.depth),Cr|=Wt),"stencil"in fr&&(K.clearStencil(fr.stencil|0),Cr|=Yt),K.clear(Cr)}function Fn(Zt){if("framebuffer"in Zt)if(Zt.framebuffer&&Zt.framebuffer_reglType==="framebufferCube")for(var fr=0;fr<6;++fr)An(r({framebuffer:Zt.framebuffer.faces[fr]},Zt),Xn);else An(Zt,Xn);else Xn(null,Zt)}function Gi(Zt){Ft.push(Zt);function fr(){var Cr=an(Ft,Zt);function fn(){var Y=an(Ft,fn);Ft[Y]=Ft[Ft.length-1],Ft.length-=1,Ft.length<=0&&hr()}Ft[Cr]=fn}return ur(),{cancel:fr}}function un(){var Zt=ht.viewport,fr=ht.scissor_box;Zt[0]=Zt[1]=fr[0]=fr[1]=0,it.viewportWidth=it.framebufferWidth=it.drawingBufferWidth=Zt[2]=fr[2]=K.drawingBufferWidth,it.viewportHeight=it.framebufferHeight=it.drawingBufferHeight=Zt[3]=fr[3]=K.drawingBufferHeight}function ln(){it.tick+=1,it.time=ci(),un(),mt.procs.poll()}function Xt(){Pt.refresh(),un(),mt.procs.refresh(),et&&et.update()}function ci(){return(b()-ft)/1e3}Xt();function br(Zt,fr){var Cr;switch(Zt){case"frame":return Gi(fr);case"lost":Cr=er;break;case"restore":Cr=xt;break;case"destroy":Cr=Bt;break}return Cr.push(fr),{cancel:function(){for(var fn=0;fn<Cr.length;++fn)if(Cr[fn]===fr){Cr[fn]=Cr[Cr.length-1],Cr.pop();return}}}}function sn(){return Ye}function zn(Zt){Object.entries(Zt).forEach(function(fr){Ye[fr[0]]=fr[1]})}var Un=r(Er,{clear:Fn,prop:E.define.bind(null,Yr),context:E.define.bind(null,pn),this:E.define.bind(null,En),draw:Er({}),buffer:function(Zt){return qe.create(Zt,or,!1,!1)},elements:function(Zt){return Ke.create(Zt,!1)},texture:Pt.create2D,cube:Pt.createCube,renderbuffer:$e.create,framebuffer:Ie.create,framebufferCube:Ie.createCube,vao:Ne.createVAO,attributes:Ee,frame:Gi,on:br,limits:Te,hasExtension:function(Zt){return Te.extensions.indexOf(Zt.toLowerCase())>=0},read:Ae,destroy:Yn,_gl:K,_refresh:Xt,poll:function(){ln(),et&&et.update()},now:ci,stats:_e,getCachedCode:sn,preloadCachedCode:zn});return H.onDone(null,Un),Un}return Pn})})(ZR);var gK=yu,yK=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},v5(t)?t={container:t}:xK(t)?t={container:t}:bK(t)?t={gl:t}:t=gK(t,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),t.pixelRatio||(t.pixelRatio=Ar.pixelRatio||1),t.gl)return t.gl;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if(typeof t.container=="string"){var r=document.querySelector(t.container);if(!r)throw Error("Element "+t.container+" is not found");t.container=r}v5(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=m5(),t.container.appendChild(t.canvas),p5(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=m5(),t.container.appendChild(t.canvas),p5(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 p5(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*Ar.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*Ar.innerHeight);else{var t=e.container.getBoundingClientRect();e.canvas.width=e.width||t.right-t.left,e.canvas.height=e.height||t.bottom-t.top}}function v5(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function xK(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function bK(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function m5(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var wK=QR,_K=[32,126],SK=EK;function EK(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||_K;if(n&&typeof n!="string"&&(n=wK(n)),!Array.isArray(a))a=String(a).split("");else if(a.length===2&&typeof a[0]=="number"&&typeof a[1]=="number"){for(var o=[],l=a[0],s=0;l<=a[1];l++)o[s++]=String.fromCharCode(l);a=o}t=t.slice(),r.width=t[0],r.height=t[1];var c=r.getContext("2d");c.fillStyle="#000",c.fillRect(0,0,r.width,r.height),c.font=n,c.textAlign="center",c.textBaseline="middle",c.fillStyle="#fff";for(var d=i[0]/2,y=i[1]/2,l=0;l<a.length;l++)c.fillText(a[l],d,y),(d+=i[0])>t[0]-i[0]/2&&(d=i[0]/2,y+=i[1]);return r}var pr={},jr={},US=32;jr.INT_BITS=US;jr.INT_MAX=2147483647;jr.INT_MIN=-1<<US-1;jr.sign=function(e){return(e>0)-(e<0)};jr.abs=function(e){var t=e>>US-1;return(e^t)-t};jr.min=function(e,t){return t^(e^t)&-(e<t)};jr.max=function(e,t){return e^(e^t)&-(e<t)};jr.isPow2=function(e){return!(e&e-1)&&!!e};jr.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};jr.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};jr.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function KR(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}jr.countTrailingZeros=KR;jr.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};jr.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};jr.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var Nh=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}})(Nh);jr.reverse=function(e){return Nh[e&255]<<24|Nh[e>>>8&255]<<16|Nh[e>>>16&255]<<8|Nh[e>>>24&255]};jr.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};jr.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};jr.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};jr.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};jr.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>KR(e)+1};function JR(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]=JR(e,t,r+1);return i}function AK(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function TK(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return AK(e|0,t);break;case"object":if(typeof e.length=="number")return JR(e,t,0);break}return[]}var CK=TK,e4={},Gg={};Gg.byteLength=MK;Gg.toByteArray=PK;Gg.fromByteArray=NK;var fa=[],Ei=[],OK=typeof Uint8Array<"u"?Uint8Array:Array,Ob="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fs=0,kK=Ob.length;Fs<kK;++Fs)fa[Fs]=Ob[Fs],Ei[Ob.charCodeAt(Fs)]=Fs;Ei["-".charCodeAt(0)]=62;Ei["_".charCodeAt(0)]=63;function t4(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 MK(e){var t=t4(e),r=t[0],n=t[1];return(r+n)*3/4-n}function IK(e,t,r){return(t+r)*3/4-r}function PK(e){var t,r=t4(e),n=r[0],i=r[1],a=new OK(IK(e,n,i)),o=0,l=i>0?n-4:n,s;for(s=0;s<l;s+=4)t=Ei[e.charCodeAt(s)]<<18|Ei[e.charCodeAt(s+1)]<<12|Ei[e.charCodeAt(s+2)]<<6|Ei[e.charCodeAt(s+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=Ei[e.charCodeAt(s)]<<2|Ei[e.charCodeAt(s+1)]>>4,a[o++]=t&255),i===1&&(t=Ei[e.charCodeAt(s)]<<10|Ei[e.charCodeAt(s+1)]<<4|Ei[e.charCodeAt(s+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function FK(e){return fa[e>>18&63]+fa[e>>12&63]+fa[e>>6&63]+fa[e&63]}function RK(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(FK(n));return i.join("")}function NK(e){for(var t,r=e.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(RK(e,o,o+a>l?l:o+a));return n===1?(t=e[r-1],i.push(fa[t>>2]+fa[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(fa[t>>10]+fa[t>>4&63]+fa[t<<2&63]+"=")),i.join("")}var jS={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */jS.read=function(e,t,r,n,i){var a,o,l=i*8-n-1,s=(1<<l)-1,c=s>>1,d=-7,y=r?i-1:0,g=r?-1:1,m=e[t+y];for(y+=g,a=m&(1<<-d)-1,m>>=-d,d+=l;d>0;a=a*256+e[t+y],y+=g,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+e[t+y],y+=g,d-=8);if(a===0)a=1-c;else{if(a===s)return o?NaN:(m?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-c}return(m?-1:1)*o*Math.pow(2,a-n)};jS.write=function(e,t,r,n,i,a){var o,l,s,c=a*8-i-1,d=(1<<c)-1,y=d>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:a-1,E=n?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=d):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),o+y>=1?t+=g/s:t+=g*Math.pow(2,1-y),t*s>=2&&(o++,s/=2),o+y>=d?(l=0,o=d):o+y>=1?(l=(t*s-1)*Math.pow(2,i),o=o+y):(l=t*Math.pow(2,y-1)*Math.pow(2,i),o=0));i>=8;e[r+m]=l&255,m+=E,l/=256,i-=8);for(o=o<<i|l,c+=i;c>0;e[r+m]=o&255,m+=E,o/=256,c-=8);e[r+m-E]|=M*128};/*!
1092
- * The buffer module from node.js, for the browser.
1093
- *
1094
- * @author Feross Aboukhadijeh <https://feross.org>
1095
- * @license MIT
1096
- */(function(e){var t=Gg,r=jS;e.Buffer=o,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50;var n=2147483647;e.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=i(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var I=new Uint8Array(1);return I.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},I.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function a(I){if(I>n)throw new RangeError('The value "'+I+'" is invalid for option "size"');var A=new Uint8Array(I);return A.__proto__=o.prototype,A}function o(I,A,k){if(typeof I=="number"){if(typeof A=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(I)}return l(I,A,k)}typeof Symbol<"u"&&Symbol.species!=null&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192;function l(I,A,k){if(typeof I=="string")return y(I,A);if(ArrayBuffer.isView(I))return g(I);if(I==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(W(I,ArrayBuffer)||I&&W(I.buffer,ArrayBuffer))return m(I,A,k);if(typeof I=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var $=I.valueOf&&I.valueOf();if($!=null&&$!==I)return o.from($,A,k);var fe=E(I);if(fe)return fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]=="function")return o.from(I[Symbol.toPrimitive]("string"),A,k);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}o.from=function(I,A,k){return l(I,A,k)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array;function s(I){if(typeof I!="number")throw new TypeError('"size" argument must be of type number');if(I<0)throw new RangeError('The value "'+I+'" is invalid for option "size"')}function c(I,A,k){return s(I),I<=0?a(I):A!==void 0?typeof k=="string"?a(I).fill(A,k):a(I).fill(A):a(I)}o.alloc=function(I,A,k){return c(I,A,k)};function d(I){return s(I),a(I<0?0:M(I)|0)}o.allocUnsafe=function(I){return d(I)},o.allocUnsafeSlow=function(I){return d(I)};function y(I,A){if((typeof A!="string"||A==="")&&(A="utf8"),!o.isEncoding(A))throw new TypeError("Unknown encoding: "+A);var k=w(I,A)|0,$=a(k),fe=$.write(I,A);return fe!==k&&($=$.slice(0,fe)),$}function g(I){for(var A=I.length<0?0:M(I.length)|0,k=a(A),$=0;$<A;$+=1)k[$]=I[$]&255;return k}function m(I,A,k){if(A<0||I.byteLength<A)throw new RangeError('"offset" is outside of buffer bounds');if(I.byteLength<A+(k||0))throw new RangeError('"length" is outside of buffer bounds');var $;return A===void 0&&k===void 0?$=new Uint8Array(I):k===void 0?$=new Uint8Array(I,A):$=new Uint8Array(I,A,k),$.__proto__=o.prototype,$}function E(I){if(o.isBuffer(I)){var A=M(I.length)|0,k=a(A);return k.length===0||I.copy(k,0,0,A),k}if(I.length!==void 0)return typeof I.length!="number"||ae(I.length)?a(0):g(I);if(I.type==="Buffer"&&Array.isArray(I.data))return g(I.data)}function M(I){if(I>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return I|0}function b(I){return+I!=I&&(I=0),o.alloc(+I)}o.isBuffer=function(A){return A!=null&&A._isBuffer===!0&&A!==o.prototype},o.compare=function(A,k){if(W(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),W(k,Uint8Array)&&(k=o.from(k,k.offset,k.byteLength)),!o.isBuffer(A)||!o.isBuffer(k))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===k)return 0;for(var $=A.length,fe=k.length,Fe=0,ze=Math.min($,fe);Fe<ze;++Fe)if(A[Fe]!==k[Fe]){$=A[Fe],fe=k[Fe];break}return $<fe?-1:fe<$?1:0},o.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(A,k){if(!Array.isArray(A))throw new TypeError('"list" argument must be an Array of Buffers');if(A.length===0)return o.alloc(0);var $;if(k===void 0)for(k=0,$=0;$<A.length;++$)k+=A[$].length;var fe=o.allocUnsafe(k),Fe=0;for($=0;$<A.length;++$){var ze=A[$];if(W(ze,Uint8Array)&&(ze=o.from(ze)),!o.isBuffer(ze))throw new TypeError('"list" argument must be an Array of Buffers');ze.copy(fe,Fe),Fe+=ze.length}return fe};function w(I,A){if(o.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||W(I,ArrayBuffer))return I.byteLength;if(typeof I!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);var k=I.length,$=arguments.length>2&&arguments[2]===!0;if(!$&&k===0)return 0;for(var fe=!1;;)switch(A){case"ascii":case"latin1":case"binary":return k;case"utf8":case"utf-8":return qt(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k*2;case"hex":return k>>>1;case"base64":return jt(I).length;default:if(fe)return $?-1:qt(I).length;A=(""+A).toLowerCase(),fe=!0}}o.byteLength=w;function _(I,A,k){var $=!1;if((A===void 0||A<0)&&(A=0),A>this.length||((k===void 0||k>this.length)&&(k=this.length),k<=0)||(k>>>=0,A>>>=0,k<=A))return"";for(I||(I="utf8");;)switch(I){case"hex":return We(this,A,k);case"utf8":case"utf-8":return Re(this,A,k);case"ascii":return nt(this,A,k);case"latin1":case"binary":return De(this,A,k);case"base64":return ke(this,A,k);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,A,k);default:if($)throw new TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),$=!0}}o.prototype._isBuffer=!0;function C(I,A,k){var $=I[A];I[A]=I[k],I[k]=$}o.prototype.swap16=function(){var A=this.length;if(A%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var k=0;k<A;k+=2)C(this,k,k+1);return this},o.prototype.swap32=function(){var A=this.length;if(A%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var k=0;k<A;k+=4)C(this,k,k+3),C(this,k+1,k+2);return this},o.prototype.swap64=function(){var A=this.length;if(A%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var k=0;k<A;k+=8)C(this,k,k+7),C(this,k+1,k+6),C(this,k+2,k+5),C(this,k+3,k+4);return this},o.prototype.toString=function(){var A=this.length;return A===0?"":arguments.length===0?Re(this,0,A):_.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A?!0:o.compare(this,A)===0},o.prototype.inspect=function(){var A="",k=e.INSPECT_MAX_BYTES;return A=this.toString("hex",0,k).replace(/(.{2})/g,"$1 ").trim(),this.length>k&&(A+=" ... "),"<Buffer "+A+">"},o.prototype.compare=function(A,k,$,fe,Fe){if(W(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),!o.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(k===void 0&&(k=0),$===void 0&&($=A?A.length:0),fe===void 0&&(fe=0),Fe===void 0&&(Fe=this.length),k<0||$>A.length||fe<0||Fe>this.length)throw new RangeError("out of range index");if(fe>=Fe&&k>=$)return 0;if(fe>=Fe)return-1;if(k>=$)return 1;if(k>>>=0,$>>>=0,fe>>>=0,Fe>>>=0,this===A)return 0;for(var ze=Fe-fe,Qt=$-k,sr=Math.min(ze,Qt),nr=this.slice(fe,Fe),qr=A.slice(k,$),kr=0;kr<sr;++kr)if(nr[kr]!==qr[kr]){ze=nr[kr],Qt=qr[kr];break}return ze<Qt?-1:Qt<ze?1:0};function T(I,A,k,$,fe){if(I.length===0)return-1;if(typeof k=="string"?($=k,k=0):k>2147483647?k=2147483647:k<-2147483648&&(k=-2147483648),k=+k,ae(k)&&(k=fe?0:I.length-1),k<0&&(k=I.length+k),k>=I.length){if(fe)return-1;k=I.length-1}else if(k<0)if(fe)k=0;else return-1;if(typeof A=="string"&&(A=o.from(A,$)),o.isBuffer(A))return A.length===0?-1:R(I,A,k,$,fe);if(typeof A=="number")return A=A&255,typeof Uint8Array.prototype.indexOf=="function"?fe?Uint8Array.prototype.indexOf.call(I,A,k):Uint8Array.prototype.lastIndexOf.call(I,A,k):R(I,[A],k,$,fe);throw new TypeError("val must be string, number or Buffer")}function R(I,A,k,$,fe){var Fe=1,ze=I.length,Qt=A.length;if($!==void 0&&($=String($).toLowerCase(),$==="ucs2"||$==="ucs-2"||$==="utf16le"||$==="utf-16le")){if(I.length<2||A.length<2)return-1;Fe=2,ze/=2,Qt/=2,k/=2}function sr(bu,Ea){return Fe===1?bu[Ea]:bu.readUInt16BE(Ea*Fe)}var nr;if(fe){var qr=-1;for(nr=k;nr<ze;nr++)if(sr(I,nr)===sr(A,qr===-1?0:nr-qr)){if(qr===-1&&(qr=nr),nr-qr+1===Qt)return qr*Fe}else qr!==-1&&(nr-=nr-qr),qr=-1}else for(k+Qt>ze&&(k=ze-Qt),nr=k;nr>=0;nr--){for(var kr=!0,Ji=0;Ji<Qt;Ji++)if(sr(I,nr+Ji)!==sr(A,Ji)){kr=!1;break}if(kr)return nr}return-1}o.prototype.includes=function(A,k,$){return this.indexOf(A,k,$)!==-1},o.prototype.indexOf=function(A,k,$){return T(this,A,k,$,!0)},o.prototype.lastIndexOf=function(A,k,$){return T(this,A,k,$,!1)};function L(I,A,k,$){k=Number(k)||0;var fe=I.length-k;$?($=Number($),$>fe&&($=fe)):$=fe;var Fe=A.length;$>Fe/2&&($=Fe/2);for(var ze=0;ze<$;++ze){var Qt=parseInt(A.substr(ze*2,2),16);if(ae(Qt))return ze;I[k+ze]=Qt}return ze}function q(I,A,k,$){return Ce(qt(A,I.length-k),I,k,$)}function j(I,A,k,$){return Ce(Ze(A),I,k,$)}function te(I,A,k,$){return j(I,A,k,$)}function ge(I,A,k,$){return Ce(jt(A),I,k,$)}function me(I,A,k,$){return Ce(At(A,I.length-k),I,k,$)}o.prototype.write=function(A,k,$,fe){if(k===void 0)fe="utf8",$=this.length,k=0;else if($===void 0&&typeof k=="string")fe=k,$=this.length,k=0;else if(isFinite(k))k=k>>>0,isFinite($)?($=$>>>0,fe===void 0&&(fe="utf8")):(fe=$,$=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Fe=this.length-k;if(($===void 0||$>Fe)&&($=Fe),A.length>0&&($<0||k<0)||k>this.length)throw new RangeError("Attempt to write outside buffer bounds");fe||(fe="utf8");for(var ze=!1;;)switch(fe){case"hex":return L(this,A,k,$);case"utf8":case"utf-8":return q(this,A,k,$);case"ascii":return j(this,A,k,$);case"latin1":case"binary":return te(this,A,k,$);case"base64":return ge(this,A,k,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,A,k,$);default:if(ze)throw new TypeError("Unknown encoding: "+fe);fe=(""+fe).toLowerCase(),ze=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ke(I,A,k){return A===0&&k===I.length?t.fromByteArray(I):t.fromByteArray(I.slice(A,k))}function Re(I,A,k){k=Math.min(I.length,k);for(var $=[],fe=A;fe<k;){var Fe=I[fe],ze=null,Qt=Fe>239?4:Fe>223?3:Fe>191?2:1;if(fe+Qt<=k){var sr,nr,qr,kr;switch(Qt){case 1:Fe<128&&(ze=Fe);break;case 2:sr=I[fe+1],(sr&192)===128&&(kr=(Fe&31)<<6|sr&63,kr>127&&(ze=kr));break;case 3:sr=I[fe+1],nr=I[fe+2],(sr&192)===128&&(nr&192)===128&&(kr=(Fe&15)<<12|(sr&63)<<6|nr&63,kr>2047&&(kr<55296||kr>57343)&&(ze=kr));break;case 4:sr=I[fe+1],nr=I[fe+2],qr=I[fe+3],(sr&192)===128&&(nr&192)===128&&(qr&192)===128&&(kr=(Fe&15)<<18|(sr&63)<<12|(nr&63)<<6|qr&63,kr>65535&&kr<1114112&&(ze=kr))}}ze===null?(ze=65533,Qt=1):ze>65535&&(ze-=65536,$.push(ze>>>10&1023|55296),ze=56320|ze&1023),$.push(ze),fe+=Qt}return ut($)}var Le=4096;function ut(I){var A=I.length;if(A<=Le)return String.fromCharCode.apply(String,I);for(var k="",$=0;$<A;)k+=String.fromCharCode.apply(String,I.slice($,$+=Le));return k}function nt(I,A,k){var $="";k=Math.min(I.length,k);for(var fe=A;fe<k;++fe)$+=String.fromCharCode(I[fe]&127);return $}function De(I,A,k){var $="";k=Math.min(I.length,k);for(var fe=A;fe<k;++fe)$+=String.fromCharCode(I[fe]);return $}function We(I,A,k){var $=I.length;(!A||A<0)&&(A=0),(!k||k<0||k>$)&&(k=$);for(var fe="",Fe=A;Fe<k;++Fe)fe+=Ht(I[Fe]);return fe}function _t(I,A,k){for(var $=I.slice(A,k),fe="",Fe=0;Fe<$.length;Fe+=2)fe+=String.fromCharCode($[Fe]+$[Fe+1]*256);return fe}o.prototype.slice=function(A,k){var $=this.length;A=~~A,k=k===void 0?$:~~k,A<0?(A+=$,A<0&&(A=0)):A>$&&(A=$),k<0?(k+=$,k<0&&(k=0)):k>$&&(k=$),k<A&&(k=A);var fe=this.subarray(A,k);return fe.__proto__=o.prototype,fe};function He(I,A,k){if(I%1!==0||I<0)throw new RangeError("offset is not uint");if(I+A>k)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUIntLE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A],Fe=1,ze=0;++ze<k&&(Fe*=256);)fe+=this[A+ze]*Fe;return fe},o.prototype.readUIntBE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A+--k],Fe=1;k>0&&(Fe*=256);)fe+=this[A+--k]*Fe;return fe},o.prototype.readUInt8=function(A,k){return A=A>>>0,k||He(A,1,this.length),this[A]},o.prototype.readUInt16LE=function(A,k){return A=A>>>0,k||He(A,2,this.length),this[A]|this[A+1]<<8},o.prototype.readUInt16BE=function(A,k){return A=A>>>0,k||He(A,2,this.length),this[A]<<8|this[A+1]},o.prototype.readUInt32LE=function(A,k){return A=A>>>0,k||He(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+this[A+3]*16777216},o.prototype.readUInt32BE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]*16777216+(this[A+1]<<16|this[A+2]<<8|this[A+3])},o.prototype.readIntLE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=this[A],Fe=1,ze=0;++ze<k&&(Fe*=256);)fe+=this[A+ze]*Fe;return Fe*=128,fe>=Fe&&(fe-=Math.pow(2,8*k)),fe},o.prototype.readIntBE=function(A,k,$){A=A>>>0,k=k>>>0,$||He(A,k,this.length);for(var fe=k,Fe=1,ze=this[A+--fe];fe>0&&(Fe*=256);)ze+=this[A+--fe]*Fe;return Fe*=128,ze>=Fe&&(ze-=Math.pow(2,8*k)),ze},o.prototype.readInt8=function(A,k){return A=A>>>0,k||He(A,1,this.length),this[A]&128?(255-this[A]+1)*-1:this[A]},o.prototype.readInt16LE=function(A,k){A=A>>>0,k||He(A,2,this.length);var $=this[A]|this[A+1]<<8;return $&32768?$|4294901760:$},o.prototype.readInt16BE=function(A,k){A=A>>>0,k||He(A,2,this.length);var $=this[A+1]|this[A]<<8;return $&32768?$|4294901760:$},o.prototype.readInt32LE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},o.prototype.readInt32BE=function(A,k){return A=A>>>0,k||He(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},o.prototype.readFloatLE=function(A,k){return A=A>>>0,k||He(A,4,this.length),r.read(this,A,!0,23,4)},o.prototype.readFloatBE=function(A,k){return A=A>>>0,k||He(A,4,this.length),r.read(this,A,!1,23,4)},o.prototype.readDoubleLE=function(A,k){return A=A>>>0,k||He(A,8,this.length),r.read(this,A,!0,52,8)},o.prototype.readDoubleBE=function(A,k){return A=A>>>0,k||He(A,8,this.length),r.read(this,A,!1,52,8)};function we(I,A,k,$,fe,Fe){if(!o.isBuffer(I))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>fe||A<Fe)throw new RangeError('"value" argument is out of bounds');if(k+$>I.length)throw new RangeError("Index out of range")}o.prototype.writeUIntLE=function(A,k,$,fe){if(A=+A,k=k>>>0,$=$>>>0,!fe){var Fe=Math.pow(2,8*$)-1;we(this,A,k,$,Fe,0)}var ze=1,Qt=0;for(this[k]=A&255;++Qt<$&&(ze*=256);)this[k+Qt]=A/ze&255;return k+$},o.prototype.writeUIntBE=function(A,k,$,fe){if(A=+A,k=k>>>0,$=$>>>0,!fe){var Fe=Math.pow(2,8*$)-1;we(this,A,k,$,Fe,0)}var ze=$-1,Qt=1;for(this[k+ze]=A&255;--ze>=0&&(Qt*=256);)this[k+ze]=A/Qt&255;return k+$},o.prototype.writeUInt8=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,1,255,0),this[k]=A&255,k+1},o.prototype.writeUInt16LE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,2,65535,0),this[k]=A&255,this[k+1]=A>>>8,k+2},o.prototype.writeUInt16BE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,2,65535,0),this[k]=A>>>8,this[k+1]=A&255,k+2},o.prototype.writeUInt32LE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,4,4294967295,0),this[k+3]=A>>>24,this[k+2]=A>>>16,this[k+1]=A>>>8,this[k]=A&255,k+4},o.prototype.writeUInt32BE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,4,4294967295,0),this[k]=A>>>24,this[k+1]=A>>>16,this[k+2]=A>>>8,this[k+3]=A&255,k+4},o.prototype.writeIntLE=function(A,k,$,fe){if(A=+A,k=k>>>0,!fe){var Fe=Math.pow(2,8*$-1);we(this,A,k,$,Fe-1,-Fe)}var ze=0,Qt=1,sr=0;for(this[k]=A&255;++ze<$&&(Qt*=256);)A<0&&sr===0&&this[k+ze-1]!==0&&(sr=1),this[k+ze]=(A/Qt>>0)-sr&255;return k+$},o.prototype.writeIntBE=function(A,k,$,fe){if(A=+A,k=k>>>0,!fe){var Fe=Math.pow(2,8*$-1);we(this,A,k,$,Fe-1,-Fe)}var ze=$-1,Qt=1,sr=0;for(this[k+ze]=A&255;--ze>=0&&(Qt*=256);)A<0&&sr===0&&this[k+ze+1]!==0&&(sr=1),this[k+ze]=(A/Qt>>0)-sr&255;return k+$},o.prototype.writeInt8=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,1,127,-128),A<0&&(A=255+A+1),this[k]=A&255,k+1},o.prototype.writeInt16LE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,2,32767,-32768),this[k]=A&255,this[k+1]=A>>>8,k+2},o.prototype.writeInt16BE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,2,32767,-32768),this[k]=A>>>8,this[k+1]=A&255,k+2},o.prototype.writeInt32LE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,4,2147483647,-2147483648),this[k]=A&255,this[k+1]=A>>>8,this[k+2]=A>>>16,this[k+3]=A>>>24,k+4},o.prototype.writeInt32BE=function(A,k,$){return A=+A,k=k>>>0,$||we(this,A,k,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[k]=A>>>24,this[k+1]=A>>>16,this[k+2]=A>>>8,this[k+3]=A&255,k+4};function Ve(I,A,k,$,fe,Fe){if(k+$>I.length)throw new RangeError("Index out of range");if(k<0)throw new RangeError("Index out of range")}function st(I,A,k,$,fe){return A=+A,k=k>>>0,fe||Ve(I,A,k,4),r.write(I,A,k,$,23,4),k+4}o.prototype.writeFloatLE=function(A,k,$){return st(this,A,k,!0,$)},o.prototype.writeFloatBE=function(A,k,$){return st(this,A,k,!1,$)};function Qe(I,A,k,$,fe){return A=+A,k=k>>>0,fe||Ve(I,A,k,8),r.write(I,A,k,$,52,8),k+8}o.prototype.writeDoubleLE=function(A,k,$){return Qe(this,A,k,!0,$)},o.prototype.writeDoubleBE=function(A,k,$){return Qe(this,A,k,!1,$)},o.prototype.copy=function(A,k,$,fe){if(!o.isBuffer(A))throw new TypeError("argument should be a Buffer");if($||($=0),!fe&&fe!==0&&(fe=this.length),k>=A.length&&(k=A.length),k||(k=0),fe>0&&fe<$&&(fe=$),fe===$||A.length===0||this.length===0)return 0;if(k<0)throw new RangeError("targetStart out of bounds");if($<0||$>=this.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("sourceEnd out of bounds");fe>this.length&&(fe=this.length),A.length-k<fe-$&&(fe=A.length-k+$);var Fe=fe-$;if(this===A&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(k,$,fe);else if(this===A&&$<k&&k<fe)for(var ze=Fe-1;ze>=0;--ze)A[ze+k]=this[ze+$];else Uint8Array.prototype.set.call(A,this.subarray($,fe),k);return Fe},o.prototype.fill=function(A,k,$,fe){if(typeof A=="string"){if(typeof k=="string"?(fe=k,k=0,$=this.length):typeof $=="string"&&(fe=$,$=this.length),fe!==void 0&&typeof fe!="string")throw new TypeError("encoding must be a string");if(typeof fe=="string"&&!o.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);if(A.length===1){var Fe=A.charCodeAt(0);(fe==="utf8"&&Fe<128||fe==="latin1")&&(A=Fe)}}else typeof A=="number"&&(A=A&255);if(k<0||this.length<k||this.length<$)throw new RangeError("Out of range index");if($<=k)return this;k=k>>>0,$=$===void 0?this.length:$>>>0,A||(A=0);var ze;if(typeof A=="number")for(ze=k;ze<$;++ze)this[ze]=A;else{var Qt=o.isBuffer(A)?A:o.from(A,fe),sr=Qt.length;if(sr===0)throw new TypeError('The value "'+A+'" is invalid for argument "value"');for(ze=0;ze<$-k;++ze)this[ze+k]=Qt[ze%sr]}return this};var ct=/[^+/0-9A-Za-z-_]/g;function yt(I){if(I=I.split("=")[0],I=I.trim().replace(ct,""),I.length<2)return"";for(;I.length%4!==0;)I=I+"=";return I}function Ht(I){return I<16?"0"+I.toString(16):I.toString(16)}function qt(I,A){A=A||1/0;for(var k,$=I.length,fe=null,Fe=[],ze=0;ze<$;++ze){if(k=I.charCodeAt(ze),k>55295&&k<57344){if(!fe){if(k>56319){(A-=3)>-1&&Fe.push(239,191,189);continue}else if(ze+1===$){(A-=3)>-1&&Fe.push(239,191,189);continue}fe=k;continue}if(k<56320){(A-=3)>-1&&Fe.push(239,191,189),fe=k;continue}k=(fe-55296<<10|k-56320)+65536}else fe&&(A-=3)>-1&&Fe.push(239,191,189);if(fe=null,k<128){if((A-=1)<0)break;Fe.push(k)}else if(k<2048){if((A-=2)<0)break;Fe.push(k>>6|192,k&63|128)}else if(k<65536){if((A-=3)<0)break;Fe.push(k>>12|224,k>>6&63|128,k&63|128)}else if(k<1114112){if((A-=4)<0)break;Fe.push(k>>18|240,k>>12&63|128,k>>6&63|128,k&63|128)}else throw new Error("Invalid code point")}return Fe}function Ze(I){for(var A=[],k=0;k<I.length;++k)A.push(I.charCodeAt(k)&255);return A}function At(I,A){for(var k,$,fe,Fe=[],ze=0;ze<I.length&&!((A-=2)<0);++ze)k=I.charCodeAt(ze),$=k>>8,fe=k%256,Fe.push(fe),Fe.push($);return Fe}function jt(I){return t.toByteArray(yt(I))}function Ce(I,A,k,$){for(var fe=0;fe<$&&!(fe+k>=A.length||fe>=I.length);++fe)A[fe+k]=I[fe];return fe}function W(I,A){return I instanceof A||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===A.name}function ae(I){return I!==I}})(e4);var hu=jr,Cn=CK,r4=e4.Buffer;Ar.__TYPEDARRAY_POOL||(Ar.__TYPEDARRAY_POOL={UINT8:Cn([32,0]),UINT16:Cn([32,0]),UINT32:Cn([32,0]),BIGUINT64:Cn([32,0]),INT8:Cn([32,0]),INT16:Cn([32,0]),INT32:Cn([32,0]),BIGINT64:Cn([32,0]),FLOAT:Cn([32,0]),DOUBLE:Cn([32,0]),DATA:Cn([32,0]),UINT8C:Cn([32,0]),BUFFER:Cn([32,0])});var LK=typeof Uint8ClampedArray<"u",DK=typeof BigUint64Array<"u",$K=typeof BigInt64Array<"u",Xr=Ar.__TYPEDARRAY_POOL;Xr.UINT8C||(Xr.UINT8C=Cn([32,0]));Xr.BIGUINT64||(Xr.BIGUINT64=Cn([32,0]));Xr.BIGINT64||(Xr.BIGINT64=Cn([32,0]));Xr.BUFFER||(Xr.BUFFER=Cn([32,0]));var Wg=Xr.DATA,Hg=Xr.BUFFER;pr.free=function(t){if(r4.isBuffer(t))Hg[hu.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=hu.log2(r)|0;Wg[n].push(t)}};function n4(e){if(!!e){var t=e.length||e.byteLength,r=hu.log2(t);Wg[r].push(e)}}function BK(e){n4(e.buffer)}pr.freeUint8=pr.freeUint16=pr.freeUint32=pr.freeBigUint64=pr.freeInt8=pr.freeInt16=pr.freeInt32=pr.freeBigInt64=pr.freeFloat32=pr.freeFloat=pr.freeFloat64=pr.freeDouble=pr.freeUint8Clamped=pr.freeDataView=BK;pr.freeArrayBuffer=n4;pr.freeBuffer=function(t){Hg[hu.log2(t.length)].push(t)};pr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return ri(t);switch(r){case"uint8":return GS(t);case"uint16":return i4(t);case"uint32":return a4(t);case"int8":return o4(t);case"int16":return u4(t);case"int32":return l4(t);case"float":case"float32":return s4(t);case"double":case"float64":return f4(t);case"uint8_clamped":return c4(t);case"bigint64":return d4(t);case"biguint64":return h4(t);case"buffer":return v4(t);case"data":case"dataview":return p4(t);default:return null}return null};function ri(t){var t=hu.nextPow2(t),r=hu.log2(t),n=Wg[r];return n.length>0?n.pop():new ArrayBuffer(t)}pr.mallocArrayBuffer=ri;function GS(e){return new Uint8Array(ri(e),0,e)}pr.mallocUint8=GS;function i4(e){return new Uint16Array(ri(2*e),0,e)}pr.mallocUint16=i4;function a4(e){return new Uint32Array(ri(4*e),0,e)}pr.mallocUint32=a4;function o4(e){return new Int8Array(ri(e),0,e)}pr.mallocInt8=o4;function u4(e){return new Int16Array(ri(2*e),0,e)}pr.mallocInt16=u4;function l4(e){return new Int32Array(ri(4*e),0,e)}pr.mallocInt32=l4;function s4(e){return new Float32Array(ri(4*e),0,e)}pr.mallocFloat32=pr.mallocFloat=s4;function f4(e){return new Float64Array(ri(8*e),0,e)}pr.mallocFloat64=pr.mallocDouble=f4;function c4(e){return LK?new Uint8ClampedArray(ri(e),0,e):GS(e)}pr.mallocUint8Clamped=c4;function h4(e){return DK?new BigUint64Array(ri(8*e),0,e):null}pr.mallocBigUint64=h4;function d4(e){return $K?new BigInt64Array(ri(8*e),0,e):null}pr.mallocBigInt64=d4;function p4(e){return new DataView(ri(e),0,e)}pr.mallocDataView=p4;function v4(e){e=hu.nextPow2(e);var t=hu.log2(e),r=Hg[t];return r.length>0?r.pop():new r4(e)}pr.mallocBuffer=v4;pr.clearCache=function(){for(var t=0;t<32;++t)Xr.UINT8[t].length=0,Xr.UINT16[t].length=0,Xr.UINT32[t].length=0,Xr.INT8[t].length=0,Xr.INT16[t].length=0,Xr.INT32[t].length=0,Xr.FLOAT[t].length=0,Xr.DOUBLE[t].length=0,Xr.BIGUINT64[t].length=0,Xr.BIGINT64[t].length=0,Xr.UINT8C[t].length=0,Wg[t].length=0,Hg[t].length=0};var m4=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},zK=m4,UK=g4,Ah=96;function C_(e,t){var r=zK(getComputedStyle(e).getPropertyValue(t));return r[0]*g4(r[1],e)}function jK(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=C_(r,"font-size")/128;return t.removeChild(r),n}function g4(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 jK(e,t);case"em":return C_(t,"font-size");case"rem":return C_(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 Ah;case"cm":return Ah/2.54;case"mm":return Ah/25.4;case"pt":return Ah/72;case"pc":return Ah/6}return 1}var GK=Vg,WK=Vg.canvas=document.createElement("canvas"),v0=WK.getContext("2d"),y4=jm([32,126]);Vg.createPairs=jm;Vg.ascii=y4;function Vg(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=jm(t):Array.isArray(t)?n=t:(t.o?n=jm(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=y4),v0.font=i+"px "+e;for(var o=0;o<n.length;o++){var l=n[o],s=v0.measureText(l[0]).width+v0.measureText(l[1]).width,c=v0.measureText(l).width;if(Math.abs(s-c)>i*a){var d=(c-s)/i;r[l]=d*1e3}}return r}function jm(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 HK=zo;zo.canvas=document.createElement("canvas");zo.cache={};function zo(o,t){t||(t={}),(typeof o=="string"||Array.isArray(o))&&(t.family=o);var r=Array.isArray(t.family)?t.family.join(", "):t.family;if(!r)throw Error("`family` must be defined");var n=t.size||t.fontSize||t.em||48,i=t.weight||t.fontWeight||"",a=t.style||t.fontStyle||"",o=[a,i,n].join(" ")+"px "+r,l=t.origin||"top";if(zo.cache[r]&&n<=zo.cache[r].em)return g5(zo.cache[r],l);var s=t.canvas||zo.canvas,c=s.getContext("2d"),d={upper:t.upper!==void 0?t.upper:"H",lower:t.lower!==void 0?t.lower:"x",descent:t.descent!==void 0?t.descent:"p",ascent:t.ascent!==void 0?t.ascent:"h",tittle:t.tittle!==void 0?t.tittle:"i",overshoot:t.overshoot!==void 0?t.overshoot:"O"},y=Math.ceil(n*1.5);s.height=y,s.width=y*.5,c.font=o;var g="H",m={top:0};c.clearRect(0,0,y,y),c.textBaseline="top",c.fillStyle="black",c.fillText(g,0,0);var E=ua(c.getImageData(0,0,y,y));c.clearRect(0,0,y,y),c.textBaseline="bottom",c.fillText(g,0,y);var M=ua(c.getImageData(0,0,y,y));m.lineHeight=m.bottom=y-M+E,c.clearRect(0,0,y,y),c.textBaseline="alphabetic",c.fillText(g,0,y);var b=ua(c.getImageData(0,0,y,y)),w=y-b-1+E;m.baseline=m.alphabetic=w,c.clearRect(0,0,y,y),c.textBaseline="middle",c.fillText(g,0,y*.5);var _=ua(c.getImageData(0,0,y,y));m.median=m.middle=y-_-1+E-y*.5,c.clearRect(0,0,y,y),c.textBaseline="hanging",c.fillText(g,0,y*.5);var C=ua(c.getImageData(0,0,y,y));m.hanging=y-C-1+E-y*.5,c.clearRect(0,0,y,y),c.textBaseline="ideographic",c.fillText(g,0,y);var T=ua(c.getImageData(0,0,y,y));if(m.ideographic=y-T-1+E,d.upper&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.upper,0,0),m.upper=ua(c.getImageData(0,0,y,y)),m.capHeight=m.baseline-m.upper),d.lower&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.lower,0,0),m.lower=ua(c.getImageData(0,0,y,y)),m.xHeight=m.baseline-m.lower),d.tittle&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.tittle,0,0),m.tittle=ua(c.getImageData(0,0,y,y))),d.ascent&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.ascent,0,0),m.ascent=ua(c.getImageData(0,0,y,y))),d.descent&&(c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.descent,0,0),m.descent=y5(c.getImageData(0,0,y,y))),d.overshoot){c.clearRect(0,0,y,y),c.textBaseline="top",c.fillText(d.overshoot,0,0);var R=y5(c.getImageData(0,0,y,y));m.overshoot=R-w}for(var L in m)m[L]/=n;return m.em=n,zo.cache[r]=m,g5(m,l)}function g5(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 ua(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 y5(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 Rs=mK,VK=yu,qK=ZR.exports,YK=yK,XK=zR,kb=Bg,QK=SK,Ro=pr,ZK=$g,KK=CR,JK=m4,eJ=UK,tJ=GK,rJ=Cl,nJ=HK,iJ=lp,aJ=jr,x5=aJ.nextPow2,b5=new XK,j0=!1;if(document.body){var Mb=document.body.appendChild(document.createElement("div"));Mb.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(Mb).fontStretch&&(j0=!0),document.body.removeChild(Mb)}var xr=function(t){oJ(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=YK(t),this.shader=b5.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||qK({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(),b5.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(KK(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:`
1097
- precision highp float;
1098
- attribute float width, charOffset, char;
1099
- attribute vec2 position;
1100
- uniform float fontSize, charStep, em, align, baseline;
1101
- uniform vec4 viewport;
1102
- uniform vec4 color;
1103
- uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
1104
- varying vec2 charCoord, charId;
1105
- varying float charWidth;
1106
- varying vec4 fontColor;
1107
- void main () {
1108
- vec2 offset = floor(em * (vec2(align + charOffset, baseline)
1109
- + vec2(positionOffset.x, -positionOffset.y)))
1110
- / (viewport.zw * scale.xy);
1111
-
1112
- vec2 position = (position + translate) * scale;
1113
- position += offset * scale;
1114
-
1115
- charCoord = position * viewport.zw + viewport.xy;
1116
-
1117
- gl_Position = vec4(position * 2. - 1., 0, 1);
1118
-
1119
- gl_PointSize = charStep;
1120
-
1121
- charId.x = mod(char, atlasDim.x);
1122
- charId.y = floor(char / atlasDim.x);
1123
-
1124
- charWidth = width * em;
1125
-
1126
- fontColor = color / 255.;
1127
- }`,frag:`
1128
- precision highp float;
1129
- uniform float fontSize, charStep, opacity;
1130
- uniform vec2 atlasSize;
1131
- uniform vec4 viewport;
1132
- uniform sampler2D atlas;
1133
- varying vec4 fontColor;
1134
- varying vec2 charCoord, charId;
1135
- varying float charWidth;
1136
-
1137
- float lightness(vec4 color) {
1138
- return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
1139
- }
1140
-
1141
- void main () {
1142
- vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
1143
- float halfCharStep = floor(charStep * .5 + .5);
1144
-
1145
- // invert y and shift by 1px (FF expecially needs that)
1146
- uv.y = charStep - uv.y;
1147
-
1148
- // ignore points outside of character bounding box
1149
- float halfCharWidth = ceil(charWidth * .5);
1150
- if (floor(uv.x) > halfCharStep + halfCharWidth ||
1151
- floor(uv.x) < halfCharStep - halfCharWidth) return;
1152
-
1153
- uv += charId * charStep;
1154
- uv = uv / atlasSize;
1155
-
1156
- vec4 color = fontColor;
1157
- vec4 mask = texture2D(atlas, uv);
1158
-
1159
- float maskY = lightness(mask);
1160
- // float colorY = lightness(color);
1161
- color.a *= maskY;
1162
- color.a *= opacity;
1163
-
1164
- // color.a += .1;
1165
-
1166
- // antialiasing, see yiq color space y-channel formula
1167
- // color.rgb += (1. - color.rgb) * (1. - mask.rgb);
1168
-
1169
- gl_FragColor = color;
1170
- }`}),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=VK(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),t.opacity!=null&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map(function(Qe){return parseFloat(Qe)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=ZK(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=iJ(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!t.font&&(t.font=xr.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(Qe,ct){if(typeof Qe=="string")try{Qe=Rs.parse(Qe)}catch{Qe=Rs.parse(xr.baseFontSize+"px "+Qe)}else Qe=Rs.parse(Rs.stringify(Qe));var yt=Rs.stringify({size:xr.baseFontSize,family:Qe.family,stretch:j0?Qe.stretch:void 0,variant:Qe.variant,weight:Qe.weight,style:Qe.style}),Ht=JK(Qe.size),qt=Math.round(Ht[0]*eJ(Ht[1]));if(qt!==r.fontSize[ct]&&(i=!0,r.fontSize[ct]=qt),(!r.font[ct]||yt!=r.font[ct].baseString)&&(n=!0,r.font[ct]=xr.fonts[yt],!r.font[ct])){var Ze=Qe.family.join(", "),At=[Qe.style];Qe.style!=Qe.variant&&At.push(Qe.variant),Qe.variant!=Qe.weight&&At.push(Qe.weight),j0&&Qe.weight!=Qe.stretch&&At.push(Qe.stretch),r.font[ct]={baseString:yt,family:Ze,weight:Qe.weight,stretch:Qe.stretch,style:Qe.style,variant:Qe.variant,width:{},kerning:{},metrics:nJ(Ze,{origin:"top",fontSize:xr.baseFontSize,fontStyle:At.join(" ")})},xr.fonts[yt]=r.font[ct]}}),(n||i)&&this.font.forEach(function(Qe,ct){var yt=Rs.stringify({size:r.fontSize[ct],family:Qe.family,stretch:j0?Qe.stretch:void 0,variant:Qe.variant,weight:Qe.weight,style:Qe.style});if(r.fontAtlas[ct]=r.shader.atlas[yt],!r.fontAtlas[ct]){var Ht=Qe.metrics;r.shader.atlas[yt]=r.fontAtlas[ct]={fontString:yt,step:Math.ceil(r.fontSize[ct]*Ht.bottom*.5)*2,em:r.fontSize[ct],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var l;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var s=1;s<t.text.length;s++)this.textOffsets[s]=this.textOffsets[s-1]+t.text[s-1].length,this.count+=t.text[s].length,this.counts.push(t.text[s].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];l=[],this.font.forEach(function(Qe,ct){xr.atlasContext.font=Qe.baseString;for(var yt=r.fontAtlas[ct],Ht=0;Ht<r.text.length;Ht++){var qt=r.text.charAt(Ht);if(yt.ids[qt]==null&&(yt.ids[qt]=yt.chars.length,yt.chars.push(qt),l.push(qt)),Qe.width[qt]==null&&(Qe.width[qt]=xr.atlasContext.measureText(qt).width/xr.baseFontSize,r.kerning)){var Ze=[];for(var At in Qe.width)Ze.push(At+qt,qt+At);rJ(Qe.kerning,tJ(Qe.family,{pairs:Ze}))}}})}if(t.position)if(t.position.length>2){for(var c=!t.position[0].length,d=Ro.mallocFloat(this.count*2),y=0,g=0;y<this.counts.length;y++){var m=this.counts[y];if(c)for(var E=0;E<m;E++)d[g++]=t.position[y*2],d[g++]=t.position[y*2+1];else for(var M=0;M<m;M++)d[g++]=t.position[y][0],d[g++]=t.position[y][1]}this.position.call?this.position({type:"float",data:d}):this.position=this.regl.buffer({type:"float",data:d}),Ro.freeFloat(d)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var b=Ro.mallocUint8(this.count),w=Ro.mallocFloat(this.count*2);this.textWidth=[];for(var _=0,C=0;_<this.counts.length;_++){for(var T=this.counts[_],R=this.font[_]||this.font[0],L=this.fontAtlas[_]||this.fontAtlas[0],q=0;q<T;q++){var j=this.text.charAt(C),te=this.text.charAt(C-1);if(b[C]=L.ids[j],w[C*2]=R.width[j],q){var ge=w[C*2-2],me=w[C*2],ke=w[C*2-1],Re=ke+ge*.5+me*.5;if(this.kerning){var Le=R.kerning[te+j];Le&&(Re+=Le*.001)}w[C*2+1]=Re}else w[C*2+1]=w[C*2]*.5;C++}this.textWidth.push(w.length?w[C*2-2]*.5+w[C*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:b,type:"uint8",usage:"stream"}),this.sizeBuffer({data:w,type:"float",usage:"stream"}),Ro.freeUint8(b),Ro.freeFloat(w),l.length&&this.font.forEach(function(Qe,ct){var yt=r.fontAtlas[ct],Ht=yt.step,qt=Math.floor(xr.maxAtlasSize/Ht),Ze=Math.min(qt,yt.chars.length),At=Math.ceil(yt.chars.length/Ze),jt=x5(Ze*Ht),Ce=x5(At*Ht);yt.width=jt,yt.height=Ce,yt.rows=At,yt.cols=Ze,yt.em&&yt.texture({data:QK({canvas:xr.atlasCanvas,font:yt.fontString,chars:yt.chars,shape:[jt,Ce],step:[Ht,Ht]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(Qe,ct){var yt=Array.isArray(r.align)?r.align.length>1?r.align[ct]:r.align[0]:r.align;if(typeof yt=="number")return yt;switch(yt){case"right":case"end":return-Qe;case"center":case"centre":case"middle":return-Qe*.5}return 0})),this.baseline==null&&t.baseline==null&&(t.baseline=0),t.baseline!=null&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(Qe,ct){var yt=(r.font[ct]||r.font[0]).metrics,Ht=0;return Ht+=yt.bottom*.5,typeof Qe=="number"?Ht+=Qe-yt.baseline:Ht+=-yt[Qe],Ht*=-1,Ht})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=kb(t.color,"uint8");else{var ut;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var nt=t.color.length;ut=Ro.mallocUint8(nt);for(var De=(t.color.subarray||t.color.slice).bind(t.color),We=0;We<nt;We+=4)ut.set(kb(De(We,We+4),"uint8"),We)}else{var _t=t.color.length;ut=Ro.mallocUint8(_t*4);for(var He=0;He<_t;He++)ut.set(kb(t.color[He]||0,"uint8"),He*4)}this.color=ut}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var we=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(we){var Ve=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Ve);for(var st=0;st<this.batch.length;st++)this.batch[st]={count:this.counts.length>1?this.counts[st]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[st]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(st*4,st*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[st]:this.opacity,baseline:this.baselineOffset[st]!=null?this.baselineOffset[st]:this.baselineOffset[0],align:this.align?this.alignOffset[st]!=null?this.alignOffset[st]:this.alignOffset[0]:0,atlas:this.fontAtlas[st]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(st*2,st*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}};xr.prototype.destroy=function(){};xr.prototype.kerning=!0;xr.prototype.position={constant:new Float32Array(2)};xr.prototype.translate=null;xr.prototype.scale=null;xr.prototype.font=null;xr.prototype.text="";xr.prototype.positionOffset=[0,0];xr.prototype.opacity=1;xr.prototype.color=new Uint8Array([0,0,0,255]);xr.prototype.alignOffset=[0,0];xr.maxAtlasSize=1024;xr.atlasCanvas=document.createElement("canvas");xr.atlasContext=xr.atlasCanvas.getContext("2d",{alpha:!1});xr.baseFontSize=64;xr.fonts={};function oJ(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var dre=xr;function uJ(e,t){return e.parent===t.parent?1:2}function lJ(e){return e.reduce(sJ,0)/e.length}function sJ(e,t){return e+t.x}function fJ(e){return 1+e.reduce(cJ,0)}function cJ(e,t){return Math.max(e,t.y)}function hJ(e){for(var t;t=e.children;)e=t[0];return e}function dJ(e){for(var t;t=e.children;)e=t[t.length-1];return e}function pJ(){var e=uJ,t=1,r=1,n=!1;function i(a){var o,l=0;a.eachAfter(function(g){var m=g.children;m?(g.x=lJ(m),g.y=fJ(m)):(g.x=o?l+=e(g,o):0,g.y=0,o=g)});var s=hJ(a),c=dJ(a),d=s.x-e(s,c)/2,y=c.x+e(c,s)/2;return a.eachAfter(n?function(g){g.x=(g.x-a.x)*t,g.y=(a.y-g.y)*r}:function(g){g.x=(g.x-d)/(y-d)*t,g.y=(1-(a.y?g.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function vJ(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 mJ(){return this.eachAfter(vJ)}function gJ(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 yJ(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 xJ(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 bJ(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 wJ(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function _J(e){for(var t=this,r=SJ(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 SJ(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 EJ(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function AJ(){var e=[];return this.each(function(t){e.push(t)}),e}function TJ(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function CJ(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function WS(e,t){var r=new kf(e),n=+e.value&&(r.value=e.value),i,a=[r],o,l,s,c;for(t==null&&(t=kJ);i=a.pop();)if(n&&(i.value=+i.data.value),(l=t(i.data))&&(c=l.length))for(i.children=new Array(c),s=c-1;s>=0;--s)a.push(o=i.children[s]=new kf(l[s])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(x4)}function OJ(){return WS(this).eachBefore(MJ)}function kJ(e){return e.children}function MJ(e){e.data=e.data.data}function x4(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function kf(e){this.data=e,this.depth=this.height=0,this.parent=null}kf.prototype=WS.prototype={constructor:kf,count:mJ,each:gJ,eachAfter:xJ,eachBefore:yJ,sum:bJ,sort:wJ,path:_J,ancestors:EJ,descendants:AJ,leaves:TJ,links:CJ,copy:OJ};var IJ=Array.prototype.slice;function PJ(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 b4(e){for(var t=0,r=(e=PJ(IJ.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&w4(a,i)?++t:(a=RJ(n=FJ(n,i)),t=0);return a}function FJ(e,t){var r,n;if(Ib(t,e))return[t];for(r=0;r<e.length;++r)if(m0(t,e[r])&&Ib(Lh(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(m0(Lh(e[r],e[n]),t)&&m0(Lh(e[r],t),e[n])&&m0(Lh(e[n],t),e[r])&&Ib(_4(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function m0(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 w4(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 Ib(e,t){for(var r=0;r<t.length;++r)if(!w4(e,t[r]))return!1;return!0}function RJ(e){switch(e.length){case 1:return NJ(e[0]);case 2:return Lh(e[0],e[1]);case 3:return _4(e[0],e[1],e[2])}}function NJ(e){return{x:e.x,y:e.y,r:e.r}}function Lh(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,l=t.r,s=a-r,c=o-n,d=l-i,y=Math.sqrt(s*s+c*c);return{x:(r+a+s/y*d)/2,y:(n+o+c/y*d)/2,r:(y+i+l)/2}}function _4(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,l=t.y,s=t.r,c=r.x,d=r.y,y=r.r,g=n-o,m=n-c,E=i-l,M=i-d,b=s-a,w=y-a,_=n*n+i*i-a*a,C=_-o*o-l*l+s*s,T=_-c*c-d*d+y*y,R=m*E-g*M,L=(E*T-M*C)/(R*2)-n,q=(M*b-E*w)/R,j=(m*C-g*T)/(R*2)-i,te=(g*w-m*b)/R,ge=q*q+te*te-1,me=2*(a+L*q+j*te),ke=L*L+j*j-a*a,Re=-(ge?(me+Math.sqrt(me*me-4*ge*ke))/(2*ge):ke/me);return{x:n+L+q*Re,y:i+j+te*Re,r:Re}}function w5(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,l,s,c=n*n+o*o;c?(a=t.r+r.r,a*=a,s=e.r+r.r,s*=s,a>s?(i=(c+s-a)/(2*c),l=Math.sqrt(Math.max(0,s/c-i*i)),r.x=e.x-i*n-l*o,r.y=e.y-i*o+l*n):(i=(c+a-s)/(2*c),l=Math.sqrt(Math.max(0,a/c-i*i)),r.x=t.x+i*n-l*o,r.y=t.y+i*o+l*n)):(r.x=t.x+r.r,r.y=t.y)}function _5(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 S5(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 g0(e){this._=e,this.next=null,this.previous=null}function S4(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,l,s,c,d,y;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;w5(r,t,n=e[2]),t=new g0(t),r=new g0(r),n=new g0(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(l=3;l<i;++l){w5(t._,r._,n=e[l]),n=new g0(n),s=r.next,c=t.previous,d=r._.r,y=t._.r;do if(d<=y){if(_5(s._,n._)){r=s,t.next=r,r.previous=t,--l;continue e}d+=s._.r,s=s.next}else{if(_5(c._,n._)){t=c,t.next=r,r.previous=t,--l;continue e}y+=c._.r,c=c.previous}while(s!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=S5(t);(n=n.next)!==r;)(o=S5(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=b4(t),l=0;l<i;++l)t=e[l],t.x-=n.x,t.y-=n.y;return n.r}function LJ(e){return S4(e),e}function DJ(e){return e==null?null:Gm(e)}function Gm(e){if(typeof e!="function")throw new Error;return e}function tl(){return 0}function Bs(e){return function(){return e}}function $J(e){return Math.sqrt(e.value)}function BJ(){var e=null,t=1,r=1,n=tl;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(E5(e)).eachAfter(Pb(n,.5)).eachBefore(A5(1)):a.eachBefore(E5($J)).eachAfter(Pb(tl,1)).eachAfter(Pb(n,a.r/Math.min(t,r))).eachBefore(A5(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=DJ(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:Bs(+a),i):n},i}function E5(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function Pb(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,l;if(o)for(i=0;i<a;++i)n[i].r+=o;if(l=S4(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=l+o}}}function A5(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 E4(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 fp(e,t,r,n,i){for(var a=e.children,o,l=-1,s=a.length,c=e.value&&(n-t)/e.value;++l<s;)o=a[l],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function zJ(){var e=1,t=1,r=0,n=!1;function i(o){var l=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/l,o.eachBefore(a(t,l)),n&&o.eachBefore(E4),o}function a(o,l){return function(s){s.children&&fp(s,s.x0,o*(s.depth+1)/l,s.x1,o*(s.depth+2)/l);var c=s.x0,d=s.y0,y=s.x1-r,g=s.y1-r;y<c&&(c=y=(c+y)/2),g<d&&(d=g=(d+g)/2),s.x0=c,s.y0=d,s.x1=y,s.y1=g}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var T5="$",UJ={depth:-1},C5={};function jJ(e){return e.id}function GJ(e){return e.parentId}function WJ(){var e=jJ,t=GJ;function r(n){var i,a,o=n.length,l,s,c,d=new Array(o),y,g,m={};for(a=0;a<o;++a)i=n[a],c=d[a]=new kf(i),(y=e(i,a,n))!=null&&(y+="")&&(g=T5+(c.id=y),m[g]=g in m?C5:c);for(a=0;a<o;++a)if(c=d[a],y=t(n[a],a,n),y==null||!(y+="")){if(l)throw new Error("multiple roots");l=c}else{if(s=m[T5+y],!s)throw new Error("missing: "+y);if(s===C5)throw new Error("ambiguous: "+y);s.children?s.children.push(c):s.children=[c],c.parent=s}if(!l)throw new Error("no root");if(l.parent=UJ,l.eachBefore(function(E){E.depth=E.parent.depth+1,--o}).eachBefore(x4),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(n){return arguments.length?(e=Gm(n),r):e},r.parentId=function(n){return arguments.length?(t=Gm(n),r):t},r}function HJ(e,t){return e.parent===t.parent?1:2}function Fb(e){var t=e.children;return t?t[0]:e.t}function Rb(e){var t=e.children;return t?t[t.length-1]:e.t}function VJ(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 qJ(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 YJ(e,t,r){return e.a.parent===t.parent?e.a:r}function G0(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}G0.prototype=Object.create(kf.prototype);function XJ(e){for(var t=new G0(e,0),r,n=[t],i,a,o,l;r=n.pop();)if(a=r._.children)for(r.children=new Array(l=a.length),o=l-1;o>=0;--o)n.push(i=r.children[o]=new G0(a[o],o)),i.parent=r;return(t.parent=new G0(null,0)).children=[t],t}function QJ(){var e=HJ,t=1,r=1,n=null;function i(c){var d=XJ(c);if(d.eachAfter(a),d.parent.m=-d.z,d.eachBefore(o),n)c.eachBefore(s);else{var y=c,g=c,m=c;c.eachBefore(function(_){_.x<y.x&&(y=_),_.x>g.x&&(g=_),_.depth>m.depth&&(m=_)});var E=y===g?1:e(y,g)/2,M=E-y.x,b=t/(g.x+E+M),w=r/(m.depth||1);c.eachBefore(function(_){_.x=(_.x+M)*b,_.y=_.depth*w})}return c}function a(c){var d=c.children,y=c.parent.children,g=c.i?y[c.i-1]:null;if(d){qJ(c);var m=(d[0].z+d[d.length-1].z)/2;g?(c.z=g.z+e(c._,g._),c.m=c.z-m):c.z=m}else g&&(c.z=g.z+e(c._,g._));c.parent.A=l(c,g,c.parent.A||y[0])}function o(c){c._.x=c.z+c.parent.m,c.m+=c.parent.m}function l(c,d,y){if(d){for(var g=c,m=c,E=d,M=g.parent.children[0],b=g.m,w=m.m,_=E.m,C=M.m,T;E=Rb(E),g=Fb(g),E&&g;)M=Fb(M),m=Rb(m),m.a=c,T=E.z+_-g.z-b+e(E._,g._),T>0&&(VJ(YJ(E,c,y),c,T),b+=T,w+=T),_+=E.m,b+=g.m,C+=M.m,w+=m.m;E&&!Rb(m)&&(m.t=E,m.m+=_-w),g&&!Fb(M)&&(M.t=g,M.m+=b-C,y=c)}return y}function s(c){c.x*=t,c.y=c.depth*r}return i.separation=function(c){return arguments.length?(e=c,i):e},i.size=function(c){return arguments.length?(n=!1,t=+c[0],r=+c[1],i):n?null:[t,r]},i.nodeSize=function(c){return arguments.length?(n=!0,t=+c[0],r=+c[1],i):n?[t,r]:null},i}function qg(e,t,r,n,i){for(var a=e.children,o,l=-1,s=a.length,c=e.value&&(i-r)/e.value;++l<s;)o=a[l],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*c}var A4=(1+Math.sqrt(5))/2;function T4(e,t,r,n,i,a){for(var o=[],l=t.children,s,c,d=0,y=0,g=l.length,m,E,M=t.value,b,w,_,C,T,R,L;d<g;){m=i-r,E=a-n;do b=l[y++].value;while(!b&&y<g);for(w=_=b,R=Math.max(E/m,m/E)/(M*e),L=b*b*R,T=Math.max(_/L,L/w);y<g;++y){if(b+=c=l[y].value,c<w&&(w=c),c>_&&(_=c),L=b*b*R,C=Math.max(_/L,L/w),C>T){b-=c;break}T=C}o.push(s={value:b,dice:m<E,children:l.slice(d,y)}),s.dice?fp(s,r,n,i,M?n+=E*b/M:a):qg(s,r,n,M?r+=m*b/M:i,a),M-=b,d=y}return o}const C4=function e(t){function r(n,i,a,o,l){T4(t,n,i,a,o,l)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(A4);function ZJ(){var e=C4,t=!1,r=1,n=1,i=[0],a=tl,o=tl,l=tl,s=tl,c=tl;function d(g){return g.x0=g.y0=0,g.x1=r,g.y1=n,g.eachBefore(y),i=[0],t&&g.eachBefore(E4),g}function y(g){var m=i[g.depth],E=g.x0+m,M=g.y0+m,b=g.x1-m,w=g.y1-m;b<E&&(E=b=(E+b)/2),w<M&&(M=w=(M+w)/2),g.x0=E,g.y0=M,g.x1=b,g.y1=w,g.children&&(m=i[g.depth+1]=a(g)/2,E+=c(g)-m,M+=o(g)-m,b-=l(g)-m,w-=s(g)-m,b<E&&(E=b=(E+b)/2),w<M&&(M=w=(M+w)/2),e(g,E,M,b,w))}return d.round=function(g){return arguments.length?(t=!!g,d):t},d.size=function(g){return arguments.length?(r=+g[0],n=+g[1],d):[r,n]},d.tile=function(g){return arguments.length?(e=Gm(g),d):e},d.padding=function(g){return arguments.length?d.paddingInner(g).paddingOuter(g):d.paddingInner()},d.paddingInner=function(g){return arguments.length?(a=typeof g=="function"?g:Bs(+g),d):a},d.paddingOuter=function(g){return arguments.length?d.paddingTop(g).paddingRight(g).paddingBottom(g).paddingLeft(g):d.paddingTop()},d.paddingTop=function(g){return arguments.length?(o=typeof g=="function"?g:Bs(+g),d):o},d.paddingRight=function(g){return arguments.length?(l=typeof g=="function"?g:Bs(+g),d):l},d.paddingBottom=function(g){return arguments.length?(s=typeof g=="function"?g:Bs(+g),d):s},d.paddingLeft=function(g){return arguments.length?(c=typeof g=="function"?g:Bs(+g),d):c},d}function KJ(e,t,r,n,i){var a=e.children,o,l=a.length,s,c=new Array(l+1);for(c[0]=s=o=0;o<l;++o)c[o+1]=s+=a[o].value;d(0,l,e.value,t,r,n,i);function d(y,g,m,E,M,b,w){if(y>=g-1){var _=a[y];_.x0=E,_.y0=M,_.x1=b,_.y1=w;return}for(var C=c[y],T=m/2+C,R=y+1,L=g-1;R<L;){var q=R+L>>>1;c[q]<T?R=q+1:L=q}T-c[R-1]<c[R]-T&&y+1<R&&--R;var j=c[R]-C,te=m-j;if(b-E>w-M){var ge=(E*te+b*j)/m;d(y,R,j,E,M,ge,w),d(R,g,te,ge,M,b,w)}else{var me=(M*te+w*j)/m;d(y,R,j,E,M,b,me),d(R,g,te,E,me,b,w)}}}function JJ(e,t,r,n,i){(e.depth&1?qg:fp)(e,t,r,n,i)}const eee=function e(t){function r(n,i,a,o,l){if((s=n._squarify)&&s.ratio===t)for(var s,c,d,y,g=-1,m,E=s.length,M=n.value;++g<E;){for(c=s[g],d=c.children,y=c.value=0,m=d.length;y<m;++y)c.value+=d[y].value;c.dice?fp(c,i,a,o,a+=(l-a)*c.value/M):qg(c,i,a,i+=(o-i)*c.value/M,l),M-=c.value}else n._squarify=s=T4(t,n,i,a,o,l),s.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(A4),tee=Object.freeze(Object.defineProperty({__proto__:null,cluster:pJ,hierarchy:WS,pack:BJ,packSiblings:LJ,packEnclose:b4,partition:zJ,stratify:WJ,tree:QJ,treemap:ZJ,treemapBinary:KJ,treemapDice:fp,treemapSlice:qg,treemapSliceDice:JJ,treemapSquarify:C4,treemapResquarify:eee},Symbol.toStringTag,{value:"Module"})),pre=Tl(tee);function jf(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function cp(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function xu(){}var El=.7,Mf=1/El,hf="\\s*([+-]?\\d+)\\s*",Id="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ya="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ree=/^#([0-9a-f]{3,8})$/,nee=new RegExp(`^rgb\\(${hf},${hf},${hf}\\)$`),iee=new RegExp(`^rgb\\(${ya},${ya},${ya}\\)$`),aee=new RegExp(`^rgba\\(${hf},${hf},${hf},${Id}\\)$`),oee=new RegExp(`^rgba\\(${ya},${ya},${ya},${Id}\\)$`),uee=new RegExp(`^hsl\\(${Id},${ya},${ya}\\)$`),lee=new RegExp(`^hsla\\(${Id},${ya},${ya},${Id}\\)$`),O5={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};jf(xu,Pd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:k5,formatHex:k5,formatHex8:see,formatHsl:fee,formatRgb:M5,toString:M5});function k5(){return this.rgb().formatHex()}function see(){return this.rgb().formatHex8()}function fee(){return O4(this).formatHsl()}function M5(){return this.rgb().formatRgb()}function Pd(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ree.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?I5(t):r===3?new yn(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?y0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?y0(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=nee.exec(e))?new yn(t[1],t[2],t[3],1):(t=iee.exec(e))?new yn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=aee.exec(e))?y0(t[1],t[2],t[3],t[4]):(t=oee.exec(e))?y0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=uee.exec(e))?R5(t[1],t[2]/100,t[3]/100,1):(t=lee.exec(e))?R5(t[1],t[2]/100,t[3]/100,t[4]):O5.hasOwnProperty(e)?I5(O5[e]):e==="transparent"?new yn(NaN,NaN,NaN,0):null}function I5(e){return new yn(e>>16&255,e>>8&255,e&255,1)}function y0(e,t,r,n){return n<=0&&(e=t=r=NaN),new yn(e,t,r,n)}function HS(e){return e instanceof xu||(e=Pd(e)),e?(e=e.rgb(),new yn(e.r,e.g,e.b,e.opacity)):new yn}function Wm(e,t,r,n){return arguments.length===1?HS(e):new yn(e,t,r,n==null?1:n)}function yn(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}jf(yn,Wm,cp(xu,{brighter(e){return e=e==null?Mf:Math.pow(Mf,e),new yn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?El:Math.pow(El,e),new yn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new yn(dl(this.r),dl(this.g),dl(this.b),Hm(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:P5,formatHex:P5,formatHex8:cee,formatRgb:F5,toString:F5}));function P5(){return`#${sl(this.r)}${sl(this.g)}${sl(this.b)}`}function cee(){return`#${sl(this.r)}${sl(this.g)}${sl(this.b)}${sl((isNaN(this.opacity)?1:this.opacity)*255)}`}function F5(){const e=Hm(this.opacity);return`${e===1?"rgb(":"rgba("}${dl(this.r)}, ${dl(this.g)}, ${dl(this.b)}${e===1?")":`, ${e})`}`}function Hm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function dl(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function sl(e){return e=dl(e),(e<16?"0":"")+e.toString(16)}function R5(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 O4(e){if(e instanceof qi)return new qi(e.h,e.s,e.l,e.opacity);if(e instanceof xu||(e=Pd(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,l=a-i,s=(a+i)/2;return l?(t===a?o=(r-n)/l+(r<n)*6:r===a?o=(n-t)/l+2:o=(t-r)/l+4,l/=s<.5?a+i:2-a-i,o*=60):l=s>0&&s<1?0:o,new qi(o,l,s,e.opacity)}function O_(e,t,r,n){return arguments.length===1?O4(e):new qi(e,t,r,n==null?1:n)}function qi(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}jf(qi,O_,cp(xu,{brighter(e){return e=e==null?Mf:Math.pow(Mf,e),new qi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?El:Math.pow(El,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 yn(Nb(e>=240?e-240:e+120,i,n),Nb(e,i,n),Nb(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new qi(N5(this.h),x0(this.s),x0(this.l),Hm(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=Hm(this.opacity);return`${e===1?"hsl(":"hsla("}${N5(this.h)}, ${x0(this.s)*100}%, ${x0(this.l)*100}%${e===1?")":`, ${e})`}`}}));function N5(e){return e=(e||0)%360,e<0?e+360:e}function x0(e){return Math.max(0,Math.min(1,e||0))}function Nb(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 k4=Math.PI/180,M4=180/Math.PI,Vm=18,I4=.96422,P4=1,F4=.82521,R4=4/29,df=6/29,N4=3*df*df,hee=df*df*df;function L4(e){if(e instanceof xa)return new xa(e.l,e.a,e.b,e.opacity);if(e instanceof Xa)return D4(e);e instanceof yn||(e=HS(e));var t=Bb(e.r),r=Bb(e.g),n=Bb(e.b),i=Lb((.2225045*t+.7168786*r+.0606169*n)/P4),a,o;return t===r&&r===n?a=o=i:(a=Lb((.4360747*t+.3850649*r+.1430804*n)/I4),o=Lb((.0139322*t+.0971045*r+.7141733*n)/F4)),new xa(116*i-16,500*(a-i),200*(i-o),e.opacity)}function k_(e,t,r,n){return arguments.length===1?L4(e):new xa(e,t,r,n==null?1:n)}function xa(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}jf(xa,k_,cp(xu,{brighter(e){return new xa(this.l+Vm*(e==null?1:e),this.a,this.b,this.opacity)},darker(e){return new xa(this.l-Vm*(e==null?1:e),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=I4*Db(t),e=P4*Db(e),r=F4*Db(r),new yn($b(3.1338561*t-1.6168667*e-.4906146*r),$b(-.9787684*t+1.9161415*e+.033454*r),$b(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function Lb(e){return e>hee?Math.pow(e,1/3):e/N4+R4}function Db(e){return e>df?e*e*e:N4*(e-R4)}function $b(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Bb(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function dee(e){if(e instanceof Xa)return new Xa(e.h,e.c,e.l,e.opacity);if(e instanceof xa||(e=L4(e)),e.a===0&&e.b===0)return new Xa(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*M4;return new Xa(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function M_(e,t,r,n){return arguments.length===1?dee(e):new Xa(e,t,r,n==null?1:n)}function Xa(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function D4(e){if(isNaN(e.h))return new xa(e.l,0,0,e.opacity);var t=e.h*k4;return new xa(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}jf(Xa,M_,cp(xu,{brighter(e){return new Xa(this.h,this.c,this.l+Vm*(e==null?1:e),this.opacity)},darker(e){return new Xa(this.h,this.c,this.l-Vm*(e==null?1:e),this.opacity)},rgb(){return D4(this).rgb()}}));var $4=-.14861,VS=1.78277,qS=-.29227,Yg=-.90649,Fd=1.97294,L5=Fd*Yg,D5=Fd*VS,$5=VS*qS-Yg*$4;function pee(e){if(e instanceof pl)return new pl(e.h,e.s,e.l,e.opacity);e instanceof yn||(e=HS(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=($5*n+L5*t-D5*r)/($5+L5-D5),a=n-i,o=(Fd*(r-i)-qS*a)/Yg,l=Math.sqrt(o*o+a*a)/(Fd*i*(1-i)),s=l?Math.atan2(o,a)*M4-120:NaN;return new pl(s<0?s+360:s,l,i,e.opacity)}function I_(e,t,r,n){return arguments.length===1?pee(e):new pl(e,t,r,n==null?1:n)}function pl(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}jf(pl,I_,cp(xu,{brighter(e){return e=e==null?Mf:Math.pow(Mf,e),new pl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?El:Math.pow(El,e),new pl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*k4,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new yn(255*(t+r*($4*n+VS*i)),255*(t+r*(qS*n+Yg*i)),255*(t+r*(Fd*n)),this.opacity)}}));function B4(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 z4(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,l=n<t-1?e[n+2]:2*a-i;return B4((r-n/t)*t,o,i,a,l)}}function U4(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],l=e[(n+2)%t];return B4((r-n/t)*t,i,a,o,l)}}const Xg=e=>()=>e;function j4(e,t){return function(r){return e+r*t}}function vee(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 Qg(e,t){var r=t-e;return r?j4(e,r>180||r<-180?r-360*Math.round(r/360):r):Xg(isNaN(e)?t:e)}function mee(e){return(e=+e)==1?xn:function(t,r){return r-t?vee(t,r,e):Xg(isNaN(t)?r:t)}}function xn(e,t){var r=t-e;return r?j4(e,r):Xg(isNaN(e)?t:e)}const P_=function e(t){var r=mee(t);function n(i,a){var o=r((i=Wm(i)).r,(a=Wm(a)).r),l=r(i.g,a.g),s=r(i.b,a.b),c=xn(i.opacity,a.opacity);return function(d){return i.r=o(d),i.g=l(d),i.b=s(d),i.opacity=c(d),i+""}}return n.gamma=e,n}(1);function G4(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,l;for(o=0;o<r;++o)l=Wm(t[o]),n[o]=l.r||0,i[o]=l.g||0,a[o]=l.b||0;return n=e(n),i=e(i),a=e(a),l.opacity=1,function(s){return l.r=n(s),l.g=i(s),l.b=a(s),l+""}}}var gee=G4(z4),yee=G4(U4);function YS(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 W4(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function xee(e,t){return(W4(t)?YS:H4)(e,t)}function H4(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]=Zg(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(l){for(o=0;o<n;++o)a[o]=i[o](l);return a}}function V4(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function sa(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function q4(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]=Zg(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var F_=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,zb=new RegExp(F_.source,"g");function bee(e){return function(){return e}}function wee(e){return function(t){return e(t)+""}}function Y4(e,t){var r=F_.lastIndex=zb.lastIndex=0,n,i,a,o=-1,l=[],s=[];for(e=e+"",t=t+"";(n=F_.exec(e))&&(i=zb.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(i=i[0])?l[o]?l[o]+=i:l[++o]=i:(l[++o]=null,s.push({i:o,x:sa(n,i)})),r=zb.lastIndex;return r<t.length&&(a=t.slice(r),l[o]?l[o]+=a:l[++o]=a),l.length<2?s[0]?wee(s[0].x):bee(t):(t=s.length,function(c){for(var d=0,y;d<t;++d)l[(y=s[d]).i]=y.x(c);return l.join("")})}function Zg(e,t){var r=typeof t,n;return t==null||r==="boolean"?Xg(t):(r==="number"?sa:r==="string"?(n=Pd(t))?(t=n,P_):Y4:t instanceof Pd?P_:t instanceof Date?V4:W4(t)?YS:Array.isArray(t)?H4:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?q4:sa)(e,t)}function _ee(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function See(e,t){var r=Qg(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function Eee(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var B5=180/Math.PI,R_={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function X4(e,t,r,n,i,a){var o,l,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*r+t*n)&&(r-=e*s,n-=t*s),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,s/=l),e*n<t*r&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*B5,skewX:Math.atan(s)*B5,scaleX:o,scaleY:l}}var b0;function Aee(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?R_:X4(t.a,t.b,t.c,t.d,t.e,t.f)}function Tee(e){return e==null||(b0||(b0=document.createElementNS("http://www.w3.org/2000/svg","g")),b0.setAttribute("transform",e),!(e=b0.transform.baseVal.consolidate()))?R_:(e=e.matrix,X4(e.a,e.b,e.c,e.d,e.e,e.f))}function Q4(e,t,r,n){function i(c){return c.length?c.pop()+" ":""}function a(c,d,y,g,m,E){if(c!==y||d!==g){var M=m.push("translate(",null,t,null,r);E.push({i:M-4,x:sa(c,y)},{i:M-2,x:sa(d,g)})}else(y||g)&&m.push("translate("+y+t+g+r)}function o(c,d,y,g){c!==d?(c-d>180?d+=360:d-c>180&&(c+=360),g.push({i:y.push(i(y)+"rotate(",null,n)-2,x:sa(c,d)})):d&&y.push(i(y)+"rotate("+d+n)}function l(c,d,y,g){c!==d?g.push({i:y.push(i(y)+"skewX(",null,n)-2,x:sa(c,d)}):d&&y.push(i(y)+"skewX("+d+n)}function s(c,d,y,g,m,E){if(c!==y||d!==g){var M=m.push(i(m)+"scale(",null,",",null,")");E.push({i:M-4,x:sa(c,y)},{i:M-2,x:sa(d,g)})}else(y!==1||g!==1)&&m.push(i(m)+"scale("+y+","+g+")")}return function(c,d){var y=[],g=[];return c=e(c),d=e(d),a(c.translateX,c.translateY,d.translateX,d.translateY,y,g),o(c.rotate,d.rotate,y,g),l(c.skewX,d.skewX,y,g),s(c.scaleX,c.scaleY,d.scaleX,d.scaleY,y,g),c=d=null,function(m){for(var E=-1,M=g.length,b;++E<M;)y[(b=g[E]).i]=b.x(m);return y.join("")}}}var Cee=Q4(Aee,"px, ","px)","deg)"),Oee=Q4(Tee,", ",")",")"),kee=1e-12;function z5(e){return((e=Math.exp(e))+1/e)/2}function Mee(e){return((e=Math.exp(e))-1/e)/2}function Iee(e){return((e=Math.exp(2*e))-1)/(e+1)}const Pee=function e(t,r,n){function i(a,o){var l=a[0],s=a[1],c=a[2],d=o[0],y=o[1],g=o[2],m=d-l,E=y-s,M=m*m+E*E,b,w;if(M<kee)w=Math.log(g/c)/t,b=function(q){return[l+q*m,s+q*E,c*Math.exp(t*q*w)]};else{var _=Math.sqrt(M),C=(g*g-c*c+n*M)/(2*c*r*_),T=(g*g-c*c-n*M)/(2*g*r*_),R=Math.log(Math.sqrt(C*C+1)-C),L=Math.log(Math.sqrt(T*T+1)-T);w=(L-R)/t,b=function(q){var j=q*w,te=z5(R),ge=c/(r*_)*(te*Iee(t*j+R)-Mee(R));return[l+ge*m,s+ge*E,c*te/z5(t*j+R)]}}return b.duration=w*1e3*t/Math.SQRT2,b}return i.rho=function(a){var o=Math.max(.001,+a),l=o*o,s=l*l;return e(o,l,s)},i}(Math.SQRT2,2,4);function Z4(e){return function(t,r){var n=e((t=O_(t)).h,(r=O_(r)).h),i=xn(t.s,r.s),a=xn(t.l,r.l),o=xn(t.opacity,r.opacity);return function(l){return t.h=n(l),t.s=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const Fee=Z4(Qg);var Ree=Z4(xn);function Nee(e,t){var r=xn((e=k_(e)).l,(t=k_(t)).l),n=xn(e.a,t.a),i=xn(e.b,t.b),a=xn(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 K4(e){return function(t,r){var n=e((t=M_(t)).h,(r=M_(r)).h),i=xn(t.c,r.c),a=xn(t.l,r.l),o=xn(t.opacity,r.opacity);return function(l){return t.h=n(l),t.c=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const Lee=K4(Qg);var Dee=K4(xn);function J4(e){return function t(r){r=+r;function n(i,a){var o=e((i=I_(i)).h,(a=I_(a)).h),l=xn(i.s,a.s),s=xn(i.l,a.l),c=xn(i.opacity,a.opacity);return function(d){return i.h=o(d),i.s=l(d),i.l=s(Math.pow(d,r)),i.opacity=c(d),i+""}}return n.gamma=t,n}(1)}const $ee=J4(Qg);var Bee=J4(xn);function zee(e,t){t===void 0&&(t=e,e=Zg);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var l=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[l](o-l)}}function Uee(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const jee=Object.freeze(Object.defineProperty({__proto__:null,interpolate:Zg,interpolateArray:xee,interpolateBasis:z4,interpolateBasisClosed:U4,interpolateDate:V4,interpolateDiscrete:_ee,interpolateHue:See,interpolateNumber:sa,interpolateNumberArray:YS,interpolateObject:q4,interpolateRound:Eee,interpolateString:Y4,interpolateTransformCss:Cee,interpolateTransformSvg:Oee,interpolateZoom:Pee,interpolateRgb:P_,interpolateRgbBasis:gee,interpolateRgbBasisClosed:yee,interpolateHsl:Fee,interpolateHslLong:Ree,interpolateLab:Nee,interpolateHcl:Lee,interpolateHclLong:Dee,interpolateCubehelix:$ee,interpolateCubehelixLong:Bee,piecewise:zee,quantize:Uee},Symbol.toStringTag,{value:"Module"})),vre=Tl(jee);var Gee="Expected a function",eN="__lodash_hash_undefined__",tN=1/0,Wee=9007199254740991,Hee="[object Function]",Vee="[object GeneratorFunction]",qee="[object Symbol]",Yee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xee=/^\w*$/,Qee=/^\./,Zee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kee=/[\\^$.*+?()[\]{}|]/g,Jee=/\\(\\)?/g,ete=/^\[object .+?Constructor\]$/,tte=/^(?:0|[1-9]\d*)$/,rte=typeof Ar=="object"&&Ar&&Ar.Object===Object&&Ar,nte=typeof self=="object"&&self&&self.Object===Object&&self,XS=rte||nte||Function("return this")();function ite(e,t){return e==null?void 0:e[t]}function ate(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var ote=Array.prototype,ute=Function.prototype,rN=Object.prototype,Ub=XS["__core-js_shared__"],U5=function(){var e=/[^.]+$/.exec(Ub&&Ub.keys&&Ub.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),nN=ute.toString,Kg=rN.hasOwnProperty,iN=rN.toString,lte=RegExp("^"+nN.call(Kg).replace(Kee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j5=XS.Symbol,ste=ote.splice,fte=aN(XS,"Map"),Rd=aN(Object,"create"),G5=j5?j5.prototype:void 0,W5=G5?G5.toString:void 0;function Al(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 cte(){this.__data__=Rd?Rd(null):{}}function hte(e){return this.has(e)&&delete this.__data__[e]}function dte(e){var t=this.__data__;if(Rd){var r=t[e];return r===eN?void 0:r}return Kg.call(t,e)?t[e]:void 0}function pte(e){var t=this.__data__;return Rd?t[e]!==void 0:Kg.call(t,e)}function vte(e,t){var r=this.__data__;return r[e]=Rd&&t===void 0?eN:t,this}Al.prototype.clear=cte;Al.prototype.delete=hte;Al.prototype.get=dte;Al.prototype.has=pte;Al.prototype.set=vte;function Gf(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 mte(){this.__data__=[]}function gte(e){var t=this.__data__,r=Jg(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ste.call(t,r,1),!0}function yte(e){var t=this.__data__,r=Jg(t,e);return r<0?void 0:t[r][1]}function xte(e){return Jg(this.__data__,e)>-1}function bte(e,t){var r=this.__data__,n=Jg(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Gf.prototype.clear=mte;Gf.prototype.delete=gte;Gf.prototype.get=yte;Gf.prototype.has=xte;Gf.prototype.set=bte;function Bl(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 wte(){this.__data__={hash:new Al,map:new(fte||Gf),string:new Al}}function _te(e){return ey(this,e).delete(e)}function Ste(e){return ey(this,e).get(e)}function Ete(e){return ey(this,e).has(e)}function Ate(e,t){return ey(this,e).set(e,t),this}Bl.prototype.clear=wte;Bl.prototype.delete=_te;Bl.prototype.get=Ste;Bl.prototype.has=Ete;Bl.prototype.set=Ate;function Tte(e,t,r){var n=e[t];(!(Kg.call(e,t)&&oN(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function Jg(e,t){for(var r=e.length;r--;)if(oN(e[r][0],t))return r;return-1}function Cte(e){if(!qm(e)||Rte(e))return!1;var t=$te(e)||ate(e)?lte:ete;return t.test(Dte(e))}function Ote(e,t,r,n){if(!qm(e))return e;t=Pte(t,e)?[t]:Mte(t);for(var i=-1,a=t.length,o=a-1,l=e;l!=null&&++i<a;){var s=Lte(t[i]),c=r;if(i!=o){var d=l[s];c=n?n(d,s,l):void 0,c===void 0&&(c=qm(d)?d:Ite(t[i+1])?[]:{})}Tte(l,s,c),l=l[s]}return e}function kte(e){if(typeof e=="string")return e;if(ZS(e))return W5?W5.call(e):"";var t=e+"";return t=="0"&&1/e==-tN?"-0":t}function Mte(e){return uN(e)?e:Nte(e)}function ey(e,t){var r=e.__data__;return Fte(t)?r[typeof t=="string"?"string":"hash"]:r.map}function aN(e,t){var r=ite(e,t);return Cte(r)?r:void 0}function Ite(e,t){return t=t==null?Wee:t,!!t&&(typeof e=="number"||tte.test(e))&&e>-1&&e%1==0&&e<t}function Pte(e,t){if(uN(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ZS(e)?!0:Xee.test(e)||!Yee.test(e)||t!=null&&e in Object(t)}function Fte(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Rte(e){return!!U5&&U5 in e}var Nte=QS(function(e){e=zte(e);var t=[];return Qee.test(e)&&t.push(""),e.replace(Zee,function(r,n,i,a){t.push(i?a.replace(Jee,"$1"):n||r)}),t});function Lte(e){if(typeof e=="string"||ZS(e))return e;var t=e+"";return t=="0"&&1/e==-tN?"-0":t}function Dte(e){if(e!=null){try{return nN.call(e)}catch{}try{return e+""}catch{}}return""}function QS(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Gee);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(QS.Cache||Bl),r}QS.Cache=Bl;function oN(e,t){return e===t||e!==e&&t!==t}var uN=Array.isArray;function $te(e){var t=qm(e)?iN.call(e):"";return t==Hee||t==Vee}function qm(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Bte(e){return!!e&&typeof e=="object"}function ZS(e){return typeof e=="symbol"||Bte(e)&&iN.call(e)==qee}function zte(e){return e==null?"":kte(e)}function Ute(e,t,r){return e==null?e:Ote(e,t,r)}var mre=Ute;export{Kt as A,cr as B,ga as C,qte as D,Wte as E,MD as F,Ih as G,Gte as H,Hte as I,wg as J,Vte as K,Xte as L,YU as M,Zte as N,Qte as O,Yte as P,NU as Q,bn as R,V2 as S,mre as T,en as U,Kte as V,ere as a,are as b,ore as c,$H as d,cR as e,tre as f,rre as g,nre as h,NS as i,_Y as j,lre as k,Bg as l,ire as m,ure as n,wR as o,bR as p,ZR as q,Jte as r,sre as s,Pq as t,fre as u,cre as v,hre as w,dre as x,pre as y,vre as z};
1171
- //# sourceMappingURL=vendor.46f8fb15.js.map