@deephaven/embed-grid 0.17.1-beta.2 → 0.17.1-beta.4

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.
@@ -1,1251 +0,0 @@
1
- import{g as D2,c as en,a as rc}from"./helpers.162e09a8.js";var M2={exports:{}},Oo={},ur={exports:{}},an={};/*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */var zA=Object.getOwnPropertySymbols,v8=Object.prototype.hasOwnProperty,g8=Object.prototype.propertyIsEnumerable;function m8(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function y8(){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 nc=y8()?Object.assign:function(e,t){for(var r,n=m8(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)v8.call(r,o)&&(n[o]=r[o]);if(zA){i=zA(r);for(var u=0;u<i.length;u++)g8.call(r,i[u])&&(n[i[u]]=r[i[u]])}}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 N2=nc,ap=60103,mk=60106;an.Fragment=60107;an.StrictMode=60108;an.Profiler=60114;var yk=60109,bk=60110,xk=60112;an.Suspense=60113;var wk=60115,_k=60116;if(typeof Symbol=="function"&&Symbol.for){var Wo=Symbol.for;ap=Wo("react.element"),mk=Wo("react.portal"),an.Fragment=Wo("react.fragment"),an.StrictMode=Wo("react.strict_mode"),an.Profiler=Wo("react.profiler"),yk=Wo("react.provider"),bk=Wo("react.context"),xk=Wo("react.forward_ref"),an.Suspense=Wo("react.suspense"),wk=Wo("react.memo"),_k=Wo("react.lazy")}var jA=typeof Symbol=="function"&&Symbol.iterator;function b8(e){return e===null||typeof e!="object"?null:(e=jA&&e[jA]||e["@@iterator"],typeof e=="function"?e:null)}function Yv(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 Sk={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ek={};function op(e,t,r){this.props=e,this.context=t,this.refs=Ek,this.updater=r||Sk}op.prototype.isReactComponent={};op.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Yv(85));this.updater.enqueueSetState(this,e,t,"setState")};op.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ck(){}Ck.prototype=op.prototype;function F2(e,t,r){this.props=e,this.context=t,this.refs=Ek,this.updater=r||Sk}var L2=F2.prototype=new Ck;L2.constructor=F2;N2(L2,op.prototype);L2.isPureReactComponent=!0;var B2={current:null},Ak=Object.prototype.hasOwnProperty,Tk={key:!0,ref:!0,__self:!0,__source:!0};function Ok(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)Ak.call(t,n)&&!Tk.hasOwnProperty(n)&&(i[n]=t[n]);var u=arguments.length-2;if(u===1)i.children=r;else if(1<u){for(var l=Array(u),f=0;f<u;f++)l[f]=arguments[f+2];i.children=l}if(e&&e.defaultProps)for(n in u=e.defaultProps,u)i[n]===void 0&&(i[n]=u[n]);return{$$typeof:ap,type:e,key:a,ref:o,props:i,_owner:B2.current}}function x8(e,t){return{$$typeof:ap,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function $2(e){return typeof e=="object"&&e!==null&&e.$$typeof===ap}function w8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var UA=/\/+/g;function hb(e,t){return typeof e=="object"&&e!==null&&e.key!=null?w8(""+e.key):t.toString(36)}function qm(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 ap:case mk:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+hb(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(UA,"$&/")+"/"),qm(i,t,r,"",function(f){return f})):i!=null&&($2(i)&&(i=x8(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(UA,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var l=n+hb(a,u);o+=qm(a,t,r,l,i)}else if(l=b8(e),typeof l=="function")for(e=l.call(e),u=0;!(a=e.next()).done;)a=a.value,l=n+hb(a,u++),o+=qm(a,t,r,l,i);else if(a==="object")throw t=""+e,Error(Yv(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function Hg(e,t,r){if(e==null)return e;var n=[],i=0;return qm(e,n,"","",function(a){return t.call(r,a,i++)}),n}function _8(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 Rk={current:null};function ws(){var e=Rk.current;if(e===null)throw Error(Yv(321));return e}var S8={ReactCurrentDispatcher:Rk,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:B2,IsSomeRendererActing:{current:!1},assign:N2};an.Children={map:Hg,forEach:function(e,t,r){Hg(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Hg(e,function(){t++}),t},toArray:function(e){return Hg(e,function(t){return t})||[]},only:function(e){if(!$2(e))throw Error(Yv(143));return e}};an.Component=op;an.PureComponent=F2;an.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S8;an.cloneElement=function(e,t,r){if(e==null)throw Error(Yv(267,e));var n=N2({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=B2.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)Ak.call(t,l)&&!Tk.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&u!==void 0?u[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];n.children=u}return{$$typeof:ap,type:e.type,key:i,ref:a,props:n,_owner:o}};an.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:bk,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:yk,_context:e},e.Consumer=e};an.createElement=Ok;an.createFactory=function(e){var t=Ok.bind(null,e);return t.type=e,t};an.createRef=function(){return{current:null}};an.forwardRef=function(e){return{$$typeof:xk,render:e}};an.isValidElement=$2;an.lazy=function(e){return{$$typeof:_k,_payload:{_status:-1,_result:e},_init:_8}};an.memo=function(e,t){return{$$typeof:wk,type:e,compare:t===void 0?null:t}};an.useCallback=function(e,t){return ws().useCallback(e,t)};an.useContext=function(e,t){return ws().useContext(e,t)};an.useDebugValue=function(){};an.useEffect=function(e,t){return ws().useEffect(e,t)};an.useImperativeHandle=function(e,t,r){return ws().useImperativeHandle(e,t,r)};an.useLayoutEffect=function(e,t){return ws().useLayoutEffect(e,t)};an.useMemo=function(e,t){return ws().useMemo(e,t)};an.useReducer=function(e,t,r){return ws().useReducer(e,t,r)};an.useRef=function(e){return ws().useRef(e)};an.useState=function(e){return ws().useState(e)};an.version="17.0.2";(function(e){e.exports=an})(ur);const Vi=D2(ur.exports);var Ik={exports:{}},Pk={};/** @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,u=o.now();e.unstable_now=function(){return o.now()-u}}if(typeof window>"u"||typeof MessageChannel!="function"){var l=null,f=null,p=function(){if(l!==null)try{var Ie=e.unstable_now();l(!0,Ie),l=null}catch(Re){throw setTimeout(p,0),Re}};t=function(Ie){l!==null?setTimeout(t,0,Ie):(l=Ie,setTimeout(p,0))},r=function(Ie,Re){f=setTimeout(Ie,Re)},n=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var g=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var C=!1,O=null,S=-1,w=5,A=0;e.unstable_shouldYield=function(){return e.unstable_now()>=A},i=function(){},e.unstable_forceFrameRate=function(Ie){0>Ie||125<Ie?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<Ie?Math.floor(1e3/Ie):5};var R=new MessageChannel,P=R.port2;R.port1.onmessage=function(){if(O!==null){var Ie=e.unstable_now();A=Ie+w;try{O(!0,Ie)?P.postMessage(null):(C=!1,O=null)}catch(Re){throw P.postMessage(null),Re}}else C=!1},t=function(Ie){O=Ie,C||(C=!0,P.postMessage(null))},r=function(Ie,Re){S=g(function(){Ie(e.unstable_now())},Re)},n=function(){v(S),S=-1}}function N(Ie,Re){var ot=Ie.length;Ie.push(Re);e:for(;;){var et=ot-1>>>1,ft=Ie[et];if(ft!==void 0&&0<L(ft,Re))Ie[et]=Re,Ie[ot]=ft,ot=et;else break e}}function m(Ie){return Ie=Ie[0],Ie===void 0?null:Ie}function G(Ie){var Re=Ie[0];if(Re!==void 0){var ot=Ie.pop();if(ot!==Re){Ie[0]=ot;e:for(var et=0,ft=Ie.length;et<ft;){var At=2*(et+1)-1,Gt=Ie[At],Xt=At+1,Me=Ie[Xt];if(Gt!==void 0&&0>L(Gt,ot))Me!==void 0&&0>L(Me,Gt)?(Ie[et]=Me,Ie[Xt]=ot,et=Xt):(Ie[et]=Gt,Ie[At]=ot,et=At);else if(Me!==void 0&&0>L(Me,ot))Ie[et]=Me,Ie[Xt]=ot,et=Xt;else break e}}return Re}return null}function L(Ie,Re){var ot=Ie.sortIndex-Re.sortIndex;return ot!==0?ot:Ie.id-Re.id}var $=[],ae=[],ve=1,be=null,Pe=3,Fe=!1,dt=!1,Je=!1;function Te(Ie){for(var Re=m(ae);Re!==null;){if(Re.callback===null)G(ae);else if(Re.startTime<=Ie)G(ae),Re.sortIndex=Re.expirationTime,N($,Re);else break;Re=m(ae)}}function Ye(Ie){if(Je=!1,Te(Ie),!dt)if(m($)!==null)dt=!0,t(nt);else{var Re=m(ae);Re!==null&&r(Ye,Re.startTime-Ie)}}function nt(Ie,Re){dt=!1,Je&&(Je=!1,n()),Fe=!0;var ot=Pe;try{for(Te(Re),be=m($);be!==null&&(!(be.expirationTime>Re)||Ie&&!e.unstable_shouldYield());){var et=be.callback;if(typeof et=="function"){be.callback=null,Pe=be.priorityLevel;var ft=et(be.expirationTime<=Re);Re=e.unstable_now(),typeof ft=="function"?be.callback=ft:be===m($)&&G($),Te(Re)}else G($);be=m($)}if(be!==null)var At=!0;else{var Gt=m(ae);Gt!==null&&r(Ye,Gt.startTime-Re),At=!1}return At}finally{be=null,Pe=ot,Fe=!1}}var pt=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Ie){Ie.callback=null},e.unstable_continueExecution=function(){dt||Fe||(dt=!0,t(nt))},e.unstable_getCurrentPriorityLevel=function(){return Pe},e.unstable_getFirstCallbackNode=function(){return m($)},e.unstable_next=function(Ie){switch(Pe){case 1:case 2:case 3:var Re=3;break;default:Re=Pe}var ot=Pe;Pe=Re;try{return Ie()}finally{Pe=ot}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=pt,e.unstable_runWithPriority=function(Ie,Re){switch(Ie){case 1:case 2:case 3:case 4:case 5:break;default:Ie=3}var ot=Pe;Pe=Ie;try{return Re()}finally{Pe=ot}},e.unstable_scheduleCallback=function(Ie,Re,ot){var et=e.unstable_now();switch(typeof ot=="object"&&ot!==null?(ot=ot.delay,ot=typeof ot=="number"&&0<ot?et+ot:et):ot=et,Ie){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return ft=ot+ft,Ie={id:ve++,callback:Re,priorityLevel:Ie,startTime:ot,expirationTime:ft,sortIndex:-1},ot>et?(Ie.sortIndex=ot,N(ae,Ie),m($)===null&&Ie===m(ae)&&(Je?n():Je=!0,r(Ye,ot-et))):(Ie.sortIndex=ft,N($,Ie),dt||Fe||(dt=!0,t(nt))),Ie},e.unstable_wrapCallback=function(Ie){var Re=Pe;return function(){var ot=Pe;Pe=Re;try{return Ie.apply(this,arguments)}finally{Pe=ot}}}})(Pk);(function(e){e.exports=Pk})(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 Ny=ur.exports,Mn=nc,Ii=Ik.exports;function Mt(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(!Ny)throw Error(Mt(227));var kk=new Set,vv={};function ic(e,t){zd(e,t),zd(e+"Capture",t)}function zd(e,t){for(vv[e]=t,e=0;e<t.length;e++)kk.add(t[e])}var gs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),E8=/^[: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]*$/,WA=Object.prototype.hasOwnProperty,qA={},GA={};function C8(e){return WA.call(GA,e)?!0:WA.call(qA,e)?!1:E8.test(e)?GA[e]=!0:(qA[e]=!0,!1)}function A8(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 T8(e,t,r,n){if(t===null||typeof t>"u"||A8(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 ga(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 Yi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Yi[e]=new ga(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Yi[t]=new ga(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Yi[e]=new ga(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Yi[e]=new ga(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){Yi[e]=new ga(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Yi[e]=new ga(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Yi[e]=new ga(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Yi[e]=new ga(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Yi[e]=new ga(e,5,!1,e.toLowerCase(),null,!1,!1)});var z2=/[\-:]([a-z])/g;function j2(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(z2,j2);Yi[t]=new ga(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(z2,j2);Yi[t]=new ga(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(z2,j2);Yi[t]=new ga(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Yi[e]=new ga(e,1,!1,e.toLowerCase(),null,!1,!1)});Yi.xlinkHref=new ga("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Yi[e]=new ga(e,1,!1,e.toLowerCase(),null,!0,!0)});function U2(e,t,r,n){var i=Yi.hasOwnProperty(t)?Yi[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||(T8(t,r,i,n)&&(r=null),n||i===null?C8(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var ac=Ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mh=60103,If=60106,ul=60107,W2=60108,Vh=60114,q2=60109,G2=60110,Fy=60112,Yh=60113,h0=60120,Ly=60115,H2=60116,V2=60121,Y2=60128,Dk=60129,X2=60130,F_=60131;if(typeof Symbol=="function"&&Symbol.for){var Ti=Symbol.for;Mh=Ti("react.element"),If=Ti("react.portal"),ul=Ti("react.fragment"),W2=Ti("react.strict_mode"),Vh=Ti("react.profiler"),q2=Ti("react.provider"),G2=Ti("react.context"),Fy=Ti("react.forward_ref"),Yh=Ti("react.suspense"),h0=Ti("react.suspense_list"),Ly=Ti("react.memo"),H2=Ti("react.lazy"),V2=Ti("react.block"),Ti("react.scope"),Y2=Ti("react.opaque.id"),Dk=Ti("react.debug_trace_mode"),X2=Ti("react.offscreen"),F_=Ti("react.legacy_hidden")}var HA=typeof Symbol=="function"&&Symbol.iterator;function rh(e){return e===null||typeof e!="object"?null:(e=HA&&e[HA]||e["@@iterator"],typeof e=="function"?e:null)}var vb;function Nh(e){if(vb===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);vb=t&&t[1]||""}return`
27
- `+vb+e}var gb=!1;function Vg(e,t){if(!e||gb)return"";gb=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var n=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){n=l}e.call(t.prototype)}else{try{throw Error()}catch(l){n=l}e()}}catch(l){if(l&&n&&typeof l.stack=="string"){for(var i=l.stack.split(`
28
- `),a=n.stack.split(`
29
- `),o=i.length-1,u=a.length-1;1<=o&&0<=u&&i[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(i[o]!==a[u]){if(o!==1||u!==1)do if(o--,u--,0>u||i[o]!==a[u])return`
30
- `+i[o].replace(" at new "," at ");while(1<=o&&0<=u);break}}}finally{gb=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Nh(e):""}function O8(e){switch(e.tag){case 5:return Nh(e.type);case 16:return Nh("Lazy");case 13:return Nh("Suspense");case 19:return Nh("SuspenseList");case 0:case 2:case 15:return e=Vg(e.type,!1),e;case 11:return e=Vg(e.type.render,!1),e;case 22:return e=Vg(e.type._render,!1),e;case 1:return e=Vg(e.type,!0),e;default:return""}}function _d(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 ul:return"Fragment";case If:return"Portal";case Vh:return"Profiler";case W2:return"StrictMode";case Yh:return"Suspense";case h0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G2:return(e.displayName||"Context")+".Consumer";case q2:return(e._context.displayName||"Context")+".Provider";case Fy:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Ly:return _d(e.type);case V2:return _d(e._render);case H2:t=e._payload,e=e._init;try{return _d(e(t))}catch{}}return null}function Tl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Mk(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function R8(e){var t=Mk(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 Yg(e){e._valueTracker||(e._valueTracker=R8(e))}function Nk(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Mk(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function v0(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 L_(e,t){var r=t.checked;return Mn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function VA(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Tl(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&&U2(e,"checked",t,!1)}function B_(e,t){Fk(e,t);var r=Tl(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")?$_(e,t.type,r):t.hasOwnProperty("defaultValue")&&$_(e,t.type,Tl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YA(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 $_(e,t,r){(t!=="number"||v0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function I8(e){var t="";return Ny.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function z_(e,t){return e=Mn({children:void 0},t),(t=I8(t.children))&&(e.children=t),e}function Sd(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=""+Tl(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 j_(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Mt(91));return Mn({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function XA(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(Mt(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(Mt(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Tl(r)}}function Lk(e,t){var r=Tl(t.value),n=Tl(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 QA(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var U_={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Bk(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 W_(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Bk(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Xg,$k=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!==U_.svg||"innerHTML"in e)e.innerHTML=t;else{for(Xg=Xg||document.createElement("div"),Xg.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xg.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gv(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Xh={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},P8=["Webkit","ms","Moz","O"];Object.keys(Xh).forEach(function(e){P8.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xh[t]=Xh[e]})});function zk(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Xh.hasOwnProperty(e)&&Xh[e]?(""+t).trim():t+"px"}function jk(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=zk(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var k8=Mn({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 q_(e,t){if(t){if(k8[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Mt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Mt(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Mt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Mt(62))}}function G_(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 Q2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var H_=null,Ed=null,Cd=null;function KA(e){if(e=Qv(e)){if(typeof H_!="function")throw Error(Mt(280));var t=e.stateNode;t&&(t=Wy(t),H_(e.stateNode,e.type,t))}}function Uk(e){Ed?Cd?Cd.push(e):Cd=[e]:Ed=e}function Wk(){if(Ed){var e=Ed,t=Cd;if(Cd=Ed=null,KA(e),t)for(e=0;e<t.length;e++)KA(t[e])}}function K2(e,t){return e(t)}function qk(e,t,r,n,i){return e(t,r,n,i)}function Z2(){}var Gk=K2,Pf=!1,mb=!1;function J2(){(Ed!==null||Cd!==null)&&(Z2(),Wk())}function D8(e,t,r){if(mb)return e(t,r);mb=!0;try{return Gk(e,t,r)}finally{mb=!1,J2()}}function mv(e,t){var r=e.stateNode;if(r===null)return null;var n=Wy(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(Mt(231,t,typeof r));return r}var V_=!1;if(gs)try{var nh={};Object.defineProperty(nh,"passive",{get:function(){V_=!0}}),window.addEventListener("test",nh,nh),window.removeEventListener("test",nh,nh)}catch{V_=!1}function M8(e,t,r,n,i,a,o,u,l){var f=Array.prototype.slice.call(arguments,3);try{t.apply(r,f)}catch(p){this.onError(p)}}var Qh=!1,g0=null,m0=!1,Y_=null,N8={onError:function(e){Qh=!0,g0=e}};function F8(e,t,r,n,i,a,o,u,l){Qh=!1,g0=null,M8.apply(N8,arguments)}function L8(e,t,r,n,i,a,o,u,l){if(F8.apply(this,arguments),Qh){if(Qh){var f=g0;Qh=!1,g0=null}else throw Error(Mt(198));m0||(m0=!0,Y_=f)}}function oc(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 Hk(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 ZA(e){if(oc(e)!==e)throw Error(Mt(188))}function B8(e){var t=e.alternate;if(!t){if(t=oc(e),t===null)throw Error(Mt(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 ZA(i),e;if(a===n)return ZA(i),t;a=a.sibling}throw Error(Mt(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,u=i.child;u;){if(u===r){o=!0,r=i,n=a;break}if(u===n){o=!0,n=i,r=a;break}u=u.sibling}if(!o){for(u=a.child;u;){if(u===r){o=!0,r=a,n=i;break}if(u===n){o=!0,n=a,r=i;break}u=u.sibling}if(!o)throw Error(Mt(189))}}if(r.alternate!==n)throw Error(Mt(190))}if(r.tag!==3)throw Error(Mt(188));return r.stateNode.current===r?e:t}function Vk(e){if(e=B8(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function JA(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Yk,eE,Xk,Qk,X_=!1,Cu=[],gl=null,ml=null,yl=null,yv=new Map,bv=new Map,ih=[],eT="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 Q_(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function tT(e,t){switch(e){case"focusin":case"focusout":gl=null;break;case"dragenter":case"dragleave":ml=null;break;case"mouseover":case"mouseout":yl=null;break;case"pointerover":case"pointerout":yv.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bv.delete(t.pointerId)}}function ah(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Q_(t,r,n,i,a),t!==null&&(t=Qv(t),t!==null&&eE(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function $8(e,t,r,n,i){switch(t){case"focusin":return gl=ah(gl,e,t,r,n,i),!0;case"dragenter":return ml=ah(ml,e,t,r,n,i),!0;case"mouseover":return yl=ah(yl,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return yv.set(a,ah(yv.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,bv.set(a,ah(bv.get(a)||null,e,t,r,n,i)),!0}return!1}function z8(e){var t=kf(e.target);if(t!==null){var r=oc(t);if(r!==null){if(t=r.tag,t===13){if(t=Hk(r),t!==null){e.blockedOn=t,Qk(e.lanePriority,function(){Ii.unstable_runWithPriority(e.priority,function(){Xk(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=iE(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=Qv(r),t!==null&&eE(t),e.blockedOn=r,!1;t.shift()}return!0}function rT(e,t,r){Gm(e)&&r.delete(t)}function j8(){for(X_=!1;0<Cu.length;){var e=Cu[0];if(e.blockedOn!==null){e=Qv(e.blockedOn),e!==null&&Yk(e);break}for(var t=e.targetContainers;0<t.length;){var r=iE(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&Cu.shift()}gl!==null&&Gm(gl)&&(gl=null),ml!==null&&Gm(ml)&&(ml=null),yl!==null&&Gm(yl)&&(yl=null),yv.forEach(rT),bv.forEach(rT)}function oh(e,t){e.blockedOn===t&&(e.blockedOn=null,X_||(X_=!0,Ii.unstable_scheduleCallback(Ii.unstable_NormalPriority,j8)))}function Kk(e){function t(i){return oh(i,e)}if(0<Cu.length){oh(Cu[0],e);for(var r=1;r<Cu.length;r++){var n=Cu[r];n.blockedOn===e&&(n.blockedOn=null)}}for(gl!==null&&oh(gl,e),ml!==null&&oh(ml,e),yl!==null&&oh(yl,e),yv.forEach(t),bv.forEach(t),r=0;r<ih.length;r++)n=ih[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ih.length&&(r=ih[0],r.blockedOn===null);)z8(r),r.blockedOn===null&&ih.shift()}function Qg(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var dd={animationend:Qg("Animation","AnimationEnd"),animationiteration:Qg("Animation","AnimationIteration"),animationstart:Qg("Animation","AnimationStart"),transitionend:Qg("Transition","TransitionEnd")},yb={},Zk={};gs&&(Zk=document.createElement("div").style,"AnimationEvent"in window||(delete dd.animationend.animation,delete dd.animationiteration.animation,delete dd.animationstart.animation),"TransitionEvent"in window||delete dd.transitionend.transition);function By(e){if(yb[e])return yb[e];if(!dd[e])return e;var t=dd[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Zk)return yb[e]=t[r];return e}var Jk=By("animationend"),eD=By("animationiteration"),tD=By("animationstart"),rD=By("transitionend"),nD=new Map,tE=new Map,U8=["abort","abort",Jk,"animationEnd",eD,"animationIteration",tD,"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",rD,"transitionEnd","waiting","waiting"];function rE(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)),tE.set(n,t),nD.set(n,i),ic(i,[n])}}var W8=Ii.unstable_now;W8();var Tn=8;function ad(e){if((1&e)!==0)return Tn=15,1;if((2&e)!==0)return Tn=14,2;if((4&e)!==0)return Tn=13,4;var t=24&e;return t!==0?(Tn=12,t):(e&32)!==0?(Tn=11,32):(t=192&e,t!==0?(Tn=10,t):(e&256)!==0?(Tn=9,256):(t=3584&e,t!==0?(Tn=8,t):(e&4096)!==0?(Tn=7,4096):(t=4186112&e,t!==0?(Tn=6,t):(t=62914560&e,t!==0?(Tn=5,t):e&67108864?(Tn=4,67108864):(e&134217728)!==0?(Tn=3,134217728):(t=805306368&e,t!==0?(Tn=2,t):(1073741824&e)!==0?(Tn=1,1073741824):(Tn=8,e))))))}function q8(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 G8(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(Mt(358,e))}}function xv(e,t){var r=e.pendingLanes;if(r===0)return Tn=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,u=e.pingedLanes;if(a!==0)n=a,i=Tn=15;else if(a=r&134217727,a!==0){var l=a&~o;l!==0?(n=ad(l),i=Tn):(u&=a,u!==0&&(n=ad(u),i=Tn))}else a=r&~o,a!==0?(n=ad(a),i=Tn):u!==0&&(n=ad(u),i=Tn);if(n===0)return 0;if(n=31-Ol(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(ad(t),i<=Tn)return t;Tn=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Ol(t),i=1<<r,n|=e[r],t&=~i;return n}function iD(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=od(24&~t),e===0?y0(10,t):e;case 10:return e=od(192&~t),e===0?y0(8,t):e;case 8:return e=od(3584&~t),e===0&&(e=od(4186112&~t),e===0&&(e=512)),e;case 2:return t=od(805306368&~t),t===0&&(t=268435456),t}throw Error(Mt(358,e))}function od(e){return e&-e}function bb(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function $y(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Ol(t),e[t]=r}var Ol=Math.clz32?Math.clz32:Y8,H8=Math.log,V8=Math.LN2;function Y8(e){return e===0?32:31-(H8(e)/V8|0)|0}var X8=Ii.unstable_UserBlockingPriority,Q8=Ii.unstable_runWithPriority,Hm=!0;function K8(e,t,r,n){Pf||Z2();var i=nE,a=Pf;Pf=!0;try{qk(i,e,t,r,n)}finally{(Pf=a)||J2()}}function Z8(e,t,r,n){Q8(X8,nE.bind(null,e,t,r,n))}function nE(e,t,r,n){if(Hm){var i;if((i=(t&4)===0)&&0<Cu.length&&-1<eT.indexOf(e))e=Q_(null,e,t,r,n),Cu.push(e);else{var a=iE(e,t,r,n);if(a===null)i&&tT(e,n);else{if(i){if(-1<eT.indexOf(e)){e=Q_(a,e,t,r,n),Cu.push(e);return}if($8(a,e,t,r,n))return;tT(e,n)}mD(e,t,n,null,r)}}}}function iE(e,t,r,n){var i=Q2(n);if(i=kf(i),i!==null){var a=oc(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=Hk(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 mD(e,t,n,i,r),null}var ll=null,aE=null,Vm=null;function aD(){if(Vm)return Vm;var e,t=aE,r=t.length,n,i="value"in ll?ll.value:ll.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 Vm=i.slice(e,1<n?1-n:void 0)}function Ym(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 Kg(){return!0}function nT(){return!1}function Ka(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(r=e[u],this[u]=r?r(a):a[u]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Kg:nT,this.isPropagationStopped=nT,this}return Mn(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=Kg)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Kg)},persist:function(){},isPersistent:Kg}),t}var up={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oE=Ka(up),Xv=Mn({},up,{view:0,detail:0}),J8=Ka(Xv),xb,wb,uh,zy=Mn({},Xv,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uE,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!==uh&&(uh&&e.type==="mousemove"?(xb=e.screenX-uh.screenX,wb=e.screenY-uh.screenY):wb=xb=0,uh=e),xb)},movementY:function(e){return"movementY"in e?e.movementY:wb}}),iT=Ka(zy),e$=Mn({},zy,{dataTransfer:0}),t$=Ka(e$),r$=Mn({},Xv,{relatedTarget:0}),_b=Ka(r$),n$=Mn({},up,{animationName:0,elapsedTime:0,pseudoElement:0}),i$=Ka(n$),a$=Mn({},up,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),o$=Ka(a$),u$=Mn({},up,{data:0}),aT=Ka(u$),s$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l$={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"},f$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function c$(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=f$[e])?!!t[e]:!1}function uE(){return c$}var d$=Mn({},Xv,{key:function(e){if(e.key){var t=s$[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ym(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?l$[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uE,charCode:function(e){return e.type==="keypress"?Ym(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ym(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),p$=Ka(d$),h$=Mn({},zy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),oT=Ka(h$),v$=Mn({},Xv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uE}),g$=Ka(v$),m$=Mn({},up,{propertyName:0,elapsedTime:0,pseudoElement:0}),y$=Ka(m$),b$=Mn({},zy,{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}),x$=Ka(b$),w$=[9,13,27,32],sE=gs&&"CompositionEvent"in window,Kh=null;gs&&"documentMode"in document&&(Kh=document.documentMode);var _$=gs&&"TextEvent"in window&&!Kh,oD=gs&&(!sE||Kh&&8<Kh&&11>=Kh),uT=String.fromCharCode(32),sT=!1;function uD(e,t){switch(e){case"keyup":return w$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pd=!1;function S$(e,t){switch(e){case"compositionend":return sD(t);case"keypress":return t.which!==32?null:(sT=!0,uT);case"textInput":return e=t.data,e===uT&&sT?null:e;default:return null}}function E$(e,t){if(pd)return e==="compositionend"||!sE&&uD(e,t)?(e=aD(),Vm=aE=ll=null,pd=!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 oD&&t.locale!=="ko"?null:t.data;default:return null}}var C$={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 lT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!C$[e.type]:t==="textarea"}function lD(e,t,r,n){Uk(n),t=b0(t,"onChange"),0<t.length&&(r=new oE("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Zh=null,wv=null;function A$(e){hD(e,0)}function jy(e){var t=vd(e);if(Nk(t))return e}function T$(e,t){if(e==="change")return t}var fD=!1;if(gs){var Sb;if(gs){var Eb="oninput"in document;if(!Eb){var fT=document.createElement("div");fT.setAttribute("oninput","return;"),Eb=typeof fT.oninput=="function"}Sb=Eb}else Sb=!1;fD=Sb&&(!document.documentMode||9<document.documentMode)}function cT(){Zh&&(Zh.detachEvent("onpropertychange",cD),wv=Zh=null)}function cD(e){if(e.propertyName==="value"&&jy(wv)){var t=[];if(lD(t,wv,e,Q2(e)),e=A$,Pf)e(t);else{Pf=!0;try{K2(e,t)}finally{Pf=!1,J2()}}}}function O$(e,t,r){e==="focusin"?(cT(),Zh=t,wv=r,Zh.attachEvent("onpropertychange",cD)):e==="focusout"&&cT()}function R$(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jy(wv)}function I$(e,t){if(e==="click")return jy(t)}function P$(e,t){if(e==="input"||e==="change")return jy(t)}function k$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yo=typeof Object.is=="function"?Object.is:k$,D$=Object.prototype.hasOwnProperty;function _v(e,t){if(yo(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(!D$.call(t,r[n])||!yo(e[r[n]],t[r[n]]))return!1;return!0}function dT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pT(e,t){var r=dT(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=dT(r)}}function dD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hT(){for(var e=window,t=v0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=v0(e.document)}return t}function K_(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 M$=gs&&"documentMode"in document&&11>=document.documentMode,hd=null,Z_=null,Jh=null,J_=!1;function vT(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;J_||hd==null||hd!==v0(n)||(n=hd,"selectionStart"in n&&K_(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}),Jh&&_v(Jh,n)||(Jh=n,n=b0(Z_,"onSelect"),0<n.length&&(t=new oE("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=hd)))}rE("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);rE("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);rE(U8,2);for(var gT="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cb=0;Cb<gT.length;Cb++)tE.set(gT[Cb],0);zd("onMouseEnter",["mouseout","mouseover"]);zd("onMouseLeave",["mouseout","mouseover"]);zd("onPointerEnter",["pointerout","pointerover"]);zd("onPointerLeave",["pointerout","pointerover"]);ic("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ic("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ic("onBeforeInput",["compositionend","keypress","textInput","paste"]);ic("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ic("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ic("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pD=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fh));function mT(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,L8(n,t,void 0,e),e.currentTarget=null}function hD(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var u=n[o],l=u.instance,f=u.currentTarget;if(u=u.listener,l!==a&&i.isPropagationStopped())break e;mT(i,u,f),a=l}else for(o=0;o<n.length;o++){if(u=n[o],l=u.instance,f=u.currentTarget,u=u.listener,l!==a&&i.isPropagationStopped())break e;mT(i,u,f),a=l}}}if(m0)throw e=Y_,m0=!1,Y_=null,e}function Rn(e,t){var r=bD(t),n=e+"__bubble";r.has(n)||(gD(t,e,2,!1),r.add(n))}var yT="_reactListening"+Math.random().toString(36).slice(2);function vD(e){e[yT]||(e[yT]=!0,kk.forEach(function(t){pD.has(t)||bT(t,!1,e,null),bT(t,!0,e,null)}))}function bT(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&&pD.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=bD(a),u=e+"__"+(t?"capture":"bubble");o.has(u)||(t&&(i|=4),gD(a,e,i,t),o.add(u))}function gD(e,t,r,n){var i=tE.get(t);switch(i===void 0?2:i){case 0:i=K8;break;case 1:i=Z8;break;default:i=nE}r=i.bind(null,t,r,e),i=void 0,!V_||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 mD(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 u=n.stateNode.containerInfo;if(u===i||u.nodeType===8&&u.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;u!==null;){if(o=kf(u),o===null)return;if(l=o.tag,l===5||l===6){n=a=o;continue e}u=u.parentNode}}n=n.return}D8(function(){var f=a,p=Q2(r),g=[];e:{var v=nD.get(e);if(v!==void 0){var y=oE,C=e;switch(e){case"keypress":if(Ym(r)===0)break e;case"keydown":case"keyup":y=p$;break;case"focusin":C="focus",y=_b;break;case"focusout":C="blur",y=_b;break;case"beforeblur":case"afterblur":y=_b;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=iT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=t$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=g$;break;case Jk:case eD:case tD:y=i$;break;case rD:y=y$;break;case"scroll":y=J8;break;case"wheel":y=x$;break;case"copy":case"cut":case"paste":y=o$;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=oT}var O=(t&4)!==0,S=!O&&e==="scroll",w=O?v!==null?v+"Capture":null:v;O=[];for(var A=f,R;A!==null;){R=A;var P=R.stateNode;if(R.tag===5&&P!==null&&(R=P,w!==null&&(P=mv(A,w),P!=null&&O.push(Sv(A,P,R)))),S)break;A=A.return}0<O.length&&(v=new y(v,C,null,r,p),g.push({event:v,listeners:O}))}}if((t&7)===0){e:{if(v=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",v&&(t&16)===0&&(C=r.relatedTarget||r.fromElement)&&(kf(C)||C[sp]))break e;if((y||v)&&(v=p.window===p?p:(v=p.ownerDocument)?v.defaultView||v.parentWindow:window,y?(C=r.relatedTarget||r.toElement,y=f,C=C?kf(C):null,C!==null&&(S=oc(C),C!==S||C.tag!==5&&C.tag!==6)&&(C=null)):(y=null,C=f),y!==C)){if(O=iT,P="onMouseLeave",w="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(O=oT,P="onPointerLeave",w="onPointerEnter",A="pointer"),S=y==null?v:vd(y),R=C==null?v:vd(C),v=new O(P,A+"leave",y,r,p),v.target=S,v.relatedTarget=R,P=null,kf(p)===f&&(O=new O(w,A+"enter",C,r,p),O.target=R,O.relatedTarget=S,P=O),S=P,y&&C)t:{for(O=y,w=C,A=0,R=O;R;R=Qc(R))A++;for(R=0,P=w;P;P=Qc(P))R++;for(;0<A-R;)O=Qc(O),A--;for(;0<R-A;)w=Qc(w),R--;for(;A--;){if(O===w||w!==null&&O===w.alternate)break t;O=Qc(O),w=Qc(w)}O=null}else O=null;y!==null&&xT(g,v,y,O,!1),C!==null&&S!==null&&xT(g,S,C,O,!0)}}e:{if(v=f?vd(f):window,y=v.nodeName&&v.nodeName.toLowerCase(),y==="select"||y==="input"&&v.type==="file")var N=T$;else if(lT(v))if(fD)N=P$;else{N=R$;var m=O$}else(y=v.nodeName)&&y.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(N=I$);if(N&&(N=N(e,f))){lD(g,N,r,p);break e}m&&m(e,v,f),e==="focusout"&&(m=v._wrapperState)&&m.controlled&&v.type==="number"&&$_(v,"number",v.value)}switch(m=f?vd(f):window,e){case"focusin":(lT(m)||m.contentEditable==="true")&&(hd=m,Z_=f,Jh=null);break;case"focusout":Jh=Z_=hd=null;break;case"mousedown":J_=!0;break;case"contextmenu":case"mouseup":case"dragend":J_=!1,vT(g,r,p);break;case"selectionchange":if(M$)break;case"keydown":case"keyup":vT(g,r,p)}var G;if(sE)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else pd?uD(e,r)&&(L="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(L="onCompositionStart");L&&(oD&&r.locale!=="ko"&&(pd||L!=="onCompositionStart"?L==="onCompositionEnd"&&pd&&(G=aD()):(ll=p,aE="value"in ll?ll.value:ll.textContent,pd=!0)),m=b0(f,L),0<m.length&&(L=new aT(L,e,null,r,p),g.push({event:L,listeners:m}),G?L.data=G:(G=sD(r),G!==null&&(L.data=G)))),(G=_$?S$(e,r):E$(e,r))&&(f=b0(f,"onBeforeInput"),0<f.length&&(p=new aT("onBeforeInput","beforeinput",null,r,p),g.push({event:p,listeners:f}),p.data=G))}hD(g,t)})}function Sv(e,t,r){return{instance:e,listener:t,currentTarget:r}}function b0(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=mv(e,r),a!=null&&n.unshift(Sv(e,a,i)),a=mv(e,t),a!=null&&n.push(Sv(e,a,i))),e=e.return}return n}function Qc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xT(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var u=r,l=u.alternate,f=u.stateNode;if(l!==null&&l===n)break;u.tag===5&&f!==null&&(u=f,i?(l=mv(r,a),l!=null&&o.unshift(Sv(r,l,u))):i||(l=mv(r,a),l!=null&&o.push(Sv(r,l,u)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function x0(){}var Ab=null,Tb=null;function yD(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function eS(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 wT=typeof setTimeout=="function"?setTimeout:void 0,N$=typeof clearTimeout=="function"?clearTimeout:void 0;function lE(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ad(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function _T(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 Ob=0;function F$(e){return{$$typeof:Y2,toString:e,valueOf:e}}var Uy=Math.random().toString(36).slice(2),fl="__reactFiber$"+Uy,w0="__reactProps$"+Uy,sp="__reactContainer$"+Uy,ST="__reactEvents$"+Uy;function kf(e){var t=e[fl];if(t)return t;for(var r=e.parentNode;r;){if(t=r[sp]||r[fl]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=_T(e);e!==null;){if(r=e[fl])return r;e=_T(e)}return t}e=r,r=e.parentNode}return null}function Qv(e){return e=e[fl]||e[sp],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function vd(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Mt(33))}function Wy(e){return e[w0]||null}function bD(e){var t=e[ST];return t===void 0&&(t=e[ST]=new Set),t}var tS=[],gd=-1;function zl(e){return{current:e}}function In(e){0>gd||(e.current=tS[gd],tS[gd]=null,gd--)}function qn(e,t){gd++,tS[gd]=e.current,e.current=t}var Rl={},ra=zl(Rl),Oa=zl(!1),Gf=Rl;function jd(e,t){var r=e.type.contextTypes;if(!r)return Rl;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 Ra(e){return e=e.childContextTypes,e!=null}function _0(){In(Oa),In(ra)}function ET(e,t,r){if(ra.current!==Rl)throw Error(Mt(168));qn(ra,t),qn(Oa,r)}function xD(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(Mt(108,_d(t)||"Unknown",i));return Mn({},r,n)}function Xm(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rl,Gf=ra.current,qn(ra,e),qn(Oa,Oa.current),!0}function CT(e,t,r){var n=e.stateNode;if(!n)throw Error(Mt(169));r?(e=xD(e,t,Gf),n.__reactInternalMemoizedMergedChildContext=e,In(Oa),In(ra),qn(ra,e)):In(Oa),qn(Oa,r)}var fE=null,$f=null,L$=Ii.unstable_runWithPriority,cE=Ii.unstable_scheduleCallback,rS=Ii.unstable_cancelCallback,B$=Ii.unstable_shouldYield,AT=Ii.unstable_requestPaint,nS=Ii.unstable_now,$$=Ii.unstable_getCurrentPriorityLevel,qy=Ii.unstable_ImmediatePriority,wD=Ii.unstable_UserBlockingPriority,_D=Ii.unstable_NormalPriority,SD=Ii.unstable_LowPriority,ED=Ii.unstable_IdlePriority,Rb={},z$=AT!==void 0?AT:function(){},ss=null,Qm=null,Ib=!1,TT=nS(),ea=1e4>TT?nS:function(){return nS()-TT};function Ud(){switch($$()){case qy:return 99;case wD:return 98;case _D:return 97;case SD:return 96;case ED:return 95;default:throw Error(Mt(332))}}function CD(e){switch(e){case 99:return qy;case 98:return wD;case 97:return _D;case 96:return SD;case 95:return ED;default:throw Error(Mt(332))}}function Hf(e,t){return e=CD(e),L$(e,t)}function Ev(e,t,r){return e=CD(e),cE(e,t,r)}function Nu(){if(Qm!==null){var e=Qm;Qm=null,rS(e)}AD()}function AD(){if(!Ib&&ss!==null){Ib=!0;var e=0;try{var t=ss;Hf(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),ss=null}catch(r){throw ss!==null&&(ss=ss.slice(e+1)),cE(qy,Nu),r}finally{Ib=!1}}}var j$=ac.ReactCurrentBatchConfig;function Go(e,t){if(e&&e.defaultProps){t=Mn({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var S0=zl(null),E0=null,md=null,C0=null;function dE(){C0=md=E0=null}function pE(e){var t=S0.current;In(S0),e.type._context._currentValue=t}function TD(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 Td(e,t){E0=e,C0=md=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ho=!0),e.firstContext=null)}function Co(e,t){if(C0!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(C0=e,t=1073741823),t={context:e,observedBits:t,next:null},md===null){if(E0===null)throw Error(Mt(308));md=t,E0.dependencies={lanes:0,firstContext:t,responders:null}}else md=md.next=t;return e._currentValue}var nl=!1;function hE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function OD(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 bl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xl(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 OT(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 Cv(e,t,r,n){var i=e.updateQueue;nl=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var l=u,f=l.next;l.next=null,o===null?a=f:o.next=f,o=l;var p=e.alternate;if(p!==null){p=p.updateQueue;var g=p.lastBaseUpdate;g!==o&&(g===null?p.firstBaseUpdate=f:g.next=f,p.lastBaseUpdate=l)}}if(a!==null){g=i.baseState,o=0,p=f=l=null;do{u=a.lane;var v=a.eventTime;if((n&u)===u){p!==null&&(p=p.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,C=a;switch(u=t,v=r,C.tag){case 1:if(y=C.payload,typeof y=="function"){g=y.call(v,g,u);break e}g=y;break e;case 3:y.flags=y.flags&-4097|64;case 0:if(y=C.payload,u=typeof y=="function"?y.call(v,g,u):y,u==null)break e;g=Mn({},g,u);break e;case 2:nl=!0}}a.callback!==null&&(e.flags|=32,u=i.effects,u===null?i.effects=[a]:u.push(a))}else v={eventTime:v,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(f=p=v,l=g):p=p.next=v,o|=u;if(a=a.next,a===null){if(u=i.shared.pending,u===null)break;a=u.next,u.next=null,i.lastBaseUpdate=u,i.shared.pending=null}}while(1);p===null&&(l=g),i.baseState=l,i.firstBaseUpdate=f,i.lastBaseUpdate=p,Zv|=o,e.lanes=o,e.memoizedState=g}}function RT(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(Mt(191,i));i.call(n)}}}var RD=new Ny.Component().refs;function A0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Mn({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Gy={isMounted:function(e){return(e=e._reactInternals)?oc(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ya(),i=wl(e),a=bl(n,i);a.payload=t,r!=null&&(a.callback=r),xl(e,a),_l(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ya(),i=wl(e),a=bl(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),xl(e,a),_l(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ya(),n=wl(e),i=bl(r,n);i.tag=2,t!=null&&(i.callback=t),xl(e,i),_l(e,n,r)}};function IT(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?!_v(r,n)||!_v(i,a):!0}function ID(e,t,r){var n=!1,i=Rl,a=t.contextType;return typeof a=="object"&&a!==null?a=Co(a):(i=Ra(t)?Gf:ra.current,n=t.contextTypes,a=(n=n!=null)?jd(e,i):Rl),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Gy,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function PT(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&&Gy.enqueueReplaceState(t,t.state,null)}function iS(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=RD,hE(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Co(a):(a=Ra(t)?Gf:ra.current,i.context=jd(e,a)),Cv(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(A0(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&&Gy.enqueueReplaceState(i,i.state,null),Cv(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Zg=Array.isArray;function sh(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(Mt(309));var n=r.stateNode}if(!n)throw Error(Mt(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===RD&&(o=n.refs={}),a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(Mt(284));if(!r._owner)throw Error(Mt(290,e))}return e}function Jg(e,t){if(e.type!=="textarea")throw Error(Mt(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function PD(e){function t(S,w){if(e){var A=S.lastEffect;A!==null?(A.nextEffect=w,S.lastEffect=w):S.firstEffect=S.lastEffect=w,w.nextEffect=null,w.flags=8}}function r(S,w){if(!e)return null;for(;w!==null;)t(S,w),w=w.sibling;return null}function n(S,w){for(S=new Map;w!==null;)w.key!==null?S.set(w.key,w):S.set(w.index,w),w=w.sibling;return S}function i(S,w){return S=Pl(S,w),S.index=0,S.sibling=null,S}function a(S,w,A){return S.index=A,e?(A=S.alternate,A!==null?(A=A.index,A<w?(S.flags=2,w):A):(S.flags=2,w)):w}function o(S){return e&&S.alternate===null&&(S.flags=2),S}function u(S,w,A,R){return w===null||w.tag!==6?(w=Nb(A,S.mode,R),w.return=S,w):(w=i(w,A),w.return=S,w)}function l(S,w,A,R){return w!==null&&w.elementType===A.type?(R=i(w,A.props),R.ref=sh(S,w,A),R.return=S,R):(R=e0(A.type,A.key,A.props,null,S.mode,R),R.ref=sh(S,w,A),R.return=S,R)}function f(S,w,A,R){return w===null||w.tag!==4||w.stateNode.containerInfo!==A.containerInfo||w.stateNode.implementation!==A.implementation?(w=Fb(A,S.mode,R),w.return=S,w):(w=i(w,A.children||[]),w.return=S,w)}function p(S,w,A,R,P){return w===null||w.tag!==7?(w=Pd(A,S.mode,R,P),w.return=S,w):(w=i(w,A),w.return=S,w)}function g(S,w,A){if(typeof w=="string"||typeof w=="number")return w=Nb(""+w,S.mode,A),w.return=S,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Mh:return A=e0(w.type,w.key,w.props,null,S.mode,A),A.ref=sh(S,null,w),A.return=S,A;case If:return w=Fb(w,S.mode,A),w.return=S,w}if(Zg(w)||rh(w))return w=Pd(w,S.mode,A,null),w.return=S,w;Jg(S,w)}return null}function v(S,w,A,R){var P=w!==null?w.key:null;if(typeof A=="string"||typeof A=="number")return P!==null?null:u(S,w,""+A,R);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case Mh:return A.key===P?A.type===ul?p(S,w,A.props.children,R,P):l(S,w,A,R):null;case If:return A.key===P?f(S,w,A,R):null}if(Zg(A)||rh(A))return P!==null?null:p(S,w,A,R,null);Jg(S,A)}return null}function y(S,w,A,R,P){if(typeof R=="string"||typeof R=="number")return S=S.get(A)||null,u(w,S,""+R,P);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case Mh:return S=S.get(R.key===null?A:R.key)||null,R.type===ul?p(w,S,R.props.children,P,R.key):l(w,S,R,P);case If:return S=S.get(R.key===null?A:R.key)||null,f(w,S,R,P)}if(Zg(R)||rh(R))return S=S.get(A)||null,p(w,S,R,P,null);Jg(w,R)}return null}function C(S,w,A,R){for(var P=null,N=null,m=w,G=w=0,L=null;m!==null&&G<A.length;G++){m.index>G?(L=m,m=null):L=m.sibling;var $=v(S,m,A[G],R);if($===null){m===null&&(m=L);break}e&&m&&$.alternate===null&&t(S,m),w=a($,w,G),N===null?P=$:N.sibling=$,N=$,m=L}if(G===A.length)return r(S,m),P;if(m===null){for(;G<A.length;G++)m=g(S,A[G],R),m!==null&&(w=a(m,w,G),N===null?P=m:N.sibling=m,N=m);return P}for(m=n(S,m);G<A.length;G++)L=y(m,S,G,A[G],R),L!==null&&(e&&L.alternate!==null&&m.delete(L.key===null?G:L.key),w=a(L,w,G),N===null?P=L:N.sibling=L,N=L);return e&&m.forEach(function(ae){return t(S,ae)}),P}function O(S,w,A,R){var P=rh(A);if(typeof P!="function")throw Error(Mt(150));if(A=P.call(A),A==null)throw Error(Mt(151));for(var N=P=null,m=w,G=w=0,L=null,$=A.next();m!==null&&!$.done;G++,$=A.next()){m.index>G?(L=m,m=null):L=m.sibling;var ae=v(S,m,$.value,R);if(ae===null){m===null&&(m=L);break}e&&m&&ae.alternate===null&&t(S,m),w=a(ae,w,G),N===null?P=ae:N.sibling=ae,N=ae,m=L}if($.done)return r(S,m),P;if(m===null){for(;!$.done;G++,$=A.next())$=g(S,$.value,R),$!==null&&(w=a($,w,G),N===null?P=$:N.sibling=$,N=$);return P}for(m=n(S,m);!$.done;G++,$=A.next())$=y(m,S,G,$.value,R),$!==null&&(e&&$.alternate!==null&&m.delete($.key===null?G:$.key),w=a($,w,G),N===null?P=$:N.sibling=$,N=$);return e&&m.forEach(function(ve){return t(S,ve)}),P}return function(S,w,A,R){var P=typeof A=="object"&&A!==null&&A.type===ul&&A.key===null;P&&(A=A.props.children);var N=typeof A=="object"&&A!==null;if(N)switch(A.$$typeof){case Mh:e:{for(N=A.key,P=w;P!==null;){if(P.key===N){switch(P.tag){case 7:if(A.type===ul){r(S,P.sibling),w=i(P,A.props.children),w.return=S,S=w;break e}break;default:if(P.elementType===A.type){r(S,P.sibling),w=i(P,A.props),w.ref=sh(S,P,A),w.return=S,S=w;break e}}r(S,P);break}else t(S,P);P=P.sibling}A.type===ul?(w=Pd(A.props.children,S.mode,R,A.key),w.return=S,S=w):(R=e0(A.type,A.key,A.props,null,S.mode,R),R.ref=sh(S,w,A),R.return=S,S=R)}return o(S);case If:e:{for(P=A.key;w!==null;){if(w.key===P)if(w.tag===4&&w.stateNode.containerInfo===A.containerInfo&&w.stateNode.implementation===A.implementation){r(S,w.sibling),w=i(w,A.children||[]),w.return=S,S=w;break e}else{r(S,w);break}else t(S,w);w=w.sibling}w=Fb(A,S.mode,R),w.return=S,S=w}return o(S)}if(typeof A=="string"||typeof A=="number")return A=""+A,w!==null&&w.tag===6?(r(S,w.sibling),w=i(w,A),w.return=S,S=w):(r(S,w),w=Nb(A,S.mode,R),w.return=S,S=w),o(S);if(Zg(A))return C(S,w,A,R);if(rh(A))return O(S,w,A,R);if(N&&Jg(S,A),typeof A>"u"&&!P)switch(S.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Mt(152,_d(S.type)||"Component"))}return r(S,w)}}var T0=PD(!0),kD=PD(!1),Kv={},Ru=zl(Kv),Av=zl(Kv),Tv=zl(Kv);function Df(e){if(e===Kv)throw Error(Mt(174));return e}function aS(e,t){switch(qn(Tv,t),qn(Av,e),qn(Ru,Kv),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:W_(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=W_(t,e)}In(Ru),qn(Ru,t)}function Wd(){In(Ru),In(Av),In(Tv)}function kT(e){Df(Tv.current);var t=Df(Ru.current),r=W_(t,e.type);t!==r&&(qn(Av,e),qn(Ru,r))}function vE(e){Av.current===e&&(In(Ru),In(Av))}var Wn=zl(0);function O0(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 cs=null,cl=null,Iu=!1;function DD(e,t){var r=bo(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 DT(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 oS(e){if(Iu){var t=cl;if(t){var r=t;if(!DT(e,t)){if(t=Ad(r.nextSibling),!t||!DT(e,t)){e.flags=e.flags&-1025|2,Iu=!1,cs=e;return}DD(cs,r)}cs=e,cl=Ad(t.firstChild)}else e.flags=e.flags&-1025|2,Iu=!1,cs=e}}function MT(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;cs=e}function em(e){if(e!==cs)return!1;if(!Iu)return MT(e),Iu=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!eS(t,e.memoizedProps))for(t=cl;t;)DD(e,t),t=Ad(t.nextSibling);if(MT(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Mt(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){cl=Ad(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}cl=null}}else cl=cs?Ad(e.stateNode.nextSibling):null;return!0}function Pb(){cl=cs=null,Iu=!1}var Od=[];function gE(){for(var e=0;e<Od.length;e++)Od[e]._workInProgressVersionPrimary=null;Od.length=0}var ev=ac.ReactCurrentDispatcher,_o=ac.ReactCurrentBatchConfig,Ov=0,Xn=null,Ji=null,Wi=null,R0=!1,tv=!1;function Ea(){throw Error(Mt(321))}function mE(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!yo(e[r],t[r]))return!1;return!0}function yE(e,t,r,n,i,a){if(Ov=a,Xn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ev.current=e===null||e.memoizedState===null?W$:q$,e=r(n,i),tv){a=0;do{if(tv=!1,!(25>a))throw Error(Mt(301));a+=1,Wi=Ji=null,t.updateQueue=null,ev.current=G$,e=r(n,i)}while(tv)}if(ev.current=D0,t=Ji!==null&&Ji.next!==null,Ov=0,Wi=Ji=Xn=null,R0=!1,t)throw Error(Mt(300));return e}function Mf(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wi===null?Xn.memoizedState=Wi=e:Wi=Wi.next=e,Wi}function uc(){if(Ji===null){var e=Xn.alternate;e=e!==null?e.memoizedState:null}else e=Ji.next;var t=Wi===null?Xn.memoizedState:Wi.next;if(t!==null)Wi=t,Ji=e;else{if(e===null)throw Error(Mt(310));Ji=e,e={memoizedState:Ji.memoizedState,baseState:Ji.baseState,baseQueue:Ji.baseQueue,queue:Ji.queue,next:null},Wi===null?Xn.memoizedState=Wi=e:Wi=Wi.next=e}return Wi}function Au(e,t){return typeof t=="function"?t(e):t}function lh(e){var t=uc(),r=t.queue;if(r===null)throw Error(Mt(311));r.lastRenderedReducer=e;var n=Ji,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var u=o=a=null,l=i;do{var f=l.lane;if((Ov&f)===f)u!==null&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),n=l.eagerReducer===e?l.eagerState:e(n,l.action);else{var p={lane:f,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};u===null?(o=u=p,a=n):u=u.next=p,Xn.lanes|=f,Zv|=f}l=l.next}while(l!==null&&l!==i);u===null?a=n:u.next=o,yo(n,t.memoizedState)||(Ho=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=u,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function fh(e){var t=uc(),r=t.queue;if(r===null)throw Error(Mt(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);yo(a,t.memoizedState)||(Ho=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function NT(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=(Ov&e)===e)&&(t._workInProgressVersionPrimary=n,Od.push(t))),e)return r(t._source);throw Od.push(t),Error(Mt(350))}function MD(e,t,r,n){var i=ha;if(i===null)throw Error(Mt(349));var a=t._getVersion,o=a(t._source),u=ev.current,l=u.useState(function(){return NT(i,t,r)}),f=l[1],p=l[0];l=Wi;var g=e.memoizedState,v=g.refs,y=v.getSnapshot,C=g.source;g=g.subscribe;var O=Xn;return e.memoizedState={refs:v,source:t,subscribe:n},u.useEffect(function(){v.getSnapshot=r,v.setSnapshot=f;var S=a(t._source);if(!yo(o,S)){S=r(t._source),yo(p,S)||(f(S),S=wl(O),i.mutableReadLanes|=S&i.pendingLanes),S=i.mutableReadLanes,i.entangledLanes|=S;for(var w=i.entanglements,A=S;0<A;){var R=31-Ol(A),P=1<<R;w[R]|=S,A&=~P}}},[r,t,n]),u.useEffect(function(){return n(t._source,function(){var S=v.getSnapshot,w=v.setSnapshot;try{w(S(t._source));var A=wl(O);i.mutableReadLanes|=A&i.pendingLanes}catch(R){w(function(){throw R})}})},[t,n]),yo(y,r)&&yo(C,t)&&yo(g,n)||(e={pending:null,dispatch:null,lastRenderedReducer:Au,lastRenderedState:p},e.dispatch=f=wE.bind(null,Xn,e),l.queue=e,l.baseQueue=null,p=NT(i,t,r),l.memoizedState=l.baseState=p),p}function ND(e,t,r){var n=uc();return MD(n,e,t,r)}function ch(e){var t=Mf();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Au,lastRenderedState:e},e=e.dispatch=wE.bind(null,Xn,e),[t.memoizedState,e]}function I0(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Xn.updateQueue,t===null?(t={lastEffect:null},Xn.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 FT(e){var t=Mf();return e={current:e},t.memoizedState=e}function P0(){return uc().memoizedState}function uS(e,t,r,n){var i=Mf();Xn.flags|=e,i.memoizedState=I0(1|t,r,void 0,n===void 0?null:n)}function bE(e,t,r,n){var i=uc();n=n===void 0?null:n;var a=void 0;if(Ji!==null){var o=Ji.memoizedState;if(a=o.destroy,n!==null&&mE(n,o.deps)){I0(t,r,a,n);return}}Xn.flags|=e,i.memoizedState=I0(1|t,r,a,n)}function LT(e,t){return uS(516,4,e,t)}function k0(e,t){return bE(516,4,e,t)}function FD(e,t){return bE(4,2,e,t)}function LD(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 BD(e,t,r){return r=r!=null?r.concat([e]):null,bE(4,2,LD.bind(null,t,e),r)}function xE(){}function $D(e,t){var r=uc();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&mE(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function zD(e,t){var r=uc();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&mE(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function U$(e,t){var r=Ud();Hf(98>r?98:r,function(){e(!0)}),Hf(97<r?97:r,function(){var n=_o.transition;_o.transition=1;try{e(!1),t()}finally{_o.transition=n}})}function wE(e,t,r){var n=Ya(),i=wl(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===Xn||o!==null&&o===Xn)tv=R0=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var u=t.lastRenderedState,l=o(u,r);if(a.eagerReducer=o,a.eagerState=l,yo(l,u))return}catch{}finally{}_l(e,i,n)}}var D0={readContext:Co,useCallback:Ea,useContext:Ea,useEffect:Ea,useImperativeHandle:Ea,useLayoutEffect:Ea,useMemo:Ea,useReducer:Ea,useRef:Ea,useState:Ea,useDebugValue:Ea,useDeferredValue:Ea,useTransition:Ea,useMutableSource:Ea,useOpaqueIdentifier:Ea,unstable_isNewReconciler:!1},W$={readContext:Co,useCallback:function(e,t){return Mf().memoizedState=[e,t===void 0?null:t],e},useContext:Co,useEffect:LT,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,uS(4,2,LD.bind(null,t,e),r)},useLayoutEffect:function(e,t){return uS(4,2,e,t)},useMemo:function(e,t){var r=Mf();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Mf();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=wE.bind(null,Xn,e),[n.memoizedState,e]},useRef:FT,useState:ch,useDebugValue:xE,useDeferredValue:function(e){var t=ch(e),r=t[0],n=t[1];return LT(function(){var i=_o.transition;_o.transition=1;try{n(e)}finally{_o.transition=i}},[e]),r},useTransition:function(){var e=ch(!1),t=e[0];return e=U$.bind(null,e[1]),FT(e),[e,t]},useMutableSource:function(e,t,r){var n=Mf();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},MD(n,e,t,r)},useOpaqueIdentifier:function(){if(Iu){var e=!1,t=F$(function(){throw e||(e=!0,r("r:"+(Ob++).toString(36))),Error(Mt(355))}),r=ch(t)[1];return(Xn.mode&2)===0&&(Xn.flags|=516,I0(5,function(){r("r:"+(Ob++).toString(36))},void 0,null)),t}return t="r:"+(Ob++).toString(36),ch(t),t},unstable_isNewReconciler:!1},q$={readContext:Co,useCallback:$D,useContext:Co,useEffect:k0,useImperativeHandle:BD,useLayoutEffect:FD,useMemo:zD,useReducer:lh,useRef:P0,useState:function(){return lh(Au)},useDebugValue:xE,useDeferredValue:function(e){var t=lh(Au),r=t[0],n=t[1];return k0(function(){var i=_o.transition;_o.transition=1;try{n(e)}finally{_o.transition=i}},[e]),r},useTransition:function(){var e=lh(Au)[0];return[P0().current,e]},useMutableSource:ND,useOpaqueIdentifier:function(){return lh(Au)[0]},unstable_isNewReconciler:!1},G$={readContext:Co,useCallback:$D,useContext:Co,useEffect:k0,useImperativeHandle:BD,useLayoutEffect:FD,useMemo:zD,useReducer:fh,useRef:P0,useState:function(){return fh(Au)},useDebugValue:xE,useDeferredValue:function(e){var t=fh(Au),r=t[0],n=t[1];return k0(function(){var i=_o.transition;_o.transition=1;try{n(e)}finally{_o.transition=i}},[e]),r},useTransition:function(){var e=fh(Au)[0];return[P0().current,e]},useMutableSource:ND,useOpaqueIdentifier:function(){return fh(Au)[0]},unstable_isNewReconciler:!1},H$=ac.ReactCurrentOwner,Ho=!1;function Aa(e,t,r,n){t.child=e===null?kD(t,null,r,n):T0(t,e.child,r,n)}function BT(e,t,r,n,i){r=r.render;var a=t.ref;return Td(t,i),n=yE(e,t,r,n,a,i),e!==null&&!Ho?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ds(e,t,i)):(t.flags|=1,Aa(e,t,n,i),t.child)}function $T(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!TE(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,jD(e,t,o,n,i,a)):(e=e0(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:_v,r(i,n)&&e.ref===t.ref)?ds(e,t,a):(t.flags|=1,e=Pl(o,n),e.ref=t.ref,e.return=t,t.child=e)}function jD(e,t,r,n,i,a){if(e!==null&&_v(e.memoizedProps,n)&&e.ref===t.ref)if(Ho=!1,(a&i)!==0)(e.flags&16384)!==0&&(Ho=!0);else return t.lanes=e.lanes,ds(e,t,a);return sS(e,t,r,n,a)}function kb(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},rm(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},rm(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},rm(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,rm(t,n);return Aa(e,t,i,r),t.child}function UD(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function sS(e,t,r,n,i){var a=Ra(r)?Gf:ra.current;return a=jd(t,a),Td(t,i),r=yE(e,t,r,n,a,i),e!==null&&!Ho?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ds(e,t,i)):(t.flags|=1,Aa(e,t,r,i),t.child)}function zT(e,t,r,n,i){if(Ra(r)){var a=!0;Xm(t)}else a=!1;if(Td(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),ID(t,r,n),iS(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var l=o.context,f=r.contextType;typeof f=="object"&&f!==null?f=Co(f):(f=Ra(r)?Gf:ra.current,f=jd(t,f));var p=r.getDerivedStateFromProps,g=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==n||l!==f)&&PT(t,o,n,f),nl=!1;var v=t.memoizedState;o.state=v,Cv(t,n,o,i),l=t.memoizedState,u!==n||v!==l||Oa.current||nl?(typeof p=="function"&&(A0(t,r,p,n),l=t.memoizedState),(u=nl||IT(t,r,u,n,v,l,f))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=f,n=u):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,OD(e,t),u=t.memoizedProps,f=t.type===t.elementType?u:Go(t.type,u),o.props=f,g=t.pendingProps,v=o.context,l=r.contextType,typeof l=="object"&&l!==null?l=Co(l):(l=Ra(r)?Gf:ra.current,l=jd(t,l));var y=r.getDerivedStateFromProps;(p=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==g||v!==l)&&PT(t,o,n,l),nl=!1,v=t.memoizedState,o.state=v,Cv(t,n,o,i);var C=t.memoizedState;u!==g||v!==C||Oa.current||nl?(typeof y=="function"&&(A0(t,r,y,n),C=t.memoizedState),(f=nl||IT(t,r,f,n,v,C,l))?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,C,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,C,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=C),o.props=n,o.state=C,o.context=l,n=f):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=256),n=!1)}return lS(e,t,r,n,a,i)}function lS(e,t,r,n,i,a){UD(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&CT(t,r,!1),ds(e,t,a);n=t.stateNode,H$.current=t;var u=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=T0(t,e.child,null,a),t.child=T0(t,null,u,a)):Aa(e,t,u,a),t.memoizedState=n.state,i&&CT(t,r,!0),t.child}function jT(e){var t=e.stateNode;t.pendingContext?ET(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ET(e,t.context,!1),aS(e,t.containerInfo)}var tm={dehydrated:null,retryLane:0};function UT(e,t,r){var n=t.pendingProps,i=Wn.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),qn(Wn,i&1),e===null?(n.fallback!==void 0&&oS(t),e=n.children,i=n.fallback,a?(e=WT(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=tm,e):typeof n.unstable_expectedLoadTime=="number"?(e=WT(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=tm,t.lanes=33554432,e):(r=OE({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=GT(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=tm,n):(r=qT(e,t,n.children,r),t.memoizedState=null,r):a?(n=GT(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=tm,n):(r=qT(e,t,n.children,r),t.memoizedState=null,r)}function WT(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=OE(t,i,0,null),r=Pd(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function qT(e,t,r,n){var i=e.child;return e=i.sibling,r=Pl(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 GT(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var u={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=Pl(o,u),e!==null?n=Pl(e,n):(n=Pd(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function HT(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),TD(e.return,t)}function Db(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 VT(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(Aa(e,t,n.children,r),n=Wn.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&&HT(e,r);else if(e.tag===19)HT(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(qn(Wn,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&&O0(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Db(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&&O0(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Db(t,!0,r,null,a,t.lastEffect);break;case"together":Db(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ds(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Zv|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(Mt(153));if(t.child!==null){for(e=t.child,r=Pl(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Pl(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var WD,fS,qD,GD;WD=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}};fS=function(){};qD=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Df(Ru.current);var a=null;switch(r){case"input":i=L_(e,i),n=L_(e,n),a=[];break;case"option":i=z_(e,i),n=z_(e,n),a=[];break;case"select":i=Mn({},i,{value:void 0}),n=Mn({},n,{value:void 0}),a=[];break;case"textarea":i=j_(e,i),n=j_(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=x0)}q_(r,n);var o;r=null;for(f in i)if(!n.hasOwnProperty(f)&&i.hasOwnProperty(f)&&i[f]!=null)if(f==="style"){var u=i[f];for(o in u)u.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(vv.hasOwnProperty(f)?a||(a=[]):(a=a||[]).push(f,null));for(f in n){var l=n[f];if(u=i!=null?i[f]:void 0,n.hasOwnProperty(f)&&l!==u&&(l!=null||u!=null))if(f==="style")if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(r||(r={}),r[o]=l[o])}else r||(a||(a=[]),a.push(f,r)),r=l;else f==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,u=u?u.__html:void 0,l!=null&&u!==l&&(a=a||[]).push(f,l)):f==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(f,""+l):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(vv.hasOwnProperty(f)?(l!=null&&f==="onScroll"&&Rn("scroll",e),a||u===l||(a=[])):typeof l=="object"&&l!==null&&l.$$typeof===Y2?l.toString():(a=a||[]).push(f,l))}r&&(a=a||[]).push("style",r);var f=a;(t.updateQueue=f)&&(t.flags|=4)}};GD=function(e,t,r,n){r!==n&&(t.flags|=4)};function dh(e,t){if(!Iu)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 V$(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 Ra(t.type)&&_0(),null;case 3:return Wd(),In(Oa),In(ra),gE(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(em(t)?t.flags|=4:n.hydrate||(t.flags|=256)),fS(t),null;case 5:vE(t);var i=Df(Tv.current);if(r=t.type,e!==null&&t.stateNode!=null)qD(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(Mt(166));return null}if(e=Df(Ru.current),em(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[fl]=t,n[w0]=a,r){case"dialog":Rn("cancel",n),Rn("close",n);break;case"iframe":case"object":case"embed":Rn("load",n);break;case"video":case"audio":for(e=0;e<Fh.length;e++)Rn(Fh[e],n);break;case"source":Rn("error",n);break;case"img":case"image":case"link":Rn("error",n),Rn("load",n);break;case"details":Rn("toggle",n);break;case"input":VA(n,a),Rn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Rn("invalid",n);break;case"textarea":XA(n,a),Rn("invalid",n)}q_(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]):vv.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Rn("scroll",n));switch(r){case"input":Yg(n),YA(n,a,!0);break;case"textarea":Yg(n),QA(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=x0)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===U_.html&&(e=Bk(r)),e===U_.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[fl]=t,e[w0]=n,WD(e,t,!1,!1),t.stateNode=e,o=G_(r,n),r){case"dialog":Rn("cancel",e),Rn("close",e),i=n;break;case"iframe":case"object":case"embed":Rn("load",e),i=n;break;case"video":case"audio":for(i=0;i<Fh.length;i++)Rn(Fh[i],e);i=n;break;case"source":Rn("error",e),i=n;break;case"img":case"image":case"link":Rn("error",e),Rn("load",e),i=n;break;case"details":Rn("toggle",e),i=n;break;case"input":VA(e,n),i=L_(e,n),Rn("invalid",e);break;case"option":i=z_(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Mn({},n,{value:void 0}),Rn("invalid",e);break;case"textarea":XA(e,n),i=j_(e,n),Rn("invalid",e);break;default:i=n}q_(r,i);var u=i;for(a in u)if(u.hasOwnProperty(a)){var l=u[a];a==="style"?jk(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&$k(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&gv(e,l):typeof l=="number"&&gv(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(vv.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Rn("scroll",e):l!=null&&U2(e,a,l,o))}switch(r){case"input":Yg(e),YA(e,n,!1);break;case"textarea":Yg(e),QA(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Tl(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Sd(e,!!n.multiple,a,!1):n.defaultValue!=null&&Sd(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=x0)}yD(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)GD(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(Mt(166));r=Df(Tv.current),Df(Ru.current),em(t)?(n=t.stateNode,r=t.memoizedProps,n[fl]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[fl]=t,t.stateNode=n)}return null;case 13:return In(Wn),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&em(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Wn.current&1)!==0?qi===0&&(qi=3):((qi===0||qi===3)&&(qi=4),ha===null||(Zv&134217727)===0&&(fp&134217727)===0||Rd(ha,ta))),(n||r)&&(t.flags|=4),null);case 4:return Wd(),fS(t),e===null&&vD(t.stateNode.containerInfo),null;case 10:return pE(t),null;case 17:return Ra(t.type)&&_0(),null;case 19:if(In(Wn),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)dh(n,!1);else{if(qi!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=O0(e),o!==null){for(t.flags|=64,dh(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 qn(Wn,Wn.current&1|2),t.child}e=e.sibling}n.tail!==null&&ea()>gS&&(t.flags|=64,a=!0,dh(n,!1),t.lanes=33554432)}else{if(!a)if(e=O0(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),dh(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Iu)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*ea()-n.renderingStartTime>gS&&r!==1073741824&&(t.flags|=64,a=!0,dh(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=ea(),r.sibling=null,t=Wn.current,qn(Wn,a?t&1|2:t&1),r):null;case 23:case 24:return AE(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(Mt(156,t.tag))}function Y$(e){switch(e.tag){case 1:Ra(e.type)&&_0();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Wd(),In(Oa),In(ra),gE(),t=e.flags,(t&64)!==0)throw Error(Mt(285));return e.flags=t&-4097|64,e;case 5:return vE(e),null;case 13:return In(Wn),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return In(Wn),null;case 4:return Wd(),null;case 10:return pE(e),null;case 23:case 24:return AE(),null;default:return null}}function _E(e,t){try{var r="",n=t;do r+=O8(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 cS(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var X$=typeof WeakMap=="function"?WeakMap:Map;function HD(e,t,r){r=bl(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){N0||(N0=!0,mS=n),cS(e,t)},r}function VD(e,t,r){r=bl(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return cS(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Tu===null?Tu=new Set([this]):Tu.add(this),cS(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var Q$=typeof WeakSet=="function"?WeakSet:Set;function YT(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Sl(e,r)}else t.current=null}function K$(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:Go(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&lE(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Mt(163))}function Z$(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&&(rM(r,e),oz(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:Go(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&RT(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}RT(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&yD(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&&Kk(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Mt(163))}function XT(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=zk("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 QT(e,t){if($f&&typeof $f.onCommitFiberUnmount=="function")try{$f.onCommitFiberUnmount(fE,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)rM(t,r);else{n=t;try{i()}catch(a){Sl(n,a)}}r=r.next}while(r!==e)}break;case 1:if(YT(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Sl(t,a)}break;case 5:YT(t);break;case 4:YD(e,t)}}function KT(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 ZT(e){return e.tag===5||e.tag===3||e.tag===4}function JT(e){e:{for(var t=e.return;t!==null;){if(ZT(t))break e;t=t.return}throw Error(Mt(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(Mt(161))}r.flags&16&&(gv(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||ZT(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?dS(e,r,t):pS(e,r,t)}function dS(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=x0));else if(n!==4&&(e=e.child,e!==null))for(dS(e,t,r),e=e.sibling;e!==null;)dS(e,t,r),e=e.sibling}function pS(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(pS(e,t,r),e=e.sibling;e!==null;)pS(e,t,r),e=e.sibling}function YD(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(Mt(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,u=r,l=u;;)if(QT(o,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}a?(o=i,u=r.stateNode,o.nodeType===8?o.parentNode.removeChild(u):o.removeChild(u)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(QT(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 Mb(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[w0]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Fk(r,n),G_(e,i),t=G_(e,n),i=0;i<a.length;i+=2){var o=a[i],u=a[i+1];o==="style"?jk(r,u):o==="dangerouslySetInnerHTML"?$k(r,u):o==="children"?gv(r,u):U2(r,o,u,t)}switch(e){case"input":B_(r,n);break;case"textarea":Lk(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Sd(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Sd(r,!!n.multiple,n.defaultValue,!0):Sd(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(Mt(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,Kk(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(CE=ea(),XT(t.child,!0)),eO(t);return;case 19:eO(t);return;case 17:return;case 23:case 24:XT(t,t.memoizedState!==null);return}throw Error(Mt(163))}function eO(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Q$),t.forEach(function(n){var i=lz.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function J$(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var ez=Math.ceil,M0=ac.ReactCurrentDispatcher,SE=ac.ReactCurrentOwner,kr=0,ha=null,gi=null,ta=0,Vf=0,hS=zl(0),qi=0,Hy=null,lp=0,Zv=0,fp=0,EE=0,vS=null,CE=0,gS=1/0;function cp(){gS=ea()+500}var fr=null,N0=!1,mS=null,Tu=null,Il=!1,rv=null,Lh=90,yS=[],bS=[],hs=null,nv=0,xS=null,Km=-1,ls=0,Zm=0,iv=null,Jm=!1;function Ya(){return(kr&48)!==0?ea():Km!==-1?Km:Km=ea()}function wl(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Ud()===99?1:2;if(ls===0&&(ls=lp),j$.transition!==0){Zm!==0&&(Zm=vS!==null?vS.pendingLanes:0),e=ls;var t=4186112&~Zm;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Ud(),(kr&4)!==0&&e===98?e=y0(12,ls):(e=q8(e),e=y0(e,ls)),e}function _l(e,t,r){if(50<nv)throw nv=0,xS=null,Error(Mt(185));if(e=Vy(e,t),e===null)return null;$y(e,t,r),e===ha&&(fp|=t,qi===4&&Rd(e,ta));var n=Ud();t===1?(kr&8)!==0&&(kr&48)===0?wS(e):(Ao(e,r),kr===0&&(cp(),Nu())):((kr&4)===0||n!==98&&n!==99||(hs===null?hs=new Set([e]):hs.add(e)),Ao(e,r)),vS=e}function Vy(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 Ao(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var u=31-Ol(o),l=1<<u,f=a[u];if(f===-1){if((l&n)===0||(l&i)!==0){f=t,ad(l);var p=Tn;a[u]=10<=p?f+250:6<=p?f+5e3:-1}}else f<=t&&(e.expiredLanes|=l);o&=~l}if(n=xv(e,e===ha?ta:0),t=Tn,n===0)r!==null&&(r!==Rb&&rS(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Rb&&rS(r)}t===15?(r=wS.bind(null,e),ss===null?(ss=[r],Qm=cE(qy,AD)):ss.push(r),r=Rb):t===14?r=Ev(99,wS.bind(null,e)):(r=G8(t),r=Ev(r,XD.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function XD(e){if(Km=-1,Zm=ls=0,(kr&48)!==0)throw Error(Mt(327));var t=e.callbackNode;if(jl()&&e.callbackNode!==t)return null;var r=xv(e,e===ha?ta:0);if(r===0)return null;var n=r,i=kr;kr|=16;var a=JD();(ha!==e||ta!==n)&&(cp(),Id(e,n));do try{nz();break}catch(u){ZD(e,u)}while(1);if(dE(),M0.current=a,kr=i,gi!==null?n=0:(ha=null,ta=0,n=qi),(lp&fp)!==0)Id(e,0);else if(n!==0){if(n===2&&(kr|=64,e.hydrate&&(e.hydrate=!1,lE(e.containerInfo)),r=iD(e),r!==0&&(n=Bh(e,r))),n===1)throw t=Hy,Id(e,0),Rd(e,r),Ao(e,ea()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(Mt(345));case 2:Sf(e);break;case 3:if(Rd(e,r),(r&62914560)===r&&(n=CE+500-ea(),10<n)){if(xv(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ya(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=wT(Sf.bind(null,e),n);break}Sf(e);break;case 4:if(Rd(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Ol(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=ea()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ez(r/1960))-r,10<r){e.timeoutHandle=wT(Sf.bind(null,e),r);break}Sf(e);break;case 5:Sf(e);break;default:throw Error(Mt(329))}}return Ao(e,ea()),e.callbackNode===t?XD.bind(null,e):null}function Rd(e,t){for(t&=~EE,t&=~fp,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Ol(t),n=1<<r;e[r]=-1,t&=~n}}function wS(e){if((kr&48)!==0)throw Error(Mt(327));if(jl(),e===ha&&(e.expiredLanes&ta)!==0){var t=ta,r=Bh(e,t);(lp&fp)!==0&&(t=xv(e,t),r=Bh(e,t))}else t=xv(e,0),r=Bh(e,t);if(e.tag!==0&&r===2&&(kr|=64,e.hydrate&&(e.hydrate=!1,lE(e.containerInfo)),t=iD(e),t!==0&&(r=Bh(e,t))),r===1)throw r=Hy,Id(e,0),Rd(e,t),Ao(e,ea()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sf(e),Ao(e,ea()),null}function tz(){if(hs!==null){var e=hs;hs=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Ao(t,ea())})}Nu()}function QD(e,t){var r=kr;kr|=1;try{return e(t)}finally{kr=r,kr===0&&(cp(),Nu())}}function KD(e,t){var r=kr;kr&=-2,kr|=8;try{return e(t)}finally{kr=r,kr===0&&(cp(),Nu())}}function rm(e,t){qn(hS,Vf),Vf|=t,lp|=t}function AE(){Vf=hS.current,In(hS)}function Id(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,N$(r)),gi!==null)for(r=gi.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&_0();break;case 3:Wd(),In(Oa),In(ra),gE();break;case 5:vE(n);break;case 4:Wd();break;case 13:In(Wn);break;case 19:In(Wn);break;case 10:pE(n);break;case 23:case 24:AE()}r=r.return}ha=e,gi=Pl(e.current,null),ta=Vf=lp=t,qi=0,Hy=null,EE=fp=Zv=0}function ZD(e,t){do{var r=gi;try{if(dE(),ev.current=D0,R0){for(var n=Xn.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}R0=!1}if(Ov=0,Wi=Ji=Xn=null,tv=!1,SE.current=null,r===null||r.return===null){qi=1,Hy=t,gi=null;break}e:{var a=e,o=r.return,u=r,l=t;if(t=ta,u.flags|=2048,u.firstEffect=u.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){var f=l;if((u.mode&2)===0){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var g=(Wn.current&1)!==0,v=o;do{var y;if(y=v.tag===13){var C=v.memoizedState;if(C!==null)y=C.dehydrated!==null;else{var O=v.memoizedProps;y=O.fallback===void 0?!1:O.unstable_avoidThisFallback!==!0?!0:!g}}if(y){var S=v.updateQueue;if(S===null){var w=new Set;w.add(f),v.updateQueue=w}else S.add(f);if((v.mode&2)===0){if(v.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var A=bl(-1,1);A.tag=2,xl(u,A)}u.lanes|=1;break e}l=void 0,u=t;var R=a.pingCache;if(R===null?(R=a.pingCache=new X$,l=new Set,R.set(f,l)):(l=R.get(f),l===void 0&&(l=new Set,R.set(f,l))),!l.has(u)){l.add(u);var P=sz.bind(null,a,f,u);f.then(P,P)}v.flags|=4096,v.lanes=t;break e}v=v.return}while(v!==null);l=Error((_d(u.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.`)}qi!==5&&(qi=2),l=_E(l,u),v=o;do{switch(v.tag){case 3:a=l,v.flags|=4096,t&=-t,v.lanes|=t;var N=HD(v,a,t);OT(v,N);break e;case 1:a=l;var m=v.type,G=v.stateNode;if((v.flags&64)===0&&(typeof m.getDerivedStateFromError=="function"||G!==null&&typeof G.componentDidCatch=="function"&&(Tu===null||!Tu.has(G)))){v.flags|=4096,t&=-t,v.lanes|=t;var L=VD(v,a,t);OT(v,L);break e}}v=v.return}while(v!==null)}tM(r)}catch($){t=$,gi===r&&r!==null&&(gi=r=r.return);continue}break}while(1)}function JD(){var e=M0.current;return M0.current=D0,e===null?D0:e}function Bh(e,t){var r=kr;kr|=16;var n=JD();ha===e&&ta===t||Id(e,t);do try{rz();break}catch(i){ZD(e,i)}while(1);if(dE(),kr=r,M0.current=n,gi!==null)throw Error(Mt(261));return ha=null,ta=0,qi}function rz(){for(;gi!==null;)eM(gi)}function nz(){for(;gi!==null&&!B$();)eM(gi)}function eM(e){var t=nM(e.alternate,e,Vf);e.memoizedProps=e.pendingProps,t===null?tM(e):gi=t,SE.current=null}function tM(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=V$(r,t,Vf),r!==null){gi=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Vf&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=Y$(t),r!==null){r.flags&=2047,gi=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){gi=t;return}gi=t=e}while(t!==null);qi===0&&(qi=5)}function Sf(e){var t=Ud();return Hf(99,iz.bind(null,e,t)),null}function iz(e,t){do jl();while(rv!==null);if((kr&48)!==0)throw Error(Mt(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(Mt(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,u=e.expirationTimes;0<a;){var l=31-Ol(a),f=1<<l;i[l]=0,o[l]=-1,u[l]=-1,a&=~f}if(hs!==null&&(n&24)===0&&hs.has(e)&&hs.delete(e),e===ha&&(gi=ha=null,ta=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=kr,kr|=32,SE.current=null,Ab=Hm,o=hT(),K_(o)){if("selectionStart"in o)u={start:o.selectionStart,end:o.selectionEnd};else e:if(u=(u=o.ownerDocument)&&u.defaultView||window,(f=u.getSelection&&u.getSelection())&&f.rangeCount!==0){u=f.anchorNode,a=f.anchorOffset,l=f.focusNode,f=f.focusOffset;try{u.nodeType,l.nodeType}catch{u=null;break e}var p=0,g=-1,v=-1,y=0,C=0,O=o,S=null;t:for(;;){for(var w;O!==u||a!==0&&O.nodeType!==3||(g=p+a),O!==l||f!==0&&O.nodeType!==3||(v=p+f),O.nodeType===3&&(p+=O.nodeValue.length),(w=O.firstChild)!==null;)S=O,O=w;for(;;){if(O===o)break t;if(S===u&&++y===a&&(g=p),S===l&&++C===f&&(v=p),(w=O.nextSibling)!==null)break;O=S,S=O.parentNode}O=w}u=g===-1||v===-1?null:{start:g,end:v}}else u=null;u=u||{start:0,end:0}}else u=null;Tb={focusedElem:o,selectionRange:u},Hm=!1,iv=null,Jm=!1,fr=n;do try{az()}catch($){if(fr===null)throw Error(Mt(330));Sl(fr,$),fr=fr.nextEffect}while(fr!==null);iv=null,fr=n;do try{for(o=e;fr!==null;){var A=fr.flags;if(A&16&&gv(fr.stateNode,""),A&128){var R=fr.alternate;if(R!==null){var P=R.ref;P!==null&&(typeof P=="function"?P(null):P.current=null)}}switch(A&1038){case 2:JT(fr),fr.flags&=-3;break;case 6:JT(fr),fr.flags&=-3,Mb(fr.alternate,fr);break;case 1024:fr.flags&=-1025;break;case 1028:fr.flags&=-1025,Mb(fr.alternate,fr);break;case 4:Mb(fr.alternate,fr);break;case 8:u=fr,YD(o,u);var N=u.alternate;KT(u),N!==null&&KT(N)}fr=fr.nextEffect}}catch($){if(fr===null)throw Error(Mt(330));Sl(fr,$),fr=fr.nextEffect}while(fr!==null);if(P=Tb,R=hT(),A=P.focusedElem,o=P.selectionRange,R!==A&&A&&A.ownerDocument&&dD(A.ownerDocument.documentElement,A)){for(o!==null&&K_(A)&&(R=o.start,P=o.end,P===void 0&&(P=R),"selectionStart"in A?(A.selectionStart=R,A.selectionEnd=Math.min(P,A.value.length)):(P=(R=A.ownerDocument||document)&&R.defaultView||window,P.getSelection&&(P=P.getSelection(),u=A.textContent.length,N=Math.min(o.start,u),o=o.end===void 0?N:Math.min(o.end,u),!P.extend&&N>o&&(u=o,o=N,N=u),u=pT(A,N),a=pT(A,o),u&&a&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==a.node||P.focusOffset!==a.offset)&&(R=R.createRange(),R.setStart(u.node,u.offset),P.removeAllRanges(),N>o?(P.addRange(R),P.extend(a.node,a.offset)):(R.setEnd(a.node,a.offset),P.addRange(R)))))),R=[],P=A;P=P.parentNode;)P.nodeType===1&&R.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<R.length;A++)P=R[A],P.element.scrollLeft=P.left,P.element.scrollTop=P.top}Hm=!!Ab,Tb=Ab=null,e.current=r,fr=n;do try{for(A=e;fr!==null;){var m=fr.flags;if(m&36&&Z$(A,fr.alternate,fr),m&128){R=void 0;var G=fr.ref;if(G!==null){var L=fr.stateNode;switch(fr.tag){case 5:R=L;break;default:R=L}typeof G=="function"?G(R):G.current=R}}fr=fr.nextEffect}}catch($){if(fr===null)throw Error(Mt(330));Sl(fr,$),fr=fr.nextEffect}while(fr!==null);fr=null,z$(),kr=i}else e.current=r;if(Il)Il=!1,rv=e,Lh=t;else for(fr=n;fr!==null;)t=fr.nextEffect,fr.nextEffect=null,fr.flags&8&&(m=fr,m.sibling=null,m.stateNode=null),fr=t;if(n=e.pendingLanes,n===0&&(Tu=null),n===1?e===xS?nv++:(nv=0,xS=e):nv=0,r=r.stateNode,$f&&typeof $f.onCommitFiberRoot=="function")try{$f.onCommitFiberRoot(fE,r,void 0,(r.current.flags&64)===64)}catch{}if(Ao(e,ea()),N0)throw N0=!1,e=mS,mS=null,e;return(kr&8)!==0||Nu(),null}function az(){for(;fr!==null;){var e=fr.alternate;Jm||iv===null||((fr.flags&8)!==0?JA(fr,iv)&&(Jm=!0):fr.tag===13&&J$(e,fr)&&JA(fr,iv)&&(Jm=!0));var t=fr.flags;(t&256)!==0&&K$(e,fr),(t&512)===0||Il||(Il=!0,Ev(97,function(){return jl(),null})),fr=fr.nextEffect}}function jl(){if(Lh!==90){var e=97<Lh?97:Lh;return Lh=90,Hf(e,uz)}return!1}function oz(e,t){yS.push(t,e),Il||(Il=!0,Ev(97,function(){return jl(),null}))}function rM(e,t){bS.push(t,e),Il||(Il=!0,Ev(97,function(){return jl(),null}))}function uz(){if(rv===null)return!1;var e=rv;if(rv=null,(kr&48)!==0)throw Error(Mt(331));var t=kr;kr|=32;var r=bS;bS=[];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(l){if(a===null)throw Error(Mt(330));Sl(a,l)}}for(r=yS,yS=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var u=i.create;i.destroy=u()}catch(l){if(a===null)throw Error(Mt(330));Sl(a,l)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return kr=t,Nu(),!0}function tO(e,t,r){t=_E(r,t),t=HD(e,t,1),xl(e,t),t=Ya(),e=Vy(e,1),e!==null&&($y(e,1,t),Ao(e,t))}function Sl(e,t){if(e.tag===3)tO(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){tO(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Tu===null||!Tu.has(n))){e=_E(t,e);var i=VD(r,e,1);if(xl(r,i),i=Ya(),r=Vy(r,1),r!==null)$y(r,1,i),Ao(r,i);else if(typeof n.componentDidCatch=="function"&&(Tu===null||!Tu.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function sz(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ya(),e.pingedLanes|=e.suspendedLanes&r,ha===e&&(ta&r)===r&&(qi===4||qi===3&&(ta&62914560)===ta&&500>ea()-CE?Id(e,0):EE|=r),Ao(e,t)}function lz(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=Ud()===99?1:2:(ls===0&&(ls=lp),t=od(62914560&~ls),t===0&&(t=4194304))),r=Ya(),e=Vy(e,t),e!==null&&($y(e,t,r),Ao(e,r))}var nM;nM=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Oa.current)Ho=!0;else if((r&n)!==0)Ho=(e.flags&16384)!==0;else{switch(Ho=!1,t.tag){case 3:jT(t),Pb();break;case 5:kT(t);break;case 1:Ra(t.type)&&Xm(t);break;case 4:aS(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;qn(S0,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?UT(e,t,r):(qn(Wn,Wn.current&1),t=ds(e,t,r),t!==null?t.sibling:null);qn(Wn,Wn.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return VT(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),qn(Wn,Wn.current),n)break;return null;case 23:case 24:return t.lanes=0,kb(e,t,r)}return ds(e,t,r)}else Ho=!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=jd(t,ra.current),Td(t,r),i=yE(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,Ra(n)){var a=!0;Xm(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,hE(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&A0(t,n,o,e),i.updater=Gy,t.stateNode=i,i._reactInternals=t,iS(t,n,e,r),t=lS(null,t,n,!0,a,r)}else t.tag=0,Aa(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=cz(i),e=Go(i,e),a){case 0:t=sS(null,t,i,e,r);break e;case 1:t=zT(null,t,i,e,r);break e;case 11:t=BT(null,t,i,e,r);break e;case 14:t=$T(null,t,i,Go(i.type,e),n,r);break e}throw Error(Mt(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Go(n,i),sS(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Go(n,i),zT(e,t,n,i,r);case 3:if(jT(t),n=t.updateQueue,e===null||n===null)throw Error(Mt(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,OD(e,t),Cv(t,n,null,r),n=t.memoizedState.element,n===i)Pb(),t=ds(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(cl=Ad(t.stateNode.containerInfo.firstChild),cs=t,a=Iu=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],Od.push(a);for(r=kD(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Aa(e,t,n,r),Pb();t=t.child}return t;case 5:return kT(t),e===null&&oS(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,eS(n,i)?o=null:a!==null&&eS(n,a)&&(t.flags|=16),UD(e,t),Aa(e,t,o,r),t.child;case 6:return e===null&&oS(t),null;case 13:return UT(e,t,r);case 4:return aS(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=T0(t,null,n,r):Aa(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Go(n,i),BT(e,t,n,i,r);case 7:return Aa(e,t,t.pendingProps,r),t.child;case 8:return Aa(e,t,t.pendingProps.children,r),t.child;case 12:return Aa(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var u=t.type._context;if(qn(S0,u._currentValue),u._currentValue=a,o!==null)if(u=o.value,a=yo(u,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(u,a):1073741823)|0,a===0){if(o.children===i.children&&!Oa.current){t=ds(e,t,r);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var l=u.dependencies;if(l!==null){o=u.child;for(var f=l.firstContext;f!==null;){if(f.context===n&&(f.observedBits&a)!==0){u.tag===1&&(f=bl(-1,r&-r),f.tag=2,xl(u,f)),u.lanes|=r,f=u.alternate,f!==null&&(f.lanes|=r),TD(u.return,r),l.lanes|=r;break}f=f.next}}else o=u.tag===10&&u.type===t.type?null:u.child;if(o!==null)o.return=u;else for(o=u;o!==null;){if(o===t){o=null;break}if(u=o.sibling,u!==null){u.return=o.return,o=u;break}o=o.return}u=o}Aa(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,Td(t,r),i=Co(i,a.unstable_observedBits),n=n(i),t.flags|=1,Aa(e,t,n,r),t.child;case 14:return i=t.type,a=Go(i,t.pendingProps),a=Go(i.type,a),$T(e,t,i,a,n,r);case 15:return jD(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Go(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ra(n)?(e=!0,Xm(t)):e=!1,Td(t,r),ID(t,n,i),iS(t,n,i,r),lS(null,t,n,!0,e,r);case 19:return VT(e,t,r);case 23:return kb(e,t,r);case 24:return kb(e,t,r)}throw Error(Mt(156,t.tag))};function fz(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 bo(e,t,r,n){return new fz(e,t,r,n)}function TE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cz(e){if(typeof e=="function")return TE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Fy)return 11;if(e===Ly)return 14}return 2}function Pl(e,t){var r=e.alternate;return r===null?(r=bo(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 e0(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")TE(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ul:return Pd(r.children,i,a,t);case Dk:o=8,i|=16;break;case W2:o=8,i|=1;break;case Vh:return e=bo(12,r,t,i|8),e.elementType=Vh,e.type=Vh,e.lanes=a,e;case Yh:return e=bo(13,r,t,i),e.type=Yh,e.elementType=Yh,e.lanes=a,e;case h0:return e=bo(19,r,t,i),e.elementType=h0,e.lanes=a,e;case X2:return OE(r,i,a,t);case F_:return e=bo(24,r,t,i),e.elementType=F_,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case q2:o=10;break e;case G2:o=9;break e;case Fy:o=11;break e;case Ly:o=14;break e;case H2:o=16,n=null;break e;case V2:o=22;break e}throw Error(Mt(130,e==null?e:typeof e,""))}return t=bo(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Pd(e,t,r,n){return e=bo(7,e,n,t),e.lanes=r,e}function OE(e,t,r,n){return e=bo(23,e,n,t),e.elementType=X2,e.lanes=r,e}function Nb(e,t,r){return e=bo(6,e,null,t),e.lanes=r,e}function Fb(e,t,r){return t=bo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dz(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=bb(0),this.expirationTimes=bb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bb(0),this.mutableSourceEagerHydrationData=null}function pz(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:If,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function F0(e,t,r,n){var i=t.current,a=Ya(),o=wl(i);e:if(r){r=r._reactInternals;t:{if(oc(r)!==r||r.tag!==1)throw Error(Mt(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Ra(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(u!==null);throw Error(Mt(171))}if(r.tag===1){var l=r.type;if(Ra(l)){r=xD(r,l,u);break e}}r=u}else r=Rl;return t.context===null?t.context=r:t.pendingContext=r,t=bl(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),xl(i,t),_l(i,o,a),o}function Lb(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 rO(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function RE(e,t){rO(e,t),(e=e.alternate)&&rO(e,t)}function hz(){return null}function IE(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new dz(e,t,r!=null&&r.hydrate===!0),t=bo(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,hE(t),e[sp]=r.current,vD(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}IE.prototype.render=function(e){F0(e,this._internalRoot,null,null)};IE.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;F0(null,e,null,function(){t[sp]=null})};function Jv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function vz(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 IE(e,0,t?{hydrate:!0}:void 0)}function Yy(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var u=i;i=function(){var f=Lb(o);u.call(f)}}F0(t,o,e,i)}else{if(a=r._reactRootContainer=vz(r,n),o=a._internalRoot,typeof i=="function"){var l=i;i=function(){var f=Lb(o);l.call(f)}}KD(function(){F0(t,o,e,i)})}return Lb(o)}Yk=function(e){if(e.tag===13){var t=Ya();_l(e,4,t),RE(e,4)}};eE=function(e){if(e.tag===13){var t=Ya();_l(e,67108864,t),RE(e,67108864)}};Xk=function(e){if(e.tag===13){var t=Ya(),r=wl(e);_l(e,r,t),RE(e,r)}};Qk=function(e,t){return t()};H_=function(e,t,r){switch(t){case"input":if(B_(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=Wy(n);if(!i)throw Error(Mt(90));Nk(n),B_(n,i)}}}break;case"textarea":Lk(e,r);break;case"select":t=r.value,t!=null&&Sd(e,!!r.multiple,t,!1)}};K2=QD;qk=function(e,t,r,n,i){var a=kr;kr|=4;try{return Hf(98,e.bind(null,t,r,n,i))}finally{kr=a,kr===0&&(cp(),Nu())}};Z2=function(){(kr&49)===0&&(tz(),jl())};Gk=function(e,t){var r=kr;kr|=2;try{return e(t)}finally{kr=r,kr===0&&(cp(),Nu())}};function iM(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jv(t))throw Error(Mt(200));return pz(e,t,null,r)}var gz={Events:[Qv,vd,Wy,Uk,Wk,jl,{current:!1}]},ph={findFiberByHostInstance:kf,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},mz={bundleType:ph.bundleType,version:ph.version,rendererPackageName:ph.rendererPackageName,rendererConfig:ph.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ac.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vk(e),e===null?null:e.stateNode},findFiberByHostInstance:ph.findFiberByHostInstance||hz,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nm.isDisabled&&nm.supportsFiber)try{fE=nm.inject(mz),$f=nm}catch{}}Oo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gz;Oo.createPortal=iM;Oo.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(Mt(188)):Error(Mt(268,Object.keys(e)));return e=Vk(t),e=e===null?null:e.stateNode,e};Oo.flushSync=function(e,t){var r=kr;if((r&48)!==0)return e(t);kr|=1;try{if(e)return Hf(99,e.bind(null,t))}finally{kr=r,Nu()}};Oo.hydrate=function(e,t,r){if(!Jv(t))throw Error(Mt(200));return Yy(null,e,t,!0,r)};Oo.render=function(e,t,r){if(!Jv(t))throw Error(Mt(200));return Yy(null,e,t,!1,r)};Oo.unmountComponentAtNode=function(e){if(!Jv(e))throw Error(Mt(40));return e._reactRootContainer?(KD(function(){Yy(null,null,e,!1,function(){e._reactRootContainer=null,e[sp]=null})}),!0):!1};Oo.unstable_batchedUpdates=QD;Oo.unstable_createPortal=function(e,t){return iM(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Oo.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Jv(r))throw Error(Mt(200));if(e==null||e._reactInternals===void 0)throw Error(Mt(38));return Yy(e,t,r,!1,n)};Oo.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=Oo})(M2);const $h=D2(M2.exports);var aM={exports:{}};/*!
35
- * jQuery JavaScript Library v3.6.0
36
- * https://jquery.com/
37
- *
38
- * Includes Sizzle.js
39
- * https://sizzlejs.com/
40
- *
41
- * Copyright OpenJS Foundation and other contributors
42
- * Released under the MIT license
43
- * https://jquery.org/license
44
- *
45
- * Date: 2021-03-02T17:08Z
46
- */(function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:en,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(d){return n.flat.call(d)}:function(d){return n.concat.apply([],d)},u=n.push,l=n.indexOf,f={},p=f.toString,g=f.hasOwnProperty,v=g.toString,y=v.call(Object),C={},O=function(x){return typeof x=="function"&&typeof x.nodeType!="number"&&typeof x.item!="function"},S=function(x){return x!=null&&x===x.window},w=t.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function R(d,x,T){T=T||w;var k,B,z=T.createElement("script");if(z.text=d,x)for(k in A)B=x[k]||x.getAttribute&&x.getAttribute(k),B&&z.setAttribute(k,B);T.head.appendChild(z).parentNode.removeChild(z)}function P(d){return d==null?d+"":typeof d=="object"||typeof d=="function"?f[p.call(d)]||"object":typeof d}var N="3.6.0",m=function(d,x){return new m.fn.init(d,x)};m.fn=m.prototype={jquery:N,constructor:m,length:0,toArray:function(){return a.call(this)},get:function(d){return d==null?a.call(this):d<0?this[d+this.length]:this[d]},pushStack:function(d){var x=m.merge(this.constructor(),d);return x.prevObject=this,x},each:function(d){return m.each(this,d)},map:function(d){return this.pushStack(m.map(this,function(x,T){return d.call(x,T,x)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(d,x){return(x+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(d,x){return x%2}))},eq:function(d){var x=this.length,T=+d+(d<0?x:0);return this.pushStack(T>=0&&T<x?[this[T]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},m.extend=m.fn.extend=function(){var d,x,T,k,B,z,W=arguments[0]||{},le=1,de=arguments.length,Ce=!1;for(typeof W=="boolean"&&(Ce=W,W=arguments[le]||{},le++),typeof W!="object"&&!O(W)&&(W={}),le===de&&(W=this,le--);le<de;le++)if((d=arguments[le])!=null)for(x in d)k=d[x],!(x==="__proto__"||W===k)&&(Ce&&k&&(m.isPlainObject(k)||(B=Array.isArray(k)))?(T=W[x],B&&!Array.isArray(T)?z=[]:!B&&!m.isPlainObject(T)?z={}:z=T,B=!1,W[x]=m.extend(Ce,z,k)):k!==void 0&&(W[x]=k));return W},m.extend({expando:"jQuery"+(N+Math.random()).replace(/\D/g,""),isReady:!0,error:function(d){throw new Error(d)},noop:function(){},isPlainObject:function(d){var x,T;return!d||p.call(d)!=="[object Object]"?!1:(x=i(d),x?(T=g.call(x,"constructor")&&x.constructor,typeof T=="function"&&v.call(T)===y):!0)},isEmptyObject:function(d){var x;for(x in d)return!1;return!0},globalEval:function(d,x,T){R(d,{nonce:x&&x.nonce},T)},each:function(d,x){var T,k=0;if(G(d))for(T=d.length;k<T&&x.call(d[k],k,d[k])!==!1;k++);else for(k in d)if(x.call(d[k],k,d[k])===!1)break;return d},makeArray:function(d,x){var T=x||[];return d!=null&&(G(Object(d))?m.merge(T,typeof d=="string"?[d]:d):u.call(T,d)),T},inArray:function(d,x,T){return x==null?-1:l.call(x,d,T)},merge:function(d,x){for(var T=+x.length,k=0,B=d.length;k<T;k++)d[B++]=x[k];return d.length=B,d},grep:function(d,x,T){for(var k,B=[],z=0,W=d.length,le=!T;z<W;z++)k=!x(d[z],z),k!==le&&B.push(d[z]);return B},map:function(d,x,T){var k,B,z=0,W=[];if(G(d))for(k=d.length;z<k;z++)B=x(d[z],z,T),B!=null&&W.push(B);else for(z in d)B=x(d[z],z,T),B!=null&&W.push(B);return o(W)},guid:1,support:C}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=n[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(d,x){f["[object "+x+"]"]=x.toLowerCase()});function G(d){var x=!!d&&"length"in d&&d.length,T=P(d);return O(d)||S(d)?!1:T==="array"||x===0||typeof x=="number"&&x>0&&x-1 in d}var L=function(d){var x,T,k,B,z,W,le,de,Ce,He,ht,Le,Ke,cr,Sr,sr,Sn,xn,xi,Hr="sizzle"+1*new Date,Rr=d.document,Gn=0,Vr=0,vn=la(),Ua=la(),Ls=la(),ai=la(),so=function(q,fe){return q===fe&&(ht=!0),0},oi={}.hasOwnProperty,Jn=[],wi=Jn.pop,_i=Jn.push,Hn=Jn.push,ui=Jn.slice,Bi=function(q,fe){for(var we=0,tt=q.length;we<tt;we++)if(q[we]===fe)return we;return-1},Bs="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Jr="[\\x20\\t\\r\\n\\f]",lo="(?:\\\\[\\da-fA-F]{1,6}"+Jr+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$s="\\["+Jr+"*("+lo+")(?:"+Jr+"*([*^$|!~]?=)"+Jr+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+lo+"))|)"+Jr+"*\\]",Yu=":("+lo+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+$s+")*)|.*)\\)|)",Oc=new RegExp(Jr+"+","g"),zs=new RegExp("^"+Jr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Jr+"+$","g"),vu=new RegExp("^"+Jr+"*,"+Jr+"*"),Ln=new RegExp("^"+Jr+"*([>+~]|"+Jr+")"+Jr+"*"),Rc=new RegExp(Jr+"|>"),Ic=new RegExp(Yu),Bo=new RegExp("^"+lo+"$"),Xu={ID:new RegExp("^#("+lo+")"),CLASS:new RegExp("^\\.("+lo+")"),TAG:new RegExp("^("+lo+"|[*])"),ATTR:new RegExp("^"+$s),PSEUDO:new RegExp("^"+Yu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Jr+"*(even|odd|(([+-]|)(\\d*)n|)"+Jr+"*(?:([+-]|)"+Jr+"*(\\d+)|))"+Jr+"*\\)|)","i"),bool:new RegExp("^(?:"+Bs+")$","i"),needsContext:new RegExp("^"+Jr+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Jr+"*((?:-\\d)?\\d*)"+Jr+"*\\)|)(?=[^-]|$)","i")},Pc=/HTML$/i,Ep=/^(?:input|select|textarea|button)$/i,Cp=/^h\d$/i,Qu=/^[^{]+\{\s*\[native \w/,Ap=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gu=/[+~]/,sa=new RegExp("\\\\[\\da-fA-F]{1,6}"+Jr+"?|\\\\([^\\r\\n\\f])","g"),ba=function(q,fe){var we="0x"+q.slice(1)-65536;return fe||(we<0?String.fromCharCode(we+65536):String.fromCharCode(we>>10|55296,we&1023|56320))},js=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rf=function(q,fe){return fe?q==="\0"?"\uFFFD":q.slice(0,-1)+"\\"+q.charCodeAt(q.length-1).toString(16)+" ":"\\"+q},kc=function(){Le()},Wa=Zu(function(q){return q.disabled===!0&&q.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Hn.apply(Jn=ui.call(Rr.childNodes),Rr.childNodes),Jn[Rr.childNodes.length].nodeType}catch{Hn={apply:Jn.length?function(fe,we){_i.apply(fe,ui.call(we))}:function(fe,we){for(var tt=fe.length,Oe=0;fe[tt++]=we[Oe++];);fe.length=tt-1}}}function ln(q,fe,we,tt){var Oe,ut,bt,Ft,Wt,yr,hr,br=fe&&fe.ownerDocument,Nr=fe?fe.nodeType:9;if(we=we||[],typeof q!="string"||!q||Nr!==1&&Nr!==9&&Nr!==11)return we;if(!tt&&(Le(fe),fe=fe||Ke,Sr)){if(Nr!==11&&(Wt=Ap.exec(q)))if(Oe=Wt[1]){if(Nr===9)if(bt=fe.getElementById(Oe)){if(bt.id===Oe)return we.push(bt),we}else return we;else if(br&&(bt=br.getElementById(Oe))&&xi(fe,bt)&&bt.id===Oe)return we.push(bt),we}else{if(Wt[2])return Hn.apply(we,fe.getElementsByTagName(q)),we;if((Oe=Wt[3])&&T.getElementsByClassName&&fe.getElementsByClassName)return Hn.apply(we,fe.getElementsByClassName(Oe)),we}if(T.qsa&&!ai[q+" "]&&(!sr||!sr.test(q))&&(Nr!==1||fe.nodeName.toLowerCase()!=="object")){if(hr=q,br=fe,Nr===1&&(Rc.test(q)||Ln.test(q))){for(br=gu.test(q)&&Ws(fe.parentNode)||fe,(br!==fe||!T.scope)&&((Ft=fe.getAttribute("id"))?Ft=Ft.replace(js,rf):fe.setAttribute("id",Ft=Hr)),yr=W(q),ut=yr.length;ut--;)yr[ut]=(Ft?"#"+Ft:":scope")+" "+Ei(yr[ut]);hr=yr.join(",")}try{return Hn.apply(we,br.querySelectorAll(hr)),we}catch{ai(q,!0)}finally{Ft===Hr&&fe.removeAttribute("id")}}}return de(q.replace(zs,"$1"),fe,we,tt)}function la(){var q=[];function fe(we,tt){return q.push(we+" ")>k.cacheLength&&delete fe[q.shift()],fe[we+" "]=tt}return fe}function Si(q){return q[Hr]=!0,q}function Qi(q){var fe=Ke.createElement("fieldset");try{return!!q(fe)}catch{return!1}finally{fe.parentNode&&fe.parentNode.removeChild(fe),fe=null}}function Ku(q,fe){for(var we=q.split("|"),tt=we.length;tt--;)k.attrHandle[we[tt]]=fe}function nf(q,fe){var we=fe&&q,tt=we&&q.nodeType===1&&fe.nodeType===1&&q.sourceIndex-fe.sourceIndex;if(tt)return tt;if(we){for(;we=we.nextSibling;)if(we===fe)return-1}return q?1:-1}function Dc(q){return function(fe){var we=fe.nodeName.toLowerCase();return we==="input"&&fe.type===q}}function Mc(q){return function(fe){var we=fe.nodeName.toLowerCase();return(we==="input"||we==="button")&&fe.type===q}}function Us(q){return function(fe){return"form"in fe?fe.parentNode&&fe.disabled===!1?"label"in fe?"label"in fe.parentNode?fe.parentNode.disabled===q:fe.disabled===q:fe.isDisabled===q||fe.isDisabled!==!q&&Wa(fe)===q:fe.disabled===q:"label"in fe?fe.disabled===q:!1}}function fo(q){return Si(function(fe){return fe=+fe,Si(function(we,tt){for(var Oe,ut=q([],we.length,fe),bt=ut.length;bt--;)we[Oe=ut[bt]]&&(we[Oe]=!(tt[Oe]=we[Oe]))})})}function Ws(q){return q&&typeof q.getElementsByTagName<"u"&&q}T=ln.support={},z=ln.isXML=function(q){var fe=q&&q.namespaceURI,we=q&&(q.ownerDocument||q).documentElement;return!Pc.test(fe||we&&we.nodeName||"HTML")},Le=ln.setDocument=function(q){var fe,we,tt=q?q.ownerDocument||q:Rr;return tt==Ke||tt.nodeType!==9||!tt.documentElement||(Ke=tt,cr=Ke.documentElement,Sr=!z(Ke),Rr!=Ke&&(we=Ke.defaultView)&&we.top!==we&&(we.addEventListener?we.addEventListener("unload",kc,!1):we.attachEvent&&we.attachEvent("onunload",kc)),T.scope=Qi(function(Oe){return cr.appendChild(Oe).appendChild(Ke.createElement("div")),typeof Oe.querySelectorAll<"u"&&!Oe.querySelectorAll(":scope fieldset div").length}),T.attributes=Qi(function(Oe){return Oe.className="i",!Oe.getAttribute("className")}),T.getElementsByTagName=Qi(function(Oe){return Oe.appendChild(Ke.createComment("")),!Oe.getElementsByTagName("*").length}),T.getElementsByClassName=Qu.test(Ke.getElementsByClassName),T.getById=Qi(function(Oe){return cr.appendChild(Oe).id=Hr,!Ke.getElementsByName||!Ke.getElementsByName(Hr).length}),T.getById?(k.filter.ID=function(Oe){var ut=Oe.replace(sa,ba);return function(bt){return bt.getAttribute("id")===ut}},k.find.ID=function(Oe,ut){if(typeof ut.getElementById<"u"&&Sr){var bt=ut.getElementById(Oe);return bt?[bt]:[]}}):(k.filter.ID=function(Oe){var ut=Oe.replace(sa,ba);return function(bt){var Ft=typeof bt.getAttributeNode<"u"&&bt.getAttributeNode("id");return Ft&&Ft.value===ut}},k.find.ID=function(Oe,ut){if(typeof ut.getElementById<"u"&&Sr){var bt,Ft,Wt,yr=ut.getElementById(Oe);if(yr){if(bt=yr.getAttributeNode("id"),bt&&bt.value===Oe)return[yr];for(Wt=ut.getElementsByName(Oe),Ft=0;yr=Wt[Ft++];)if(bt=yr.getAttributeNode("id"),bt&&bt.value===Oe)return[yr]}return[]}}),k.find.TAG=T.getElementsByTagName?function(Oe,ut){if(typeof ut.getElementsByTagName<"u")return ut.getElementsByTagName(Oe);if(T.qsa)return ut.querySelectorAll(Oe)}:function(Oe,ut){var bt,Ft=[],Wt=0,yr=ut.getElementsByTagName(Oe);if(Oe==="*"){for(;bt=yr[Wt++];)bt.nodeType===1&&Ft.push(bt);return Ft}return yr},k.find.CLASS=T.getElementsByClassName&&function(Oe,ut){if(typeof ut.getElementsByClassName<"u"&&Sr)return ut.getElementsByClassName(Oe)},Sn=[],sr=[],(T.qsa=Qu.test(Ke.querySelectorAll))&&(Qi(function(Oe){var ut;cr.appendChild(Oe).innerHTML="<a id='"+Hr+"'></a><select id='"+Hr+"-\r\\' msallowcapture=''><option selected=''></option></select>",Oe.querySelectorAll("[msallowcapture^='']").length&&sr.push("[*^$]="+Jr+`*(?:''|"")`),Oe.querySelectorAll("[selected]").length||sr.push("\\["+Jr+"*(?:value|"+Bs+")"),Oe.querySelectorAll("[id~="+Hr+"-]").length||sr.push("~="),ut=Ke.createElement("input"),ut.setAttribute("name",""),Oe.appendChild(ut),Oe.querySelectorAll("[name='']").length||sr.push("\\["+Jr+"*name"+Jr+"*="+Jr+`*(?:''|"")`),Oe.querySelectorAll(":checked").length||sr.push(":checked"),Oe.querySelectorAll("a#"+Hr+"+*").length||sr.push(".#.+[+~]"),Oe.querySelectorAll("\\\f"),sr.push("[\\r\\n\\f]")}),Qi(function(Oe){Oe.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var ut=Ke.createElement("input");ut.setAttribute("type","hidden"),Oe.appendChild(ut).setAttribute("name","D"),Oe.querySelectorAll("[name=d]").length&&sr.push("name"+Jr+"*[*^$|!~]?="),Oe.querySelectorAll(":enabled").length!==2&&sr.push(":enabled",":disabled"),cr.appendChild(Oe).disabled=!0,Oe.querySelectorAll(":disabled").length!==2&&sr.push(":enabled",":disabled"),Oe.querySelectorAll("*,:x"),sr.push(",.*:")})),(T.matchesSelector=Qu.test(xn=cr.matches||cr.webkitMatchesSelector||cr.mozMatchesSelector||cr.oMatchesSelector||cr.msMatchesSelector))&&Qi(function(Oe){T.disconnectedMatch=xn.call(Oe,"*"),xn.call(Oe,"[s!='']:x"),Sn.push("!=",Yu)}),sr=sr.length&&new RegExp(sr.join("|")),Sn=Sn.length&&new RegExp(Sn.join("|")),fe=Qu.test(cr.compareDocumentPosition),xi=fe||Qu.test(cr.contains)?function(Oe,ut){var bt=Oe.nodeType===9?Oe.documentElement:Oe,Ft=ut&&ut.parentNode;return Oe===Ft||!!(Ft&&Ft.nodeType===1&&(bt.contains?bt.contains(Ft):Oe.compareDocumentPosition&&Oe.compareDocumentPosition(Ft)&16))}:function(Oe,ut){if(ut){for(;ut=ut.parentNode;)if(ut===Oe)return!0}return!1},so=fe?function(Oe,ut){if(Oe===ut)return ht=!0,0;var bt=!Oe.compareDocumentPosition-!ut.compareDocumentPosition;return bt||(bt=(Oe.ownerDocument||Oe)==(ut.ownerDocument||ut)?Oe.compareDocumentPosition(ut):1,bt&1||!T.sortDetached&&ut.compareDocumentPosition(Oe)===bt?Oe==Ke||Oe.ownerDocument==Rr&&xi(Rr,Oe)?-1:ut==Ke||ut.ownerDocument==Rr&&xi(Rr,ut)?1:He?Bi(He,Oe)-Bi(He,ut):0:bt&4?-1:1)}:function(Oe,ut){if(Oe===ut)return ht=!0,0;var bt,Ft=0,Wt=Oe.parentNode,yr=ut.parentNode,hr=[Oe],br=[ut];if(!Wt||!yr)return Oe==Ke?-1:ut==Ke?1:Wt?-1:yr?1:He?Bi(He,Oe)-Bi(He,ut):0;if(Wt===yr)return nf(Oe,ut);for(bt=Oe;bt=bt.parentNode;)hr.unshift(bt);for(bt=ut;bt=bt.parentNode;)br.unshift(bt);for(;hr[Ft]===br[Ft];)Ft++;return Ft?nf(hr[Ft],br[Ft]):hr[Ft]==Rr?-1:br[Ft]==Rr?1:0}),Ke},ln.matches=function(q,fe){return ln(q,null,null,fe)},ln.matchesSelector=function(q,fe){if(Le(q),T.matchesSelector&&Sr&&!ai[fe+" "]&&(!Sn||!Sn.test(fe))&&(!sr||!sr.test(fe)))try{var we=xn.call(q,fe);if(we||T.disconnectedMatch||q.document&&q.document.nodeType!==11)return we}catch{ai(fe,!0)}return ln(fe,Ke,null,[q]).length>0},ln.contains=function(q,fe){return(q.ownerDocument||q)!=Ke&&Le(q),xi(q,fe)},ln.attr=function(q,fe){(q.ownerDocument||q)!=Ke&&Le(q);var we=k.attrHandle[fe.toLowerCase()],tt=we&&oi.call(k.attrHandle,fe.toLowerCase())?we(q,fe,!Sr):void 0;return tt!==void 0?tt:T.attributes||!Sr?q.getAttribute(fe):(tt=q.getAttributeNode(fe))&&tt.specified?tt.value:null},ln.escape=function(q){return(q+"").replace(js,rf)},ln.error=function(q){throw new Error("Syntax error, unrecognized expression: "+q)},ln.uniqueSort=function(q){var fe,we=[],tt=0,Oe=0;if(ht=!T.detectDuplicates,He=!T.sortStable&&q.slice(0),q.sort(so),ht){for(;fe=q[Oe++];)fe===q[Oe]&&(tt=we.push(Oe));for(;tt--;)q.splice(we[tt],1)}return He=null,q},B=ln.getText=function(q){var fe,we="",tt=0,Oe=q.nodeType;if(Oe){if(Oe===1||Oe===9||Oe===11){if(typeof q.textContent=="string")return q.textContent;for(q=q.firstChild;q;q=q.nextSibling)we+=B(q)}else if(Oe===3||Oe===4)return q.nodeValue}else for(;fe=q[tt++];)we+=B(fe);return we},k=ln.selectors={cacheLength:50,createPseudo:Si,match:Xu,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(q){return q[1]=q[1].replace(sa,ba),q[3]=(q[3]||q[4]||q[5]||"").replace(sa,ba),q[2]==="~="&&(q[3]=" "+q[3]+" "),q.slice(0,4)},CHILD:function(q){return q[1]=q[1].toLowerCase(),q[1].slice(0,3)==="nth"?(q[3]||ln.error(q[0]),q[4]=+(q[4]?q[5]+(q[6]||1):2*(q[3]==="even"||q[3]==="odd")),q[5]=+(q[7]+q[8]||q[3]==="odd")):q[3]&&ln.error(q[0]),q},PSEUDO:function(q){var fe,we=!q[6]&&q[2];return Xu.CHILD.test(q[0])?null:(q[3]?q[2]=q[4]||q[5]||"":we&&Ic.test(we)&&(fe=W(we,!0))&&(fe=we.indexOf(")",we.length-fe)-we.length)&&(q[0]=q[0].slice(0,fe),q[2]=we.slice(0,fe)),q.slice(0,3))}},filter:{TAG:function(q){var fe=q.replace(sa,ba).toLowerCase();return q==="*"?function(){return!0}:function(we){return we.nodeName&&we.nodeName.toLowerCase()===fe}},CLASS:function(q){var fe=vn[q+" "];return fe||(fe=new RegExp("(^|"+Jr+")"+q+"("+Jr+"|$)"))&&vn(q,function(we){return fe.test(typeof we.className=="string"&&we.className||typeof we.getAttribute<"u"&&we.getAttribute("class")||"")})},ATTR:function(q,fe,we){return function(tt){var Oe=ln.attr(tt,q);return Oe==null?fe==="!=":fe?(Oe+="",fe==="="?Oe===we:fe==="!="?Oe!==we:fe==="^="?we&&Oe.indexOf(we)===0:fe==="*="?we&&Oe.indexOf(we)>-1:fe==="$="?we&&Oe.slice(-we.length)===we:fe==="~="?(" "+Oe.replace(Oc," ")+" ").indexOf(we)>-1:fe==="|="?Oe===we||Oe.slice(0,we.length+1)===we+"-":!1):!0}},CHILD:function(q,fe,we,tt,Oe){var ut=q.slice(0,3)!=="nth",bt=q.slice(-4)!=="last",Ft=fe==="of-type";return tt===1&&Oe===0?function(Wt){return!!Wt.parentNode}:function(Wt,yr,hr){var br,Nr,un,gr,On,ei,si=ut!==bt?"nextSibling":"previousSibling",gn=Wt.parentNode,Ju=Ft&&Wt.nodeName.toLowerCase(),$o=!hr&&!Ft,Ci=!1;if(gn){if(ut){for(;si;){for(gr=Wt;gr=gr[si];)if(Ft?gr.nodeName.toLowerCase()===Ju:gr.nodeType===1)return!1;ei=si=q==="only"&&!ei&&"nextSibling"}return!0}if(ei=[bt?gn.firstChild:gn.lastChild],bt&&$o){for(gr=gn,un=gr[Hr]||(gr[Hr]={}),Nr=un[gr.uniqueID]||(un[gr.uniqueID]={}),br=Nr[q]||[],On=br[0]===Gn&&br[1],Ci=On&&br[2],gr=On&&gn.childNodes[On];gr=++On&&gr&&gr[si]||(Ci=On=0)||ei.pop();)if(gr.nodeType===1&&++Ci&&gr===Wt){Nr[q]=[Gn,On,Ci];break}}else if($o&&(gr=Wt,un=gr[Hr]||(gr[Hr]={}),Nr=un[gr.uniqueID]||(un[gr.uniqueID]={}),br=Nr[q]||[],On=br[0]===Gn&&br[1],Ci=On),Ci===!1)for(;(gr=++On&&gr&&gr[si]||(Ci=On=0)||ei.pop())&&!((Ft?gr.nodeName.toLowerCase()===Ju:gr.nodeType===1)&&++Ci&&($o&&(un=gr[Hr]||(gr[Hr]={}),Nr=un[gr.uniqueID]||(un[gr.uniqueID]={}),Nr[q]=[Gn,Ci]),gr===Wt)););return Ci-=Oe,Ci===tt||Ci%tt===0&&Ci/tt>=0}}},PSEUDO:function(q,fe){var we,tt=k.pseudos[q]||k.setFilters[q.toLowerCase()]||ln.error("unsupported pseudo: "+q);return tt[Hr]?tt(fe):tt.length>1?(we=[q,q,"",fe],k.setFilters.hasOwnProperty(q.toLowerCase())?Si(function(Oe,ut){for(var bt,Ft=tt(Oe,fe),Wt=Ft.length;Wt--;)bt=Bi(Oe,Ft[Wt]),Oe[bt]=!(ut[bt]=Ft[Wt])}):function(Oe){return tt(Oe,0,we)}):tt}},pseudos:{not:Si(function(q){var fe=[],we=[],tt=le(q.replace(zs,"$1"));return tt[Hr]?Si(function(Oe,ut,bt,Ft){for(var Wt,yr=tt(Oe,null,Ft,[]),hr=Oe.length;hr--;)(Wt=yr[hr])&&(Oe[hr]=!(ut[hr]=Wt))}):function(Oe,ut,bt){return fe[0]=Oe,tt(fe,null,bt,we),fe[0]=null,!we.pop()}}),has:Si(function(q){return function(fe){return ln(q,fe).length>0}}),contains:Si(function(q){return q=q.replace(sa,ba),function(fe){return(fe.textContent||B(fe)).indexOf(q)>-1}}),lang:Si(function(q){return Bo.test(q||"")||ln.error("unsupported lang: "+q),q=q.replace(sa,ba).toLowerCase(),function(fe){var we;do if(we=Sr?fe.lang:fe.getAttribute("xml:lang")||fe.getAttribute("lang"))return we=we.toLowerCase(),we===q||we.indexOf(q+"-")===0;while((fe=fe.parentNode)&&fe.nodeType===1);return!1}}),target:function(q){var fe=d.location&&d.location.hash;return fe&&fe.slice(1)===q.id},root:function(q){return q===cr},focus:function(q){return q===Ke.activeElement&&(!Ke.hasFocus||Ke.hasFocus())&&!!(q.type||q.href||~q.tabIndex)},enabled:Us(!1),disabled:Us(!0),checked:function(q){var fe=q.nodeName.toLowerCase();return fe==="input"&&!!q.checked||fe==="option"&&!!q.selected},selected:function(q){return q.parentNode&&q.parentNode.selectedIndex,q.selected===!0},empty:function(q){for(q=q.firstChild;q;q=q.nextSibling)if(q.nodeType<6)return!1;return!0},parent:function(q){return!k.pseudos.empty(q)},header:function(q){return Cp.test(q.nodeName)},input:function(q){return Ep.test(q.nodeName)},button:function(q){var fe=q.nodeName.toLowerCase();return fe==="input"&&q.type==="button"||fe==="button"},text:function(q){var fe;return q.nodeName.toLowerCase()==="input"&&q.type==="text"&&((fe=q.getAttribute("type"))==null||fe.toLowerCase()==="text")},first:fo(function(){return[0]}),last:fo(function(q,fe){return[fe-1]}),eq:fo(function(q,fe,we){return[we<0?we+fe:we]}),even:fo(function(q,fe){for(var we=0;we<fe;we+=2)q.push(we);return q}),odd:fo(function(q,fe){for(var we=1;we<fe;we+=2)q.push(we);return q}),lt:fo(function(q,fe,we){for(var tt=we<0?we+fe:we>fe?fe:we;--tt>=0;)q.push(tt);return q}),gt:fo(function(q,fe,we){for(var tt=we<0?we+fe:we;++tt<fe;)q.push(tt);return q})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=Dc(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=Mc(x);function af(){}af.prototype=k.filters=k.pseudos,k.setFilters=new af,W=ln.tokenize=function(q,fe){var we,tt,Oe,ut,bt,Ft,Wt,yr=Ua[q+" "];if(yr)return fe?0:yr.slice(0);for(bt=q,Ft=[],Wt=k.preFilter;bt;){(!we||(tt=vu.exec(bt)))&&(tt&&(bt=bt.slice(tt[0].length)||bt),Ft.push(Oe=[])),we=!1,(tt=Ln.exec(bt))&&(we=tt.shift(),Oe.push({value:we,type:tt[0].replace(zs," ")}),bt=bt.slice(we.length));for(ut in k.filter)(tt=Xu[ut].exec(bt))&&(!Wt[ut]||(tt=Wt[ut](tt)))&&(we=tt.shift(),Oe.push({value:we,type:ut,matches:tt}),bt=bt.slice(we.length));if(!we)break}return fe?bt.length:bt?ln.error(q):Ua(q,Ft).slice(0)};function Ei(q){for(var fe=0,we=q.length,tt="";fe<we;fe++)tt+=q[fe].value;return tt}function Zu(q,fe,we){var tt=fe.dir,Oe=fe.next,ut=Oe||tt,bt=we&&ut==="parentNode",Ft=Vr++;return fe.first?function(Wt,yr,hr){for(;Wt=Wt[tt];)if(Wt.nodeType===1||bt)return q(Wt,yr,hr);return!1}:function(Wt,yr,hr){var br,Nr,un,gr=[Gn,Ft];if(hr){for(;Wt=Wt[tt];)if((Wt.nodeType===1||bt)&&q(Wt,yr,hr))return!0}else for(;Wt=Wt[tt];)if(Wt.nodeType===1||bt)if(un=Wt[Hr]||(Wt[Hr]={}),Nr=un[Wt.uniqueID]||(un[Wt.uniqueID]={}),Oe&&Oe===Wt.nodeName.toLowerCase())Wt=Wt[tt]||Wt;else{if((br=Nr[ut])&&br[0]===Gn&&br[1]===Ft)return gr[2]=br[2];if(Nr[ut]=gr,gr[2]=q(Wt,yr,hr))return!0}return!1}}function qs(q){return q.length>1?function(fe,we,tt){for(var Oe=q.length;Oe--;)if(!q[Oe](fe,we,tt))return!1;return!0}:q[0]}function qa(q,fe,we){for(var tt=0,Oe=fe.length;tt<Oe;tt++)ln(q,fe[tt],we);return we}function mu(q,fe,we,tt,Oe){for(var ut,bt=[],Ft=0,Wt=q.length,yr=fe!=null;Ft<Wt;Ft++)(ut=q[Ft])&&(!we||we(ut,tt,Oe))&&(bt.push(ut),yr&&fe.push(Ft));return bt}function co(q,fe,we,tt,Oe,ut){return tt&&!tt[Hr]&&(tt=co(tt)),Oe&&!Oe[Hr]&&(Oe=co(Oe,ut)),Si(function(bt,Ft,Wt,yr){var hr,br,Nr,un=[],gr=[],On=Ft.length,ei=bt||qa(fe||"*",Wt.nodeType?[Wt]:Wt,[]),si=q&&(bt||!fe)?mu(ei,un,q,Wt,yr):ei,gn=we?Oe||(bt?q:On||tt)?[]:Ft:si;if(we&&we(si,gn,Wt,yr),tt)for(hr=mu(gn,gr),tt(hr,[],Wt,yr),br=hr.length;br--;)(Nr=hr[br])&&(gn[gr[br]]=!(si[gr[br]]=Nr));if(bt){if(Oe||q){if(Oe){for(hr=[],br=gn.length;br--;)(Nr=gn[br])&&hr.push(si[br]=Nr);Oe(null,gn=[],hr,yr)}for(br=gn.length;br--;)(Nr=gn[br])&&(hr=Oe?Bi(bt,Nr):un[br])>-1&&(bt[hr]=!(Ft[hr]=Nr))}}else gn=mu(gn===Ft?gn.splice(On,gn.length):gn),Oe?Oe(null,Ft,gn,yr):Hn.apply(Ft,gn)})}function po(q){for(var fe,we,tt,Oe=q.length,ut=k.relative[q[0].type],bt=ut||k.relative[" "],Ft=ut?1:0,Wt=Zu(function(br){return br===fe},bt,!0),yr=Zu(function(br){return Bi(fe,br)>-1},bt,!0),hr=[function(br,Nr,un){var gr=!ut&&(un||Nr!==Ce)||((fe=Nr).nodeType?Wt(br,Nr,un):yr(br,Nr,un));return fe=null,gr}];Ft<Oe;Ft++)if(we=k.relative[q[Ft].type])hr=[Zu(qs(hr),we)];else{if(we=k.filter[q[Ft].type].apply(null,q[Ft].matches),we[Hr]){for(tt=++Ft;tt<Oe&&!k.relative[q[tt].type];tt++);return co(Ft>1&&qs(hr),Ft>1&&Ei(q.slice(0,Ft-1).concat({value:q[Ft-2].type===" "?"*":""})).replace(zs,"$1"),we,Ft<tt&&po(q.slice(Ft,tt)),tt<Oe&&po(q=q.slice(tt)),tt<Oe&&Ei(q))}hr.push(we)}return qs(hr)}function yu(q,fe){var we=fe.length>0,tt=q.length>0,Oe=function(ut,bt,Ft,Wt,yr){var hr,br,Nr,un=0,gr="0",On=ut&&[],ei=[],si=Ce,gn=ut||tt&&k.find.TAG("*",yr),Ju=Gn+=si==null?1:Math.random()||.1,$o=gn.length;for(yr&&(Ce=bt==Ke||bt||yr);gr!==$o&&(hr=gn[gr])!=null;gr++){if(tt&&hr){for(br=0,!bt&&hr.ownerDocument!=Ke&&(Le(hr),Ft=!Sr);Nr=q[br++];)if(Nr(hr,bt||Ke,Ft)){Wt.push(hr);break}yr&&(Gn=Ju)}we&&((hr=!Nr&&hr)&&un--,ut&&On.push(hr))}if(un+=gr,we&&gr!==un){for(br=0;Nr=fe[br++];)Nr(On,ei,bt,Ft);if(ut){if(un>0)for(;gr--;)On[gr]||ei[gr]||(ei[gr]=wi.call(Wt));ei=mu(ei)}Hn.apply(Wt,ei),yr&&!ut&&ei.length>0&&un+fe.length>1&&ln.uniqueSort(Wt)}return yr&&(Gn=Ju,Ce=si),On};return we?Si(Oe):Oe}return le=ln.compile=function(q,fe){var we,tt=[],Oe=[],ut=Ls[q+" "];if(!ut){for(fe||(fe=W(q)),we=fe.length;we--;)ut=po(fe[we]),ut[Hr]?tt.push(ut):Oe.push(ut);ut=Ls(q,yu(Oe,tt)),ut.selector=q}return ut},de=ln.select=function(q,fe,we,tt){var Oe,ut,bt,Ft,Wt,yr=typeof q=="function"&&q,hr=!tt&&W(q=yr.selector||q);if(we=we||[],hr.length===1){if(ut=hr[0]=hr[0].slice(0),ut.length>2&&(bt=ut[0]).type==="ID"&&fe.nodeType===9&&Sr&&k.relative[ut[1].type]){if(fe=(k.find.ID(bt.matches[0].replace(sa,ba),fe)||[])[0],fe)yr&&(fe=fe.parentNode);else return we;q=q.slice(ut.shift().value.length)}for(Oe=Xu.needsContext.test(q)?0:ut.length;Oe--&&(bt=ut[Oe],!k.relative[Ft=bt.type]);)if((Wt=k.find[Ft])&&(tt=Wt(bt.matches[0].replace(sa,ba),gu.test(ut[0].type)&&Ws(fe.parentNode)||fe))){if(ut.splice(Oe,1),q=tt.length&&Ei(ut),!q)return Hn.apply(we,tt),we;break}}return(yr||le(q,hr))(tt,fe,!Sr,we,!fe||gu.test(q)&&Ws(fe.parentNode)||fe),we},T.sortStable=Hr.split("").sort(so).join("")===Hr,T.detectDuplicates=!!ht,Le(),T.sortDetached=Qi(function(q){return q.compareDocumentPosition(Ke.createElement("fieldset"))&1}),Qi(function(q){return q.innerHTML="<a href='#'></a>",q.firstChild.getAttribute("href")==="#"})||Ku("type|href|height|width",function(q,fe,we){if(!we)return q.getAttribute(fe,fe.toLowerCase()==="type"?1:2)}),(!T.attributes||!Qi(function(q){return q.innerHTML="<input/>",q.firstChild.setAttribute("value",""),q.firstChild.getAttribute("value")===""}))&&Ku("value",function(q,fe,we){if(!we&&q.nodeName.toLowerCase()==="input")return q.defaultValue}),Qi(function(q){return q.getAttribute("disabled")==null})||Ku(Bs,function(q,fe,we){var tt;if(!we)return q[fe]===!0?fe.toLowerCase():(tt=q.getAttributeNode(fe))&&tt.specified?tt.value:null}),ln}(t);m.find=L,m.expr=L.selectors,m.expr[":"]=m.expr.pseudos,m.uniqueSort=m.unique=L.uniqueSort,m.text=L.getText,m.isXMLDoc=L.isXML,m.contains=L.contains,m.escapeSelector=L.escape;var $=function(d,x,T){for(var k=[],B=T!==void 0;(d=d[x])&&d.nodeType!==9;)if(d.nodeType===1){if(B&&m(d).is(T))break;k.push(d)}return k},ae=function(d,x){for(var T=[];d;d=d.nextSibling)d.nodeType===1&&d!==x&&T.push(d);return T},ve=m.expr.match.needsContext;function be(d,x){return d.nodeName&&d.nodeName.toLowerCase()===x.toLowerCase()}var Pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Fe(d,x,T){return O(x)?m.grep(d,function(k,B){return!!x.call(k,B,k)!==T}):x.nodeType?m.grep(d,function(k){return k===x!==T}):typeof x!="string"?m.grep(d,function(k){return l.call(x,k)>-1!==T}):m.filter(x,d,T)}m.filter=function(d,x,T){var k=x[0];return T&&(d=":not("+d+")"),x.length===1&&k.nodeType===1?m.find.matchesSelector(k,d)?[k]:[]:m.find.matches(d,m.grep(x,function(B){return B.nodeType===1}))},m.fn.extend({find:function(d){var x,T,k=this.length,B=this;if(typeof d!="string")return this.pushStack(m(d).filter(function(){for(x=0;x<k;x++)if(m.contains(B[x],this))return!0}));for(T=this.pushStack([]),x=0;x<k;x++)m.find(d,B[x],T);return k>1?m.uniqueSort(T):T},filter:function(d){return this.pushStack(Fe(this,d||[],!1))},not:function(d){return this.pushStack(Fe(this,d||[],!0))},is:function(d){return!!Fe(this,typeof d=="string"&&ve.test(d)?m(d):d||[],!1).length}});var dt,Je=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Te=m.fn.init=function(d,x,T){var k,B;if(!d)return this;if(T=T||dt,typeof d=="string")if(d[0]==="<"&&d[d.length-1]===">"&&d.length>=3?k=[null,d,null]:k=Je.exec(d),k&&(k[1]||!x))if(k[1]){if(x=x instanceof m?x[0]:x,m.merge(this,m.parseHTML(k[1],x&&x.nodeType?x.ownerDocument||x:w,!0)),Pe.test(k[1])&&m.isPlainObject(x))for(k in x)O(this[k])?this[k](x[k]):this.attr(k,x[k]);return this}else return B=w.getElementById(k[2]),B&&(this[0]=B,this.length=1),this;else return!x||x.jquery?(x||T).find(d):this.constructor(x).find(d);else{if(d.nodeType)return this[0]=d,this.length=1,this;if(O(d))return T.ready!==void 0?T.ready(d):d(m)}return m.makeArray(d,this)};Te.prototype=m.fn,dt=m(w);var Ye=/^(?:parents|prev(?:Until|All))/,nt={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(d){var x=m(d,this),T=x.length;return this.filter(function(){for(var k=0;k<T;k++)if(m.contains(this,x[k]))return!0})},closest:function(d,x){var T,k=0,B=this.length,z=[],W=typeof d!="string"&&m(d);if(!ve.test(d)){for(;k<B;k++)for(T=this[k];T&&T!==x;T=T.parentNode)if(T.nodeType<11&&(W?W.index(T)>-1:T.nodeType===1&&m.find.matchesSelector(T,d))){z.push(T);break}}return this.pushStack(z.length>1?m.uniqueSort(z):z)},index:function(d){return d?typeof d=="string"?l.call(m(d),this[0]):l.call(this,d.jquery?d[0]:d):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(d,x){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(d,x))))},addBack:function(d){return this.add(d==null?this.prevObject:this.prevObject.filter(d))}});function pt(d,x){for(;(d=d[x])&&d.nodeType!==1;);return d}m.each({parent:function(d){var x=d.parentNode;return x&&x.nodeType!==11?x:null},parents:function(d){return $(d,"parentNode")},parentsUntil:function(d,x,T){return $(d,"parentNode",T)},next:function(d){return pt(d,"nextSibling")},prev:function(d){return pt(d,"previousSibling")},nextAll:function(d){return $(d,"nextSibling")},prevAll:function(d){return $(d,"previousSibling")},nextUntil:function(d,x,T){return $(d,"nextSibling",T)},prevUntil:function(d,x,T){return $(d,"previousSibling",T)},siblings:function(d){return ae((d.parentNode||{}).firstChild,d)},children:function(d){return ae(d.firstChild)},contents:function(d){return d.contentDocument!=null&&i(d.contentDocument)?d.contentDocument:(be(d,"template")&&(d=d.content||d),m.merge([],d.childNodes))}},function(d,x){m.fn[d]=function(T,k){var B=m.map(this,x,T);return d.slice(-5)!=="Until"&&(k=T),k&&typeof k=="string"&&(B=m.filter(k,B)),this.length>1&&(nt[d]||m.uniqueSort(B),Ye.test(d)&&B.reverse()),this.pushStack(B)}});var Ie=/[^\x20\t\r\n\f]+/g;function Re(d){var x={};return m.each(d.match(Ie)||[],function(T,k){x[k]=!0}),x}m.Callbacks=function(d){d=typeof d=="string"?Re(d):m.extend({},d);var x,T,k,B,z=[],W=[],le=-1,de=function(){for(B=B||d.once,k=x=!0;W.length;le=-1)for(T=W.shift();++le<z.length;)z[le].apply(T[0],T[1])===!1&&d.stopOnFalse&&(le=z.length,T=!1);d.memory||(T=!1),x=!1,B&&(T?z=[]:z="")},Ce={add:function(){return z&&(T&&!x&&(le=z.length-1,W.push(T)),function He(ht){m.each(ht,function(Le,Ke){O(Ke)?(!d.unique||!Ce.has(Ke))&&z.push(Ke):Ke&&Ke.length&&P(Ke)!=="string"&&He(Ke)})}(arguments),T&&!x&&de()),this},remove:function(){return m.each(arguments,function(He,ht){for(var Le;(Le=m.inArray(ht,z,Le))>-1;)z.splice(Le,1),Le<=le&&le--}),this},has:function(He){return He?m.inArray(He,z)>-1:z.length>0},empty:function(){return z&&(z=[]),this},disable:function(){return B=W=[],z=T="",this},disabled:function(){return!z},lock:function(){return B=W=[],!T&&!x&&(z=T=""),this},locked:function(){return!!B},fireWith:function(He,ht){return B||(ht=ht||[],ht=[He,ht.slice?ht.slice():ht],W.push(ht),x||de()),this},fire:function(){return Ce.fireWith(this,arguments),this},fired:function(){return!!k}};return Ce};function ot(d){return d}function et(d){throw d}function ft(d,x,T,k){var B;try{d&&O(B=d.promise)?B.call(d).done(x).fail(T):d&&O(B=d.then)?B.call(d,x,T):x.apply(void 0,[d].slice(k))}catch(z){T.apply(void 0,[z])}}m.extend({Deferred:function(d){var x=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],T="pending",k={state:function(){return T},always:function(){return B.done(arguments).fail(arguments),this},catch:function(z){return k.then(null,z)},pipe:function(){var z=arguments;return m.Deferred(function(W){m.each(x,function(le,de){var Ce=O(z[de[4]])&&z[de[4]];B[de[1]](function(){var He=Ce&&Ce.apply(this,arguments);He&&O(He.promise)?He.promise().progress(W.notify).done(W.resolve).fail(W.reject):W[de[0]+"With"](this,Ce?[He]:arguments)})}),z=null}).promise()},then:function(z,W,le){var de=0;function Ce(He,ht,Le,Ke){return function(){var cr=this,Sr=arguments,sr=function(){var xn,xi;if(!(He<de)){if(xn=Le.apply(cr,Sr),xn===ht.promise())throw new TypeError("Thenable self-resolution");xi=xn&&(typeof xn=="object"||typeof xn=="function")&&xn.then,O(xi)?Ke?xi.call(xn,Ce(de,ht,ot,Ke),Ce(de,ht,et,Ke)):(de++,xi.call(xn,Ce(de,ht,ot,Ke),Ce(de,ht,et,Ke),Ce(de,ht,ot,ht.notifyWith))):(Le!==ot&&(cr=void 0,Sr=[xn]),(Ke||ht.resolveWith)(cr,Sr))}},Sn=Ke?sr:function(){try{sr()}catch(xn){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(xn,Sn.stackTrace),He+1>=de&&(Le!==et&&(cr=void 0,Sr=[xn]),ht.rejectWith(cr,Sr))}};He?Sn():(m.Deferred.getStackHook&&(Sn.stackTrace=m.Deferred.getStackHook()),t.setTimeout(Sn))}}return m.Deferred(function(He){x[0][3].add(Ce(0,He,O(le)?le:ot,He.notifyWith)),x[1][3].add(Ce(0,He,O(z)?z:ot)),x[2][3].add(Ce(0,He,O(W)?W:et))}).promise()},promise:function(z){return z!=null?m.extend(z,k):k}},B={};return m.each(x,function(z,W){var le=W[2],de=W[5];k[W[1]]=le.add,de&&le.add(function(){T=de},x[3-z][2].disable,x[3-z][3].disable,x[0][2].lock,x[0][3].lock),le.add(W[3].fire),B[W[0]]=function(){return B[W[0]+"With"](this===B?void 0:this,arguments),this},B[W[0]+"With"]=le.fireWith}),k.promise(B),d&&d.call(B,B),B},when:function(d){var x=arguments.length,T=x,k=Array(T),B=a.call(arguments),z=m.Deferred(),W=function(le){return function(de){k[le]=this,B[le]=arguments.length>1?a.call(arguments):de,--x||z.resolveWith(k,B)}};if(x<=1&&(ft(d,z.done(W(T)).resolve,z.reject,!x),z.state()==="pending"||O(B[T]&&B[T].then)))return z.then();for(;T--;)ft(B[T],W(T),z.reject);return z.promise()}});var At=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(d,x){t.console&&t.console.warn&&d&&At.test(d.name)&&t.console.warn("jQuery.Deferred exception: "+d.message,d.stack,x)},m.readyException=function(d){t.setTimeout(function(){throw d})};var Gt=m.Deferred();m.fn.ready=function(d){return Gt.then(d).catch(function(x){m.readyException(x)}),this},m.extend({isReady:!1,readyWait:1,ready:function(d){(d===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(d!==!0&&--m.readyWait>0)&&Gt.resolveWith(w,[m]))}}),m.ready.then=Gt.then;function Xt(){w.removeEventListener("DOMContentLoaded",Xt),t.removeEventListener("load",Xt),m.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(m.ready):(w.addEventListener("DOMContentLoaded",Xt),t.addEventListener("load",Xt));var Me=function(d,x,T,k,B,z,W){var le=0,de=d.length,Ce=T==null;if(P(T)==="object"){B=!0;for(le in T)Me(d,x,le,T[le],!0,z,W)}else if(k!==void 0&&(B=!0,O(k)||(W=!0),Ce&&(W?(x.call(d,k),x=null):(Ce=x,x=function(He,ht,Le){return Ce.call(m(He),Le)})),x))for(;le<de;le++)x(d[le],T,W?k:k.call(d[le],le,x(d[le],T)));return B?d:Ce?x.call(d):de?x(d[0],T):z},yt=/^-ms-/,Nt=/-([a-z])/g;function Ne(d,x){return x.toUpperCase()}function H(d){return d.replace(yt,"ms-").replace(Nt,Ne)}var oe=function(d){return d.nodeType===1||d.nodeType===9||!+d.nodeType};function K(){this.expando=m.expando+K.uid++}K.uid=1,K.prototype={cache:function(d){var x=d[this.expando];return x||(x={},oe(d)&&(d.nodeType?d[this.expando]=x:Object.defineProperty(d,this.expando,{value:x,configurable:!0}))),x},set:function(d,x,T){var k,B=this.cache(d);if(typeof x=="string")B[H(x)]=T;else for(k in x)B[H(k)]=x[k];return B},get:function(d,x){return x===void 0?this.cache(d):d[this.expando]&&d[this.expando][H(x)]},access:function(d,x,T){return x===void 0||x&&typeof x=="string"&&T===void 0?this.get(d,x):(this.set(d,x,T),T!==void 0?T:x)},remove:function(d,x){var T,k=d[this.expando];if(k!==void 0){if(x!==void 0)for(Array.isArray(x)?x=x.map(H):(x=H(x),x=x in k?[x]:x.match(Ie)||[]),T=x.length;T--;)delete k[x[T]];(x===void 0||m.isEmptyObject(k))&&(d.nodeType?d[this.expando]=void 0:delete d[this.expando])}},hasData:function(d){var x=d[this.expando];return x!==void 0&&!m.isEmptyObject(x)}};var ge=new K,xt=new K,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,mr=/[A-Z]/g;function Fr(d){return d==="true"?!0:d==="false"?!1:d==="null"?null:d===+d+""?+d:It.test(d)?JSON.parse(d):d}function zr(d,x,T){var k;if(T===void 0&&d.nodeType===1)if(k="data-"+x.replace(mr,"-$&").toLowerCase(),T=d.getAttribute(k),typeof T=="string"){try{T=Fr(T)}catch{}xt.set(d,x,T)}else T=void 0;return T}m.extend({hasData:function(d){return xt.hasData(d)||ge.hasData(d)},data:function(d,x,T){return xt.access(d,x,T)},removeData:function(d,x){xt.remove(d,x)},_data:function(d,x,T){return ge.access(d,x,T)},_removeData:function(d,x){ge.remove(d,x)}}),m.fn.extend({data:function(d,x){var T,k,B,z=this[0],W=z&&z.attributes;if(d===void 0){if(this.length&&(B=xt.get(z),z.nodeType===1&&!ge.get(z,"hasDataAttrs"))){for(T=W.length;T--;)W[T]&&(k=W[T].name,k.indexOf("data-")===0&&(k=H(k.slice(5)),zr(z,k,B[k])));ge.set(z,"hasDataAttrs",!0)}return B}return typeof d=="object"?this.each(function(){xt.set(this,d)}):Me(this,function(le){var de;if(z&&le===void 0)return de=xt.get(z,d),de!==void 0||(de=zr(z,d),de!==void 0)?de:void 0;this.each(function(){xt.set(this,d,le)})},null,x,arguments.length>1,null,!0)},removeData:function(d){return this.each(function(){xt.remove(this,d)})}}),m.extend({queue:function(d,x,T){var k;if(d)return x=(x||"fx")+"queue",k=ge.get(d,x),T&&(!k||Array.isArray(T)?k=ge.access(d,x,m.makeArray(T)):k.push(T)),k||[]},dequeue:function(d,x){x=x||"fx";var T=m.queue(d,x),k=T.length,B=T.shift(),z=m._queueHooks(d,x),W=function(){m.dequeue(d,x)};B==="inprogress"&&(B=T.shift(),k--),B&&(x==="fx"&&T.unshift("inprogress"),delete z.stop,B.call(d,W,z)),!k&&z&&z.empty.fire()},_queueHooks:function(d,x){var T=x+"queueHooks";return ge.get(d,T)||ge.access(d,T,{empty:m.Callbacks("once memory").add(function(){ge.remove(d,[x+"queue",T])})})}}),m.fn.extend({queue:function(d,x){var T=2;return typeof d!="string"&&(x=d,d="fx",T--),arguments.length<T?m.queue(this[0],d):x===void 0?this:this.each(function(){var k=m.queue(this,d,x);m._queueHooks(this,d),d==="fx"&&k[0]!=="inprogress"&&m.dequeue(this,d)})},dequeue:function(d){return this.each(function(){m.dequeue(this,d)})},clearQueue:function(d){return this.queue(d||"fx",[])},promise:function(d,x){var T,k=1,B=m.Deferred(),z=this,W=this.length,le=function(){--k||B.resolveWith(z,[z])};for(typeof d!="string"&&(x=d,d=void 0),d=d||"fx";W--;)T=ge.get(z[W],d+"queueHooks"),T&&T.empty&&(k++,T.empty.add(le));return le(),B.promise(x)}});var on=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rn=new RegExp("^(?:([+-])=|)("+on+")([a-z%]*)$","i"),Zr=["Top","Right","Bottom","Left"],hn=w.documentElement,Mi=function(d){return m.contains(d.ownerDocument,d)},Ni={composed:!0};hn.getRootNode&&(Mi=function(d){return m.contains(d.ownerDocument,d)||d.getRootNode(Ni)===d.ownerDocument});var eo=function(d,x){return d=x||d,d.style.display==="none"||d.style.display===""&&Mi(d)&&m.css(d,"display")==="none"};function ia(d,x,T,k){var B,z,W=20,le=k?function(){return k.cur()}:function(){return m.css(d,x,"")},de=le(),Ce=T&&T[3]||(m.cssNumber[x]?"":"px"),He=d.nodeType&&(m.cssNumber[x]||Ce!=="px"&&+de)&&rn.exec(m.css(d,x));if(He&&He[3]!==Ce){for(de=de/2,Ce=Ce||He[3],He=+de||1;W--;)m.style(d,x,He+Ce),(1-z)*(1-(z=le()/de||.5))<=0&&(W=0),He=He/z;He=He*2,m.style(d,x,He+Ce),T=T||[]}return T&&(He=+He||+de||0,B=T[1]?He+(T[1]+1)*T[2]:+T[2],k&&(k.unit=Ce,k.start=He,k.end=B)),B}var Kn={};function to(d){var x,T=d.ownerDocument,k=d.nodeName,B=Kn[k];return B||(x=T.body.appendChild(T.createElement(k)),B=m.css(x,"display"),x.parentNode.removeChild(x),B==="none"&&(B="block"),Kn[k]=B,B)}function yi(d,x){for(var T,k,B=[],z=0,W=d.length;z<W;z++)k=d[z],k.style&&(T=k.style.display,x?(T==="none"&&(B[z]=ge.get(k,"display")||null,B[z]||(k.style.display="")),k.style.display===""&&eo(k)&&(B[z]=to(k))):T!=="none"&&(B[z]="none",ge.set(k,"display",T)));for(z=0;z<W;z++)B[z]!=null&&(d[z].style.display=B[z]);return d}m.fn.extend({show:function(){return yi(this,!0)},hide:function(){return yi(this)},toggle:function(d){return typeof d=="boolean"?d?this.show():this.hide():this.each(function(){eo(this)?m(this).show():m(this).hide()})}});var Pa=/^(?:checkbox|radio)$/i,Bu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,$u=/^$|^module$|\/(?:java|ecma)script/i;(function(){var d=w.createDocumentFragment(),x=d.appendChild(w.createElement("div")),T=w.createElement("input");T.setAttribute("type","radio"),T.setAttribute("checked","checked"),T.setAttribute("name","t"),x.appendChild(T),C.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked,x.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!x.cloneNode(!0).lastChild.defaultValue,x.innerHTML="<option></option>",C.option=!!x.lastChild})();var ni={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ni.tbody=ni.tfoot=ni.colgroup=ni.caption=ni.thead,ni.th=ni.td,C.option||(ni.optgroup=ni.option=[1,"<select multiple='multiple'>","</select>"]);function bi(d,x){var T;return typeof d.getElementsByTagName<"u"?T=d.getElementsByTagName(x||"*"):typeof d.querySelectorAll<"u"?T=d.querySelectorAll(x||"*"):T=[],x===void 0||x&&be(d,x)?m.merge([d],T):T}function ka(d,x){for(var T=0,k=d.length;T<k;T++)ge.set(d[T],"globalEval",!x||ge.get(x[T],"globalEval"))}var _p=/<|&#?\w+;/;function zu(d,x,T,k,B){for(var z,W,le,de,Ce,He,ht=x.createDocumentFragment(),Le=[],Ke=0,cr=d.length;Ke<cr;Ke++)if(z=d[Ke],z||z===0)if(P(z)==="object")m.merge(Le,z.nodeType?[z]:z);else if(!_p.test(z))Le.push(x.createTextNode(z));else{for(W=W||ht.appendChild(x.createElement("div")),le=(Bu.exec(z)||["",""])[1].toLowerCase(),de=ni[le]||ni._default,W.innerHTML=de[1]+m.htmlPrefilter(z)+de[2],He=de[0];He--;)W=W.lastChild;m.merge(Le,W.childNodes),W=ht.firstChild,W.textContent=""}for(ht.textContent="",Ke=0;z=Le[Ke++];){if(k&&m.inArray(z,k)>-1){B&&B.push(z);continue}if(Ce=Mi(z),W=bi(ht.appendChild(z),"script"),Ce&&ka(W),T)for(He=0;z=W[He++];)$u.test(z.type||"")&&T.push(z)}return ht}var zn=/^([^.]*)(?:\.(.+)|)/;function Zn(){return!0}function jn(){return!1}function Lr(d,x){return d===yc()==(x==="focus")}function yc(){try{return w.activeElement}catch{}}function aa(d,x,T,k,B,z){var W,le;if(typeof x=="object"){typeof T!="string"&&(k=k||T,T=void 0);for(le in x)aa(d,le,T,k,x[le],z);return d}if(k==null&&B==null?(B=T,k=T=void 0):B==null&&(typeof T=="string"?(B=k,k=void 0):(B=k,k=T,T=void 0)),B===!1)B=jn;else if(!B)return d;return z===1&&(W=B,B=function(de){return m().off(de),W.apply(this,arguments)},B.guid=W.guid||(W.guid=m.guid++)),d.each(function(){m.event.add(this,x,B,k,T)})}m.event={global:{},add:function(d,x,T,k,B){var z,W,le,de,Ce,He,ht,Le,Ke,cr,Sr,sr=ge.get(d);if(!!oe(d))for(T.handler&&(z=T,T=z.handler,B=z.selector),B&&m.find.matchesSelector(hn,B),T.guid||(T.guid=m.guid++),(de=sr.events)||(de=sr.events=Object.create(null)),(W=sr.handle)||(W=sr.handle=function(Sn){return typeof m<"u"&&m.event.triggered!==Sn.type?m.event.dispatch.apply(d,arguments):void 0}),x=(x||"").match(Ie)||[""],Ce=x.length;Ce--;)le=zn.exec(x[Ce])||[],Ke=Sr=le[1],cr=(le[2]||"").split(".").sort(),Ke&&(ht=m.event.special[Ke]||{},Ke=(B?ht.delegateType:ht.bindType)||Ke,ht=m.event.special[Ke]||{},He=m.extend({type:Ke,origType:Sr,data:k,handler:T,guid:T.guid,selector:B,needsContext:B&&m.expr.match.needsContext.test(B),namespace:cr.join(".")},z),(Le=de[Ke])||(Le=de[Ke]=[],Le.delegateCount=0,(!ht.setup||ht.setup.call(d,k,cr,W)===!1)&&d.addEventListener&&d.addEventListener(Ke,W)),ht.add&&(ht.add.call(d,He),He.handler.guid||(He.handler.guid=T.guid)),B?Le.splice(Le.delegateCount++,0,He):Le.push(He),m.event.global[Ke]=!0)},remove:function(d,x,T,k,B){var z,W,le,de,Ce,He,ht,Le,Ke,cr,Sr,sr=ge.hasData(d)&&ge.get(d);if(!(!sr||!(de=sr.events))){for(x=(x||"").match(Ie)||[""],Ce=x.length;Ce--;){if(le=zn.exec(x[Ce])||[],Ke=Sr=le[1],cr=(le[2]||"").split(".").sort(),!Ke){for(Ke in de)m.event.remove(d,Ke+x[Ce],T,k,!0);continue}for(ht=m.event.special[Ke]||{},Ke=(k?ht.delegateType:ht.bindType)||Ke,Le=de[Ke]||[],le=le[2]&&new RegExp("(^|\\.)"+cr.join("\\.(?:.*\\.|)")+"(\\.|$)"),W=z=Le.length;z--;)He=Le[z],(B||Sr===He.origType)&&(!T||T.guid===He.guid)&&(!le||le.test(He.namespace))&&(!k||k===He.selector||k==="**"&&He.selector)&&(Le.splice(z,1),He.selector&&Le.delegateCount--,ht.remove&&ht.remove.call(d,He));W&&!Le.length&&((!ht.teardown||ht.teardown.call(d,cr,sr.handle)===!1)&&m.removeEvent(d,Ke,sr.handle),delete de[Ke])}m.isEmptyObject(de)&&ge.remove(d,"handle events")}},dispatch:function(d){var x,T,k,B,z,W,le=new Array(arguments.length),de=m.event.fix(d),Ce=(ge.get(this,"events")||Object.create(null))[de.type]||[],He=m.event.special[de.type]||{};for(le[0]=de,x=1;x<arguments.length;x++)le[x]=arguments[x];if(de.delegateTarget=this,!(He.preDispatch&&He.preDispatch.call(this,de)===!1)){for(W=m.event.handlers.call(this,de,Ce),x=0;(B=W[x++])&&!de.isPropagationStopped();)for(de.currentTarget=B.elem,T=0;(z=B.handlers[T++])&&!de.isImmediatePropagationStopped();)(!de.rnamespace||z.namespace===!1||de.rnamespace.test(z.namespace))&&(de.handleObj=z,de.data=z.data,k=((m.event.special[z.origType]||{}).handle||z.handler).apply(B.elem,le),k!==void 0&&(de.result=k)===!1&&(de.preventDefault(),de.stopPropagation()));return He.postDispatch&&He.postDispatch.call(this,de),de.result}},handlers:function(d,x){var T,k,B,z,W,le=[],de=x.delegateCount,Ce=d.target;if(de&&Ce.nodeType&&!(d.type==="click"&&d.button>=1)){for(;Ce!==this;Ce=Ce.parentNode||this)if(Ce.nodeType===1&&!(d.type==="click"&&Ce.disabled===!0)){for(z=[],W={},T=0;T<de;T++)k=x[T],B=k.selector+" ",W[B]===void 0&&(W[B]=k.needsContext?m(B,this).index(Ce)>-1:m.find(B,this,null,[Ce]).length),W[B]&&z.push(k);z.length&&le.push({elem:Ce,handlers:z})}}return Ce=this,de<x.length&&le.push({elem:Ce,handlers:x.slice(de)}),le},addProp:function(d,x){Object.defineProperty(m.Event.prototype,d,{enumerable:!0,configurable:!0,get:O(x)?function(){if(this.originalEvent)return x(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[d]},set:function(T){Object.defineProperty(this,d,{enumerable:!0,configurable:!0,writable:!0,value:T})}})},fix:function(d){return d[m.expando]?d:new m.Event(d)},special:{load:{noBubble:!0},click:{setup:function(d){var x=this||d;return Pa.test(x.type)&&x.click&&be(x,"input")&&Da(x,"click",Zn),!1},trigger:function(d){var x=this||d;return Pa.test(x.type)&&x.click&&be(x,"input")&&Da(x,"click"),!0},_default:function(d){var x=d.target;return Pa.test(x.type)&&x.click&&be(x,"input")&&ge.get(x,"click")||be(x,"a")}},beforeunload:{postDispatch:function(d){d.result!==void 0&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}};function Da(d,x,T){if(!T){ge.get(d,x)===void 0&&m.event.add(d,x,Zn);return}ge.set(d,x,!1),m.event.add(d,x,{namespace:!1,handler:function(k){var B,z,W=ge.get(this,x);if(k.isTrigger&1&&this[x]){if(W.length)(m.event.special[x]||{}).delegateType&&k.stopPropagation();else if(W=a.call(arguments),ge.set(this,x,W),B=T(this,x),this[x](),z=ge.get(this,x),W!==z||B?ge.set(this,x,!1):z={},W!==z)return k.stopImmediatePropagation(),k.preventDefault(),z&&z.value}else W.length&&(ge.set(this,x,{value:m.event.trigger(m.extend(W[0],m.Event.prototype),W.slice(1),this)}),k.stopImmediatePropagation())}})}m.removeEvent=function(d,x,T){d.removeEventListener&&d.removeEventListener(x,T)},m.Event=function(d,x){if(!(this instanceof m.Event))return new m.Event(d,x);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||d.defaultPrevented===void 0&&d.returnValue===!1?Zn:jn,this.target=d.target&&d.target.nodeType===3?d.target.parentNode:d.target,this.currentTarget=d.currentTarget,this.relatedTarget=d.relatedTarget):this.type=d,x&&m.extend(this,x),this.timeStamp=d&&d.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:jn,isPropagationStopped:jn,isImmediatePropagationStopped:jn,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=Zn,d&&!this.isSimulated&&d.preventDefault()},stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=Zn,d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=Zn,d&&!this.isSimulated&&d.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(d,x){m.event.special[d]={setup:function(){return Da(this,d,Lr),!1},trigger:function(){return Da(this,d),!0},_default:function(){return!0},delegateType:x}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(d,x){m.event.special[d]={delegateType:x,bindType:x,handle:function(T){var k,B=this,z=T.relatedTarget,W=T.handleObj;return(!z||z!==B&&!m.contains(B,z))&&(T.type=W.origType,k=W.handler.apply(this,arguments),T.type=x),k}}}),m.fn.extend({on:function(d,x,T,k){return aa(this,d,x,T,k)},one:function(d,x,T,k){return aa(this,d,x,T,k,1)},off:function(d,x,T){var k,B;if(d&&d.preventDefault&&d.handleObj)return k=d.handleObj,m(d.delegateTarget).off(k.namespace?k.origType+"."+k.namespace:k.origType,k.selector,k.handler),this;if(typeof d=="object"){for(B in d)this.off(B,x,d[B]);return this}return(x===!1||typeof x=="function")&&(T=x,x=void 0),T===!1&&(T=jn),this.each(function(){m.event.remove(this,d,T,x)})}});var bc=/<script|<style|<link/i,ma=/checked\s*(?:[^=]|=\s*.checked.)/i,xc=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function tu(d,x){return be(d,"table")&&be(x.nodeType!==11?x:x.firstChild,"tr")&&m(d).children("tbody")[0]||d}function Sp(d){return d.type=(d.getAttribute("type")!==null)+"/"+d.type,d}function wc(d){return(d.type||"").slice(0,5)==="true/"?d.type=d.type.slice(5):d.removeAttribute("type"),d}function _c(d,x){var T,k,B,z,W,le,de;if(x.nodeType===1){if(ge.hasData(d)&&(z=ge.get(d),de=z.events,de)){ge.remove(x,"handle events");for(B in de)for(T=0,k=de[B].length;T<k;T++)m.event.add(x,B,de[B][T])}xt.hasData(d)&&(W=xt.access(d),le=m.extend({},W),xt.set(x,le))}}function Sc(d,x){var T=x.nodeName.toLowerCase();T==="input"&&Pa.test(d.type)?x.checked=d.checked:(T==="input"||T==="textarea")&&(x.defaultValue=d.defaultValue)}function ru(d,x,T,k){x=o(x);var B,z,W,le,de,Ce,He=0,ht=d.length,Le=ht-1,Ke=x[0],cr=O(Ke);if(cr||ht>1&&typeof Ke=="string"&&!C.checkClone&&ma.test(Ke))return d.each(function(Sr){var sr=d.eq(Sr);cr&&(x[0]=Ke.call(this,Sr,sr.html())),ru(sr,x,T,k)});if(ht&&(B=zu(x,d[0].ownerDocument,!1,d,k),z=B.firstChild,B.childNodes.length===1&&(B=z),z||k)){for(W=m.map(bi(B,"script"),Sp),le=W.length;He<ht;He++)de=B,He!==Le&&(de=m.clone(de,!0,!0),le&&m.merge(W,bi(de,"script"))),T.call(d[He],de,He);if(le)for(Ce=W[W.length-1].ownerDocument,m.map(W,wc),He=0;He<le;He++)de=W[He],$u.test(de.type||"")&&!ge.access(de,"globalEval")&&m.contains(Ce,de)&&(de.src&&(de.type||"").toLowerCase()!=="module"?m._evalUrl&&!de.noModule&&m._evalUrl(de.src,{nonce:de.nonce||de.getAttribute("nonce")},Ce):R(de.textContent.replace(xc,""),de,Ce))}return d}function nu(d,x,T){for(var k,B=x?m.filter(x,d):d,z=0;(k=B[z])!=null;z++)!T&&k.nodeType===1&&m.cleanData(bi(k)),k.parentNode&&(T&&Mi(k)&&ka(bi(k,"script")),k.parentNode.removeChild(k));return d}m.extend({htmlPrefilter:function(d){return d},clone:function(d,x,T){var k,B,z,W,le=d.cloneNode(!0),de=Mi(d);if(!C.noCloneChecked&&(d.nodeType===1||d.nodeType===11)&&!m.isXMLDoc(d))for(W=bi(le),z=bi(d),k=0,B=z.length;k<B;k++)Sc(z[k],W[k]);if(x)if(T)for(z=z||bi(d),W=W||bi(le),k=0,B=z.length;k<B;k++)_c(z[k],W[k]);else _c(d,le);return W=bi(le,"script"),W.length>0&&ka(W,!de&&bi(d,"script")),le},cleanData:function(d){for(var x,T,k,B=m.event.special,z=0;(T=d[z])!==void 0;z++)if(oe(T)){if(x=T[ge.expando]){if(x.events)for(k in x.events)B[k]?m.event.remove(T,k):m.removeEvent(T,k,x.handle);T[ge.expando]=void 0}T[xt.expando]&&(T[xt.expando]=void 0)}}}),m.fn.extend({detach:function(d){return nu(this,d,!0)},remove:function(d){return nu(this,d)},text:function(d){return Me(this,function(x){return x===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=x)})},null,d,arguments.length)},append:function(){return ru(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=tu(this,d);x.appendChild(d)}})},prepend:function(){return ru(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=tu(this,d);x.insertBefore(d,x.firstChild)}})},before:function(){return ru(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this)})},after:function(){return ru(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling)})},empty:function(){for(var d,x=0;(d=this[x])!=null;x++)d.nodeType===1&&(m.cleanData(bi(d,!1)),d.textContent="");return this},clone:function(d,x){return d=d==null?!1:d,x=x==null?d:x,this.map(function(){return m.clone(this,d,x)})},html:function(d){return Me(this,function(x){var T=this[0]||{},k=0,B=this.length;if(x===void 0&&T.nodeType===1)return T.innerHTML;if(typeof x=="string"&&!bc.test(x)&&!ni[(Bu.exec(x)||["",""])[1].toLowerCase()]){x=m.htmlPrefilter(x);try{for(;k<B;k++)T=this[k]||{},T.nodeType===1&&(m.cleanData(bi(T,!1)),T.innerHTML=x);T=0}catch{}}T&&this.empty().append(x)},null,d,arguments.length)},replaceWith:function(){var d=[];return ru(this,arguments,function(x){var T=this.parentNode;m.inArray(this,d)<0&&(m.cleanData(bi(this)),T&&T.replaceChild(x,this))},d)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(d,x){m.fn[d]=function(T){for(var k,B=[],z=m(T),W=z.length-1,le=0;le<=W;le++)k=le===W?this:this.clone(!0),m(z[le])[x](k),u.apply(B,k.get());return this.pushStack(B)}});var ju=new RegExp("^("+on+")(?!px)[a-z%]+$","i"),Uu=function(d){var x=d.ownerDocument.defaultView;return(!x||!x.opener)&&(x=t),x.getComputedStyle(d)},iu=function(d,x,T){var k,B,z={};for(B in x)z[B]=d.style[B],d.style[B]=x[B];k=T.call(d);for(B in x)d.style[B]=z[B];return k},Os=new RegExp(Zr.join("|"),"i");(function(){function d(){if(!!Ce){de.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ce.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",hn.appendChild(de).appendChild(Ce);var He=t.getComputedStyle(Ce);T=He.top!=="1%",le=x(He.marginLeft)===12,Ce.style.right="60%",z=x(He.right)===36,k=x(He.width)===36,Ce.style.position="absolute",B=x(Ce.offsetWidth/3)===12,hn.removeChild(de),Ce=null}}function x(He){return Math.round(parseFloat(He))}var T,k,B,z,W,le,de=w.createElement("div"),Ce=w.createElement("div");!Ce.style||(Ce.style.backgroundClip="content-box",Ce.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=Ce.style.backgroundClip==="content-box",m.extend(C,{boxSizingReliable:function(){return d(),k},pixelBoxStyles:function(){return d(),z},pixelPosition:function(){return d(),T},reliableMarginLeft:function(){return d(),le},scrollboxSize:function(){return d(),B},reliableTrDimensions:function(){var He,ht,Le,Ke;return W==null&&(He=w.createElement("table"),ht=w.createElement("tr"),Le=w.createElement("div"),He.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ht.style.cssText="border:1px solid",ht.style.height="1px",Le.style.height="9px",Le.style.display="block",hn.appendChild(He).appendChild(ht).appendChild(Le),Ke=t.getComputedStyle(ht),W=parseInt(Ke.height,10)+parseInt(Ke.borderTopWidth,10)+parseInt(Ke.borderBottomWidth,10)===ht.offsetHeight,hn.removeChild(He)),W}}))})();function Io(d,x,T){var k,B,z,W,le=d.style;return T=T||Uu(d),T&&(W=T.getPropertyValue(x)||T[x],W===""&&!Mi(d)&&(W=m.style(d,x)),!C.pixelBoxStyles()&&ju.test(W)&&Os.test(x)&&(k=le.width,B=le.minWidth,z=le.maxWidth,le.minWidth=le.maxWidth=le.width=W,W=T.width,le.width=k,le.minWidth=B,le.maxWidth=z)),W!==void 0?W+"":W}function Ma(d,x){return{get:function(){if(d()){delete this.get;return}return(this.get=x).apply(this,arguments)}}}var Fi=["Webkit","Moz","ms"],Wu=w.createElement("div").style,qu={};function oa(d){for(var x=d[0].toUpperCase()+d.slice(1),T=Fi.length;T--;)if(d=Fi[T]+x,d in Wu)return d}function Po(d){var x=m.cssProps[d]||qu[d];return x||(d in Wu?d:qu[d]=oa(d)||d)}var Gu=/^(none|table(?!-c[ea]).+)/,Nn=/^--/,ko={position:"absolute",visibility:"hidden",display:"block"},Rs={letterSpacing:"0",fontWeight:"400"};function Is(d,x,T){var k=rn.exec(x);return k?Math.max(0,k[2]-(T||0))+(k[3]||"px"):x}function Ps(d,x,T,k,B,z){var W=x==="width"?1:0,le=0,de=0;if(T===(k?"border":"content"))return 0;for(;W<4;W+=2)T==="margin"&&(de+=m.css(d,T+Zr[W],!0,B)),k?(T==="content"&&(de-=m.css(d,"padding"+Zr[W],!0,B)),T!=="margin"&&(de-=m.css(d,"border"+Zr[W]+"Width",!0,B))):(de+=m.css(d,"padding"+Zr[W],!0,B),T!=="padding"?de+=m.css(d,"border"+Zr[W]+"Width",!0,B):le+=m.css(d,"border"+Zr[W]+"Width",!0,B));return!k&&z>=0&&(de+=Math.max(0,Math.ceil(d["offset"+x[0].toUpperCase()+x.slice(1)]-z-de-le-.5))||0),de}function ks(d,x,T){var k=Uu(d),B=!C.boxSizingReliable()||T,z=B&&m.css(d,"boxSizing",!1,k)==="border-box",W=z,le=Io(d,x,k),de="offset"+x[0].toUpperCase()+x.slice(1);if(ju.test(le)){if(!T)return le;le="auto"}return(!C.boxSizingReliable()&&z||!C.reliableTrDimensions()&&be(d,"tr")||le==="auto"||!parseFloat(le)&&m.css(d,"display",!1,k)==="inline")&&d.getClientRects().length&&(z=m.css(d,"boxSizing",!1,k)==="border-box",W=de in d,W&&(le=d[de])),le=parseFloat(le)||0,le+Ps(d,x,T||(z?"border":"content"),W,k,le)+"px"}m.extend({cssHooks:{opacity:{get:function(d,x){if(x){var T=Io(d,"opacity");return T===""?"1":T}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(d,x,T,k){if(!(!d||d.nodeType===3||d.nodeType===8||!d.style)){var B,z,W,le=H(x),de=Nn.test(x),Ce=d.style;if(de||(x=Po(le)),W=m.cssHooks[x]||m.cssHooks[le],T!==void 0){if(z=typeof T,z==="string"&&(B=rn.exec(T))&&B[1]&&(T=ia(d,x,B),z="number"),T==null||T!==T)return;z==="number"&&!de&&(T+=B&&B[3]||(m.cssNumber[le]?"":"px")),!C.clearCloneStyle&&T===""&&x.indexOf("background")===0&&(Ce[x]="inherit"),(!W||!("set"in W)||(T=W.set(d,T,k))!==void 0)&&(de?Ce.setProperty(x,T):Ce[x]=T)}else return W&&"get"in W&&(B=W.get(d,!1,k))!==void 0?B:Ce[x]}},css:function(d,x,T,k){var B,z,W,le=H(x),de=Nn.test(x);return de||(x=Po(le)),W=m.cssHooks[x]||m.cssHooks[le],W&&"get"in W&&(B=W.get(d,!0,T)),B===void 0&&(B=Io(d,x,k)),B==="normal"&&x in Rs&&(B=Rs[x]),T===""||T?(z=parseFloat(B),T===!0||isFinite(z)?z||0:B):B}}),m.each(["height","width"],function(d,x){m.cssHooks[x]={get:function(T,k,B){if(k)return Gu.test(m.css(T,"display"))&&(!T.getClientRects().length||!T.getBoundingClientRect().width)?iu(T,ko,function(){return ks(T,x,B)}):ks(T,x,B)},set:function(T,k,B){var z,W=Uu(T),le=!C.scrollboxSize()&&W.position==="absolute",de=le||B,Ce=de&&m.css(T,"boxSizing",!1,W)==="border-box",He=B?Ps(T,x,B,Ce,W):0;return Ce&&le&&(He-=Math.ceil(T["offset"+x[0].toUpperCase()+x.slice(1)]-parseFloat(W[x])-Ps(T,x,"border",!1,W)-.5)),He&&(z=rn.exec(k))&&(z[3]||"px")!=="px"&&(T.style[x]=k,k=m.css(T,x)),Is(T,k,He)}}}),m.cssHooks.marginLeft=Ma(C.reliableMarginLeft,function(d,x){if(x)return(parseFloat(Io(d,"marginLeft"))||d.getBoundingClientRect().left-iu(d,{marginLeft:0},function(){return d.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(d,x){m.cssHooks[d+x]={expand:function(T){for(var k=0,B={},z=typeof T=="string"?T.split(" "):[T];k<4;k++)B[d+Zr[k]+x]=z[k]||z[k-2]||z[0];return B}},d!=="margin"&&(m.cssHooks[d+x].set=Is)}),m.fn.extend({css:function(d,x){return Me(this,function(T,k,B){var z,W,le={},de=0;if(Array.isArray(k)){for(z=Uu(T),W=k.length;de<W;de++)le[k[de]]=m.css(T,k[de],!1,z);return le}return B!==void 0?m.style(T,k,B):m.css(T,k)},d,x,arguments.length>1)}});function ii(d,x,T,k,B){return new ii.prototype.init(d,x,T,k,B)}m.Tween=ii,ii.prototype={constructor:ii,init:function(d,x,T,k,B,z){this.elem=d,this.prop=T,this.easing=B||m.easing._default,this.options=x,this.start=this.now=this.cur(),this.end=k,this.unit=z||(m.cssNumber[T]?"":"px")},cur:function(){var d=ii.propHooks[this.prop];return d&&d.get?d.get(this):ii.propHooks._default.get(this)},run:function(d){var x,T=ii.propHooks[this.prop];return this.options.duration?this.pos=x=m.easing[this.easing](d,this.options.duration*d,0,1,this.options.duration):this.pos=x=d,this.now=(this.end-this.start)*x+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),T&&T.set?T.set(this):ii.propHooks._default.set(this),this}},ii.prototype.init.prototype=ii.prototype,ii.propHooks={_default:{get:function(d){var x;return d.elem.nodeType!==1||d.elem[d.prop]!=null&&d.elem.style[d.prop]==null?d.elem[d.prop]:(x=m.css(d.elem,d.prop,""),!x||x==="auto"?0:x)},set:function(d){m.fx.step[d.prop]?m.fx.step[d.prop](d):d.elem.nodeType===1&&(m.cssHooks[d.prop]||d.elem.style[Po(d.prop)]!=null)?m.style(d.elem,d.prop,d.now+d.unit):d.elem[d.prop]=d.now}}},ii.propHooks.scrollTop=ii.propHooks.scrollLeft={set:function(d){d.elem.nodeType&&d.elem.parentNode&&(d.elem[d.prop]=d.now)}},m.easing={linear:function(d){return d},swing:function(d){return .5-Math.cos(d*Math.PI)/2},_default:"swing"},m.fx=ii.prototype.init,m.fx.step={};var Do,au,Yl=/^(?:toggle|show|hide)$/,Xl=/queueHooks$/;function Fn(){au&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Fn):t.setTimeout(Fn,m.fx.interval),m.fx.tick())}function Ql(){return t.setTimeout(function(){Do=void 0}),Do=Date.now()}function Mo(d,x){var T,k=0,B={height:d};for(x=x?1:0;k<4;k+=2-x)T=Zr[k],B["margin"+T]=B["padding"+T]=d;return x&&(B.opacity=B.width=d),B}function Na(d,x,T){for(var k,B=(Li.tweeners[x]||[]).concat(Li.tweeners["*"]),z=0,W=B.length;z<W;z++)if(k=B[z].call(T,x,d))return k}function ou(d,x,T){var k,B,z,W,le,de,Ce,He,ht="width"in x||"height"in x,Le=this,Ke={},cr=d.style,Sr=d.nodeType&&eo(d),sr=ge.get(d,"fxshow");T.queue||(W=m._queueHooks(d,"fx"),W.unqueued==null&&(W.unqueued=0,le=W.empty.fire,W.empty.fire=function(){W.unqueued||le()}),W.unqueued++,Le.always(function(){Le.always(function(){W.unqueued--,m.queue(d,"fx").length||W.empty.fire()})}));for(k in x)if(B=x[k],Yl.test(B)){if(delete x[k],z=z||B==="toggle",B===(Sr?"hide":"show"))if(B==="show"&&sr&&sr[k]!==void 0)Sr=!0;else continue;Ke[k]=sr&&sr[k]||m.style(d,k)}if(de=!m.isEmptyObject(x),!(!de&&m.isEmptyObject(Ke))){ht&&d.nodeType===1&&(T.overflow=[cr.overflow,cr.overflowX,cr.overflowY],Ce=sr&&sr.display,Ce==null&&(Ce=ge.get(d,"display")),He=m.css(d,"display"),He==="none"&&(Ce?He=Ce:(yi([d],!0),Ce=d.style.display||Ce,He=m.css(d,"display"),yi([d]))),(He==="inline"||He==="inline-block"&&Ce!=null)&&m.css(d,"float")==="none"&&(de||(Le.done(function(){cr.display=Ce}),Ce==null&&(He=cr.display,Ce=He==="none"?"":He)),cr.display="inline-block")),T.overflow&&(cr.overflow="hidden",Le.always(function(){cr.overflow=T.overflow[0],cr.overflowX=T.overflow[1],cr.overflowY=T.overflow[2]})),de=!1;for(k in Ke)de||(sr?"hidden"in sr&&(Sr=sr.hidden):sr=ge.access(d,"fxshow",{display:Ce}),z&&(sr.hidden=!Sr),Sr&&yi([d],!0),Le.done(function(){Sr||yi([d]),ge.remove(d,"fxshow");for(k in Ke)m.style(d,k,Ke[k])})),de=Na(Sr?sr[k]:0,k,Le),k in sr||(sr[k]=de.start,Sr&&(de.end=de.start,de.start=0))}}function No(d,x){var T,k,B,z,W;for(T in d)if(k=H(T),B=x[k],z=d[T],Array.isArray(z)&&(B=z[1],z=d[T]=z[0]),T!==k&&(d[k]=z,delete d[T]),W=m.cssHooks[k],W&&"expand"in W){z=W.expand(z),delete d[k];for(T in z)T in d||(d[T]=z[T],x[T]=B)}else x[k]=B}function Li(d,x,T){var k,B,z=0,W=Li.prefilters.length,le=m.Deferred().always(function(){delete de.elem}),de=function(){if(B)return!1;for(var ht=Do||Ql(),Le=Math.max(0,Ce.startTime+Ce.duration-ht),Ke=Le/Ce.duration||0,cr=1-Ke,Sr=0,sr=Ce.tweens.length;Sr<sr;Sr++)Ce.tweens[Sr].run(cr);return le.notifyWith(d,[Ce,cr,Le]),cr<1&&sr?Le:(sr||le.notifyWith(d,[Ce,1,0]),le.resolveWith(d,[Ce]),!1)},Ce=le.promise({elem:d,props:m.extend({},x),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},T),originalProperties:x,originalOptions:T,startTime:Do||Ql(),duration:T.duration,tweens:[],createTween:function(ht,Le){var Ke=m.Tween(d,Ce.opts,ht,Le,Ce.opts.specialEasing[ht]||Ce.opts.easing);return Ce.tweens.push(Ke),Ke},stop:function(ht){var Le=0,Ke=ht?Ce.tweens.length:0;if(B)return this;for(B=!0;Le<Ke;Le++)Ce.tweens[Le].run(1);return ht?(le.notifyWith(d,[Ce,1,0]),le.resolveWith(d,[Ce,ht])):le.rejectWith(d,[Ce,ht]),this}}),He=Ce.props;for(No(He,Ce.opts.specialEasing);z<W;z++)if(k=Li.prefilters[z].call(Ce,d,He,Ce.opts),k)return O(k.stop)&&(m._queueHooks(Ce.elem,Ce.opts.queue).stop=k.stop.bind(k)),k;return m.map(He,Na,Ce),O(Ce.opts.start)&&Ce.opts.start.call(d,Ce),Ce.progress(Ce.opts.progress).done(Ce.opts.done,Ce.opts.complete).fail(Ce.opts.fail).always(Ce.opts.always),m.fx.timer(m.extend(de,{elem:d,anim:Ce,queue:Ce.opts.queue})),Ce}m.Animation=m.extend(Li,{tweeners:{"*":[function(d,x){var T=this.createTween(d,x);return ia(T.elem,d,rn.exec(x),T),T}]},tweener:function(d,x){O(d)?(x=d,d=["*"]):d=d.match(Ie);for(var T,k=0,B=d.length;k<B;k++)T=d[k],Li.tweeners[T]=Li.tweeners[T]||[],Li.tweeners[T].unshift(x)},prefilters:[ou],prefilter:function(d,x){x?Li.prefilters.unshift(d):Li.prefilters.push(d)}}),m.speed=function(d,x,T){var k=d&&typeof d=="object"?m.extend({},d):{complete:T||!T&&x||O(d)&&d,duration:d,easing:T&&x||x&&!O(x)&&x};return m.fx.off?k.duration=0:typeof k.duration!="number"&&(k.duration in m.fx.speeds?k.duration=m.fx.speeds[k.duration]:k.duration=m.fx.speeds._default),(k.queue==null||k.queue===!0)&&(k.queue="fx"),k.old=k.complete,k.complete=function(){O(k.old)&&k.old.call(this),k.queue&&m.dequeue(this,k.queue)},k},m.fn.extend({fadeTo:function(d,x,T,k){return this.filter(eo).css("opacity",0).show().end().animate({opacity:x},d,T,k)},animate:function(d,x,T,k){var B=m.isEmptyObject(d),z=m.speed(x,T,k),W=function(){var le=Li(this,m.extend({},d),z);(B||ge.get(this,"finish"))&&le.stop(!0)};return W.finish=W,B||z.queue===!1?this.each(W):this.queue(z.queue,W)},stop:function(d,x,T){var k=function(B){var z=B.stop;delete B.stop,z(T)};return typeof d!="string"&&(T=x,x=d,d=void 0),x&&this.queue(d||"fx",[]),this.each(function(){var B=!0,z=d!=null&&d+"queueHooks",W=m.timers,le=ge.get(this);if(z)le[z]&&le[z].stop&&k(le[z]);else for(z in le)le[z]&&le[z].stop&&Xl.test(z)&&k(le[z]);for(z=W.length;z--;)W[z].elem===this&&(d==null||W[z].queue===d)&&(W[z].anim.stop(T),B=!1,W.splice(z,1));(B||!T)&&m.dequeue(this,d)})},finish:function(d){return d!==!1&&(d=d||"fx"),this.each(function(){var x,T=ge.get(this),k=T[d+"queue"],B=T[d+"queueHooks"],z=m.timers,W=k?k.length:0;for(T.finish=!0,m.queue(this,d,[]),B&&B.stop&&B.stop.call(this,!0),x=z.length;x--;)z[x].elem===this&&z[x].queue===d&&(z[x].anim.stop(!0),z.splice(x,1));for(x=0;x<W;x++)k[x]&&k[x].finish&&k[x].finish.call(this);delete T.finish})}}),m.each(["toggle","show","hide"],function(d,x){var T=m.fn[x];m.fn[x]=function(k,B,z){return k==null||typeof k=="boolean"?T.apply(this,arguments):this.animate(Mo(x,!0),k,B,z)}}),m.each({slideDown:Mo("show"),slideUp:Mo("hide"),slideToggle:Mo("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(d,x){m.fn[d]=function(T,k,B){return this.animate(x,T,k,B)}}),m.timers=[],m.fx.tick=function(){var d,x=0,T=m.timers;for(Do=Date.now();x<T.length;x++)d=T[x],!d()&&T[x]===d&&T.splice(x--,1);T.length||m.fx.stop(),Do=void 0},m.fx.timer=function(d){m.timers.push(d),m.fx.start()},m.fx.interval=13,m.fx.start=function(){au||(au=!0,Fn())},m.fx.stop=function(){au=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(d,x){return d=m.fx&&m.fx.speeds[d]||d,x=x||"fx",this.queue(x,function(T,k){var B=t.setTimeout(T,d);k.stop=function(){t.clearTimeout(B)}})},function(){var d=w.createElement("input"),x=w.createElement("select"),T=x.appendChild(w.createElement("option"));d.type="checkbox",C.checkOn=d.value!=="",C.optSelected=T.selected,d=w.createElement("input"),d.value="t",d.type="radio",C.radioValue=d.value==="t"}();var ro,no=m.expr.attrHandle;m.fn.extend({attr:function(d,x){return Me(this,m.attr,d,x,arguments.length>1)},removeAttr:function(d){return this.each(function(){m.removeAttr(this,d)})}}),m.extend({attr:function(d,x,T){var k,B,z=d.nodeType;if(!(z===3||z===8||z===2)){if(typeof d.getAttribute>"u")return m.prop(d,x,T);if((z!==1||!m.isXMLDoc(d))&&(B=m.attrHooks[x.toLowerCase()]||(m.expr.match.bool.test(x)?ro:void 0)),T!==void 0){if(T===null){m.removeAttr(d,x);return}return B&&"set"in B&&(k=B.set(d,T,x))!==void 0?k:(d.setAttribute(x,T+""),T)}return B&&"get"in B&&(k=B.get(d,x))!==null?k:(k=m.find.attr(d,x),k==null?void 0:k)}},attrHooks:{type:{set:function(d,x){if(!C.radioValue&&x==="radio"&&be(d,"input")){var T=d.value;return d.setAttribute("type",x),T&&(d.value=T),x}}}},removeAttr:function(d,x){var T,k=0,B=x&&x.match(Ie);if(B&&d.nodeType===1)for(;T=B[k++];)d.removeAttribute(T)}}),ro={set:function(d,x,T){return x===!1?m.removeAttr(d,T):d.setAttribute(T,T),T}},m.each(m.expr.match.bool.source.match(/\w+/g),function(d,x){var T=no[x]||m.find.attr;no[x]=function(k,B,z){var W,le,de=B.toLowerCase();return z||(le=no[de],no[de]=W,W=T(k,B,z)!=null?de:null,no[de]=le),W}});var io=/^(?:input|select|textarea|button)$/i,uu=/^(?:a|area)$/i;m.fn.extend({prop:function(d,x){return Me(this,m.prop,d,x,arguments.length>1)},removeProp:function(d){return this.each(function(){delete this[m.propFix[d]||d]})}}),m.extend({prop:function(d,x,T){var k,B,z=d.nodeType;if(!(z===3||z===8||z===2))return(z!==1||!m.isXMLDoc(d))&&(x=m.propFix[x]||x,B=m.propHooks[x]),T!==void 0?B&&"set"in B&&(k=B.set(d,T,x))!==void 0?k:d[x]=T:B&&"get"in B&&(k=B.get(d,x))!==null?k:d[x]},propHooks:{tabIndex:{get:function(d){var x=m.find.attr(d,"tabindex");return x?parseInt(x,10):io.test(d.nodeName)||uu.test(d.nodeName)&&d.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(m.propHooks.selected={get:function(d){var x=d.parentNode;return x&&x.parentNode&&x.parentNode.selectedIndex,null},set:function(d){var x=d.parentNode;x&&(x.selectedIndex,x.parentNode&&x.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function $r(d){var x=d.match(Ie)||[];return x.join(" ")}function Fa(d){return d.getAttribute&&d.getAttribute("class")||""}function su(d){return Array.isArray(d)?d:typeof d=="string"?d.match(Ie)||[]:[]}m.fn.extend({addClass:function(d){var x,T,k,B,z,W,le,de=0;if(O(d))return this.each(function(Ce){m(this).addClass(d.call(this,Ce,Fa(this)))});if(x=su(d),x.length){for(;T=this[de++];)if(B=Fa(T),k=T.nodeType===1&&" "+$r(B)+" ",k){for(W=0;z=x[W++];)k.indexOf(" "+z+" ")<0&&(k+=z+" ");le=$r(k),B!==le&&T.setAttribute("class",le)}}return this},removeClass:function(d){var x,T,k,B,z,W,le,de=0;if(O(d))return this.each(function(Ce){m(this).removeClass(d.call(this,Ce,Fa(this)))});if(!arguments.length)return this.attr("class","");if(x=su(d),x.length){for(;T=this[de++];)if(B=Fa(T),k=T.nodeType===1&&" "+$r(B)+" ",k){for(W=0;z=x[W++];)for(;k.indexOf(" "+z+" ")>-1;)k=k.replace(" "+z+" "," ");le=$r(k),B!==le&&T.setAttribute("class",le)}}return this},toggleClass:function(d,x){var T=typeof d,k=T==="string"||Array.isArray(d);return typeof x=="boolean"&&k?x?this.addClass(d):this.removeClass(d):O(d)?this.each(function(B){m(this).toggleClass(d.call(this,B,Fa(this),x),x)}):this.each(function(){var B,z,W,le;if(k)for(z=0,W=m(this),le=su(d);B=le[z++];)W.hasClass(B)?W.removeClass(B):W.addClass(B);else(d===void 0||T==="boolean")&&(B=Fa(this),B&&ge.set(this,"__className__",B),this.setAttribute&&this.setAttribute("class",B||d===!1?"":ge.get(this,"__className__")||""))})},hasClass:function(d){var x,T,k=0;for(x=" "+d+" ";T=this[k++];)if(T.nodeType===1&&(" "+$r(Fa(T))+" ").indexOf(x)>-1)return!0;return!1}});var Ec=/\r/g;m.fn.extend({val:function(d){var x,T,k,B=this[0];return arguments.length?(k=O(d),this.each(function(z){var W;this.nodeType===1&&(k?W=d.call(this,z,m(this).val()):W=d,W==null?W="":typeof W=="number"?W+="":Array.isArray(W)&&(W=m.map(W,function(le){return le==null?"":le+""})),x=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!x||!("set"in x)||x.set(this,W,"value")===void 0)&&(this.value=W))})):B?(x=m.valHooks[B.type]||m.valHooks[B.nodeName.toLowerCase()],x&&"get"in x&&(T=x.get(B,"value"))!==void 0?T:(T=B.value,typeof T=="string"?T.replace(Ec,""):T==null?"":T)):void 0}}),m.extend({valHooks:{option:{get:function(d){var x=m.find.attr(d,"value");return x!=null?x:$r(m.text(d))}},select:{get:function(d){var x,T,k,B=d.options,z=d.selectedIndex,W=d.type==="select-one",le=W?null:[],de=W?z+1:B.length;for(z<0?k=de:k=W?z:0;k<de;k++)if(T=B[k],(T.selected||k===z)&&!T.disabled&&(!T.parentNode.disabled||!be(T.parentNode,"optgroup"))){if(x=m(T).val(),W)return x;le.push(x)}return le},set:function(d,x){for(var T,k,B=d.options,z=m.makeArray(x),W=B.length;W--;)k=B[W],(k.selected=m.inArray(m.valHooks.option.get(k),z)>-1)&&(T=!0);return T||(d.selectedIndex=-1),z}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(d,x){if(Array.isArray(x))return d.checked=m.inArray(m(d).val(),x)>-1}},C.checkOn||(m.valHooks[this].get=function(d){return d.getAttribute("value")===null?"on":d.value})}),C.focusin="onfocusin"in t;var Cc=/^(?:focusinfocus|focusoutblur)$/,Hu=function(d){d.stopPropagation()};m.extend(m.event,{trigger:function(d,x,T,k){var B,z,W,le,de,Ce,He,ht,Le=[T||w],Ke=g.call(d,"type")?d.type:d,cr=g.call(d,"namespace")?d.namespace.split("."):[];if(z=ht=W=T=T||w,!(T.nodeType===3||T.nodeType===8)&&!Cc.test(Ke+m.event.triggered)&&(Ke.indexOf(".")>-1&&(cr=Ke.split("."),Ke=cr.shift(),cr.sort()),de=Ke.indexOf(":")<0&&"on"+Ke,d=d[m.expando]?d:new m.Event(Ke,typeof d=="object"&&d),d.isTrigger=k?2:3,d.namespace=cr.join("."),d.rnamespace=d.namespace?new RegExp("(^|\\.)"+cr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d.result=void 0,d.target||(d.target=T),x=x==null?[d]:m.makeArray(x,[d]),He=m.event.special[Ke]||{},!(!k&&He.trigger&&He.trigger.apply(T,x)===!1))){if(!k&&!He.noBubble&&!S(T)){for(le=He.delegateType||Ke,Cc.test(le+Ke)||(z=z.parentNode);z;z=z.parentNode)Le.push(z),W=z;W===(T.ownerDocument||w)&&Le.push(W.defaultView||W.parentWindow||t)}for(B=0;(z=Le[B++])&&!d.isPropagationStopped();)ht=z,d.type=B>1?le:He.bindType||Ke,Ce=(ge.get(z,"events")||Object.create(null))[d.type]&&ge.get(z,"handle"),Ce&&Ce.apply(z,x),Ce=de&&z[de],Ce&&Ce.apply&&oe(z)&&(d.result=Ce.apply(z,x),d.result===!1&&d.preventDefault());return d.type=Ke,!k&&!d.isDefaultPrevented()&&(!He._default||He._default.apply(Le.pop(),x)===!1)&&oe(T)&&de&&O(T[Ke])&&!S(T)&&(W=T[de],W&&(T[de]=null),m.event.triggered=Ke,d.isPropagationStopped()&&ht.addEventListener(Ke,Hu),T[Ke](),d.isPropagationStopped()&&ht.removeEventListener(Ke,Hu),m.event.triggered=void 0,W&&(T[de]=W)),d.result}},simulate:function(d,x,T){var k=m.extend(new m.Event,T,{type:d,isSimulated:!0});m.event.trigger(k,null,x)}}),m.fn.extend({trigger:function(d,x){return this.each(function(){m.event.trigger(d,x,this)})},triggerHandler:function(d,x){var T=this[0];if(T)return m.event.trigger(d,x,T,!0)}}),C.focusin||m.each({focus:"focusin",blur:"focusout"},function(d,x){var T=function(k){m.event.simulate(x,k.target,m.event.fix(k))};m.event.special[x]={setup:function(){var k=this.ownerDocument||this.document||this,B=ge.access(k,x);B||k.addEventListener(d,T,!0),ge.access(k,x,(B||0)+1)},teardown:function(){var k=this.ownerDocument||this.document||this,B=ge.access(k,x)-1;B?ge.access(k,x,B):(k.removeEventListener(d,T,!0),ge.remove(k,x))}}});var La=t.location,Xi={guid:Date.now()},lu=/\?/;m.parseXML=function(d){var x,T;if(!d||typeof d!="string")return null;try{x=new t.DOMParser().parseFromString(d,"text/xml")}catch{}return T=x&&x.getElementsByTagName("parsererror")[0],(!x||T)&&m.error("Invalid XML: "+(T?m.map(T.childNodes,function(k){return k.textContent}).join(`
47
- `):d)),x};var ua=/\[\]$/,Fo=/\r?\n/g,fu=/^(?:submit|button|image|reset|file)$/i,ao=/^(?:input|select|textarea|keygen)/i;function cu(d,x,T,k){var B;if(Array.isArray(x))m.each(x,function(z,W){T||ua.test(d)?k(d,W):cu(d+"["+(typeof W=="object"&&W!=null?z:"")+"]",W,T,k)});else if(!T&&P(x)==="object")for(B in x)cu(d+"["+B+"]",x[B],T,k);else k(d,x)}m.param=function(d,x){var T,k=[],B=function(z,W){var le=O(W)?W():W;k[k.length]=encodeURIComponent(z)+"="+encodeURIComponent(le==null?"":le)};if(d==null)return"";if(Array.isArray(d)||d.jquery&&!m.isPlainObject(d))m.each(d,function(){B(this.name,this.value)});else for(T in d)cu(T,d[T],x,B);return k.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var d=m.prop(this,"elements");return d?m.makeArray(d):this}).filter(function(){var d=this.type;return this.name&&!m(this).is(":disabled")&&ao.test(this.nodeName)&&!fu.test(d)&&(this.checked||!Pa.test(d))}).map(function(d,x){var T=m(this).val();return T==null?null:Array.isArray(T)?m.map(T,function(k){return{name:x.name,value:k.replace(Fo,`\r
48
- `)}}):{name:x.name,value:T.replace(Fo,`\r
49
- `)}}).get()}});var Ba=/%20/g,$a=/#.*$/,Vu=/([?&])_=[^&]*/,Ac=/^(.*?):[ \t]*([^\r\n]*)$/mg,du=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ds=/^(?:GET|HEAD)$/,Kl=/^\/\//,Zl={},oo={},uo="*/".concat("*"),ya=w.createElement("a");ya.href=La.href;function pu(d){return function(x,T){typeof x!="string"&&(T=x,x="*");var k,B=0,z=x.toLowerCase().match(Ie)||[];if(O(T))for(;k=z[B++];)k[0]==="+"?(k=k.slice(1)||"*",(d[k]=d[k]||[]).unshift(T)):(d[k]=d[k]||[]).push(T)}}function hu(d,x,T,k){var B={},z=d===oo;function W(le){var de;return B[le]=!0,m.each(d[le]||[],function(Ce,He){var ht=He(x,T,k);if(typeof ht=="string"&&!z&&!B[ht])return x.dataTypes.unshift(ht),W(ht),!1;if(z)return!(de=ht)}),de}return W(x.dataTypes[0])||!B["*"]&&W("*")}function za(d,x){var T,k,B=m.ajaxSettings.flatOptions||{};for(T in x)x[T]!==void 0&&((B[T]?d:k||(k={}))[T]=x[T]);return k&&m.extend(!0,d,k),d}function Lo(d,x,T){for(var k,B,z,W,le=d.contents,de=d.dataTypes;de[0]==="*";)de.shift(),k===void 0&&(k=d.mimeType||x.getResponseHeader("Content-Type"));if(k){for(B in le)if(le[B]&&le[B].test(k)){de.unshift(B);break}}if(de[0]in T)z=de[0];else{for(B in T){if(!de[0]||d.converters[B+" "+de[0]]){z=B;break}W||(W=B)}z=z||W}if(z)return z!==de[0]&&de.unshift(z),T[z]}function Jl(d,x,T,k){var B,z,W,le,de,Ce={},He=d.dataTypes.slice();if(He[1])for(W in d.converters)Ce[W.toLowerCase()]=d.converters[W];for(z=He.shift();z;)if(d.responseFields[z]&&(T[d.responseFields[z]]=x),!de&&k&&d.dataFilter&&(x=d.dataFilter(x,d.dataType)),de=z,z=He.shift(),z){if(z==="*")z=de;else if(de!=="*"&&de!==z){if(W=Ce[de+" "+z]||Ce["* "+z],!W){for(B in Ce)if(le=B.split(" "),le[1]===z&&(W=Ce[de+" "+le[0]]||Ce["* "+le[0]],W)){W===!0?W=Ce[B]:Ce[B]!==!0&&(z=le[0],He.unshift(le[1]));break}}if(W!==!0)if(W&&d.throws)x=W(x);else try{x=W(x)}catch(ht){return{state:"parsererror",error:W?ht:"No conversion from "+de+" to "+z}}}}return{state:"success",data:x}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:La.href,type:"GET",isLocal:du.test(La.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":uo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(d,x){return x?za(za(d,m.ajaxSettings),x):za(m.ajaxSettings,d)},ajaxPrefilter:pu(Zl),ajaxTransport:pu(oo),ajax:function(d,x){typeof d=="object"&&(x=d,d=void 0),x=x||{};var T,k,B,z,W,le,de,Ce,He,ht,Le=m.ajaxSetup({},x),Ke=Le.context||Le,cr=Le.context&&(Ke.nodeType||Ke.jquery)?m(Ke):m.event,Sr=m.Deferred(),sr=m.Callbacks("once memory"),Sn=Le.statusCode||{},xn={},xi={},Hr="canceled",Rr={readyState:0,getResponseHeader:function(Vr){var vn;if(de){if(!z)for(z={};vn=Ac.exec(B);)z[vn[1].toLowerCase()+" "]=(z[vn[1].toLowerCase()+" "]||[]).concat(vn[2]);vn=z[Vr.toLowerCase()+" "]}return vn==null?null:vn.join(", ")},getAllResponseHeaders:function(){return de?B:null},setRequestHeader:function(Vr,vn){return de==null&&(Vr=xi[Vr.toLowerCase()]=xi[Vr.toLowerCase()]||Vr,xn[Vr]=vn),this},overrideMimeType:function(Vr){return de==null&&(Le.mimeType=Vr),this},statusCode:function(Vr){var vn;if(Vr)if(de)Rr.always(Vr[Rr.status]);else for(vn in Vr)Sn[vn]=[Sn[vn],Vr[vn]];return this},abort:function(Vr){var vn=Vr||Hr;return T&&T.abort(vn),Gn(0,vn),this}};if(Sr.promise(Rr),Le.url=((d||Le.url||La.href)+"").replace(Kl,La.protocol+"//"),Le.type=x.method||x.type||Le.method||Le.type,Le.dataTypes=(Le.dataType||"*").toLowerCase().match(Ie)||[""],Le.crossDomain==null){le=w.createElement("a");try{le.href=Le.url,le.href=le.href,Le.crossDomain=ya.protocol+"//"+ya.host!=le.protocol+"//"+le.host}catch{Le.crossDomain=!0}}if(Le.data&&Le.processData&&typeof Le.data!="string"&&(Le.data=m.param(Le.data,Le.traditional)),hu(Zl,Le,x,Rr),de)return Rr;Ce=m.event&&Le.global,Ce&&m.active++===0&&m.event.trigger("ajaxStart"),Le.type=Le.type.toUpperCase(),Le.hasContent=!Ds.test(Le.type),k=Le.url.replace($a,""),Le.hasContent?Le.data&&Le.processData&&(Le.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Le.data=Le.data.replace(Ba,"+")):(ht=Le.url.slice(k.length),Le.data&&(Le.processData||typeof Le.data=="string")&&(k+=(lu.test(k)?"&":"?")+Le.data,delete Le.data),Le.cache===!1&&(k=k.replace(Vu,"$1"),ht=(lu.test(k)?"&":"?")+"_="+Xi.guid+++ht),Le.url=k+ht),Le.ifModified&&(m.lastModified[k]&&Rr.setRequestHeader("If-Modified-Since",m.lastModified[k]),m.etag[k]&&Rr.setRequestHeader("If-None-Match",m.etag[k])),(Le.data&&Le.hasContent&&Le.contentType!==!1||x.contentType)&&Rr.setRequestHeader("Content-Type",Le.contentType),Rr.setRequestHeader("Accept",Le.dataTypes[0]&&Le.accepts[Le.dataTypes[0]]?Le.accepts[Le.dataTypes[0]]+(Le.dataTypes[0]!=="*"?", "+uo+"; q=0.01":""):Le.accepts["*"]);for(He in Le.headers)Rr.setRequestHeader(He,Le.headers[He]);if(Le.beforeSend&&(Le.beforeSend.call(Ke,Rr,Le)===!1||de))return Rr.abort();if(Hr="abort",sr.add(Le.complete),Rr.done(Le.success),Rr.fail(Le.error),T=hu(oo,Le,x,Rr),!T)Gn(-1,"No Transport");else{if(Rr.readyState=1,Ce&&cr.trigger("ajaxSend",[Rr,Le]),de)return Rr;Le.async&&Le.timeout>0&&(W=t.setTimeout(function(){Rr.abort("timeout")},Le.timeout));try{de=!1,T.send(xn,Gn)}catch(Vr){if(de)throw Vr;Gn(-1,Vr)}}function Gn(Vr,vn,Ua,Ls){var ai,so,oi,Jn,wi,_i=vn;de||(de=!0,W&&t.clearTimeout(W),T=void 0,B=Ls||"",Rr.readyState=Vr>0?4:0,ai=Vr>=200&&Vr<300||Vr===304,Ua&&(Jn=Lo(Le,Rr,Ua)),!ai&&m.inArray("script",Le.dataTypes)>-1&&m.inArray("json",Le.dataTypes)<0&&(Le.converters["text script"]=function(){}),Jn=Jl(Le,Jn,Rr,ai),ai?(Le.ifModified&&(wi=Rr.getResponseHeader("Last-Modified"),wi&&(m.lastModified[k]=wi),wi=Rr.getResponseHeader("etag"),wi&&(m.etag[k]=wi)),Vr===204||Le.type==="HEAD"?_i="nocontent":Vr===304?_i="notmodified":(_i=Jn.state,so=Jn.data,oi=Jn.error,ai=!oi)):(oi=_i,(Vr||!_i)&&(_i="error",Vr<0&&(Vr=0))),Rr.status=Vr,Rr.statusText=(vn||_i)+"",ai?Sr.resolveWith(Ke,[so,_i,Rr]):Sr.rejectWith(Ke,[Rr,_i,oi]),Rr.statusCode(Sn),Sn=void 0,Ce&&cr.trigger(ai?"ajaxSuccess":"ajaxError",[Rr,Le,ai?so:oi]),sr.fireWith(Ke,[Rr,_i]),Ce&&(cr.trigger("ajaxComplete",[Rr,Le]),--m.active||m.event.trigger("ajaxStop")))}return Rr},getJSON:function(d,x,T){return m.get(d,x,T,"json")},getScript:function(d,x){return m.get(d,void 0,x,"script")}}),m.each(["get","post"],function(d,x){m[x]=function(T,k,B,z){return O(k)&&(z=z||B,B=k,k=void 0),m.ajax(m.extend({url:T,type:x,dataType:z,data:k,success:B},m.isPlainObject(T)&&T))}}),m.ajaxPrefilter(function(d){var x;for(x in d.headers)x.toLowerCase()==="content-type"&&(d.contentType=d.headers[x]||"")}),m._evalUrl=function(d,x,T){return m.ajax({url:d,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(k){m.globalEval(k,x,T)}})},m.fn.extend({wrapAll:function(d){var x;return this[0]&&(O(d)&&(d=d.call(this[0])),x=m(d,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&x.insertBefore(this[0]),x.map(function(){for(var T=this;T.firstElementChild;)T=T.firstElementChild;return T}).append(this)),this},wrapInner:function(d){return O(d)?this.each(function(x){m(this).wrapInner(d.call(this,x))}):this.each(function(){var x=m(this),T=x.contents();T.length?T.wrapAll(d):x.append(d)})},wrap:function(d){var x=O(d);return this.each(function(T){m(this).wrapAll(x?d.call(this,T):d)})},unwrap:function(d){return this.parent(d).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(d){return!m.expr.pseudos.visible(d)},m.expr.pseudos.visible=function(d){return!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ms={0:200,1223:204},ja=m.ajaxSettings.xhr();C.cors=!!ja&&"withCredentials"in ja,C.ajax=ja=!!ja,m.ajaxTransport(function(d){var x,T;if(C.cors||ja&&!d.crossDomain)return{send:function(k,B){var z,W=d.xhr();if(W.open(d.type,d.url,d.async,d.username,d.password),d.xhrFields)for(z in d.xhrFields)W[z]=d.xhrFields[z];d.mimeType&&W.overrideMimeType&&W.overrideMimeType(d.mimeType),!d.crossDomain&&!k["X-Requested-With"]&&(k["X-Requested-With"]="XMLHttpRequest");for(z in k)W.setRequestHeader(z,k[z]);x=function(le){return function(){x&&(x=T=W.onload=W.onerror=W.onabort=W.ontimeout=W.onreadystatechange=null,le==="abort"?W.abort():le==="error"?typeof W.status!="number"?B(0,"error"):B(W.status,W.statusText):B(Ms[W.status]||W.status,W.statusText,(W.responseType||"text")!=="text"||typeof W.responseText!="string"?{binary:W.response}:{text:W.responseText},W.getAllResponseHeaders()))}},W.onload=x(),T=W.onerror=W.ontimeout=x("error"),W.onabort!==void 0?W.onabort=T:W.onreadystatechange=function(){W.readyState===4&&t.setTimeout(function(){x&&T()})},x=x("abort");try{W.send(d.hasContent&&d.data||null)}catch(le){if(x)throw le}},abort:function(){x&&x()}}}),m.ajaxPrefilter(function(d){d.crossDomain&&(d.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(d){return m.globalEval(d),d}}}),m.ajaxPrefilter("script",function(d){d.cache===void 0&&(d.cache=!1),d.crossDomain&&(d.type="GET")}),m.ajaxTransport("script",function(d){if(d.crossDomain||d.scriptAttrs){var x,T;return{send:function(k,B){x=m("<script>").attr(d.scriptAttrs||{}).prop({charset:d.scriptCharset,src:d.url}).on("load error",T=function(z){x.remove(),T=null,z&&B(z.type==="error"?404:200,z.type)}),w.head.appendChild(x[0])},abort:function(){T&&T()}}}});var Ns=[],Fs=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=Ns.pop()||m.expando+"_"+Xi.guid++;return this[d]=!0,d}}),m.ajaxPrefilter("json jsonp",function(d,x,T){var k,B,z,W=d.jsonp!==!1&&(Fs.test(d.url)?"url":typeof d.data=="string"&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Fs.test(d.data)&&"data");if(W||d.dataTypes[0]==="jsonp")return k=d.jsonpCallback=O(d.jsonpCallback)?d.jsonpCallback():d.jsonpCallback,W?d[W]=d[W].replace(Fs,"$1"+k):d.jsonp!==!1&&(d.url+=(lu.test(d.url)?"&":"?")+d.jsonp+"="+k),d.converters["script json"]=function(){return z||m.error(k+" was not called"),z[0]},d.dataTypes[0]="json",B=t[k],t[k]=function(){z=arguments},T.always(function(){B===void 0?m(t).removeProp(k):t[k]=B,d[k]&&(d.jsonpCallback=x.jsonpCallback,Ns.push(k)),z&&O(B)&&B(z[0]),z=B=void 0}),"script"}),C.createHTMLDocument=function(){var d=w.implementation.createHTMLDocument("").body;return d.innerHTML="<form></form><form></form>",d.childNodes.length===2}(),m.parseHTML=function(d,x,T){if(typeof d!="string")return[];typeof x=="boolean"&&(T=x,x=!1);var k,B,z;return x||(C.createHTMLDocument?(x=w.implementation.createHTMLDocument(""),k=x.createElement("base"),k.href=w.location.href,x.head.appendChild(k)):x=w),B=Pe.exec(d),z=!T&&[],B?[x.createElement(B[1])]:(B=zu([d],x,z),z&&z.length&&m(z).remove(),m.merge([],B.childNodes))},m.fn.load=function(d,x,T){var k,B,z,W=this,le=d.indexOf(" ");return le>-1&&(k=$r(d.slice(le)),d=d.slice(0,le)),O(x)?(T=x,x=void 0):x&&typeof x=="object"&&(B="POST"),W.length>0&&m.ajax({url:d,type:B||"GET",dataType:"html",data:x}).done(function(de){z=arguments,W.html(k?m("<div>").append(m.parseHTML(de)).find(k):de)}).always(T&&function(de,Ce){W.each(function(){T.apply(this,z||[de.responseText,Ce,de])})}),this},m.expr.pseudos.animated=function(d){return m.grep(m.timers,function(x){return d===x.elem}).length},m.offset={setOffset:function(d,x,T){var k,B,z,W,le,de,Ce,He=m.css(d,"position"),ht=m(d),Le={};He==="static"&&(d.style.position="relative"),le=ht.offset(),z=m.css(d,"top"),de=m.css(d,"left"),Ce=(He==="absolute"||He==="fixed")&&(z+de).indexOf("auto")>-1,Ce?(k=ht.position(),W=k.top,B=k.left):(W=parseFloat(z)||0,B=parseFloat(de)||0),O(x)&&(x=x.call(d,T,m.extend({},le))),x.top!=null&&(Le.top=x.top-le.top+W),x.left!=null&&(Le.left=x.left-le.left+B),"using"in x?x.using.call(d,Le):ht.css(Le)}},m.fn.extend({offset:function(d){if(arguments.length)return d===void 0?this:this.each(function(B){m.offset.setOffset(this,d,B)});var x,T,k=this[0];if(!!k)return k.getClientRects().length?(x=k.getBoundingClientRect(),T=k.ownerDocument.defaultView,{top:x.top+T.pageYOffset,left:x.left+T.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var d,x,T,k=this[0],B={top:0,left:0};if(m.css(k,"position")==="fixed")x=k.getBoundingClientRect();else{for(x=this.offset(),T=k.ownerDocument,d=k.offsetParent||T.documentElement;d&&(d===T.body||d===T.documentElement)&&m.css(d,"position")==="static";)d=d.parentNode;d&&d!==k&&d.nodeType===1&&(B=m(d).offset(),B.top+=m.css(d,"borderTopWidth",!0),B.left+=m.css(d,"borderLeftWidth",!0))}return{top:x.top-B.top-m.css(k,"marginTop",!0),left:x.left-B.left-m.css(k,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var d=this.offsetParent;d&&m.css(d,"position")==="static";)d=d.offsetParent;return d||hn})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(d,x){var T=x==="pageYOffset";m.fn[d]=function(k){return Me(this,function(B,z,W){var le;if(S(B)?le=B:B.nodeType===9&&(le=B.defaultView),W===void 0)return le?le[x]:B[z];le?le.scrollTo(T?le.pageXOffset:W,T?W:le.pageYOffset):B[z]=W},d,k,arguments.length)}}),m.each(["top","left"],function(d,x){m.cssHooks[x]=Ma(C.pixelPosition,function(T,k){if(k)return k=Io(T,x),ju.test(k)?m(T).position()[x]+"px":k})}),m.each({Height:"height",Width:"width"},function(d,x){m.each({padding:"inner"+d,content:x,"":"outer"+d},function(T,k){m.fn[k]=function(B,z){var W=arguments.length&&(T||typeof B!="boolean"),le=T||(B===!0||z===!0?"margin":"border");return Me(this,function(de,Ce,He){var ht;return S(de)?k.indexOf("outer")===0?de["inner"+d]:de.document.documentElement["client"+d]:de.nodeType===9?(ht=de.documentElement,Math.max(de.body["scroll"+d],ht["scroll"+d],de.body["offset"+d],ht["offset"+d],ht["client"+d])):He===void 0?m.css(de,Ce,le):m.style(de,Ce,He,le)},x,W?B:void 0,W)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(d,x){m.fn[x]=function(T){return this.on(x,T)}}),m.fn.extend({bind:function(d,x,T){return this.on(d,null,x,T)},unbind:function(d,x){return this.off(d,null,x)},delegate:function(d,x,T,k){return this.on(x,d,T,k)},undelegate:function(d,x,T){return arguments.length===1?this.off(d,"**"):this.off(x,d||"**",T)},hover:function(d,x){return this.mouseenter(d).mouseleave(x||d)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(d,x){m.fn[x]=function(T,k){return arguments.length>0?this.on(x,null,T,k):this.trigger(x)}});var ef=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;m.proxy=function(d,x){var T,k,B;if(typeof x=="string"&&(T=d[x],x=d,d=T),!!O(d))return k=a.call(arguments,2),B=function(){return d.apply(x||this,k.concat(a.call(arguments)))},B.guid=d.guid=d.guid||m.guid++,B},m.holdReady=function(d){d?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=be,m.isFunction=O,m.isWindow=S,m.camelCase=H,m.type=P,m.now=Date.now,m.isNumeric=function(d){var x=m.type(d);return(x==="number"||x==="string")&&!isNaN(d-parseFloat(d))},m.trim=function(d){return d==null?"":(d+"").replace(ef,"")};var Tc=t.jQuery,tf=t.$;return m.noConflict=function(d){return t.$===m&&(t.$=tf),d&&t.jQuery===m&&(t.jQuery=Tc),m},typeof r>"u"&&(t.jQuery=t.$=m),m})})(aM);const Vce=aM.exports;var Xr={exports:{}},yz="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",bz=yz,xz=bz;function oM(){}function uM(){}uM.resetWarningCache=oM;var wz=function(){function e(n,i,a,o,u,l){if(l!==xz){var f=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 f.name="Invariant Violation",f}}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:uM,resetWarningCache:oM};return r.PropTypes=r,r};Xr.exports=wz();var _z=function(){},Sz=_z(),_s=function(e){return e!==Sz&&e!==null},Ez=_s,Cz=Array.prototype.forEach,Az=Object.create,Tz=function(e,t){var r;for(r in e)t[r]=e[r]},PE=function(e){var t=Az(null);return Cz.call(arguments,function(r){!Ez(r)||Tz(Object(r),t)}),t},Oz=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},Bb,nO;function Rz(){return nO||(nO=1,Bb=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),Bb}var Iz=Oz()?Math.sign:Rz(),Pz=Iz,kz=Math.abs,Dz=Math.floor,Mz=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:Pz(e)*Dz(kz(e)))},Nz=Mz,Fz=Math.max,sc=function(e){return Fz(0,Nz(e))},Lz=sc,sM=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:Lz(e)},Fu=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},Bz=_s,Ko=function(e){if(!Bz(e))throw new TypeError("Cannot use null or undefined");return e},$z=Fu,zz=Ko,jz=Function.prototype.bind,iO=Function.prototype.call,Uz=Object.keys,Wz=Object.prototype.propertyIsEnumerable,qz=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(zz(r)),$z(n),i=Uz(r),o&&i.sort(typeof o=="function"?jz.call(o,r):void 0),typeof e!="function"&&(e=i[e]),iO.call(e,i,function(u,l){return Wz.call(r,u)?iO.call(n,a,r[u],u,r,l):t})}},Xy=qz("forEach"),lc={},lM={exports:{}},Gz=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")},$b,aO;function Hz(){return aO||(aO=1,$b=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),$b}var zb,oO;function Vz(){if(oO)return zb;oO=1;var e=_s,t=Object.keys;return zb=function(r){return t(e(r)?Object(r):r)},zb}var jb,uO;function Yz(){return uO||(uO=1,jb=Hz()()?Object.keys:Vz()),jb}var Ub,sO;function Xz(){if(sO)return Ub;sO=1;var e=Yz(),t=Ko,r=Math.max;return Ub=function(n,i){var a,o,u=r(arguments.length,2),l;for(n=Object(t(n)),l=function(f){try{n[f]=i[f]}catch(p){a||(a=p)}},o=1;o<u;++o)i=arguments[o],e(i).forEach(l);if(a!==void 0)throw a;return n},Ub}var Qy=Gz()?Object.assign:Xz(),Qz=_s,Kz={function:!0,object:!0},kE=function(e){return Qz(e)&&Kz[typeof e]||!1};(function(e){var t=Qy,r=kE,n=_s,i=Error.captureStackTrace;e.exports=function(a){var o=new Error(a),u=arguments[1],l=arguments[2];return n(l)||r(u)&&(l=u,u=null),n(l)&&t(o,l),n(u)&&(o.code=u),i&&i(o,e.exports),o}})(lM);var L0={exports:{}},Wb,lO;function fM(){if(lO)return Wb;lO=1;var e=Ko,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return Wb=function(a,o){var u,l=Object(e(o));if(a=Object(e(a)),n(l).forEach(function(f){try{t(a,f,r(o,f))}catch(p){u=p}}),typeof i=="function"&&i(l).forEach(function(f){try{t(a,f,r(o,f))}catch(p){u=p}}),u!==void 0)throw u;return a},Wb}var fO=sc,cM=function(e,t){return t},qb,cO,dO,pO;try{Object.defineProperty(cM,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}cM.length===1?(qb={configurable:!0,writable:!1,enumerable:!1},cO=Object.defineProperty,L0.exports=function(e,t){return t=fO(t),e.length===t?e:(qb.value=t,cO(e,"length",qb))}):(pO=fM(),dO=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); };")}}(),L0.exports=function(e,t){var r;if(t=fO(t),e.length===t)return e;r=dO(t)(e);try{pO(r,e)}catch{}return r});var Ro={exports:{}},Zz=void 0,dp=function(e){return e!==Zz&&e!==null},Jz=dp,ej={object:!0,function:!0,undefined:!0},DE=function(e){return Jz(e)?hasOwnProperty.call(ej,typeof e):!1},tj=DE,rj=function(e){if(!tj(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},nj=rj,ij=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!nj(e)},aj=ij,oj=/^\s*class[\s{/}]/,uj=Function.prototype.toString,dM=function(e){return!(!aj(e)||oj.test(uj.call(e)))},Gb="razdwatrzy",sj=function(){return typeof Gb.contains!="function"?!1:Gb.contains("dwa")===!0&&Gb.contains("foo")===!1},Hb,hO;function lj(){if(hO)return Hb;hO=1;var e=String.prototype.indexOf;return Hb=function(t){return e.call(this,t,arguments[1])>-1},Hb}var pM=sj()?String.prototype.contains:lj(),t0=dp,vO=dM,hM=Qy,vM=PE,av=pM,fj=Ro.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],t0(e)?(r=av.call(e,"c"),n=av.call(e,"e"),i=av.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?hM(vM(a),o):o};fj.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],t0(t)?vO(t)?t0(r)?vO(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,t0(e)?(n=av.call(e,"c"),i=av.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?hM(vM(a),o):o};var _S={exports:{}};(function(e,t){var r=Ro.exports,n=Fu,i=Function.prototype.apply,a=Function.prototype.call,o=Object.create,u=Object.defineProperty,l=Object.defineProperties,f=Object.prototype.hasOwnProperty,p={configurable:!0,enumerable:!1,writable:!0},g,v,y,C,O,S,w;g=function(A,R){var P;return n(R),f.call(this,"__ee__")?P=this.__ee__:(P=p.value=o(null),u(this,"__ee__",p),p.value=null),P[A]?typeof P[A]=="object"?P[A].push(R):P[A]=[P[A],R]:P[A]=R,this},v=function(A,R){var P,N;return n(R),N=this,g.call(this,A,P=function(){y.call(N,A,P),i.call(R,this,arguments)}),P.__eeOnceListener__=R,this},y=function(A,R){var P,N,m,G;if(n(R),!f.call(this,"__ee__"))return this;if(P=this.__ee__,!P[A])return this;if(N=P[A],typeof N=="object")for(G=0;m=N[G];++G)(m===R||m.__eeOnceListener__===R)&&(N.length===2?P[A]=N[G?0:1]:N.splice(G,1));else(N===R||N.__eeOnceListener__===R)&&delete P[A];return this},C=function(A){var R,P,N,m,G;if(!!f.call(this,"__ee__")&&(m=this.__ee__[A],!!m))if(typeof m=="object"){for(P=arguments.length,G=new Array(P-1),R=1;R<P;++R)G[R-1]=arguments[R];for(m=m.slice(),R=0;N=m[R];++R)i.call(N,this,G)}else switch(arguments.length){case 1:a.call(m,this);break;case 2:a.call(m,this,arguments[1]);break;case 3:a.call(m,this,arguments[1],arguments[2]);break;default:for(P=arguments.length,G=new Array(P-1),R=1;R<P;++R)G[R-1]=arguments[R];i.call(m,this,G)}},O={on:g,once:v,off:y,emit:C},S={on:r(g),once:r(v),off:r(y),emit:r(C)},w=l({},S),e.exports=t=function(A){return A==null?o(w):l(Object(A),S)},t.methods=O})(_S,_S.exports);var Vb,gO;function cj(){return gO||(gO=1,Vb=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"))}),Vb}var Yb,mO;function dj(){return mO||(mO=1,Yb=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),Yb}var Xb,yO;function pj(){if(yO)return Xb;yO=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 Xb=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__}}(),Xb}var Qb,bO;function Ky(){return bO||(bO=1,Qb=dj()()?globalThis:pj()),Qb}var Kb,xO;function hj(){if(xO)return Kb;xO=1;var e=Ky(),t={object:!0,symbol:!0};return Kb=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])},Kb}var Zb,wO;function vj(){return wO||(wO=1,Zb=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),Zb}var Jb,_O;function gM(){if(_O)return Jb;_O=1;var e=vj();return Jb=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},Jb}var ex,SO;function gj(){if(SO)return ex;SO=1;var e=Ro.exports,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return ex=function(a){for(var o=0,u,l;i[a+(o||"")];)++o;return a+=o||"",i[a]=!0,u="@@"+a,r(n,u,e.gs(null,function(f){l||(l=!0,r(this,u,e(f)),l=!1)})),u},ex}var tx,EO;function mj(){if(EO)return tx;EO=1;var e=Ro.exports,t=Ky().Symbol;return tx=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"))})},tx}var rx,CO;function yj(){if(CO)return rx;CO=1;var e=Ro.exports,t=gM(),r=Object.create(null);return rx=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})})},rx}var nx,AO;function bj(){if(AO)return nx;AO=1;var e=Ro.exports,t=gM(),r=Ky().Symbol,n=gj(),i=mj(),a=yj(),o=Object.create,u=Object.defineProperties,l=Object.defineProperty,f,p,g;if(typeof r=="function")try{String(r()),g=!0}catch{}else r=null;return p=function(y){if(this instanceof p)throw new TypeError("Symbol is not a constructor");return f(y)},nx=f=function v(y){var C;if(this instanceof v)throw new TypeError("Symbol is not a constructor");return g?r(y):(C=o(p.prototype),y=y===void 0?"":String(y),u(C,{__description__:e("",y),__name__:e("",n(y))}))},i(f),a(f),u(p.prototype,{constructor:e(f),toString:e("",function(){return this.__name__})}),u(f.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),l(f.prototype,f.toPrimitive,e("",function(){var v=t(this);return typeof v=="symbol"?v:v.toString()})),l(f.prototype,f.toStringTag,e("c","Symbol")),l(p.prototype,f.toStringTag,e("c",f.prototype[f.toStringTag])),l(p.prototype,f.toPrimitive,e("c",f.prototype[f.toPrimitive])),nx}var ix,TO;function fc(){return TO||(TO=1,ix=hj()()?Ky().Symbol:bj()),ix}var ax,OO;function Zy(){if(OO)return ax;OO=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return ax=function(r){return e.call(r)===t},ax}var ox,RO;function xj(){if(RO)return ox;RO=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return ox=function(r){return typeof r=="function"&&t(e.call(r))},ox}var ux,IO;function Jy(){if(IO)return ux;IO=1;var e=Object.prototype.toString,t=e.call("");return ux=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},ux}var sx,PO;function wj(){if(PO)return sx;PO=1;var e=fc().iterator,t=Zy(),r=xj(),n=sc,i=Fu,a=Ko,o=_s,u=Jy(),l=Array.isArray,f=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},g=Object.defineProperty;return sx=function(v){var y=arguments[1],C=arguments[2],O,S,w,A,R,P,N,m,G,L;if(v=Object(a(v)),o(y)&&i(y),!this||this===Array||!r(this)){if(!y){if(t(v))return R=v.length,R!==1?Array.apply(null,v):(A=new Array(1),A[0]=v[0],A);if(l(v)){for(A=new Array(R=v.length),S=0;S<R;++S)A[S]=v[S];return A}}A=[]}else O=this;if(!l(v)){if((G=v[e])!==void 0){for(N=i(G).call(v),O&&(A=new O),m=N.next(),S=0;!m.done;)L=y?f.call(y,C,m.value,S):m.value,O?(p.value=L,g(A,S,p)):A[S]=L,m=N.next(),++S;R=S}else if(u(v)){for(R=v.length,O&&(A=new O),S=0,w=0;S<R;++S)L=v[S],S+1<R&&(P=L.charCodeAt(0),P>=55296&&P<=56319&&(L+=v[++S])),L=y?f.call(y,C,L,w):L,O?(p.value=L,g(A,w,p)):A[w]=L,++w;R=w}}if(R===void 0)for(R=n(v.length),O&&(A=new O(R)),S=0;S<R;++S)L=y?f.call(y,C,v[S],S):v[S],O?(p.value=L,g(A,S,p)):A[S]=L;return O&&(p.value=null,A.length=R),A},sx}var lx,kO;function e1(){return kO||(kO=1,lx=cj()()?Array.from:wj()),lx}var _j=e1(),Sj=Array.isArray,Ej=function(e){return Sj(e)?e:_j(e)},Cj=Ej,Aj=_s,Tj=Fu,Oj=Array.prototype.slice,mM;mM=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(Oj.call(e,this.length))};var Rj=function(e){return e=Cj(e),e.forEach(function(t){Aj(t)&&Tj(t)}),mM.bind(e)},im=Fu,Ij=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:im(e.get)},e.set!==void 0?(t.set=im(e.set),e.delete&&(t.delete=im(e.delete)),e.clear&&(t.clear=im(e.clear)),t):(t.set=t.get,t))},am=lM.exports,om=L0.exports,hh=Ro.exports,yM=_S.exports.methods,Pj=Rj,kj=Ij,fx=Function.prototype.apply,cx=Function.prototype.call,DO=Object.create,Dj=Object.defineProperties,Mj=yM.on,Nj=yM.emit,Fj=function(e,t,r){var n=DO(null),i,a,o,u,l,f,p,g,v,y,C,O,S,w,A;return t!==!1?a=t:isNaN(e.length)?a=1:a=e.length,r.normalizer&&(y=kj(r.normalizer),o=y.get,u=y.set,l=y.delete,f=y.clear),r.resolvers!=null&&(A=Pj(r.resolvers)),o?w=om(function(R){var P,N,m=arguments;if(A&&(m=A(m)),P=o(m),P!==null&&hasOwnProperty.call(n,P))return C&&i.emit("get",P,m,this),n[P];if(m.length===1?N=cx.call(e,this,m[0]):N=fx.call(e,this,m),P===null){if(P=o(m),P!==null)throw am("Circular invocation","CIRCULAR_INVOCATION");P=u(m)}else if(hasOwnProperty.call(n,P))throw am("Circular invocation","CIRCULAR_INVOCATION");return n[P]=N,O&&i.emit("set",P,null,N),N},a):t===0?w=function(){var R;if(hasOwnProperty.call(n,"data"))return C&&i.emit("get","data",arguments,this),n.data;if(arguments.length?R=fx.call(e,this,arguments):R=cx.call(e,this),hasOwnProperty.call(n,"data"))throw am("Circular invocation","CIRCULAR_INVOCATION");return n.data=R,O&&i.emit("set","data",null,R),R}:w=function(R){var P,N=arguments,m;if(A&&(N=A(arguments)),m=String(N[0]),hasOwnProperty.call(n,m))return C&&i.emit("get",m,N,this),n[m];if(N.length===1?P=cx.call(e,this,N[0]):P=fx.call(e,this,N),hasOwnProperty.call(n,m))throw am("Circular invocation","CIRCULAR_INVOCATION");return n[m]=P,O&&i.emit("set",m,null,P),P},i={original:e,memoized:w,profileName:r.profileName,get:function(R){return A&&(R=A(R)),o?o(R):String(R[0])},has:function(R){return hasOwnProperty.call(n,R)},delete:function(R){var P;!hasOwnProperty.call(n,R)||(l&&l(R),P=n[R],delete n[R],S&&i.emit("delete",R,P))},clear:function(){var R=n;f&&f(),n=DO(null),i.emit("clear",R)},on:function(R,P){return R==="get"?C=!0:R==="set"?O=!0:R==="delete"&&(S=!0),Mj.call(this,R,P)},emit:Nj,updateEnv:function(){e=i.original}},o?p=om(function(R){var P,N=arguments;A&&(N=A(N)),P=o(N),P!==null&&i.delete(P)},a):t===0?p=function(){return i.delete("data")}:p=function(R){return A&&(R=A(arguments)[0]),i.delete(R)},g=om(function(){var R,P=arguments;return t===0?n.data:(A&&(P=A(P)),o?R=o(P):R=String(P[0]),n[R])}),v=om(function(){var R,P=arguments;return t===0?i.has("data"):(A&&(P=A(P)),o?R=o(P):R=String(P[0]),R===null?!1:i.has(R))}),Dj(w,{__memoized__:hh(!0),delete:hh(p),clear:hh(i.clear),_get:hh(g),_has:hh(v)}),i},Lj=Fu,Bj=Xy,MO=lc,$j=Fj,zj=sM,jj=function e(t){var r,n,i;if(Lj(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=zj(r.length,t.length,r.async&&MO.async),i=$j(t,n,r),Bj(MO,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},dx,NO;function Uj(){return NO||(NO=1,dx=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),dx}var px,FO;function Wj(){return FO||(FO=1,px=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),px}var hx,LO;function qj(){return LO||(LO=1,hx=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),hx}var vx,BO;function Gj(){return BO||(BO=1,vx=function(e){return e!==e}),vx}var gx,$O;function Hj(){return $O||($O=1,gx=qj()()?Number.isNaN:Gj()),gx}var mx,zO;function ME(){if(zO)return mx;zO=1;var e=Hj(),t=sc,r=Ko,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return mx=function(u){var l,f,p,g;if(!e(u))return n.apply(this,arguments);for(f=t(r(this).length),p=arguments[1],isNaN(p)?p=0:p>=0?p=o(p):p=t(this.length)-o(a(p)),l=p;l<f;++l)if(i.call(this,l)&&(g=this[l],e(g)))return l;return-1},mx}var yx,jO;function Vj(){if(jO)return yx;jO=1;var e=ME(),t=Object.create;return yx=function(){var r=0,n=[],i=t(null);return{get:function(a){var o=0,u=n,l,f=a.length;if(f===0)return u[f]||null;if(u=u[f]){for(;o<f-1;){if(l=e.call(u[0],a[o]),l===-1)return null;u=u[1][l],++o}return l=e.call(u[0],a[o]),l===-1?null:u[1][l]||null}return null},set:function(a){var o=0,u=n,l,f=a.length;if(f===0)u[f]=++r;else{for(u[f]||(u[f]=[[],[]]),u=u[f];o<f-1;)l=e.call(u[0],a[o]),l===-1&&(l=u[0].push(a[o])-1,u[1].push([[],[]])),u=u[1][l],++o;l=e.call(u[0],a[o]),l===-1&&(l=u[0].push(a[o])-1),u[1][l]=++r}return i[r]=a,r},delete:function(a){var o=0,u=n,l,f=i[a],p=f.length,g=[];if(p===0)delete u[p];else if(u=u[p]){for(;o<p-1;){if(l=e.call(u[0],f[o]),l===-1)return;g.push(u,l),u=u[1][l],++o}if(l=e.call(u[0],f[o]),l===-1)return;for(a=u[1][l],u[0].splice(l,1),u[1].splice(l,1);!u[0].length&&g.length;)l=g.pop(),u=g.pop(),u[0].splice(l,1),u[1].splice(l,1)}delete i[a]},clear:function(){n=[],i=t(null)}}},yx}var bx,UO;function Yj(){if(UO)return bx;UO=1;var e=ME();return bx=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=[]}}},bx}var xx,WO;function Xj(){if(WO)return xx;WO=1;var e=ME(),t=Object.create;return xx=function(r){var n=0,i=[[],[]],a=t(null);return{get:function(o){for(var u=0,l=i,f;u<r-1;){if(f=e.call(l[0],o[u]),f===-1)return null;l=l[1][f],++u}return f=e.call(l[0],o[u]),f===-1?null:l[1][f]||null},set:function(o){for(var u=0,l=i,f;u<r-1;)f=e.call(l[0],o[u]),f===-1&&(f=l[0].push(o[u])-1,l[1].push([[],[]])),l=l[1][f],++u;return f=e.call(l[0],o[u]),f===-1&&(f=l[0].push(o[u])-1),l[1][f]=++n,a[n]=o,n},delete:function(o){for(var u=0,l=i,f,p=[],g=a[o];u<r-1;){if(f=e.call(l[0],g[u]),f===-1)return;p.push(l,f),l=l[1][f],++u}if(f=e.call(l[0],g[u]),f!==-1){for(o=l[1][f],l[0].splice(f,1),l[1].splice(f,1);!l[0].length&&p.length;)f=p.pop(),l=p.pop(),l[0].splice(f,1),l[1].splice(f,1);delete a[o]}},clear:function(){i=[[],[]],a=t(null)}}},xx}var qO={},wx,GO;function NE(){if(GO)return wx;GO=1;var e=Fu,t=Xy,r=Function.prototype.call;return wx=function(n,i){var a={},o=arguments[2];return e(i),t(n,function(u,l,f,p){a[l]=r.call(i,o,u,l,f,p)}),a},wx}var _x,HO;function FE(){if(HO)return _x;HO=1;var e=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r},t=function(r){var n=document.createTextNode(""),i,a,o=0;return new r(function(){var u;if(i)a&&(i=a.concat(i));else{if(!a)return;i=a}if(a=i,i=null,typeof a=="function"){u=a,a=null,u();return}for(n.data=o=++o%2;a;)u=a.shift(),a.length||(a=null),u()}).observe(n,{characterData:!0}),function(u){if(e(u),i){typeof i=="function"?i=[i,u]:i.push(u);return}i=u,n.data=o=++o%2}};return _x=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}(),_x}var VO;function Qj(){if(VO)return qO;VO=1;var e=e1(),t=NE(),r=fM(),n=L0.exports,i=FE(),a=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;return lc.async=function(l,f){var p=u(null),g=u(null),v=f.memoized,y=f.original,C,O,S;f.memoized=n(function(w){var A=arguments,R=A[A.length-1];return typeof R=="function"&&(C=R,A=a.call(A,0,-1)),v.apply(O=this,S=A)},v);try{r(f.memoized,v)}catch{}f.on("get",function(w){var A,R,P;if(!!C){if(p[w]){typeof p[w]=="function"?p[w]=[p[w],C]:p[w].push(C),C=null;return}A=C,R=O,P=S,C=O=S=null,i(function(){var N;hasOwnProperty.call(g,w)?(N=g[w],f.emit("getasync",w,P,R),o.call(A,N.context,N.args)):(C=A,O=R,S=P,v.apply(R,P))})}}),f.original=function(){var w,A,R,P;return C?(w=e(arguments),A=function N(m){var G,L,$=N.id;if($==null){i(o.bind(N,this,arguments));return}if(delete N.id,G=p[$],delete p[$],!!G)return L=e(arguments),f.has($)&&(m?f.delete($):(g[$]={context:this,args:L},f.emit("setasync",$,typeof G=="function"?1:G.length))),typeof G=="function"?P=o.call(G,this,L):G.forEach(function(ae){P=o.call(ae,this,L)},this),P},R=C,C=O=S=null,w.push(A),P=o.call(y,this,w),A.cb=R,C=A,P):o.call(y,this,arguments)},f.on("set",function(w){if(!C){f.delete(w);return}p[w]?typeof p[w]=="function"?p[w]=[p[w],C.cb]:p[w].push(C.cb):p[w]=C.cb,delete C.cb,C.id=w,C=null}),f.on("delete",function(w){var A;hasOwnProperty.call(p,w)||!g[w]||(A=g[w],delete g[w],f.emit("deleteasync",w,a.call(A.args,1)))}),f.on("clear",function(){var w=g;g=u(null),f.emit("clearasync",t(w,function(A){return a.call(A.args,1)}))})},qO}var YO={},Sx,XO;function Kj(){if(XO)return Sx;XO=1;var e=Array.prototype.forEach,t=Object.create;return Sx=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},Sx}var Ex,QO;function bM(){return QO||(QO=1,Ex=function(e){return typeof e=="function"}),Ex}var Cx,KO;function Zj(){if(KO)return Cx;KO=1;var e=bM();return Cx=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},Cx}var Ax,ZO;function Jj(){if(ZO)return Ax;ZO=1;var e=Ko,t=Zj();return Ax=function(r){return t(e(r))},Ax}var Tx,JO;function e9(){if(JO)return Tx;JO=1;var e=bM();return Tx=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},Tx}var Ox,e3;function t9(){if(e3)return Ox;e3=1;var e=e9(),t=/[\n\r\u2028\u2029]/g;return Ox=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},Ox}var um={exports:{}},t3;function xM(){if(t3)return um.exports;t3=1,um.exports=e,um.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return um.exports}var r3;function r9(){if(r3)return YO;r3=1;var e=NE(),t=Kj(),r=Jj(),n=t9(),i=xM(),a=FE(),o=Object.create,u=t("then","then:finally","done","done:finally");return lc.promise=function(l,f){var p=o(null),g=o(null),v=o(null);if(l===!0)l=null;else if(l=r(l),!u[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");f.on("set",function(y,C,O){var S=!1;if(!i(O)){g[y]=O,f.emit("setasync",y,1);return}p[y]=1,v[y]=O;var w=function(N){var m=p[y];if(S)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)
50
- Consider to rely on 'then' or 'done' mode instead.`);!m||(delete p[y],g[y]=N,f.emit("setasync",y,m))},A=function(){S=!0,p[y]&&(delete p[y],delete v[y],f.delete(y))},R=l;if(R||(R="then"),R==="then"){var P=function(){a(A)};O=O.then(function(N){a(w.bind(this,N))},P),typeof O.finally=="function"&&O.finally(P)}else if(R==="done"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");O.done(w,A)}else if(R==="done:finally"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof O.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");O.done(w),O.finally(A)}}),f.on("get",function(y,C,O){var S;if(p[y]){++p[y];return}S=v[y];var w=function(){f.emit("getasync",y,C,O)};i(S)?typeof S.done=="function"?S.done(w):S.then(function(){a(w)}):w()}),f.on("delete",function(y){if(delete v[y],p[y]){delete p[y];return}if(!!hasOwnProperty.call(g,y)){var C=g[y];delete g[y],f.emit("deleteasync",y,[C])}}),f.on("clear",function(){var y=g;g=o(null),p=o(null),v=o(null),f.emit("clearasync",e(y,function(C){return[C]}))})},YO}var n3={},i3;function n9(){if(i3)return n3;i3=1;var e=Fu,t=Xy,r=lc,n=Function.prototype.apply;return r.dispose=function(i,a,o){var u;if(e(i),o.async&&r.async||o.promise&&r.promise){a.on("deleteasync",u=function(l,f){n.call(i,null,f)}),a.on("clearasync",function(l){t(l,function(f,p){u(p,f)})});return}a.on("delete",u=function(l,f){i(f)}),a.on("clear",function(l){t(l,function(f,p){u(p,f)})})},n3}var a3={},Rx,o3;function i9(){return o3||(o3=1,Rx=2147483647),Rx}var Ix,u3;function a9(){if(u3)return Ix;u3=1;var e=sc,t=i9();return Ix=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},Ix}var s3;function o9(){if(s3)return a3;s3=1;var e=e1(),t=Xy,r=FE(),n=xM(),i=a9(),a=lc,o=Function.prototype,u=Math.max,l=Math.min,f=Object.create;return a.maxAge=function(p,g,v){var y,C,O,S;p=i(p),p&&(y=f(null),C=v.async&&a.async||v.promise&&a.promise?"async":"",g.on("set"+C,function(w){y[w]=setTimeout(function(){g.delete(w)},p),typeof y[w].unref=="function"&&y[w].unref(),S&&(S[w]&&S[w]!=="nextTick"&&clearTimeout(S[w]),S[w]=setTimeout(function(){delete S[w]},O),typeof S[w].unref=="function"&&S[w].unref())}),g.on("delete"+C,function(w){clearTimeout(y[w]),delete y[w],S&&(S[w]!=="nextTick"&&clearTimeout(S[w]),delete S[w])}),v.preFetch&&(v.preFetch===!0||isNaN(v.preFetch)?O=.333:O=u(l(Number(v.preFetch),1),0),O&&(S={},O=(1-O)*p,g.on("get"+C,function(w,A,R){S[w]||(S[w]="nextTick",r(function(){var P;S[w]==="nextTick"&&(delete S[w],g.delete(w),v.async&&(A=e(A),A.push(o)),P=g.memoized.apply(R,A),v.promise&&n(P)&&(typeof P.done=="function"?P.done(o,o):P.then(o,o)))}))}))),g.on("clear"+C,function(){t(y,function(w){clearTimeout(w)}),y={},S&&(t(S,function(w){w!=="nextTick"&&clearTimeout(w)}),S={})}))},a3}var l3={},Px,f3;function u9(){if(f3)return Px;f3=1;var e=sc,t=Object.create,r=Object.prototype.hasOwnProperty;return Px=function(n){var i=0,a=1,o=t(null),u=t(null),l=0,f;return n=e(n),{hit:function(p){var g=u[p],v=++l;if(o[v]=p,u[p]=v,!g)return++i,i<=n?void 0:(p=o[a],f(p),p);if(delete o[g],a===g)for(;!r.call(o,++a););},delete:f=function(p){var g=u[p];if(!!g&&(delete o[g],delete u[p],--i,a===g)){if(!i){l=0,a=1;return}for(;!r.call(o,++a););}},clear:function(){i=0,a=1,o=t(null),u=t(null),l=0}}},Px}var c3;function s9(){if(c3)return l3;c3=1;var e=sc,t=u9(),r=lc;return r.max=function(n,i,a){var o,u,l;n=e(n),n&&(u=t(n),o=a.async&&r.async||a.promise&&r.promise?"async":"",i.on("set"+o,l=function(f){f=u.hit(f),f!==void 0&&i.delete(f)}),i.on("get"+o,l),i.on("delete"+o,u.delete),i.on("clear"+o,u.clear))},l3}var d3={},p3;function l9(){if(p3)return d3;p3=1;var e=Ro.exports,t=lc,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,a,o){var u,l;u=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",a.on("set"+l,function(f,p){u[f]=p||1}),a.on("get"+l,function(f){++u[f]}),a.on("delete"+l,function(f){delete u[f]}),a.on("clear"+l,function(){u={}}),n(a.memoized,{deleteRef:e(function(){var f=a.get(arguments);return f===null||!u[f]?null:--u[f]?!1:(a.delete(f),!0)}),getRefCount:e(function(){var f=a.get(arguments);return f===null||!u[f]?0:u[f]})})},d3}var f9=PE,c9=sM,d9=jj,Yce=function(e){var t=f9(arguments[1]),r;return t.normalizer||(r=t.length=c9(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=Uj():r>1&&(t.normalizer=Wj()(r)):r===!1?t.normalizer=Vj()():r===1?t.normalizer=Yj()():t.normalizer=Xj()(r))),t.async&&Qj(),t.promise&&r9(),t.dispose&&n9(),t.maxAge&&o9(),t.max&&s9(),t.refCounter&&l9(),d9(e,t)},wM={exports:{}};/*!
51
- Copyright (c) 2018 Jed Watson.
52
- Licensed under the MIT License (MIT), see
53
- http://jedwatson.github.io/classnames
54
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var u=r.apply(null,a);u&&n.push(u)}}else if(o==="object")if(a.toString===Object.prototype.toString)for(var l in a)t.call(a,l)&&a[l]&&n.push(l);else n.push(a.toString())}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(wM);const Xce=wM.exports;var p9="Expected a function",h3=0/0,h9="[object Symbol]",v9=/^\s+|\s+$/g,g9=/^[-+]0x[0-9a-f]+$/i,m9=/^0b[01]+$/i,y9=/^0o[0-7]+$/i,b9=parseInt,x9=typeof en=="object"&&en&&en.Object===Object&&en,w9=typeof self=="object"&&self&&self.Object===Object&&self,_9=x9||w9||Function("return this")(),S9=Object.prototype,E9=S9.toString,C9=Math.max,A9=Math.min,kx=function(){return _9.Date.now()};function T9(e,t,r){var n,i,a,o,u,l,f=0,p=!1,g=!1,v=!0;if(typeof e!="function")throw new TypeError(p9);t=v3(t)||0,SS(r)&&(p=!!r.leading,g="maxWait"in r,a=g?C9(v3(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v);function y(m){var G=n,L=i;return n=i=void 0,f=m,o=e.apply(L,G),o}function C(m){return f=m,u=setTimeout(w,t),p?y(m):o}function O(m){var G=m-l,L=m-f,$=t-G;return g?A9($,a-L):$}function S(m){var G=m-l,L=m-f;return l===void 0||G>=t||G<0||g&&L>=a}function w(){var m=kx();if(S(m))return A(m);u=setTimeout(w,O(m))}function A(m){return u=void 0,v&&n?y(m):(n=i=void 0,o)}function R(){u!==void 0&&clearTimeout(u),f=0,n=l=i=u=void 0}function P(){return u===void 0?o:A(kx())}function N(){var m=kx(),G=S(m);if(n=arguments,i=this,l=m,G){if(u===void 0)return C(l);if(g)return u=setTimeout(w,t),y(l)}return u===void 0&&(u=setTimeout(w,t)),o}return N.cancel=R,N.flush=P,N}function SS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function O9(e){return!!e&&typeof e=="object"}function R9(e){return typeof e=="symbol"||O9(e)&&E9.call(e)==h9}function v3(e){if(typeof e=="number")return e;if(R9(e))return h3;if(SS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=SS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(v9,"");var r=m9.test(e);return r||y9.test(e)?b9(e.slice(2),r?2:8):g9.test(e)?h3:+e}var Qce=T9;function Ir(){return Ir=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},Ir.apply(this,arguments)}function qd(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 ES(e,t){return ES=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ES(e,t)}function eg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ES(e,t)}function I9(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function P9(e,t){e.classList?e.classList.add(t):I9(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function g3(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function k9(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=g3(e.className,t):e.setAttribute("class",g3(e.className&&e.className.baseVal||"",t))}const m3={disabled:!1},_M=Vi.createContext(null);var SM=function(t){return t.scrollTop},t1={exports:{}},tg={};/** @license React v17.0.2
55
- * react-jsx-runtime.production.min.js
56
- *
57
- * Copyright (c) Facebook, Inc. and its affiliates.
58
- *
59
- * This source code is licensed under the MIT license found in the
60
- * LICENSE file in the root directory of this source tree.
61
- */var D9=ur.exports,EM=60103;tg.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var y3=Symbol.for;EM=y3("react.element"),tg.Fragment=y3("react.fragment")}var M9=D9.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,N9=Object.prototype.hasOwnProperty,F9={key:!0,ref:!0,__self:!0,__source:!0};function CM(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)N9.call(t,n)&&!F9.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:EM,type:e,key:a,ref:o,props:i,_owner:M9.current}}tg.jsx=CM;tg.jsxs=CM;(function(e){e.exports=tg})(t1);const Kce=t1.exports.Fragment,va=t1.exports.jsx,L9=t1.exports.jsxs;var zh="unmounted",Ef="exited",Cf="entering",ud="entered",CS="exiting",Ss=function(e){eg(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,u=o&&!o.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?u?(l=Ef,a.appearStatus=Cf):l=ud:n.unmountOnExit||n.mountOnEnter?l=zh:l=Ef,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===zh?{status:Ef}: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!==Cf&&o!==ud&&(a=Cf):(o===Cf||o===ud)&&(a=CS)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,u;return a=o=u=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,u=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:u}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Cf){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:$h.findDOMNode(this);o&&SM(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ef&&this.setState({status:zh})},r.performEnter=function(i){var a=this,o=this.props.enter,u=this.context?this.context.isMounting:i,l=this.props.nodeRef?[u]:[$h.findDOMNode(this),u],f=l[0],p=l[1],g=this.getTimeouts(),v=u?g.appear:g.enter;if(!i&&!o||m3.disabled){this.safeSetState({status:ud},function(){a.props.onEntered(f)});return}this.props.onEnter(f,p),this.safeSetState({status:Cf},function(){a.props.onEntering(f,p),a.onTransitionEnd(v,function(){a.safeSetState({status:ud},function(){a.props.onEntered(f,p)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),u=this.props.nodeRef?void 0:$h.findDOMNode(this);if(!a||m3.disabled){this.safeSetState({status:Ef},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:CS},function(){i.props.onExiting(u),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Ef},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(u){o&&(o=!1,a.nextCallback=null,i(u))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:$h.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!o||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],f=l[0],p=l[1];this.props.addEndListener(f,p)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===zh)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=qd(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return va(_M.Provider,{value:null,children:typeof o=="function"?o(i,u):Vi.cloneElement(Vi.Children.only(o),u)})},t}(Vi.Component);Ss.contextType=_M;Ss.propTypes={};function Kc(){}Ss.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Kc,onEntering:Kc,onEntered:Kc,onExit:Kc,onExiting:Kc,onExited:Kc};Ss.UNMOUNTED=zh;Ss.EXITED=Ef;Ss.ENTERING=Cf;Ss.ENTERED=ud;Ss.EXITING=CS;const B9=Ss;var $9=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return P9(t,n)})},Dx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return k9(t,n)})},LE=function(e){eg(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var f=n.resolveArguments(u,l),p=f[0],g=f[1];n.removeClasses(p,"exit"),n.addClass(p,g?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var f=n.resolveArguments(u,l),p=f[0],g=f[1],v=g?"appear":"enter";n.addClass(p,v,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var f=n.resolveArguments(u,l),p=f[0],g=f[1],v=g?"appear":"enter";n.removeClasses(p,v),n.addClass(p,v,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"appear"),n.removeClasses(f,"enter"),n.addClass(f,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),f=l[0];n.addClass(f,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),f=l[0];n.removeClasses(f,"exit"),n.addClass(f,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,f=typeof l=="string",p=f&&l?l+"-":"",g=f?""+p+u:l[u],v=f?g+"-active":l[u+"Active"],y=f?g+"-done":l[u+"Done"];return{baseClassName:g,activeClassName:v,doneClassName:y}},n}var r=t.prototype;return r.addClass=function(i,a,o){var u=this.getClassNames(a)[o+"ClassName"],l=this.getClassNames("enter"),f=l.doneClassName;a==="appear"&&o==="done"&&f&&(u+=" "+f),o==="active"&&i&&SM(i),u&&(this.appliedClasses[a][o]=u,$9(i,u))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],u=o.base,l=o.active,f=o.done;this.appliedClasses[a]={},u&&Dx(i,u),l&&Dx(i,l),f&&Dx(i,f)},r.render=function(){var i=this.props;i.classNames;var a=qd(i,["classNames"]);return va(B9,{...a,onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited})},t}(Vi.Component);LE.defaultProps={classNames:""};LE.propTypes={};const Zce=LE;function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}/**!
62
- * @fileOverview Kickass library to create and place poppers near their reference elements.
63
- * @version 1.16.1
64
- * @license
65
- * Copyright (c) 2016 Federico Zivolo and contributors
66
- *
67
- * Permission is hereby granted, free of charge, to any person obtaining a copy
68
- * of this software and associated documentation files (the "Software"), to deal
69
- * in the Software without restriction, including without limitation the rights
70
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
71
- * copies of the Software, and to permit persons to whom the Software is
72
- * furnished to do so, subject to the following conditions:
73
- *
74
- * The above copyright notice and this permission notice shall be included in all
75
- * copies or substantial portions of the Software.
76
- *
77
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
78
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
79
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
80
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
81
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
82
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
83
- * SOFTWARE.
84
- */var rg=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",z9=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(rg&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function j9(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function U9(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},z9))}}var W9=rg&&window.Promise,q9=W9?j9:U9;function AM(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function cc(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function BE(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function ng(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=cc(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:ng(BE(e))}function TM(e){return e&&e.referenceNode?e.referenceNode:e}var b3=rg&&!!(window.MSInputMethodContext&&document.documentMode),x3=rg&&/MSIE 10/.test(navigator.userAgent);function pp(e){return e===11?b3:e===10?x3:b3||x3}function Gd(e){if(!e)return document.documentElement;for(var t=pp(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&&cc(r,"position")==="static"?Gd(r):r}function G9(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Gd(e.firstElementChild)===e}function AS(e){return e.parentNode!==null?AS(e.parentNode):e}function B0(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 G9(o)?o:Gd(o);var u=AS(e);return u.host?B0(u.host,t):B0(e,AS(t).host)}function Hd(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 H9(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Hd(t,"top"),i=Hd(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 w3(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 _3(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],pp(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function OM(e){var t=e.body,r=e.documentElement,n=pp(10)&&getComputedStyle(r);return{height:_3("Height",t,r,n),width:_3("Width",t,r,n)}}var V9=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Y9=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}}(),Vd=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},xo=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 kl(e){return xo({},e,{right:e.left+e.width,bottom:e.top+e.height})}function TS(e){var t={};try{if(pp(10)){t=e.getBoundingClientRect();var r=Hd(e,"top"),n=Hd(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"?OM(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,u=a.height||e.clientHeight||i.height,l=e.offsetWidth-o,f=e.offsetHeight-u;if(l||f){var p=cc(e);l-=w3(p,"x"),f-=w3(p,"y"),i.width-=l,i.height-=f}return kl(i)}function $E(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=pp(10),i=t.nodeName==="HTML",a=TS(e),o=TS(t),u=ng(e),l=cc(t),f=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var g=kl({top:a.top-o.top-f,left:a.left-o.left-p,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!n&&i){var v=parseFloat(l.marginTop),y=parseFloat(l.marginLeft);g.top-=f-v,g.bottom-=f-v,g.left-=p-y,g.right-=p-y,g.marginTop=v,g.marginLeft=y}return(n&&!r?t.contains(u):t===u&&u.nodeName!=="BODY")&&(g=H9(g,t)),g}function X9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=$E(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:Hd(r),u=t?0:Hd(r,"left"),l={top:o-n.top+n.marginTop,left:u-n.left+n.marginLeft,width:i,height:a};return kl(l)}function RM(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(cc(e,"position")==="fixed")return!0;var r=BE(e);return r?RM(r):!1}function IM(e){if(!e||!e.parentElement||pp())return document.documentElement;for(var t=e.parentElement;t&&cc(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function zE(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?IM(e):B0(e,TM(t));if(n==="viewport")a=X9(o,i);else{var u=void 0;n==="scrollParent"?(u=ng(BE(t)),u.nodeName==="BODY"&&(u=e.ownerDocument.documentElement)):n==="window"?u=e.ownerDocument.documentElement:u=n;var l=$E(u,o,i);if(u.nodeName==="HTML"&&!RM(o)){var f=OM(e.ownerDocument),p=f.height,g=f.width;a.top+=l.top-l.marginTop,a.bottom=p+l.top,a.left+=l.left-l.marginLeft,a.right=g+l.left}else a=l}r=r||0;var v=typeof r=="number";return a.left+=v?r:r.left||0,a.top+=v?r:r.top||0,a.right-=v?r:r.right||0,a.bottom-=v?r:r.bottom||0,a}function Q9(e){var t=e.width,r=e.height;return t*r}function PM(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=zE(r,n,a,i),u={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(u).map(function(v){return xo({key:v},u[v],{area:Q9(u[v])})}).sort(function(v,y){return y.area-v.area}),f=l.filter(function(v){var y=v.width,C=v.height;return y>=r.clientWidth&&C>=r.clientHeight}),p=f.length>0?f[0].key:l[0].key,g=e.split("-")[1];return p+(g?"-"+g:"")}function kM(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?IM(t):B0(t,TM(r));return $E(r,i,n)}function DM(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 $0(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 MM(e,t,r){r=r.split("-")[0];var n=DM(e),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",u=a?"left":"top",l=a?"height":"width",f=a?"width":"height";return i[o]=t[o]+t[l]/2-n[l]/2,r===u?i[u]=t[u]-n[f]:i[u]=t[$0(u)],i}function ig(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function K9(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=ig(e,function(i){return i[t]===r});return e.indexOf(n)}function NM(e,t,r){var n=r===void 0?e:e.slice(0,K9(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&&AM(a)&&(t.offsets.popper=kl(t.offsets.popper),t.offsets.reference=kl(t.offsets.reference),t=a(t,i))}),t}function Z9(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=kM(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=PM(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=MM(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=NM(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function FM(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function jE(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 J9(){return this.state.isDestroyed=!0,FM(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[jE("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function LM(e){var t=e.ownerDocument;return t?t.defaultView:window}function BM(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||BM(ng(a.parentNode),t,r,n),n.push(a)}function e7(e,t,r,n){r.updateBound=n,LM(e).addEventListener("resize",r.updateBound,{passive:!0});var i=ng(e);return BM(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function t7(){this.state.eventsEnabled||(this.state=e7(this.reference,this.options,this.state,this.scheduleUpdate))}function r7(e,t){return LM(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 n7(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=r7(this.reference,this.state))}function UE(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function OS(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&UE(t[r])&&(n="px"),e.style[r]=t[r]+n})}function i7(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function a7(e){return OS(e.instance.popper,e.styles),i7(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&OS(e.arrowElement,e.arrowStyles),e}function o7(e,t,r,n,i){var a=kM(i,t,e,r.positionFixed),o=PM(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),OS(t,{position:r.positionFixed?"fixed":"absolute"}),r}function u7(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=Math.round,o=Math.floor,u=function(w){return w},l=a(i.width),f=a(n.width),p=["left","right"].indexOf(e.placement)!==-1,g=e.placement.indexOf("-")!==-1,v=l%2===f%2,y=l%2===1&&f%2===1,C=t?p||g||v?a:o:u,O=t?a:u;return{left:C(y&&!g&&t?n.left-1:n.left),top:O(n.top),bottom:O(n.bottom),right:C(n.right)}}var s7=rg&&/Firefox/i.test(navigator.userAgent);function l7(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=ig(e.instance.modifiers,function(R){return R.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=a!==void 0?a:t.gpuAcceleration,u=Gd(e.instance.popper),l=TS(u),f={position:i.position},p=u7(e,window.devicePixelRatio<2||!s7),g=r==="bottom"?"top":"bottom",v=n==="right"?"left":"right",y=jE("transform"),C=void 0,O=void 0;if(g==="bottom"?u.nodeName==="HTML"?O=-u.clientHeight+p.bottom:O=-l.height+p.bottom:O=p.top,v==="right"?u.nodeName==="HTML"?C=-u.clientWidth+p.right:C=-l.width+p.right:C=p.left,o&&y)f[y]="translate3d("+C+"px, "+O+"px, 0)",f[g]=0,f[v]=0,f.willChange="transform";else{var S=g==="bottom"?-1:1,w=v==="right"?-1:1;f[g]=O*S,f[v]=C*w,f.willChange=g+", "+v}var A={"x-placement":e.placement};return e.attributes=xo({},A,e.attributes),e.styles=xo({},f,e.styles),e.arrowStyles=xo({},e.offsets.arrow,e.arrowStyles),e}function $M(e,t,r){var n=ig(e,function(u){var l=u.name;return l===t}),i=!!n&&e.some(function(u){return u.name===r&&u.enabled&&u.order<n.order});if(!i){var a="`"+t+"`",o="`"+r+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function f7(e,t){var r;if(!$M(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if(typeof n=="string"){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,o=a.popper,u=a.reference,l=["left","right"].indexOf(i)!==-1,f=l?"height":"width",p=l?"Top":"Left",g=p.toLowerCase(),v=l?"left":"top",y=l?"bottom":"right",C=DM(n)[f];u[y]-C<o[g]&&(e.offsets.popper[g]-=o[g]-(u[y]-C)),u[g]+C>o[y]&&(e.offsets.popper[g]+=u[g]+C-o[y]),e.offsets.popper=kl(e.offsets.popper);var O=u[g]+u[f]/2-C/2,S=cc(e.instance.popper),w=parseFloat(S["margin"+p]),A=parseFloat(S["border"+p+"Width"]),R=O-e.offsets.popper[g]-w-A;return R=Math.max(Math.min(o[f]-C,R),0),e.arrowElement=n,e.offsets.arrow=(r={},Vd(r,g,Math.round(R)),Vd(r,v,""),r),e}function c7(e){return e==="end"?"start":e==="start"?"end":e}var zM=["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"],Mx=zM.slice(3);function S3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Mx.indexOf(e),n=Mx.slice(r+1).concat(Mx.slice(0,r));return t?n.reverse():n}var Nx={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function d7(e,t){if(FM(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=zE(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=$0(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Nx.FLIP:o=[n,i];break;case Nx.CLOCKWISE:o=S3(n);break;case Nx.COUNTERCLOCKWISE:o=S3(n,!0);break;default:o=t.behavior}return o.forEach(function(u,l){if(n!==u||o.length===l+1)return e;n=e.placement.split("-")[0],i=$0(n);var f=e.offsets.popper,p=e.offsets.reference,g=Math.floor,v=n==="left"&&g(f.right)>g(p.left)||n==="right"&&g(f.left)<g(p.right)||n==="top"&&g(f.bottom)>g(p.top)||n==="bottom"&&g(f.top)<g(p.bottom),y=g(f.left)<g(r.left),C=g(f.right)>g(r.right),O=g(f.top)<g(r.top),S=g(f.bottom)>g(r.bottom),w=n==="left"&&y||n==="right"&&C||n==="top"&&O||n==="bottom"&&S,A=["top","bottom"].indexOf(n)!==-1,R=!!t.flipVariations&&(A&&a==="start"&&y||A&&a==="end"&&C||!A&&a==="start"&&O||!A&&a==="end"&&S),P=!!t.flipVariationsByContent&&(A&&a==="start"&&C||A&&a==="end"&&y||!A&&a==="start"&&S||!A&&a==="end"&&O),N=R||P;(v||w||N)&&(e.flipped=!0,(v||w)&&(n=o[l+1]),N&&(a=c7(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=xo({},e.offsets.popper,MM(e.instance.popper,e.offsets.reference,e.placement)),e=NM(e.instance.modifiers,e,"flip"))}),e}function p7(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,u=o?"right":"bottom",l=o?"left":"top",f=o?"width":"height";return r[u]<a(n[l])&&(e.offsets.popper[l]=a(n[l])-r[f]),r[l]>a(n[u])&&(e.offsets.popper[l]=a(n[u])),e}function h7(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(o.indexOf("%")===0){var u=void 0;switch(o){case"%p":u=r;break;case"%":case"%r":default:u=n}var l=kl(u);return l[t]/100*a}else if(o==="vh"||o==="vw"){var f=void 0;return o==="vh"?f=Math.max(document.documentElement.clientHeight,window.innerHeight||0):f=Math.max(document.documentElement.clientWidth,window.innerWidth||0),f/100*a}else return a}function v7(e,t,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=e.split(/(\+|\-)/).map(function(p){return p.trim()}),u=o.indexOf(ig(o,function(p){return p.search(/,|\s/)!==-1}));o[u]&&o[u].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,f=u!==-1?[o.slice(0,u).concat([o[u].split(l)[0]]),[o[u].split(l)[1]].concat(o.slice(u+1))]:[o];return f=f.map(function(p,g){var v=(g===1?!a:a)?"height":"width",y=!1;return p.reduce(function(C,O){return C[C.length-1]===""&&["+","-"].indexOf(O)!==-1?(C[C.length-1]=O,y=!0,C):y?(C[C.length-1]+=O,y=!1,C):C.concat(O)},[]).map(function(C){return h7(C,v,t,r)})}),f.forEach(function(p,g){p.forEach(function(v,y){UE(v)&&(i[g]+=v*(p[y-1]==="-"?-1:1))})}),i}function g7(e,t){var r=t.offset,n=e.placement,i=e.offsets,a=i.popper,o=i.reference,u=n.split("-")[0],l=void 0;return UE(+r)?l=[+r,0]:l=v7(r,a,o,u),u==="left"?(a.top+=l[0],a.left-=l[1]):u==="right"?(a.top+=l[0],a.left+=l[1]):u==="top"?(a.left+=l[0],a.top-=l[1]):u==="bottom"&&(a.left+=l[0],a.top+=l[1]),e.popper=a,e}function m7(e,t){var r=t.boundariesElement||Gd(e.instance.popper);e.instance.reference===r&&(r=Gd(r));var n=jE("transform"),i=e.instance.popper.style,a=i.top,o=i.left,u=i[n];i.top="",i.left="",i[n]="";var l=zE(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=u,t.boundaries=l;var f=t.priority,p=e.offsets.popper,g={primary:function(y){var C=p[y];return p[y]<l[y]&&!t.escapeWithReference&&(C=Math.max(p[y],l[y])),Vd({},y,C)},secondary:function(y){var C=y==="right"?"left":"top",O=p[C];return p[y]>l[y]&&!t.escapeWithReference&&(O=Math.min(p[C],l[y]-(y==="right"?p.width:p.height))),Vd({},C,O)}};return f.forEach(function(v){var y=["left","top"].indexOf(v)!==-1?"primary":"secondary";p=xo({},p,g[y](v))}),e.offsets.popper=p,e}function y7(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,a=i.reference,o=i.popper,u=["bottom","top"].indexOf(r)!==-1,l=u?"left":"top",f=u?"width":"height",p={start:Vd({},l,a[l]),end:Vd({},l,a[l]+a[f]-o[f])};e.offsets.popper=xo({},o,p[n])}return e}function b7(e){if(!$M(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=ig(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 x7(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,o=["left","right"].indexOf(r)!==-1,u=["top","left"].indexOf(r)===-1;return i[o?"left":"top"]=a[r]-(u?i[o?"width":"height"]:0),e.placement=$0(t),e.offsets.popper=kl(i),e}var w7={shift:{order:100,enabled:!0,fn:y7},offset:{order:200,enabled:!0,fn:g7,offset:0},preventOverflow:{order:300,enabled:!0,fn:m7,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:p7},arrow:{order:500,enabled:!0,fn:f7,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:d7,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:x7},hide:{order:800,enabled:!0,fn:b7},computeStyle:{order:850,enabled:!0,fn:l7,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:a7,onLoad:o7,gpuAcceleration:void 0}},_7={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:w7},r1=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};V9(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=q9(this.update.bind(this)),this.options=xo({},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(xo({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=xo({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return xo({name:o},n.options.modifiers[o])}).sort(function(o,u){return o.order-u.order}),this.modifiers.forEach(function(o){o.enabled&&AM(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 Y9(e,[{key:"update",value:function(){return Z9.call(this)}},{key:"destroy",value:function(){return J9.call(this)}},{key:"enableEventListeners",value:function(){return t7.call(this)}},{key:"disableEventListeners",value:function(){return n7.call(this)}}]),e}();r1.Utils=(typeof window<"u"?window:global).PopperUtils;r1.placements=zM;r1.Defaults=_7;const Jce=r1;function WE(e,t,...r){if(!e)throw new TypeError(jM(t,r))}function jM(e,t){let r=0;return e.replace(/%[os]/gu,()=>UM(t[r++]))}function UM(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let S7;function E7(e){try{const t=e instanceof Error?e:new Error(UM(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 Xo=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let C7;class Es{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,`
85
- `);console.warn(this.message,...t,n)}catch{}}}const A7=new Es("W01","Unable to initialize event under dispatching."),T7=new Es("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),O7=new Es("W03","Assigning any truthy value to 'returnValue' property has no effect."),R7=new Es("W04","Unable to preventDefault on non-cancelable events."),I7=new Es("W05","Unable to preventDefault inside passive event listener invocation."),P7=new Es("W06","An event listener wasn't added because it has been added already: %o, %o"),Fx=new Es("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),E3=new Es("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");new Es("W09","Event attribute handler must be a function: %o");class Cs{static get NONE(){return C3}static get CAPTURING_PHASE(){return A3}static get AT_TARGET(){return T3}static get BUBBLING_PHASE(){return O3}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r!=null?r:{};RS.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 ti(this).type}get target(){return ti(this).target}get srcElement(){return ti(this).target}get currentTarget(){return ti(this).currentTarget}composedPath(){const t=ti(this).currentTarget;return t?[t]:[]}get NONE(){return C3}get CAPTURING_PHASE(){return A3}get AT_TARGET(){return T3}get BUBBLING_PHASE(){return O3}get eventPhase(){return ti(this).dispatchFlag?2:0}stopPropagation(){ti(this).stopPropagationFlag=!0}get cancelBubble(){return ti(this).stopPropagationFlag}set cancelBubble(t){t?ti(this).stopPropagationFlag=!0:T7.warn()}stopImmediatePropagation(){const t=ti(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return ti(this).bubbles}get cancelable(){return ti(this).cancelable}get returnValue(){return!ti(this).canceledFlag}set returnValue(t){t?O7.warn():R3(ti(this))}preventDefault(){R3(ti(this))}get defaultPrevented(){return ti(this).canceledFlag}get composed(){return ti(this).composed}get isTrusted(){return!1}get timeStamp(){return ti(this).timeStamp}initEvent(t,r=!1,n=!1){const i=ti(this);if(i.dispatchFlag){A7.warn();return}RS.set(this,{...i,type:String(t),bubbles:Boolean(r),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const C3=0,A3=1,T3=2,O3=3,RS=new WeakMap;function ti(e,t="this"){const r=RS.get(e);return WE(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function R3(e){if(e.inPassiveListenerFlag){I7.warn();return}if(!e.cancelable){R7.warn();return}e.canceledFlag=!0}Object.defineProperty(Cs,"NONE",{enumerable:!0});Object.defineProperty(Cs,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(Cs,"AT_TARGET",{enumerable:!0});Object.defineProperty(Cs,"BUBBLING_PHASE",{enumerable:!0});const Lx=Object.getOwnPropertyNames(Cs.prototype);for(let e=0;e<Lx.length;++e)Lx[e]!=="constructor"&&Object.defineProperty(Cs.prototype,Lx[e],{enumerable:!0});typeof Xo<"u"&&typeof Xo.Event<"u"&&Object.setPrototypeOf(Cs.prototype,Xo.Event.prototype);function k7(e){return Xo.DOMException?new Xo.DOMException(e,"InvalidStateError"):(Zc==null&&(Zc=class WM extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,WM)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(Zc.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),P3(Zc),P3(Zc.prototype)),new Zc(e))}let Zc;const I3={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 P3(e){const t=Object.keys(I3);for(let r=0;r<t.length;++r){const n=t[r],i=I3[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class n1 extends Cs{static wrap(t){return new(GM(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),qM.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,HM(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=il(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=il(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=il(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=il(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=il(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=il(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const qM=new WeakMap;function il(e){const t=qM.get(e);return WE(t!=null,"'this' is expected an Event object, but got",e),t}const z0=new WeakMap;z0.set(Object.prototype,n1);typeof Xo<"u"&&typeof Xo.Event<"u"&&z0.set(Xo.Event.prototype,n1);function GM(e){const t=Object.getPrototypeOf(e);if(t==null)return n1;let r=z0.get(t);return r==null&&(r=D7(GM(t),t),z0.set(t,r)),r}function D7(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],HM(t,n[i]));return r}function HM(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return{get(){const n=il(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=il(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function M7(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function N7(e){e.flags|=8}function VM(e){return(e.flags&1)===1}function YM(e){return(e.flags&2)===2}function XM(e){return(e.flags&4)===4}function F7(e){return(e.flags&8)===8}function L7({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){E7(n)}}function QM({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&VM(e[n])===r)return n;return-1}function B7(e,t,r,n,i,a){let o;a&&(o=KM.bind(null,e,t,r),a.addEventListener("abort",o));const u=M7(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,u]):e.listeners.push(u),u}function KM(e,t,r){const n=QM(e,t,r);return n!==-1?ZM(e,n):!1}function ZM(e,t,r=!1){const n=e.listeners[t];return N7(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 $7(){return Object.create(null)}function z7(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 qE{constructor(){JM.set(this,$7())}addEventListener(t,r,n){const i=Bx(this),{callback:a,capture:o,once:u,passive:l,signal:f,type:p}=j7(t,r,n);if(a==null||(f==null?void 0:f.aborted))return;const g=z7(i,p),v=QM(g,a,o);if(v!==-1){W7(g.listeners[v],l,u,f);return}B7(g,a,o,l,u,f)}removeEventListener(t,r,n){const i=Bx(this),{callback:a,capture:o,type:u}=U7(t,r,n),l=i[u];a!=null&&l&&KM(l,a,o)}dispatchEvent(t){const r=Bx(this)[String(t.type)];if(r==null)return!0;const n=t instanceof Cs?t:n1.wrap(t),i=ti(n,"event");if(i.dispatchFlag)throw k7("This event has been in dispatching.");if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){const{cow:a,listeners:o}=r;r.cow=!0;for(let u=0;u<o.length;++u){const l=o[u];if(!F7(l)&&(XM(l)&&ZM(r,u,!a)&&(u-=1),i.inPassiveListenerFlag=YM(l),L7(l,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 JM=new WeakMap;function Bx(e,t="this"){const r=JM.get(e);return WE(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function j7(e,t,r){var n;return eN(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 U7(e,t,r){return eN(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 eN(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){E3.warn(e);return}throw new TypeError(jM(E3.message,[e]))}}function W7(e,t,r,n){P7.warn(VM(e)?"capture":"bubble",e.callback),YM(e)!==t&&Fx.warn("passive"),XM(e)!==r&&Fx.warn("once"),e.signal!==n&&Fx.warn("signal")}const $x=Object.getOwnPropertyNames(qE.prototype);for(let e=0;e<$x.length;++e)$x[e]!=="constructor"&&Object.defineProperty(qE.prototype,$x[e],{enumerable:!0});typeof Xo<"u"&&typeof Xo.EventTarget<"u"&&Object.setPrototypeOf(qE.prototype,Xo.EventTarget.prototype);/*!
86
- * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
87
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
88
- * Copyright 2022 Fonticons, Inc.
89
- */function k3(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 ar(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k3(Object(r),!0).forEach(function(n){H7(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j0(e){return j0=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},j0(e)}function q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D3(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 G7(e,t,r){return t&&D3(e.prototype,t),r&&D3(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function H7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function GE(e,t){return Y7(e)||Q7(e,t)||tN(e,t)||Z7()}function i1(e){return V7(e)||X7(e)||tN(e)||K7()}function V7(e){if(Array.isArray(e))return IS(e)}function Y7(e){if(Array.isArray(e))return e}function X7(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Q7(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,u;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(l){a=!0,u=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw u}}return n}}function tN(e,t){if(!!e){if(typeof e=="string")return IS(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 IS(e,t)}}function IS(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 K7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
90
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
91
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M3=function(){},HE={},rN={},nN=null,iN={mark:M3,measure:M3};try{typeof window<"u"&&(HE=window),typeof document<"u"&&(rN=document),typeof MutationObserver<"u"&&(nN=MutationObserver),typeof performance<"u"&&(iN=performance)}catch{}var J7=HE.navigator||{},N3=J7.userAgent,F3=N3===void 0?"":N3,Dl=HE,Pn=rN,L3=nN,lm=iN;Dl.document;var As=!!Pn.documentElement&&!!Pn.head&&typeof Pn.addEventListener=="function"&&typeof Pn.createElement=="function",aN=~F3.indexOf("MSIE")||~F3.indexOf("Trident/"),ms="___FONT_AWESOME___",PS=16,oN="fa",uN="svg-inline--fa",Yf="data-fa-i2svg",kS="data-fa-pseudo-element",eU="data-fa-pseudo-element-pending",VE="data-prefix",YE="data-icon",B3="fontawesome-i2svg",tU="async",rU=["HTML","HEAD","STYLE","SCRIPT"],sN=function(){try{return!0}catch{return!1}}(),XE={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},U0={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},lN={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},nU={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},iU=/fa[srltdbk\-\ ]/,fN="fa-layers-text",aU=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,oU={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},cN=[1,2,3,4,5,6,7,8,9,10],uU=cN.concat([11,12,13,14,15,16,17,18,19,20]),sU=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Nf={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},lU=[].concat(i1(Object.keys(U0)),["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",Nf.GROUP,Nf.SWAP_OPACITY,Nf.PRIMARY,Nf.SECONDARY]).concat(cN.map(function(e){return"".concat(e,"x")})).concat(uU.map(function(e){return"w-".concat(e)})),dN=Dl.FontAwesomeConfig||{};function fU(e){var t=Pn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function cU(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Pn&&typeof Pn.querySelector=="function"){var dU=[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];dU.forEach(function(e){var t=GE(e,2),r=t[0],n=t[1],i=cU(fU(r));i!=null&&(dN[n]=i)})}var pU={familyPrefix:oN,styleDefault:"solid",replacementClass:uN,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},ov=ar(ar({},pU),dN);ov.autoReplaceSvg||(ov.observeMutations=!1);var Tr={};Object.keys(ov).forEach(function(e){Object.defineProperty(Tr,e,{enumerable:!0,set:function(r){ov[e]=r,r0.forEach(function(n){return n(Tr)})},get:function(){return ov[e]}})});Dl.FontAwesomeConfig=Tr;var r0=[];function hU(e){return r0.push(e),function(){r0.splice(r0.indexOf(e),1)}}var tl=PS,Ou={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function vU(e){if(!(!e||!As)){var t=Pn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Pn.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 Pn.head.insertBefore(t,n),e}}var gU="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Rv(){for(var e=12,t="";e-- >0;)t+=gU[Math.random()*62|0];return t}function hp(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function QE(e){return e.classList?hp(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function pN(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function mU(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(pN(e[r]),'" ')},"").trim()}function a1(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function KE(e){return e.size!==Ou.size||e.x!==Ou.x||e.y!==Ou.y||e.rotate!==Ou.rotate||e.flipX||e.flipY}function yU(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),u="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(u)},f={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:l,path:f}}function bU(e){var t=e.transform,r=e.width,n=r===void 0?PS:r,i=e.height,a=i===void 0?PS:i,o=e.startCentered,u=o===void 0?!1:o,l="";return u&&aN?l+="translate(".concat(t.x/tl-n/2,"em, ").concat(t.y/tl-a/2,"em) "):u?l+="translate(calc(-50% + ".concat(t.x/tl,"em), calc(-50% + ").concat(t.y/tl,"em)) "):l+="translate(".concat(t.x/tl,"em, ").concat(t.y/tl,"em) "),l+="scale(".concat(t.size/tl*(t.flipX?-1:1),", ").concat(t.size/tl*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var xU=`:root, :host {
92
- --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
93
- --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
94
- --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
95
- --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
96
- --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
97
- --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
98
- }
99
-
100
- svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
101
- overflow: visible;
102
- box-sizing: content-box;
103
- }
104
-
105
- .svg-inline--fa {
106
- display: var(--fa-display, inline-block);
107
- height: 1em;
108
- overflow: visible;
109
- vertical-align: -0.125em;
110
- }
111
- .svg-inline--fa.fa-2xs {
112
- vertical-align: 0.1em;
113
- }
114
- .svg-inline--fa.fa-xs {
115
- vertical-align: 0em;
116
- }
117
- .svg-inline--fa.fa-sm {
118
- vertical-align: -0.0714285705em;
119
- }
120
- .svg-inline--fa.fa-lg {
121
- vertical-align: -0.2em;
122
- }
123
- .svg-inline--fa.fa-xl {
124
- vertical-align: -0.25em;
125
- }
126
- .svg-inline--fa.fa-2xl {
127
- vertical-align: -0.3125em;
128
- }
129
- .svg-inline--fa.fa-pull-left {
130
- margin-right: var(--fa-pull-margin, 0.3em);
131
- width: auto;
132
- }
133
- .svg-inline--fa.fa-pull-right {
134
- margin-left: var(--fa-pull-margin, 0.3em);
135
- width: auto;
136
- }
137
- .svg-inline--fa.fa-li {
138
- width: var(--fa-li-width, 2em);
139
- top: 0.25em;
140
- }
141
- .svg-inline--fa.fa-fw {
142
- width: var(--fa-fw-width, 1.25em);
143
- }
144
-
145
- .fa-layers svg.svg-inline--fa {
146
- bottom: 0;
147
- left: 0;
148
- margin: auto;
149
- position: absolute;
150
- right: 0;
151
- top: 0;
152
- }
153
-
154
- .fa-layers-counter, .fa-layers-text {
155
- display: inline-block;
156
- position: absolute;
157
- text-align: center;
158
- }
159
-
160
- .fa-layers {
161
- display: inline-block;
162
- height: 1em;
163
- position: relative;
164
- text-align: center;
165
- vertical-align: -0.125em;
166
- width: 1em;
167
- }
168
- .fa-layers svg.svg-inline--fa {
169
- -webkit-transform-origin: center center;
170
- transform-origin: center center;
171
- }
172
-
173
- .fa-layers-text {
174
- left: 50%;
175
- top: 50%;
176
- -webkit-transform: translate(-50%, -50%);
177
- transform: translate(-50%, -50%);
178
- -webkit-transform-origin: center center;
179
- transform-origin: center center;
180
- }
181
-
182
- .fa-layers-counter {
183
- background-color: var(--fa-counter-background-color, #ff253a);
184
- border-radius: var(--fa-counter-border-radius, 1em);
185
- box-sizing: border-box;
186
- color: var(--fa-inverse, #fff);
187
- line-height: var(--fa-counter-line-height, 1);
188
- max-width: var(--fa-counter-max-width, 5em);
189
- min-width: var(--fa-counter-min-width, 1.5em);
190
- overflow: hidden;
191
- padding: var(--fa-counter-padding, 0.25em 0.5em);
192
- right: var(--fa-right, 0);
193
- text-overflow: ellipsis;
194
- top: var(--fa-top, 0);
195
- -webkit-transform: scale(var(--fa-counter-scale, 0.25));
196
- transform: scale(var(--fa-counter-scale, 0.25));
197
- -webkit-transform-origin: top right;
198
- transform-origin: top right;
199
- }
200
-
201
- .fa-layers-bottom-right {
202
- bottom: var(--fa-bottom, 0);
203
- right: var(--fa-right, 0);
204
- top: auto;
205
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
206
- transform: scale(var(--fa-layers-scale, 0.25));
207
- -webkit-transform-origin: bottom right;
208
- transform-origin: bottom right;
209
- }
210
-
211
- .fa-layers-bottom-left {
212
- bottom: var(--fa-bottom, 0);
213
- left: var(--fa-left, 0);
214
- right: auto;
215
- top: auto;
216
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
217
- transform: scale(var(--fa-layers-scale, 0.25));
218
- -webkit-transform-origin: bottom left;
219
- transform-origin: bottom left;
220
- }
221
-
222
- .fa-layers-top-right {
223
- top: var(--fa-top, 0);
224
- right: var(--fa-right, 0);
225
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
226
- transform: scale(var(--fa-layers-scale, 0.25));
227
- -webkit-transform-origin: top right;
228
- transform-origin: top right;
229
- }
230
-
231
- .fa-layers-top-left {
232
- left: var(--fa-left, 0);
233
- right: auto;
234
- top: var(--fa-top, 0);
235
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
236
- transform: scale(var(--fa-layers-scale, 0.25));
237
- -webkit-transform-origin: top left;
238
- transform-origin: top left;
239
- }
240
-
241
- .fa-1x {
242
- font-size: 1em;
243
- }
244
-
245
- .fa-2x {
246
- font-size: 2em;
247
- }
248
-
249
- .fa-3x {
250
- font-size: 3em;
251
- }
252
-
253
- .fa-4x {
254
- font-size: 4em;
255
- }
256
-
257
- .fa-5x {
258
- font-size: 5em;
259
- }
260
-
261
- .fa-6x {
262
- font-size: 6em;
263
- }
264
-
265
- .fa-7x {
266
- font-size: 7em;
267
- }
268
-
269
- .fa-8x {
270
- font-size: 8em;
271
- }
272
-
273
- .fa-9x {
274
- font-size: 9em;
275
- }
276
-
277
- .fa-10x {
278
- font-size: 10em;
279
- }
280
-
281
- .fa-2xs {
282
- font-size: 0.625em;
283
- line-height: 0.1em;
284
- vertical-align: 0.225em;
285
- }
286
-
287
- .fa-xs {
288
- font-size: 0.75em;
289
- line-height: 0.0833333337em;
290
- vertical-align: 0.125em;
291
- }
292
-
293
- .fa-sm {
294
- font-size: 0.875em;
295
- line-height: 0.0714285718em;
296
- vertical-align: 0.0535714295em;
297
- }
298
-
299
- .fa-lg {
300
- font-size: 1.25em;
301
- line-height: 0.05em;
302
- vertical-align: -0.075em;
303
- }
304
-
305
- .fa-xl {
306
- font-size: 1.5em;
307
- line-height: 0.0416666682em;
308
- vertical-align: -0.125em;
309
- }
310
-
311
- .fa-2xl {
312
- font-size: 2em;
313
- line-height: 0.03125em;
314
- vertical-align: -0.1875em;
315
- }
316
-
317
- .fa-fw {
318
- text-align: center;
319
- width: 1.25em;
320
- }
321
-
322
- .fa-ul {
323
- list-style-type: none;
324
- margin-left: var(--fa-li-margin, 2.5em);
325
- padding-left: 0;
326
- }
327
- .fa-ul > li {
328
- position: relative;
329
- }
330
-
331
- .fa-li {
332
- left: calc(var(--fa-li-width, 2em) * -1);
333
- position: absolute;
334
- text-align: center;
335
- width: var(--fa-li-width, 2em);
336
- line-height: inherit;
337
- }
338
-
339
- .fa-border {
340
- border-color: var(--fa-border-color, #eee);
341
- border-radius: var(--fa-border-radius, 0.1em);
342
- border-style: var(--fa-border-style, solid);
343
- border-width: var(--fa-border-width, 0.08em);
344
- padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
345
- }
346
-
347
- .fa-pull-left {
348
- float: left;
349
- margin-right: var(--fa-pull-margin, 0.3em);
350
- }
351
-
352
- .fa-pull-right {
353
- float: right;
354
- margin-left: var(--fa-pull-margin, 0.3em);
355
- }
356
-
357
- .fa-beat {
358
- -webkit-animation-name: fa-beat;
359
- animation-name: fa-beat;
360
- -webkit-animation-delay: var(--fa-animation-delay, 0);
361
- animation-delay: var(--fa-animation-delay, 0);
362
- -webkit-animation-direction: var(--fa-animation-direction, normal);
363
- animation-direction: var(--fa-animation-direction, normal);
364
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
365
- animation-duration: var(--fa-animation-duration, 1s);
366
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
367
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
368
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
369
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
370
- }
371
-
372
- .fa-bounce {
373
- -webkit-animation-name: fa-bounce;
374
- animation-name: fa-bounce;
375
- -webkit-animation-delay: var(--fa-animation-delay, 0);
376
- animation-delay: var(--fa-animation-delay, 0);
377
- -webkit-animation-direction: var(--fa-animation-direction, normal);
378
- animation-direction: var(--fa-animation-direction, normal);
379
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
380
- animation-duration: var(--fa-animation-duration, 1s);
381
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
382
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
383
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
384
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
385
- }
386
-
387
- .fa-fade {
388
- -webkit-animation-name: fa-fade;
389
- animation-name: fa-fade;
390
- -webkit-animation-delay: var(--fa-animation-delay, 0);
391
- animation-delay: var(--fa-animation-delay, 0);
392
- -webkit-animation-direction: var(--fa-animation-direction, normal);
393
- animation-direction: var(--fa-animation-direction, normal);
394
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
395
- animation-duration: var(--fa-animation-duration, 1s);
396
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
397
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
398
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
399
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
400
- }
401
-
402
- .fa-beat-fade {
403
- -webkit-animation-name: fa-beat-fade;
404
- animation-name: fa-beat-fade;
405
- -webkit-animation-delay: var(--fa-animation-delay, 0);
406
- animation-delay: var(--fa-animation-delay, 0);
407
- -webkit-animation-direction: var(--fa-animation-direction, normal);
408
- animation-direction: var(--fa-animation-direction, normal);
409
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
410
- animation-duration: var(--fa-animation-duration, 1s);
411
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
412
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
413
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
414
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
415
- }
416
-
417
- .fa-flip {
418
- -webkit-animation-name: fa-flip;
419
- animation-name: fa-flip;
420
- -webkit-animation-delay: var(--fa-animation-delay, 0);
421
- animation-delay: var(--fa-animation-delay, 0);
422
- -webkit-animation-direction: var(--fa-animation-direction, normal);
423
- animation-direction: var(--fa-animation-direction, normal);
424
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
425
- animation-duration: var(--fa-animation-duration, 1s);
426
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
427
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
428
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
429
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
430
- }
431
-
432
- .fa-shake {
433
- -webkit-animation-name: fa-shake;
434
- animation-name: fa-shake;
435
- -webkit-animation-delay: var(--fa-animation-delay, 0);
436
- animation-delay: var(--fa-animation-delay, 0);
437
- -webkit-animation-direction: var(--fa-animation-direction, normal);
438
- animation-direction: var(--fa-animation-direction, normal);
439
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
440
- animation-duration: var(--fa-animation-duration, 1s);
441
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
442
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
443
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
444
- animation-timing-function: var(--fa-animation-timing, linear);
445
- }
446
-
447
- .fa-spin {
448
- -webkit-animation-name: fa-spin;
449
- animation-name: fa-spin;
450
- -webkit-animation-delay: var(--fa-animation-delay, 0);
451
- animation-delay: var(--fa-animation-delay, 0);
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, 2s);
455
- animation-duration: var(--fa-animation-duration, 2s);
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, linear);
459
- animation-timing-function: var(--fa-animation-timing, linear);
460
- }
461
-
462
- .fa-spin-reverse {
463
- --fa-animation-direction: reverse;
464
- }
465
-
466
- .fa-pulse,
467
- .fa-spin-pulse {
468
- -webkit-animation-name: fa-spin;
469
- animation-name: fa-spin;
470
- -webkit-animation-direction: var(--fa-animation-direction, normal);
471
- animation-direction: var(--fa-animation-direction, normal);
472
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
473
- animation-duration: var(--fa-animation-duration, 1s);
474
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
475
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
476
- -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
477
- animation-timing-function: var(--fa-animation-timing, steps(8));
478
- }
479
-
480
- @media (prefers-reduced-motion: reduce) {
481
- .fa-beat,
482
- .fa-bounce,
483
- .fa-fade,
484
- .fa-beat-fade,
485
- .fa-flip,
486
- .fa-pulse,
487
- .fa-shake,
488
- .fa-spin,
489
- .fa-spin-pulse {
490
- -webkit-animation-delay: -1ms;
491
- animation-delay: -1ms;
492
- -webkit-animation-duration: 1ms;
493
- animation-duration: 1ms;
494
- -webkit-animation-iteration-count: 1;
495
- animation-iteration-count: 1;
496
- transition-delay: 0s;
497
- transition-duration: 0s;
498
- }
499
- }
500
- @-webkit-keyframes fa-beat {
501
- 0%, 90% {
502
- -webkit-transform: scale(1);
503
- transform: scale(1);
504
- }
505
- 45% {
506
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
507
- transform: scale(var(--fa-beat-scale, 1.25));
508
- }
509
- }
510
- @keyframes fa-beat {
511
- 0%, 90% {
512
- -webkit-transform: scale(1);
513
- transform: scale(1);
514
- }
515
- 45% {
516
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
517
- transform: scale(var(--fa-beat-scale, 1.25));
518
- }
519
- }
520
- @-webkit-keyframes fa-bounce {
521
- 0% {
522
- -webkit-transform: scale(1, 1) translateY(0);
523
- transform: scale(1, 1) translateY(0);
524
- }
525
- 10% {
526
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
527
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
528
- }
529
- 30% {
530
- -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));
531
- 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));
532
- }
533
- 50% {
534
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
535
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
536
- }
537
- 57% {
538
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
539
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
540
- }
541
- 64% {
542
- -webkit-transform: scale(1, 1) translateY(0);
543
- transform: scale(1, 1) translateY(0);
544
- }
545
- 100% {
546
- -webkit-transform: scale(1, 1) translateY(0);
547
- transform: scale(1, 1) translateY(0);
548
- }
549
- }
550
- @keyframes fa-bounce {
551
- 0% {
552
- -webkit-transform: scale(1, 1) translateY(0);
553
- transform: scale(1, 1) translateY(0);
554
- }
555
- 10% {
556
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
557
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
558
- }
559
- 30% {
560
- -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));
561
- 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));
562
- }
563
- 50% {
564
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
565
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
566
- }
567
- 57% {
568
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
569
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
570
- }
571
- 64% {
572
- -webkit-transform: scale(1, 1) translateY(0);
573
- transform: scale(1, 1) translateY(0);
574
- }
575
- 100% {
576
- -webkit-transform: scale(1, 1) translateY(0);
577
- transform: scale(1, 1) translateY(0);
578
- }
579
- }
580
- @-webkit-keyframes fa-fade {
581
- 50% {
582
- opacity: var(--fa-fade-opacity, 0.4);
583
- }
584
- }
585
- @keyframes fa-fade {
586
- 50% {
587
- opacity: var(--fa-fade-opacity, 0.4);
588
- }
589
- }
590
- @-webkit-keyframes fa-beat-fade {
591
- 0%, 100% {
592
- opacity: var(--fa-beat-fade-opacity, 0.4);
593
- -webkit-transform: scale(1);
594
- transform: scale(1);
595
- }
596
- 50% {
597
- opacity: 1;
598
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
599
- transform: scale(var(--fa-beat-fade-scale, 1.125));
600
- }
601
- }
602
- @keyframes fa-beat-fade {
603
- 0%, 100% {
604
- opacity: var(--fa-beat-fade-opacity, 0.4);
605
- -webkit-transform: scale(1);
606
- transform: scale(1);
607
- }
608
- 50% {
609
- opacity: 1;
610
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
611
- transform: scale(var(--fa-beat-fade-scale, 1.125));
612
- }
613
- }
614
- @-webkit-keyframes fa-flip {
615
- 50% {
616
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
617
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
618
- }
619
- }
620
- @keyframes fa-flip {
621
- 50% {
622
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
623
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
624
- }
625
- }
626
- @-webkit-keyframes fa-shake {
627
- 0% {
628
- -webkit-transform: rotate(-15deg);
629
- transform: rotate(-15deg);
630
- }
631
- 4% {
632
- -webkit-transform: rotate(15deg);
633
- transform: rotate(15deg);
634
- }
635
- 8%, 24% {
636
- -webkit-transform: rotate(-18deg);
637
- transform: rotate(-18deg);
638
- }
639
- 12%, 28% {
640
- -webkit-transform: rotate(18deg);
641
- transform: rotate(18deg);
642
- }
643
- 16% {
644
- -webkit-transform: rotate(-22deg);
645
- transform: rotate(-22deg);
646
- }
647
- 20% {
648
- -webkit-transform: rotate(22deg);
649
- transform: rotate(22deg);
650
- }
651
- 32% {
652
- -webkit-transform: rotate(-12deg);
653
- transform: rotate(-12deg);
654
- }
655
- 36% {
656
- -webkit-transform: rotate(12deg);
657
- transform: rotate(12deg);
658
- }
659
- 40%, 100% {
660
- -webkit-transform: rotate(0deg);
661
- transform: rotate(0deg);
662
- }
663
- }
664
- @keyframes fa-shake {
665
- 0% {
666
- -webkit-transform: rotate(-15deg);
667
- transform: rotate(-15deg);
668
- }
669
- 4% {
670
- -webkit-transform: rotate(15deg);
671
- transform: rotate(15deg);
672
- }
673
- 8%, 24% {
674
- -webkit-transform: rotate(-18deg);
675
- transform: rotate(-18deg);
676
- }
677
- 12%, 28% {
678
- -webkit-transform: rotate(18deg);
679
- transform: rotate(18deg);
680
- }
681
- 16% {
682
- -webkit-transform: rotate(-22deg);
683
- transform: rotate(-22deg);
684
- }
685
- 20% {
686
- -webkit-transform: rotate(22deg);
687
- transform: rotate(22deg);
688
- }
689
- 32% {
690
- -webkit-transform: rotate(-12deg);
691
- transform: rotate(-12deg);
692
- }
693
- 36% {
694
- -webkit-transform: rotate(12deg);
695
- transform: rotate(12deg);
696
- }
697
- 40%, 100% {
698
- -webkit-transform: rotate(0deg);
699
- transform: rotate(0deg);
700
- }
701
- }
702
- @-webkit-keyframes fa-spin {
703
- 0% {
704
- -webkit-transform: rotate(0deg);
705
- transform: rotate(0deg);
706
- }
707
- 100% {
708
- -webkit-transform: rotate(360deg);
709
- transform: rotate(360deg);
710
- }
711
- }
712
- @keyframes fa-spin {
713
- 0% {
714
- -webkit-transform: rotate(0deg);
715
- transform: rotate(0deg);
716
- }
717
- 100% {
718
- -webkit-transform: rotate(360deg);
719
- transform: rotate(360deg);
720
- }
721
- }
722
- .fa-rotate-90 {
723
- -webkit-transform: rotate(90deg);
724
- transform: rotate(90deg);
725
- }
726
-
727
- .fa-rotate-180 {
728
- -webkit-transform: rotate(180deg);
729
- transform: rotate(180deg);
730
- }
731
-
732
- .fa-rotate-270 {
733
- -webkit-transform: rotate(270deg);
734
- transform: rotate(270deg);
735
- }
736
-
737
- .fa-flip-horizontal {
738
- -webkit-transform: scale(-1, 1);
739
- transform: scale(-1, 1);
740
- }
741
-
742
- .fa-flip-vertical {
743
- -webkit-transform: scale(1, -1);
744
- transform: scale(1, -1);
745
- }
746
-
747
- .fa-flip-both,
748
- .fa-flip-horizontal.fa-flip-vertical {
749
- -webkit-transform: scale(-1, -1);
750
- transform: scale(-1, -1);
751
- }
752
-
753
- .fa-rotate-by {
754
- -webkit-transform: rotate(var(--fa-rotate-angle, none));
755
- transform: rotate(var(--fa-rotate-angle, none));
756
- }
757
-
758
- .fa-stack {
759
- display: inline-block;
760
- vertical-align: middle;
761
- height: 2em;
762
- position: relative;
763
- width: 2.5em;
764
- }
765
-
766
- .fa-stack-1x,
767
- .fa-stack-2x {
768
- bottom: 0;
769
- left: 0;
770
- margin: auto;
771
- position: absolute;
772
- right: 0;
773
- top: 0;
774
- z-index: var(--fa-stack-z-index, auto);
775
- }
776
-
777
- .svg-inline--fa.fa-stack-1x {
778
- height: 1em;
779
- width: 1.25em;
780
- }
781
- .svg-inline--fa.fa-stack-2x {
782
- height: 2em;
783
- width: 2.5em;
784
- }
785
-
786
- .fa-inverse {
787
- color: var(--fa-inverse, #fff);
788
- }
789
-
790
- .sr-only,
791
- .fa-sr-only {
792
- position: absolute;
793
- width: 1px;
794
- height: 1px;
795
- padding: 0;
796
- margin: -1px;
797
- overflow: hidden;
798
- clip: rect(0, 0, 0, 0);
799
- white-space: nowrap;
800
- border-width: 0;
801
- }
802
-
803
- .sr-only-focusable:not(:focus),
804
- .fa-sr-only-focusable:not(:focus) {
805
- position: absolute;
806
- width: 1px;
807
- height: 1px;
808
- padding: 0;
809
- margin: -1px;
810
- overflow: hidden;
811
- clip: rect(0, 0, 0, 0);
812
- white-space: nowrap;
813
- border-width: 0;
814
- }
815
-
816
- .svg-inline--fa .fa-primary {
817
- fill: var(--fa-primary-color, currentColor);
818
- opacity: var(--fa-primary-opacity, 1);
819
- }
820
-
821
- .svg-inline--fa .fa-secondary {
822
- fill: var(--fa-secondary-color, currentColor);
823
- opacity: var(--fa-secondary-opacity, 0.4);
824
- }
825
-
826
- .svg-inline--fa.fa-swap-opacity .fa-primary {
827
- opacity: var(--fa-secondary-opacity, 0.4);
828
- }
829
-
830
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
831
- opacity: var(--fa-primary-opacity, 1);
832
- }
833
-
834
- .svg-inline--fa mask .fa-primary,
835
- .svg-inline--fa mask .fa-secondary {
836
- fill: black;
837
- }
838
-
839
- .fad.fa-inverse,
840
- .fa-duotone.fa-inverse {
841
- color: var(--fa-inverse, #fff);
842
- }`;function hN(){var e=oN,t=uN,r=Tr.familyPrefix,n=Tr.replacementClass,i=xU;if(r!==e||n!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(u,".".concat(n))}return i}var $3=!1;function zx(){Tr.autoAddCss&&!$3&&(vU(hN()),$3=!0)}var wU={mixout:function(){return{dom:{css:hN,insertCss:zx}}},hooks:function(){return{beforeDOMElementCreation:function(){zx()},beforeI2svg:function(){zx()}}}},ys=Dl||{};ys[ms]||(ys[ms]={});ys[ms].styles||(ys[ms].styles={});ys[ms].hooks||(ys[ms].hooks={});ys[ms].shims||(ys[ms].shims=[]);var Vo=ys[ms],vN=[],_U=function e(){Pn.removeEventListener("DOMContentLoaded",e),W0=1,vN.map(function(t){return t()})},W0=!1;As&&(W0=(Pn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Pn.readyState),W0||Pn.addEventListener("DOMContentLoaded",_U));function SU(e){!As||(W0?setTimeout(e,0):vN.push(e))}function ag(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"?pN(e):"<".concat(t," ").concat(mU(n),">").concat(a.map(ag).join(""),"</").concat(t,">")}function z3(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var EU=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},jx=function(t,r,n,i){var a=Object.keys(t),o=a.length,u=i!==void 0?EU(r,i):r,l,f,p;for(n===void 0?(l=1,p=t[a[0]]):(l=0,p=n);l<o;l++)f=a[l],p=u(p,t[f],f,t);return p};function CU(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 DS(e){var t=CU(e);return t.length===1?t[0].toString(16):null}function AU(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 MS(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 Vo.hooks.addPack=="function"&&!i?Vo.hooks.addPack(e,j3(t)):Vo.styles[e]=ar(ar({},Vo.styles[e]||{}),a),e==="fas"&&MS("fa",t)}var uv=Vo.styles,TU=Vo.shims,OU=Object.values(lN),ZE=null,gN={},mN={},yN={},bN={},xN={},RU=Object.keys(XE);function IU(e){return~lU.indexOf(e)}function PU(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!IU(i)?i:null}var wN=function(){var t=function(a){return jx(uv,function(o,u,l){return o[l]=jx(u,a,{}),o},{})};gN=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(l){return typeof l=="number"});u.forEach(function(l){i[l.toString(16)]=o})}return i}),mN=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(l){return typeof l=="string"});u.forEach(function(l){i[l]=o})}return i}),xN=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(l){i[l]=o}),i});var r="far"in uv||Tr.autoFetchSvg,n=jx(TU,function(i,a){var o=a[0],u=a[1],l=a[2];return u==="far"&&!r&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:l}),i},{names:{},unicodes:{}});yN=n.names,bN=n.unicodes,ZE=o1(Tr.styleDefault)};hU(function(e){ZE=o1(e.styleDefault)});wN();function JE(e,t){return(gN[e]||{})[t]}function kU(e,t){return(mN[e]||{})[t]}function yd(e,t){return(xN[e]||{})[t]}function _N(e){return yN[e]||{prefix:null,iconName:null}}function DU(e){var t=bN[e],r=JE("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Ml(){return ZE}var eC=function(){return{prefix:null,iconName:null,rest:[]}};function o1(e){var t=XE[e],r=U0[e]||U0[t],n=e in Vo.styles?e:null;return r||n||null}function u1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,i=null,a=e.reduce(function(o,u){var l=PU(Tr.familyPrefix,u);if(uv[u]?(u=OU.includes(u)?nU[u]:u,i=u,o.prefix=u):RU.indexOf(u)>-1?(i=u,o.prefix=o1(u)):l?o.iconName=l:u!==Tr.replacementClass&&o.rest.push(u),!n&&o.prefix&&o.iconName){var f=i==="fa"?_N(o.iconName):{},p=yd(o.prefix,o.iconName);f.prefix&&(i=null),o.iconName=f.iconName||p||o.iconName,o.prefix=f.prefix||o.prefix,o.prefix==="far"&&!uv.far&&uv.fas&&!Tr.autoFetchSvg&&(o.prefix="fas")}return o},eC());return(a.prefix==="fa"||i==="fa")&&(a.prefix=Ml()||"fas"),a}var MU=function(){function e(){q7(this,e),this.definitions={}}return G7(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(u){r.definitions[u]=ar(ar({},r.definitions[u]||{}),o[u]),MS(u,o[u]);var l=lN[u];l&&MS(l,o[u]),wN()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(function(a){var o=i[a],u=o.prefix,l=o.iconName,f=o.icon,p=f[2];r[u]||(r[u]={}),p.length>0&&p.forEach(function(g){typeof g=="string"&&(r[u][g]=f)}),r[u][l]=f}),r}}]),e}(),U3=[],bd={},kd={},NU=Object.keys(kd);function FU(e,t){var r=t.mixoutsTo;return U3=e,bd={},Object.keys(kd).forEach(function(n){NU.indexOf(n)===-1&&delete kd[n]}),U3.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),j0(i[o])==="object"&&Object.keys(i[o]).forEach(function(u){r[o]||(r[o]={}),r[o][u]=i[o][u]})}),n.hooks){var a=n.hooks();Object.keys(a).forEach(function(o){bd[o]||(bd[o]=[]),bd[o].push(a[o])})}n.provides&&n.provides(kd)}),r}function NS(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=bd[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function Xf(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=bd[e]||[];i.forEach(function(a){a.apply(null,r)})}function bs(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return kd[e]?kd[e].apply(null,t):void 0}function FS(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||Ml();if(!!t)return t=yd(r,t)||t,z3(SN.definitions,r,t)||z3(Vo.styles,r,t)}var SN=new MU,LU=function(){Tr.autoReplaceSvg=!1,Tr.observeMutations=!1,Xf("noAuto")},BU={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return As?(Xf("beforeI2svg",t),bs("pseudoElements2svg",t),bs("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;Tr.autoReplaceSvg===!1&&(Tr.autoReplaceSvg=!0),Tr.observeMutations=!0,SU(function(){zU({autoReplaceSvgRoot:r}),Xf("watch",t)})}},$U={icon:function(t){if(t===null)return null;if(j0(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:yd(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=o1(t[0]);return{prefix:n,iconName:yd(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(Tr.familyPrefix,"-"))>-1||t.match(iU))){var i=u1(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ml(),iconName:yd(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=Ml();return{prefix:a,iconName:yd(a,t)||t}}}},Za={noAuto:LU,config:Tr,dom:BU,parse:$U,library:SN,findIconDefinition:FS,toHtml:ag},zU=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Pn:r;(Object.keys(Vo.styles).length>0||Tr.autoFetchSvg)&&As&&Tr.autoReplaceSvg&&Za.dom.i2svg({node:n})};function s1(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return ag(n)})}}),Object.defineProperty(e,"node",{get:function(){if(!!As){var n=Pn.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function jU(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(KE(o)&&r.found&&!n.found){var u=r.width,l=r.height,f={x:u/l/2,y:.5};i.style=a1(ar(ar({},a),{},{"transform-origin":"".concat(f.x+o.x/16,"em ").concat(f.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function UU(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(Tr.familyPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ar(ar({},i),{},{id:o}),children:n}]}]}function tC(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,l=e.title,f=e.maskId,p=e.titleId,g=e.extra,v=e.watchable,y=v===void 0?!1:v,C=n.found?n:r,O=C.width,S=C.height,w=i==="fak",A=[Tr.replacementClass,a?"".concat(Tr.familyPrefix,"-").concat(a):""].filter(function($){return g.classes.indexOf($)===-1}).filter(function($){return $!==""||!!$}).concat(g.classes).join(" "),R={children:[],attributes:ar(ar({},g.attributes),{},{"data-prefix":i,"data-icon":a,class:A,role:g.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(O," ").concat(S)})},P=w&&!~g.classes.indexOf("fa-fw")?{width:"".concat(O/S*16*.0625,"em")}:{};y&&(R.attributes[Yf]=""),l&&(R.children.push({tag:"title",attributes:{id:R.attributes["aria-labelledby"]||"title-".concat(p||Rv())},children:[l]}),delete R.attributes.title);var N=ar(ar({},R),{},{prefix:i,iconName:a,main:r,mask:n,maskId:f,transform:o,symbol:u,styles:ar(ar({},P),g.styles)}),m=n.found&&r.found?bs("generateAbstractMask",N)||{children:[],attributes:{}}:bs("generateAbstractIcon",N)||{children:[],attributes:{}},G=m.children,L=m.attributes;return N.children=G,N.attributes=L,u?UU(N):jU(N)}function W3(e){var t=e.content,r=e.width,n=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,l=u===void 0?!1:u,f=ar(ar(ar({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(f[Yf]="");var p=ar({},o.styles);KE(i)&&(p.transform=bU({transform:i,startCentered:!0,width:r,height:n}),p["-webkit-transform"]=p.transform);var g=a1(p);g.length>0&&(f.style=g);var v=[];return v.push({tag:"span",attributes:f,children:[t]}),a&&v.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),v}function WU(e){var t=e.content,r=e.title,n=e.extra,i=ar(ar(ar({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=a1(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 Ux=Vo.styles;function LS(e){var t=e[0],r=e[1],n=e.slice(4),i=GE(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(Tr.familyPrefix,"-").concat(Nf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Tr.familyPrefix,"-").concat(Nf.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Tr.familyPrefix,"-").concat(Nf.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var qU={found:!1,width:512,height:512};function GU(e,t){!sN&&!Tr.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function BS(e,t){var r=t;return t==="fa"&&Tr.styleDefault!==null&&(t=Ml()),new Promise(function(n,i){if(bs("missingIconAbstract"),r==="fa"){var a=_N(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Ux[t]&&Ux[t][e]){var o=Ux[t][e];return n(LS(o))}GU(e,t),n(ar(ar({},qU),{},{icon:Tr.showMissingIcons&&e?bs("missingIconAbstract")||{}:{}}))})}var q3=function(){},$S=Tr.measurePerformance&&lm&&lm.mark&&lm.measure?lm:{mark:q3,measure:q3},jh='FA "6.1.1"',HU=function(t){return $S.mark("".concat(jh," ").concat(t," begins")),function(){return EN(t)}},EN=function(t){$S.mark("".concat(jh," ").concat(t," ends")),$S.measure("".concat(jh," ").concat(t),"".concat(jh," ").concat(t," begins"),"".concat(jh," ").concat(t," ends"))},rC={begin:HU,end:EN},n0=function(){};function G3(e){var t=e.getAttribute?e.getAttribute(Yf):null;return typeof t=="string"}function VU(e){var t=e.getAttribute?e.getAttribute(VE):null,r=e.getAttribute?e.getAttribute(YE):null;return t&&r}function YU(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Tr.replacementClass)}function XU(){if(Tr.autoReplaceSvg===!0)return i0.replace;var e=i0[Tr.autoReplaceSvg];return e||i0.replace}function QU(e){return Pn.createElementNS("http://www.w3.org/2000/svg",e)}function KU(e){return Pn.createElement(e)}function CN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?QU:KU:r;if(typeof e=="string")return Pn.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(CN(o,{ceFn:n}))}),i}function ZU(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var i0={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(CN(i),r)}),r.getAttribute(Yf)===null&&Tr.keepOriginalSource){var n=Pn.createComment(ZU(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~QE(r).indexOf(Tr.replacementClass))return i0.replace(t);var i=new RegExp("".concat(Tr.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(u,l){return l===Tr.replacementClass||l.match(i)?u.toSvg.push(l):u.toNode.push(l),u},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(u){return ag(u)}).join(`
843
- `);r.setAttribute(Yf,""),r.innerHTML=o}};function H3(e){e()}function AN(e,t){var r=typeof t=="function"?t:n0;if(e.length===0)r();else{var n=H3;Tr.mutateApproach===tU&&(n=Dl.requestAnimationFrame||H3),n(function(){var i=XU(),a=rC.begin("mutate");e.map(i),a(),r()})}}var nC=!1;function TN(){nC=!0}function zS(){nC=!1}var q0=null;function V3(e){if(!!L3&&!!Tr.observeMutations){var t=e.treeCallback,r=t===void 0?n0:t,n=e.nodeCallback,i=n===void 0?n0:n,a=e.pseudoElementsCallback,o=a===void 0?n0:a,u=e.observeMutationsRoot,l=u===void 0?Pn:u;q0=new L3(function(f){if(!nC){var p=Ml();hp(f).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!G3(g.addedNodes[0])&&(Tr.searchPseudoElements&&o(g.target),r(g.target)),g.type==="attributes"&&g.target.parentNode&&Tr.searchPseudoElements&&o(g.target.parentNode),g.type==="attributes"&&G3(g.target)&&~sU.indexOf(g.attributeName))if(g.attributeName==="class"&&VU(g.target)){var v=u1(QE(g.target)),y=v.prefix,C=v.iconName;g.target.setAttribute(VE,y||p),C&&g.target.setAttribute(YE,C)}else YU(g.target)&&i(g.target)})}}),As&&q0.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function JU(){!q0||q0.disconnect()}function eW(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var a=i.split(":"),o=a[0],u=a.slice(1);return o&&u.length>0&&(n[o]=u.join(":").trim()),n},{})),r}function tW(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=u1(QE(e));return i.prefix||(i.prefix=Ml()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||i.prefix&&n.length>0&&(i.iconName=kU(i.prefix,e.innerText)||JE(i.prefix,DS(e.innerText))),i}function rW(e){var t=hp(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 Tr.autoA11y&&(r?t["aria-labelledby"]="".concat(Tr.replacementClass,"-title-").concat(n||Rv()):(t["aria-hidden"]="true",t.focusable="false")),t}function nW(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ou,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Y3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=tW(e),n=r.iconName,i=r.prefix,a=r.rest,o=rW(e),u=NS("parseNodeAttributes",{},e),l=t.styleParser?eW(e):[];return ar({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Ou,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},u)}var iW=Vo.styles;function ON(e){var t=Tr.autoReplaceSvg==="nest"?Y3(e,{styleParser:!1}):Y3(e);return~t.extra.classes.indexOf(fN)?bs("generateLayersText",e,t):bs("generateSvgReplacementMutation",e,t)}function X3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!As)return Promise.resolve();var r=Pn.documentElement.classList,n=function(g){return r.add("".concat(B3,"-").concat(g))},i=function(g){return r.remove("".concat(B3,"-").concat(g))},a=Tr.autoFetchSvg?Object.keys(XE):Object.keys(iW),o=[".".concat(fN,":not([").concat(Yf,"])")].concat(a.map(function(p){return".".concat(p,":not([").concat(Yf,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=hp(e.querySelectorAll(o))}catch{}if(u.length>0)n("pending"),i("complete");else return Promise.resolve();var l=rC.begin("onTree"),f=u.reduce(function(p,g){try{var v=ON(g);v&&p.push(v)}catch(y){sN||y.name==="MissingIcon"&&console.error(y)}return p},[]);return new Promise(function(p,g){Promise.all(f).then(function(v){AN(v,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),l(),p()})}).catch(function(v){l(),g(v)})})}function aW(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ON(e).then(function(r){r&&AN([r],t)})}function oW(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:FS(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:FS(i||{})),e(n,ar(ar({},r),{},{mask:i}))}}var uW=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?Ou:n,a=r.symbol,o=a===void 0?!1:a,u=r.mask,l=u===void 0?null:u,f=r.maskId,p=f===void 0?null:f,g=r.title,v=g===void 0?null:g,y=r.titleId,C=y===void 0?null:y,O=r.classes,S=O===void 0?[]:O,w=r.attributes,A=w===void 0?{}:w,R=r.styles,P=R===void 0?{}:R;if(!!t){var N=t.prefix,m=t.iconName,G=t.icon;return s1(ar({type:"icon"},t),function(){return Xf("beforeDOMElementCreation",{iconDefinition:t,params:r}),Tr.autoA11y&&(v?A["aria-labelledby"]="".concat(Tr.replacementClass,"-title-").concat(C||Rv()):(A["aria-hidden"]="true",A.focusable="false")),tC({icons:{main:LS(G),mask:l?LS(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:N,iconName:m,transform:ar(ar({},Ou),i),symbol:o,title:v,maskId:p,titleId:C,extra:{attributes:A,styles:P,classes:S}})})}},sW={mixout:function(){return{icon:oW(uW)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=X3,r.nodeCallback=aW,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?Pn:n,a=r.callback,o=a===void 0?function(){}:a;return X3(i,o)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,a=n.title,o=n.titleId,u=n.prefix,l=n.transform,f=n.symbol,p=n.mask,g=n.maskId,v=n.extra;return new Promise(function(y,C){Promise.all([BS(i,u),p.iconName?BS(p.iconName,p.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(O){var S=GE(O,2),w=S[0],A=S[1];y([r,tC({icons:{main:w,mask:A},prefix:u,iconName:i,transform:l,symbol:f,maskId:g,title:a,titleId:o,extra:v,watchable:!0})])}).catch(C)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.transform,u=r.styles,l=a1(u);l.length>0&&(i.style=l);var f;return KE(o)&&(f=bs("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(f||a.icon),{children:n,attributes:i}}}},lW={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 s1({type:"layer"},function(){Xf("beforeDOMElementCreation",{assembler:r,params:n});var o=[];return r(function(u){Array.isArray(u)?u.map(function(l){o=o.concat(l.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(Tr.familyPrefix,"-layers")].concat(i1(a)).join(" ")},children:o}]})}}}},fW={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.title,a=i===void 0?null:i,o=n.classes,u=o===void 0?[]:o,l=n.attributes,f=l===void 0?{}:l,p=n.styles,g=p===void 0?{}:p;return s1({type:"counter",content:r},function(){return Xf("beforeDOMElementCreation",{content:r,params:n}),WU({content:r.toString(),title:a,extra:{attributes:f,styles:g,classes:["".concat(Tr.familyPrefix,"-layers-counter")].concat(i1(u))}})})}}}},cW={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?Ou:i,o=n.title,u=o===void 0?null:o,l=n.classes,f=l===void 0?[]:l,p=n.attributes,g=p===void 0?{}:p,v=n.styles,y=v===void 0?{}:v;return s1({type:"text",content:r},function(){return Xf("beforeDOMElementCreation",{content:r,params:n}),W3({content:r,transform:ar(ar({},Ou),a),title:u,extra:{attributes:g,styles:y,classes:["".concat(Tr.familyPrefix,"-layers-text")].concat(i1(f))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,u=null,l=null;if(aN){var f=parseInt(getComputedStyle(r).fontSize,10),p=r.getBoundingClientRect();u=p.width/f,l=p.height/f}return Tr.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([r,W3({content:r.innerHTML,width:u,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},dW=new RegExp('"',"ug"),Q3=[1105920,1112319];function pW(e){var t=e.replace(dW,""),r=AU(t,0),n=r>=Q3[0]&&r<=Q3[1],i=t.length===2?t[0]===t[1]:!1;return{value:DS(i?t[0]:t),isSecondary:n||i}}function K3(e,t){var r="".concat(eU).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=hp(e.children),o=a.filter(function(m){return m.getAttribute(kS)===t})[0],u=Dl.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(aU),f=u.getPropertyValue("font-weight"),p=u.getPropertyValue("content");if(o&&!l)return e.removeChild(o),n();if(l&&p!=="none"&&p!==""){var g=u.getPropertyValue("content"),v=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?U0[l[2].toLowerCase()]:oU[f],y=pW(g),C=y.value,O=y.isSecondary,S=l[0].startsWith("FontAwesome"),w=JE(v,C),A=w;if(S){var R=DU(C);R.iconName&&R.prefix&&(w=R.iconName,v=R.prefix)}if(w&&!O&&(!o||o.getAttribute(VE)!==v||o.getAttribute(YE)!==A)){e.setAttribute(r,A),o&&e.removeChild(o);var P=nW(),N=P.extra;N.attributes[kS]=t,BS(w,v).then(function(m){var G=tC(ar(ar({},P),{},{icons:{main:m,mask:eC()},prefix:v,iconName:A,extra:N,watchable:!0})),L=Pn.createElement("svg");t==="::before"?e.insertBefore(L,e.firstChild):e.appendChild(L),L.outerHTML=G.map(function($){return ag($)}).join(`
844
- `),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function hW(e){return Promise.all([K3(e,"::before"),K3(e,"::after")])}function vW(e){return e.parentNode!==document.head&&!~rU.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(kS)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Z3(e){if(!!As)return new Promise(function(t,r){var n=hp(e.querySelectorAll("*")).filter(vW).map(hW),i=rC.begin("searchPseudoElements");TN(),Promise.all(n).then(function(){i(),zS(),t()}).catch(function(){i(),zS(),r()})})}var gW={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=Z3,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?Pn:n;Tr.searchPseudoElements&&Z3(i)}}},J3=!1,mW={mixout:function(){return{dom:{unwatch:function(){TN(),J3=!0}}}},hooks:function(){return{bootstrap:function(){V3(NS("mutationObserverCallbacks",{}))},noAuto:function(){JU()},watch:function(r){var n=r.observeMutationsRoot;J3?zS():V3(NS("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},eR=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,i){var a=i.toLowerCase().split("-"),o=a[0],u=a.slice(1).join("-");if(o&&u==="h")return n.flipX=!0,n;if(o&&u==="v")return n.flipY=!0,n;if(u=parseFloat(u),isNaN(u))return n;switch(o){case"grow":n.size=n.size+u;break;case"shrink":n.size=n.size-u;break;case"left":n.x=n.x-u;break;case"right":n.x=n.x+u;break;case"up":n.y=n.y-u;break;case"down":n.y=n.y+u;break;case"rotate":n.rotate=n.rotate+u;break}return n},r)},yW={mixout:function(){return{parse:{transform:function(r){return eR(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=eR(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,a=r.containerWidth,o=r.iconWidth,u={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),f="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),p="rotate(".concat(i.rotate," 0 0)"),g={transform:"".concat(l," ").concat(f," ").concat(p)},v={transform:"translate(".concat(o/2*-1," -256)")},y={outer:u,inner:g,path:v};return{tag:"g",attributes:ar({},y.outer),children:[{tag:"g",attributes:ar({},y.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:ar(ar({},n.icon.attributes),y.path)}]}]}}}},Wx={x:0,y:0,width:"100%",height:"100%"};function tR(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 bW(e){return e.tag==="g"?e.children:[e]}var xW={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?u1(i.split(" ").map(function(o){return o.trim()})):eC();return a.prefix||(a.prefix=Ml()),r.mask=a,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.mask,u=r.maskId,l=r.transform,f=a.width,p=a.icon,g=o.width,v=o.icon,y=yU({transform:l,containerWidth:g,iconWidth:f}),C={tag:"rect",attributes:ar(ar({},Wx),{},{fill:"white"})},O=p.children?{children:p.children.map(tR)}:{},S={tag:"g",attributes:ar({},y.inner),children:[tR(ar({tag:p.tag,attributes:ar(ar({},p.attributes),y.path)},O))]},w={tag:"g",attributes:ar({},y.outer),children:[S]},A="mask-".concat(u||Rv()),R="clip-".concat(u||Rv()),P={tag:"mask",attributes:ar(ar({},Wx),{},{id:A,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[C,w]},N={tag:"defs",children:[{tag:"clipPath",attributes:{id:R},children:bW(v)},P]};return n.push(N,{tag:"rect",attributes:ar({fill:"currentColor","clip-path":"url(#".concat(R,")"),mask:"url(#".concat(A,")")},Wx)}),{children:n,attributes:i}}}},wW={provides:function(t){var r=!1;Dl.matchMedia&&(r=Dl.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:ar(ar({},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=ar(ar({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:ar(ar({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||u.children.push({tag:"animate",attributes:ar(ar({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ar(ar({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(u),n.push({tag:"path",attributes:ar(ar({},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:ar(ar({},o),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:ar(ar({},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:ar(ar({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},_W={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}}}},SW=[wU,sW,lW,fW,cW,gW,mW,yW,xW,wW,_W];FU(SW,{mixoutsTo:Za});Za.noAuto;Za.config;Za.library;Za.dom;var jS=Za.parse;Za.findIconDefinition;Za.toHtml;var EW=Za.icon;Za.layer;Za.text;Za.counter;function rR(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 dl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rR(Object(r),!0).forEach(function(n){xd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G0(e){return G0=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},G0(e)}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CW(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 RN(e,t){if(e==null)return{};var r=CW(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 US(e){return AW(e)||TW(e)||OW(e)||RW()}function AW(e){if(Array.isArray(e))return WS(e)}function TW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OW(e,t){if(!!e){if(typeof e=="string")return WS(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 WS(e,t)}}function WS(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 RW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
845
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IW(e){var t,r=e.beat,n=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,l=e.spin,f=e.spinPulse,p=e.spinReverse,g=e.pulse,v=e.fixedWidth,y=e.inverse,C=e.border,O=e.listItem,S=e.flip,w=e.size,A=e.rotation,R=e.pull,P=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":l,"fa-spin-reverse":p,"fa-spin-pulse":f,"fa-pulse":g,"fa-fw":v,"fa-inverse":y,"fa-border":C,"fa-li":O,"fa-flip-horizontal":S==="horizontal"||S==="both","fa-flip-vertical":S==="vertical"||S==="both"},xd(t,"fa-".concat(w),typeof w<"u"&&w!==null),xd(t,"fa-rotate-".concat(A),typeof A<"u"&&A!==null&&A!==0),xd(t,"fa-pull-".concat(R),typeof R<"u"&&R!==null),xd(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(P).map(function(N){return P[N]?N:null}).filter(function(N){return N})}function PW(e){return e=e-0,e===e}function IN(e){return PW(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var kW=["style"];function DW(e){return e.charAt(0).toUpperCase()+e.slice(1)}function MW(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=IN(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[DW(i)]=a:t[i]=a,t},{})}function PN(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(l){return PN(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,f){var p=t.attributes[f];switch(f){case"class":l.attrs.className=p,delete t.attributes.class;break;case"style":l.attrs.style=MW(p);break;default:f.indexOf("aria-")===0||f.indexOf("data-")===0?l.attrs[f.toLowerCase()]=p:l.attrs[IN(f)]=p}return l},{attrs:{}}),a=r.style,o=a===void 0?{}:a,u=RN(r,kW);return i.attrs.style=dl(dl({},i.attrs.style),o),e.apply(void 0,[t.tag,dl(dl({},i.attrs),u)].concat(US(n)))}var kN=!1;try{kN=!0}catch{}function NW(){if(!kN&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function nR(e){if(e&&G0(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(jS.icon)return jS.icon(e);if(e===null)return null;if(e&&G0(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 qx(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xd({},e,t):{}}var FW=["forwardedRef"];function l1(e){var t=e.forwardedRef,r=RN(e,FW),n=r.icon,i=r.mask,a=r.symbol,o=r.className,u=r.title,l=r.titleId,f=r.maskId,p=nR(n),g=qx("classes",[].concat(US(IW(r)),US(o.split(" ")))),v=qx("transform",typeof r.transform=="string"?jS.transform(r.transform):r.transform),y=qx("mask",nR(i)),C=EW(p,dl(dl(dl(dl({},g),v),y),{},{symbol:a,title:u,titleId:l,maskId:f}));if(!C)return NW("Could not find icon",p),null;var O=C.abstract,S={ref:t};return Object.keys(r).forEach(function(w){l1.defaultProps.hasOwnProperty(w)||(S[w]=r[w])}),LW(O[0],S)}l1.displayName="FontAwesomeIcon";l1.propTypes={beat:Xr.exports.bool,border:Xr.exports.bool,bounce:Xr.exports.bool,className:Xr.exports.string,fade:Xr.exports.bool,flash:Xr.exports.bool,mask:Xr.exports.oneOfType([Xr.exports.object,Xr.exports.array,Xr.exports.string]),maskId:Xr.exports.string,fixedWidth:Xr.exports.bool,inverse:Xr.exports.bool,flip:Xr.exports.oneOf(["horizontal","vertical","both"]),icon:Xr.exports.oneOfType([Xr.exports.object,Xr.exports.array,Xr.exports.string]),listItem:Xr.exports.bool,pull:Xr.exports.oneOf(["right","left"]),pulse:Xr.exports.bool,rotation:Xr.exports.oneOf([0,90,180,270]),shake:Xr.exports.bool,size:Xr.exports.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Xr.exports.bool,spinPulse:Xr.exports.bool,spinReverse:Xr.exports.bool,symbol:Xr.exports.oneOfType([Xr.exports.bool,Xr.exports.string]),title:Xr.exports.string,titleId:Xr.exports.string,transform:Xr.exports.oneOfType([Xr.exports.string,Xr.exports.object]),swapOpacity:Xr.exports.bool};l1.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var LW=PN.bind(null,Vi.createElement),DN={exports:{}},MN={exports:{}},a0=1;function BW(){return a0=(a0*9301+49297)%233280,a0/233280}function $W(e){a0=e}var zW={nextValue:BW,seed:$W},qS=zW,Of="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",pl,iR,Uh;function GS(){Uh=!1}function NN(e){if(!e){pl!==Of&&(pl=Of,GS());return}if(e!==pl){if(e.length!==Of.length)throw new Error("Custom alphabet for shortid must be "+Of.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 "+Of.length+" unique characters. These characters were not unique: "+t.join(", "));pl=e,GS()}}function jW(e){return NN(e),pl}function UW(e){qS.seed(e),iR!==e&&(GS(),iR=e)}function WW(){pl||NN(Of);for(var e=pl.split(""),t=[],r=qS.nextValue(),n;e.length>0;)r=qS.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function FN(){return Uh||(Uh=WW(),Uh)}function qW(e){var t=FN();return t[e]}function GW(){return pl||Of}var iC={get:GW,characters:jW,seed:UW,lookup:qW,shuffled:FN},Gx=typeof window=="object"&&(window.crypto||window.msCrypto),HS;!Gx||!Gx.getRandomValues?HS=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:HS=function(e){return Gx.getRandomValues(new Uint8Array(e))};var HW=HS,VW=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*r/t.length),a="";;)for(var o=e(i),u=i;u--;)if(a+=t[o[u]&n]||"",a.length===+r)return a},YW=iC,XW=HW,QW=VW;function KW(e){for(var t=0,r,n="";!r;)n=n+QW(XW,YW.get(),1),r=e<Math.pow(16,t+1),t++;return n}var ZW=KW,fm=ZW,JW=1567752802062,eq=7,cm,aR;function tq(e){var t="",r=Math.floor((Date.now()-JW)*.001);return r===aR?cm++:(cm=0,aR=r),t=t+fm(eq),t=t+fm(e),cm>0&&(t=t+fm(cm)),t=t+fm(r),t}var rq=tq,nq=iC;function iq(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+nq.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var aq=iq;(function(e){var t=iC,r=rq,n=aq,i=0;function a(f){return t.seed(f),e.exports}function o(f){return i=f,e.exports}function u(f){return f!==void 0&&t.characters(f),t.shuffled()}function l(){return r(i)}e.exports=l,e.exports.generate=l,e.exports.seed=a,e.exports.worker=o,e.exports.characters=u,e.exports.isValid=n})(MN);(function(e){e.exports=MN.exports})(DN);const ede=D2(DN.exports);function oq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oR(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 uR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oR(Object(r),!0).forEach(function(n){oq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ca(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var sR=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Hx=function(){return Math.random().toString(36).substring(7).split("").join(".")},lR={INIT:"@@redux/INIT"+Hx(),REPLACE:"@@redux/REPLACE"+Hx(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Hx()}};function uq(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function LN(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ca(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ca(1));return r(LN)(e,t)}if(typeof e!="function")throw new Error(Ca(2));var i=e,a=t,o=[],u=o,l=!1;function f(){u===o&&(u=o.slice())}function p(){if(l)throw new Error(Ca(3));return a}function g(O){if(typeof O!="function")throw new Error(Ca(4));if(l)throw new Error(Ca(5));var S=!0;return f(),u.push(O),function(){if(!!S){if(l)throw new Error(Ca(6));S=!1,f();var A=u.indexOf(O);u.splice(A,1),o=null}}}function v(O){if(!uq(O))throw new Error(Ca(7));if(typeof O.type>"u")throw new Error(Ca(8));if(l)throw new Error(Ca(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var S=o=u,w=0;w<S.length;w++){var A=S[w];A()}return O}function y(O){if(typeof O!="function")throw new Error(Ca(10));i=O,v({type:lR.REPLACE})}function C(){var O,S=g;return O={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(Ca(11));function R(){A.next&&A.next(p())}R();var P=S(R);return{unsubscribe:P}}},O[sR]=function(){return this},O}return v({type:lR.INIT}),n={dispatch:v,subscribe:g,getState:p,replaceReducer:y},n[sR]=C,n}function fR(e,t){return function(){return t(e.apply(this,arguments))}}function cR(e,t){if(typeof e=="function")return fR(e,t);if(typeof e!="object"||e===null)throw new Error(Ca(16));var r={};for(var n in e){var i=e[n];typeof i=="function"&&(r[n]=fR(i,t))}return r}function BN(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function sq(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ca(15))},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(l){return l(o)});return a=BN.apply(void 0,u)(i.dispatch),uR(uR({},i),{},{dispatch:a})}}}var $N=Vi.createContext(null);function lq(e){e()}var zN=lq,fq=function(t){return zN=t},cq=function(){return zN};function dq(){var e=cq(),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 dR={notify:function(){},get:function(){return[]}};function jN(e,t){var r,n=dR;function i(g){return l(),n.subscribe(g)}function a(){n.notify()}function o(){p.onStateChange&&p.onStateChange()}function u(){return Boolean(r)}function l(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=dq())}function f(){r&&(r(),r=void 0,n.clear(),n=dR)}var p={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:u,trySubscribe:l,tryUnsubscribe:f,getListeners:function(){return n}};return p}var UN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ur.exports.useLayoutEffect:ur.exports.useEffect;function pq(e){var t=e.store,r=e.context,n=e.children,i=ur.exports.useMemo(function(){var u=jN(t);return u.onStateChange=u.notifyNestedSubs,{store:t,subscription:u}},[t]),a=ur.exports.useMemo(function(){return t.getState()},[t]);UN(function(){var u=i.subscription;return u.trySubscribe(),a!==t.getState()&&u.notifyNestedSubs(),function(){u.tryUnsubscribe(),u.onStateChange=null}},[i,a]);var o=r||$N;return va(o.Provider,{value:i,children:n})}var WN={exports:{}},pn={};/** @license React v16.13.1
846
- * react-is.production.min.js
847
- *
848
- * Copyright (c) Facebook, Inc. and its affiliates.
849
- *
850
- * This source code is licensed under the MIT license found in the
851
- * LICENSE file in the root directory of this source tree.
852
- */var ki=typeof Symbol=="function"&&Symbol.for,aC=ki?Symbol.for("react.element"):60103,oC=ki?Symbol.for("react.portal"):60106,f1=ki?Symbol.for("react.fragment"):60107,c1=ki?Symbol.for("react.strict_mode"):60108,d1=ki?Symbol.for("react.profiler"):60114,p1=ki?Symbol.for("react.provider"):60109,h1=ki?Symbol.for("react.context"):60110,uC=ki?Symbol.for("react.async_mode"):60111,v1=ki?Symbol.for("react.concurrent_mode"):60111,g1=ki?Symbol.for("react.forward_ref"):60112,m1=ki?Symbol.for("react.suspense"):60113,hq=ki?Symbol.for("react.suspense_list"):60120,y1=ki?Symbol.for("react.memo"):60115,b1=ki?Symbol.for("react.lazy"):60116,vq=ki?Symbol.for("react.block"):60121,gq=ki?Symbol.for("react.fundamental"):60117,mq=ki?Symbol.for("react.responder"):60118,yq=ki?Symbol.for("react.scope"):60119;function Ja(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case aC:switch(e=e.type,e){case uC:case v1:case f1:case d1:case c1:case m1:return e;default:switch(e=e&&e.$$typeof,e){case h1:case g1:case b1:case y1:case p1:return e;default:return t}}case oC:return t}}}function qN(e){return Ja(e)===v1}pn.AsyncMode=uC;pn.ConcurrentMode=v1;pn.ContextConsumer=h1;pn.ContextProvider=p1;pn.Element=aC;pn.ForwardRef=g1;pn.Fragment=f1;pn.Lazy=b1;pn.Memo=y1;pn.Portal=oC;pn.Profiler=d1;pn.StrictMode=c1;pn.Suspense=m1;pn.isAsyncMode=function(e){return qN(e)||Ja(e)===uC};pn.isConcurrentMode=qN;pn.isContextConsumer=function(e){return Ja(e)===h1};pn.isContextProvider=function(e){return Ja(e)===p1};pn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aC};pn.isForwardRef=function(e){return Ja(e)===g1};pn.isFragment=function(e){return Ja(e)===f1};pn.isLazy=function(e){return Ja(e)===b1};pn.isMemo=function(e){return Ja(e)===y1};pn.isPortal=function(e){return Ja(e)===oC};pn.isProfiler=function(e){return Ja(e)===d1};pn.isStrictMode=function(e){return Ja(e)===c1};pn.isSuspense=function(e){return Ja(e)===m1};pn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===f1||e===v1||e===d1||e===c1||e===m1||e===hq||typeof e=="object"&&e!==null&&(e.$$typeof===b1||e.$$typeof===y1||e.$$typeof===p1||e.$$typeof===h1||e.$$typeof===g1||e.$$typeof===gq||e.$$typeof===mq||e.$$typeof===yq||e.$$typeof===vq)};pn.typeOf=Ja;(function(e){e.exports=pn})(WN);var sC=WN.exports,bq={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xq={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wq={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},GN={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},lC={};lC[sC.ForwardRef]=wq;lC[sC.Memo]=GN;function pR(e){return sC.isMemo(e)?GN:lC[e.$$typeof]||bq}var _q=Object.defineProperty,Sq=Object.getOwnPropertyNames,hR=Object.getOwnPropertySymbols,Eq=Object.getOwnPropertyDescriptor,Cq=Object.getPrototypeOf,vR=Object.prototype;function HN(e,t,r){if(typeof t!="string"){if(vR){var n=Cq(t);n&&n!==vR&&HN(e,n,r)}var i=Sq(t);hR&&(i=i.concat(hR(t)));for(var a=pR(e),o=pR(t),u=0;u<i.length;++u){var l=i[u];if(!xq[l]&&!(r&&r[l])&&!(o&&o[l])&&!(a&&a[l])){var f=Eq(t,l);try{_q(e,l,f)}catch{}}}}return e}var gR=HN,VN={exports:{}},_n={};/** @license React v17.0.2
853
- * react-is.production.min.js
854
- *
855
- * Copyright (c) Facebook, Inc. and its affiliates.
856
- *
857
- * This source code is licensed under the MIT license found in the
858
- * LICENSE file in the root directory of this source tree.
859
- */var x1=60103,w1=60106,og=60107,ug=60108,sg=60114,lg=60109,fg=60110,cg=60112,dg=60113,fC=60120,pg=60115,hg=60116,YN=60121,XN=60122,QN=60117,KN=60129,ZN=60131;if(typeof Symbol=="function"&&Symbol.for){var ji=Symbol.for;x1=ji("react.element"),w1=ji("react.portal"),og=ji("react.fragment"),ug=ji("react.strict_mode"),sg=ji("react.profiler"),lg=ji("react.provider"),fg=ji("react.context"),cg=ji("react.forward_ref"),dg=ji("react.suspense"),fC=ji("react.suspense_list"),pg=ji("react.memo"),hg=ji("react.lazy"),YN=ji("react.block"),XN=ji("react.server.block"),QN=ji("react.fundamental"),KN=ji("react.debug_trace_mode"),ZN=ji("react.legacy_hidden")}function Zo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case x1:switch(e=e.type,e){case og:case sg:case ug:case dg:case fC:return e;default:switch(e=e&&e.$$typeof,e){case fg:case cg:case hg:case pg:case lg:return e;default:return t}}case w1:return t}}}var Aq=lg,Tq=x1,Oq=cg,Rq=og,Iq=hg,Pq=pg,kq=w1,Dq=sg,Mq=ug,Nq=dg;_n.ContextConsumer=fg;_n.ContextProvider=Aq;_n.Element=Tq;_n.ForwardRef=Oq;_n.Fragment=Rq;_n.Lazy=Iq;_n.Memo=Pq;_n.Portal=kq;_n.Profiler=Dq;_n.StrictMode=Mq;_n.Suspense=Nq;_n.isAsyncMode=function(){return!1};_n.isConcurrentMode=function(){return!1};_n.isContextConsumer=function(e){return Zo(e)===fg};_n.isContextProvider=function(e){return Zo(e)===lg};_n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===x1};_n.isForwardRef=function(e){return Zo(e)===cg};_n.isFragment=function(e){return Zo(e)===og};_n.isLazy=function(e){return Zo(e)===hg};_n.isMemo=function(e){return Zo(e)===pg};_n.isPortal=function(e){return Zo(e)===w1};_n.isProfiler=function(e){return Zo(e)===sg};_n.isStrictMode=function(e){return Zo(e)===ug};_n.isSuspense=function(e){return Zo(e)===dg};_n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===og||e===sg||e===KN||e===ug||e===dg||e===fC||e===ZN||typeof e=="object"&&e!==null&&(e.$$typeof===hg||e.$$typeof===pg||e.$$typeof===lg||e.$$typeof===fg||e.$$typeof===cg||e.$$typeof===QN||e.$$typeof===YN||e[0]===XN)};_n.typeOf=Zo;(function(e){e.exports=_n})(VN);var Fq=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Lq=["reactReduxForwardedRef"],Bq=[],$q=[null,null];function zq(e,t){var r=e[1];return[t.payload,r+1]}function mR(e,t,r){UN(function(){return e.apply(void 0,t)},r)}function jq(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function Uq(e,t,r,n,i,a,o,u,l,f){if(!!e){var p=!1,g=null,v=function(){if(!p){var O=t.getState(),S,w;try{S=n(O,i.current)}catch(A){w=A,g=A}w||(g=null),S===a.current?o.current||l():(a.current=S,u.current=S,o.current=!0,f({type:"STORE_UPDATED",payload:{error:w}}))}};r.onStateChange=v,r.trySubscribe(),v();var y=function(){if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,g)throw g};return y}}var Wq=function(){return[null,0]};function qq(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(R){return"ConnectAdvanced("+R+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,u=r.renderCountProp,l=u===void 0?void 0:u,f=r.shouldHandleStateChanges,p=f===void 0?!0:f,g=r.storeKey,v=g===void 0?"store":g;r.withRef;var y=r.forwardRef,C=y===void 0?!1:y,O=r.context,S=O===void 0?$N:O,w=qd(r,Fq),A=S;return function(P){var N=P.displayName||P.name||"Component",m=i(N),G=Ir({},w,{getDisplayName:i,methodName:o,renderCountProp:l,shouldHandleStateChanges:p,storeKey:v,displayName:m,wrappedComponentName:N,WrappedComponent:P}),L=w.pure;function $(Fe){return e(Fe.dispatch,G)}var ae=L?ur.exports.useMemo:function(Fe){return Fe()};function ve(Fe){var dt=ur.exports.useMemo(function(){var mr=Fe.reactReduxForwardedRef,Fr=qd(Fe,Lq);return[Fe.context,mr,Fr]},[Fe]),Je=dt[0],Te=dt[1],Ye=dt[2],nt=ur.exports.useMemo(function(){return Je&&Je.Consumer&&VN.exports.isContextConsumer(Vi.createElement(Je.Consumer,null))?Je:A},[Je,A]),pt=ur.exports.useContext(nt),Ie=Boolean(Fe.store)&&Boolean(Fe.store.getState)&&Boolean(Fe.store.dispatch);Boolean(pt)&&Boolean(pt.store);var Re=Ie?Fe.store:pt.store,ot=ur.exports.useMemo(function(){return $(Re)},[Re]),et=ur.exports.useMemo(function(){if(!p)return $q;var mr=jN(Re,Ie?null:pt.subscription),Fr=mr.notifyNestedSubs.bind(mr);return[mr,Fr]},[Re,Ie,pt]),ft=et[0],At=et[1],Gt=ur.exports.useMemo(function(){return Ie?pt:Ir({},pt,{subscription:ft})},[Ie,pt,ft]),Xt=ur.exports.useReducer(zq,Bq,Wq),Me=Xt[0],yt=Me[0],Nt=Xt[1];if(yt&&yt.error)throw yt.error;var Ne=ur.exports.useRef(),H=ur.exports.useRef(Ye),oe=ur.exports.useRef(),K=ur.exports.useRef(!1),ge=ae(function(){return oe.current&&Ye===H.current?oe.current:ot(Re.getState(),Ye)},[Re,yt,Ye]);mR(jq,[H,Ne,K,Ye,ge,oe,At]),mR(Uq,[p,Re,ft,ot,H,Ne,K,oe,At,Nt],[Re,ft,ot]);var xt=ur.exports.useMemo(function(){return va(P,{...ge,ref:Te})},[Te,P,ge]),It=ur.exports.useMemo(function(){return p?va(nt.Provider,{value:Gt,children:xt}):xt},[nt,xt,Gt]);return It}var be=L?Vi.memo(ve):ve;if(be.WrappedComponent=P,be.displayName=ve.displayName=m,C){var Pe=Vi.forwardRef(function(dt,Je){return va(be,{...dt,reactReduxForwardedRef:Je})});return Pe.displayName=m,Pe.WrappedComponent=P,gR(Pe,P)}return gR(be,P)}}function yR(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Vx(e,t){if(yR(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])||!yR(e[r[i]],t[r[i]]))return!1;return!0}function Gq(e,t){var r={},n=function(o){var u=e[o];typeof u=="function"&&(r[o]=function(){return t(u.apply(void 0,arguments))})};for(var i in e)n(i);return r}function cC(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function bR(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function JN(e,t){return function(n,i){i.displayName;var a=function(u,l){return a.dependsOnOwnProps?a.mapToProps(u,l):a.mapToProps(u)};return a.dependsOnOwnProps=!0,a.mapToProps=function(u,l){a.mapToProps=e,a.dependsOnOwnProps=bR(e);var f=a(u,l);return typeof f=="function"&&(a.mapToProps=f,a.dependsOnOwnProps=bR(f),f=a(u,l)),f},a}}function Hq(e){return typeof e=="function"?JN(e):void 0}function Vq(e){return e?void 0:cC(function(t){return{dispatch:t}})}function Yq(e){return e&&typeof e=="object"?cC(function(t){return Gq(e,t)}):void 0}const Xq=[Hq,Vq,Yq];function Qq(e){return typeof e=="function"?JN(e):void 0}function Kq(e){return e?void 0:cC(function(){return{}})}const Zq=[Qq,Kq];function Jq(e,t,r){return Ir({},r,e,t)}function eG(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,u;return function(f,p,g){var v=e(f,p,g);return o?(!i||!a(v,u))&&(u=v):(o=!0,u=v),u}}}function tG(e){return typeof e=="function"?eG(e):void 0}function rG(e){return e?void 0:function(){return Jq}}const nG=[tG,rG];var iG=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function aG(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function oG(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,u=i.areStatePropsEqual,l=!1,f,p,g,v,y;function C(R,P){return f=R,p=P,g=e(f,p),v=t(n,p),y=r(g,v,p),l=!0,y}function O(){return g=e(f,p),t.dependsOnOwnProps&&(v=t(n,p)),y=r(g,v,p),y}function S(){return e.dependsOnOwnProps&&(g=e(f,p)),t.dependsOnOwnProps&&(v=t(n,p)),y=r(g,v,p),y}function w(){var R=e(f,p),P=!u(R,g);return g=R,P&&(y=r(g,v,p)),y}function A(R,P){var N=!o(P,p),m=!a(R,f);return f=R,p=P,N&&m?O():N?S():m?w():y}return function(P,N){return l?A(P,N):C(P,N)}}function uG(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=qd(t,iG),o=r(e,a),u=n(e,a),l=i(e,a),f=a.pure?oG:aG;return f(o,u,l,e,a)}var sG=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Yx(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 lG(e,t){return e===t}function fG(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?qq:r,i=t.mapStateToPropsFactories,a=i===void 0?Zq:i,o=t.mapDispatchToPropsFactories,u=o===void 0?Xq:o,l=t.mergePropsFactories,f=l===void 0?nG:l,p=t.selectorFactory,g=p===void 0?uG:p;return function(y,C,O,S){S===void 0&&(S={});var w=S,A=w.pure,R=A===void 0?!0:A,P=w.areStatesEqual,N=P===void 0?lG:P,m=w.areOwnPropsEqual,G=m===void 0?Vx:m,L=w.areStatePropsEqual,$=L===void 0?Vx:L,ae=w.areMergedPropsEqual,ve=ae===void 0?Vx:ae,be=qd(w,sG),Pe=Yx(y,a,"mapStateToProps"),Fe=Yx(C,u,"mapDispatchToProps"),dt=Yx(O,f,"mergeProps");return n(g,Ir({methodName:"connect",getDisplayName:function(Te){return"Connect("+Te+")"},shouldHandleStateChanges:Boolean(y),initMapStateToProps:Pe,initMapDispatchToProps:Fe,initMergeProps:dt,pure:R,areStatesEqual:N,areOwnPropsEqual:G,areStatePropsEqual:$,areMergedPropsEqual:ve},be))}}const eF=fG();fq(M2.exports.unstable_batchedUpdates);function cG(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 tF(e,t){var r=ur.exports.useState(function(){return{inputs:t,result:e()}})[0],n=ur.exports.useRef(!0),i=ur.exports.useRef(r),a=n.current||Boolean(t&&i.current.inputs&&cG(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return ur.exports.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function dG(e,t){return tF(function(){return e},t)}var nn=tF,_r=dG,pG=!0,Xx="Invariant failed";function hG(e,t){if(!e){if(pG)throw new Error(Xx);var r=typeof t=="function"?t():t,n=r?Xx+": "+r:Xx;throw new Error(n)}}var Yo=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,u=i-r,l={top:r,right:n,bottom:i,left:a,width:o,height:u,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return l},dC=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},xR=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},vG=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},Qx={top:0,right:0,bottom:0,left:0},pC=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?Qx:n,a=t.border,o=a===void 0?Qx:a,u=t.padding,l=u===void 0?Qx:u,f=Yo(dC(r,i)),p=Yo(xR(r,o)),g=Yo(xR(p,l));return{marginBox:f,borderBox:Yo(r),paddingBox:p,contentBox:g,margin:i,border:o,padding:l}},go=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&hG(!1),i},gG=function(){return{x:window.pageXOffset,y:window.pageYOffset}},H0=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,u=vG(n,r);return pC({borderBox:u,border:i,margin:a,padding:o})},V0=function(t,r){return r===void 0&&(r=gG()),H0(t,r)},rF=function(t,r){var n={top:go(r.marginTop),right:go(r.marginRight),bottom:go(r.marginBottom),left:go(r.marginLeft)},i={top:go(r.paddingTop),right:go(r.paddingRight),bottom:go(r.paddingBottom),left:go(r.paddingLeft)},a={top:go(r.borderTopWidth),right:go(r.borderRightWidth),bottom:go(r.borderBottomWidth),left:go(r.borderLeftWidth)};return pC({borderBox:t,margin:n,padding:i,border:a})},nF=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return rF(r,n)},wR=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function mG(e,t){return!!(e===t||wR(e)&&wR(t))}function yG(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!mG(e[r],t[r]))return!1;return!0}function Qn(e,t){t===void 0&&(t=yG);var r,n=[],i,a=!1;function o(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];return a&&r===this&&t(u,n)||(i=e.apply(this,u),a=!0,r=this,n=u),i}return o}var bG=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,u=new Array(o),l=0;l<o;l++)u[l]=arguments[l];r=u,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){!n||(cancelAnimationFrame(n),n=null)},i};const Iv=bG;function iF(e,t){}iF.bind(null,"warn");iF.bind(null,"error");function El(){}function xG(e,t){return Ir({},e,{},t)}function wo(e,t,r){var n=t.map(function(i){var a=xG(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 wG="Invariant failed";function Y0(e){this.message=e}Y0.prototype.toString=function(){return this.message};function Bt(e,t){if(!e)throw new Y0(wG)}var _G=function(e){eg(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=El,n.onWindowError=function(u){var l=n.getCallbacks();l.isDragging()&&l.tryAbort();var f=u.error;f instanceof Y0&&u.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(u){n.callbacks=u},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=wo(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof Y0){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(Vi.Component),SG=`
860
- Press space bar to start a drag.
861
- When dragging you can use the arrow keys to move the item around and escape to cancel.
862
- Some screen readers may require you to be in focus mode or to use your pass through key
863
- `,X0=function(t){return t+1},EG=function(t){return`
864
- You have lifted an item in position `+X0(t.source.index)+`
865
- `},aF=function(t,r){var n=t.droppableId===r.droppableId,i=X0(t.index),a=X0(r.index);return n?`
866
- You have moved the item from position `+i+`
867
- to position `+a+`
868
- `:`
869
- You have moved the item from position `+i+`
870
- in list `+t.droppableId+`
871
- to list `+r.droppableId+`
872
- in position `+a+`
873
- `},oF=function(t,r,n){var i=r.droppableId===n.droppableId;return i?`
874
- The item `+t+`
875
- has been combined with `+n.draggableId:`
876
- The item `+t+`
877
- in list `+r.droppableId+`
878
- has been combined with `+n.draggableId+`
879
- in list `+n.droppableId+`
880
- `},CG=function(t){var r=t.destination;if(r)return aF(t.source,r);var n=t.combine;return n?oF(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},_R=function(t){return`
881
- The item has returned to its starting position
882
- of `+X0(t.index)+`
883
- `},AG=function(t){if(t.reason==="CANCEL")return`
884
- Movement cancelled.
885
- `+_R(t.source)+`
886
- `;var r=t.destination,n=t.combine;return r?`
887
- You have dropped the item.
888
- `+aF(t.source,r)+`
889
- `:n?`
890
- You have dropped the item.
891
- `+oF(t.draggableId,t.source,n)+`
892
- `:`
893
- The item has been dropped while not over a drop area.
894
- `+_R(t.source)+`
895
- `},o0={dragHandleUsageInstructions:SG,onDragStart:EG,onDragUpdate:CG,onDragEnd:AG},Pi={x:0,y:0},Gi=function(t,r){return{x:t.x+r.x,y:t.y+r.y}},Va=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},Cl=function(t,r){return t.x===r.x&&t.y===r.y},vp=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},Qf=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},Pv=function(t,r){return Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))},SR=function(t,r){return Math.min.apply(Math,r.map(function(n){return Pv(t,n)}))},uF=function(t){return function(r){return{x:t(r.x),y:t(r.y)}}},TG=function(e,t){var r=Yo({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},vg=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},ER=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},OG={top:0,right:0,bottom:0,left:0},RG=function(t,r){return r?vg(t,r.scroll.diff.displacement):t},IG=function(t,r,n){if(n&&n.increasedBy){var i;return Ir({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},PG=function(t,r){return r&&r.shouldClipSubject?TG(r.pageMarginBox,t):Yo(t)},Yd=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=RG(t.marginBox,i),o=IG(a,n,r),u=PG(o,i);return{page:t,withPlaceholder:r,active:u}},hC=function(e,t){e.frame||Bt(!1);var r=e.frame,n=Va(t,r.scroll.initial),i=vp(n),a=Ir({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}}),o=Yd({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:a}),u=Ir({},e,{frame:a,subject:o});return u};function Q0(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function vC(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 Ul(e,t){if(e.find)return e.find(t);var r=vC(e,t);if(r!==-1)return e[r]}function sF(e){return Array.prototype.slice.call(e)}var lF=Qn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})}),fF=Qn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})}),_1=Qn(function(e){return Q0(e)}),kG=Qn(function(e){return Q0(e)}),gp=Qn(function(e,t){var r=kG(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function gC(e){return e.at&&e.at.type==="REORDER"?e.at.destination:null}function S1(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}var E1=Qn(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})}),DG=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,a=e.previousImpact;if(!n.isCombineEnabled)return null;var o=gC(a);if(!o)return null;function u(O){var S={type:"COMBINE",combine:{draggableId:O,droppableId:n.descriptor.id}};return Ir({},a,{at:S})}var l=a.displaced.all,f=l.length?l[0]:null;if(t)return f?u(f):null;var p=E1(r,i);if(!f){if(!p.length)return null;var g=p[p.length-1];return u(g.descriptor.id)}var v=vC(p,function(O){return O.descriptor.id===f});v===-1&&Bt(!1);var y=v-1;if(y<0)return null;var C=p[y];return u(C.descriptor.id)},mp=function(e,t){return e.descriptor.droppableId===t.descriptor.id},cF={point:Pi,value:0},kv={invisible:{},visible:{},all:[]},MG={displaced:kv,displacedBy:cF,at:null},So=function(e,t){return function(r){return e<=r&&r<=t}},dF=function(e){var t=So(e.top,e.bottom),r=So(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);if(i)return!0;var a=t(n.top)||t(n.bottom),o=r(n.left)||r(n.right),u=a&&o;if(u)return!0;var l=n.top<e.top&&n.bottom>e.bottom,f=n.left<e.left&&n.right>e.right,p=l&&f;if(p)return!0;var g=l&&o||f&&a;return g}},NG=function(e){var t=So(e.top,e.bottom),r=So(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);return i}},mC={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},pF={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},FG=function(e){return function(t){var r=So(t.top,t.bottom),n=So(t.left,t.right);return function(i){return e===mC?r(i.top)&&r(i.bottom):n(i.left)&&n(i.right)}}},LG=function(t,r){var n=r.frame?r.frame.scroll.diff.displacement:Pi;return vg(t,n)},BG=function(t,r,n){return r.subject.active?n(r.subject.active)(t):!1},$G=function(t,r,n){return n(r)(t)},yC=function(t){var r=t.target,n=t.destination,i=t.viewport,a=t.withDroppableDisplacement,o=t.isVisibleThroughFrameFn,u=a?LG(r,n):r;return BG(u,n,o)&&$G(u,i,o)},zG=function(t){return yC(Ir({},t,{isVisibleThroughFrameFn:dF}))},hF=function(t){return yC(Ir({},t,{isVisibleThroughFrameFn:NG}))},jG=function(t){return yC(Ir({},t,{isVisibleThroughFrameFn:FG(t.destination.axis)}))},UG=function(t,r,n){if(typeof n=="boolean")return n;if(!r)return!0;var i=r.invisible,a=r.visible;if(i[t])return!1;var o=a[t];return o?o.shouldAnimate:!0};function WG(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return Yo(dC(r,n))}function Dv(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,a=e.forceShouldAnimate,o=e.last;return t.reduce(function(l,f){var p=WG(f,n),g=f.descriptor.id;l.all.push(g);var v=zG({target:p,destination:r,viewport:i,withDroppableDisplacement:!0});if(!v)return l.invisible[f.descriptor.id]=!0,l;var y=UG(g,o,a),C={draggableId:g,shouldAnimate:y};return l.visible[g]=C,l},{all:[],visible:{},invisible:{}})}function qG(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}function CR(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,a=qG(t,{inHomeList:r});return{displaced:kv,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:a}}}}function K0(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,a=e.displacedBy,o=e.last,u=e.index,l=e.forceShouldAnimate,f=mp(t,n);if(u==null)return CR({insideDestination:r,inHomeList:f,displacedBy:a,destination:n});var p=Ul(r,function(O){return O.descriptor.index===u});if(!p)return CR({insideDestination:r,inHomeList:f,displacedBy:a,destination:n});var g=E1(t,r),v=r.indexOf(p),y=g.slice(v),C=Dv({afterDragging:y,destination:n,displacedBy:a,last:o,viewport:i.frame,forceShouldAnimate:l});return{displaced:C,displacedBy:a,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:u}}}}function Nl(e,t){return Boolean(t.effected[e])}var GG=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,a=e.afterCritical;if(!r.isCombineEnabled)return null;var o=i.draggableId,u=n[o],l=u.descriptor.index,f=Nl(o,a);return f?t?l:l-1:t?l+1:l},HG=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var a=i.index,o=t?a+1:a-1,u=n[0].descriptor.index,l=n[n.length-1].descriptor.index,f=r?l:l+1;return o<u||o>f?null:o},VG=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,a=e.destination,o=e.insideDestination,u=e.previousImpact,l=e.viewport,f=e.afterCritical,p=u.at;if(p||Bt(!1),p.type==="REORDER"){var g=HG({isMovingForward:t,isInHomeList:r,location:p.destination,insideDestination:o});return g==null?null:K0({draggable:n,insideDestination:o,destination:a,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:g})}var v=GG({isMovingForward:t,destination:a,displaced:u.displaced,draggables:i,combine:p.combine,afterCritical:f});return v==null?null:K0({draggable:n,insideDestination:o,destination:a,viewport:l,last:u.displaced,displacedBy:u.displacedBy,index:v})},YG=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,a=Boolean(t.visible[n]||t.invisible[n]);return Nl(n,r)?a?Pi:vp(i.point):a?i.point:Pi},XG=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=S1(r);i||Bt(!1);var a=i.draggableId,o=n[a].page.borderBox.center,u=YG({displaced:r.displaced,afterCritical:t,combineWith:a,displacedBy:r.displacedBy});return Gi(o,u)},vF=function(t,r){return r.margin[t.start]+r.borderBox[t.size]/2},QG=function(t,r){return r.margin[t.end]+r.borderBox[t.size]/2},bC=function(t,r,n){return r[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},AR=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Qf(r.line,n.marginBox[r.end]+vF(r,i),bC(r,n.marginBox,i))},TR=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Qf(r.line,n.marginBox[r.start]-QG(r,i),bC(r,n.marginBox,i))},KG=function(t){var r=t.axis,n=t.moveInto,i=t.isMoving;return Qf(r.line,n.contentBox[r.start]+vF(r,i),bC(r,n.contentBox,i))},ZG=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,a=e.afterCritical,o=gp(i.descriptor.id,n),u=r.page,l=i.axis;if(!o.length)return KG({axis:l,moveInto:i.page,isMoving:u});var f=t.displaced,p=t.displacedBy,g=f.all[0];if(g){var v=n[g];if(Nl(g,a))return TR({axis:l,moveRelativeTo:v.page,isMoving:u});var y=H0(v.page,p.point);return TR({axis:l,moveRelativeTo:y,isMoving:u})}var C=o[o.length-1];if(C.descriptor.id===r.descriptor.id)return u.borderBox.center;if(Nl(C.descriptor.id,a)){var O=H0(C.page,vp(a.displacedBy.point));return AR({axis:l,moveRelativeTo:O,isMoving:u})}return AR({axis:l,moveRelativeTo:C.page,isMoving:u})},VS=function(e,t){var r=e.frame;return r?Gi(t,r.scroll.diff.displacement):t},JG=function(t){var r=t.impact,n=t.draggable,i=t.droppable,a=t.draggables,o=t.afterCritical,u=n.page.borderBox.center,l=r.at;return!i||!l?u:l.type==="REORDER"?ZG({impact:r,draggable:n,draggables:a,droppable:i,afterCritical:o}):XG({impact:r,draggables:a,afterCritical:o})},C1=function(e){var t=JG(e),r=e.droppable,n=r?VS(r,t):t;return n},gF=function(e,t){var r=Va(t,e.scroll.initial),n=vp(r),i=Yo({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),a={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}};return a};function OR(e,t){return e.map(function(r){return t[r]})}function eH(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}var tH=function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,a=e.maxScrollChange,o=gF(r,Gi(r.scroll.current,a)),u=n.frame?hC(n,Gi(n.frame.scroll.current,a)):n,l=t.displaced,f=Dv({afterDragging:OR(l.all,i),destination:n,displacedBy:t.displacedBy,viewport:o.frame,last:l,forceShouldAnimate:!1}),p=Dv({afterDragging:OR(l.all,i),destination:u,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),g={},v={},y=[l,f,p];l.all.forEach(function(O){var S=eH(O,y);if(S){v[O]=S;return}g[O]=!0});var C=Ir({},t,{displaced:{all:l.all,invisible:g,visible:v}});return C},rH=function(e,t){return Gi(e.scroll.diff.displacement,t)},xC=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=e.viewport,i=rH(n,t),a=Va(i,r.page.borderBox.center);return Gi(r.client.borderBox.center,a)},mF=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,a=e.withDroppableDisplacement,o=e.onlyOnMainAxis,u=o===void 0?!1:o,l=Va(n,t.page.borderBox.center),f=vg(t.page.borderBox,l),p={target:f,destination:r,withDroppableDisplacement:a,viewport:i};return u?jG(p):hF(p)},nH=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,a=e.previousImpact,o=e.viewport,u=e.previousPageBorderBoxCenter,l=e.previousClientSelection,f=e.afterCritical;if(!n.isEnabled)return null;var p=gp(n.descriptor.id,i),g=mp(r,n),v=DG({isMovingForward:t,draggable:r,destination:n,insideDestination:p,previousImpact:a})||VG({isMovingForward:t,isInHomeList:g,draggable:r,draggables:i,destination:n,insideDestination:p,previousImpact:a,viewport:o,afterCritical:f});if(!v)return null;var y=C1({impact:v,draggable:r,droppable:n,draggables:i,afterCritical:f}),C=mF({draggable:r,destination:n,newPageBorderBoxCenter:y,viewport:o.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(C){var O=xC({pageBorderBoxCenter:y,draggable:r,viewport:o});return{clientSelection:O,impact:v,scrollJumpRequest:null}}var S=Va(y,u),w=tH({impact:v,viewport:o,destination:n,draggables:i,maxScrollChange:S});return{clientSelection:l,impact:w,scrollJumpRequest:S}},da=function(t){var r=t.subject.active;return r||Bt(!1),r},iH=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,a=e.viewport,o=n.subject.active;if(!o)return null;var u=n.axis,l=So(o[u.start],o[u.end]),f=_1(i).filter(function(g){return g!==n}).filter(function(g){return g.isEnabled}).filter(function(g){return Boolean(g.subject.active)}).filter(function(g){return dF(a.frame)(da(g))}).filter(function(g){var v=da(g);return t?o[u.crossAxisEnd]<v[u.crossAxisEnd]:v[u.crossAxisStart]<o[u.crossAxisStart]}).filter(function(g){var v=da(g),y=So(v[u.start],v[u.end]);return l(v[u.start])||l(v[u.end])||y(o[u.start])||y(o[u.end])}).sort(function(g,v){var y=da(g)[u.crossAxisStart],C=da(v)[u.crossAxisStart];return t?y-C:C-y}).filter(function(g,v,y){return da(g)[u.crossAxisStart]===da(y[0])[u.crossAxisStart]});if(!f.length)return null;if(f.length===1)return f[0];var p=f.filter(function(g){var v=So(da(g)[u.start],da(g)[u.end]);return v(r[u.line])});return p.length===1?p[0]:p.length>1?p.sort(function(g,v){return da(g)[u.start]-da(v)[u.start]})[0]:f.sort(function(g,v){var y=SR(r,ER(da(g))),C=SR(r,ER(da(v)));return y!==C?y-C:da(g)[u.start]-da(v)[u.start]})[0]},RR=function(t,r){var n=t.page.borderBox.center;return Nl(t.descriptor.id,r)?Va(n,r.displacedBy.point):n},aH=function(t,r){var n=t.page.borderBox;return Nl(t.descriptor.id,r)?vg(n,vp(r.displacedBy.point)):n},oH=function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,a=e.afterCritical,o=i.filter(function(u){return hF({target:aH(u,a),destination:n,viewport:r.frame,withDroppableDisplacement:!0})}).sort(function(u,l){var f=Pv(t,VS(n,RR(u,a))),p=Pv(t,VS(n,RR(l,a)));return f<p?-1:p<f?1:u.descriptor.index-l.descriptor.index});return o[0]||null},gg=Qn(function(t,r){var n=r[t.line];return{value:n,point:Qf(t.line,n)}}),uH=function(t,r,n){var i=t.axis;if(t.descriptor.mode==="virtual")return Qf(i.line,r[i.line]);var a=t.subject.page.contentBox[i.size],o=gp(t.descriptor.id,n),u=o.reduce(function(p,g){return p+g.client.marginBox[i.size]},0),l=u+r[i.line],f=l-a;return f<=0?null:Qf(i.line,f)},yF=function(t,r){return Ir({},t,{scroll:Ir({},t.scroll,{max:r})})},bF=function(t,r,n){var i=t.frame;mp(r,t)&&Bt(!1),t.subject.withPlaceholder&&Bt(!1);var a=gg(t.axis,r.displaceBy).point,o=uH(t,a,n),u={placeholderSize:a,increasedBy:o,oldFrameMaxScroll:t.frame?t.frame.scroll.max:null};if(!i){var l=Yd({page:t.subject.page,withPlaceholder:u,axis:t.axis,frame:t.frame});return Ir({},t,{subject:l})}var f=o?Gi(i.scroll.max,o):i.scroll.max,p=yF(i,f),g=Yd({page:t.subject.page,withPlaceholder:u,axis:t.axis,frame:p});return Ir({},t,{subject:g,frame:p})},sH=function(t){var r=t.subject.withPlaceholder;r||Bt(!1);var n=t.frame;if(!n){var i=Yd({page:t.subject.page,axis:t.axis,frame:null,withPlaceholder:null});return Ir({},t,{subject:i})}var a=r.oldFrameMaxScroll;a||Bt(!1);var o=yF(n,a),u=Yd({page:t.subject.page,axis:t.axis,frame:o,withPlaceholder:null});return Ir({},t,{subject:u,frame:o})},lH=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,a=e.draggables,o=e.destination,u=e.viewport,l=e.afterCritical;if(!r){if(n.length)return null;var f={displaced:kv,displacedBy:cF,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:0}}},p=C1({impact:f,draggable:i,droppable:o,draggables:a,afterCritical:l}),g=mp(i,o)?o:bF(o,i,a),v=mF({draggable:i,destination:g,newPageBorderBoxCenter:p,viewport:u.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return v?f:null}var y=Boolean(t[o.axis.line]<=r.page.borderBox.center[o.axis.line]),C=function(){var S=r.descriptor.index;return r.descriptor.id===i.descriptor.id||y?S:S+1}(),O=gg(o.axis,i.displaceBy);return K0({draggable:i,insideDestination:n,destination:o,viewport:u,displacedBy:O,last:kv,index:C})},fH=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,a=e.draggables,o=e.droppables,u=e.viewport,l=e.afterCritical,f=iH({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:o,viewport:u});if(!f)return null;var p=gp(f.descriptor.id,a),g=oH({pageBorderBoxCenter:r,viewport:u,destination:f,insideDestination:p,afterCritical:l}),v=lH({previousPageBorderBoxCenter:r,destination:f,draggable:n,draggables:a,moveRelativeTo:g,insideDestination:p,viewport:u,afterCritical:l});if(!v)return null;var y=C1({impact:v,draggable:n,droppable:f,draggables:a,afterCritical:l}),C=xC({pageBorderBoxCenter:y,draggable:n,viewport:u});return{clientSelection:C,impact:v,scrollJumpRequest:null}},Xa=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},cH=function(t,r){var n=Xa(t);return n?r[n]:null},dH=function(e){var t=e.state,r=e.type,n=cH(t.impact,t.dimensions.droppables),i=Boolean(n),a=t.dimensions.droppables[t.critical.droppable.id],o=n||a,u=o.axis.direction,l=u==="vertical"&&(r==="MOVE_UP"||r==="MOVE_DOWN")||u==="horizontal"&&(r==="MOVE_LEFT"||r==="MOVE_RIGHT");if(l&&!i)return null;var f=r==="MOVE_DOWN"||r==="MOVE_RIGHT",p=t.dimensions.draggables[t.critical.draggable.id],g=t.current.page.borderBoxCenter,v=t.dimensions,y=v.draggables,C=v.droppables;return l?nH({isMovingForward:f,previousPageBorderBoxCenter:g,draggable:p,destination:o,draggables:y,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):fH({isMovingForward:f,previousPageBorderBoxCenter:g,draggable:p,isOver:o,draggables:y,droppables:C,viewport:t.viewport,afterCritical:t.afterCritical})};function Af(e){return e.phase==="DRAGGING"||e.phase==="COLLECTING"}function xF(e){var t=So(e.top,e.bottom),r=So(e.left,e.right);return function(i){return t(i.y)&&r(i.x)}}function pH(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function hH(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,a=n.map(function(o){var u=o.axis,l=Qf(o.axis.line,t.center[u.line],o.page.borderBox.center[u.crossAxisLine]);return{id:o.descriptor.id,distance:Pv(i,l)}}).sort(function(o,u){return u.distance-o.distance});return a[0]?a[0].id:null}function vH(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=_1(n).filter(function(a){if(!a.isEnabled)return!1;var o=a.subject.active;if(!o||!pH(t,o))return!1;if(xF(o)(t.center))return!0;var u=a.axis,l=o.center[u.crossAxisLine],f=t[u.crossAxisStart],p=t[u.crossAxisEnd],g=So(o[u.crossAxisStart],o[u.crossAxisEnd]),v=g(f),y=g(p);return!v&&!y?!0:v?f<l:p>l});return i.length?i.length===1?i[0].descriptor.id:hH({pageBorderBox:t,draggable:r,candidates:i}):null}var wF=function(t,r){return Yo(vg(t,r))},gH=function(e,t){var r=e.frame;return r?wF(t,r.scroll.diff.value):t};function _F(e){var t=e.displaced,r=e.id;return Boolean(t.visible[r]||t.invisible[r])}function mH(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}var yH=function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,a=e.last,o=e.viewport,u=e.afterCritical,l=n.axis,f=gg(n.axis,r.displaceBy),p=f.value,g=t[l.start],v=t[l.end],y=E1(r,i),C=Ul(y,function(S){var w=S.descriptor.id,A=S.page.borderBox.center[l.line],R=Nl(w,u),P=_F({displaced:a,id:w});return R?P?v<=A:g<A-p:P?v<=A+p:g<A}),O=mH({draggable:r,closest:C,inHomeList:mp(r,n)});return K0({draggable:r,insideDestination:i,destination:n,viewport:o,last:a,displacedBy:f,index:O})},bH=4,xH=function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,a=e.insideDestination,o=e.afterCritical;if(!i.isCombineEnabled)return null;var u=i.axis,l=gg(i.axis,t.displaceBy),f=l.value,p=r[u.start],g=r[u.end],v=E1(t,a),y=Ul(v,function(O){var S=O.descriptor.id,w=O.page.borderBox,A=w[u.size],R=A/bH,P=Nl(S,o),N=_F({displaced:n.displaced,id:S});return P?N?g>w[u.start]+R&&g<w[u.end]-R:p>w[u.start]-f+R&&p<w[u.end]-f-R:N?g>w[u.start]+f+R&&g<w[u.end]+f-R:p>w[u.start]+R&&p<w[u.end]-R});if(!y)return null;var C={displacedBy:l,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:y.descriptor.id,droppableId:i.descriptor.id}}};return C},SF=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,a=e.previousImpact,o=e.viewport,u=e.afterCritical,l=wF(r.page.borderBox,t),f=vH({pageBorderBox:l,draggable:r,droppables:i});if(!f)return MG;var p=i[f],g=gp(p.descriptor.id,n),v=gH(p,l);return xH({pageBorderBoxWithDroppableScroll:v,draggable:r,previousImpact:a,destination:p,insideDestination:g,afterCritical:u})||yH({pageBorderBoxWithDroppableScroll:v,draggable:r,destination:p,insideDestination:g,last:a.displaced,viewport:o,afterCritical:u})},wC=function(e,t){var r;return Ir({},e,(r={},r[t.descriptor.id]=t,r))},wH=function(t){var r=t.previousImpact,n=t.impact,i=t.droppables,a=Xa(r),o=Xa(n);if(!a||a===o)return i;var u=i[a];if(!u.subject.withPlaceholder)return i;var l=sH(u);return wC(i,l)},_H=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,a=e.impact,o=wH({previousImpact:i,impact:a,droppables:n}),u=Xa(a);if(!u)return o;var l=n[u];if(mp(t,l)||l.subject.withPlaceholder)return o;var f=bF(l,t,r);return wC(o,f)},sv=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,a=e.impact,o=e.scrollJumpRequest,u=i||t.viewport,l=n||t.dimensions,f=r||t.current.client.selection,p=Va(f,t.initial.client.selection),g={offset:p,selection:f,borderBoxCenter:Gi(t.initial.client.borderBoxCenter,p)},v={selection:Gi(g.selection,u.scroll.current),borderBoxCenter:Gi(g.borderBoxCenter,u.scroll.current),offset:Gi(g.offset,u.scroll.diff.value)},y={client:g,page:v};if(t.phase==="COLLECTING")return Ir({phase:"COLLECTING"},t,{dimensions:l,viewport:u,current:y});var C=l.draggables[t.critical.draggable.id],O=a||SF({pageOffset:v.offset,draggable:C,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:u,afterCritical:t.afterCritical}),S=_H({draggable:C,impact:O,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables}),w=Ir({},t,{current:y,dimensions:{draggables:l.draggables,droppables:S},impact:O,viewport:u,scrollJumpRequest:o||null,forceShouldAnimate:o?!1:null});return w};function SH(e,t){return e.map(function(r){return t[r]})}var EF=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,a=e.forceShouldAnimate,o=t.displaced,u=SH(o.all,n),l=Dv({afterDragging:u,destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:a,last:o});return Ir({},t,{displaced:l})},CF=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,a=e.viewport,o=e.afterCritical,u=C1({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:o});return xC({pageBorderBoxCenter:u,draggable:r,viewport:a})},AF=function(e){var t=e.state,r=e.dimensions,n=e.viewport;t.movementMode!=="SNAP"&&Bt(!1);var i=t.impact,a=n||t.viewport,o=r||t.dimensions,u=o.draggables,l=o.droppables,f=u[t.critical.draggable.id],p=Xa(i);p||Bt(!1);var g=l[p],v=EF({impact:i,viewport:a,destination:g,draggables:u}),y=CF({impact:v,draggable:f,droppable:g,draggables:u,viewport:a,afterCritical:t.afterCritical});return sv({impact:v,clientSelection:y,state:t,dimensions:o,viewport:a})},EH=function(e){return{index:e.index,droppableId:e.droppableId}},TF=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,a=gg(r.axis,t.displaceBy),o=gp(r.descriptor.id,n),u=o.indexOf(t);u===-1&&Bt(!1);var l=o.slice(u+1),f=l.reduce(function(y,C){return y[C.descriptor.id]=!0,y},{}),p={inVirtualList:r.descriptor.mode==="virtual",displacedBy:a,effected:f},g=Dv({afterDragging:l,destination:r,displacedBy:a,last:null,viewport:i.frame,forceShouldAnimate:!1}),v={displaced:g,displacedBy:a,at:{type:"REORDER",destination:EH(t.descriptor)}};return{impact:v,afterCritical:p}},CH=function(e,t){return{draggables:e.draggables,droppables:wC(e.droppables,t)}},AH=function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=H0(t.client,r),a=V0(i,n),o=Ir({},t,{placeholder:Ir({},t.placeholder,{client:i}),client:i,page:a});return o},TH=function(e){var t=e.frame;return t||Bt(!1),t},OH=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map(function(a){var o=a.descriptor.droppableId,u=r[o],l=TH(u),f=l.scroll.diff.value,p=Gi(i,f),g=AH({draggable:a,offset:p,initialWindowScroll:n.scroll.initial});return g})},RH=function(e){var t=e.state,r=e.published,n=r.modified.map(function(R){var P=t.dimensions.droppables[R.droppableId],N=hC(P,R.scroll);return N}),i=Ir({},t.dimensions.droppables,{},lF(n)),a=fF(OH({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),o=Ir({},t.dimensions.draggables,{},a);r.removals.forEach(function(R){delete o[R]});var u={droppables:i,draggables:o},l=Xa(t.impact),f=l?u.droppables[l]:null,p=u.draggables[t.critical.draggable.id],g=u.droppables[t.critical.droppable.id],v=TF({draggable:p,home:g,draggables:o,viewport:t.viewport}),y=v.impact,C=v.afterCritical,O=f&&f.isCombineEnabled?t.impact:y,S=SF({pageOffset:t.current.page.offset,draggable:u.draggables[t.critical.draggable.id],draggables:u.draggables,droppables:u.droppables,previousImpact:O,viewport:t.viewport,afterCritical:C}),w=Ir({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:S,onLiftImpact:y,dimensions:u,afterCritical:C,forceShouldAnimate:!1});if(t.phase==="COLLECTING")return w;var A=Ir({phase:"DROP_PENDING"},w,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1});return A},YS=function(t){return t.movementMode==="SNAP"},Kx=function(t,r,n){var i=CH(t.dimensions,r);return!YS(t)||n?sv({state:t,dimensions:i}):AF({state:t,dimensions:i})};function Zx(e){return e.isDragging&&e.movementMode==="SNAP"?Ir({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var IR={phase:"IDLE",completed:null,shouldFlush:!1},IH=function(e,t){if(e===void 0&&(e=IR),t.type==="FLUSH")return Ir({},IR,{shouldFlush:!0});if(t.type==="INITIAL_PUBLISH"){e.phase!=="IDLE"&&Bt(!1);var r=t.payload,n=r.critical,i=r.clientSelection,a=r.viewport,o=r.dimensions,u=r.movementMode,l=o.draggables[n.draggable.id],f=o.droppables[n.droppable.id],p={selection:i,borderBoxCenter:l.client.borderBox.center,offset:Pi},g={client:p,page:{selection:Gi(p.selection,a.scroll.initial),borderBoxCenter:Gi(p.selection,a.scroll.initial),offset:Gi(p.selection,a.scroll.diff.value)}},v=_1(o.droppables).every(function(Nt){return!Nt.isFixedOnPage}),y=TF({draggable:l,home:f,draggables:o.draggables,viewport:a}),C=y.impact,O=y.afterCritical,S={phase:"DRAGGING",isDragging:!0,critical:n,movementMode:u,dimensions:o,initial:g,current:g,isWindowScrollAllowed:v,impact:C,afterCritical:O,onLiftImpact:C,viewport:a,scrollJumpRequest:null,forceShouldAnimate:null};return S}if(t.type==="COLLECTION_STARTING"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&Bt(!1);var w=Ir({phase:"COLLECTING"},e,{phase:"COLLECTING"});return w}if(t.type==="PUBLISH_WHILE_DRAGGING")return e.phase==="COLLECTING"||e.phase==="DROP_PENDING"||Bt(!1),RH({state:e,published:t.payload});if(t.type==="MOVE"){if(e.phase==="DROP_PENDING")return e;Af(e)||Bt(!1);var A=t.payload.client;return Cl(A,e.current.client.selection)?e:sv({state:e,clientSelection:A,impact:YS(e)?e.impact:null})}if(t.type==="UPDATE_DROPPABLE_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="COLLECTING")return Zx(e);Af(e)||Bt(!1);var R=t.payload,P=R.id,N=R.newScroll,m=e.dimensions.droppables[P];if(!m)return e;var G=hC(m,N);return Kx(e,G,!1)}if(t.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(e.phase==="DROP_PENDING")return e;Af(e)||Bt(!1);var L=t.payload,$=L.id,ae=L.isEnabled,ve=e.dimensions.droppables[$];ve||Bt(!1),ve.isEnabled===ae&&Bt(!1);var be=Ir({},ve,{isEnabled:ae});return Kx(e,be,!0)}if(t.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(e.phase==="DROP_PENDING")return e;Af(e)||Bt(!1);var Pe=t.payload,Fe=Pe.id,dt=Pe.isCombineEnabled,Je=e.dimensions.droppables[Fe];Je||Bt(!1),Je.isCombineEnabled===dt&&Bt(!1);var Te=Ir({},Je,{isCombineEnabled:dt});return Kx(e,Te,!0)}if(t.type==="MOVE_BY_WINDOW_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="DROP_ANIMATING")return e;Af(e)||Bt(!1),e.isWindowScrollAllowed||Bt(!1);var Ye=t.payload.newScroll;if(Cl(e.viewport.scroll.current,Ye))return Zx(e);var nt=gF(e.viewport,Ye);return YS(e)?AF({state:e,viewport:nt}):sv({state:e,viewport:nt})}if(t.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Af(e))return e;var pt=t.payload.maxScroll;if(Cl(pt,e.viewport.scroll.max))return e;var Ie=Ir({},e.viewport,{scroll:Ir({},e.viewport.scroll,{max:pt})});return Ir({phase:"DRAGGING"},e,{viewport:Ie})}if(t.type==="MOVE_UP"||t.type==="MOVE_DOWN"||t.type==="MOVE_LEFT"||t.type==="MOVE_RIGHT"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&Bt(!1);var Re=dH({state:e,type:t.type});return Re?sv({state:e,impact:Re.impact,clientSelection:Re.clientSelection,scrollJumpRequest:Re.scrollJumpRequest}):e}if(t.type==="DROP_PENDING"){var ot=t.payload.reason;e.phase!=="COLLECTING"&&Bt(!1);var et=Ir({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:ot});return et}if(t.type==="DROP_ANIMATE"){var ft=t.payload,At=ft.completed,Gt=ft.dropDuration,Xt=ft.newHomeClientOffset;e.phase==="DRAGGING"||e.phase==="DROP_PENDING"||Bt(!1);var Me={phase:"DROP_ANIMATING",completed:At,dropDuration:Gt,newHomeClientOffset:Xt,dimensions:e.dimensions};return Me}if(t.type==="DROP_COMPLETE"){var yt=t.payload.completed;return{phase:"IDLE",completed:yt,shouldFlush:!1}}return e},PH=function(t){return{type:"BEFORE_INITIAL_CAPTURE",payload:t}},kH=function(t){return{type:"LIFT",payload:t}},DH=function(t){return{type:"INITIAL_PUBLISH",payload:t}},MH=function(t){return{type:"PUBLISH_WHILE_DRAGGING",payload:t}},NH=function(){return{type:"COLLECTION_STARTING",payload:null}},FH=function(t){return{type:"UPDATE_DROPPABLE_SCROLL",payload:t}},LH=function(t){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:t}},BH=function(t){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:t}},OF=function(t){return{type:"MOVE",payload:t}},$H=function(t){return{type:"MOVE_BY_WINDOW_SCROLL",payload:t}},zH=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},jH=function(){return{type:"MOVE_UP",payload:null}},UH=function(){return{type:"MOVE_DOWN",payload:null}},WH=function(){return{type:"MOVE_RIGHT",payload:null}},qH=function(){return{type:"MOVE_LEFT",payload:null}},_C=function(){return{type:"FLUSH",payload:null}},GH=function(t){return{type:"DROP_ANIMATE",payload:t}},SC=function(t){return{type:"DROP_COMPLETE",payload:t}},RF=function(t){return{type:"DROP",payload:t}},HH=function(t){return{type:"DROP_PENDING",payload:t}},IF=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},VH=function(e){return function(t){var r=t.getState,n=t.dispatch;return function(i){return function(a){if(a.type!=="LIFT"){i(a);return}var o=a.payload,u=o.id,l=o.clientSelection,f=o.movementMode,p=r();p.phase==="DROP_ANIMATING"&&n(SC({completed:p.completed})),r().phase!=="IDLE"&&Bt(!1),n(_C()),n(PH({draggableId:u,movementMode:f}));var g={shouldPublishImmediately:f==="SNAP"},v={draggableId:u,scrollOptions:g},y=e.startPublishing(v),C=y.critical,O=y.dimensions,S=y.viewport;n(DH({critical:C,dimensions:O,clientSelection:l,movementMode:f,viewport:S}))}}}},YH=function(e){return function(){return function(t){return function(r){r.type==="INITIAL_PUBLISH"&&e.dragging(),r.type==="DROP_ANIMATE"&&e.dropping(r.payload.completed.result.reason),(r.type==="FLUSH"||r.type==="DROP_COMPLETE")&&e.resting(),t(r)}}}},EC={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Mv={opacity:{drop:0,combining:.7},scale:{drop:.75}},CC={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},yf=CC.outOfTheWay+"s "+EC.outOfTheWay,lv={fluid:"opacity "+yf,snap:"transform "+yf+", opacity "+yf,drop:function(t){var r=t+"s "+EC.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+yf,placeholder:"height "+yf+", width "+yf+", margin "+yf},PR=function(t){return Cl(t,Pi)?null:"translate("+t.x+"px, "+t.y+"px)"},XS={moveTo:PR,drop:function(t,r){var n=PR(t);return n?r?n+" scale("+Mv.scale.drop+")":n:null}},QS=CC.minDropTime,PF=CC.maxDropTime,XH=PF-QS,kR=1500,QH=.6,KH=function(e){var t=e.current,r=e.destination,n=e.reason,i=Pv(t,r);if(i<=0)return QS;if(i>=kR)return PF;var a=i/kR,o=QS+XH*a,u=n==="CANCEL"?o*QH:o;return Number(u.toFixed(2))},ZH=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,a=e.afterCritical,o=n.draggables,u=n.droppables,l=Xa(t),f=l?u[l]:null,p=u[r.descriptor.droppableId],g=CF({impact:t,draggable:r,draggables:o,afterCritical:a,droppable:f||p,viewport:i}),v=Va(g,r.client.borderBox.center);return v},JH=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,a=e.viewport,o=e.onLiftImpact;if(!n.at||r!=="DROP"){var u=EF({draggables:t,impact:o,destination:i,viewport:a,forceShouldAnimate:!0});return{impact:u,didDropInsideDroppable:!1}}if(n.at.type==="REORDER")return{impact:n,didDropInsideDroppable:!0};var l=Ir({},n,{displaced:kv});return{impact:l,didDropInsideDroppable:!0}},eV=function(e){var t=e.getState,r=e.dispatch;return function(n){return function(i){if(i.type!=="DROP"){n(i);return}var a=t(),o=i.payload.reason;if(a.phase==="COLLECTING"){r(HH({reason:o}));return}if(a.phase!=="IDLE"){var u=a.phase==="DROP_PENDING"&&a.isWaiting;u&&Bt(!1),a.phase==="DRAGGING"||a.phase==="DROP_PENDING"||Bt(!1);var l=a.critical,f=a.dimensions,p=f.draggables[a.critical.draggable.id],g=JH({reason:o,lastImpact:a.impact,afterCritical:a.afterCritical,onLiftImpact:a.onLiftImpact,home:a.dimensions.droppables[a.critical.droppable.id],viewport:a.viewport,draggables:a.dimensions.draggables}),v=g.impact,y=g.didDropInsideDroppable,C=y?gC(v):null,O=y?S1(v):null,S={index:l.draggable.index,droppableId:l.droppable.id},w={draggableId:p.descriptor.id,type:p.descriptor.type,source:S,reason:o,mode:a.movementMode,destination:C,combine:O},A=ZH({impact:v,draggable:p,dimensions:f,viewport:a.viewport,afterCritical:a.afterCritical}),R={critical:a.critical,afterCritical:a.afterCritical,result:w,impact:v},P=!Cl(a.current.client.offset,A)||Boolean(w.combine);if(!P){r(SC({completed:R}));return}var N=KH({current:a.current.client.offset,destination:A,reason:o}),m={newHomeClientOffset:A,dropDuration:N,completed:R};r(GH(m))}}}},kF=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function tV(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}function rV(e){var t=e.onWindowScroll;function r(){t(kF())}var n=Iv(r),i=tV(n),a=El;function o(){return a!==El}function u(){o()&&Bt(!1),a=wo(window,[i])}function l(){o()||Bt(!1),n.cancel(),a(),a=El}return{start:u,stop:l,isActive:o}}var nV=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},iV=function(e){var t=rV({onWindowScroll:function(n){e.dispatch($H({newScroll:n}))}});return function(r){return function(n){!t.isActive()&&n.type==="INITIAL_PUBLISH"&&t.start(),t.isActive()&&nV(n)&&t.stop(),r(n)}}},aV=function(e){var t=!1,r=!1,n=setTimeout(function(){r=!0}),i=function(o){t||r||(t=!0,e(o),clearTimeout(n))};return i.wasCalled=function(){return t},i},oV=function(){var e=[],t=function(a){var o=vC(e,function(f){return f.timerId===a});o===-1&&Bt(!1);var u=e.splice(o,1),l=u[0];l.callback()},r=function(a){var o=setTimeout(function(){return t(o)}),u={timerId:o,callback:a};e.push(u)},n=function(){if(!!e.length){var a=[].concat(e);e.length=0,a.forEach(function(o){clearTimeout(o.timerId),o.callback()})}};return{add:r,flush:n}},uV=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.droppableId===r.droppableId&&t.index===r.index},sV=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.draggableId===r.draggableId&&t.droppableId===r.droppableId},lV=function(t,r){if(t===r)return!0;var n=t.draggable.id===r.draggable.id&&t.draggable.droppableId===r.draggable.droppableId&&t.draggable.type===r.draggable.type&&t.draggable.index===r.draggable.index,i=t.droppable.id===r.droppable.id&&t.droppable.type===r.droppable.type;return n&&i},vh=function(t,r){r()},dm=function(t,r){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:r}},Jx=function(t,r,n,i){if(!t){n(i(r));return}var a=aV(n),o={announce:a};t(r,o),a.wasCalled()||n(i(r))},fV=function(e,t){var r=oV(),n=null,i=function(v,y){n&&Bt(!1),vh("onBeforeCapture",function(){var C=e().onBeforeCapture;if(C){var O={draggableId:v,mode:y};C(O)}})},a=function(v,y){n&&Bt(!1),vh("onBeforeDragStart",function(){var C=e().onBeforeDragStart;C&&C(dm(v,y))})},o=function(v,y){n&&Bt(!1);var C=dm(v,y);n={mode:y,lastCritical:v,lastLocation:C.source,lastCombine:null},r.add(function(){vh("onDragStart",function(){return Jx(e().onDragStart,C,t,o0.onDragStart)})})},u=function(v,y){var C=gC(y),O=S1(y);n||Bt(!1);var S=!lV(v,n.lastCritical);S&&(n.lastCritical=v);var w=!uV(n.lastLocation,C);w&&(n.lastLocation=C);var A=!sV(n.lastCombine,O);if(A&&(n.lastCombine=O),!(!S&&!w&&!A)){var R=Ir({},dm(v,n.mode),{combine:O,destination:C});r.add(function(){vh("onDragUpdate",function(){return Jx(e().onDragUpdate,R,t,o0.onDragUpdate)})})}},l=function(){n||Bt(!1),r.flush()},f=function(v){n||Bt(!1),n=null,vh("onDragEnd",function(){return Jx(e().onDragEnd,v,t,o0.onDragEnd)})},p=function(){if(!!n){var v=Ir({},dm(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});f(v)}};return{beforeCapture:i,beforeStart:a,start:o,update:u,flush:l,drop:f,abort:p}},cV=function(e,t){var r=fV(e,t);return function(n){return function(i){return function(a){if(a.type==="BEFORE_INITIAL_CAPTURE"){r.beforeCapture(a.payload.draggableId,a.payload.movementMode);return}if(a.type==="INITIAL_PUBLISH"){var o=a.payload.critical;r.beforeStart(o,a.payload.movementMode),i(a),r.start(o,a.payload.movementMode);return}if(a.type==="DROP_COMPLETE"){var u=a.payload.completed.result;r.flush(),i(a),r.drop(u);return}if(i(a),a.type==="FLUSH"){r.abort();return}var l=n.getState();l.phase==="DRAGGING"&&r.update(l.critical,l.impact)}}}},dV=function(e){return function(t){return function(r){if(r.type!=="DROP_ANIMATION_FINISHED"){t(r);return}var n=e.getState();n.phase!=="DROP_ANIMATING"&&Bt(!1),e.dispatch(SC({completed:n.completed}))}}},pV=function(e){var t=null,r=null;function n(){r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)}return function(i){return function(a){if((a.type==="FLUSH"||a.type==="DROP_COMPLETE"||a.type==="DROP_ANIMATION_FINISHED")&&n(),i(a),a.type==="DROP_ANIMATE"){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var l=e.getState();l.phase==="DROP_ANIMATING"&&e.dispatch(IF())}};r=requestAnimationFrame(function(){r=null,t=wo(window,[o])})}}}},hV=function(e){return function(){return function(t){return function(r){(r.type==="DROP_COMPLETE"||r.type==="FLUSH"||r.type==="DROP_ANIMATE")&&e.stopPublishing(),t(r)}}}},vV=function(e){var t=!1;return function(){return function(r){return function(n){if(n.type==="INITIAL_PUBLISH"){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),!!t){if(n.type==="FLUSH"){t=!1,e.tryRestoreFocusRecorded();return}if(n.type==="DROP_COMPLETE"){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},gV=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},mV=function(e){return function(t){return function(r){return function(n){if(gV(n)){e.stop(),r(n);return}if(n.type==="INITIAL_PUBLISH"){r(n);var i=t.getState();i.phase!=="DRAGGING"&&Bt(!1),e.start(i);return}r(n),e.scroll(t.getState())}}}},yV=function(e){return function(t){return function(r){if(t(r),r.type==="PUBLISH_WHILE_DRAGGING"){var n=e.getState();n.phase==="DROP_PENDING"&&(n.isWaiting||e.dispatch(RF({reason:n.reason})))}}}},bV=BN,xV=function(e){var t=e.dimensionMarshal,r=e.focusMarshal,n=e.styleMarshal,i=e.getResponders,a=e.announce,o=e.autoScroller;return LN(IH,bV(sq(YH(n),hV(t),VH(t),eV,dV,pV,yV,mV(o),iV,vV(r),cV(i,a))))},ew=function(){return{additions:{},removals:{},modified:{}}};function wV(e){var t=e.registry,r=e.callbacks,n=ew(),i=null,a=function(){i||(r.collectionStarting(),i=requestAnimationFrame(function(){i=null;var p=n,g=p.additions,v=p.removals,y=p.modified,C=Object.keys(g).map(function(w){return t.draggable.getById(w).getDimension(Pi)}).sort(function(w,A){return w.descriptor.index-A.descriptor.index}),O=Object.keys(y).map(function(w){var A=t.droppable.getById(w),R=A.callbacks.getScrollWhileDragging();return{droppableId:w,scroll:R}}),S={additions:C,removals:Object.keys(v),modified:O};n=ew(),r.publish(S)}))},o=function(p){var g=p.descriptor.id;n.additions[g]=p,n.modified[p.descriptor.droppableId]=!0,n.removals[g]&&delete n.removals[g],a()},u=function(p){var g=p.descriptor;n.removals[g.id]=!0,n.modified[g.droppableId]=!0,n.additions[g.id]&&delete n.additions[g.id],a()},l=function(){!i||(cancelAnimationFrame(i),i=null,n=ew())};return{add:o,remove:u,stop:l}}var DF=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=Va({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},MF=function(){var e=document.documentElement;return e||Bt(!1),e},NF=function(){var e=MF(),t=DF({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},_V=function(){var e=kF(),t=NF(),r=e.y,n=e.x,i=MF(),a=i.clientWidth,o=i.clientHeight,u=n+a,l=r+o,f=Yo({top:r,left:n,right:u,bottom:l}),p={frame:f,scroll:{initial:e,current:e,max:t,diff:{value:Pi,displacement:Pi}}};return p},SV=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry,i=_V(),a=i.scroll.current,o=t.droppable,u=n.droppable.getAllByType(o.type).map(function(g){return g.callbacks.getDimensionAndWatchScroll(a,r)}),l=n.draggable.getAllByType(t.draggable.type).map(function(g){return g.getDimension(a)}),f={draggables:fF(l),droppables:lF(u)},p={dimensions:f,critical:t,viewport:i};return p};function DR(e,t,r){if(r.descriptor.id===t.id||r.descriptor.type!==t.type)return!1;var n=e.droppable.getById(r.descriptor.droppableId);return n.descriptor.mode==="virtual"}var EV=function(e,t){var r=null,n=wV({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(y,C){e.droppable.exists(y)||Bt(!1),r&&t.updateDroppableIsEnabled({id:y,isEnabled:C})},a=function(y,C){!r||(e.droppable.exists(y)||Bt(!1),t.updateDroppableIsCombineEnabled({id:y,isCombineEnabled:C}))},o=function(y,C){!r||(e.droppable.exists(y)||Bt(!1),t.updateDroppableScroll({id:y,newScroll:C}))},u=function(y,C){!r||e.droppable.getById(y).callbacks.scroll(C)},l=function(){if(!!r){n.stop();var y=r.critical.droppable;e.droppable.getAllByType(y.type).forEach(function(C){return C.callbacks.dragStopped()}),r.unsubscribe(),r=null}},f=function(y){r||Bt(!1);var C=r.critical.draggable;y.type==="ADDITION"&&DR(e,C,y.value)&&n.add(y.value),y.type==="REMOVAL"&&DR(e,C,y.value)&&n.remove(y.value)},p=function(y){r&&Bt(!1);var C=e.draggable.getById(y.draggableId),O=e.droppable.getById(C.descriptor.droppableId),S={draggable:C.descriptor,droppable:O.descriptor},w=e.subscribe(f);return r={critical:S,unsubscribe:w},SV({critical:S,registry:e,scrollOptions:y.scrollOptions})},g={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:a,scrollDroppable:u,updateDroppableScroll:o,startPublishing:p,stopPublishing:l};return g},FF=function(e,t){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP"},CV=function(e){window.scrollBy(e.x,e.y)},AV=Qn(function(e){return _1(e).filter(function(t){return!(!t.isEnabled||!t.frame)})}),TV=function(t,r){var n=Ul(AV(r),function(i){return i.frame||Bt(!1),xF(i.frame.pageMarginBox)(t)});return n},OV=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}var a=TV(t,n);return a},Al={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(t){return Math.pow(t,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},RV=function(e,t){var r=e[t.size]*Al.startFromPercentage,n=e[t.size]*Al.maxScrollAtPercentage,i={startScrollingFrom:r,maxScrollValueAt:n};return i},LF=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;if(i===0)return 0;var a=n-t,o=a/i;return o},AC=1,IV=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Al.maxPixelScroll;if(e===t.startScrollingFrom)return AC;var r=LF({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=1-r,i=Al.maxPixelScroll*Al.ease(n);return Math.ceil(i)},MR=Al.durationDampening.accelerateAt,NR=Al.durationDampening.stopDampeningAt,PV=function(e,t){var r=t,n=NR,i=Date.now(),a=i-r;if(a>=NR)return e;if(a<MR)return AC;var o=LF({startOfRange:MR,endOfRange:n,current:a}),u=e*Al.ease(o);return Math.ceil(u)},FR=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,a=IV(t,r);return a===0?0:i?Math.max(PV(a,n),AC):a},LR=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,a=e.shouldUseTimeDampening,o=RV(t,i),u=r[i.end]<r[i.start];return u?FR({distanceToEdge:r[i.end],thresholds:o,dragStartTime:n,shouldUseTimeDampening:a}):-1*FR({distanceToEdge:r[i.start],thresholds:o,dragStartTime:n,shouldUseTimeDampening:a})},kV=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,a=r.width>t.width;return!a&&!i?n:a&&i?null:{x:a?0:n.x,y:i?0:n.y}},DV=uF(function(e){return e===0?0:e}),BF=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,a=e.shouldUseTimeDampening,o={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},u=LR({container:r,distanceToEdges:o,dragStartTime:t,axis:mC,shouldUseTimeDampening:a}),l=LR({container:r,distanceToEdges:o,dragStartTime:t,axis:pF,shouldUseTimeDampening:a}),f=DV({x:l,y:u});if(Cl(f,Pi))return null;var p=kV({container:r,subject:n,proposedScroll:f});return p?Cl(p,Pi)?null:p:null},MV=uF(function(e){return e===0?0:e>0?1:-1}),TC=function(){var e=function(r,n){return r<0?r:r>n?r-n:0};return function(t){var r=t.current,n=t.max,i=t.change,a=Gi(r,i),o={x:e(a.x,n.x),y:e(a.y,n.y)};return Cl(o,Pi)?null:o}}(),$F=function(t){var r=t.max,n=t.current,i=t.change,a={x:Math.max(n.x,r.x),y:Math.max(n.y,r.y)},o=MV(i),u=TC({max:a,current:n,change:o});return!u||o.x!==0&&u.x===0||o.y!==0&&u.y===0},OC=function(t,r){return $F({current:t.scroll.current,max:t.scroll.max,change:r})},NV=function(t,r){if(!OC(t,r))return null;var n=t.scroll.max,i=t.scroll.current;return TC({current:i,max:n,change:r})},RC=function(t,r){var n=t.frame;return n?$F({current:n.scroll.current,max:n.scroll.max,change:r}):!1},FV=function(t,r){var n=t.frame;return!n||!RC(t,r)?null:TC({current:n.scroll.current,max:n.scroll.max,change:r})},LV=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=BF({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:a});return o&&OC(t,o)?o:null},BV=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=t.frame;if(!o)return null;var u=BF({dragStartTime:i,container:o.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:a});return u&&RC(t,u)?u:null},BR=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,a=e.scrollDroppable,o=t.current.page.borderBoxCenter,u=t.dimensions.draggables[t.critical.draggable.id],l=u.page.marginBox;if(t.isWindowScrollAllowed){var f=t.viewport,p=LV({dragStartTime:r,viewport:f,subject:l,center:o,shouldUseTimeDampening:n});if(p){i(p);return}}var g=OV({center:o,destination:Xa(t.impact),droppables:t.dimensions.droppables});if(!!g){var v=BV({dragStartTime:r,droppable:g,subject:l,center:o,shouldUseTimeDampening:n});v&&a(g.descriptor.id,v)}},$V=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=Iv(t),i=Iv(r),a=null,o=function(p){a||Bt(!1);var g=a,v=g.shouldUseTimeDampening,y=g.dragStartTime;BR({state:p,scrollWindow:n,scrollDroppable:i,dragStartTime:y,shouldUseTimeDampening:v})},u=function(p){a&&Bt(!1);var g=Date.now(),v=!1,y=function(){v=!0};BR({state:p,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:y,scrollDroppable:y}),a={dragStartTime:g,shouldUseTimeDampening:v},v&&o(p)},l=function(){!a||(n.cancel(),i.cancel(),a=null)};return{start:u,stop:l,scroll:o}},zV=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(f,p){var g=Gi(f.current.client.selection,p);t({client:g})},a=function(f,p){if(!RC(f,p))return p;var g=FV(f,p);if(!g)return r(f.descriptor.id,p),null;var v=Va(p,g);r(f.descriptor.id,v);var y=Va(p,v);return y},o=function(f,p,g){if(!f||!OC(p,g))return g;var v=NV(p,g);if(!v)return n(g),null;var y=Va(g,v);n(y);var C=Va(g,y);return C},u=function(f){var p=f.scrollJumpRequest;if(!!p){var g=Xa(f.impact);g||Bt(!1);var v=a(f.dimensions.droppables[g],p);if(!!v){var y=f.viewport,C=o(f.isWindowScrollAllowed,y,v);!C||i(f,C)}}};return u},jV=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=$V({scrollWindow:r,scrollDroppable:t}),a=zV({move:n,scrollWindow:r,scrollDroppable:t}),o=function(f){if(f.phase==="DRAGGING"){if(f.movementMode==="FLUID"){i.scroll(f);return}!f.scrollJumpRequest||a(f)}},u={scroll:o,start:i.start,stop:i.stop};return u},Xd="data-rbd",Qd=function(){var e=Xd+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),KS=function(){var e=Xd+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),UV=function(){var e=Xd+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),$R={contextId:Xd+"-scroll-container-context-id"},WV=function(t){return function(r){return"["+r+'="'+t+'"]'}},gh=function(t,r){return t.map(function(n){var i=n.styles[r];return i?n.selector+" { "+i+" }":""}).join(" ")},qV="pointer-events: none;",GV=function(e){var t=WV(e),r=function(){var u=`
896
- cursor: -webkit-grab;
897
- cursor: grab;
898
- `;return{selector:t(Qd.contextId),styles:{always:`
899
- -webkit-touch-callout: none;
900
- -webkit-tap-highlight-color: rgba(0,0,0,0);
901
- touch-action: manipulation;
902
- `,resting:u,dragging:qV,dropAnimating:u}}}(),n=function(){var u=`
903
- transition: `+lv.outOfTheWay+`;
904
- `;return{selector:t(KS.contextId),styles:{dragging:u,dropAnimating:u,userCancel:u}}}(),i={selector:t(UV.contextId),styles:{always:"overflow-anchor: none;"}},a={selector:"body",styles:{dragging:`
905
- cursor: grabbing;
906
- cursor: -webkit-grabbing;
907
- user-select: none;
908
- -webkit-user-select: none;
909
- -moz-user-select: none;
910
- -ms-user-select: none;
911
- overflow-anchor: none;
912
- `}},o=[n,r,i,a];return{always:gh(o,"always"),resting:gh(o,"resting"),dragging:gh(o,"dragging"),dropAnimating:gh(o,"dropAnimating"),userCancel:gh(o,"userCancel")}},Qa=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ur.exports.useLayoutEffect:ur.exports.useEffect,tw=function(){var t=document.querySelector("head");return t||Bt(!1),t},zR=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function HV(e,t){var r=nn(function(){return GV(e)},[e]),n=ur.exports.useRef(null),i=ur.exports.useRef(null),a=_r(Qn(function(g){var v=i.current;v||Bt(!1),v.textContent=g}),[]),o=_r(function(g){var v=n.current;v||Bt(!1),v.textContent=g},[]);Qa(function(){!n.current&&!i.current||Bt(!1);var g=zR(t),v=zR(t);return n.current=g,i.current=v,g.setAttribute(Xd+"-always",e),v.setAttribute(Xd+"-dynamic",e),tw().appendChild(g),tw().appendChild(v),o(r.always),a(r.resting),function(){var y=function(O){var S=O.current;S||Bt(!1),tw().removeChild(S),O.current=null};y(n),y(i)}},[t,o,a,r.always,r.resting,e]);var u=_r(function(){return a(r.dragging)},[a,r.dragging]),l=_r(function(g){if(g==="DROP"){a(r.dropAnimating);return}a(r.userCancel)},[a,r.dropAnimating,r.userCancel]),f=_r(function(){!i.current||a(r.resting)},[a,r.resting]),p=nn(function(){return{dragging:u,dropping:l,resting:f}},[u,l,f]);return p}var zF=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function A1(e){return e instanceof zF(e).HTMLElement}function VV(e,t){var r="["+Qd.contextId+'="'+e+'"]',n=sF(document.querySelectorAll(r));if(!n.length)return null;var i=Ul(n,function(a){return a.getAttribute(Qd.draggableId)===t});return!i||!A1(i)?null:i}function YV(e){var t=ur.exports.useRef({}),r=ur.exports.useRef(null),n=ur.exports.useRef(null),i=ur.exports.useRef(!1),a=_r(function(v,y){var C={id:v,focus:y};return t.current[v]=C,function(){var S=t.current,w=S[v];w!==C&&delete S[v]}},[]),o=_r(function(v){var y=VV(e,v);y&&y!==document.activeElement&&y.focus()},[e]),u=_r(function(v,y){r.current===v&&(r.current=y)},[]),l=_r(function(){n.current||!i.current||(n.current=requestAnimationFrame(function(){n.current=null;var v=r.current;v&&o(v)}))},[o]),f=_r(function(v){r.current=null;var y=document.activeElement;!y||y.getAttribute(Qd.draggableId)===v&&(r.current=v)},[]);Qa(function(){return i.current=!0,function(){i.current=!1;var v=n.current;v&&cancelAnimationFrame(v)}},[]);var p=nn(function(){return{register:a,tryRecordFocus:f,tryRestoreFocusRecorded:l,tryShiftRecord:u}},[a,f,l,u]);return p}function XV(){var e={draggables:{},droppables:{}},t=[];function r(g){return t.push(g),function(){var y=t.indexOf(g);y!==-1&&t.splice(y,1)}}function n(g){t.length&&t.forEach(function(v){return v(g)})}function i(g){return e.draggables[g]||null}function a(g){var v=i(g);return v||Bt(!1),v}var o={register:function(v){e.draggables[v.descriptor.id]=v,n({type:"ADDITION",value:v})},update:function(v,y){var C=e.draggables[y.descriptor.id];!C||C.uniqueId===v.uniqueId&&(delete e.draggables[y.descriptor.id],e.draggables[v.descriptor.id]=v)},unregister:function(v){var y=v.descriptor.id,C=i(y);!C||v.uniqueId===C.uniqueId&&(delete e.draggables[y],n({type:"REMOVAL",value:v}))},getById:a,findById:i,exists:function(v){return Boolean(i(v))},getAllByType:function(v){return Q0(e.draggables).filter(function(y){return y.descriptor.type===v})}};function u(g){return e.droppables[g]||null}function l(g){var v=u(g);return v||Bt(!1),v}var f={register:function(v){e.droppables[v.descriptor.id]=v},unregister:function(v){var y=u(v.descriptor.id);!y||v.uniqueId===y.uniqueId&&delete e.droppables[v.descriptor.id]},getById:l,findById:u,exists:function(v){return Boolean(u(v))},getAllByType:function(v){return Q0(e.droppables).filter(function(y){return y.descriptor.type===v})}};function p(){e.draggables={},e.droppables={},t.length=0}return{draggable:o,droppable:f,subscribe:r,clean:p}}function QV(){var e=nn(XV,[]);return ur.exports.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var IC=Vi.createContext(null),Z0=function(){var e=document.body;return e||Bt(!1),e},KV={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ZV=function(t){return"rbd-announcement-"+t};function JV(e){var t=nn(function(){return ZV(e)},[e]),r=ur.exports.useRef(null);ur.exports.useEffect(function(){var a=document.createElement("div");return r.current=a,a.id=t,a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true"),Ir(a.style,KV),Z0().appendChild(a),function(){setTimeout(function(){var l=Z0();l.contains(a)&&l.removeChild(a),a===r.current&&(r.current=null)})}},[t]);var n=_r(function(i){var a=r.current;if(a){a.textContent=i;return}},[]);return n}var eY=0,tY={separator:"::"};function PC(e,t){return t===void 0&&(t=tY),nn(function(){return""+e+t.separator+eY++},[t.separator,e])}function rY(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function nY(e){var t=e.contextId,r=e.text,n=PC("hidden-text",{separator:"-"}),i=nn(function(){return rY({contextId:t,uniqueId:n})},[n,t]);return ur.exports.useEffect(function(){var o=document.createElement("div");return o.id=i,o.textContent=r,o.style.display="none",Z0().appendChild(o),function(){var l=Z0();l.contains(o)&&l.removeChild(o)}},[i,r]),i}var T1=Vi.createContext(null);function jF(e){var t=ur.exports.useRef(e);return ur.exports.useEffect(function(){t.current=e}),t}function iY(){var e=null;function t(){return Boolean(e)}function r(o){return o===e}function n(o){e&&Bt(!1);var u={abandon:o};return e=u,u}function i(){e||Bt(!1),e=null}function a(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:a}}var aY=9,oY=13,kC=27,UF=32,uY=33,sY=34,lY=35,fY=36,cY=37,dY=38,pY=39,hY=40,pm,vY=(pm={},pm[oY]=!0,pm[aY]=!0,pm),WF=function(e){vY[e.keyCode]&&e.preventDefault()},O1=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=Ul(t,function(n){return"on"+n in document});return r||e}(),qF=0,jR=5;function gY(e,t){return Math.abs(t.x-e.x)>=jR||Math.abs(t.y-e.y)>=jR}var UR={type:"IDLE"};function mY(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(o){var u=o.button,l=o.clientX,f=o.clientY;if(u===qF){var p={x:l,y:f},g=n();if(g.type==="DRAGGING"){o.preventDefault(),g.actions.move(p);return}g.type!=="PENDING"&&Bt(!1);var v=g.point;if(!!gY(v,p)){o.preventDefault();var y=g.actions.fluidLift(p);i({type:"DRAGGING",actions:y})}}}},{eventName:"mouseup",fn:function(o){var u=n();if(u.type!=="DRAGGING"){t();return}o.preventDefault(),u.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(o){n().type==="DRAGGING"&&o.preventDefault(),t()}},{eventName:"keydown",fn:function(o){var u=n();if(u.type==="PENDING"){t();return}if(o.keyCode===kC){o.preventDefault(),t();return}WF(o)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(o){var u=n();if(u.type==="IDLE"&&Bt(!1),u.actions.shouldRespectForcePress()){t();return}o.preventDefault()}},{eventName:O1,fn:t}]}function yY(e){var t=ur.exports.useRef(UR),r=ur.exports.useRef(El),n=nn(function(){return{eventName:"mousedown",fn:function(g){if(!g.defaultPrevented&&g.button===qF&&!(g.ctrlKey||g.metaKey||g.shiftKey||g.altKey)){var v=e.findClosestDraggableId(g);if(!!v){var y=e.tryGetLock(v,o,{sourceEvent:g});if(!!y){g.preventDefault();var C={x:g.clientX,y:g.clientY};r.current(),f(y,C)}}}}}},[e]),i=nn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(g){if(!g.defaultPrevented){var v=e.findClosestDraggableId(g);if(!!v){var y=e.findOptionsForDraggable(v);!y||y.shouldRespectForcePress||!e.canGetLock(v)||g.preventDefault()}}}}},[e]),a=_r(function(){var g={passive:!1,capture:!0};r.current=wo(window,[i,n],g)},[i,n]),o=_r(function(){var p=t.current;p.type!=="IDLE"&&(t.current=UR,r.current(),a())},[a]),u=_r(function(){var p=t.current;o(),p.type==="DRAGGING"&&p.actions.cancel({shouldBlockNextClick:!0}),p.type==="PENDING"&&p.actions.abort()},[o]),l=_r(function(){var g={capture:!0,passive:!1},v=mY({cancel:u,completed:o,getPhase:function(){return t.current},setPhase:function(C){t.current=C}});r.current=wo(window,v,g)},[u,o]),f=_r(function(g,v){t.current.type!=="IDLE"&&Bt(!1),t.current={type:"PENDING",point:v,actions:g},l()},[l]);Qa(function(){return a(),function(){r.current()}},[a])}var Jc;function bY(){}var xY=(Jc={},Jc[sY]=!0,Jc[uY]=!0,Jc[fY]=!0,Jc[lY]=!0,Jc);function wY(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(a){if(a.keyCode===kC){a.preventDefault(),r();return}if(a.keyCode===UF){a.preventDefault(),n();return}if(a.keyCode===hY){a.preventDefault(),e.moveDown();return}if(a.keyCode===dY){a.preventDefault(),e.moveUp();return}if(a.keyCode===pY){a.preventDefault(),e.moveRight();return}if(a.keyCode===cY){a.preventDefault(),e.moveLeft();return}if(xY[a.keyCode]){a.preventDefault();return}WF(a)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:O1,fn:r}]}function _Y(e){var t=ur.exports.useRef(bY),r=nn(function(){return{eventName:"keydown",fn:function(a){if(a.defaultPrevented||a.keyCode!==UF)return;var o=e.findClosestDraggableId(a);if(!o)return;var u=e.tryGetLock(o,p,{sourceEvent:a});if(!u)return;a.preventDefault();var l=!0,f=u.snapLift();t.current();function p(){l||Bt(!1),l=!1,t.current(),n()}t.current=wo(window,wY(f,p),{capture:!0,passive:!1})}}},[e]),n=_r(function(){var a={passive:!1,capture:!0};t.current=wo(window,[r],a)},[r]);Qa(function(){return n(),function(){t.current()}},[n])}var rw={type:"IDLE"},SY=120,EY=.15;function CY(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===kC&&i.preventDefault(),t()}},{eventName:O1,fn:t}]}function AY(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}o.hasMoved=!0;var u=a.touches[0],l=u.clientX,f=u.clientY,p={x:l,y:f};a.preventDefault(),o.actions.move(p)}},{eventName:"touchend",fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}a.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(a){if(n().type!=="DRAGGING"){t();return}a.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(a){var o=n();o.type==="IDLE"&&Bt(!1);var u=a.touches[0];if(!!u){var l=u.force>=EY;if(!!l){var f=o.actions.shouldRespectForcePress();if(o.type==="PENDING"){f&&t();return}if(f){if(o.hasMoved){a.preventDefault();return}t();return}a.preventDefault()}}}},{eventName:O1,fn:t}]}function TY(e){var t=ur.exports.useRef(rw),r=ur.exports.useRef(El),n=_r(function(){return t.current},[]),i=_r(function(y){t.current=y},[]),a=nn(function(){return{eventName:"touchstart",fn:function(y){if(!y.defaultPrevented){var C=e.findClosestDraggableId(y);if(!!C){var O=e.tryGetLock(C,u,{sourceEvent:y});if(!!O){var S=y.touches[0],w=S.clientX,A=S.clientY,R={x:w,y:A};r.current(),g(O,R)}}}}}},[e]),o=_r(function(){var y={capture:!0,passive:!1};r.current=wo(window,[a],y)},[a]),u=_r(function(){var v=t.current;v.type!=="IDLE"&&(v.type==="PENDING"&&clearTimeout(v.longPressTimerId),i(rw),r.current(),o())},[o,i]),l=_r(function(){var v=t.current;u(),v.type==="DRAGGING"&&v.actions.cancel({shouldBlockNextClick:!0}),v.type==="PENDING"&&v.actions.abort()},[u]),f=_r(function(){var y={capture:!0,passive:!1},C={cancel:l,completed:u,getPhase:n},O=wo(window,AY(C),y),S=wo(window,CY(C),y);r.current=function(){O(),S()}},[l,n,u]),p=_r(function(){var y=n();y.type!=="PENDING"&&Bt(!1);var C=y.actions.fluidLift(y.point);i({type:"DRAGGING",actions:C,hasMoved:!1})},[n,i]),g=_r(function(y,C){n().type!=="IDLE"&&Bt(!1);var O=setTimeout(p,SY);i({type:"PENDING",point:C,actions:y,longPressTimerId:O}),f()},[f,n,i,p]);Qa(function(){return o(),function(){r.current();var C=n();C.type==="PENDING"&&(clearTimeout(C.longPressTimerId),i(rw))}},[n,o,i]),Qa(function(){var y=wo(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return y},[])}var OY={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function GF(e,t){if(t==null)return!1;var r=Boolean(OY[t.tagName.toLowerCase()]);if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:GF(e,t.parentElement)}function RY(e,t){var r=t.target;return A1(r)?GF(e,r):!1}var IY=function(e){return Yo(e.getBoundingClientRect()).center};function PY(e){return e instanceof zF(e).Element}var kY=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=Ul(t,function(n){return n in Element.prototype});return r||e}();function HF(e,t){return e==null?null:e[kY](t)?e:HF(e.parentElement,t)}function DY(e,t){return e.closest?e.closest(t):HF(e,t)}function MY(e){return"["+Qd.contextId+'="'+e+'"]'}function NY(e,t){var r=t.target;if(!PY(r))return null;var n=MY(e),i=DY(r,n);return!i||!A1(i)?null:i}function FY(e,t){var r=NY(e,t);return r?r.getAttribute(Qd.draggableId):null}function LY(e,t){var r="["+KS.contextId+'="'+e+'"]',n=sF(document.querySelectorAll(r)),i=Ul(n,function(a){return a.getAttribute(KS.id)===t});return!i||!A1(i)?null:i}function BY(e){e.preventDefault()}function hm(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function VF(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var a=n.draggable.findById(i);return!(!a||!a.options.isEnabled||!FF(r.getState(),i))}function $Y(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,a=e.draggableId,o=e.forceSensorStop,u=e.sourceEvent,l=VF({lockAPI:t,store:n,registry:i,draggableId:a});if(!l)return null;var f=i.draggable.getById(a),p=LY(r,f.descriptor.id);if(!p||u&&!f.options.canDragInteractiveElements&&RY(p,u))return null;var g=t.claim(o||El),v="PRE_DRAG";function y(){return f.options.shouldRespectForcePress}function C(){return t.isActive(g)}function O(m,G){hm({expected:m,phase:v,isLockActive:C,shouldWarn:!0})&&n.dispatch(G())}var S=O.bind(null,"DRAGGING");function w(m){function G(){t.release(),v="COMPLETED"}v!=="PRE_DRAG"&&(G(),v!=="PRE_DRAG"&&Bt(!1)),n.dispatch(kH(m.liftActionArgs)),v="DRAGGING";function L($,ae){if(ae===void 0&&(ae={shouldBlockNextClick:!1}),m.cleanup(),ae.shouldBlockNextClick){var ve=wo(window,[{eventName:"click",fn:BY,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ve)}G(),n.dispatch(RF({reason:$}))}return Ir({isActive:function(){return hm({expected:"DRAGGING",phase:v,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:y,drop:function(ae){return L("DROP",ae)},cancel:function(ae){return L("CANCEL",ae)}},m.actions)}function A(m){var G=Iv(function($){S(function(){return OF({client:$})})}),L=w({liftActionArgs:{id:a,clientSelection:m,movementMode:"FLUID"},cleanup:function(){return G.cancel()},actions:{move:G}});return Ir({},L,{move:G})}function R(){var m={moveUp:function(){return S(jH)},moveRight:function(){return S(WH)},moveDown:function(){return S(UH)},moveLeft:function(){return S(qH)}};return w({liftActionArgs:{id:a,clientSelection:IY(p),movementMode:"SNAP"},cleanup:El,actions:m})}function P(){var m=hm({expected:"PRE_DRAG",phase:v,isLockActive:C,shouldWarn:!0});m&&t.release()}var N={isActive:function(){return hm({expected:"PRE_DRAG",phase:v,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:y,fluidLift:A,snapLift:R,abort:P};return N}var zY=[yY,_Y,TY];function jY(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,a=e.enableDefaultSensors,o=[].concat(a?zY:[],i||[]),u=ur.exports.useState(function(){return iY()})[0],l=_r(function(A,R){A.isDragging&&!R.isDragging&&u.tryAbandon()},[u]);Qa(function(){var A=r.getState(),R=r.subscribe(function(){var P=r.getState();l(A,P),A=P});return R},[u,r,l]),Qa(function(){return u.tryAbandon},[u.tryAbandon]);for(var f=_r(function(w){return VF({lockAPI:u,registry:n,store:r,draggableId:w})},[u,n,r]),p=_r(function(w,A,R){return $Y({lockAPI:u,registry:n,contextId:t,store:r,draggableId:w,forceSensorStop:A,sourceEvent:R&&R.sourceEvent?R.sourceEvent:null})},[t,u,n,r]),g=_r(function(w){return FY(t,w)},[t]),v=_r(function(w){var A=n.draggable.findById(w);return A?A.options:null},[n.draggable]),y=_r(function(){!u.isClaimed()||(u.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(_C()))},[u,r]),C=_r(u.isClaimed,[u]),O=nn(function(){return{canGetLock:f,tryGetLock:p,findClosestDraggableId:g,findOptionsForDraggable:v,tryReleaseLock:y,isLockClaimed:C}},[f,p,g,v,y,C]),S=0;S<o.length;S++)o[S](O)}var UY=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function mh(e){return e.current||Bt(!1),e.current}function WY(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,a=e.dragHandleUsageInstructions,o=ur.exports.useRef(null),u=jF(e),l=_r(function(){return UY(u.current)},[u]),f=JV(t),p=nY({contextId:t,text:a}),g=HV(t,i),v=_r(function($){mh(o).dispatch($)},[]),y=nn(function(){return cR({publishWhileDragging:MH,updateDroppableScroll:FH,updateDroppableIsEnabled:LH,updateDroppableIsCombineEnabled:BH,collectionStarting:NH},v)},[v]),C=QV(),O=nn(function(){return EV(C,y)},[C,y]),S=nn(function(){return jV(Ir({scrollWindow:CV,scrollDroppable:O.scrollDroppable},cR({move:OF},v)))},[O.scrollDroppable,v]),w=YV(t),A=nn(function(){return xV({announce:f,autoScroller:S,dimensionMarshal:O,focusMarshal:w,getResponders:l,styleMarshal:g})},[f,S,O,w,l,g]);o.current=A;var R=_r(function(){var $=mh(o),ae=$.getState();ae.phase!=="IDLE"&&$.dispatch(_C())},[]),P=_r(function(){var $=mh(o).getState();return $.isDragging||$.phase==="DROP_ANIMATING"},[]),N=nn(function(){return{isDragging:P,tryAbort:R}},[P,R]);r(N);var m=_r(function($){return FF(mh(o).getState(),$)},[]),G=_r(function(){return Af(mh(o).getState())},[]),L=nn(function(){return{marshal:O,focus:w,contextId:t,canLift:m,isMovementAllowed:G,dragHandleUsageInstructionsId:p,registry:C}},[t,O,p,w,m,G,C]);return jY({contextId:t,store:A,registry:C,customSensors:n,enableDefaultSensors:e.enableDefaultSensors!==!1}),ur.exports.useEffect(function(){return R},[R]),va(T1.Provider,{value:L,children:va(pq,{context:IC,store:A,children:e.children})})}var qY=0;function GY(){return nn(function(){return""+qY++},[])}function tde(e){var t=GY(),r=e.dragHandleUsageInstructions||o0.dragHandleUsageInstructions;return va(_G,{children:function(n){return va(WY,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,children:e.children})}})}var YF=function(t){return function(r){return t===r}},HY=YF("scroll"),VY=YF("auto"),WR=function(t,r){return r(t.overflowX)||r(t.overflowY)},YY=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return WR(n,HY)||WR(n,VY)},XY=function(){return!1},QY=function e(t){return t==null?null:t===document.body?XY()?t:null:t===document.documentElement?null:YY(t)?t:e(t.parentElement)},ZS=function(e){return{x:e.scrollLeft,y:e.scrollTop}},KY=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},ZY=function(e){var t=QY(e),r=KY(e);return{closestScrollable:t,isFixedOnPage:r}},JY=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,u=e.page,l=e.closest,f=function(){if(!l)return null;var y=l.scrollSize,C=l.client,O=DF({scrollHeight:y.scrollHeight,scrollWidth:y.scrollWidth,height:C.paddingBox.height,width:C.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:C,scrollSize:y,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:O,diff:{value:Pi,displacement:Pi}}}}(),p=a==="vertical"?mC:pF,g=Yd({page:u,withPlaceholder:null,axis:p,frame:f}),v={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:p,isEnabled:r,client:o,page:u,frame:f,subject:g};return v},eX=function(t,r){var n=nF(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,u=a+r.scrollWidth,l={top:i,right:u,bottom:o,left:a},f=dC(l,n.border),p=pC({borderBox:f,margin:n.margin,border:n.border,padding:n.padding});return p},tX=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,u=e.isCombineEnabled,l=e.shouldClipSubject,f=n.closestScrollable,p=eX(t,f),g=V0(p,i),v=function(){if(!f)return null;var C=nF(f),O={scrollHeight:f.scrollHeight,scrollWidth:f.scrollWidth};return{client:C,page:V0(C,i),scroll:ZS(f),scrollSize:O,shouldClipSubject:l}}(),y=JY({descriptor:r,isEnabled:!o,isCombineEnabled:u,isFixedOnPage:n.isFixedOnPage,direction:a,client:p,page:g,closest:v});return y},rX={passive:!1},nX={passive:!0},qR=function(e){return e.shouldPublishImmediately?rX:nX};function J0(e){var t=ur.exports.useContext(e);return t||Bt(!1),t}var vm=function(t){return t&&t.env.closestScrollable||null};function iX(e){var t=ur.exports.useRef(null),r=J0(T1),n=PC("droppable"),i=r.registry,a=r.marshal,o=jF(e),u=nn(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),l=ur.exports.useRef(u),f=nn(function(){return Qn(function(P,N){t.current||Bt(!1);var m={x:P,y:N};a.updateDroppableScroll(u.id,m)})},[u.id,a]),p=_r(function(){var P=t.current;return!P||!P.env.closestScrollable?Pi:ZS(P.env.closestScrollable)},[]),g=_r(function(){var P=p();f(P.x,P.y)},[p,f]),v=nn(function(){return Iv(g)},[g]),y=_r(function(){var P=t.current,N=vm(P);P&&N||Bt(!1);var m=P.scrollOptions;if(m.shouldPublishImmediately){g();return}v()},[v,g]),C=_r(function(P,N){t.current&&Bt(!1);var m=o.current,G=m.getDroppableRef();G||Bt(!1);var L=ZY(G),$={ref:G,descriptor:u,env:L,scrollOptions:N};t.current=$;var ae=tX({ref:G,descriptor:u,env:L,windowScroll:P,direction:m.direction,isDropDisabled:m.isDropDisabled,isCombineEnabled:m.isCombineEnabled,shouldClipSubject:!m.ignoreContainerClipping}),ve=L.closestScrollable;return ve&&(ve.setAttribute($R.contextId,r.contextId),ve.addEventListener("scroll",y,qR($.scrollOptions))),ae},[r.contextId,u,y,o]),O=_r(function(){var P=t.current,N=vm(P);return P&&N||Bt(!1),ZS(N)},[]),S=_r(function(){var P=t.current;P||Bt(!1);var N=vm(P);t.current=null,N&&(v.cancel(),N.removeAttribute($R.contextId),N.removeEventListener("scroll",y,qR(P.scrollOptions)))},[y,v]),w=_r(function(P){var N=t.current;N||Bt(!1);var m=vm(N);m||Bt(!1),m.scrollTop+=P.y,m.scrollLeft+=P.x},[]),A=nn(function(){return{getDimensionAndWatchScroll:C,getScrollWhileDragging:O,dragStopped:S,scroll:w}},[S,C,O,w]),R=nn(function(){return{uniqueId:n,descriptor:u,callbacks:A}},[A,u,n]);Qa(function(){return l.current=R.descriptor,i.droppable.register(R),function(){t.current&&S(),i.droppable.unregister(R)}},[A,u,S,R,a,i.droppable]),Qa(function(){!t.current||a.updateDroppableIsEnabled(l.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),Qa(function(){!t.current||a.updateDroppableIsCombineEnabled(l.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function nw(){}var GR={width:0,height:0,margin:OG},aX=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?GR:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},oX=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=aX({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"?lv.placeholder:null}};function uX(e){var t=ur.exports.useRef(null),r=_r(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,u=ur.exports.useState(e.animate==="open"),l=u[0],f=u[1];ur.exports.useEffect(function(){return l?n!=="open"?(r(),f(!1),nw):t.current?nw:(t.current=setTimeout(function(){t.current=null,f(!1)}),r):nw},[n,l,r]);var p=_r(function(v){v.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),g=oX({isAnimatingOpenOnMount:l,animate:e.animate,placeholder:e.placeholder});return Vi.createElement(e.placeholder.tagName,{style:g,"data-rbd-placeholder-context-id":o,onTransitionEnd:p,ref:e.innerRef})}var sX=Vi.memo(uX),DC=Vi.createContext(null),lX=function(e){eg(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}(Vi.PureComponent),HR={dragging:5e3,dropAnimating:4500},fX=function(t,r){return r?lv.drop(r.duration):t?lv.snap:lv.fluid},cX=function(t,r){return t?r?Mv.opacity.drop:Mv.opacity.combining:null},dX=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function pX(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),u=dX(e),l=Boolean(a),f=l?XS.drop(n,o):XS.moveTo(n),p={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:fX(u,a),transform:f,opacity:cX(o,l),zIndex:l?HR.dropAnimating:HR.dragging,pointerEvents:"none"};return p}function hX(e){return{transform:XS.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function vX(e){return e.type==="DRAGGING"?pX(e):hX(e)}function gX(e,t,r){r===void 0&&(r=Pi);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=rF(i,n),o=V0(a,r),u={client:a,tagName:t.tagName.toLowerCase(),display:n.display},l={x:a.marginBox.width,y:a.marginBox.height},f={descriptor:e,placeholder:u,displaceBy:l,client:a,page:o};return f}function mX(e){var t=PC("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,u=e.isEnabled,l=nn(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:u}},[a,u,o]),f=_r(function(y){var C=i();return C||Bt(!1),gX(r,C,y)},[r,i]),p=nn(function(){return{uniqueId:t,descriptor:r,options:l,getDimension:f}},[r,f,l,t]),g=ur.exports.useRef(p),v=ur.exports.useRef(!0);Qa(function(){return n.draggable.register(g.current),function(){return n.draggable.unregister(g.current)}},[n.draggable]),Qa(function(){if(v.current){v.current=!1;return}var y=g.current;g.current=p,n.draggable.update(p,y)},[p,n.draggable])}function yX(e){e.preventDefault()}function bX(e){var t=ur.exports.useRef(null),r=_r(function($){t.current=$},[]),n=_r(function(){return t.current},[]),i=J0(T1),a=i.contextId,o=i.dragHandleUsageInstructionsId,u=i.registry,l=J0(DC),f=l.type,p=l.droppableId,g=nn(function(){return{id:e.draggableId,index:e.index,type:f,droppableId:p}},[e.draggableId,e.index,f,p]),v=e.children,y=e.draggableId,C=e.isEnabled,O=e.shouldRespectForcePress,S=e.canDragInteractiveElements,w=e.isClone,A=e.mapped,R=e.dropAnimationFinished;if(!w){var P=nn(function(){return{descriptor:g,registry:u,getDraggableRef:n,canDragInteractiveElements:S,shouldRespectForcePress:O,isEnabled:C}},[g,u,n,S,O,C]);mX(P)}var N=nn(function(){return C?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":y,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:yX}:null},[a,o,y,C]),m=_r(function($){A.type==="DRAGGING"&&(!A.dropping||$.propertyName==="transform"&&R())},[R,A]),G=nn(function(){var $=vX(A),ae=A.type==="DRAGGING"&&A.dropping?m:null,ve={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":y,style:$,onTransitionEnd:ae},dragHandleProps:N};return ve},[a,N,y,A,m,r]),L=nn(function(){return{draggableId:g.id,type:g.type,source:{index:g.index,droppableId:g.droppableId}}},[g.droppableId,g.id,g.index,g.type]);return v(G,A.snapshot,L)}var XF=function(e,t){return e===t},QF=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},xX=function(t){return t.combine?t.combine.draggableId:null},wX=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function _X(){var e=Qn(function(i,a){return{x:i,y:a}}),t=Qn(function(i,a,o,u,l){return{isDragging:!0,isClone:a,isDropAnimating:Boolean(l),dropAnimation:l,mode:i,draggingOver:o,combineWith:u,combineTargetFor:null}}),r=Qn(function(i,a,o,u,l,f,p){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:l,combineWith:f,mode:a,offset:i,dimension:o,forceShouldAnimate:p,snapshot:t(a,u,l,f,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var u=a.current.client.offset,l=a.dimensions.draggables[o.draggableId],f=Xa(a.impact),p=wX(a.impact),g=a.forceShouldAnimate;return r(e(u.x,u.y),a.movementMode,l,o.isClone,f,p,g)}if(a.phase==="DROP_ANIMATING"){var v=a.completed;if(v.result.draggableId!==o.draggableId)return null;var y=o.isClone,C=a.dimensions.draggables[o.draggableId],O=v.result,S=O.mode,w=QF(O),A=xX(O),R=a.dropDuration,P={duration:R,curve:EC.drop,moveTo:a.newHomeClientOffset,opacity:A?Mv.opacity.drop:null,scale:A?Mv.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:C,dropping:P,draggingOver:w,combineWith:A,mode:S,forceShouldAnimate:null,snapshot:t(S,y,w,A,P)}}}return null};return n}function KF(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var SX={mapped:{type:"SECONDARY",offset:Pi,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:KF(null)}};function EX(){var e=Qn(function(o,u){return{x:o,y:u}}),t=Qn(KF),r=Qn(function(o,u,l){return u===void 0&&(u=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:u,shouldAnimateDisplacement:l,snapshot:t(u)}}}),n=function(u){return u?r(Pi,u,!0):null},i=function(u,l,f,p){var g=f.displaced.visible[u],v=Boolean(p.inVirtualList&&p.effected[u]),y=S1(f),C=y&&y.draggableId===u?l:null;if(!g){if(!v)return n(C);if(f.displaced.invisible[u])return null;var O=vp(p.displacedBy.point),S=e(O.x,O.y);return r(S,C,!0)}if(v)return n(C);var w=f.displacedBy.point,A=e(w.x,w.y);return r(A,C,g.shouldAnimate)},a=function(u,l){if(u.isDragging)return u.critical.draggable.id===l.draggableId?null:i(l.draggableId,u.critical.draggable.id,u.impact,u.afterCritical);if(u.phase==="DROP_ANIMATING"){var f=u.completed;return f.result.draggableId===l.draggableId?null:i(l.draggableId,f.result.draggableId,f.impact,f.afterCritical)}return null};return a}var CX=function(){var t=_X(),r=EX(),n=function(a,o){return t(a,o)||r(a,o)||SX};return n},AX={dropAnimationFinished:IF},TX=eF(CX,AX,null,{context:IC,pure:!0,areStatePropsEqual:XF})(bX);function ZF(e){var t=J0(DC),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:va(TX,{...e})}function rde(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return va(ZF,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function OX(e){var t=ur.exports.useContext(T1);t||Bt(!1);var r=t.contextId,n=t.isMovementAllowed,i=ur.exports.useRef(null),a=ur.exports.useRef(null),o=e.children,u=e.droppableId,l=e.type,f=e.mode,p=e.direction,g=e.ignoreContainerClipping,v=e.isDropDisabled,y=e.isCombineEnabled,C=e.snapshot,O=e.useClone,S=e.updateViewportMaxScroll,w=e.getContainerForClone,A=_r(function(){return i.current},[]),R=_r(function(ve){i.current=ve},[]);_r(function(){return a.current},[]);var P=_r(function(ve){a.current=ve},[]),N=_r(function(){n()&&S({maxScroll:NF()})},[n,S]);iX({droppableId:u,type:l,mode:f,direction:p,isDropDisabled:v,isCombineEnabled:y,ignoreContainerClipping:g,getDroppableRef:A});var m=va(lX,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(ve){var be=ve.onClose,Pe=ve.data,Fe=ve.animate;return va(sX,{placeholder:Pe,onClose:be,innerRef:P,animate:Fe,contextId:r,onTransitionEnd:N})}}),G=nn(function(){return{innerRef:R,placeholder:m,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":r}}},[r,u,m,R]),L=O?O.dragging.draggableId:null,$=nn(function(){return{droppableId:u,type:l,isUsingCloneFor:L}},[u,L,l]);function ae(){if(!O)return null;var ve=O.dragging,be=O.render,Pe=va(ZF,{draggableId:ve.draggableId,index:ve.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Fe,dt){return be(Fe,dt,ve)}});return $h.createPortal(Pe,w())}return L9(DC.Provider,{value:$,children:[o(G,C),ae()]})}var iw=function(t,r){return t===r.droppable.type},VR=function(t,r){return r.draggables[t.draggable.id]},RX=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=Ir({},t,{shouldAnimatePlaceholder:!1}),n=Qn(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Qn(function(o,u,l,f,p,g){var v=p.descriptor.id,y=p.descriptor.droppableId===o;if(y){var C=g?{render:g,dragging:n(p.descriptor)}:null,O={isDraggingOver:l,draggingOverWith:l?v:null,draggingFromThisWith:v,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!1,snapshot:O,useClone:C}}if(!u)return r;if(!f)return t;var S={isDraggingOver:l,draggingOverWith:v,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!0,snapshot:S,useClone:null}}),a=function(u,l){var f=l.droppableId,p=l.type,g=!l.isDropDisabled,v=l.renderClone;if(u.isDragging){var y=u.critical;if(!iw(p,y))return r;var C=VR(y,u.dimensions),O=Xa(u.impact)===f;return i(f,g,O,O,C,v)}if(u.phase==="DROP_ANIMATING"){var S=u.completed;if(!iw(p,S.critical))return r;var w=VR(S.critical,u.dimensions);return i(f,g,QF(S.result)===f,Xa(S.impact)===f,w,v)}if(u.phase==="IDLE"&&u.completed&&!u.shouldFlush){var A=u.completed;if(!iw(p,A.critical))return r;var R=Xa(A.impact)===f,P=Boolean(A.impact.at&&A.impact.at.type==="COMBINE"),N=A.critical.droppable.id===f;return R?P?t:r:N?t:r}return r};return a},IX={updateViewportMaxScroll:zH};function PX(){return document.body||Bt(!1),document.body}var kX={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:PX},DX=eF(RX,IX,null,{context:IC,pure:!0,areStatePropsEqual:XF})(OX);DX.defaultProps=kX;var MX=typeof performance=="object"&&typeof performance.now=="function",YR=MX?function(){return performance.now()}:function(){return Date.now()};function XR(e){cancelAnimationFrame(e.id)}function NX(e,t){var r=YR();function n(){YR()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var ed=null;function QR(e){if(e===void 0&&(e=!1),ed===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?ed="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ed="negative":ed="positive-ascending"),document.body.removeChild(t),ed}return ed}var FX=150,LX=function(t,r){return t};function BX(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,u=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,f=e.initInstanceProps,p=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return r=t=function(v){eg(y,v);function y(O){var S;return S=v.call(this,O)||this,S._instanceProps=f(S.props,sm(sm(S))),S._outerRef=void 0,S._resetIsScrollingTimeoutId=null,S.state={instance:sm(sm(S)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof S.props.initialScrollOffset=="number"?S.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},S._callOnItemsRendered=void 0,S._callOnItemsRendered=Qn(function(w,A,R,P){return S.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:A,visibleStartIndex:R,visibleStopIndex:P})}),S._callOnScroll=void 0,S._callOnScroll=Qn(function(w,A,R){return S.props.onScroll({scrollDirection:w,scrollOffset:A,scrollUpdateWasRequested:R})}),S._getItemStyle=void 0,S._getItemStyle=function(w){var A=S.props,R=A.direction,P=A.itemSize,N=A.layout,m=S._getItemStyleCache(p&&P,p&&N,p&&R),G;if(m.hasOwnProperty(w))G=m[w];else{var L=n(S.props,w,S._instanceProps),$=a(S.props,w,S._instanceProps),ae=R==="horizontal"||N==="horizontal",ve=R==="rtl",be=ae?L:0;m[w]=G={position:"absolute",left:ve?void 0:be,right:ve?be:void 0,top:ae?0:L,height:ae?"100%":$,width:ae?$:"100%"}}return G},S._getItemStyleCache=void 0,S._getItemStyleCache=Qn(function(w,A,R){return{}}),S._onScrollHorizontal=function(w){var A=w.currentTarget,R=A.clientWidth,P=A.scrollLeft,N=A.scrollWidth;S.setState(function(m){if(m.scrollOffset===P)return null;var G=S.props.direction,L=P;if(G==="rtl")switch(QR()){case"negative":L=-P;break;case"positive-descending":L=N-R-P;break}return L=Math.max(0,Math.min(L,N-R)),{isScrolling:!0,scrollDirection:m.scrollOffset<P?"forward":"backward",scrollOffset:L,scrollUpdateWasRequested:!1}},S._resetIsScrollingDebounced)},S._onScrollVertical=function(w){var A=w.currentTarget,R=A.clientHeight,P=A.scrollHeight,N=A.scrollTop;S.setState(function(m){if(m.scrollOffset===N)return null;var G=Math.max(0,Math.min(N,P-R));return{isScrolling:!0,scrollDirection:m.scrollOffset<G?"forward":"backward",scrollOffset:G,scrollUpdateWasRequested:!1}},S._resetIsScrollingDebounced)},S._outerRefSetter=function(w){var A=S.props.outerRef;S._outerRef=w,typeof A=="function"?A(w):A!=null&&typeof A=="object"&&A.hasOwnProperty("current")&&(A.current=w)},S._resetIsScrollingDebounced=function(){S._resetIsScrollingTimeoutId!==null&&XR(S._resetIsScrollingTimeoutId),S._resetIsScrollingTimeoutId=NX(S._resetIsScrolling,FX)},S._resetIsScrolling=function(){S._resetIsScrollingTimeoutId=null,S.setState({isScrolling:!1},function(){S._getItemStyleCache(-1,null)})},S}y.getDerivedStateFromProps=function(S,w){return $X(S,w),g(S),null};var C=y.prototype;return C.scrollTo=function(S){S=Math.max(0,S),this.setState(function(w){return w.scrollOffset===S?null:{scrollDirection:w.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},C.scrollToItem=function(S,w){w===void 0&&(w="auto");var A=this.props.itemCount,R=this.state.scrollOffset;S=Math.max(0,Math.min(S,A-1)),this.scrollTo(o(this.props,S,w,R,this._instanceProps))},C.componentDidMount=function(){var S=this.props,w=S.direction,A=S.initialScrollOffset,R=S.layout;if(typeof A=="number"&&this._outerRef!=null){var P=this._outerRef;w==="horizontal"||R==="horizontal"?P.scrollLeft=A:P.scrollTop=A}this._callPropsCallbacks()},C.componentDidUpdate=function(){var S=this.props,w=S.direction,A=S.layout,R=this.state,P=R.scrollOffset,N=R.scrollUpdateWasRequested;if(N&&this._outerRef!=null){var m=this._outerRef;if(w==="horizontal"||A==="horizontal")if(w==="rtl")switch(QR()){case"negative":m.scrollLeft=-P;break;case"positive-ascending":m.scrollLeft=P;break;default:var G=m.clientWidth,L=m.scrollWidth;m.scrollLeft=L-G-P;break}else m.scrollLeft=P;else m.scrollTop=P}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&XR(this._resetIsScrollingTimeoutId)},C.render=function(){var S=this.props,w=S.children,A=S.className,R=S.direction,P=S.height,N=S.innerRef,m=S.innerElementType,G=S.innerTagName,L=S.itemCount,$=S.itemData,ae=S.itemKey,ve=ae===void 0?LX:ae,be=S.layout,Pe=S.outerElementType,Fe=S.outerTagName,dt=S.style,Je=S.useIsScrolling,Te=S.width,Ye=this.state.isScrolling,nt=R==="horizontal"||be==="horizontal",pt=nt?this._onScrollHorizontal:this._onScrollVertical,Ie=this._getRangeToRender(),Re=Ie[0],ot=Ie[1],et=[];if(L>0)for(var ft=Re;ft<=ot;ft++)et.push(ur.exports.createElement(w,{data:$,key:ve(ft,$),index:ft,isScrolling:Je?Ye:void 0,style:this._getItemStyle(ft)}));var At=i(this.props,this._instanceProps);return ur.exports.createElement(Pe||Fe||"div",{className:A,onScroll:pt,ref:this._outerRefSetter,style:Ir({position:"relative",height:P,width:Te,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:R},dt)},ur.exports.createElement(m||G||"div",{children:et,ref:N,style:{height:nt?"100%":At,pointerEvents:Ye?"none":void 0,width:nt?At:"100%"}}))},C._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var S=this.props.itemCount;if(S>0){var w=this._getRangeToRender(),A=w[0],R=w[1],P=w[2],N=w[3];this._callOnItemsRendered(A,R,P,N)}}if(typeof this.props.onScroll=="function"){var m=this.state,G=m.scrollDirection,L=m.scrollOffset,$=m.scrollUpdateWasRequested;this._callOnScroll(G,L,$)}},C._getRangeToRender=function(){var S=this.props,w=S.itemCount,A=S.overscanCount,R=this.state,P=R.isScrolling,N=R.scrollDirection,m=R.scrollOffset;if(w===0)return[0,0,0,0];var G=u(this.props,m,this._instanceProps),L=l(this.props,G,m,this._instanceProps),$=!P||N==="backward"?Math.max(1,A):1,ae=!P||N==="forward"?Math.max(1,A):1;return[Math.max(0,G-$),Math.max(0,Math.min(w-1,L+ae)),G,L]},y}(ur.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var $X=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},nde=BX({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,u=t.itemCount,l=t.itemSize,f=t.layout,p=t.width,g=a==="horizontal"||f==="horizontal",v=g?p:o,y=Math.max(0,u*l-v),C=Math.min(y,r*l),O=Math.max(0,r*l-v+l);switch(n==="smart"&&(i>=O-v&&i<=C+v?n="auto":n="center"),n){case"start":return C;case"end":return O;case"center":{var S=Math.round(O+(C-O)/2);return S<Math.ceil(v/2)?0:S>y+Math.floor(v/2)?y:S}case"auto":default:return i>=O&&i<=C?i:i<O?O:C}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,u=t.itemSize,l=t.layout,f=t.width,p=i==="horizontal"||l==="horizontal",g=r*u,v=p?f:a,y=Math.ceil((v+n-g)/u);return Math.max(0,Math.min(o-1,r+y-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),zX=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},jX=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}}(),UX=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},WX=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)},KR=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},qX=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(n.push(l.value),!(r&&n.length===r));i=!0);}catch(f){a=!0,o=f}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Eo=void 0;typeof window<"u"?Eo=window:typeof self<"u"?Eo=self:Eo=global;var JS=null,e2=null,ZR=20,aw=Eo.clearTimeout,JR=Eo.setTimeout,ow=Eo.cancelAnimationFrame||Eo.mozCancelAnimationFrame||Eo.webkitCancelAnimationFrame,e5=Eo.requestAnimationFrame||Eo.mozRequestAnimationFrame||Eo.webkitRequestAnimationFrame;ow==null||e5==null?(JS=aw,e2=function(t){return JR(t,ZR)}):(JS=function(t){var r=qX(t,2),n=r[0],i=r[1];ow(n),aw(i)},e2=function(t){var r=e5(function(){aw(n),t()}),n=JR(function(){ow(r),t()},ZR);return[r,n]});function GX(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,u=void 0,l=typeof document<"u"&&document.attachEvent;if(!l){o=function(P){var N=P.__resizeTriggers__,m=N.firstElementChild,G=N.lastElementChild,L=m.firstElementChild;G.scrollLeft=G.scrollWidth,G.scrollTop=G.scrollHeight,L.style.width=m.offsetWidth+1+"px",L.style.height=m.offsetHeight+1+"px",m.scrollLeft=m.scrollWidth,m.scrollTop=m.scrollHeight},a=function(P){return P.offsetWidth!==P.__resizeLast__.width||P.offsetHeight!==P.__resizeLast__.height},u=function(P){if(!(P.target.className&&typeof P.target.className.indexOf=="function"&&P.target.className.indexOf("contract-trigger")<0&&P.target.className.indexOf("expand-trigger")<0)){var N=this;o(this),this.__resizeRAF__&&JS(this.__resizeRAF__),this.__resizeRAF__=e2(function(){a(N)&&(N.__resizeLast__.width=N.offsetWidth,N.__resizeLast__.height=N.offsetHeight,N.__resizeListeners__.forEach(function(L){L.call(N,P)}))})}};var f=!1,p="";n="animationstart";var g="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),y="";{var C=document.createElement("fakeelement");if(C.style.animationName!==void 0&&(f=!0),f===!1){for(var O=0;O<g.length;O++)if(C.style[g[O]+"AnimationName"]!==void 0){y=g[O],p="-"+y.toLowerCase()+"-",n=v[O],f=!0;break}}}r="resizeanim",t="@"+p+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=p+"animation: 1ms "+r+"; "}var S=function(P){if(!P.getElementById("detectElementResize")){var N=(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%; }',m=P.head||P.getElementsByTagName("head")[0],G=P.createElement("style");G.id="detectElementResize",G.type="text/css",e!=null&&G.setAttribute("nonce",e),G.styleSheet?G.styleSheet.cssText=N:G.appendChild(P.createTextNode(N)),m.appendChild(G)}},w=function(P,N){if(l)P.attachEvent("onresize",N);else{if(!P.__resizeTriggers__){var m=P.ownerDocument,G=Eo.getComputedStyle(P);G&&G.position==="static"&&(P.style.position="relative"),S(m),P.__resizeLast__={},P.__resizeListeners__=[],(P.__resizeTriggers__=m.createElement("div")).className="resize-triggers";var L=m.createElement("div");L.className="expand-trigger",L.appendChild(m.createElement("div"));var $=m.createElement("div");$.className="contract-trigger",P.__resizeTriggers__.appendChild(L),P.__resizeTriggers__.appendChild($),P.appendChild(P.__resizeTriggers__),o(P),P.addEventListener("scroll",u,!0),n&&(P.__resizeTriggers__.__animationListener__=function(ve){ve.animationName===r&&o(P)},P.__resizeTriggers__.addEventListener(n,P.__resizeTriggers__.__animationListener__))}P.__resizeListeners__.push(N)}},A=function(P,N){if(l)P.detachEvent("onresize",N);else if(P.__resizeListeners__.splice(P.__resizeListeners__.indexOf(N),1),!P.__resizeListeners__.length){P.removeEventListener("scroll",u,!0),P.__resizeTriggers__.__animationListener__&&(P.__resizeTriggers__.removeEventListener(n,P.__resizeTriggers__.__animationListener__),P.__resizeTriggers__.__animationListener__=null);try{P.__resizeTriggers__=!P.removeChild(P.__resizeTriggers__)}catch{}}};return{addResizeListener:w,removeResizeListener:A}}var HX=function(e){WX(t,e);function t(){var r,n,i,a;zX(this,t);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return a=(n=(i=KR(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(u))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var f=i.props,p=f.disableHeight,g=f.disableWidth,v=f.onResize;if(i._parentNode){var y=i._parentNode.offsetHeight||0,C=i._parentNode.offsetWidth||0,O=window.getComputedStyle(i._parentNode)||{},S=parseInt(O.paddingLeft,10)||0,w=parseInt(O.paddingRight,10)||0,A=parseInt(O.paddingTop,10)||0,R=parseInt(O.paddingBottom,10)||0,P=y-A-R,N=C-S-w;(!p&&i.state.height!==P||!g&&i.state.width!==N)&&(i.setState({height:y-A-R,width:C-S-w}),v({height:y,width:C}))}},i._setRef=function(f){i._autoSizer=f},n),KR(i,a)}return jX(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=GX(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,u=n.disableWidth,l=n.style,f=this.state,p=f.height,g=f.width,v={overflow:"visible"},y={},C=!1;return o||(p===0&&(C=!0),v.height=0,y.height=p),u||(g===0&&(C=!0),v.width=0,y.width=g),ur.exports.createElement("div",{className:a,ref:this._setRef,style:UX({},v,l)},!C&&i(y))}}]),t}(ur.exports.PureComponent);HX.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var VX=9007199254740991,YX="[object Arguments]",XX="[object Function]",QX="[object GeneratorFunction]",KX=typeof en=="object"&&en&&en.Object===Object&&en,ZX=typeof self=="object"&&self&&self.Object===Object&&self,JX=KX||ZX||Function("return this")();function eQ(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var MC=Object.prototype,tQ=MC.hasOwnProperty,JF=MC.toString,t5=JX.Symbol,rQ=MC.propertyIsEnumerable,r5=t5?t5.isConcatSpreadable:void 0;function eL(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=nQ),i||(i=[]);++a<o;){var u=e[a];t>0&&r(u)?t>1?eL(u,t-1,r,n,i):eQ(i,u):n||(i[i.length]=u)}return i}function nQ(e){return oQ(e)||aQ(e)||!!(r5&&e&&e[r5])}function iQ(e){var t=e?e.length:0;return t?eL(e,1):[]}function aQ(e){return sQ(e)&&tQ.call(e,"callee")&&(!rQ.call(e,"callee")||JF.call(e)==YX)}var oQ=Array.isArray;function uQ(e){return e!=null&&fQ(e.length)&&!lQ(e)}function sQ(e){return dQ(e)&&uQ(e)}function lQ(e){var t=cQ(e)?JF.call(e):"";return t==XX||t==QX}function fQ(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=VX}function cQ(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function dQ(e){return!!e&&typeof e=="object"}var ide=iQ,n5=0/0,pQ="[object Symbol]",hQ=/^\s+|\s+$/g,vQ=/^[-+]0x[0-9a-f]+$/i,gQ=/^0b[01]+$/i,mQ=/^0o[0-7]+$/i,yQ=parseInt,bQ=Object.prototype,xQ=bQ.toString;function wQ(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function i5(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function _Q(e){return!!e&&typeof e=="object"}function SQ(e){return typeof e=="symbol"||_Q(e)&&xQ.call(e)==pQ}function uw(e){if(typeof e=="number")return e;if(SQ(e))return n5;if(i5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=i5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(hQ,"");var r=gQ.test(e);return r||mQ.test(e)?yQ(e.slice(2),r?2:8):vQ.test(e)?n5:+e}function EQ(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=uw(r),r=r===r?r:0),t!==void 0&&(t=uw(t),t=t===t?t:0),wQ(uw(e),t,r)}var ade=EQ,CQ={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]};const Nv=CQ,tL={};for(const e of Object.keys(Nv))tL[Nv[e]]=e;const pr={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var rL=pr;for(const e of Object.keys(pr)){if(!("channels"in pr[e]))throw new Error("missing channels property: "+e);if(!("labels"in pr[e]))throw new Error("missing channel labels property: "+e);if(pr[e].labels.length!==pr[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=pr[e];delete pr[e].channels,delete pr[e].labels,Object.defineProperty(pr[e],"channels",{value:t}),Object.defineProperty(pr[e],"labels",{value:r})}pr.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i;let u,l;a===i?u=0:t===a?u=(r-n)/o:r===a?u=2+(n-t)/o:n===a&&(u=4+(t-r)/o),u=Math.min(u*60,360),u<0&&(u+=360);const f=(i+a)/2;return a===i?l=0:f<=.5?l=o/(a+i):l=o/(2-a-i),[u,l*100,f*100]};pr.rgb.hsv=function(e){let t,r,n,i,a;const o=e[0]/255,u=e[1]/255,l=e[2]/255,f=Math.max(o,u,l),p=f-Math.min(o,u,l),g=function(v){return(f-v)/6/p+1/2};return p===0?(i=0,a=0):(a=p/f,t=g(o),r=g(u),n=g(l),o===f?i=n-r:u===f?i=1/3+t-n:l===f&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,f*100]};pr.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=pr.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,a*100,n*100]};pr.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),a=(1-t-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,u=(1-n-i)/(1-i)||0;return[a*100,o*100,u*100,i*100]};function AQ(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}pr.rgb.keyword=function(e){const t=tL[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(Nv)){const a=Nv[i],o=AQ(e,a);o<r&&(r=o,n=i)}return n};pr.keyword.rgb=function(e){return Nv[e]};pr.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,a=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,a*100,o*100]};pr.rgb.lab=function(e){const t=pr.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const a=116*n-16,o=500*(r-n),u=200*(n-i);return[a,o,u]};pr.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,a,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;const u=2*n-i,l=[0,0,0];for(let f=0;f<3;f++)a=t+1/3*-(f-1),a<0&&a++,a>1&&a--,6*a<1?o=u+(i-u)*6*a:2*a<1?o=i:3*a<2?o=u+(i-u)*(2/3-a)*6:o=u,l[f]=o*255;return l};pr.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const a=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a;const o=(n+r)/2,u=n===0?2*i/(a+i):2*r/(n+r);return[t,u*100,o*100]};pr.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,a=t-Math.floor(t),o=255*n*(1-r),u=255*n*(1-r*a),l=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,l,o];case 1:return[u,n,o];case 2:return[o,n,l];case 3:return[o,u,n];case 4:return[l,o,n];case 5:return[n,o,u]}};pr.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let a,o;o=(2-r)*n;const u=(2-r)*i;return a=r*i,a/=u<=1?u:2-u,a=a||0,o/=2,[t,a*100,o*100]};pr.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let a;i>1&&(r/=i,n/=i);const o=Math.floor(6*t),u=1-n;a=6*t-o,(o&1)!==0&&(a=1-a);const l=r+a*(u-r);let f,p,g;switch(o){default:case 6:case 0:f=u,p=l,g=r;break;case 1:f=l,p=u,g=r;break;case 2:f=r,p=u,g=l;break;case 3:f=r,p=l,g=u;break;case 4:f=l,p=r,g=u;break;case 5:f=u,p=r,g=l;break}return[f*255,p*255,g*255]};pr.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),u=1-Math.min(1,n*(1-i)+i);return[a*255,o*255,u*255]};pr.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,a,o;return i=t*3.2406+r*-1.5372+n*-.4986,a=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]};pr.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,a=500*(t-r),o=200*(r-n);return[i,a,o]};pr.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,a,o;a=(t+16)/116,i=r/500+a,o=a-n/200;const u=a**3,l=i**3,f=o**3;return a=u>.008856?u:(a-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,o=f>.008856?f:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]};pr.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const o=Math.sqrt(r*r+n*n);return[t,o,i]};pr.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,a=r*Math.cos(i),o=r*Math.sin(i);return[t,a,o]};pr.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let a=t===null?pr.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return a===2&&(o+=60),o};pr.hsv.ansi16=function(e){return pr.rgb.ansi16(pr.hsv.rgb(e),e[2])};pr.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};pr.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,a=(t>>2&1)*r*255;return[n,i,a]};pr.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};pr.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};pr.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(u=>u+u).join(""));const n=parseInt(r,16),i=n>>16&255,a=n>>8&255,o=n&255;return[i,a,o]};pr.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),a=Math.min(Math.min(t,r),n),o=i-a;let u,l;return o<1?u=a/(1-o):u=0,o<=0?l=0:i===t?l=(r-n)/o%6:i===r?l=2+(n-t)/o:l=4+(t-r)/o,l/=6,l%=1,[l*360,o*100,u*100]};pr.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};pr.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};pr.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],a=t%1*6,o=a%1,u=1-o;let l=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return l=(1-r)*n,[(r*i[0]+l)*255,(r*i[1]+l)*255,(r*i[2]+l)*255]};pr.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};pr.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};pr.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};pr.hwb.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=1-r,i=n-t;let a=0;return i<1&&(a=(n-i)/(1-i)),[e[0],i*100,a*100]};pr.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};pr.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};pr.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};pr.gray.hsl=function(e){return[0,0,e[0]]};pr.gray.hsv=pr.gray.hsl;pr.gray.hwb=function(e){return[0,100,e[0]]};pr.gray.cmyk=function(e){return[0,0,0,e[0]]};pr.gray.lab=function(e){return[e[0],0,0]};pr.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};pr.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const ey=rL;function TQ(){const e={},t=Object.keys(ey);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function OQ(e){const t=TQ(),r=[e];for(t[e].distance=0;r.length;){const n=r.pop(),i=Object.keys(ey[n]);for(let a=i.length,o=0;o<a;o++){const u=i[o],l=t[u];l.distance===-1&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(u))}}return t}function RQ(e,t){return function(r){return t(e(r))}}function IQ(e,t){const r=[t[e].parent,e];let n=ey[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=RQ(ey[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var PQ=function(e){const t=OQ(e),r={},n=Object.keys(t);for(let i=n.length,a=0;a<i;a++){const o=n[a];t[o].parent!==null&&(r[o]=IQ(o,t))}return r};const t2=rL,kQ=PQ,sd={},DQ=Object.keys(t2);function MQ(e){const t=function(...r){const n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function NQ(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let a=i.length,o=0;o<a;o++)i[o]=Math.round(i[o]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}DQ.forEach(e=>{sd[e]={},Object.defineProperty(sd[e],"channels",{value:t2[e].channels}),Object.defineProperty(sd[e],"labels",{value:t2[e].labels});const t=kQ(e);Object.keys(t).forEach(n=>{const i=t[n];sd[e][n]=NQ(i),sd[e][n].raw=MQ(i)})});var ode=sd,vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:function(e){return"Symbol("+e+")"};function NC(){}var nL=Number.isNaN||function(e){return e!==e},iL=NC;function Jo(e){return typeof e=="object"&&e!==null||typeof e=="function"}function r2(e){return e.slice()}function FQ(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function aL(e){return!(LQ(e)===!1||e===1/0)}function LQ(e){return!(typeof e!="number"||nL(e)||e<0)}function oL(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function zf(e,t,r,n){var i=e[t];if(i!==void 0){if(typeof i!="function")throw new TypeError(i+" is not a method");switch(r){case 0:return function(){return a5(i,e,n)};case 1:return function(a){var o=[a].concat(n);return a5(i,e,o)}}}return function(){return ri(void 0)}}function FC(e,t,r){var n=e[t];if(n!==void 0)return oL(n,e,r)}function a5(e,t,r){try{return ri(oL(e,t,r))}catch(n){return Or(n)}}function ty(e){return!1}function ry(e){if(e=Number(e),nL(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function uL(e){if(e===void 0)return function(){return 1};if(typeof e!="function")throw new TypeError("size property of a queuing strategy must be a function");return function(t){return e(t)}}var LC=Promise,BQ=Promise.prototype.then,$Q=Promise.resolve.bind(LC),zQ=Promise.reject.bind(LC);function To(e){return new LC(e)}function ri(e){return $Q(e)}function Or(e){return zQ(e)}function fs(e,t,r){return BQ.call(e,t,r)}function eu(e,t,r){fs(fs(e,t,r),void 0,iL)}function sw(e,t){eu(e,t)}function sL(e,t){eu(e,void 0,t)}function ny(e,t,r){return fs(e,t,r)}function yp(e){fs(e,void 0,iL)}var o5=16384,Mu=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.push=function(t){var r=this._back,n=r;r._elements.length===o5-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size},e.prototype.shift=function(){var t=this._front,r=t,n=this._cursor,i=n+1,a=t._elements,o=a[n];return i===o5&&(r=t._next,i=0),--this._size,this._cursor=i,t!==r&&(this._front=r),a[n]=void 0,o},e.prototype.forEach=function(t){for(var r=this._cursor,n=this._front,i=n._elements;(r!==i.length||n._next!==void 0)&&!(r===i.length&&(n=n._next,i=n._elements,r=0,i.length===0));)t(i[r]),++r},e.prototype.peek=function(){var t=this._front,r=this._cursor;return t._elements[r]},e}();function Qo(e,t,r){var n=null;r===!0&&(n=Object.prototype);var i=Object.create(n);return i.value=e,i.done=t,i}function lL(e,t){e._forAuthorCode=!0,e._ownerReadableStream=t,t._reader=e,t._state==="readable"?$C(e):t._state==="closed"?jQ(e):fL(e,t._storedError)}function BC(e,t){var r=e._ownerReadableStream;return jf(r,t)}function Dd(e){e._ownerReadableStream._state==="readable"?zC(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):UQ(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function Kd(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function $C(e){e._closedPromise=To(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r})}function fL(e,t){$C(e),zC(e,t)}function jQ(e){$C(e),cL(e)}function zC(e,t){yp(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function UQ(e,t){fL(e,t)}function cL(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}var jC=vs("[[CancelSteps]]"),UC=vs("[[PullSteps]]");function R1(e,t){t===void 0&&(t=!1);var r=new WQ(e);return r._forAuthorCode=t,r}function dL(e){var t=To(function(r,n){var i={_resolve:r,_reject:n};e._reader._readRequests.push(i)});return t}function WC(e,t,r){var n=e._reader,i=n._readRequests.shift();i._resolve(Qo(t,r,n._forAuthorCode))}function I1(e){return e._reader._readRequests.length}function pL(e){var t=e._reader;return!(t===void 0||!Ff(t))}var WQ=function(){function e(t){if(wu(t)===!1)throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(hl(t)===!0)throw new TypeError("This stream has already been locked for exclusive reading by another reader");lL(this,t),this._readRequests=new Mu}return Object.defineProperty(e.prototype,"closed",{get:function(){return Ff(this)?this._closedPromise:Or(gm("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(t){return Ff(this)?this._ownerReadableStream===void 0?Or(Kd("cancel")):BC(this,t):Or(gm("cancel"))},e.prototype.read=function(){return Ff(this)?this._ownerReadableStream===void 0?Or(Kd("read from")):P1(this):Or(gm("read"))},e.prototype.releaseLock=function(){if(!Ff(this))throw gm("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Dd(this)}},e}();function Ff(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function P1(e){var t=e._ownerReadableStream;return t._disturbed=!0,t._state==="closed"?ri(Qo(void 0,!0,e._forAuthorCode)):t._state==="errored"?Or(t._storedError):t._readableStreamController[UC]()}function gm(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}var lw,iy;typeof vs.asyncIterator=="symbol"&&(iy=(lw={},lw[vs.asyncIterator]=function(){return this},lw),Object.defineProperty(iy,vs.asyncIterator,{enumerable:!1}));var k1={next:function(){if(u5(this)===!1)return Or(s5("next"));var e=this._asyncIteratorReader;return e._ownerReadableStream===void 0?Or(Kd("iterate")):ny(P1(e),function(t){var r=t.done;r&&Dd(e);var n=t.value;return Qo(n,r,!0)})},return:function(e){if(u5(this)===!1)return Or(s5("next"));var t=this._asyncIteratorReader;if(t._ownerReadableStream===void 0)return Or(Kd("finish iterating"));if(t._readRequests.length>0)return Or(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(this._preventCancel===!1){var r=BC(t,e);return Dd(t),ny(r,function(){return Qo(e,!0,!0)})}return Dd(t),ri(Qo(e,!0,!0))}};iy!==void 0&&Object.setPrototypeOf(k1,iy);Object.defineProperty(k1,"next",{enumerable:!1});Object.defineProperty(k1,"return",{enumerable:!1});function qQ(e,t){t===void 0&&(t=!1);var r=R1(e),n=Object.create(k1);return n._asyncIteratorReader=r,n._preventCancel=Boolean(t),n}function u5(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorReader"))}function s5(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}function qC(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function GC(e,t,r){if(r=Number(r),!aL(r))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function GQ(e){var t=e._queue.peek();return t.value}function Wl(e){e._queue=new Mu,e._queueTotalSize=0}var hL=vs("[[AbortSteps]]"),vL=vs("[[ErrorSteps]]"),ude=function(){function e(t,r){t===void 0&&(t={}),r===void 0&&(r={}),HQ(this);var n=r.size,i=r.highWaterMark,a=t.type;if(a!==void 0)throw new RangeError("Invalid type is specified");var o=uL(n);i===void 0&&(i=1),i=ry(i),lK(this,t,i,o)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(Lf(this)===!1)throw ym("locked");return Md(this)},enumerable:!0,configurable:!0}),e.prototype.abort=function(t){return Lf(this)===!1?Or(ym("abort")):Md(this)===!0?Or(new TypeError("Cannot abort a stream that already has a writer")):ay(this,t)},e.prototype.close=function(){return Lf(this)===!1?Or(ym("close")):Md(this)===!0?Or(new TypeError("Cannot close a stream that already has a writer")):Pu(this)===!0?Or(new TypeError("Cannot close an already-closing stream")):mL(this)},e.prototype.getWriter=function(){if(Lf(this)===!1)throw ym("getWriter");return gL(this)},e}();function gL(e){return new tK(e)}function HQ(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new Mu,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Lf(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_writableStreamController"))}function Md(e){return e._writer!==void 0}function ay(e,t){var r=e._state;if(r==="closed"||r==="errored")return ri(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;var n=!1;r==="erroring"&&(n=!0,t=void 0);var i=To(function(a,o){e._pendingAbortRequest={_promise:void 0,_resolve:a,_reject:o,_reason:t,_wasAlreadyErroring:n}});return e._pendingAbortRequest._promise=i,n===!1&&VC(e,t),i}function mL(e){var t=e._state;if(t==="closed"||t==="errored")return Or(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var r=To(function(i,a){var o={_resolve:i,_reject:a};e._closeRequest=o}),n=e._writer;return n!==void 0&&e._backpressure===!0&&t==="writable"&&JC(n),fK(e._writableStreamController),r}function VQ(e){var t=To(function(r,n){var i={_resolve:r,_reject:n};e._writeRequests.push(i)});return t}function HC(e,t){var r=e._state;if(r==="writable"){VC(e,t);return}YC(e)}function VC(e,t){var r=e._writableStreamController;e._state="erroring",e._storedError=t;var n=e._writer;n!==void 0&&bL(n,t),ZQ(e)===!1&&r._started===!0&&YC(e)}function YC(e){e._state="errored",e._writableStreamController[vL]();var t=e._storedError;if(e._writeRequests.forEach(function(i){i._reject(t)}),e._writeRequests=new Mu,e._pendingAbortRequest===void 0){mm(e);return}var r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring===!0){r._reject(t),mm(e);return}var n=e._writableStreamController[hL](r._reason);eu(n,function(){r._resolve(),mm(e)},function(i){r._reject(i),mm(e)})}function YQ(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function XQ(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,HC(e,t)}function QQ(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0;var t=e._state;t==="erroring"&&(e._storedError=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var r=e._writer;r!==void 0&&CL(r)}function KQ(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),HC(e,t)}function Pu(e){return!(e._closeRequest===void 0&&e._inFlightCloseRequest===void 0)}function ZQ(e){return!(e._inFlightWriteRequest===void 0&&e._inFlightCloseRequest===void 0)}function JQ(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function eK(e){e._inFlightWriteRequest=e._writeRequests.shift()}function mm(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;t!==void 0&&ZC(t,e._storedError)}function XC(e,t){var r=e._writer;r!==void 0&&t!==e._backpressure&&(t===!0?mK(r):JC(r)),e._backpressure=t}var tK=function(){function e(t){if(Lf(t)===!1)throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(Md(t)===!0)throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if(r==="writable")Pu(t)===!1&&t._backpressure===!0?N1(this):l5(this),oy(this);else if(r==="erroring")n2(this,t._storedError),oy(this);else if(r==="closed")l5(this),vK(this);else{var n=t._storedError;n2(this,n),EL(this,n)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return bf(this)===!1?Or(xf("closed")):this._closedPromise},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(bf(this)===!1)throw xf("desiredSize");if(this._ownerWritableStream===void 0)throw Wh("desiredSize");return aK(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return bf(this)===!1?Or(xf("ready")):this._readyPromise},enumerable:!0,configurable:!0}),e.prototype.abort=function(t){return bf(this)===!1?Or(xf("abort")):this._ownerWritableStream===void 0?Or(Wh("abort")):rK(this,t)},e.prototype.close=function(){if(bf(this)===!1)return Or(xf("close"));var t=this._ownerWritableStream;return t===void 0?Or(Wh("close")):Pu(t)===!0?Or(new TypeError("Cannot close an already-closing stream")):yL(this)},e.prototype.releaseLock=function(){if(bf(this)===!1)throw xf("releaseLock");var t=this._ownerWritableStream;t!==void 0&&xL(this)},e.prototype.write=function(t){return bf(this)===!1?Or(xf("write")):this._ownerWritableStream===void 0?Or(Wh("write to")):wL(this,t)},e}();function bf(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream"))}function rK(e,t){var r=e._ownerWritableStream;return ay(r,t)}function yL(e){var t=e._ownerWritableStream;return mL(t)}function nK(e){var t=e._ownerWritableStream,r=t._state;return Pu(t)===!0||r==="closed"?ri(void 0):r==="errored"?Or(t._storedError):yL(e)}function iK(e,t){e._closedPromiseState==="pending"?ZC(e,t):gK(e,t)}function bL(e,t){e._readyPromiseState==="pending"?AL(e,t):yK(e,t)}function aK(e){var t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:_L(t._writableStreamController)}function xL(e){var t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");bL(e,r),iK(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function wL(e,t){var r=e._ownerWritableStream,n=r._writableStreamController,i=cK(n,t);if(r!==e._ownerWritableStream)return Or(Wh("write to"));var a=r._state;if(a==="errored")return Or(r._storedError);if(Pu(r)===!0||a==="closed")return Or(new TypeError("The stream is closing or closed and cannot be written to"));if(a==="erroring")return Or(r._storedError);var o=VQ(r);return dK(n,t,i),o}var oK=function(){function e(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}return e.prototype.error=function(t){if(uK(this)===!1)throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var r=this._controlledWritableStream._state;r==="writable"&&SL(this,t)},e.prototype[hL]=function(t){var r=this._abortAlgorithm(t);return D1(this),r},e.prototype[vL]=function(){Wl(this)},e}();function uK(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream"))}function sK(e,t,r,n,i,a,o,u){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Wl(t),t._started=!1,t._strategySizeAlgorithm=u,t._strategyHWM=o,t._writeAlgorithm=n,t._closeAlgorithm=i,t._abortAlgorithm=a;var l=KC(t);XC(e,l);var f=r(),p=ri(f);eu(p,function(){t._started=!0,M1(t)},function(g){t._started=!0,HC(e,g)})}function lK(e,t,r,n){var i=Object.create(oK.prototype);function a(){return FC(t,"start",[i])}var o=zf(t,"write",1,[i]),u=zf(t,"close",0,[]),l=zf(t,"abort",1,[]);sK(e,i,a,o,u,l,r,n)}function D1(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function fK(e){GC(e,"close",0),M1(e)}function cK(e,t){try{return e._strategySizeAlgorithm(t)}catch(r){return QC(e,r),1}}function _L(e){return e._strategyHWM-e._queueTotalSize}function dK(e,t,r){var n={chunk:t};try{GC(e,n,r)}catch(o){QC(e,o);return}var i=e._controlledWritableStream;if(Pu(i)===!1&&i._state==="writable"){var a=KC(e);XC(i,a)}M1(e)}function M1(e){var t=e._controlledWritableStream;if(e._started!==!1&&t._inFlightWriteRequest===void 0){var r=t._state;if(r==="erroring"){YC(t);return}if(e._queue.length!==0){var n=GQ(e);n==="close"?pK(e):hK(e,n.chunk)}}}function QC(e,t){e._controlledWritableStream._state==="writable"&&SL(e,t)}function pK(e){var t=e._controlledWritableStream;JQ(t),qC(e);var r=e._closeAlgorithm();D1(e),eu(r,function(){QQ(t)},function(n){KQ(t,n)})}function hK(e,t){var r=e._controlledWritableStream;eK(r);var n=e._writeAlgorithm(t);eu(n,function(){YQ(r);var i=r._state;if(qC(e),Pu(r)===!1&&i==="writable"){var a=KC(e);XC(r,a)}M1(e)},function(i){r._state==="writable"&&D1(e),XQ(r,i)})}function KC(e){var t=_L(e);return t<=0}function SL(e,t){var r=e._controlledWritableStream;D1(e),VC(r,t)}function ym(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function xf(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function Wh(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function oy(e){e._closedPromise=To(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function EL(e,t){oy(e),ZC(e,t)}function vK(e){oy(e),CL(e)}function ZC(e,t){yp(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function gK(e,t){EL(e,t)}function CL(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function N1(e){e._readyPromise=To(function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function n2(e,t){N1(e),AL(e,t)}function l5(e){N1(e),JC(e)}function AL(e,t){yp(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function mK(e){N1(e)}function yK(e,t){n2(e,t)}function JC(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function f5(e){if(typeof e!="object"||e===null)return!1;try{return typeof e.aborted=="boolean"}catch{return!1}}var c5=typeof DOMException<"u"?DOMException:void 0;function bK(e){if(!(typeof e=="function"||typeof e=="object"))return!1;try{return new e,!0}catch{return!1}}function xK(){var e=function(r,n){this.message=r||"",this.name=n||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}var wK=bK(c5)?c5:xK();function d5(e,t,r,n,i,a){var o=R1(e),u=gL(t);e._disturbed=!0;var l=!1,f=ri(void 0);return To(function(p,g){var v;if(a!==void 0){if(v=function(){var m=new wK("Aborted","AbortError"),G=[];n===!1&&G.push(function(){return t._state==="writable"?ay(t,m):ri(void 0)}),i===!1&&G.push(function(){return e._state==="readable"?jf(e,m):ri(void 0)}),R(function(){return Promise.all(G.map(function(L){return L()}))},!0,m)},a.aborted===!0){v();return}a.addEventListener("abort",v)}function y(){return To(function(m,G){function L($){$?m():fs(C(),L,G)}L(!1)})}function C(){return l===!0?ri(!0):fs(u._readyPromise,function(){return fs(P1(o),function(m){return m.done===!0?!0:(f=fs(wL(u,m.value),void 0,NC),!1)})})}if(w(e,o._closedPromise,function(m){n===!1?R(function(){return ay(t,m)},!0,m):P(!0,m)}),w(t,u._closedPromise,function(m){i===!1?R(function(){return jf(e,m)},!0,m):P(!0,m)}),A(e,o._closedPromise,function(){r===!1?R(function(){return nK(u)}):P()}),Pu(t)===!0||t._state==="closed"){var O=new TypeError("the destination writable stream closed before all data could be piped to it");i===!1?R(function(){return jf(e,O)},!0,O):P(!0,O)}yp(y());function S(){var m=f;return fs(f,function(){return m!==f?S():void 0})}function w(m,G,L){m._state==="errored"?L(m._storedError):sL(G,L)}function A(m,G,L){m._state==="closed"?L():sw(G,L)}function R(m,G,L){if(l===!0)return;l=!0,t._state==="writable"&&Pu(t)===!1?sw(S(),$):$();function $(){eu(m(),function(){return N(G,L)},function(ae){return N(!0,ae)})}}function P(m,G){l!==!0&&(l=!0,t._state==="writable"&&Pu(t)===!1?sw(S(),function(){return N(m,G)}):N(m,G))}function N(m,G){xL(u),Dd(o),a!==void 0&&a.removeEventListener("abort",v),m?g(G):p(void 0)}})}var TL=function(){function e(){throw new TypeError}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(bm(this)===!1)throw xm("desiredSize");return eA(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(bm(this)===!1)throw xm("close");if(Lv(this)===!1)throw new TypeError("The stream is not in a state that permits close");sy(this)},e.prototype.enqueue=function(t){if(bm(this)===!1)throw xm("enqueue");if(Lv(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return ly(this,t)},e.prototype.error=function(t){if(bm(this)===!1)throw xm("error");Fl(this,t)},e.prototype[jC]=function(t){Wl(this);var r=this._cancelAlgorithm(t);return uy(this),r},e.prototype[UC]=function(){var t=this._controlledReadableStream;if(this._queue.length>0){var r=qC(this);return this._closeRequested===!0&&this._queue.length===0?(uy(this),yg(t)):Fv(this),ri(Qo(r,!1,t._reader._forAuthorCode))}var n=dL(t);return Fv(this),n},e}();function bm(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream"))}function Fv(e){var t=OL(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();eu(r,function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,Fv(e))},function(n){Fl(e,n)})}}function OL(e){var t=e._controlledReadableStream;if(Lv(e)===!1||e._started===!1)return!1;if(hl(t)===!0&&I1(t)>0)return!0;var r=eA(e);return r>0}function uy(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function sy(e){var t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(uy(e),yg(t))}function ly(e,t){var r=e._controlledReadableStream;if(hl(r)===!0&&I1(r)>0)WC(r,t,!1);else{var n=void 0;try{n=e._strategySizeAlgorithm(t)}catch(i){throw Fl(e,i),i}try{GC(e,t,n)}catch(i){throw Fl(e,i),i}}Fv(e)}function Fl(e,t){var r=e._controlledReadableStream;r._state==="readable"&&(Wl(e),uy(e),$L(r,t))}function eA(e){var t=e._controlledReadableStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function _K(e){return OL(e)!==!0}function Lv(e){var t=e._controlledReadableStream._state;return e._closeRequested===!1&&t==="readable"}function RL(e,t,r,n,i,a,o){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Wl(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=o,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=i,e._readableStreamController=t;var u=r();eu(ri(u),function(){t._started=!0,Fv(t)},function(l){Fl(t,l)})}function SK(e,t,r,n){var i=Object.create(TL.prototype);function a(){return FC(t,"start",[i])}var o=zf(t,"pull",0,[i]),u=zf(t,"cancel",1,[]);RL(e,i,a,o,u,r,n)}function xm(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function EK(e,t){var r=R1(e),n=!1,i=!1,a=!1,o,u,l,f,p,g=To(function(S){p=S});function v(){if(n===!0)return ri(void 0);n=!0;var S=ny(P1(r),function(w){n=!1;var A=w.done;if(A===!0){i===!1&&sy(l._readableStreamController),a===!1&&sy(f._readableStreamController);return}var R=w.value,P=R,N=R;i===!1&&ly(l._readableStreamController,P),a===!1&&ly(f._readableStreamController,N)});return yp(S),ri(void 0)}function y(S){if(i=!0,o=S,a===!0){var w=r2([o,u]),A=jf(e,w);p(A)}return g}function C(S){if(a=!0,u=S,i===!0){var w=r2([o,u]),A=jf(e,w);p(A)}return g}function O(){}return l=h5(O,v,y),f=h5(O,v,C),sL(r._closedPromise,function(S){Fl(l._readableStreamController,S),Fl(f._readableStreamController,S)}),[l,f]}var CK=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},AK=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}return Object.defineProperty(e.prototype,"view",{get:function(){if(fw(this)===!1)throw cw("view");return this._view},enumerable:!0,configurable:!0}),e.prototype.respond=function(t){if(fw(this)===!1)throw cw("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");ty(this._view.buffer),NK(this._associatedReadableByteStreamController,t)},e.prototype.respondWithNewView=function(t){if(fw(this)===!1)throw cw("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");ty(t.buffer),FK(this._associatedReadableByteStreamController,t)},e}(),TK=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(ld(this)===!1)throw yh("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var t=this._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(AK.prototype);$K(n,this,r),this._byobRequest=n}return this._byobRequest},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(ld(this)===!1)throw yh("desiredSize");return FL(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(ld(this)===!1)throw yh("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be closed");DK(this)},e.prototype.enqueue=function(t){if(ld(this)===!1)throw yh("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError("The stream (in "+r+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(t))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");ty(t.buffer),MK(this,t)},e.prototype.error=function(t){if(ld(this)===!1)throw yh("error");mg(this,t)},e.prototype[jC]=function(t){if(this._pendingPullIntos.length>0){var r=this._pendingPullIntos.peek();r.bytesFilled=0}Wl(this);var n=this._cancelAlgorithm(t);return F1(this),n},e.prototype[UC]=function(){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var r=this._queue.shift();this._queueTotalSize-=r.byteLength,DL(this);var n=void 0;try{n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}catch(l){return Or(l)}return ri(Qo(n,!1,t._reader._forAuthorCode))}var i=this._autoAllocateChunkSize;if(i!==void 0){var a=void 0;try{a=new ArrayBuffer(i)}catch(l){return Or(l)}var o={buffer:a,byteOffset:0,byteLength:i,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var u=dL(t);return dc(this),u},e}();function ld(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream"))}function fw(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function dc(e){var t=kK(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();eu(r,function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,dc(e))},function(n){mg(e,n)})}}function OK(e){rA(e),e._pendingPullIntos=new Mu}function tA(e,t){var r=!1;e._state==="closed"&&(r=!0);var n=IL(t);t.readerType==="default"?WC(e,n,r):jK(e,n,r)}function IL(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function u0(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function PL(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,o=a-a%r,u=i,l=!1;o>n&&(u=o-t.bytesFilled,l=!0);for(var f=e._queue;u>0;){var p=f.peek(),g=Math.min(u,p.byteLength),v=t.byteOffset+t.bytesFilled;FQ(t.buffer,v,p.buffer,p.byteOffset,g),p.byteLength===g?f.shift():(p.byteOffset+=g,p.byteLength-=g),e._queueTotalSize-=g,kL(e,g,t),u-=g}return l}function kL(e,t,r){rA(e),r.bytesFilled+=t}function DL(e){e._queueTotalSize===0&&e._closeRequested===!0?(F1(e),yg(e._controlledReadableByteStream)):dc(e)}function rA(e){e._byobRequest!==void 0&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function ML(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;var t=e._pendingPullIntos.peek();PL(e,t)===!0&&(nA(e),tA(e._controlledReadableByteStream,t))}}function RK(e,t){var r=e._controlledReadableByteStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=t.buffer,o={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(o),p5(r);if(r._state==="closed"){var u=new i(o.buffer,o.byteOffset,0);return ri(Qo(u,!0,r._reader._forAuthorCode))}if(e._queueTotalSize>0){if(PL(e,o)===!0){var l=IL(o);return DL(e),ri(Qo(l,!1,r._reader._forAuthorCode))}if(e._closeRequested===!0){var f=new TypeError("Insufficient bytes to fill elements in the given buffer");return mg(e,f),Or(f)}}e._pendingPullIntos.push(o);var p=p5(r);return dc(e),p}function IK(e,t){t.buffer=t.buffer;var r=e._controlledReadableByteStream;if(iA(r)===!0)for(;LL(r)>0;){var n=nA(e);tA(r,n)}}function PK(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(kL(e,t,r),!(r.bytesFilled<r.elementSize)){nA(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);u0(e,a,0,a.byteLength)}r.buffer=r.buffer,r.bytesFilled-=n,tA(e._controlledReadableByteStream,r),ML(e)}}function NL(e,t){var r=e._pendingPullIntos.peek(),n=e._controlledReadableByteStream;if(n._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");IK(e,r)}else PK(e,t,r);dc(e)}function nA(e){var t=e._pendingPullIntos.shift();return rA(e),t}function kK(e){var t=e._controlledReadableByteStream;if(t._state!=="readable"||e._closeRequested===!0||e._started===!1)return!1;if(pL(t)===!0&&I1(t)>0||iA(t)===!0&&LL(t)>0)return!0;var r=FL(e);return r>0}function F1(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function DK(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos.peek();if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw mg(e,n),n}}F1(e),yg(t)}function MK(e,t){var r=e._controlledReadableByteStream,n=t.buffer,i=t.byteOffset,a=t.byteLength,o=n;if(pL(r)===!0)if(I1(r)===0)u0(e,o,i,a);else{var u=new Uint8Array(o,i,a);WC(r,u,!1)}else iA(r)===!0?(u0(e,o,i,a),ML(e)):u0(e,o,i,a);dc(e)}function mg(e,t){var r=e._controlledReadableByteStream;r._state==="readable"&&(OK(e),Wl(e),F1(e),$L(r,t))}function FL(e){var t=e._controlledReadableByteStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function NK(e,t){if(t=Number(t),aL(t)===!1)throw new RangeError("bytesWritten must be a finite");NL(e,t)}function FK(e,t){var r=e._pendingPullIntos.peek();if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,NL(e,t.byteLength)}function LK(e,t,r,n,i,a,o){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=void 0,t._queue=t._queueTotalSize=void 0,Wl(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=ry(a),t._pullAlgorithm=n,t._cancelAlgorithm=i,t._autoAllocateChunkSize=o,t._pendingPullIntos=new Mu,e._readableStreamController=t;var u=r();eu(ri(u),function(){t._started=!0,dc(t)},function(l){mg(t,l)})}function BK(e,t,r){var n=Object.create(TK.prototype);function i(){return FC(t,"start",[n])}var a=zf(t,"pull",0,[n]),o=zf(t,"cancel",1,[]),u=t.autoAllocateChunkSize;if(u!==void 0&&(u=Number(u),CK(u)===!1||u<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");LK(e,n,i,a,o,r,u)}function $K(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function cw(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function yh(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function zK(e,t){t===void 0&&(t=!1);var r=new UK(e);return r._forAuthorCode=t,r}function p5(e){var t=To(function(r,n){var i={_resolve:r,_reject:n};e._reader._readIntoRequests.push(i)});return t}function jK(e,t,r){var n=e._reader,i=n._readIntoRequests.shift();i._resolve(Qo(t,r,n._forAuthorCode))}function LL(e){return e._reader._readIntoRequests.length}function iA(e){var t=e._reader;return!(t===void 0||!qh(t))}var UK=function(){function e(t){if(!wu(t))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(ld(t._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(hl(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");lL(this,t),this._readIntoRequests=new Mu}return Object.defineProperty(e.prototype,"closed",{get:function(){return qh(this)?this._closedPromise:Or(wm("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(t){return qh(this)?this._ownerReadableStream===void 0?Or(Kd("cancel")):BC(this,t):Or(wm("cancel"))},e.prototype.read=function(t){return qh(this)?this._ownerReadableStream===void 0?Or(Kd("read from")):ArrayBuffer.isView(t)?(ty(t.buffer),t.byteLength===0?Or(new TypeError("view must have non-zero byteLength")):WK(this,t)):Or(new TypeError("view must be an array buffer view")):Or(wm("read"))},e.prototype.releaseLock=function(){if(!qh(this))throw wm("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Dd(this)}},e}();function qh(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function WK(e,t){var r=e._ownerReadableStream;return r._disturbed=!0,r._state==="errored"?Or(r._storedError):RK(r._readableStreamController,t)}function wm(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}var i2=function(){function e(t,r){t===void 0&&(t={}),r===void 0&&(r={}),BL(this);var n=r.size,i=r.highWaterMark,a=t.type,o=String(a);if(o==="bytes"){if(n!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");i===void 0&&(i=0),i=ry(i),BK(this,t,i)}else if(a===void 0){var u=uL(n);i===void 0&&(i=1),i=ry(i),SK(this,t,i,u)}else throw new RangeError("Invalid type is specified")}return Object.defineProperty(e.prototype,"locked",{get:function(){if(wu(this)===!1)throw wf("locked");return hl(this)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(t){return wu(this)===!1?Or(wf("cancel")):hl(this)===!0?Or(new TypeError("Cannot cancel a stream that already has a reader")):jf(this,t)},e.prototype.getReader=function(t){var r=(t===void 0?{}:t).mode;if(wu(this)===!1)throw wf("getReader");if(r===void 0)return R1(this,!0);if(r=String(r),r==="byob")return zK(this,!0);throw new RangeError("Invalid mode is specified")},e.prototype.pipeThrough=function(t,r){var n=t.writable,i=t.readable,a=r===void 0?{}:r,o=a.preventClose,u=a.preventAbort,l=a.preventCancel,f=a.signal;if(wu(this)===!1)throw wf("pipeThrough");if(Lf(n)===!1)throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(wu(i)===!1)throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(o=Boolean(o),u=Boolean(u),l=Boolean(l),f!==void 0&&!f5(f))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(hl(this)===!0)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Md(n)===!0)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var p=d5(this,n,o,u,l,f);return yp(p),i},e.prototype.pipeTo=function(t,r){var n=r===void 0?{}:r,i=n.preventClose,a=n.preventAbort,o=n.preventCancel,u=n.signal;return wu(this)===!1?Or(wf("pipeTo")):Lf(t)===!1?Or(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(i=Boolean(i),a=Boolean(a),o=Boolean(o),u!==void 0&&!f5(u)?Or(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")):hl(this)===!0?Or(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Md(t)===!0?Or(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):d5(this,t,i,a,o,u))},e.prototype.tee=function(){if(wu(this)===!1)throw wf("tee");var t=EK(this);return r2(t)},e.prototype.getIterator=function(t){var r=(t===void 0?{}:t).preventCancel,n=r===void 0?!1:r;if(wu(this)===!1)throw wf("getIterator");return qQ(this,n)},e}();typeof vs.asyncIterator=="symbol"&&Object.defineProperty(i2.prototype,vs.asyncIterator,{value:i2.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});function h5(e,t,r,n,i){n===void 0&&(n=1),i===void 0&&(i=function(){return 1});var a=Object.create(i2.prototype);BL(a);var o=Object.create(TL.prototype);return RL(a,o,e,t,r,n,i),a}function BL(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function wu(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_readableStreamController"))}function hl(e){return e._reader!==void 0}function jf(e,t){if(e._disturbed=!0,e._state==="closed")return ri(void 0);if(e._state==="errored")return Or(e._storedError);yg(e);var r=e._readableStreamController[jC](t);return ny(r,NC)}function yg(e){e._state="closed";var t=e._reader;t!==void 0&&(Ff(t)&&(t._readRequests.forEach(function(r){r._resolve(Qo(void 0,!0,t._forAuthorCode))}),t._readRequests=new Mu),cL(t))}function $L(e,t){e._state="errored",e._storedError=t;var r=e._reader;r!==void 0&&(Ff(r)?(r._readRequests.forEach(function(n){n._reject(t)}),r._readRequests=new Mu):(r._readIntoRequests.forEach(function(n){n._reject(t)}),r._readIntoRequests=new Mu),zC(r,t))}function wf(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function qK(e,t){Fl(e._readable._readableStreamController,t),aA(e,t)}function aA(e,t){GK(e._transformStreamController),QC(e._writable._writableStreamController,t),e._backpressure===!0&&zL(e,!1)}function zL(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=To(function(r){e._backpressureChangePromise_resolve=r}),e._backpressure=t}(function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(_m(this)===!1)throw Sm("desiredSize");var t=this._controlledTransformStream._readable._readableStreamController;return eA(t)},enumerable:!0,configurable:!0}),e.prototype.enqueue=function(t){if(_m(this)===!1)throw Sm("enqueue");HK(this,t)},e.prototype.error=function(t){if(_m(this)===!1)throw Sm("error");VK(this,t)},e.prototype.terminate=function(){if(_m(this)===!1)throw Sm("terminate");YK(this)},e})();function _m(e){return!(!Jo(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function GK(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function HK(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(Lv(n)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{ly(n,t)}catch(a){throw aA(r,a),r._readable._storedError}var i=_K(n);i!==r._backpressure&&zL(r,!0)}function VK(e,t){qK(e._controlledTransformStream,t)}function YK(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;Lv(r)===!0&&sy(r);var n=new TypeError("TransformStream terminated");aA(t,n)}function Sm(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}var v5=Object.prototype.toString,jL=function(t){var r=v5.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&v5.call(t.callee)==="[object Function]"),n},dw,g5;function XK(){if(g5)return dw;g5=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=jL,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(v){var y=v.constructor;return y&&y.prototype===v},f={$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},p=function(){if(typeof window>"u")return!1;for(var v in window)try{if(!f["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{l(window[v])}catch{return!0}}catch{return!0}return!1}(),g=function(v){if(typeof window>"u"||!p)return l(v);try{return l(v)}catch{return!1}};e=function(y){var C=y!==null&&typeof y=="object",O=r.call(y)==="[object Function]",S=n(y),w=C&&r.call(y)==="[object String]",A=[];if(!C&&!O&&!S)throw new TypeError("Object.keys called on a non-object");var R=o&&O;if(w&&y.length>0&&!t.call(y,0))for(var P=0;P<y.length;++P)A.push(String(P));if(S&&y.length>0)for(var N=0;N<y.length;++N)A.push(String(N));else for(var m in y)!(R&&m==="prototype")&&t.call(y,m)&&A.push(String(m));if(a)for(var G=g(y),L=0;L<u.length;++L)!(G&&u[L]==="constructor")&&t.call(y,u[L])&&A.push(u[L]);return A}}return dw=e,dw}var QK=Array.prototype.slice,KK=jL,m5=Object.keys,s0=m5?function(t){return m5(t)}:XK(),y5=Object.keys;s0.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 KK(n)?y5(QK.call(n)):y5(n)})}else Object.keys=s0;return Object.keys||s0};var oA=s0,L1=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},ZK=L1,ql=function(){return ZK()&&!!Symbol.toStringTag},b5=typeof Symbol<"u"&&Symbol,JK=L1,uA=function(){return typeof b5!="function"||typeof Symbol!="function"||typeof b5("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:JK()},eZ="Function.prototype.bind called on incompatible ",pw=Array.prototype.slice,tZ=Object.prototype.toString,rZ="[object Function]",nZ=function(t){var r=this;if(typeof r!="function"||tZ.call(r)!==rZ)throw new TypeError(eZ+r);for(var n=pw.call(arguments,1),i,a=function(){if(this instanceof i){var p=r.apply(this,n.concat(pw.call(arguments)));return Object(p)===p?p:this}else return r.apply(t,n.concat(pw.call(arguments)))},o=Math.max(0,r.length-n.length),u=[],l=0;l<o;l++)u.push("$"+l);if(i=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var f=function(){};f.prototype=r.prototype,i.prototype=new f,f.prototype=null}return i},iZ=nZ,sA=Function.prototype.bind||iZ,aZ=sA,oZ=aZ.call(Function.call,Object.prototype.hasOwnProperty),tn,Bv=SyntaxError,UL=Function,Nd=TypeError,hw=function(e){try{return UL('"use strict"; return ('+e+").constructor;")()}catch{}},Uf=Object.getOwnPropertyDescriptor;if(Uf)try{Uf({},"")}catch{Uf=null}var vw=function(){throw new Nd},uZ=Uf?function(){try{return arguments.callee,vw}catch{try{return Uf(arguments,"callee").get}catch{return vw}}}():vw,td=uA(),al=Object.getPrototypeOf||function(e){return e.__proto__},fd={},sZ=typeof Uint8Array>"u"?tn:al(Uint8Array),Fd={"%AggregateError%":typeof AggregateError>"u"?tn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?tn:ArrayBuffer,"%ArrayIteratorPrototype%":td?al([][Symbol.iterator]()):tn,"%AsyncFromSyncIteratorPrototype%":tn,"%AsyncFunction%":fd,"%AsyncGenerator%":fd,"%AsyncGeneratorFunction%":fd,"%AsyncIteratorPrototype%":fd,"%Atomics%":typeof Atomics>"u"?tn:Atomics,"%BigInt%":typeof BigInt>"u"?tn:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?tn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?tn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?tn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?tn:FinalizationRegistry,"%Function%":UL,"%GeneratorFunction%":fd,"%Int8Array%":typeof Int8Array>"u"?tn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?tn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?tn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":td?al(al([][Symbol.iterator]())):tn,"%JSON%":typeof JSON=="object"?JSON:tn,"%Map%":typeof Map>"u"?tn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!td?tn:al(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?tn:Promise,"%Proxy%":typeof Proxy>"u"?tn:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?tn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?tn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!td?tn:al(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?tn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":td?al(""[Symbol.iterator]()):tn,"%Symbol%":td?Symbol:tn,"%SyntaxError%":Bv,"%ThrowTypeError%":uZ,"%TypedArray%":sZ,"%TypeError%":Nd,"%Uint8Array%":typeof Uint8Array>"u"?tn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?tn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?tn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?tn:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?tn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?tn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?tn:WeakSet},lZ=function e(t){var r;if(t==="%AsyncFunction%")r=hw("async function () {}");else if(t==="%GeneratorFunction%")r=hw("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=hw("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=al(i.prototype))}return Fd[t]=r,r},x5={"%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"]},B1=sA,fy=oZ,fZ=B1.call(Function.call,Array.prototype.concat),cZ=B1.call(Function.apply,Array.prototype.splice),w5=B1.call(Function.call,String.prototype.replace),cy=B1.call(Function.call,String.prototype.slice),dZ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pZ=/\\(\\)?/g,hZ=function(t){var r=cy(t,0,1),n=cy(t,-1);if(r==="%"&&n!=="%")throw new Bv("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Bv("invalid intrinsic syntax, expected opening `%`");var i=[];return w5(t,dZ,function(a,o,u,l){i[i.length]=u?w5(l,pZ,"$1"):o||a}),i},vZ=function(t,r){var n=t,i;if(fy(x5,n)&&(i=x5[n],n="%"+i[0]+"%"),fy(Fd,n)){var a=Fd[n];if(a===fd&&(a=lZ(n)),typeof a>"u"&&!r)throw new Nd("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Bv("intrinsic "+t+" does not exist!")},pc=function(t,r){if(typeof t!="string"||t.length===0)throw new Nd("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Nd('"allowMissing" argument must be a boolean');var n=hZ(t),i=n.length>0?n[0]:"",a=vZ("%"+i+"%",r),o=a.name,u=a.value,l=!1,f=a.alias;f&&(i=f[0],cZ(n,fZ([0,1],f)));for(var p=1,g=!0;p<n.length;p+=1){var v=n[p],y=cy(v,0,1),C=cy(v,-1);if((y==='"'||y==="'"||y==="`"||C==='"'||C==="'"||C==="`")&&y!==C)throw new Bv("property names with quotes must have matching quotes");if((v==="constructor"||!g)&&(l=!0),i+="."+v,o="%"+i+"%",fy(Fd,o))u=Fd[o];else if(u!=null){if(!(v in u)){if(!r)throw new Nd("base intrinsic for "+t+" exists, but the property is not available.");return}if(Uf&&p+1>=n.length){var O=Uf(u,v);g=!!O,g&&"get"in O&&!("originalValue"in O.get)?u=O.get:u=u[v]}else g=fy(u,v),u=u[v];g&&!l&&(Fd[o]=u)}}return u},bg={exports:{}};(function(e){var t=sA,r=pc,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),u=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}e.exports=function(g){var v=a(t,i,arguments);if(o&&u){var y=o(v,"length");y.configurable&&u(v,"length",{value:1+l(0,g.length-(arguments.length-1))})}return v};var f=function(){return a(t,n,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f})(bg);var WL=pc,qL=bg.exports,gZ=qL(WL("String.prototype.indexOf")),Lu=function(t,r){var n=WL(t,!!r);return typeof n=="function"&&gZ(t,".prototype.")>-1?qL(n):n},mZ=ql(),yZ=Lu,a2=yZ("Object.prototype.toString"),$1=function(t){return mZ&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:a2(t)==="[object Arguments]"},GL=function(t){return $1(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&a2(t)!=="[object Array]"&&a2(t.callee)==="[object Function]"},bZ=function(){return $1(arguments)}();$1.isLegacyArguments=GL;var HL=bZ?$1:GL,xZ=oA,wZ=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",_Z=Object.prototype.toString,SZ=Array.prototype.concat,lA=Object.defineProperty,EZ=function(e){return typeof e=="function"&&_Z.call(e)==="[object Function]"},CZ=function(){var e={};try{lA(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch{return!1}},VL=lA&&CZ(),AZ=function(e,t,r,n){t in e&&(!EZ(n)||!n())||(VL?lA(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},YL=function(e,t){var r=arguments.length>2?arguments[2]:{},n=xZ(t);wZ&&(n=SZ.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)AZ(e,n[i],t[n[i]],r[n[i]])};YL.supportsDescriptors=!!VL;var hc=YL,_5=function(e){return e!==e},XL=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||_5(t)&&_5(r))},TZ=XL,QL=function(){return typeof Object.is=="function"?Object.is:TZ},OZ=QL,RZ=hc,IZ=function(){var t=OZ();return RZ(Object,{is:t},{is:function(){return Object.is!==t}}),t},PZ=hc,kZ=bg.exports,DZ=XL,KL=QL,MZ=IZ,ZL=kZ(KL(),Object);PZ(ZL,{getPolyfill:KL,implementation:DZ,shim:MZ});var NZ=ZL,o2=Lu,JL=ql(),e4,t4,u2,s2;if(JL){e4=o2("Object.prototype.hasOwnProperty"),t4=o2("RegExp.prototype.exec"),u2={};var gw=function(){throw u2};s2={toString:gw,valueOf:gw},typeof Symbol.toPrimitive=="symbol"&&(s2[Symbol.toPrimitive]=gw)}var FZ=o2("Object.prototype.toString"),LZ=Object.getOwnPropertyDescriptor,BZ="[object RegExp]",$Z=JL?function(t){if(!t||typeof t!="object")return!1;var r=LZ(t,"lastIndex"),n=r&&e4(r,"value");if(!n)return!1;try{t4(t,s2)}catch(i){return i===u2}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:FZ(t)===BZ},zZ=Object,jZ=TypeError,r4=function(){if(this!=null&&this!==zZ(this))throw new jZ("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.sticky&&(t+="y"),t},UZ=r4,WZ=hc.supportsDescriptors,qZ=Object.getOwnPropertyDescriptor,n4=function(){if(WZ&&/a/mig.flags==="gim"){var t=qZ(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof/a/.dotAll=="boolean")return t.get}return UZ},GZ=hc.supportsDescriptors,HZ=n4,VZ=Object.getOwnPropertyDescriptor,YZ=Object.defineProperty,XZ=TypeError,S5=Object.getPrototypeOf,QZ=/a/,KZ=function(){if(!GZ||!S5)throw new XZ("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=HZ(),r=S5(QZ),n=VZ(r,"flags");return(!n||n.get!==t)&&YZ(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},ZZ=hc,JZ=bg.exports,eJ=r4,i4=n4,tJ=KZ,a4=JZ(i4());ZZ(a4,{getPolyfill:i4,implementation:eJ,shim:tJ});var rJ=a4,nJ={}.toString,o4=Array.isArray||function(e){return nJ.call(e)=="[object Array]"},iJ=Date.prototype.getDay,aJ=function(t){try{return iJ.call(t),!0}catch{return!1}},oJ=Object.prototype.toString,uJ="[object Date]",sJ=ql(),lJ=function(t){return typeof t!="object"||t===null?!1:sJ?aJ(t):oJ.call(t)===uJ},fJ=String.prototype.valueOf,cJ=function(t){try{return fJ.call(t),!0}catch{return!1}},dJ=Object.prototype.toString,pJ="[object String]",hJ=ql(),u4=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:hJ?cJ(t):dJ.call(t)===pJ},vJ=Number.prototype.toString,gJ=function(t){try{return vJ.call(t),!0}catch{return!1}},mJ=Object.prototype.toString,yJ="[object Number]",bJ=ql(),xJ=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:bJ?gJ(t):mJ.call(t)===yJ},s4=Lu,wJ=s4("Boolean.prototype.toString"),_J=s4("Object.prototype.toString"),SJ=function(t){try{return wJ(t),!0}catch{return!1}},EJ="[object Boolean]",CJ=ql(),AJ=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:CJ&&Symbol.toStringTag in t?SJ(t):_J(t)===EJ},l2={exports:{}},TJ=Object.prototype.toString,OJ=uA();if(OJ){var RJ=Symbol.prototype.toString,IJ=/^Symbol\(.*\)$/,PJ=function(t){return typeof t.valueOf()!="symbol"?!1:IJ.test(RJ.call(t))};l2.exports=function(t){if(typeof t=="symbol")return!0;if(TJ.call(t)!=="[object Symbol]")return!1;try{return PJ(t)}catch{return!1}}}else l2.exports=function(t){return!1};var f2={exports:{}},E5=en.BigInt,kJ=function(){return typeof E5=="function"&&typeof BigInt=="function"&&typeof E5(42)=="bigint"&&typeof BigInt(42)=="bigint"},DJ=kJ();if(DJ){var MJ=BigInt.prototype.valueOf,NJ=function(t){try{return MJ.call(t),!0}catch{}return!1};f2.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:NJ(t)}}else f2.exports=function(t){return!1};var FJ=u4,LJ=xJ,BJ=AJ,$J=l2.exports,zJ=f2.exports,jJ=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(FJ(t))return"String";if(LJ(t))return"Number";if(BJ(t))return"Boolean";if($J(t))return"Symbol";if(zJ(t))return"BigInt"},fA=typeof Map=="function"&&Map.prototype?Map:null,UJ=typeof Set=="function"&&Set.prototype?Set:null,dy;fA||(dy=function(t){return!1});var l4=fA?Map.prototype.has:null,C5=UJ?Set.prototype.has:null;!dy&&!l4&&(dy=function(t){return!1});var f4=dy||function(t){if(!t||typeof t!="object")return!1;try{if(l4.call(t),C5)try{C5.call(t)}catch{return!0}return t instanceof fA}catch{}return!1},WJ=typeof Map=="function"&&Map.prototype?Map:null,cA=typeof Set=="function"&&Set.prototype?Set:null,py;cA||(py=function(t){return!1});var A5=WJ?Map.prototype.has:null,c4=cA?Set.prototype.has:null;!py&&!c4&&(py=function(t){return!1});var d4=py||function(t){if(!t||typeof t!="object")return!1;try{if(c4.call(t),A5)try{A5.call(t)}catch{return!0}return t instanceof cA}catch{}return!1},hy=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,T5=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,vy;hy||(vy=function(t){return!1});var c2=hy?hy.prototype.has:null,mw=T5?T5.prototype.has:null;!vy&&!c2&&(vy=function(t){return!1});var qJ=vy||function(t){if(!t||typeof t!="object")return!1;try{if(c2.call(t,c2),mw)try{mw.call(t,mw)}catch{return!0}return t instanceof hy}catch{}return!1},d2={exports:{}},GJ=pc,p4=Lu,HJ=GJ("%WeakSet%",!0),yw=p4("WeakSet.prototype.has",!0);if(yw){var bw=p4("WeakMap.prototype.has",!0);d2.exports=function(t){if(!t||typeof t!="object")return!1;try{if(yw(t,yw),bw)try{bw(t,bw)}catch{return!0}return t instanceof HJ}catch{}return!1}}else d2.exports=function(t){return!1};var VJ=f4,YJ=d4,XJ=qJ,QJ=d2.exports,KJ=function(t){if(t&&typeof t=="object"){if(VJ(t))return"Map";if(YJ(t))return"Set";if(XJ(t))return"WeakMap";if(QJ(t))return"WeakSet"}return!1},l0={exports:{}},O5=HL;if(uA()||L1()){var xw=Symbol.iterator;l0.exports=function(t){if(t!=null&&typeof t[xw]<"u")return t[xw]();if(O5(t))return Array.prototype[xw].call(t)}}else{var ZJ=o4,JJ=u4,R5=pc,eee=R5("%Map%",!0),tee=R5("%Set%",!0),qo=Lu,I5=qo("Array.prototype.push"),P5=qo("String.prototype.charCodeAt"),ree=qo("String.prototype.slice"),nee=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=P5(t,r);if(i<55296||i>56319)return r+1;var a=P5(t,r+1);return a<56320||a>57343?r+1:r+2},ww=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}}}},k5=function(t,r){if(ZJ(t)||O5(t))return ww(t);if(JJ(t)){var n=0;return{next:function(){var a=nee(t,n),o=ree(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(!eee&&!tee)l0.exports=function(t){if(t!=null)return k5(t,!0)};else{var iee=f4,aee=d4,D5=qo("Map.prototype.forEach",!0),M5=qo("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var N5=qo("Map.prototype.iterator",!0),F5=qo("Set.prototype.iterator",!0),L5=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 B5=qo("Map.prototype.@@iterator",!0)||qo("Map.prototype._es6-shim iterator_",!0),$5=qo("Set.prototype.@@iterator",!0)||qo("Set.prototype._es6-shim iterator_",!0),oee=function(t){if(iee(t)){if(N5)return L5(N5(t));if(B5)return B5(t);if(D5){var r=[];return D5(t,function(i,a){I5(r,[a,i])}),ww(r)}}if(aee(t)){if(F5)return L5(F5(t));if($5)return $5(t);if(M5){var n=[];return M5(t,function(i){I5(n,i)}),ww(n)}}};l0.exports=function(t){return oee(t)||k5(t)}}}const uee={},see=Object.freeze(Object.defineProperty({__proto__:null,default:uee},Symbol.toStringTag,{value:"Module"})),h4=rc(see);var dA=typeof Map=="function"&&Map.prototype,_w=Object.getOwnPropertyDescriptor&&dA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,gy=dA&&_w&&typeof _w.get=="function"?_w.get:null,lee=dA&&Map.prototype.forEach,pA=typeof Set=="function"&&Set.prototype,Sw=Object.getOwnPropertyDescriptor&&pA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,my=pA&&Sw&&typeof Sw.get=="function"?Sw.get:null,fee=pA&&Set.prototype.forEach,cee=typeof WeakMap=="function"&&WeakMap.prototype,fv=cee?WeakMap.prototype.has:null,dee=typeof WeakSet=="function"&&WeakSet.prototype,cv=dee?WeakSet.prototype.has:null,pee=typeof WeakRef=="function"&&WeakRef.prototype,z5=pee?WeakRef.prototype.deref:null,hee=Boolean.prototype.valueOf,vee=Object.prototype.toString,gee=Function.prototype.toString,mee=String.prototype.match,hA=String.prototype.slice,vl=String.prototype.replace,yee=String.prototype.toUpperCase,j5=String.prototype.toLowerCase,v4=RegExp.prototype.test,U5=Array.prototype.concat,_u=Array.prototype.join,bee=Array.prototype.slice,W5=Math.floor,p2=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ew=Object.getOwnPropertySymbols,h2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Zd=typeof Symbol=="function"&&typeof Symbol.iterator=="object",na=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Zd?"object":"symbol")?Symbol.toStringTag:null,g4=Object.prototype.propertyIsEnumerable,q5=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function G5(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||v4.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-W5(-e):W5(e);if(n!==e){var i=String(n),a=hA.call(t,i.length+1);return vl.call(i,r,"$&_")+"."+vl.call(vl.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return vl.call(t,r,"$&_")}var Cw=h4.custom,Aw=Cw&&y4(Cw)?Cw:null,xee=function e(t,r,n,i){var a=r||{};if(ol(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ol(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=ol(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(ol(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(ol(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return x4(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return u?G5(t,l):l}if(typeof t=="bigint"){var f=String(t)+"n";return u?G5(t,f):f}var p=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof t=="object")return v2(t)?"[Array]":"[Object]";var g=$ee(a,n);if(typeof i>"u")i=[];else if(b4(i,t)>=0)return"[Circular]";function v(Pe,Fe,dt){if(Fe&&(i=bee.call(i),i.push(Fe)),dt){var Je={depth:a.depth};return ol(a,"quoteStyle")&&(Je.quoteStyle=a.quoteStyle),e(Pe,Je,n+1,i)}return e(Pe,a,n+1,i)}if(typeof t=="function"){var y=Iee(t),C=Em(t,v);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(C.length>0?" { "+_u.call(C,", ")+" }":"")}if(y4(t)){var O=Zd?vl.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):h2.call(t);return typeof t=="object"&&!Zd?bh(O):O}if(Fee(t)){for(var S="<"+j5.call(String(t.nodeName)),w=t.attributes||[],A=0;A<w.length;A++)S+=" "+w[A].name+"="+m4(wee(w[A].value),"double",a);return S+=">",t.childNodes&&t.childNodes.length&&(S+="..."),S+="</"+j5.call(String(t.nodeName))+">",S}if(v2(t)){if(t.length===0)return"[]";var R=Em(t,v);return g&&!Bee(R)?"["+g2(R,g)+"]":"[ "+_u.call(R,", ")+" ]"}if(Eee(t)){var P=Em(t,v);return"cause"in t&&!g4.call(t,"cause")?"{ ["+String(t)+"] "+_u.call(U5.call("[cause]: "+v(t.cause),P),", ")+" }":P.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+_u.call(P,", ")+" }"}if(typeof t=="object"&&o){if(Aw&&typeof t[Aw]=="function")return t[Aw]();if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Pee(t)){var N=[];return lee.call(t,function(Pe,Fe){N.push(v(Fe,t,!0)+" => "+v(Pe,t))}),H5("Map",gy.call(t),N,g)}if(Mee(t)){var m=[];return fee.call(t,function(Pe){m.push(v(Pe,t))}),H5("Set",my.call(t),m,g)}if(kee(t))return Tw("WeakMap");if(Nee(t))return Tw("WeakSet");if(Dee(t))return Tw("WeakRef");if(Aee(t))return bh(v(Number(t)));if(Oee(t))return bh(v(p2.call(t)));if(Tee(t))return bh(hee.call(t));if(Cee(t))return bh(v(String(t)));if(!_ee(t)&&!See(t)){var G=Em(t,v),L=q5?q5(t)===Object.prototype:t instanceof Object||t.constructor===Object,$=t instanceof Object?"":"null prototype",ae=!L&&na&&Object(t)===t&&na in t?hA.call(Gl(t),8,-1):$?"Object":"",ve=L||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",be=ve+(ae||$?"["+_u.call(U5.call([],ae||[],$||[]),": ")+"] ":"");return G.length===0?be+"{}":g?be+"{"+g2(G,g)+"}":be+"{ "+_u.call(G,", ")+" }"}return String(t)};function m4(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function wee(e){return vl.call(String(e),/"/g,"&quot;")}function v2(e){return Gl(e)==="[object Array]"&&(!na||!(typeof e=="object"&&na in e))}function _ee(e){return Gl(e)==="[object Date]"&&(!na||!(typeof e=="object"&&na in e))}function See(e){return Gl(e)==="[object RegExp]"&&(!na||!(typeof e=="object"&&na in e))}function Eee(e){return Gl(e)==="[object Error]"&&(!na||!(typeof e=="object"&&na in e))}function Cee(e){return Gl(e)==="[object String]"&&(!na||!(typeof e=="object"&&na in e))}function Aee(e){return Gl(e)==="[object Number]"&&(!na||!(typeof e=="object"&&na in e))}function Tee(e){return Gl(e)==="[object Boolean]"&&(!na||!(typeof e=="object"&&na in e))}function y4(e){if(Zd)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!h2)return!1;try{return h2.call(e),!0}catch{}return!1}function Oee(e){if(!e||typeof e!="object"||!p2)return!1;try{return p2.call(e),!0}catch{}return!1}var Ree=Object.prototype.hasOwnProperty||function(e){return e in this};function ol(e,t){return Ree.call(e,t)}function Gl(e){return vee.call(e)}function Iee(e){if(e.name)return e.name;var t=mee.call(gee.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function b4(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 Pee(e){if(!gy||!e||typeof e!="object")return!1;try{gy.call(e);try{my.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function kee(e){if(!fv||!e||typeof e!="object")return!1;try{fv.call(e,fv);try{cv.call(e,cv)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Dee(e){if(!z5||!e||typeof e!="object")return!1;try{return z5.call(e),!0}catch{}return!1}function Mee(e){if(!my||!e||typeof e!="object")return!1;try{my.call(e);try{gy.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Nee(e){if(!cv||!e||typeof e!="object")return!1;try{cv.call(e,cv);try{fv.call(e,fv)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Fee(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function x4(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return x4(hA.call(e,0,t.maxStringLength),t)+n}var i=vl.call(vl.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Lee);return m4(i,"single",t)}function Lee(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":"")+yee.call(t.toString(16))}function bh(e){return"Object("+e+")"}function Tw(e){return e+" { ? }"}function H5(e,t,r,n){var i=n?g2(r,n):_u.call(r,", ");return e+" ("+t+") {"+i+"}"}function Bee(e){for(var t=0;t<e.length;t++)if(b4(e[t],`
913
- `)>=0)return!1;return!0}function $ee(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=_u.call(Array(e.indent+1)," ");else return null;return{base:r,prev:_u.call(Array(t+1),r)}}function g2(e,t){if(e.length===0)return"";var r=`
914
- `+t.prev+t.base;return r+_u.call(e,","+r)+`
915
- `+t.prev}function Em(e,t){var r=v2(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=ol(e,i)?t(e[i],e):""}var a=typeof Ew=="function"?Ew(e):[],o;if(Zd){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)!ol(e,l)||r&&String(Number(l))===l&&l<e.length||Zd&&o["$"+l]instanceof Symbol||(v4.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e)));if(typeof Ew=="function")for(var f=0;f<a.length;f++)g4.call(e,a[f])&&n.push("["+t(a[f])+"]: "+t(e[a[f]],e));return n}var vA=pc,bp=Lu,zee=xee,jee=vA("%TypeError%"),Cm=vA("%WeakMap%",!0),Am=vA("%Map%",!0),Uee=bp("WeakMap.prototype.get",!0),Wee=bp("WeakMap.prototype.set",!0),qee=bp("WeakMap.prototype.has",!0),Gee=bp("Map.prototype.get",!0),Hee=bp("Map.prototype.set",!0),Vee=bp("Map.prototype.has",!0),gA=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},Yee=function(e,t){var r=gA(e,t);return r&&r.value},Xee=function(e,t,r){var n=gA(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Qee=function(e,t){return!!gA(e,t)},Kee=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new jee("Side channel does not contain "+zee(a))},get:function(a){if(Cm&&a&&(typeof a=="object"||typeof a=="function")){if(t)return Uee(t,a)}else if(Am){if(r)return Gee(r,a)}else if(n)return Yee(n,a)},has:function(a){if(Cm&&a&&(typeof a=="object"||typeof a=="function")){if(t)return qee(t,a)}else if(Am){if(r)return Vee(r,a)}else if(n)return Qee(n,a);return!1},set:function(a,o){Cm&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Cm),Wee(t,a,o)):Am?(r||(r=new Am),Hee(r,a,o)):(n||(n={key:{},next:null}),Xee(n,a,o))}};return i},Zee=Object.prototype.hasOwnProperty,Jee=Object.prototype.toString,w4=function(t,r,n){if(Jee.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)Zee.call(t,o)&&r.call(n,t[o],o,t)},Ow=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ete=typeof globalThis>"u"?en:globalThis,_4=function(){for(var t=[],r=0;r<Ow.length;r++)typeof ete[Ow[r]]=="function"&&(t[t.length]=Ow[r]);return t},Rw,V5;function S4(){if(V5)return Rw;V5=1;var e=pc,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Rw=t,Rw}var Iw,Y5;function tte(){if(Y5)return Iw;Y5=1;var e=w4,t=_4,r=Lu,n=r("Object.prototype.toString"),i=ql(),a=typeof globalThis>"u"?en:globalThis,o=t(),u=r("Array.prototype.indexOf",!0)||function(C,O){for(var S=0;S<C.length;S+=1)if(C[S]===O)return S;return-1},l=r("String.prototype.slice"),f={},p=S4(),g=Object.getPrototypeOf;i&&p&&g&&e(o,function(y){var C=new a[y];if(Symbol.toStringTag in C){var O=g(C),S=p(O,Symbol.toStringTag);if(!S){var w=g(O);S=p(w,Symbol.toStringTag)}f[y]=S.get}});var v=function(C){var O=!1;return e(f,function(S,w){if(!O)try{O=S.call(C)===w}catch{}}),O};return Iw=function(C){if(!C||typeof C!="object")return!1;if(!i||!(Symbol.toStringTag in C)){var O=l(n(C),8,-1);return u(o,O)>-1}return p?v(C):!1},Iw}var E4=w4,rte=_4,C4=Lu,nte=C4("Object.prototype.toString"),A4=ql(),X5=typeof globalThis>"u"?en:globalThis,ite=rte(),ate=C4("String.prototype.slice"),T4={},Pw=S4(),kw=Object.getPrototypeOf;A4&&Pw&&kw&&E4(ite,function(e){if(typeof X5[e]=="function"){var t=new X5[e];if(Symbol.toStringTag in t){var r=kw(t),n=Pw(r,Symbol.toStringTag);if(!n){var i=kw(r);n=Pw(i,Symbol.toStringTag)}T4[e]=n.get}}});var ote=function(t){var r=!1;return E4(T4,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},ute=tte(),ste=function(t){return ute(t)?!A4||!(Symbol.toStringTag in t)?ate(nte(t),8,-1):ote(t):!1},lte=oA,fte=function(e){return typeof e<"u"&&e!==null},O4=L1(),R4=Lu,Q5=Object,cte=R4("Array.prototype.push"),K5=R4("Object.prototype.propertyIsEnumerable"),dte=O4?Object.getOwnPropertySymbols:null,I4=function(t,r){if(!fte(t))throw new TypeError("target must be an object");var n=Q5(t),i,a,o,u,l,f,p;for(i=1;i<arguments.length;++i){a=Q5(arguments[i]),u=lte(a);var g=O4&&(Object.getOwnPropertySymbols||dte);if(g)for(l=g(a),o=0;o<l.length;++o)p=l[o],K5(a,p)&&cte(u,p);for(o=0;o<u.length;++o)p=u[o],f=a[p],K5(a,p)&&(n[p]=f)}return n},Dw=I4,pte=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},hte=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},P4=function(){return!Object.assign||pte()||hte()?Dw:Object.assign},vte=hc,gte=P4,mte=function(){var t=gte();return vte(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},yte=hc,bte=bg.exports,xte=I4,k4=P4,wte=mte,_te=bte.apply(k4()),D4=function(t,r){return _te(Object,arguments)};yte(D4,{getPolyfill:k4,implementation:xte,shim:wte});var Ste=D4,Z5=oA,J5=HL,eI=NZ,tI=$Z,rI=rJ,nI=o4,iI=lJ,aI=jJ,Ete=pc,Ts=Lu,oI=KJ,Jd=l0.exports,Cte=Kee,uI=ste,M4=Ste,sI=Ts("Date.prototype.getTime"),Mw=Object.getPrototypeOf,lI=Ts("Object.prototype.toString"),yy=Ete("%Set%",!0),m2=Ts("Map.prototype.has",!0),by=Ts("Map.prototype.get",!0),fI=Ts("Map.prototype.size",!0),xy=Ts("Set.prototype.add",!0),N4=Ts("Set.prototype.delete",!0),wy=Ts("Set.prototype.has",!0),f0=Ts("Set.prototype.size",!0);function cI(e,t,r,n){for(var i=Jd(e),a;(a=i.next())&&!a.done;)if(xs(t,a.value,r,n))return N4(e,a.value),!0;return!1}function F4(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 Ate(e,t,r,n,i,a){var o=F4(r);if(o!=null)return o;var u=by(t,o),l=M4({},i,{strict:!1});return typeof u>"u"&&!m2(t,o)||!xs(n,u,l,a)?!1:!m2(e,o)&&xs(n,u,l,a)}function Tte(e,t,r){var n=F4(r);return n!=null?n:wy(t,n)&&!wy(e,n)}function dI(e,t,r,n,i,a){for(var o=Jd(e),u,l;(u=o.next())&&!u.done;)if(l=u.value,xs(r,l,i,a)&&xs(n,by(t,l),i,a))return N4(e,l),!0;return!1}function xs(e,t,r,n){var i=r||{};if(i.strict?eI(e,t):e===t)return!0;var a=aI(e),o=aI(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?eI(e,t):e==t;var u=n.has(e),l=n.has(t),f;if(u&&l){if(n.get(e)===n.get(t))return!0}else f={};return u||n.set(e,f),l||n.set(t,f),Ite(e,t,i,n)}function pI(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 Ote(e,t,r,n){if(f0(e)!==f0(t))return!1;for(var i=Jd(e),a=Jd(t),o,u,l;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")l||(l=new yy),xy(l,o.value);else if(!wy(t,o.value)){if(r.strict||!Tte(e,t,o.value))return!1;l||(l=new yy),xy(l,o.value)}if(l){for(;(u=a.next())&&!u.done;)if(u.value&&typeof u.value=="object"){if(!cI(l,u.value,r.strict,n))return!1}else if(!r.strict&&!wy(e,u.value)&&!cI(l,u.value,r.strict,n))return!1;return f0(l)===0}return!0}function Rte(e,t,r,n){if(fI(e)!==fI(t))return!1;for(var i=Jd(e),a=Jd(t),o,u,l,f,p,g;(o=i.next())&&!o.done;)if(f=o.value[0],p=o.value[1],f&&typeof f=="object")l||(l=new yy),xy(l,f);else if(g=by(t,f),typeof g>"u"&&!m2(t,f)||!xs(p,g,r,n)){if(r.strict||!Ate(e,t,f,p,r,n))return!1;l||(l=new yy),xy(l,f)}if(l){for(;(u=a.next())&&!u.done;)if(f=u.value[0],g=u.value[1],f&&typeof f=="object"){if(!dI(l,e,f,g,r,n))return!1}else if(!r.strict&&(!e.has(f)||!xs(by(e,f),g,r,n))&&!dI(l,e,f,g,M4({},r,{strict:!1}),n))return!1;return f0(l)===0}return!0}function Ite(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||lI(e)!==lI(t)||J5(e)!==J5(t))return!1;var o=nI(e),u=nI(t);if(o!==u)return!1;var l=e instanceof Error,f=t instanceof Error;if(l!==f||(l||f)&&(e.name!==t.name||e.message!==t.message))return!1;var p=tI(e),g=tI(t);if(p!==g||(p||g)&&(e.source!==t.source||rI(e)!==rI(t)))return!1;var v=iI(e),y=iI(t);if(v!==y||(v||y)&&sI(e)!==sI(t)||r.strict&&Mw&&Mw(e)!==Mw(t)||uI(e)!==uI(t))return!1;var C=pI(e),O=pI(t);if(C!==O)return!1;if(C||O){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 S=Z5(e),w=Z5(t);if(S.length!==w.length)return!1;for(S.sort(),w.sort(),i=S.length-1;i>=0;i--)if(S[i]!=w[i])return!1;for(i=S.length-1;i>=0;i--)if(a=S[i],!xs(e[a],t[a],r,n))return!1;var A=oI(e),R=oI(t);return A!==R?!1:A==="Set"||R==="Set"?Ote(e,t,r,n):A==="Map"?Rte(e,t,r,n):!0}var sde=function(t,r,n){return xs(t,r,n,Cte())},L4="Expected a function",hI=0/0,Pte="[object Symbol]",kte=/^\s+|\s+$/g,Dte=/^[-+]0x[0-9a-f]+$/i,Mte=/^0b[01]+$/i,Nte=/^0o[0-7]+$/i,Fte=parseInt,Lte=typeof en=="object"&&en&&en.Object===Object&&en,Bte=typeof self=="object"&&self&&self.Object===Object&&self,$te=Lte||Bte||Function("return this")(),zte=Object.prototype,jte=zte.toString,Ute=Math.max,Wte=Math.min,Nw=function(){return $te.Date.now()};function qte(e,t,r){var n,i,a,o,u,l,f=0,p=!1,g=!1,v=!0;if(typeof e!="function")throw new TypeError(L4);t=vI(t)||0,_y(r)&&(p=!!r.leading,g="maxWait"in r,a=g?Ute(vI(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v);function y(m){var G=n,L=i;return n=i=void 0,f=m,o=e.apply(L,G),o}function C(m){return f=m,u=setTimeout(w,t),p?y(m):o}function O(m){var G=m-l,L=m-f,$=t-G;return g?Wte($,a-L):$}function S(m){var G=m-l,L=m-f;return l===void 0||G>=t||G<0||g&&L>=a}function w(){var m=Nw();if(S(m))return A(m);u=setTimeout(w,O(m))}function A(m){return u=void 0,v&&n?y(m):(n=i=void 0,o)}function R(){u!==void 0&&clearTimeout(u),f=0,n=l=i=u=void 0}function P(){return u===void 0?o:A(Nw())}function N(){var m=Nw(),G=S(m);if(n=arguments,i=this,l=m,G){if(u===void 0)return C(l);if(g)return u=setTimeout(w,t),y(l)}return u===void 0&&(u=setTimeout(w,t)),o}return N.cancel=R,N.flush=P,N}function Gte(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(L4);return _y(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),qte(e,t,{leading:n,maxWait:t,trailing:i})}function _y(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Hte(e){return!!e&&typeof e=="object"}function Vte(e){return typeof e=="symbol"||Hte(e)&&jte.call(e)==Pte}function vI(e){if(typeof e=="number")return e;if(Vte(e))return hI;if(_y(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_y(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(kte,"");var r=Mte.test(e);return r||Nte.test(e)?Fte(e.slice(2),r?2:8):Dte.test(e)?hI:+e}var lde=Gte,B4={};B4.quote=function(e){return e.map(function(t){return t&&typeof t=="object"?t.op.replace(/(.)/g,"\\$1"):/["\s]/.test(t)&&!/'/.test(t)?"'"+t.replace(/(['\\])/g,"\\$1")+"'":/["'\s]/.test(t)?'"'+t.replace(/(["\\$`!])/g,"\\$1")+'"':String(t).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@\[\\\]^`{|}])/g,"$1\\$2")}).join(" ")};var Fw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(",">>",">\\&","[&;()|<>]"].join("|")+")",gI="|&;()<> \\t",Yte=`(\\\\['"`+gI+`]|[^\\s'"`+gI+"])+",Xte='"((\\\\"|[^"])*?)"',Qte="'((\\\\'|[^'])*?)'",Bf="";for(var mI=0;mI<4;mI++)Bf+=(Math.pow(16,8)*Math.random()).toString(16);B4.parse=function(e,t,r){var n=Kte(e,t,r);return typeof t!="function"?n:n.reduce(function(i,a){if(typeof a=="object")return i.concat(a);var o=a.split(RegExp("("+Bf+".*?"+Bf+")","g"));return o.length===1?i.concat(o[0]):i.concat(o.filter(Boolean).map(function(u){return RegExp("^"+Bf).test(u)?JSON.parse(u.split(Bf)[1]):u}))},[])};function Kte(e,t,r){var n=new RegExp(["("+Fw+")","("+Yte+"|"+Xte+"|"+Qte+")*"].join("|"),"g"),i=e.match(n).filter(Boolean),a=!1;if(!i)return[];return t||(t={}),r||(r={}),i.map(function(u,l){if(a)return;if(RegExp("^"+Fw+"$").test(u))return{op:u};for(var f="'",p='"',g="$",v=r.escape||"\\",y=!1,C=!1,O="",S=!1,w=0,A=u.length;w<A;w++){var R=u.charAt(w);if(S=S||!y&&(R==="*"||R==="?"),C)O+=R,C=!1;else if(y)R===y?y=!1:y==f?O+=R:R===v?(w+=1,R=u.charAt(w),R===p||R===v||R===g?O+=R:O+=v+R):R===g?O+=P():O+=R;else if(R===p||R===f)y=R;else{if(RegExp("^"+Fw+"$").test(R))return{op:u};if(RegExp("^#$").test(R))return a=!0,O.length?[O,{comment:u.slice(w+1)+i.slice(l+1).join(" ")}]:[{comment:u.slice(w+1)+i.slice(l+1).join(" ")}];R===v?C=!0:R===g?O+=P():O+=R}}if(S)return{op:"glob",pattern:O};return O;function P(){w+=1;var N,m;if(u.charAt(w)==="{"){if(w+=1,u.charAt(w)==="}")throw new Error("Bad substitution: "+u.substr(w-2,3));if(N=u.indexOf("}",w),N<0)throw new Error("Bad substitution: "+u.substr(w));m=u.substr(w,N-w),w=N}else/[*@#?$!_\-]/.test(u.charAt(w))?(m=u.charAt(w),w+=1):(N=u.substr(w).match(/[^\w\d_]/),N?(m=u.substr(w,N.index),w+=N.index-1):(m=u.substr(w),w=u.length));return o(null,"",m)}}).reduce(function(u,l){return l===void 0?u:u.concat(l)},[]);function o(u,l,f){var p=typeof t=="function"?t(f):t[f];return p===void 0&&f!=""?p="":p===void 0&&(p="$"),typeof p=="object"?l+Bf+JSON.stringify(p)+Bf:l+p}}var $4={exports:{}};/* @license
916
- Papa Parse
917
- v5.3.2
918
- https://github.com/mholt/PapaParse
919
- License: MIT
920
- */(function(e,t){(function(r,n){e.exports=n()})(en,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},i=!n.document&&!!n.postMessage,a=i&&/blob:/i.test((n.location||{}).protocol),o={},u=0,l={parse:function(L,$){var ae=($=$||{}).dynamicTyping||!1;if(G(ae)&&($.dynamicTypingFunction=ae,ae={}),$.dynamicTyping=ae,$.transform=!!G($.transform)&&$.transform,$.worker&&l.WORKERS_SUPPORTED){var ve=function(){if(!l.WORKERS_SUPPORTED)return!1;var Pe=(dt=n.URL||n.webkitURL||null,Je=r.toString(),l.BLOB_URL||(l.BLOB_URL=dt.createObjectURL(new Blob(["(",Je,")();"],{type:"text/javascript"})))),Fe=new n.Worker(Pe),dt,Je;return Fe.onmessage=A,Fe.id=u++,o[Fe.id]=Fe}();return ve.userStep=$.step,ve.userChunk=$.chunk,ve.userComplete=$.complete,ve.userError=$.error,$.step=G($.step),$.chunk=G($.chunk),$.complete=G($.complete),$.error=G($.error),delete $.worker,void ve.postMessage({input:L,config:$,workerId:ve.id})}var be=null;return l.NODE_STREAM_INPUT,typeof L=="string"?be=$.download?new g($):new y($):L.readable===!0&&G(L.read)&&G(L.on)?be=new C($):(n.File&&L instanceof File||L instanceof Object)&&(be=new v($)),be.stream(L)},unparse:function(L,$){var ae=!1,ve=!0,be=",",Pe=`\r
921
- `,Fe='"',dt=Fe+Fe,Je=!1,Te=null,Ye=!1;(function(){if(typeof $=="object"){if(typeof $.delimiter!="string"||l.BAD_DELIMITERS.filter(function(Re){return $.delimiter.indexOf(Re)!==-1}).length||(be=$.delimiter),(typeof $.quotes=="boolean"||typeof $.quotes=="function"||Array.isArray($.quotes))&&(ae=$.quotes),typeof $.skipEmptyLines!="boolean"&&typeof $.skipEmptyLines!="string"||(Je=$.skipEmptyLines),typeof $.newline=="string"&&(Pe=$.newline),typeof $.quoteChar=="string"&&(Fe=$.quoteChar),typeof $.header=="boolean"&&(ve=$.header),Array.isArray($.columns)){if($.columns.length===0)throw new Error("Option columns is empty");Te=$.columns}$.escapeChar!==void 0&&(dt=$.escapeChar+Fe),(typeof $.escapeFormulae=="boolean"||$.escapeFormulae instanceof RegExp)&&(Ye=$.escapeFormulae instanceof RegExp?$.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var nt=new RegExp(S(Fe),"g");if(typeof L=="string"&&(L=JSON.parse(L)),Array.isArray(L)){if(!L.length||Array.isArray(L[0]))return pt(null,L,Je);if(typeof L[0]=="object")return pt(Te||Object.keys(L[0]),L,Je)}else if(typeof L=="object")return typeof L.data=="string"&&(L.data=JSON.parse(L.data)),Array.isArray(L.data)&&(L.fields||(L.fields=L.meta&&L.meta.fields||Te),L.fields||(L.fields=Array.isArray(L.data[0])?L.fields:typeof L.data[0]=="object"?Object.keys(L.data[0]):[]),Array.isArray(L.data[0])||typeof L.data[0]=="object"||(L.data=[L.data])),pt(L.fields||[],L.data||[],Je);throw new Error("Unable to serialize unrecognized input");function pt(Re,ot,et){var ft="";typeof Re=="string"&&(Re=JSON.parse(Re)),typeof ot=="string"&&(ot=JSON.parse(ot));var At=Array.isArray(Re)&&0<Re.length,Gt=!Array.isArray(ot[0]);if(At&&ve){for(var Xt=0;Xt<Re.length;Xt++)0<Xt&&(ft+=be),ft+=Ie(Re[Xt],Xt);0<ot.length&&(ft+=Pe)}for(var Me=0;Me<ot.length;Me++){var yt=At?Re.length:ot[Me].length,Nt=!1,Ne=At?Object.keys(ot[Me]).length===0:ot[Me].length===0;if(et&&!At&&(Nt=et==="greedy"?ot[Me].join("").trim()==="":ot[Me].length===1&&ot[Me][0].length===0),et==="greedy"&&At){for(var H=[],oe=0;oe<yt;oe++){var K=Gt?Re[oe]:oe;H.push(ot[Me][K])}Nt=H.join("").trim()===""}if(!Nt){for(var ge=0;ge<yt;ge++){0<ge&&!Ne&&(ft+=be);var xt=At&&Gt?Re[ge]:ge;ft+=Ie(ot[Me][xt],ge)}Me<ot.length-1&&(!et||0<yt&&!Ne)&&(ft+=Pe)}}return ft}function Ie(Re,ot){if(Re==null)return"";if(Re.constructor===Date)return JSON.stringify(Re).slice(1,25);var et=!1;Ye&&typeof Re=="string"&&Ye.test(Re)&&(Re="'"+Re,et=!0);var ft=Re.toString().replace(nt,dt);return(et=et||ae===!0||typeof ae=="function"&&ae(Re,ot)||Array.isArray(ae)&&ae[ot]||function(At,Gt){for(var Xt=0;Xt<Gt.length;Xt++)if(-1<At.indexOf(Gt[Xt]))return!0;return!1}(ft,l.BAD_DELIMITERS)||-1<ft.indexOf(be)||ft.charAt(0)===" "||ft.charAt(ft.length-1)===" ")?Fe+ft+Fe:ft}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
922
- `,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!i&&!!n.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=w,l.ParserHandle=O,l.NetworkStreamer=g,l.FileStreamer=v,l.StringStreamer=y,l.ReadableStreamStreamer=C,n.jQuery){var f=n.jQuery;f.fn.parse=function(L){var $=L.config||{},ae=[];return this.each(function(Pe){if(!(f(this).prop("tagName").toUpperCase()==="INPUT"&&f(this).attr("type").toLowerCase()==="file"&&n.FileReader)||!this.files||this.files.length===0)return!0;for(var Fe=0;Fe<this.files.length;Fe++)ae.push({file:this.files[Fe],inputElem:this,instanceConfig:f.extend({},$)})}),ve(),this;function ve(){if(ae.length!==0){var Pe,Fe,dt,Je,Te=ae[0];if(G(L.before)){var Ye=L.before(Te.file,Te.inputElem);if(typeof Ye=="object"){if(Ye.action==="abort")return Pe="AbortError",Fe=Te.file,dt=Te.inputElem,Je=Ye.reason,void(G(L.error)&&L.error({name:Pe},Fe,dt,Je));if(Ye.action==="skip")return void be();typeof Ye.config=="object"&&(Te.instanceConfig=f.extend(Te.instanceConfig,Ye.config))}else if(Ye==="skip")return void be()}var nt=Te.instanceConfig.complete;Te.instanceConfig.complete=function(pt){G(nt)&&nt(pt,Te.file,Te.inputElem),be()},l.parse(Te.file,Te.instanceConfig)}else G(L.complete)&&L.complete()}function be(){ae.splice(0,1),ve()}}}function p(L){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function($){var ae=N($);ae.chunkSize=parseInt(ae.chunkSize),$.step||$.chunk||(ae.chunkSize=null),this._handle=new O(ae),(this._handle.streamer=this)._config=ae}.call(this,L),this.parseChunk=function($,ae){if(this.isFirstChunk&&G(this._config.beforeFirstChunk)){var ve=this._config.beforeFirstChunk($);ve!==void 0&&($=ve)}this.isFirstChunk=!1,this._halted=!1;var be=this._partialLine+$;this._partialLine="";var Pe=this._handle.parse(be,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var Fe=Pe.meta.cursor;this._finished||(this._partialLine=be.substring(Fe-this._baseIndex),this._baseIndex=Fe),Pe&&Pe.data&&(this._rowCount+=Pe.data.length);var dt=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(a)n.postMessage({results:Pe,workerId:l.WORKER_ID,finished:dt});else if(G(this._config.chunk)&&!ae){if(this._config.chunk(Pe,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Pe=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Pe.data),this._completeResults.errors=this._completeResults.errors.concat(Pe.errors),this._completeResults.meta=Pe.meta),this._completed||!dt||!G(this._config.complete)||Pe&&Pe.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),dt||Pe&&Pe.meta.paused||this._nextChunk(),Pe}this._halted=!0},this._sendError=function($){G(this._config.error)?this._config.error($):a&&this._config.error&&n.postMessage({workerId:l.WORKER_ID,error:$,finished:!1})}}function g(L){var $;(L=L||{}).chunkSize||(L.chunkSize=l.RemoteChunkSize),p.call(this,L),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(ae){this._input=ae,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if($=new XMLHttpRequest,this._config.withCredentials&&($.withCredentials=this._config.withCredentials),i||($.onload=m(this._chunkLoaded,this),$.onerror=m(this._chunkError,this)),$.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var ae=this._config.downloadRequestHeaders;for(var ve in ae)$.setRequestHeader(ve,ae[ve])}if(this._config.chunkSize){var be=this._start+this._config.chunkSize-1;$.setRequestHeader("Range","bytes="+this._start+"-"+be)}try{$.send(this._config.downloadRequestBody)}catch(Pe){this._chunkError(Pe.message)}i&&$.status===0&&this._chunkError()}},this._chunkLoaded=function(){$.readyState===4&&($.status<200||400<=$.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:$.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(ae){var ve=ae.getResponseHeader("Content-Range");return ve===null?-1:parseInt(ve.substring(ve.lastIndexOf("/")+1))}($),this.parseChunk($.responseText)))},this._chunkError=function(ae){var ve=$.statusText||ae;this._sendError(new Error(ve))}}function v(L){var $,ae;(L=L||{}).chunkSize||(L.chunkSize=l.LocalChunkSize),p.call(this,L);var ve=typeof FileReader<"u";this.stream=function(be){this._input=be,ae=be.slice||be.webkitSlice||be.mozSlice,ve?(($=new FileReader).onload=m(this._chunkLoaded,this),$.onerror=m(this._chunkError,this)):$=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var be=this._input;if(this._config.chunkSize){var Pe=Math.min(this._start+this._config.chunkSize,this._input.size);be=ae.call(be,this._start,Pe)}var Fe=$.readAsText(be,this._config.encoding);ve||this._chunkLoaded({target:{result:Fe}})},this._chunkLoaded=function(be){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(be.target.result)},this._chunkError=function(){this._sendError($.error)}}function y(L){var $;p.call(this,L=L||{}),this.stream=function(ae){return $=ae,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var ae,ve=this._config.chunkSize;return ve?(ae=$.substring(0,ve),$=$.substring(ve)):(ae=$,$=""),this._finished=!$,this.parseChunk(ae)}}}function C(L){p.call(this,L=L||{});var $=[],ae=!0,ve=!1;this.pause=function(){p.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){p.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(be){this._input=be,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){ve&&$.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),$.length?this.parseChunk($.shift()):ae=!0},this._streamData=m(function(be){try{$.push(typeof be=="string"?be:be.toString(this._config.encoding)),ae&&(ae=!1,this._checkIsFinished(),this.parseChunk($.shift()))}catch(Pe){this._streamError(Pe)}},this),this._streamError=m(function(be){this._streamCleanUp(),this._sendError(be)},this),this._streamEnd=m(function(){this._streamCleanUp(),ve=!0,this._streamData("")},this),this._streamCleanUp=m(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function O(L){var $,ae,ve,be=Math.pow(2,53),Pe=-be,Fe=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,dt=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,Je=this,Te=0,Ye=0,nt=!1,pt=!1,Ie=[],Re={data:[],errors:[],meta:{}};if(G(L.step)){var ot=L.step;L.step=function(Me){if(Re=Me,At())ft();else{if(ft(),Re.data.length===0)return;Te+=Me.data.length,L.preview&&Te>L.preview?ae.abort():(Re.data=Re.data[0],ot(Re,Je))}}}function et(Me){return L.skipEmptyLines==="greedy"?Me.join("").trim()==="":Me.length===1&&Me[0].length===0}function ft(){return Re&&ve&&(Xt("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),ve=!1),L.skipEmptyLines&&(Re.data=Re.data.filter(function(Me){return!et(Me)})),At()&&function(){if(!Re)return;function Me(Nt,Ne){G(L.transformHeader)&&(Nt=L.transformHeader(Nt,Ne)),Ie.push(Nt)}if(Array.isArray(Re.data[0])){for(var yt=0;At()&&yt<Re.data.length;yt++)Re.data[yt].forEach(Me);Re.data.splice(0,1)}else Re.data.forEach(Me)}(),function(){if(!Re||!L.header&&!L.dynamicTyping&&!L.transform)return Re;function Me(Nt,Ne){var H,oe=L.header?{}:[];for(H=0;H<Nt.length;H++){var K=H,ge=Nt[H];L.header&&(K=H>=Ie.length?"__parsed_extra":Ie[H]),L.transform&&(ge=L.transform(ge,K)),ge=Gt(K,ge),K==="__parsed_extra"?(oe[K]=oe[K]||[],oe[K].push(ge)):oe[K]=ge}return L.header&&(H>Ie.length?Xt("FieldMismatch","TooManyFields","Too many fields: expected "+Ie.length+" fields but parsed "+H,Ye+Ne):H<Ie.length&&Xt("FieldMismatch","TooFewFields","Too few fields: expected "+Ie.length+" fields but parsed "+H,Ye+Ne)),oe}var yt=1;return!Re.data.length||Array.isArray(Re.data[0])?(Re.data=Re.data.map(Me),yt=Re.data.length):Re.data=Me(Re.data,0),L.header&&Re.meta&&(Re.meta.fields=Ie),Ye+=yt,Re}()}function At(){return L.header&&Ie.length===0}function Gt(Me,yt){return Nt=Me,L.dynamicTypingFunction&&L.dynamicTyping[Nt]===void 0&&(L.dynamicTyping[Nt]=L.dynamicTypingFunction(Nt)),(L.dynamicTyping[Nt]||L.dynamicTyping)===!0?yt==="true"||yt==="TRUE"||yt!=="false"&&yt!=="FALSE"&&(function(Ne){if(Fe.test(Ne)){var H=parseFloat(Ne);if(Pe<H&&H<be)return!0}return!1}(yt)?parseFloat(yt):dt.test(yt)?new Date(yt):yt===""?null:yt):yt;var Nt}function Xt(Me,yt,Nt,Ne){var H={type:Me,code:yt,message:Nt};Ne!==void 0&&(H.row=Ne),Re.errors.push(H)}this.parse=function(Me,yt,Nt){var Ne=L.quoteChar||'"';if(L.newline||(L.newline=function(K,ge){K=K.substring(0,1048576);var xt=new RegExp(S(ge)+"([^]*?)"+S(ge),"gm"),It=(K=K.replace(xt,"")).split("\r"),mr=K.split(`
923
- `),Fr=1<mr.length&&mr[0].length<It[0].length;if(It.length===1||Fr)return`
924
- `;for(var zr=0,on=0;on<It.length;on++)It[on][0]===`
925
- `&&zr++;return zr>=It.length/2?`\r
926
- `:"\r"}(Me,Ne)),ve=!1,L.delimiter)G(L.delimiter)&&(L.delimiter=L.delimiter(Me),Re.meta.delimiter=L.delimiter);else{var H=function(K,ge,xt,It,mr){var Fr,zr,on,rn;mr=mr||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var Zr=0;Zr<mr.length;Zr++){var hn=mr[Zr],Mi=0,Ni=0,eo=0;on=void 0;for(var ia=new w({comments:It,delimiter:hn,newline:ge,preview:10}).parse(K),Kn=0;Kn<ia.data.length;Kn++)if(xt&&et(ia.data[Kn]))eo++;else{var to=ia.data[Kn].length;Ni+=to,on!==void 0?0<to&&(Mi+=Math.abs(to-on),on=to):on=to}0<ia.data.length&&(Ni/=ia.data.length-eo),(zr===void 0||Mi<=zr)&&(rn===void 0||rn<Ni)&&1.99<Ni&&(zr=Mi,Fr=hn,rn=Ni)}return{successful:!!(L.delimiter=Fr),bestDelimiter:Fr}}(Me,L.newline,L.skipEmptyLines,L.comments,L.delimitersToGuess);H.successful?L.delimiter=H.bestDelimiter:(ve=!0,L.delimiter=l.DefaultDelimiter),Re.meta.delimiter=L.delimiter}var oe=N(L);return L.preview&&L.header&&oe.preview++,$=Me,ae=new w(oe),Re=ae.parse($,yt,Nt),ft(),nt?{meta:{paused:!0}}:Re||{meta:{paused:!1}}},this.paused=function(){return nt},this.pause=function(){nt=!0,ae.abort(),$=G(L.chunk)?"":$.substring(ae.getCharIndex())},this.resume=function(){Je.streamer._halted?(nt=!1,Je.streamer.parseChunk($,!0)):setTimeout(Je.resume,3)},this.aborted=function(){return pt},this.abort=function(){pt=!0,ae.abort(),Re.meta.aborted=!0,G(L.complete)&&L.complete(Re),$=""}}function S(L){return L.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function w(L){var $,ae=(L=L||{}).delimiter,ve=L.newline,be=L.comments,Pe=L.step,Fe=L.preview,dt=L.fastMode,Je=$=L.quoteChar===void 0||L.quoteChar===null?'"':L.quoteChar;if(L.escapeChar!==void 0&&(Je=L.escapeChar),(typeof ae!="string"||-1<l.BAD_DELIMITERS.indexOf(ae))&&(ae=","),be===ae)throw new Error("Comment character same as delimiter");be===!0?be="#":(typeof be!="string"||-1<l.BAD_DELIMITERS.indexOf(be))&&(be=!1),ve!==`
927
- `&&ve!=="\r"&&ve!==`\r
928
- `&&(ve=`
929
- `);var Te=0,Ye=!1;this.parse=function(nt,pt,Ie){if(typeof nt!="string")throw new Error("Input must be a string");var Re=nt.length,ot=ae.length,et=ve.length,ft=be.length,At=G(Pe),Gt=[],Xt=[],Me=[],yt=Te=0;if(!nt)return rn();if(dt||dt!==!1&&nt.indexOf($)===-1){for(var Nt=nt.split(ve),Ne=0;Ne<Nt.length;Ne++){if(Me=Nt[Ne],Te+=Me.length,Ne!==Nt.length-1)Te+=ve.length;else if(Ie)return rn();if(!be||Me.substring(0,ft)!==be){if(At){if(Gt=[],mr(Me.split(ae)),Zr(),Ye)return rn()}else mr(Me.split(ae));if(Fe&&Fe<=Ne)return Gt=Gt.slice(0,Fe),rn(!0)}}return rn()}for(var H=nt.indexOf(ae,Te),oe=nt.indexOf(ve,Te),K=new RegExp(S(Je)+S($),"g"),ge=nt.indexOf($,Te);;)if(nt[Te]!==$)if(be&&Me.length===0&&nt.substring(Te,Te+ft)===be){if(oe===-1)return rn();Te=oe+et,oe=nt.indexOf(ve,Te),H=nt.indexOf(ae,Te)}else if(H!==-1&&(H<oe||oe===-1))Me.push(nt.substring(Te,H)),Te=H+ot,H=nt.indexOf(ae,Te);else{if(oe===-1)break;if(Me.push(nt.substring(Te,oe)),on(oe+et),At&&(Zr(),Ye))return rn();if(Fe&&Gt.length>=Fe)return rn(!0)}else for(ge=Te,Te++;;){if((ge=nt.indexOf($,ge+1))===-1)return Ie||Xt.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Gt.length,index:Te}),zr();if(ge===Re-1)return zr(nt.substring(Te,ge).replace(K,$));if($!==Je||nt[ge+1]!==Je){if($===Je||ge===0||nt[ge-1]!==Je){H!==-1&&H<ge+1&&(H=nt.indexOf(ae,ge+1)),oe!==-1&&oe<ge+1&&(oe=nt.indexOf(ve,ge+1));var xt=Fr(oe===-1?H:Math.min(H,oe));if(nt.substr(ge+1+xt,ot)===ae){Me.push(nt.substring(Te,ge).replace(K,$)),nt[Te=ge+1+xt+ot]!==$&&(ge=nt.indexOf($,Te)),H=nt.indexOf(ae,Te),oe=nt.indexOf(ve,Te);break}var It=Fr(oe);if(nt.substring(ge+1+It,ge+1+It+et)===ve){if(Me.push(nt.substring(Te,ge).replace(K,$)),on(ge+1+It+et),H=nt.indexOf(ae,Te),ge=nt.indexOf($,Te),At&&(Zr(),Ye))return rn();if(Fe&&Gt.length>=Fe)return rn(!0);break}Xt.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Gt.length,index:Te}),ge++}}else ge++}return zr();function mr(hn){Gt.push(hn),yt=Te}function Fr(hn){var Mi=0;if(hn!==-1){var Ni=nt.substring(ge+1,hn);Ni&&Ni.trim()===""&&(Mi=Ni.length)}return Mi}function zr(hn){return Ie||(hn===void 0&&(hn=nt.substring(Te)),Me.push(hn),Te=Re,mr(Me),At&&Zr()),rn()}function on(hn){Te=hn,mr(Me),Me=[],oe=nt.indexOf(ve,Te)}function rn(hn){return{data:Gt,errors:Xt,meta:{delimiter:ae,linebreak:ve,aborted:Ye,truncated:!!hn,cursor:yt+(pt||0)}}}function Zr(){Pe(rn()),Gt=[],Xt=[]}},this.abort=function(){Ye=!0},this.getCharIndex=function(){return Te}}function A(L){var $=L.data,ae=o[$.workerId],ve=!1;if($.error)ae.userError($.error,$.file);else if($.results&&$.results.data){var be={abort:function(){ve=!0,R($.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:P,resume:P};if(G(ae.userStep)){for(var Pe=0;Pe<$.results.data.length&&(ae.userStep({data:$.results.data[Pe],errors:$.results.errors,meta:$.results.meta},be),!ve);Pe++);delete $.results}else G(ae.userChunk)&&(ae.userChunk($.results,be,$.file),delete $.results)}$.finished&&!ve&&R($.workerId,$.results)}function R(L,$){var ae=o[L];G(ae.userComplete)&&ae.userComplete($),ae.terminate(),delete o[L]}function P(){throw new Error("Not implemented.")}function N(L){if(typeof L!="object"||L===null)return L;var $=Array.isArray(L)?[]:{};for(var ae in L)$[ae]=N(L[ae]);return $}function m(L,$){return function(){L.apply($,arguments)}}function G(L){return typeof L=="function"}return a&&(n.onmessage=function(L){var $=L.data;if(l.WORKER_ID===void 0&&$&&(l.WORKER_ID=$.workerId),typeof $.input=="string")n.postMessage({workerId:l.WORKER_ID,results:l.parse($.input,$.config),finished:!0});else if(n.File&&$.input instanceof File||$.input instanceof Object){var ae=l.parse($.input,$.config);ae&&n.postMessage({workerId:l.WORKER_ID,results:ae,finished:!0})}}),(g.prototype=Object.create(p.prototype)).constructor=g,(v.prototype=Object.create(p.prototype)).constructor=v,(y.prototype=Object.create(y.prototype)).constructor=y,(C.prototype=Object.create(p.prototype)).constructor=C,l})})($4);const fde=$4.exports;var Zte={exports:{}};/*! Native Promise Only
930
- v0.8.1 (c) Kyle Simpson
931
- MIT License: http://getify.mit-license.org
932
- */(function(e){(function(r,n,i){n[r]=n[r]||i(),e.exports&&(e.exports=n[r])})("Promise",typeof en<"u"?en:en,function(){var r,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(R){return setImmediate(R)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(R,P,N,m){return Object.defineProperty(R,P,{value:N,writable:!0,configurable:m!==!1})}}catch{r=function(P,N,m){return P[N]=m,P}}i=function(){var R,P,N;function m(G,L){this.fn=G,this.self=L,this.next=void 0}return{add:function(L,$){N=new m(L,$),P?P.next=N:R=N,P=N,N=void 0},drain:function(){var L=R;for(R=P=n=void 0;L;)L.fn.call(L.self),L=L.next}}}();function u(A,R){i.add(A,R),n||(n=o(i.drain))}function l(A){var R,P=typeof A;return A!=null&&(P=="object"||P=="function")&&(R=A.then),typeof R=="function"?R:!1}function f(){for(var A=0;A<this.chain.length;A++)p(this,this.state===1?this.chain[A].success:this.chain[A].failure,this.chain[A]);this.chain.length=0}function p(A,R,P){var N,m;try{R===!1?P.reject(A.msg):(R===!0?N=A.msg:N=R.call(void 0,A.msg),N===P.promise?P.reject(TypeError("Promise-chain cycle")):(m=l(N))?m.call(N,P.resolve,P.reject):P.resolve(N))}catch(G){P.reject(G)}}function g(A){var R,P=this;if(!P.triggered){P.triggered=!0,P.def&&(P=P.def);try{(R=l(A))?u(function(){var N=new C(P);try{R.call(A,function(){g.apply(N,arguments)},function(){v.apply(N,arguments)})}catch(m){v.call(N,m)}}):(P.msg=A,P.state=1,P.chain.length>0&&u(f,P))}catch(N){v.call(new C(P),N)}}}function v(A){var R=this;R.triggered||(R.triggered=!0,R.def&&(R=R.def),R.msg=A,R.state=2,R.chain.length>0&&u(f,R))}function y(A,R,P,N){for(var m=0;m<R.length;m++)(function(L){A.resolve(R[L]).then(function(ae){P(L,ae)},N)})(m)}function C(A){this.def=A,this.triggered=!1}function O(A){this.promise=A,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function S(A){if(typeof A!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var R=new O(this);this.then=function(N,m){var G={success:typeof N=="function"?N:!0,failure:typeof m=="function"?m:!1};return G.promise=new this.constructor(function($,ae){if(typeof $!="function"||typeof ae!="function")throw TypeError("Not a function");G.resolve=$,G.reject=ae}),R.chain.push(G),R.state!==0&&u(f,R),G.promise},this.catch=function(N){return this.then(void 0,N)};try{A.call(void 0,function(N){g.call(R,N)},function(N){v.call(R,N)})}catch(P){v.call(R,P)}}var w=r({},"constructor",S,!1);return S.prototype=w,r(w,"__NPO__",0,!1),r(S,"resolve",function(R){var P=this;return R&&typeof R=="object"&&R.__NPO__===1?R:new P(function(m,G){if(typeof m!="function"||typeof G!="function")throw TypeError("Not a function");m(R)})}),r(S,"reject",function(R){return new this(function(N,m){if(typeof N!="function"||typeof m!="function")throw TypeError("Not a function");m(R)})}),r(S,"all",function(R){var P=this;return a.call(R)!="[object Array]"?P.reject(TypeError("Not an array")):R.length===0?P.resolve([]):new P(function(m,G){if(typeof m!="function"||typeof G!="function")throw TypeError("Not a function");var L=R.length,$=Array(L),ae=0;y(P,R,function(be,Pe){$[be]=Pe,++ae===L&&m($)},G)})}),r(S,"race",function(R){var P=this;return a.call(R)!="[object Array]"?P.reject(TypeError("Not an array")):new P(function(m,G){if(typeof m!="function"||typeof G!="function")throw TypeError("Not a function");y(P,R,function($,ae){m(ae)},G)})}),S})})(Zte);var Jte={exports:{}};(function(e){(function(){var t={version:"3.8.0"},r=[].slice,n=function(s){return r.call(s)},i=self.document;function a(s){return s&&(s.ownerDocument||s.document||s).documentElement}function o(s){return s&&(s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView)}if(i)try{n(i.documentElement.childNodes)[0].nodeType}catch{n=function(c){for(var h=c.length,b=new Array(h);h--;)b[h]=c[h];return b}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,l=u.setAttribute,f=u.setAttributeNS,p=this.CSSStyleDeclaration.prototype,g=p.setProperty;u.setAttribute=function(c,h){l.call(this,c,h+"")},u.setAttributeNS=function(c,h,b){f.call(this,c,h,b+"")},p.setProperty=function(c,h,b){g.call(this,c,h+"",b)}}t.ascending=v;function v(s,c){return s<c?-1:s>c?1:s>=c?0:NaN}t.descending=function(s,c){return c<s?-1:c>s?1:c>=s?0:NaN},t.min=function(s,c){var h=-1,b=s.length,_,E;if(arguments.length===1){for(;++h<b;)if((E=s[h])!=null&&E>=E){_=E;break}for(;++h<b;)(E=s[h])!=null&&_>E&&(_=E)}else{for(;++h<b;)if((E=c.call(s,s[h],h))!=null&&E>=E){_=E;break}for(;++h<b;)(E=c.call(s,s[h],h))!=null&&_>E&&(_=E)}return _},t.max=function(s,c){var h=-1,b=s.length,_,E;if(arguments.length===1){for(;++h<b;)if((E=s[h])!=null&&E>=E){_=E;break}for(;++h<b;)(E=s[h])!=null&&E>_&&(_=E)}else{for(;++h<b;)if((E=c.call(s,s[h],h))!=null&&E>=E){_=E;break}for(;++h<b;)(E=c.call(s,s[h],h))!=null&&E>_&&(_=E)}return _},t.extent=function(s,c){var h=-1,b=s.length,_,E,D;if(arguments.length===1){for(;++h<b;)if((E=s[h])!=null&&E>=E){_=D=E;break}for(;++h<b;)(E=s[h])!=null&&(_>E&&(_=E),D<E&&(D=E))}else{for(;++h<b;)if((E=c.call(s,s[h],h))!=null&&E>=E){_=D=E;break}for(;++h<b;)(E=c.call(s,s[h],h))!=null&&(_>E&&(_=E),D<E&&(D=E))}return[_,D]};function y(s){return s===null?NaN:+s}function C(s){return!isNaN(s)}t.sum=function(s,c){var h=0,b=s.length,_,E=-1;if(arguments.length===1)for(;++E<b;)C(_=+s[E])&&(h+=_);else for(;++E<b;)C(_=+c.call(s,s[E],E))&&(h+=_);return h},t.mean=function(s,c){var h=0,b=s.length,_,E=-1,D=b;if(arguments.length===1)for(;++E<b;)C(_=y(s[E]))?h+=_:--D;else for(;++E<b;)C(_=y(c.call(s,s[E],E)))?h+=_:--D;if(D)return h/D},t.quantile=function(s,c){var h=(s.length-1)*c+1,b=Math.floor(h),_=+s[b-1],E=h-b;return E?_+E*(s[b]-_):_},t.median=function(s,c){var h=[],b=s.length,_,E=-1;if(arguments.length===1)for(;++E<b;)C(_=y(s[E]))&&h.push(_);else for(;++E<b;)C(_=y(c.call(s,s[E],E)))&&h.push(_);if(h.length)return t.quantile(h.sort(v),.5)},t.variance=function(s,c){var h=s.length,b=0,_,E,D=0,I=-1,M=0;if(arguments.length===1)for(;++I<h;)C(_=y(s[I]))&&(E=_-b,b+=E/++M,D+=E*(_-b));else for(;++I<h;)C(_=y(c.call(s,s[I],I)))&&(E=_-b,b+=E/++M,D+=E*(_-b));if(M>1)return D/(M-1)},t.deviation=function(){var s=t.variance.apply(this,arguments);return s&&Math.sqrt(s)};function O(s){return{left:function(c,h,b,_){for(arguments.length<3&&(b=0),arguments.length<4&&(_=c.length);b<_;){var E=b+_>>>1;s(c[E],h)<0?b=E+1:_=E}return b},right:function(c,h,b,_){for(arguments.length<3&&(b=0),arguments.length<4&&(_=c.length);b<_;){var E=b+_>>>1;s(c[E],h)>0?_=E:b=E+1}return b}}}var S=O(v);t.bisectLeft=S.left,t.bisect=t.bisectRight=S.right,t.bisector=function(s){return O(s.length===1?function(c,h){return v(s(c),h)}:s)},t.shuffle=function(s,c,h){(b=arguments.length)<3&&(h=s.length,b<2&&(c=0));for(var b=h-c,_,E;b;)E=Math.random()*b--|0,_=s[b+c],s[b+c]=s[E+c],s[E+c]=_;return s},t.permute=function(s,c){for(var h=c.length,b=new Array(h);h--;)b[h]=s[c[h]];return b},t.pairs=function(s){for(var c=0,h=s.length-1,b=s[0],_=new Array(h<0?0:h);c<h;)_[c]=[b,b=s[++c]];return _},t.transpose=function(s){if(!(E=s.length))return[];for(var c=-1,h=t.min(s,w),b=new Array(h);++c<h;)for(var _=-1,E,D=b[c]=new Array(E);++_<E;)D[_]=s[_][c];return b};function w(s){return s.length}t.zip=function(){return t.transpose(arguments)},t.keys=function(s){var c=[];for(var h in s)c.push(h);return c},t.values=function(s){var c=[];for(var h in s)c.push(s[h]);return c},t.entries=function(s){var c=[];for(var h in s)c.push({key:h,value:s[h]});return c},t.merge=function(s){for(var c=s.length,h,b=-1,_=0,E,D;++b<c;)_+=s[b].length;for(E=new Array(_);--c>=0;)for(D=s[c],h=D.length;--h>=0;)E[--_]=D[h];return E};var A=Math.abs;t.range=function(s,c,h){if(arguments.length<3&&(h=1,arguments.length<2&&(c=s,s=0)),(c-s)/h===1/0)throw new Error("infinite range");var b=[],_=R(A(h)),E=-1,D;if(s*=_,c*=_,h*=_,h<0)for(;(D=s+h*++E)>c;)b.push(D/_);else for(;(D=s+h*++E)<c;)b.push(D/_);return b};function R(s){for(var c=1;s*c%1;)c*=10;return c}function P(s,c){for(var h in c)Object.defineProperty(s.prototype,h,{value:c[h],enumerable:!1})}t.map=function(s,c){var h=new N;if(s instanceof N)s.forEach(function(I,M){h.set(I,M)});else if(Array.isArray(s)){var b=-1,_=s.length,E;if(arguments.length===1)for(;++b<_;)h.set(b,s[b]);else for(;++b<_;)h.set(c.call(s,E=s[b],b),E)}else for(var D in s)h.set(D,s[D]);return h};function N(){this._=Object.create(null)}var m="__proto__",G="\0";P(N,{has:ae,get:function(s){return this._[L(s)]},set:function(s,c){return this._[L(s)]=c},remove:ve,keys:be,values:function(){var s=[];for(var c in this._)s.push(this._[c]);return s},entries:function(){var s=[];for(var c in this._)s.push({key:$(c),value:this._[c]});return s},size:Pe,empty:Fe,forEach:function(s){for(var c in this._)s.call(this,$(c),this._[c])}});function L(s){return(s+="")===m||s[0]===G?G+s:s}function $(s){return(s+="")[0]===G?s.slice(1):s}function ae(s){return L(s)in this._}function ve(s){return(s=L(s))in this._&&delete this._[s]}function be(){var s=[];for(var c in this._)s.push($(c));return s}function Pe(){var s=0;for(var c in this._)++s;return s}function Fe(){for(var s in this._)return!1;return!0}t.nest=function(){var s={},c=[],h=[],b,_;function E(I,M,j){if(j>=c.length)return _?_.call(s,M):b?M.sort(b):M;for(var U=-1,V=M.length,Y=c[j++],he,me,Q,te=new N,ue;++U<V;)(ue=te.get(he=Y(me=M[U])))?ue.push(me):te.set(he,[me]);return I?(me=I(),Q=function(ye,xe){me.set(ye,E(I,xe,j))}):(me={},Q=function(ye,xe){me[ye]=E(I,xe,j)}),te.forEach(Q),me}function D(I,M){if(M>=c.length)return I;var j=[],U=h[M++];return I.forEach(function(V,Y){j.push({key:V,values:D(Y,M)})}),U?j.sort(function(V,Y){return U(V.key,Y.key)}):j}return s.map=function(I,M){return E(M,I,0)},s.entries=function(I){return D(E(t.map,I,0),0)},s.key=function(I){return c.push(I),s},s.sortKeys=function(I){return h[c.length-1]=I,s},s.sortValues=function(I){return b=I,s},s.rollup=function(I){return _=I,s},s},t.set=function(s){var c=new dt;if(s)for(var h=0,b=s.length;h<b;++h)c.add(s[h]);return c};function dt(){this._=Object.create(null)}P(dt,{has:ae,add:function(s){return this._[L(s+="")]=!0,s},remove:ve,values:be,size:Pe,empty:Fe,forEach:function(s){for(var c in this._)s.call(this,$(c))}}),t.behavior={};function Je(s){return s}t.rebind=function(s,c){for(var h=1,b=arguments.length,_;++h<b;)s[_=arguments[h]]=Te(s,c,c[_]);return s};function Te(s,c,h){return function(){var b=h.apply(c,arguments);return b===c?s:b}}function Ye(s,c){if(c in s)return c;c=c.charAt(0).toUpperCase()+c.slice(1);for(var h=0,b=nt.length;h<b;++h){var _=nt[h]+c;if(_ in s)return _}}var nt=["webkit","ms","moz","Moz","o","O"];function pt(){}t.dispatch=function(){for(var s=new Ie,c=-1,h=arguments.length;++c<h;)s[arguments[c]]=Re(s);return s};function Ie(){}Ie.prototype.on=function(s,c){var h=s.indexOf("."),b="";if(h>=0&&(b=s.slice(h+1),s=s.slice(0,h)),s)return arguments.length<2?this[s].on(b):this[s].on(b,c);if(arguments.length===2){if(c==null)for(s in this)this.hasOwnProperty(s)&&this[s].on(b,null);return this}};function Re(s){var c=[],h=new N;function b(){for(var _=c,E=-1,D=_.length,I;++E<D;)(I=_[E].on)&&I.apply(this,arguments);return s}return b.on=function(_,E){var D=h.get(_),I;return arguments.length<2?D&&D.on:(D&&(D.on=null,c=c.slice(0,I=c.indexOf(D)).concat(c.slice(I+1)),h.remove(_)),E&&c.push(h.set(_,{on:E})),s)},b}t.event=null;function ot(){t.event.preventDefault()}function et(){for(var s=t.event,c;c=s.sourceEvent;)s=c;return s}function ft(s){for(var c=new Ie,h=0,b=arguments.length;++h<b;)c[arguments[h]]=Re(c);return c.of=function(_,E){return function(D){try{var I=D.sourceEvent=t.event;D.target=s,t.event=D,c[D.type].apply(_,E)}finally{t.event=I}}},c}t.requote=function(s){return s.replace(At,"\\$&")};var At=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Gt={}.__proto__?function(s,c){s.__proto__=c}:function(s,c){for(var h in c)s[h]=c[h]};function Xt(s){return Gt(s,Ne),s}var Me=function(s,c){return c.querySelector(s)},yt=function(s,c){return c.querySelectorAll(s)},Nt=function(s,c){var h=s.matches||s[Ye(s,"matchesSelector")];return Nt=function(b,_){return h.call(b,_)},Nt(s,c)};typeof Sizzle=="function"&&(Me=function(s,c){return Sizzle(s,c)[0]||null},yt=Sizzle,Nt=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var Ne=t.selection.prototype=[];Ne.select=function(s){var c=[],h,b,_,E;s=H(s);for(var D=-1,I=this.length;++D<I;){c.push(h=[]),h.parentNode=(_=this[D]).parentNode;for(var M=-1,j=_.length;++M<j;)(E=_[M])?(h.push(b=s.call(E,E.__data__,M,D)),b&&"__data__"in E&&(b.__data__=E.__data__)):h.push(null)}return Xt(c)};function H(s){return typeof s=="function"?s:function(){return Me(s,this)}}Ne.selectAll=function(s){var c=[],h,b;s=oe(s);for(var _=-1,E=this.length;++_<E;)for(var D=this[_],I=-1,M=D.length;++I<M;)(b=D[I])&&(c.push(h=n(s.call(b,b.__data__,I,_))),h.parentNode=b);return Xt(c)};function oe(s){return typeof s=="function"?s:function(){return yt(s,this)}}var K="http://www.w3.org/1999/xhtml",ge={svg:"http://www.w3.org/2000/svg",xhtml:K,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:ge,qualify:function(s){var c=s.indexOf(":"),h=s;return c>=0&&(h=s.slice(0,c))!=="xmlns"&&(s=s.slice(c+1)),ge.hasOwnProperty(h)?{space:ge[h],local:s}:s}},Ne.attr=function(s,c){if(arguments.length<2){if(typeof s=="string"){var h=this.node();return s=t.ns.qualify(s),s.local?h.getAttributeNS(s.space,s.local):h.getAttribute(s)}for(c in s)this.each(xt(c,s[c]));return this}return this.each(xt(s,c))};function xt(s,c){s=t.ns.qualify(s);function h(){this.removeAttribute(s)}function b(){this.removeAttributeNS(s.space,s.local)}function _(){this.setAttribute(s,c)}function E(){this.setAttributeNS(s.space,s.local,c)}function D(){var M=c.apply(this,arguments);M==null?this.removeAttribute(s):this.setAttribute(s,M)}function I(){var M=c.apply(this,arguments);M==null?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,M)}return c==null?s.local?b:h:typeof c=="function"?s.local?I:D:s.local?E:_}function It(s){return s.trim().replace(/\s+/g," ")}Ne.classed=function(s,c){if(arguments.length<2){if(typeof s=="string"){var h=this.node(),b=(s=Fr(s)).length,_=-1;if(c=h.classList){for(;++_<b;)if(!c.contains(s[_]))return!1}else for(c=h.getAttribute("class");++_<b;)if(!mr(s[_]).test(c))return!1;return!0}for(c in s)this.each(zr(c,s[c]));return this}return this.each(zr(s,c))};function mr(s){return new RegExp("(?:^|\\s+)"+t.requote(s)+"(?:\\s+|$)","g")}function Fr(s){return(s+"").trim().split(/^|\s+/)}function zr(s,c){s=Fr(s).map(on);var h=s.length;function b(){for(var E=-1;++E<h;)s[E](this,c)}function _(){for(var E=-1,D=c.apply(this,arguments);++E<h;)s[E](this,D)}return typeof c=="function"?_:b}function on(s){var c=mr(s);return function(h,b){if(_=h.classList)return b?_.add(s):_.remove(s);var _=h.getAttribute("class")||"";b?(c.lastIndex=0,c.test(_)||h.setAttribute("class",It(_+" "+s))):h.setAttribute("class",It(_.replace(c," ")))}}Ne.style=function(s,c,h){var b=arguments.length;if(b<3){if(typeof s!="string"){b<2&&(c="");for(h in s)this.each(rn(h,s[h],c));return this}if(b<2){var _=this.node();return o(_).getComputedStyle(_,null).getPropertyValue(s)}h=""}return this.each(rn(s,c,h))};function rn(s,c,h){function b(){this.style.removeProperty(s)}function _(){this.style.setProperty(s,c,h)}function E(){var D=c.apply(this,arguments);D==null?this.style.removeProperty(s):this.style.setProperty(s,D,h)}return c==null?b:typeof c=="function"?E:_}Ne.property=function(s,c){if(arguments.length<2){if(typeof s=="string")return this.node()[s];for(c in s)this.each(Zr(c,s[c]));return this}return this.each(Zr(s,c))};function Zr(s,c){function h(){delete this[s]}function b(){this[s]=c}function _(){var E=c.apply(this,arguments);E==null?delete this[s]:this[s]=E}return c==null?h:typeof c=="function"?_:b}Ne.text=function(s){return arguments.length?this.each(typeof s=="function"?function(){var c=s.apply(this,arguments);this.textContent=c==null?"":c}:s==null?function(){this.textContent=""}:function(){this.textContent=s}):this.node().textContent},Ne.html=function(s){return arguments.length?this.each(typeof s=="function"?function(){var c=s.apply(this,arguments);this.innerHTML=c==null?"":c}:s==null?function(){this.innerHTML=""}:function(){this.innerHTML=s}):this.node().innerHTML},Ne.append=function(s){return s=hn(s),this.select(function(){return this.appendChild(s.apply(this,arguments))})};function hn(s){function c(){var b=this.ownerDocument,_=this.namespaceURI;return _===K&&b.documentElement.namespaceURI===K?b.createElement(s):b.createElementNS(_,s)}function h(){return this.ownerDocument.createElementNS(s.space,s.local)}return typeof s=="function"?s:(s=t.ns.qualify(s)).local?h:c}Ne.insert=function(s,c){return s=hn(s),c=H(c),this.select(function(){return this.insertBefore(s.apply(this,arguments),c.apply(this,arguments)||null)})},Ne.remove=function(){return this.each(Mi)};function Mi(){var s=this.parentNode;s&&s.removeChild(this)}Ne.data=function(s,c){var h=-1,b=this.length,_,E;if(!arguments.length){for(s=new Array(b=(_=this[0]).length);++h<b;)(E=_[h])&&(s[h]=E.__data__);return s}function D(U,V){var Y,he=U.length,me=V.length,Q=Math.min(he,me),te=new Array(me),ue=new Array(me),ye=new Array(he),xe,ce;if(c){var Ze=new N,st=new Array(he),Et;for(Y=-1;++Y<he;)(xe=U[Y])&&(Ze.has(Et=c.call(xe,xe.__data__,Y))?ye[Y]=xe:Ze.set(Et,xe),st[Y]=Et);for(Y=-1;++Y<me;)(xe=Ze.get(Et=c.call(V,ce=V[Y],Y)))?xe!==!0&&(te[Y]=xe,xe.__data__=ce):ue[Y]=Ni(ce),Ze.set(Et,!0);for(Y=-1;++Y<he;)Y in st&&Ze.get(st[Y])!==!0&&(ye[Y]=U[Y])}else{for(Y=-1;++Y<Q;)xe=U[Y],ce=V[Y],xe?(xe.__data__=ce,te[Y]=xe):ue[Y]=Ni(ce);for(;Y<me;++Y)ue[Y]=Ni(V[Y]);for(;Y<he;++Y)ye[Y]=U[Y]}ue.update=te,ue.parentNode=te.parentNode=ye.parentNode=U.parentNode,I.push(ue),M.push(te),j.push(ye)}var I=to([]),M=Xt([]),j=Xt([]);if(typeof s=="function")for(;++h<b;)D(_=this[h],s.call(_,_.parentNode.__data__,h));else for(;++h<b;)D(_=this[h],s);return M.enter=function(){return I},M.exit=function(){return j},M};function Ni(s){return{__data__:s}}Ne.datum=function(s){return arguments.length?this.property("__data__",s):this.property("__data__")},Ne.filter=function(s){var c=[],h,b,_;typeof s!="function"&&(s=eo(s));for(var E=0,D=this.length;E<D;E++){c.push(h=[]),h.parentNode=(b=this[E]).parentNode;for(var I=0,M=b.length;I<M;I++)(_=b[I])&&s.call(_,_.__data__,I,E)&&h.push(_)}return Xt(c)};function eo(s){return function(){return Nt(this,s)}}Ne.order=function(){for(var s=-1,c=this.length;++s<c;)for(var h=this[s],b=h.length-1,_=h[b],E;--b>=0;)(E=h[b])&&(_&&_!==E.nextSibling&&_.parentNode.insertBefore(E,_),_=E);return this},Ne.sort=function(s){s=ia.apply(this,arguments);for(var c=-1,h=this.length;++c<h;)this[c].sort(s);return this.order()};function ia(s){return arguments.length||(s=v),function(c,h){return c&&h?s(c.__data__,h.__data__):!c-!h}}Ne.each=function(s){return Kn(this,function(c,h,b){s.call(c,c.__data__,h,b)})};function Kn(s,c){for(var h=0,b=s.length;h<b;h++)for(var _=s[h],E=0,D=_.length,I;E<D;E++)(I=_[E])&&c(I,E,h);return s}Ne.call=function(s){var c=n(arguments);return s.apply(c[0]=this,c),this},Ne.empty=function(){return!this.node()},Ne.node=function(){for(var s=0,c=this.length;s<c;s++)for(var h=this[s],b=0,_=h.length;b<_;b++){var E=h[b];if(E)return E}return null},Ne.size=function(){var s=0;return Kn(this,function(){++s}),s};function to(s){return Gt(s,yi),s}var yi=[];t.selection.enter=to,t.selection.enter.prototype=yi,yi.append=Ne.append,yi.empty=Ne.empty,yi.node=Ne.node,yi.call=Ne.call,yi.size=Ne.size,yi.select=function(s){for(var c=[],h,b,_,E,D,I=-1,M=this.length;++I<M;){_=(E=this[I]).update,c.push(h=[]),h.parentNode=E.parentNode;for(var j=-1,U=E.length;++j<U;)(D=E[j])?(h.push(_[j]=b=s.call(E.parentNode,D.__data__,j,I)),b.__data__=D.__data__):h.push(null)}return Xt(c)},yi.insert=function(s,c){return arguments.length<2&&(c=Pa(this)),Ne.insert.call(this,s,c)};function Pa(s){var c,h;return function(b,_,E){var D=s[E].update,I=D.length,M;for(E!=h&&(h=E,c=0),_>=c&&(c=_+1);!(M=D[c])&&++c<I;);return M}}t.select=function(s){var c;return typeof s=="string"?(c=[Me(s,i)],c.parentNode=i.documentElement):(c=[s],c.parentNode=a(s)),Xt([c])},t.selectAll=function(s){var c;return typeof s=="string"?(c=n(yt(s,i)),c.parentNode=i.documentElement):(c=n(s),c.parentNode=null),Xt([c])},Ne.on=function(s,c,h){var b=arguments.length;if(b<3){if(typeof s!="string"){b<2&&(c=!1);for(h in s)this.each(Bu(h,s[h],c));return this}if(b<2)return(b=this.node()["__on"+s])&&b._;h=!1}return this.each(Bu(s,c,h))};function Bu(s,c,h){var b="__on"+s,_=s.indexOf("."),E=ni;_>0&&(s=s.slice(0,_));var D=$u.get(s);D&&(s=D,E=bi);function I(){var U=this[b];U&&(this.removeEventListener(s,U,U.$),delete this[b])}function M(){var U=E(c,n(arguments));I.call(this),this.addEventListener(s,this[b]=U,U.$=h),U._=c}function j(){var U=new RegExp("^__on([^.]+)"+t.requote(s)+"$"),V;for(var Y in this)if(V=Y.match(U)){var he=this[Y];this.removeEventListener(V[1],he,he.$),delete this[Y]}}return _?c?M:I:c?pt:j}var $u=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&$u.forEach(function(s){"on"+s in i&&$u.remove(s)});function ni(s,c){return function(h){var b=t.event;t.event=h,c[0]=this.__data__;try{s.apply(this,c)}finally{t.event=b}}}function bi(s,c){var h=ni(s,c);return function(b){var _=this,E=b.relatedTarget;(!E||E!==_&&!(E.compareDocumentPosition(_)&8))&&h.call(_,b)}}var ka,_p=0;function zu(s){var c=".dragsuppress-"+ ++_p,h="click"+c,b=t.select(o(s)).on("touchmove"+c,ot).on("dragstart"+c,ot).on("selectstart"+c,ot);if(ka==null&&(ka="onselectstart"in s?!1:Ye(s.style,"userSelect")),ka){var _=a(s).style,E=_[ka];_[ka]="none"}return function(D){if(b.on(c,null),ka&&(_[ka]=E),D){var I=function(){b.on(h,null)};b.on(h,function(){ot(),I()},!0),setTimeout(I,0)}}}t.mouse=function(s){return Zn(s,et())};var zn=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Zn(s,c){c.changedTouches&&(c=c.changedTouches[0]);var h=s.ownerSVGElement||s;if(h.createSVGPoint){var b=h.createSVGPoint();if(zn<0){var _=o(s);if(_.scrollX||_.scrollY){h=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var E=h[0][0].getScreenCTM();zn=!(E.f||E.e),h.remove()}}return zn?(b.x=c.pageX,b.y=c.pageY):(b.x=c.clientX,b.y=c.clientY),b=b.matrixTransform(s.getScreenCTM().inverse()),[b.x,b.y]}var D=s.getBoundingClientRect();return[c.clientX-D.left-s.clientLeft,c.clientY-D.top-s.clientTop]}t.touch=function(s,c,h){if(arguments.length<3&&(h=c,c=et().changedTouches),c){for(var b=0,_=c.length,E;b<_;++b)if((E=c[b]).identifier===h)return Zn(s,E)}},t.behavior.drag=function(){var s=ft(_,"drag","dragstart","dragend"),c=null,h=E(pt,t.mouse,o,"mousemove","mouseup"),b=E(jn,t.touch,Je,"touchmove","touchend");function _(){this.on("mousedown.drag",h).on("touchstart.drag",b)}function E(D,I,M,j,U){return function(){var V=this,Y=t.event.target.correspondingElement||t.event.target,he=V.parentNode,me=s.of(V,arguments),Q=0,te=D(),ue=".drag"+(te==null?"":"-"+te),ye,xe=t.select(M(Y)).on(j+ue,st).on(U+ue,Et),ce=zu(Y),Ze=I(he,te);c?(ye=c.apply(V,arguments),ye=[ye.x-Ze[0],ye.y-Ze[1]]):ye=[0,0],me({type:"dragstart"});function st(){var lt=I(he,te),Ot,$t;!lt||(Ot=lt[0]-Ze[0],$t=lt[1]-Ze[1],Q|=Ot|$t,Ze=lt,me({type:"drag",x:lt[0]+ye[0],y:lt[1]+ye[1],dx:Ot,dy:$t}))}function Et(){!I(he,te)||(xe.on(j+ue,null).on(U+ue,null),ce(Q),me({type:"dragend"}))}}}return _.origin=function(D){return arguments.length?(c=D,_):c},t.rebind(_,s,"on")};function jn(){return t.event.changedTouches[0].identifier}t.touches=function(s,c){return arguments.length<2&&(c=et().touches),c?n(c).map(function(h){var b=Zn(s,h);return b.identifier=h.identifier,b}):[]};var Lr=1e-6,yc=Lr*Lr,aa=Math.PI,Da=2*aa,bc=Da-Lr,ma=aa/2,xc=aa/180,tu=180/aa;function Sp(s,c,h){return(c[0]-s[0])*(h[1]-s[1])-(c[1]-s[1])*(h[0]-s[0])}function wc(s){return s>1?ma:s<-1?-ma:Math.asin(s)}function _c(s){return((s=Math.exp(s))-1/s)/2}function Sc(s){return((s=Math.exp(s))+1/s)/2}function ru(s){return((s=Math.exp(2*s))-1)/(s+1)}var nu=Math.SQRT2,ju=2,Uu=4;t.interpolateZoom=function(s,c){var h=s[0],b=s[1],_=s[2],E=c[0],D=c[1],I=c[2],M=E-h,j=D-b,U=M*M+j*j,V,Y;if(U<yc)Y=Math.log(I/_)/nu,V=function(ye){return[h+ye*M,b+ye*j,_*Math.exp(nu*ye*Y)]};else{var he=Math.sqrt(U),me=(I*I-_*_+Uu*U)/(2*_*ju*he),Q=(I*I-_*_-Uu*U)/(2*I*ju*he),te=Math.log(Math.sqrt(me*me+1)-me),ue=Math.log(Math.sqrt(Q*Q+1)-Q);Y=(ue-te)/nu,V=function(ye){var xe=ye*Y,ce=Sc(te),Ze=_/(ju*he)*(ce*ru(nu*xe+te)-_c(te));return[h+Ze*M,b+Ze*j,_*ce/Sc(nu*xe+te)]}}return V.duration=Y*1e3,V},t.behavior.zoom=function(){var s={x:0,y:0,k:1},c,h,b,_=[960,500],E=iu,D=250,I=0,M="mousedown.zoom",j="mousemove.zoom",U="mouseup.zoom",V,Y="touchstart.zoom",he,me=ft(xe,"zoomstart","zoom","zoomend"),Q,te,ue,ye;Io||(Io="onwheel"in i?(Os=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(Os=function(){return t.event.wheelDelta},"mousewheel"):(Os=function(){return-t.event.detail},"MozMousePixelScroll"));function xe(Ct){Ct.on(M,vr).on(Io+".zoom",En).on("dblclick.zoom",Qr).on(Y,jr)}xe.event=function(Ct){Ct.each(function(){var wr=me.of(this,arguments),Cr=s;jo?t.select(this).transition().each("start.zoom",function(){s=this.__chart__||{x:0,y:0,k:1},$t(wr)}).tween("zoom:zoom",function(){var Ur=_[0],mn=_[1],Dn=h?h[0]:Ur/2,Vn=h?h[1]:mn/2,Ai=t.interpolateZoom([(Dn-s.x)/s.k,(Vn-s.y)/s.k,Ur/s.k],[(Dn-Cr.x)/Cr.k,(Vn-Cr.y)/Cr.k,Ur/Cr.k]);return function($i){var fi=Ai($i),Ki=Ur/fi[2];this.__chart__=s={x:Dn-fi[0]*Ki,y:Vn-fi[1]*Ki,k:Ki},xr(wr)}}).each("interrupt.zoom",function(){qt(wr)}).each("end.zoom",function(){qt(wr)}):(this.__chart__=s,$t(wr),xr(wr),qt(wr))})},xe.translate=function(Ct){return arguments.length?(s={x:+Ct[0],y:+Ct[1],k:s.k},Ot(),xe):[s.x,s.y]},xe.scale=function(Ct){return arguments.length?(s={x:s.x,y:s.y,k:null},st(+Ct),Ot(),xe):s.k},xe.scaleExtent=function(Ct){return arguments.length?(E=Ct==null?iu:[+Ct[0],+Ct[1]],xe):E},xe.center=function(Ct){return arguments.length?(b=Ct&&[+Ct[0],+Ct[1]],xe):b},xe.size=function(Ct){return arguments.length?(_=Ct&&[+Ct[0],+Ct[1]],xe):_},xe.duration=function(Ct){return arguments.length?(D=+Ct,xe):D},xe.x=function(Ct){return arguments.length?(te=Ct,Q=Ct.copy(),s={x:0,y:0,k:1},xe):te},xe.y=function(Ct){return arguments.length?(ye=Ct,ue=Ct.copy(),s={x:0,y:0,k:1},xe):ye};function ce(Ct){return[(Ct[0]-s.x)/s.k,(Ct[1]-s.y)/s.k]}function Ze(Ct){return[Ct[0]*s.k+s.x,Ct[1]*s.k+s.y]}function st(Ct){s.k=Math.max(E[0],Math.min(E[1],Ct))}function Et(Ct,wr){wr=Ze(wr),s.x+=Ct[0]-wr[0],s.y+=Ct[1]-wr[1]}function lt(Ct,wr,Cr,Ur){Ct.__chart__={x:s.x,y:s.y,k:s.k},st(Math.pow(2,Ur)),Et(h=wr,Cr),Ct=t.select(Ct),D>0&&(Ct=Ct.transition().duration(D)),Ct.call(xe.event)}function Ot(){te&&te.domain(Q.range().map(function(Ct){return(Ct-s.x)/s.k}).map(Q.invert)),ye&&ye.domain(ue.range().map(function(Ct){return(Ct-s.y)/s.k}).map(ue.invert))}function $t(Ct){I++||Ct({type:"zoomstart"})}function xr(Ct){Ot(),Ct({type:"zoom",scale:s.k,translate:[s.x,s.y]})}function qt(Ct){--I||(Ct({type:"zoomend"}),h=null)}function vr(){var Ct=this,wr=me.of(Ct,arguments),Cr=0,Ur=t.select(o(Ct)).on(j,Vn).on(U,Ai),mn=ce(t.mouse(Ct)),Dn=zu(Ct);Vc.call(Ct),$t(wr);function Vn(){Cr=1,Et(t.mouse(Ct),mn),xr(wr)}function Ai(){Ur.on(j,null).on(U,null),Dn(Cr),qt(wr)}}function jr(){var Ct=this,wr=me.of(Ct,arguments),Cr={},Ur=0,mn,Dn=".zoom-"+t.event.changedTouches[0].identifier,Vn="touchmove"+Dn,Ai="touchend"+Dn,$i=[],fi=t.select(Ct),Ki=zu(Ct);Z(),$t(wr),fi.on(M,null).on(Y,Z);function F(){var Xe=t.touches(Ct);return mn=s.k,Xe.forEach(function($e){$e.identifier in Cr&&(Cr[$e.identifier]=ce($e))}),Xe}function Z(){var Xe=t.event.target;t.select(Xe).on(Vn,ie).on(Ai,We),$i.push(Xe);for(var $e=t.event.changedTouches,je=0,gt=$e.length;je<gt;++je)Cr[$e[je].identifier]=null;var mt=F(),St=Date.now();if(mt.length===1){if(St-he<500){var kt=mt[0];lt(Ct,kt,Cr[kt.identifier],Math.floor(Math.log(s.k)/Math.LN2)+1),ot()}he=St}else if(mt.length>1){var kt=mt[0],tr=mt[1],Vt=kt[0]-tr[0],Tt=kt[1]-tr[1];Ur=Vt*Vt+Tt*Tt}}function ie(){var Xe=t.touches(Ct),$e,je,gt,mt;Vc.call(Ct);for(var St=0,kt=Xe.length;St<kt;++St,mt=null)if(gt=Xe[St],mt=Cr[gt.identifier]){if(je)break;$e=gt,je=mt}if(mt){var tr=(tr=gt[0]-$e[0])*tr+(tr=gt[1]-$e[1])*tr,Vt=Ur&&Math.sqrt(tr/Ur);$e=[($e[0]+gt[0])/2,($e[1]+gt[1])/2],je=[(je[0]+mt[0])/2,(je[1]+mt[1])/2],st(Vt*mn)}he=null,Et($e,je),xr(wr)}function We(){if(t.event.touches.length){for(var Xe=t.event.changedTouches,$e=0,je=Xe.length;$e<je;++$e)delete Cr[Xe[$e].identifier];for(var gt in Cr)return void F()}t.selectAll($i).on(Dn,null),fi.on(M,vr).on(Y,jr),Ki(),qt(wr)}}function En(){var Ct=me.of(this,arguments);V?clearTimeout(V):(Vc.call(this),c=ce(h=b||t.mouse(this)),$t(Ct)),V=setTimeout(function(){V=null,qt(Ct)},50),ot(),st(Math.pow(2,Os()*.002)*s.k),Et(h,c),xr(Ct)}function Qr(){var Ct=t.mouse(this),wr=Math.log(s.k)/Math.LN2;lt(this,Ct,ce(Ct),t.event.shiftKey?Math.ceil(wr)-1:Math.floor(wr)+1)}return t.rebind(xe,me,"on")};var iu=[0,1/0],Os,Io;t.color=Ma;function Ma(){}Ma.prototype.toString=function(){return this.rgb()+""},t.hsl=Fi;function Fi(s,c,h){return this instanceof Fi?(this.h=+s,this.s=+c,void(this.l=+h)):arguments.length<2?s instanceof Fi?new Fi(s.h,s.s,s.l):No(""+s,Li,Fi):new Fi(s,c,h)}var Wu=Fi.prototype=new Ma;Wu.brighter=function(s){return s=Math.pow(.7,arguments.length?s:1),new Fi(this.h,this.s,this.l/s)},Wu.darker=function(s){return s=Math.pow(.7,arguments.length?s:1),new Fi(this.h,this.s,s*this.l)},Wu.rgb=function(){return qu(this.h,this.s,this.l)};function qu(s,c,h){var b,_;s=isNaN(s)?0:(s%=360)<0?s+360:s,c=isNaN(c)||c<0?0:c>1?1:c,h=h<0?0:h>1?1:h,_=h<=.5?h*(1+c):h+c-h*c,b=2*h-_;function E(I){return I>360?I-=360:I<0&&(I+=360),I<60?b+(_-b)*I/60:I<180?_:I<240?b+(_-b)*(240-I)/60:b}function D(I){return Math.round(E(I)*255)}return new Fn(D(s+120),D(s),D(s-120))}t.hcl=oa;function oa(s,c,h){return this instanceof oa?(this.h=+s,this.c=+c,void(this.l=+h)):arguments.length<2?s instanceof oa?new oa(s.h,s.c,s.l):s instanceof Nn?Do(s.l,s.a,s.b):Do((s=ro((s=t.rgb(s)).r,s.g,s.b)).l,s.a,s.b):new oa(s,c,h)}var Po=oa.prototype=new Ma;Po.brighter=function(s){return new oa(this.h,this.c,Math.min(100,this.l+ko*(arguments.length?s:1)))},Po.darker=function(s){return new oa(this.h,this.c,Math.max(0,this.l-ko*(arguments.length?s:1)))},Po.rgb=function(){return Gu(this.h,this.c,this.l).rgb()};function Gu(s,c,h){return isNaN(s)&&(s=0),isNaN(c)&&(c=0),new Nn(h,Math.cos(s*=xc)*c,Math.sin(s)*c)}t.lab=Nn;function Nn(s,c,h){return this instanceof Nn?(this.l=+s,this.a=+c,void(this.b=+h)):arguments.length<2?s instanceof Nn?new Nn(s.l,s.a,s.b):s instanceof oa?Gu(s.h,s.c,s.l):ro((s=Fn(s)).r,s.g,s.b):new Nn(s,c,h)}var ko=18,Rs=.95047,Is=1,Ps=1.08883,ks=Nn.prototype=new Ma;ks.brighter=function(s){return new Nn(Math.min(100,this.l+ko*(arguments.length?s:1)),this.a,this.b)},ks.darker=function(s){return new Nn(Math.max(0,this.l-ko*(arguments.length?s:1)),this.a,this.b)},ks.rgb=function(){return ii(this.l,this.a,this.b)};function ii(s,c,h){var b=(s+16)/116,_=b+c/500,E=b-h/200;return _=au(_)*Rs,b=au(b)*Is,E=au(E)*Ps,new Fn(Xl(3.2404542*_-1.5371385*b-.4985314*E),Xl(-.969266*_+1.8760108*b+.041556*E),Xl(.0556434*_-.2040259*b+1.0572252*E))}function Do(s,c,h){return s>0?new oa(Math.atan2(h,c)*tu,Math.sqrt(c*c+h*h),s):new oa(NaN,NaN,s)}function au(s){return s>.206893034?s*s*s:(s-4/29)/7.787037}function Yl(s){return s>.008856?Math.pow(s,1/3):7.787037*s+4/29}function Xl(s){return Math.round(255*(s<=.00304?12.92*s:1.055*Math.pow(s,1/2.4)-.055))}t.rgb=Fn;function Fn(s,c,h){return this instanceof Fn?(this.r=~~s,this.g=~~c,void(this.b=~~h)):arguments.length<2?s instanceof Fn?new Fn(s.r,s.g,s.b):No(""+s,Fn,qu):new Fn(s,c,h)}function Ql(s){return new Fn(s>>16,s>>8&255,s&255)}function Mo(s){return Ql(s)+""}var Na=Fn.prototype=new Ma;Na.brighter=function(s){s=Math.pow(.7,arguments.length?s:1);var c=this.r,h=this.g,b=this.b,_=30;return!c&&!h&&!b?new Fn(_,_,_):(c&&c<_&&(c=_),h&&h<_&&(h=_),b&&b<_&&(b=_),new Fn(Math.min(255,c/s),Math.min(255,h/s),Math.min(255,b/s)))},Na.darker=function(s){return s=Math.pow(.7,arguments.length?s:1),new Fn(s*this.r,s*this.g,s*this.b)},Na.hsl=function(){return Li(this.r,this.g,this.b)},Na.toString=function(){return"#"+ou(this.r)+ou(this.g)+ou(this.b)};function ou(s){return s<16?"0"+Math.max(0,s).toString(16):Math.min(255,s).toString(16)}function No(s,c,h){var b=0,_=0,E=0,D,I,M;if(D=/([a-z]+)\((.*)\)/.exec(s=s.toLowerCase()),D)switch(I=D[2].split(","),D[1]){case"hsl":return h(parseFloat(I[0]),parseFloat(I[1])/100,parseFloat(I[2])/100);case"rgb":return c(io(I[0]),io(I[1]),io(I[2]))}return(M=uu.get(s))?c(M.r,M.g,M.b):(s!=null&&s.charAt(0)==="#"&&!isNaN(M=parseInt(s.slice(1),16))&&(s.length===4?(b=(M&3840)>>4,b=b>>4|b,_=M&240,_=_>>4|_,E=M&15,E=E<<4|E):s.length===7&&(b=(M&16711680)>>16,_=(M&65280)>>8,E=M&255)),c(b,_,E))}function Li(s,c,h){var b=Math.min(s/=255,c/=255,h/=255),_=Math.max(s,c,h),E=_-b,D,I,M=(_+b)/2;return E?(I=M<.5?E/(_+b):E/(2-_-b),s==_?D=(c-h)/E+(c<h?6:0):c==_?D=(h-s)/E+2:D=(s-c)/E+4,D*=60):(D=NaN,I=M>0&&M<1?0:D),new Fi(D,I,M)}function ro(s,c,h){s=no(s),c=no(c),h=no(h);var b=Yl((.4124564*s+.3575761*c+.1804375*h)/Rs),_=Yl((.2126729*s+.7151522*c+.072175*h)/Is),E=Yl((.0193339*s+.119192*c+.9503041*h)/Ps);return Nn(116*_-16,500*(b-_),200*(_-E))}function no(s){return(s/=255)<=.04045?s/12.92:Math.pow((s+.055)/1.055,2.4)}function io(s){var c=parseFloat(s);return s.charAt(s.length-1)==="%"?Math.round(c*2.55):c}var uu=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});uu.forEach(function(s,c){uu.set(s,Ql(c))});function $r(s){return typeof s=="function"?s:function(){return s}}t.functor=$r,t.xhr=Fa(Je);function Fa(s){return function(c,h,b){return arguments.length===2&&typeof h=="function"&&(b=h,h=null),su(c,h,s,b)}}function su(s,c,h,b){var _={},E=t.dispatch("beforesend","progress","load","error"),D={},I=new XMLHttpRequest,M=null;self.XDomainRequest&&!("withCredentials"in I)&&/^(http(s)?:)?\/\//.test(s)&&(I=new XDomainRequest),"onload"in I?I.onload=I.onerror=j:I.onreadystatechange=function(){I.readyState>3&&j()};function j(){var U=I.status,V;if(!U&&Cc(I)||U>=200&&U<300||U===304){try{V=h.call(_,I)}catch(Y){E.error.call(_,Y);return}E.load.call(_,V)}else E.error.call(_,I)}return I.onprogress=function(U){var V=t.event;t.event=U;try{E.progress.call(_,I)}finally{t.event=V}},_.header=function(U,V){return U=(U+"").toLowerCase(),arguments.length<2?D[U]:(V==null?delete D[U]:D[U]=V+"",_)},_.mimeType=function(U){return arguments.length?(c=U==null?null:U+"",_):c},_.responseType=function(U){return arguments.length?(M=U,_):M},_.response=function(U){return h=U,_},["get","post"].forEach(function(U){_[U]=function(){return _.send.apply(_,[U].concat(n(arguments)))}}),_.send=function(U,V,Y){if(arguments.length===2&&typeof V=="function"&&(Y=V,V=null),I.open(U,s,!0),c!=null&&!("accept"in D)&&(D.accept=c+",*/*"),I.setRequestHeader)for(var he in D)I.setRequestHeader(he,D[he]);return c!=null&&I.overrideMimeType&&I.overrideMimeType(c),M!=null&&(I.responseType=M),Y!=null&&_.on("error",Y).on("load",function(me){Y(null,me)}),E.beforesend.call(_,I),I.send(V==null?null:V),_},_.abort=function(){return I.abort(),_},t.rebind(_,E,"on"),b==null?_:_.get(Ec(b))}function Ec(s){return s.length===1?function(c,h){s(c==null?h:null)}:s}function Cc(s){var c=s.responseType;return c&&c!=="text"?s.response:s.responseText}t.dsv=function(s,c){var h=new RegExp('["'+s+`
933
- ]`),b=s.charCodeAt(0);function _(j,U,V){arguments.length<3&&(V=U,U=null);var Y=su(j,c,U==null?E:D(U),V);return Y.row=function(he){return arguments.length?Y.response((U=he)==null?E:D(he)):U},Y}function E(j){return _.parse(j.responseText)}function D(j){return function(U){return _.parse(U.responseText,j)}}_.parse=function(j,U){var V;return _.parseRows(j,function(Y,he){if(V)return V(Y,he-1);var me=function(Q){for(var te={},ue=Y.length,ye=0;ye<ue;++ye)te[Y[ye]]=Q[ye];return te};V=U?function(Q,te){return U(me(Q),te)}:me})},_.parseRows=function(j,U){var V={},Y={},he=[],me=j.length,Q=0,te=0,ue,ye;function xe(){if(Q>=me)return Y;if(ye)return ye=!1,V;var Ze=Q;if(j.charCodeAt(Ze)===34){for(var st=Ze;st++<me;)if(j.charCodeAt(st)===34){if(j.charCodeAt(st+1)!==34)break;++st}Q=st+2;var Et=j.charCodeAt(st+1);return Et===13?(ye=!0,j.charCodeAt(st+2)===10&&++Q):Et===10&&(ye=!0),j.slice(Ze+1,st).replace(/""/g,'"')}for(;Q<me;){var Et=j.charCodeAt(Q++),lt=1;if(Et===10)ye=!0;else if(Et===13)ye=!0,j.charCodeAt(Q)===10&&(++Q,++lt);else if(Et!==b)continue;return j.slice(Ze,Q-lt)}return j.slice(Ze)}for(;(ue=xe())!==Y;){for(var ce=[];ue!==V&&ue!==Y;)ce.push(ue),ue=xe();U&&(ce=U(ce,te++))==null||he.push(ce)}return he},_.format=function(j){if(Array.isArray(j[0]))return _.formatRows(j);var U=new dt,V=[];return j.forEach(function(Y){for(var he in Y)U.has(he)||V.push(U.add(he))}),[V.map(M).join(s)].concat(j.map(function(Y){return V.map(function(he){return M(Y[he])}).join(s)})).join(`
934
- `)},_.formatRows=function(j){return j.map(I).join(`
935
- `)};function I(j){return j.map(M).join(s)}function M(j){return h.test(j)?'"'+j.replace(/\"/g,'""')+'"':j}return _},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv(" ","text/tab-separated-values");var Hu,La,Xi,lu,ua=this[Ye(this,"requestAnimationFrame")]||function(s){setTimeout(s,17)};t.timer=function(){Fo.apply(this,arguments)};function Fo(s,c,h){var b=arguments.length;b<2&&(c=0),b<3&&(h=Date.now());var _=h+c,E={c:s,t:_,n:null};return La?La.n=E:Hu=E,La=E,Xi||(lu=clearTimeout(lu),Xi=1,ua(fu)),E}function fu(){var s=ao(),c=cu()-s;c>24?(isFinite(c)&&(clearTimeout(lu),lu=setTimeout(fu,c)),Xi=0):(Xi=1,ua(fu))}t.timer.flush=function(){ao(),cu()};function ao(){for(var s=Date.now(),c=Hu;c;)s>=c.t&&c.c(s-c.t)&&(c.c=null),c=c.n;return s}function cu(){for(var s,c=Hu,h=1/0;c;)c.c?(c.t<h&&(h=c.t),c=(s=c).n):c=s?s.n=c.n:Hu=c.n;return La=s,h}t.round=function(s,c){return c?Math.round(s*(c=Math.pow(10,c)))/c:Math.round(s)},t.geom={};function Ba(s){return s[0]}function $a(s){return s[1]}t.geom.hull=function(s){var c=Ba,h=$a;if(arguments.length)return b(s);function b(_){if(_.length<3)return[];var E=$r(c),D=$r(h),I,M=_.length,j=[],U=[];for(I=0;I<M;I++)j.push([+E.call(this,_[I],I),+D.call(this,_[I],I),I]);for(j.sort(Ac),I=0;I<M;I++)U.push([j[I][0],-j[I][1]]);var V=Vu(j),Y=Vu(U),he=Y[0]===V[0],me=Y[Y.length-1]===V[V.length-1],Q=[];for(I=V.length-1;I>=0;--I)Q.push(_[j[V[I]][2]]);for(I=+he;I<Y.length-me;++I)Q.push(_[j[Y[I]][2]]);return Q}return b.x=function(_){return arguments.length?(c=_,b):c},b.y=function(_){return arguments.length?(h=_,b):h},b};function Vu(s){for(var c=s.length,h=[0,1],b=2,_=2;_<c;_++){for(;b>1&&Sp(s[h[b-2]],s[h[b-1]],s[_])<=0;)--b;h[b++]=_}return h.slice(0,b)}function Ac(s,c){return s[0]-c[0]||s[1]-c[1]}t.geom.polygon=function(s){return Gt(s,du),s};var du=t.geom.polygon.prototype=[];du.area=function(){for(var s=-1,c=this.length,h,b=this[c-1],_=0;++s<c;)h=b,b=this[s],_+=h[1]*b[0]-h[0]*b[1];return _*.5},du.centroid=function(s){var c=-1,h=this.length,b=0,_=0,E,D=this[h-1],I;for(arguments.length||(s=-1/(6*this.area()));++c<h;)E=D,D=this[c],I=E[0]*D[1]-D[0]*E[1],b+=(E[0]+D[0])*I,_+=(E[1]+D[1])*I;return[b*s,_*s]},du.clip=function(s){for(var c,h=Zl(s),b=-1,_=this.length-Zl(this),E,D,I=this[_-1],M,j,U;++b<_;){for(c=s.slice(),s.length=0,M=this[b],j=c[(D=c.length-h)-1],E=-1;++E<D;)U=c[E],Ds(U,I,M)?(Ds(j,I,M)||s.push(Kl(j,U,I,M)),s.push(U)):Ds(j,I,M)&&s.push(Kl(j,U,I,M)),j=U;h&&s.push(s[0]),I=M}return s};function Ds(s,c,h){return(h[0]-c[0])*(s[1]-c[1])<(h[1]-c[1])*(s[0]-c[0])}function Kl(s,c,h,b){var _=s[0],E=h[0],D=c[0]-_,I=b[0]-E,M=s[1],j=h[1],U=c[1]-M,V=b[1]-j,Y=(I*(M-j)-V*(_-E))/(V*D-I*U);return[_+Y*D,M+Y*U]}function Zl(s){var c=s[0],h=s[s.length-1];return!(c[0]-h[0]||c[1]-h[1])}var oo,uo,ya,pu=[],hu,za,Lo=[];function Jl(){cr(this),this.edge=this.site=this.circle=null}function Ms(s){var c=pu.pop()||new Jl;return c.site=s,c}function ja(s){B(s),ya.remove(s),pu.push(s),cr(s)}function Ns(s){var c=s.circle,h=c.x,b=c.cy,_={x:h,y:b},E=s.P,D=s.N,I=[s];ja(s);for(var M=E;M.circle&&A(h-M.circle.x)<Lr&&A(b-M.circle.cy)<Lr;)E=M.P,I.unshift(M),ja(M),M=E;I.unshift(M),B(M);for(var j=D;j.circle&&A(h-j.circle.x)<Lr&&A(b-j.circle.cy)<Lr;)D=j.N,I.push(j),ja(j),j=D;I.push(j),B(j);var U=I.length,V;for(V=1;V<U;++V)j=I[V],M=I[V-1],ht(j.edge,M.site,j.site,_);M=I[0],j=I[U-1],j.edge=Ce(M.site,j.site,null,_),k(M),k(j)}function Fs(s){for(var c=s.x,h=s.y,b,_,E,D,I=ya._;I;)if(E=ef(I,h)-c,E>Lr)I=I.L;else if(D=c-Tc(I,h),D>Lr){if(!I.R){b=I;break}I=I.R}else{E>-Lr?(b=I.P,_=I):D>-Lr?(b=I,_=I.N):b=_=I;break}var M=Ms(s);if(ya.insert(b,M),!(!b&&!_)){if(b===_){B(b),_=Ms(b.site),ya.insert(M,_),M.edge=_.edge=Ce(b.site,M.site),k(b),k(_);return}if(!_){M.edge=Ce(b.site,M.site);return}B(b),B(_);var j=b.site,U=j.x,V=j.y,Y=s.x-U,he=s.y-V,me=_.site,Q=me.x-U,te=me.y-V,ue=2*(Y*te-he*Q),ye=Y*Y+he*he,xe=Q*Q+te*te,ce={x:(te*ye-he*xe)/ue+U,y:(Y*xe-Q*ye)/ue+V};ht(_.edge,j,me,ce),M.edge=Ce(j,s,null,ce),_.edge=Ce(s,me,null,ce),k(b),k(_)}}function ef(s,c){var h=s.site,b=h.x,_=h.y,E=_-c;if(!E)return b;var D=s.P;if(!D)return-1/0;h=D.site;var I=h.x,M=h.y,j=M-c;if(!j)return I;var U=I-b,V=1/E-1/j,Y=U/j;return V?(-Y+Math.sqrt(Y*Y-2*V*(U*U/(-2*j)-M+j/2+_-E/2)))/V+b:(b+I)/2}function Tc(s,c){var h=s.N;if(h)return ef(h,c);var b=s.site;return b.y===c?b.x:1/0}function tf(s){this.site=s,this.edges=[]}tf.prototype.prepare=function(){for(var s=this.edges,c=s.length,h;c--;)h=s[c].edge,(!h.b||!h.a)&&s.splice(c,1);return s.sort(x),s.length};function d(s){for(var c=s[0][0],h=s[1][0],b=s[0][1],_=s[1][1],E,D,I,M,j=uo,U=j.length,V,Y,he,me,Q,te;U--;)if(V=j[U],!(!V||!V.prepare()))for(he=V.edges,me=he.length,Y=0;Y<me;)te=he[Y].end(),I=te.x,M=te.y,Q=he[++Y%me].start(),E=Q.x,D=Q.y,(A(I-E)>Lr||A(M-D)>Lr)&&(he.splice(Y,0,new Le(He(V.site,te,A(I-c)<Lr&&_-M>Lr?{x:c,y:A(E-c)<Lr?D:_}:A(M-_)<Lr&&h-I>Lr?{x:A(D-_)<Lr?E:h,y:_}:A(I-h)<Lr&&M-b>Lr?{x:h,y:A(E-h)<Lr?D:b}:A(M-b)<Lr&&I-c>Lr?{x:A(D-b)<Lr?E:c,y:b}:null),V.site,null)),++me)}function x(s,c){return c.angle-s.angle}function T(){cr(this),this.x=this.y=this.arc=this.site=this.cy=null}function k(s){var c=s.P,h=s.N;if(!(!c||!h)){var b=c.site,_=s.site,E=h.site;if(b!==E){var D=_.x,I=_.y,M=b.x-D,j=b.y-I,U=E.x-D,te=E.y-I,V=2*(M*te-j*U);if(!(V>=-yc)){var Y=M*M+j*j,he=U*U+te*te,me=(te*Y-j*he)/V,Q=(M*he-U*Y)/V,te=Q+I,ue=Lo.pop()||new T;ue.arc=s,ue.site=_,ue.x=me+D,ue.y=te+Math.sqrt(me*me+Q*Q),ue.cy=te,s.circle=ue;for(var ye=null,xe=za._;xe;)if(ue.y<xe.y||ue.y===xe.y&&ue.x<=xe.x)if(xe.L)xe=xe.L;else{ye=xe.P;break}else if(xe.R)xe=xe.R;else{ye=xe;break}za.insert(ye,ue),ye||(hu=ue)}}}}function B(s){var c=s.circle;c&&(c.P||(hu=c.N),za.remove(c),Lo.push(c),cr(c),s.circle=null)}function z(s,c,h,b){return function(_){var E=_.a,D=_.b,I=E.x,M=E.y,j=D.x,U=D.y,V=0,Y=1,he=j-I,me=U-M,Q;if(Q=s-I,!(!he&&Q>0)){if(Q/=he,he<0){if(Q<V)return;Q<Y&&(Y=Q)}else if(he>0){if(Q>Y)return;Q>V&&(V=Q)}if(Q=h-I,!(!he&&Q<0)){if(Q/=he,he<0){if(Q>Y)return;Q>V&&(V=Q)}else if(he>0){if(Q<V)return;Q<Y&&(Y=Q)}if(Q=c-M,!(!me&&Q>0)){if(Q/=me,me<0){if(Q<V)return;Q<Y&&(Y=Q)}else if(me>0){if(Q>Y)return;Q>V&&(V=Q)}if(Q=b-M,!(!me&&Q<0)){if(Q/=me,me<0){if(Q>Y)return;Q>V&&(V=Q)}else if(me>0){if(Q<V)return;Q<Y&&(Y=Q)}return V>0&&(_.a={x:I+V*he,y:M+V*me}),Y<1&&(_.b={x:I+Y*he,y:M+Y*me}),_}}}}}}function W(s){for(var c=oo,h=z(s[0][0],s[0][1],s[1][0],s[1][1]),b=c.length,_;b--;)_=c[b],(!le(_,s)||!h(_)||A(_.a.x-_.b.x)<Lr&&A(_.a.y-_.b.y)<Lr)&&(_.a=_.b=null,c.splice(b,1))}function le(s,c){var h=s.b;if(h)return!0;var b=s.a,_=c[0][0],E=c[1][0],D=c[0][1],I=c[1][1],M=s.l,j=s.r,U=M.x,V=M.y,Y=j.x,he=j.y,me=(U+Y)/2,Q=(V+he)/2,te,ue;if(he===V){if(me<_||me>=E)return;if(U>Y){if(!b)b={x:me,y:D};else if(b.y>=I)return;h={x:me,y:I}}else{if(!b)b={x:me,y:I};else if(b.y<D)return;h={x:me,y:D}}}else if(te=(U-Y)/(he-V),ue=Q-te*me,te<-1||te>1)if(U>Y){if(!b)b={x:(D-ue)/te,y:D};else if(b.y>=I)return;h={x:(I-ue)/te,y:I}}else{if(!b)b={x:(I-ue)/te,y:I};else if(b.y<D)return;h={x:(D-ue)/te,y:D}}else if(V<he){if(!b)b={x:_,y:te*_+ue};else if(b.x>=E)return;h={x:E,y:te*E+ue}}else{if(!b)b={x:E,y:te*E+ue};else if(b.x<_)return;h={x:_,y:te*_+ue}}return s.a=b,s.b=h,!0}function de(s,c){this.l=s,this.r=c,this.a=this.b=null}function Ce(s,c,h,b){var _=new de(s,c);return oo.push(_),h&&ht(_,s,c,h),b&&ht(_,c,s,b),uo[s.i].edges.push(new Le(_,s,c)),uo[c.i].edges.push(new Le(_,c,s)),_}function He(s,c,h){var b=new de(s,null);return b.a=c,b.b=h,oo.push(b),b}function ht(s,c,h,b){!s.a&&!s.b?(s.a=b,s.l=c,s.r=h):s.l===h?s.b=b:s.a=b}function Le(s,c,h){var b=s.a,_=s.b;this.edge=s,this.site=c,this.angle=h?Math.atan2(h.y-c.y,h.x-c.x):s.l===c?Math.atan2(_.x-b.x,b.y-_.y):Math.atan2(b.x-_.x,_.y-b.y)}Le.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 Ke(){this._=null}function cr(s){s.U=s.C=s.L=s.R=s.P=s.N=null}Ke.prototype={insert:function(s,c){var h,b,_;if(s){if(c.P=s,c.N=s.N,s.N&&(s.N.P=c),s.N=c,s.R){for(s=s.R;s.L;)s=s.L;s.L=c}else s.R=c;h=s}else this._?(s=Sn(this._),c.P=null,c.N=s,s.P=s.L=c,h=s):(c.P=c.N=null,this._=c,h=null);for(c.L=c.R=null,c.U=h,c.C=!0,s=c;h&&h.C;)b=h.U,h===b.L?(_=b.R,_&&_.C?(h.C=_.C=!1,b.C=!0,s=b):(s===h.R&&(Sr(this,h),s=h,h=s.U),h.C=!1,b.C=!0,sr(this,b))):(_=b.L,_&&_.C?(h.C=_.C=!1,b.C=!0,s=b):(s===h.L&&(sr(this,h),s=h,h=s.U),h.C=!1,b.C=!0,Sr(this,b))),h=s.U;this._.C=!1},remove:function(s){s.N&&(s.N.P=s.P),s.P&&(s.P.N=s.N),s.N=s.P=null;var c=s.U,h,b=s.L,_=s.R,E,D;if(b?_?E=Sn(_):E=b:E=_,c?c.L===s?c.L=E:c.R=E:this._=E,b&&_?(D=E.C,E.C=s.C,E.L=b,b.U=E,E!==_?(c=E.U,E.U=s.U,s=E.R,c.L=s,E.R=_,_.U=E):(E.U=c,c=E,s=E.R)):(D=s.C,s=E),s&&(s.U=c),!D){if(s&&s.C){s.C=!1;return}do{if(s===this._)break;if(s===c.L){if(h=c.R,h.C&&(h.C=!1,c.C=!0,Sr(this,c),h=c.R),h.L&&h.L.C||h.R&&h.R.C){(!h.R||!h.R.C)&&(h.L.C=!1,h.C=!0,sr(this,h),h=c.R),h.C=c.C,c.C=h.R.C=!1,Sr(this,c),s=this._;break}}else if(h=c.L,h.C&&(h.C=!1,c.C=!0,sr(this,c),h=c.L),h.L&&h.L.C||h.R&&h.R.C){(!h.L||!h.L.C)&&(h.R.C=!1,h.C=!0,Sr(this,h),h=c.L),h.C=c.C,c.C=h.L.C=!1,sr(this,c),s=this._;break}h.C=!0,s=c,c=c.U}while(!s.C);s&&(s.C=!1)}}};function Sr(s,c){var h=c,b=c.R,_=h.U;_?_.L===h?_.L=b:_.R=b:s._=b,b.U=_,h.U=b,h.R=b.L,h.R&&(h.R.U=h),b.L=h}function sr(s,c){var h=c,b=c.L,_=h.U;_?_.L===h?_.L=b:_.R=b:s._=b,b.U=_,h.U=b,h.L=b.R,h.L&&(h.L.U=h),b.R=h}function Sn(s){for(;s.L;)s=s.L;return s}function xn(s,c){var h=s.sort(xi).pop(),b,_,E;for(oo=[],uo=new Array(s.length),ya=new Ke,za=new Ke;;)if(E=hu,h&&(!E||h.y<E.y||h.y===E.y&&h.x<E.x))(h.x!==b||h.y!==_)&&(uo[h.i]=new tf(h),Fs(h),b=h.x,_=h.y),h=s.pop();else if(E)Ns(E.arc);else break;c&&(W(c),d(c));var D={cells:uo,edges:oo};return ya=za=oo=uo=null,D}function xi(s,c){return c.y-s.y||c.x-s.x}t.geom.voronoi=function(s){var c=Ba,h=$a,b=c,_=h,E=Hr;if(s)return D(s);function D(M){var j=new Array(M.length),U=E[0][0],V=E[0][1],Y=E[1][0],he=E[1][1];return xn(I(M),E).cells.forEach(function(me,Q){var te=me.edges,ue=me.site,ye=j[Q]=te.length?te.map(function(xe){var ce=xe.start();return[ce.x,ce.y]}):ue.x>=U&&ue.x<=Y&&ue.y>=V&&ue.y<=he?[[U,he],[Y,he],[Y,V],[U,V]]:[];ye.point=M[Q]}),j}function I(M){return M.map(function(j,U){return{x:Math.round(b(j,U)/Lr)*Lr,y:Math.round(_(j,U)/Lr)*Lr,i:U}})}return D.links=function(M){return xn(I(M)).edges.filter(function(j){return j.l&&j.r}).map(function(j){return{source:M[j.l.i],target:M[j.r.i]}})},D.triangles=function(M){var j=[];return xn(I(M)).cells.forEach(function(U,V){for(var Y=U.site,he=U.edges.sort(x),me=-1,Q=he.length,te,ue=he[Q-1].edge,ye=ue.l===Y?ue.r:ue.l;++me<Q;)te=ye,ue=he[me].edge,ye=ue.l===Y?ue.r:ue.l,V<te.i&&V<ye.i&&Rr(Y,te,ye)<0&&j.push([M[V],M[te.i],M[ye.i]])}),j},D.x=function(M){return arguments.length?(b=$r(c=M),D):c},D.y=function(M){return arguments.length?(_=$r(h=M),D):h},D.clipExtent=function(M){return arguments.length?(E=M==null?Hr:M,D):E===Hr?null:E},D.size=function(M){return arguments.length?D.clipExtent(M&&[[0,0],M]):E===Hr?null:E&&E[1]},D};var Hr=[[-1e6,-1e6],[1e6,1e6]];function Rr(s,c,h){return(s.x-h.x)*(c.y-s.y)-(s.x-c.x)*(h.y-s.y)}t.geom.delaunay=function(s){return t.geom.voronoi().triangles(s)},t.geom.quadtree=function(s,c,h,b,_){var E=Ba,D=$a,I;if(I=arguments.length)return E=Gn,D=Vr,I===3&&(_=h,b=c,h=c=0),M(s);function M(j){var U,V=$r(E),Y=$r(D),he,me,Q,te,ue,ye,xe,ce;if(c!=null)ue=c,ye=h,xe=b,ce=_;else if(xe=ce=-(ue=ye=1/0),he=[],me=[],te=j.length,I)for(Q=0;Q<te;++Q)U=j[Q],U.x<ue&&(ue=U.x),U.y<ye&&(ye=U.y),U.x>xe&&(xe=U.x),U.y>ce&&(ce=U.y),he.push(U.x),me.push(U.y);else for(Q=0;Q<te;++Q){var Ze=+V(U=j[Q],Q),st=+Y(U,Q);Ze<ue&&(ue=Ze),st<ye&&(ye=st),Ze>xe&&(xe=Ze),st>ce&&(ce=st),he.push(Ze),me.push(st)}var Et=xe-ue,lt=ce-ye;Et>lt?ce=ye+Et:xe=ue+lt;function Ot(qt,vr,jr,En,Qr,Ct,wr,Cr){if(!(isNaN(jr)||isNaN(En)))if(qt.leaf){var Ur=qt.x,mn=qt.y;if(Ur!=null)if(A(Ur-jr)+A(mn-En)<.01)$t(qt,vr,jr,En,Qr,Ct,wr,Cr);else{var Dn=qt.point;qt.x=qt.y=qt.point=null,$t(qt,Dn,Ur,mn,Qr,Ct,wr,Cr),$t(qt,vr,jr,En,Qr,Ct,wr,Cr)}else qt.x=jr,qt.y=En,qt.point=vr}else $t(qt,vr,jr,En,Qr,Ct,wr,Cr)}function $t(qt,vr,jr,En,Qr,Ct,wr,Cr){var Ur=(Qr+wr)*.5,mn=(Ct+Cr)*.5,Dn=jr>=Ur,Vn=En>=mn,Ai=Vn<<1|Dn;qt.leaf=!1,qt=qt.nodes[Ai]||(qt.nodes[Ai]=vn()),Dn?Qr=Ur:wr=Ur,Vn?Ct=mn:Cr=mn,Ot(qt,vr,jr,En,Qr,Ct,wr,Cr)}var xr=vn();if(xr.add=function(qt){Ot(xr,qt,+V(qt,++Q),+Y(qt,Q),ue,ye,xe,ce)},xr.visit=function(qt){Ua(qt,xr,ue,ye,xe,ce)},xr.find=function(qt){return Ls(xr,qt[0],qt[1],ue,ye,xe,ce)},Q=-1,c==null){for(;++Q<te;)Ot(xr,j[Q],he[Q],me[Q],ue,ye,xe,ce);--Q}else j.forEach(xr.add);return he=me=j=U=null,xr}return M.x=function(j){return arguments.length?(E=j,M):E},M.y=function(j){return arguments.length?(D=j,M):D},M.extent=function(j){return arguments.length?(j==null?c=h=b=_=null:(c=+j[0][0],h=+j[0][1],b=+j[1][0],_=+j[1][1]),M):c==null?null:[[c,h],[b,_]]},M.size=function(j){return arguments.length?(j==null?c=h=b=_=null:(c=h=0,b=+j[0],_=+j[1]),M):c==null?null:[b-c,_-h]},M};function Gn(s){return s.x}function Vr(s){return s.y}function vn(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Ua(s,c,h,b,_,E){if(!s(c,h,b,_,E)){var D=(h+_)*.5,I=(b+E)*.5,M=c.nodes;M[0]&&Ua(s,M[0],h,b,D,I),M[1]&&Ua(s,M[1],D,b,_,I),M[2]&&Ua(s,M[2],h,I,D,E),M[3]&&Ua(s,M[3],D,I,_,E)}}function Ls(s,c,h,b,_,E,D){var I=1/0,M;return function j(U,V,Y,he,me){if(!(V>E||Y>D||he<b||me<_)){if(Q=U.point){var Q,te=c-U.x,ue=h-U.y,ye=te*te+ue*ue;if(ye<I){var xe=Math.sqrt(I=ye);b=c-xe,_=h-xe,E=c+xe,D=h+xe,M=Q}}for(var ce=U.nodes,Ze=(V+he)*.5,st=(Y+me)*.5,Et=c>=Ze,lt=h>=st,Ot=lt<<1|Et,$t=Ot+4;Ot<$t;++Ot)if(U=ce[Ot&3])switch(Ot&3){case 0:j(U,V,Y,Ze,st);break;case 1:j(U,Ze,Y,he,st);break;case 2:j(U,V,st,Ze,me);break;case 3:j(U,Ze,st,he,me);break}}}(s,b,_,E,D),M}t.interpolateRgb=ai;function ai(s,c){s=t.rgb(s),c=t.rgb(c);var h=s.r,b=s.g,_=s.b,E=c.r-h,D=c.g-b,I=c.b-_;return function(M){return"#"+ou(Math.round(h+E*M))+ou(Math.round(b+D*M))+ou(Math.round(_+I*M))}}t.interpolateObject=so;function so(s,c){var h={},b={},_;for(_ in s)_ in c?h[_]=Hn(s[_],c[_]):b[_]=s[_];for(_ in c)_ in s||(b[_]=c[_]);return function(E){for(_ in h)b[_]=h[_](E);return b}}t.interpolateNumber=oi;function oi(s,c){return s=+s,c=+c,function(h){return s*(1-h)+c*h}}t.interpolateString=Jn;function Jn(s,c){var h=wi.lastIndex=_i.lastIndex=0,b,_,E,D=-1,I=[],M=[];for(s=s+"",c=c+"";(b=wi.exec(s))&&(_=_i.exec(c));)(E=_.index)>h&&(E=c.slice(h,E),I[D]?I[D]+=E:I[++D]=E),(b=b[0])===(_=_[0])?I[D]?I[D]+=_:I[++D]=_:(I[++D]=null,M.push({i:D,x:oi(b,_)})),h=_i.lastIndex;return h<c.length&&(E=c.slice(h),I[D]?I[D]+=E:I[++D]=E),I.length<2?M[0]?(c=M[0].x,function(j){return c(j)+""}):function(){return c}:(c=M.length,function(j){for(var U=0,V;U<c;++U)I[(V=M[U]).i]=V.x(j);return I.join("")})}var wi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_i=new RegExp(wi.source,"g");t.interpolate=Hn;function Hn(s,c){for(var h=t.interpolators.length,b;--h>=0&&!(b=t.interpolators[h](s,c)););return b}t.interpolators=[function(s,c){var h=typeof c;return(h==="string"?uu.has(c.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(c)?ai:Jn:c instanceof Ma?ai:Array.isArray(c)?ui:h==="object"&&isNaN(c)?so:oi)(s,c)}],t.interpolateArray=ui;function ui(s,c){var h=[],b=[],_=s.length,E=c.length,D=Math.min(s.length,c.length),I;for(I=0;I<D;++I)h.push(Hn(s[I],c[I]));for(;I<_;++I)b[I]=s[I];for(;I<E;++I)b[I]=c[I];return function(M){for(I=0;I<D;++I)b[I]=h[I](M);return b}}var Bi=function(){return Je},Bs=t.map({linear:Bi,poly:Ln,quad:function(){return Oc},cubic:function(){return zs},sin:function(){return Rc},exp:function(){return Ic},circle:function(){return Bo},elastic:Xu,back:Pc,bounce:function(){return Ep}}),Jr=t.map({in:Je,out:$s,"in-out":Yu,"out-in":function(s){return Yu($s(s))}});t.ease=function(s){var c=s.indexOf("-"),h=c>=0?s.slice(0,c):s,b=c>=0?s.slice(c+1):"in";return h=Bs.get(h)||Bi,b=Jr.get(b)||Je,lo(b(h.apply(null,r.call(arguments,1))))};function lo(s){return function(c){return c<=0?0:c>=1?1:s(c)}}function $s(s){return function(c){return 1-s(1-c)}}function Yu(s){return function(c){return .5*(c<.5?s(2*c):2-s(2-2*c))}}function Oc(s){return s*s}function zs(s){return s*s*s}function vu(s){if(s<=0)return 0;if(s>=1)return 1;var c=s*s,h=c*s;return 4*(s<.5?h:3*(s-c)+h-.75)}function Ln(s){return function(c){return Math.pow(c,s)}}function Rc(s){return 1-Math.cos(s*ma)}function Ic(s){return Math.pow(2,10*(s-1))}function Bo(s){return 1-Math.sqrt(1-s*s)}function Xu(s,c){var h;return arguments.length<2&&(c=.45),arguments.length?h=c/Da*Math.asin(1/s):(s=1,h=c/4),function(b){return 1+s*Math.pow(2,-10*b)*Math.sin((b-h)*Da/c)}}function Pc(s){return s||(s=1.70158),function(c){return c*c*((s+1)*c-s)}}function Ep(s){return s<1/2.75?7.5625*s*s:s<2/2.75?7.5625*(s-=1.5/2.75)*s+.75:s<2.5/2.75?7.5625*(s-=2.25/2.75)*s+.9375:7.5625*(s-=2.625/2.75)*s+.984375}t.interpolateHcl=Cp;function Cp(s,c){s=t.hcl(s),c=t.hcl(c);var h=s.h,b=s.c,_=s.l,E=c.h-h,D=c.c-b,I=c.l-_;return isNaN(D)&&(D=0,b=isNaN(b)?c.c:b),isNaN(E)?(E=0,h=isNaN(h)?c.h:h):E>180?E-=360:E<-180&&(E+=360),function(M){return Gu(h+E*M,b+D*M,_+I*M)+""}}t.interpolateHsl=Qu;function Qu(s,c){s=t.hsl(s),c=t.hsl(c);var h=s.h,b=s.s,_=s.l,E=c.h-h,D=c.s-b,I=c.l-_;return isNaN(D)&&(D=0,b=isNaN(b)?c.s:b),isNaN(E)?(E=0,h=isNaN(h)?c.h:h):E>180?E-=360:E<-180&&(E+=360),function(M){return qu(h+E*M,b+D*M,_+I*M)+""}}t.interpolateLab=Ap;function Ap(s,c){s=t.lab(s),c=t.lab(c);var h=s.l,b=s.a,_=s.b,E=c.l-h,D=c.a-b,I=c.b-_;return function(M){return ii(h+E*M,b+D*M,_+I*M)+""}}t.interpolateRound=gu;function gu(s,c){return c-=s,function(h){return Math.round(s+c*h)}}t.transform=function(s){var c=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(h){if(h!=null){c.setAttribute("transform",h);var b=c.transform.baseVal.consolidate()}return new sa(b?b.matrix:kc)})(s)};function sa(s){var c=[s.a,s.b],h=[s.c,s.d],b=js(c),_=ba(c,h),E=js(rf(h,c,-_))||0;c[0]*h[1]<h[0]*c[1]&&(c[0]*=-1,c[1]*=-1,b*=-1,_*=-1),this.rotate=(b?Math.atan2(c[1],c[0]):Math.atan2(-h[0],h[1]))*tu,this.translate=[s.e,s.f],this.scale=[b,E],this.skew=E?Math.atan2(_,E)*tu:0}sa.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function ba(s,c){return s[0]*c[0]+s[1]*c[1]}function js(s){var c=Math.sqrt(ba(s,s));return c&&(s[0]/=c,s[1]/=c),c}function rf(s,c,h){return s[0]+=h*c[0],s[1]+=h*c[1],s}var kc={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=Ku;function Wa(s){return s.length?s.pop()+",":""}function ln(s,c,h,b){if(s[0]!==c[0]||s[1]!==c[1]){var _=h.push("translate(",null,",",null,")");b.push({i:_-4,x:oi(s[0],c[0])},{i:_-2,x:oi(s[1],c[1])})}else(c[0]||c[1])&&h.push("translate("+c+")")}function la(s,c,h,b){s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),b.push({i:h.push(Wa(h)+"rotate(",null,")")-2,x:oi(s,c)})):c&&h.push(Wa(h)+"rotate("+c+")")}function Si(s,c,h,b){s!==c?b.push({i:h.push(Wa(h)+"skewX(",null,")")-2,x:oi(s,c)}):c&&h.push(Wa(h)+"skewX("+c+")")}function Qi(s,c,h,b){if(s[0]!==c[0]||s[1]!==c[1]){var _=h.push(Wa(h)+"scale(",null,",",null,")");b.push({i:_-4,x:oi(s[0],c[0])},{i:_-2,x:oi(s[1],c[1])})}else(c[0]!==1||c[1]!==1)&&h.push(Wa(h)+"scale("+c+")")}function Ku(s,c){var h=[],b=[];return s=t.transform(s),c=t.transform(c),ln(s.translate,c.translate,h,b),la(s.rotate,c.rotate,h,b),Si(s.skew,c.skew,h,b),Qi(s.scale,c.scale,h,b),s=c=null,function(_){for(var E=-1,D=b.length,I;++E<D;)h[(I=b[E]).i]=I.x(_);return h.join("")}}function nf(s,c){return c=(c-=s=+s)||1/c,function(h){return(h-s)/c}}function Dc(s,c){return c=(c-=s=+s)||1/c,function(h){return Math.max(0,Math.min(1,(h-s)/c))}}t.layout={},t.layout.bundle=function(){return function(s){for(var c=[],h=-1,b=s.length;++h<b;)c.push(Mc(s[h]));return c}};function Mc(s){for(var c=s.source,h=s.target,b=fo(c,h),_=[c];c!==b;)c=c.parent,_.push(c);for(var E=_.length;h!==b;)_.splice(E,0,h),h=h.parent;return _}function Us(s){for(var c=[],h=s.parent;h!=null;)c.push(s),s=h,h=h.parent;return c.push(s),c}function fo(s,c){if(s===c)return s;for(var h=Us(s),b=Us(c),_=h.pop(),E=b.pop(),D=null;_===E;)D=_,_=h.pop(),E=b.pop();return D}t.layout.chord=function(){var s={},c,h,b,_,E=0,D,I,M;function j(){var V={},Y=[],he=t.range(_),me=[],Q,te,ue,ye,xe;for(c=[],h=[],Q=0,ye=-1;++ye<_;){for(te=0,xe=-1;++xe<_;)te+=b[ye][xe];Y.push(te),me.push(t.range(_)),Q+=te}for(D&&he.sort(function(xr,qt){return D(Y[xr],Y[qt])}),I&&me.forEach(function(xr,qt){xr.sort(function(vr,jr){return I(b[qt][vr],b[qt][jr])})}),Q=(Da-E*_)/Q,te=0,ye=-1;++ye<_;){for(ue=te,xe=-1;++xe<_;){var ce=he[ye],Ze=me[ce][xe],st=b[ce][Ze],Et=te,lt=te+=st*Q;V[ce+"-"+Ze]={index:ce,subindex:Ze,startAngle:Et,endAngle:lt,value:st}}h[ce]={index:ce,startAngle:ue,endAngle:te,value:Y[ce]},te+=E}for(ye=-1;++ye<_;)for(xe=ye-1;++xe<_;){var Ot=V[ye+"-"+xe],$t=V[xe+"-"+ye];(Ot.value||$t.value)&&c.push(Ot.value<$t.value?{source:$t,target:Ot}:{source:Ot,target:$t})}M&&U()}function U(){c.sort(function(V,Y){return M((V.source.value+V.target.value)/2,(Y.source.value+Y.target.value)/2)})}return s.matrix=function(V){return arguments.length?(_=(b=V)&&b.length,c=h=null,s):b},s.padding=function(V){return arguments.length?(E=V,c=h=null,s):E},s.sortGroups=function(V){return arguments.length?(D=V,c=h=null,s):D},s.sortSubgroups=function(V){return arguments.length?(I=V,c=null,s):I},s.sortChords=function(V){return arguments.length?(M=V,c&&U(),s):M},s.chords=function(){return c||j(),c},s.groups=function(){return h||j(),h},s},t.layout.force=function(){var s={},c=t.dispatch("start","tick","end"),h,b=[1,1],_,E,D=.9,I=qa,M=mu,j=-30,U=co,V=.1,Y=.64,he=[],me=[],Q,te,ue;function ye(ce){return function(Ze,st,Et,lt){if(Ze.point!==ce){var Ot=Ze.cx-ce.x,$t=Ze.cy-ce.y,xr=lt-st,qt=Ot*Ot+$t*$t;if(xr*xr/Y<qt){if(qt<U){var vr=Ze.charge/qt;ce.px-=Ot*vr,ce.py-=$t*vr}return!0}if(Ze.point&&qt&&qt<U){var vr=Ze.pointCharge/qt;ce.px-=Ot*vr,ce.py-=$t*vr}}return!Ze.charge}}s.tick=function(){if((E*=.99)<.005)return h=null,c.end({type:"end",alpha:E=0}),!0;var ce=he.length,Ze=me.length,st,Et,lt,Ot,$t,xr,qt,vr,jr;for(Et=0;Et<Ze;++Et)lt=me[Et],Ot=lt.source,$t=lt.target,vr=$t.x-Ot.x,jr=$t.y-Ot.y,(xr=vr*vr+jr*jr)&&(xr=E*te[Et]*((xr=Math.sqrt(xr))-Q[Et])/xr,vr*=xr,jr*=xr,$t.x-=vr*(qt=Ot.weight+$t.weight?Ot.weight/(Ot.weight+$t.weight):.5),$t.y-=jr*qt,Ot.x+=vr*(qt=1-qt),Ot.y+=jr*qt);if((qt=E*V)&&(vr=b[0]/2,jr=b[1]/2,Et=-1,qt))for(;++Et<ce;)lt=he[Et],lt.x+=(vr-lt.x)*qt,lt.y+=(jr-lt.y)*qt;if(j)for(qs(st=t.geom.quadtree(he),E,ue),Et=-1;++Et<ce;)(lt=he[Et]).fixed||st.visit(ye(lt));for(Et=-1;++Et<ce;)lt=he[Et],lt.fixed?(lt.x=lt.px,lt.y=lt.py):(lt.x-=(lt.px-(lt.px=lt.x))*D,lt.y-=(lt.py-(lt.py=lt.y))*D);c.tick({type:"tick",alpha:E})},s.nodes=function(ce){return arguments.length?(he=ce,s):he},s.links=function(ce){return arguments.length?(me=ce,s):me},s.size=function(ce){return arguments.length?(b=ce,s):b},s.linkDistance=function(ce){return arguments.length?(I=typeof ce=="function"?ce:+ce,s):I},s.distance=s.linkDistance,s.linkStrength=function(ce){return arguments.length?(M=typeof ce=="function"?ce:+ce,s):M},s.friction=function(ce){return arguments.length?(D=+ce,s):D},s.charge=function(ce){return arguments.length?(j=typeof ce=="function"?ce:+ce,s):j},s.chargeDistance=function(ce){return arguments.length?(U=ce*ce,s):Math.sqrt(U)},s.gravity=function(ce){return arguments.length?(V=+ce,s):V},s.theta=function(ce){return arguments.length?(Y=ce*ce,s):Math.sqrt(Y)},s.alpha=function(ce){return arguments.length?(ce=+ce,E?ce>0?E=ce:(h.c=null,h.t=NaN,h=null,c.end({type:"end",alpha:E=0})):ce>0&&(c.start({type:"start",alpha:E=ce}),h=Fo(s.tick)),s):E},s.start=function(){var ce,Ze=he.length,st=me.length,Et=b[0],lt=b[1],Ot,$t;for(ce=0;ce<Ze;++ce)($t=he[ce]).index=ce,$t.weight=0;for(ce=0;ce<st;++ce)$t=me[ce],typeof $t.source=="number"&&($t.source=he[$t.source]),typeof $t.target=="number"&&($t.target=he[$t.target]),++$t.source.weight,++$t.target.weight;for(ce=0;ce<Ze;++ce)$t=he[ce],isNaN($t.x)&&($t.x=xr("x",Et)),isNaN($t.y)&&($t.y=xr("y",lt)),isNaN($t.px)&&($t.px=$t.x),isNaN($t.py)&&($t.py=$t.y);if(Q=[],typeof I=="function")for(ce=0;ce<st;++ce)Q[ce]=+I.call(this,me[ce],ce);else for(ce=0;ce<st;++ce)Q[ce]=I;if(te=[],typeof M=="function")for(ce=0;ce<st;++ce)te[ce]=+M.call(this,me[ce],ce);else for(ce=0;ce<st;++ce)te[ce]=M;if(ue=[],typeof j=="function")for(ce=0;ce<Ze;++ce)ue[ce]=+j.call(this,he[ce],ce);else for(ce=0;ce<Ze;++ce)ue[ce]=j;function xr(qt,vr){if(!Ot){for(Ot=new Array(Ze),Qr=0;Qr<Ze;++Qr)Ot[Qr]=[];for(Qr=0;Qr<st;++Qr){var jr=me[Qr];Ot[jr.source.index].push(jr.target),Ot[jr.target.index].push(jr.source)}}for(var En=Ot[ce],Qr=-1,Ct=En.length,wr;++Qr<Ct;)if(!isNaN(wr=En[Qr][qt]))return wr;return Math.random()*vr}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(_||(_=t.behavior.drag().origin(Je).on("dragstart.force",Ws).on("drag.force",xe).on("dragend.force",af)),!arguments.length)return _;this.on("mouseover.force",Ei).on("mouseout.force",Zu).call(_)};function xe(ce){ce.px=t.event.x,ce.py=t.event.y,s.resume()}return t.rebind(s,c,"on")};function Ws(s){s.fixed|=2}function af(s){s.fixed&=-7}function Ei(s){s.fixed|=4,s.px=s.x,s.py=s.y}function Zu(s){s.fixed&=-5}function qs(s,c,h){var b=0,_=0;if(s.charge=0,!s.leaf)for(var E=s.nodes,D=E.length,I=-1,M;++I<D;)M=E[I],M!=null&&(qs(M,c,h),s.charge+=M.charge,b+=M.charge*M.cx,_+=M.charge*M.cy);if(s.point){s.leaf||(s.point.x+=Math.random()-.5,s.point.y+=Math.random()-.5);var j=c*h[s.point.index];s.charge+=s.pointCharge=j,b+=j*s.point.x,_+=j*s.point.y}s.cx=b/s.charge,s.cy=_/s.charge}var qa=20,mu=1,co=1/0;t.layout.hierarchy=function(){var s=tt,c=fe,h=we;function b(_){var E=[_],D=[],I;for(_.depth=0;(I=E.pop())!=null;)if(D.push(I),(j=c.call(b,I,I.depth))&&(M=j.length)){for(var M,j,U;--M>=0;)E.push(U=j[M]),U.parent=I,U.depth=I.depth+1;h&&(I.value=0),I.children=j}else h&&(I.value=+h.call(b,I,I.depth)||0),delete I.children;return q(_,function(V){var Y,he;s&&(Y=V.children)&&Y.sort(s),h&&(he=V.parent)&&(he.value+=V.value)}),D}return b.sort=function(_){return arguments.length?(s=_,b):s},b.children=function(_){return arguments.length?(c=_,b):c},b.value=function(_){return arguments.length?(h=_,b):h},b.revalue=function(_){return h&&(yu(_,function(E){E.children&&(E.value=0)}),q(_,function(E){var D;E.children||(E.value=+h.call(b,E,E.depth)||0),(D=E.parent)&&(D.value+=E.value)})),_},b};function po(s,c){return t.rebind(s,c,"sort","children","value"),s.nodes=s,s.links=Oe,s}function yu(s,c){for(var h=[s];(s=h.pop())!=null;)if(c(s),(_=s.children)&&(b=_.length))for(var b,_;--b>=0;)h.push(_[b])}function q(s,c){for(var h=[s],b=[];(s=h.pop())!=null;)if(b.push(s),(D=s.children)&&(E=D.length))for(var _=-1,E,D;++_<E;)h.push(D[_]);for(;(s=b.pop())!=null;)c(s)}function fe(s){return s.children}function we(s){return s.value}function tt(s,c){return c.value-s.value}function Oe(s){return t.merge(s.map(function(c){return(c.children||[]).map(function(h){return{source:c,target:h}})}))}t.layout.partition=function(){var s=t.layout.hierarchy(),c=[1,1];function h(E,D,I,M){var j=E.children;if(E.x=D,E.y=E.depth*M,E.dx=I,E.dy=M,j&&(V=j.length)){var U=-1,V,Y,he;for(I=E.value?I/E.value:0;++U<V;)h(Y=j[U],D,he=Y.value*I,M),D+=he}}function b(E){var D=E.children,I=0;if(D&&(j=D.length))for(var M=-1,j;++M<j;)I=Math.max(I,b(D[M]));return 1+I}function _(E,D){var I=s.call(this,E,D);return h(I[0],0,c[0],c[1]/b(I[0])),I}return _.size=function(E){return arguments.length?(c=E,_):c},po(_,s)},t.layout.pie=function(){var s=Number,c=ut,h=0,b=Da,_=0;function E(D){var I=D.length,M=D.map(function(ye,xe){return+s.call(E,ye,xe)}),j=+(typeof h=="function"?h.apply(this,arguments):h),U=(typeof b=="function"?b.apply(this,arguments):b)-j,V=Math.min(Math.abs(U)/I,+(typeof _=="function"?_.apply(this,arguments):_)),Y=V*(U<0?-1:1),he=t.sum(M),me=he?(U-I*Y)/he:0,Q=t.range(I),te=[],ue;return c!=null&&Q.sort(c===ut?function(ye,xe){return M[xe]-M[ye]}:function(ye,xe){return c(D[ye],D[xe])}),Q.forEach(function(ye){te[ye]={data:D[ye],value:ue=M[ye],startAngle:j,endAngle:j+=ue*me+Y,padAngle:V}}),te}return E.value=function(D){return arguments.length?(s=D,E):s},E.sort=function(D){return arguments.length?(c=D,E):c},E.startAngle=function(D){return arguments.length?(h=D,E):h},E.endAngle=function(D){return arguments.length?(b=D,E):b},E.padAngle=function(D){return arguments.length?(_=D,E):_},E};var ut={};t.layout.stack=function(){var s=Je,c=br,h=Nr,b=Wt,_=bt,E=Ft;function D(I,M){if(!(me=I.length))return I;var j=I.map(function(ye,xe){return s.call(D,ye,xe)}),U=j.map(function(ye){return ye.map(function(xe,ce){return[_.call(D,xe,ce),E.call(D,xe,ce)]})}),V=c.call(D,U,M);j=t.permute(j,V),U=t.permute(U,V);var Y=h.call(D,U,M),he=j[0].length,me,Q,te,ue;for(te=0;te<he;++te)for(b.call(D,j[0][te],ue=Y[te],U[0][te][1]),Q=1;Q<me;++Q)b.call(D,j[Q][te],ue+=U[Q-1][te][1],U[Q][te][1]);return I}return D.values=function(I){return arguments.length?(s=I,D):s},D.order=function(I){return arguments.length?(c=typeof I=="function"?I:yr.get(I)||br,D):c},D.offset=function(I){return arguments.length?(h=typeof I=="function"?I:hr.get(I)||Nr,D):h},D.x=function(I){return arguments.length?(_=I,D):_},D.y=function(I){return arguments.length?(E=I,D):E},D.out=function(I){return arguments.length?(b=I,D):b},D};function bt(s){return s.x}function Ft(s){return s.y}function Wt(s,c,h){s.y0=c,s.y=h}var yr=t.map({"inside-out":function(s){var c=s.length,h,b,_=s.map(un),E=s.map(gr),D=t.range(c).sort(function(V,Y){return _[V]-_[Y]}),I=0,M=0,j=[],U=[];for(h=0;h<c;++h)b=D[h],I<M?(I+=E[b],j.push(b)):(M+=E[b],U.push(b));return U.reverse().concat(j)},reverse:function(s){return t.range(s.length).reverse()},default:br}),hr=t.map({silhouette:function(s){var c=s.length,h=s[0].length,b=[],_=0,E,D,I,M=[];for(D=0;D<h;++D){for(E=0,I=0;E<c;E++)I+=s[E][D][1];I>_&&(_=I),b.push(I)}for(D=0;D<h;++D)M[D]=(_-b[D])/2;return M},wiggle:function(s){var c=s.length,h=s[0],b=h.length,_,E,D,I,M,j,U,V,Y,he=[];for(he[0]=V=Y=0,E=1;E<b;++E){for(_=0,I=0;_<c;++_)I+=s[_][E][1];for(_=0,M=0,U=h[E][0]-h[E-1][0];_<c;++_){for(D=0,j=(s[_][E][1]-s[_][E-1][1])/(2*U);D<_;++D)j+=(s[D][E][1]-s[D][E-1][1])/U;M+=j*s[_][E][1]}he[E]=V-=I?M/I*U:0,V<Y&&(Y=V)}for(E=0;E<b;++E)he[E]-=Y;return he},expand:function(s){var c=s.length,h=s[0].length,b=1/c,_,E,D,I=[];for(E=0;E<h;++E){for(_=0,D=0;_<c;_++)D+=s[_][E][1];if(D)for(_=0;_<c;_++)s[_][E][1]/=D;else for(_=0;_<c;_++)s[_][E][1]=b}for(E=0;E<h;++E)I[E]=0;return I},zero:Nr});function br(s){return t.range(s.length)}function Nr(s){for(var c=-1,h=s[0].length,b=[];++c<h;)b[c]=0;return b}function un(s){for(var c=1,h=0,b=s[0][1],_,E=s.length;c<E;++c)(_=s[c][1])>b&&(h=c,b=_);return h}function gr(s){return s.reduce(On,0)}function On(s,c){return s+c[1]}t.layout.histogram=function(){var s=!0,c=Number,h=gn,b=ei;function _(E,Y){for(var I=[],M=E.map(c,this),j=h.call(this,M,Y),U=b.call(this,j,M,Y),V,Y=-1,he=M.length,me=U.length-1,Q=s?1:1/he,te;++Y<me;)V=I[Y]=[],V.dx=U[Y+1]-(V.x=U[Y]),V.y=0;if(me>0)for(Y=-1;++Y<he;)te=M[Y],te>=j[0]&&te<=j[1]&&(V=I[t.bisect(U,te,1,me)-1],V.y+=Q,V.push(E[Y]));return I}return _.value=function(E){return arguments.length?(c=E,_):c},_.range=function(E){return arguments.length?(h=$r(E),_):h},_.bins=function(E){return arguments.length?(b=typeof E=="number"?function(D){return si(D,E)}:$r(E),_):b},_.frequency=function(E){return arguments.length?(s=!!E,_):s},_};function ei(s,c){return si(s,Math.ceil(Math.log(c.length)/Math.LN2+1))}function si(s,c){for(var h=-1,b=+s[0],_=(s[1]-b)/c,E=[];++h<=c;)E[h]=_*h+b;return E}function gn(s){return[t.min(s),t.max(s)]}t.layout.pack=function(){var s=t.layout.hierarchy().sort(Ju),c=0,h=[1,1],b;function _(E,D){var I=s.call(this,E,D),M=I[0],j=h[0],U=h[1],V=b==null?Math.sqrt:typeof b=="function"?b:function(){return b};if(M.x=M.y=0,q(M,function(he){he.r=+V(he.value)}),q(M,Tp),c){var Y=c*(b?1:Math.max(2*M.r/j,2*M.r/U))/2;q(M,function(he){he.r+=Y}),q(M,Tp),q(M,function(he){he.r-=Y})}return Tg(M,j/2,U/2,b?1:1/Math.max(2*M.r/j,2*M.r/U)),I}return _.size=function(E){return arguments.length?(h=E,_):h},_.radius=function(E){return arguments.length?(b=E==null||typeof E=="function"?E:+E,_):b},_.padding=function(E){return arguments.length?(c=+E,_):c},po(_,s)};function Ju(s,c){return s.value-c.value}function $o(s,c){var h=s._pack_next;s._pack_next=c,c._pack_prev=s,c._pack_next=h,h._pack_prev=c}function Ci(s,c){s._pack_next=c,c._pack_prev=s}function Ag(s,c){var h=c.x-s.x,b=c.y-s.y,_=s.r+c.r;return .999*_*_>h*h+b*b}function Tp(s){if(!(c=s.children)||!(Y=c.length))return;var c,h=1/0,b=-1/0,_=1/0,E=-1/0,D,I,M,j,U,V,Y;function he(ce){h=Math.min(ce.x-ce.r,h),b=Math.max(ce.x+ce.r,b),_=Math.min(ce.y-ce.r,_),E=Math.max(ce.y+ce.r,E)}if(c.forEach(nb),D=c[0],D.x=-D.r,D.y=0,he(D),Y>1&&(I=c[1],I.x=I.r,I.y=0,he(I),Y>2))for(M=c[2],Og(D,I,M),he(M),$o(D,M),D._pack_prev=M,$o(M,I),I=D._pack_next,j=3;j<Y;j++){Og(D,I,M=c[j]);var me=0,Q=1,te=1;for(U=I._pack_next;U!==I;U=U._pack_next,Q++)if(Ag(U,M)){me=1;break}if(me==1)for(V=D._pack_prev;V!==U._pack_prev&&!Ag(V,M);V=V._pack_prev,te++);me?(Q<te||Q==te&&I.r<D.r?Ci(D,I=U):Ci(D=V,I),j--):($o(D,M),I=M,he(M))}var ue=(h+b)/2,ye=(_+E)/2,xe=0;for(j=0;j<Y;j++)M=c[j],M.x-=ue,M.y-=ye,xe=Math.max(xe,M.r+Math.sqrt(M.x*M.x+M.y*M.y));s.r=xe,c.forEach(ib)}function nb(s){s._pack_next=s._pack_prev=s}function ib(s){delete s._pack_next,delete s._pack_prev}function Tg(s,c,h,b){var _=s.children;if(s.x=c+=b*s.x,s.y=h+=b*s.y,s.r*=b,_)for(var E=-1,D=_.length;++E<D;)Tg(_[E],c,h,b)}function Og(s,c,h){var b=s.r+h.r,_=c.x-s.x,E=c.y-s.y;if(b&&(_||E)){var D=c.r+h.r,I=_*_+E*E;D*=D,b*=b;var M=.5+(b-D)/(2*I),j=Math.sqrt(Math.max(0,2*D*(b+I)-(b-=I)*b-D*D))/(2*I);h.x=s.x+M*_+j*E,h.y=s.y+M*E-j*_}else h.x=s.x+b,h.y=s.y}t.layout.tree=function(){var s=t.layout.hierarchy().sort(null).value(null),c=Rg,h=[1,1],b=null;function _(U,V){var Y=s.call(this,U,V),he=Y[0],me=E(he);if(q(me,D),me.parent.m=-me.z,yu(me,I),b)yu(he,j);else{var Q=he,te=he,ue=he;yu(he,function(Ze){Ze.x<Q.x&&(Q=Ze),Ze.x>te.x&&(te=Ze),Ze.depth>ue.depth&&(ue=Ze)});var ye=c(Q,te)/2-Q.x,xe=h[0]/(te.x+c(te,Q)/2+ye),ce=h[1]/(ue.depth||1);yu(he,function(Ze){Ze.x=(Ze.x+ye)*xe,Ze.y=Ze.depth*ce})}return Y}function E(U){for(var V={A:null,children:[U]},Y=[V],he;(he=Y.pop())!=null;)for(var me=he.children,Q,te=0,ue=me.length;te<ue;++te)Y.push((me[te]=Q={_:me[te],parent:he,children:(Q=me[te].children)&&Q.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:te}).a=Q);return V.children[0]}function D(U){var V=U.children,Y=U.parent.children,he=U.i?Y[U.i-1]:null;if(V.length){ob(U);var me=(V[0].z+V[V.length-1].z)/2;he?(U.z=he.z+c(U._,he._),U.m=U.z-me):U.z=me}else he&&(U.z=he.z+c(U._,he._));U.parent.A=M(U,he,U.parent.A||Y[0])}function I(U){U._.x=U.z+U.parent.m,U.m+=U.parent.m}function M(U,V,Y){if(V){for(var he=U,me=U,Q=V,te=he.parent.children[0],ue=he.m,ye=me.m,xe=Q.m,ce=te.m,Ze;Q=Rp(Q),he=Op(he),Q&&he;)te=Op(te),me=Rp(me),me.a=U,Ze=Q.z+xe-he.z-ue+c(Q._,he._),Ze>0&&(ab(ho(Q,U,Y),U,Ze),ue+=Ze,ye+=Ze),xe+=Q.m,ue+=he.m,ce+=te.m,ye+=me.m;Q&&!Rp(me)&&(me.t=Q,me.m+=xe-ye),he&&!Op(te)&&(te.t=he,te.m+=ue-ce,Y=U)}return Y}function j(U){U.x*=h[0],U.y=U.depth*h[1]}return _.separation=function(U){return arguments.length?(c=U,_):c},_.size=function(U){return arguments.length?(b=(h=U)==null?j:null,_):b?null:h},_.nodeSize=function(U){return arguments.length?(b=(h=U)==null?null:j,_):b?h:null},po(_,s)};function Rg(s,c){return s.parent==c.parent?1:2}function Op(s){var c=s.children;return c.length?c[0]:s.t}function Rp(s){var c=s.children,h;return(h=c.length)?c[h-1]:s.t}function ab(s,c,h){var b=h/(c.i-s.i);c.c-=b,c.s+=h,s.c+=b,c.z+=h,c.m+=h}function ob(s){for(var c=0,h=0,b=s.children,_=b.length,E;--_>=0;)E=b[_],E.z+=c,E.m+=c,c+=E.s+(h+=E.c)}function ho(s,c,h){return s.a.parent===c.parent?s.a:h}t.layout.cluster=function(){var s=t.layout.hierarchy().sort(null).value(null),c=Rg,h=[1,1],b=!1;function _(E,D){var I=s.call(this,E,D),M=I[0],j,U=0;q(M,function(Q){var te=Q.children;te&&te.length?(Q.x=ub(te),Q.y=Ig(te)):(Q.x=j?U+=c(Q,j):0,Q.y=0,j=Q)});var V=Pg(M),Y=kg(M),he=V.x-c(V,Y)/2,me=Y.x+c(Y,V)/2;return q(M,b?function(Q){Q.x=(Q.x-M.x)*h[0],Q.y=(M.y-Q.y)*h[1]}:function(Q){Q.x=(Q.x-he)/(me-he)*h[0],Q.y=(1-(M.y?Q.y/M.y:1))*h[1]}),I}return _.separation=function(E){return arguments.length?(c=E,_):c},_.size=function(E){return arguments.length?(b=(h=E)==null,_):b?null:h},_.nodeSize=function(E){return arguments.length?(b=(h=E)!=null,_):b?h:null},po(_,s)};function Ig(s){return 1+t.max(s,function(c){return c.y})}function ub(s){return s.reduce(function(c,h){return c+h.x},0)/s.length}function Pg(s){var c=s.children;return c&&c.length?Pg(c[0]):s}function kg(s){var c=s.children,h;return c&&(h=c.length)?kg(c[h-1]):s}t.layout.treemap=function(){var s=t.layout.hierarchy(),c=Math.round,h=[1,1],b=null,_=Ip,E=!1,D,I="squarify",M=.5*(1+Math.sqrt(5));function j(Q,te){for(var ue=-1,ye=Q.length,xe,ce;++ue<ye;)ce=(xe=Q[ue]).value*(te<0?0:te),xe.area=isNaN(ce)||ce<=0?0:ce}function U(Q){var te=Q.children;if(te&&te.length){var ue=_(Q),ye=[],xe=te.slice(),ce,Ze=1/0,st,Et=I==="slice"?ue.dx:I==="dice"?ue.dy:I==="slice-dice"?Q.depth&1?ue.dy:ue.dx:Math.min(ue.dx,ue.dy),lt;for(j(xe,ue.dx*ue.dy/Q.value),ye.area=0;(lt=xe.length)>0;)ye.push(ce=xe[lt-1]),ye.area+=ce.area,I!=="squarify"||(st=Y(ye,Et))<=Ze?(xe.pop(),Ze=st):(ye.area-=ye.pop().area,he(ye,Et,ue,!1),Et=Math.min(ue.dx,ue.dy),ye.length=ye.area=0,Ze=1/0);ye.length&&(he(ye,Et,ue,!0),ye.length=ye.area=0),te.forEach(U)}}function V(Q){var te=Q.children;if(te&&te.length){var ue=_(Q),ye=te.slice(),xe,ce=[];for(j(ye,ue.dx*ue.dy/Q.value),ce.area=0;xe=ye.pop();)ce.push(xe),ce.area+=xe.area,xe.z!=null&&(he(ce,xe.z?ue.dx:ue.dy,ue,!ye.length),ce.length=ce.area=0);te.forEach(V)}}function Y(Q,te){for(var ue=Q.area,ye,xe=0,ce=1/0,Ze=-1,st=Q.length;++Ze<st;)!(ye=Q[Ze].area)||(ye<ce&&(ce=ye),ye>xe&&(xe=ye));return ue*=ue,te*=te,ue?Math.max(te*xe*M/ue,ue/(te*ce*M)):1/0}function he(Q,te,ue,ye){var xe=-1,ce=Q.length,Ze=ue.x,st=ue.y,Et=te?c(Q.area/te):0,lt;if(te==ue.dx){for((ye||Et>ue.dy)&&(Et=ue.dy);++xe<ce;)lt=Q[xe],lt.x=Ze,lt.y=st,lt.dy=Et,Ze+=lt.dx=Math.min(ue.x+ue.dx-Ze,Et?c(lt.area/Et):0);lt.z=!0,lt.dx+=ue.x+ue.dx-Ze,ue.y+=Et,ue.dy-=Et}else{for((ye||Et>ue.dx)&&(Et=ue.dx);++xe<ce;)lt=Q[xe],lt.x=Ze,lt.y=st,lt.dx=Et,st+=lt.dy=Math.min(ue.y+ue.dy-st,Et?c(lt.area/Et):0);lt.z=!1,lt.dy+=ue.y+ue.dy-st,ue.x+=Et,ue.dx-=Et}}function me(Q){var te=D||s(Q),ue=te[0];return ue.x=ue.y=0,ue.value?(ue.dx=h[0],ue.dy=h[1]):ue.dx=ue.dy=0,D&&s.revalue(ue),j([ue],ue.dx*ue.dy/ue.value),(D?V:U)(ue),E&&(D=te),te}return me.size=function(Q){return arguments.length?(h=Q,me):h},me.padding=function(Q){if(!arguments.length)return b;function te(xe){var ce=Q.call(me,xe,xe.depth);return ce==null?Ip(xe):Dg(xe,typeof ce=="number"?[ce,ce,ce,ce]:ce)}function ue(xe){return Dg(xe,Q)}var ye;return _=(b=Q)==null?Ip:(ye=typeof Q)=="function"?te:(ye==="number"&&(Q=[Q,Q,Q,Q]),ue),me},me.round=function(Q){return arguments.length?(c=Q?Math.round:Number,me):c!=Number},me.sticky=function(Q){return arguments.length?(E=Q,D=null,me):E},me.ratio=function(Q){return arguments.length?(M=Q,me):M},me.mode=function(Q){return arguments.length?(I=Q+"",me):I},po(me,s)};function Ip(s){return{x:s.x,y:s.y,dx:s.dx,dy:s.dy}}function Dg(s,c){var h=s.x+c[3],b=s.y+c[0],_=s.dx-c[1]-c[3],E=s.dy-c[0]-c[2];return _<0&&(h+=_/2,_=0),E<0&&(b+=E/2,E=0),{x:h,y:b,dx:_,dy:E}}t.random={normal:function(s,c){var h=arguments.length;return h<2&&(c=1),h<1&&(s=0),function(){var b,_,E;do b=Math.random()*2-1,_=Math.random()*2-1,E=b*b+_*_;while(!E||E>1);return s+c*b*Math.sqrt(-2*Math.log(E)/E)}},logNormal:function(){var s=t.random.normal.apply(t,arguments);return function(){return Math.exp(s())}},bates:function(s){var c=t.random.irwinHall(s);return function(){return c()/s}},irwinHall:function(s){return function(){for(var c=0,h=0;h<s;h++)c+=Math.random();return c}}},t.scale={};function Nc(s){var c=s[0],h=s[s.length-1];return c<h?[c,h]:[h,c]}function Fc(s){return s.rangeExtent?s.rangeExtent():Nc(s.range())}function sb(s,c,h,b){var _=h(s[0],s[1]),E=b(c[0],c[1]);return function(D){return E(_(D))}}function Un(s,c){var h=0,b=s.length-1,_=s[h],E=s[b],D;return E<_&&(D=h,h=b,b=D,D=_,_=E,E=D),s[h]=c.floor(_),s[b]=c.ceil(E),s}function es(s){return s?{floor:function(c){return Math.floor(c/s)*s},ceil:function(c){return Math.ceil(c/s)*s}}:Gs}var Gs={floor:Je,ceil:Je};function lb(s,c,h,b){var _=[],E=[],D=0,I=Math.min(s.length,c.length)-1;for(s[I]<s[0]&&(s=s.slice().reverse(),c=c.slice().reverse());++D<=I;)_.push(h(s[D-1],s[D])),E.push(b(c[D-1],c[D]));return function(M){var j=t.bisect(s,M,1,I)-1;return E[j](_[j](M))}}t.scale.linear=function(){return ts([0,1],[0,1],Hn,!1)};function ts(s,c,h,b){var _,E;function D(){var M=Math.min(s.length,c.length)>2?lb:sb,j=b?Dc:nf;return _=M(s,c,j,h),E=M(c,s,j,Hn),I}function I(M){return _(M)}return I.invert=function(M){return E(M)},I.domain=function(M){return arguments.length?(s=M.map(Number),D()):s},I.range=function(M){return arguments.length?(c=M,D()):c},I.rangeRound=function(M){return I.range(M).interpolate(gu)},I.clamp=function(M){return arguments.length?(b=M,D()):b},I.interpolate=function(M){return arguments.length?(h=M,D()):h},I.ticks=function(M){return uf(s,M)},I.tickFormat=function(M,j){return d3_scale_linearTickFormat(s,M,j)},I.nice=function(M){return rs(s,M),D()},I.copy=function(){return ts(s,c,h,b)},D()}function Pp(s,c){return t.rebind(s,c,"range","rangeRound","interpolate","clamp")}function rs(s,c){return Un(s,es(of(s,c)[2])),Un(s,es(of(s,c)[2])),s}function of(s,c){c==null&&(c=10);var h=Nc(s),b=h[1]-h[0],_=Math.pow(10,Math.floor(Math.log(b/c)/Math.LN10)),E=c/b*_;return E<=.15?_*=10:E<=.35?_*=5:E<=.75&&(_*=2),h[0]=Math.ceil(h[0]/_)*_,h[1]=Math.floor(h[1]/_)*_+_*.5,h[2]=_,h}function uf(s,c){return t.range.apply(t,of(s,c))}t.scale.log=function(){return Lc(t.scale.linear().domain([0,1]),10,!0,[1,10])};function Lc(s,c,h,b){function _(I){return(h?Math.log(I<0?0:I):-Math.log(I>0?0:-I))/Math.log(c)}function E(I){return h?Math.pow(c,I):-Math.pow(c,-I)}function D(I){return s(_(I))}return D.invert=function(I){return E(s.invert(I))},D.domain=function(I){return arguments.length?(h=I[0]>=0,s.domain((b=I.map(Number)).map(_)),D):b},D.base=function(I){return arguments.length?(c=+I,s.domain(b.map(_)),D):c},D.nice=function(){var I=Un(b.map(_),h?Math:kp);return s.domain(I),b=I.map(E),D},D.ticks=function(){var I=Nc(b),M=[],j=I[0],U=I[1],V=Math.floor(_(j)),Y=Math.ceil(_(U)),he=c%1?2:c;if(isFinite(Y-V)){if(h){for(;V<Y;V++)for(var me=1;me<he;me++)M.push(E(V)*me);M.push(E(V))}else for(M.push(E(V));V++<Y;)for(var me=he-1;me>0;me--)M.push(E(V)*me);for(V=0;M[V]<j;V++);for(Y=M.length;M[Y-1]>U;Y--);M=M.slice(V,Y)}return M},D.copy=function(){return Lc(s.copy(),c,h,b)},Pp(D,s)}var kp={floor:function(s){return-Math.ceil(-s)},ceil:function(s){return-Math.floor(-s)}};t.scale.pow=function(){return Bc(t.scale.linear(),1,[0,1])};function Bc(s,c,h){var b=ns(c),_=ns(1/c);function E(D){return s(b(D))}return E.invert=function(D){return _(s.invert(D))},E.domain=function(D){return arguments.length?(s.domain((h=D.map(Number)).map(b)),E):h},E.ticks=function(D){return uf(h,D)},E.tickFormat=function(D,I){return d3_scale_linearTickFormat(h,D,I)},E.nice=function(D){return E.domain(rs(h,D))},E.exponent=function(D){return arguments.length?(b=ns(c=D),_=ns(1/c),s.domain(h.map(b)),E):c},E.copy=function(){return Bc(s.copy(),c,h)},Pp(E,s)}function ns(s){return function(c){return c<0?-Math.pow(-c,s):Math.pow(c,s)}}t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return Dp([],{t:"range",a:[[]]})};function Dp(s,c){var h,b,_;function E(I){return b[((h.get(I)||(c.t==="range"?h.set(I,s.push(I)):NaN))-1)%b.length]}function D(I,M){return t.range(s.length).map(function(j){return I+M*j})}return E.domain=function(I){if(!arguments.length)return s;s=[],h=new N;for(var M=-1,j=I.length,U;++M<j;)h.has(U=I[M])||h.set(U,s.push(U));return E[c.t].apply(E,c.a)},E.range=function(I){return arguments.length?(b=I,_=0,c={t:"range",a:arguments},E):b},E.rangePoints=function(I,M){arguments.length<2&&(M=0);var j=I[0],U=I[1],V=s.length<2?(j=(j+U)/2,0):(U-j)/(s.length-1+M);return b=D(j+V*M/2,V),_=0,c={t:"rangePoints",a:arguments},E},E.rangeRoundPoints=function(I,M){arguments.length<2&&(M=0);var j=I[0],U=I[1],V=s.length<2?(j=U=Math.round((j+U)/2),0):(U-j)/(s.length-1+M)|0;return b=D(j+Math.round(V*M/2+(U-j-(s.length-1+M)*V)/2),V),_=0,c={t:"rangeRoundPoints",a:arguments},E},E.rangeBands=function(I,M,j){arguments.length<2&&(M=0),arguments.length<3&&(j=M);var U=I[1]<I[0],V=I[U-0],Y=I[1-U],he=(Y-V)/(s.length-M+2*j);return b=D(V+he*j,he),U&&b.reverse(),_=he*(1-M),c={t:"rangeBands",a:arguments},E},E.rangeRoundBands=function(I,M,j){arguments.length<2&&(M=0),arguments.length<3&&(j=M);var U=I[1]<I[0],V=I[U-0],Y=I[1-U],he=Math.floor((Y-V)/(s.length-M+2*j));return b=D(V+Math.round((Y-V-(s.length-M)*he)/2),he),U&&b.reverse(),_=Math.round(he*(1-M)),c={t:"rangeRoundBands",a:arguments},E},E.rangeBand=function(){return _},E.rangeExtent=function(){return Nc(c.a[0])},E.copy=function(){return Dp(s,c)},E.domain(s)}t.scale.category10=function(){return t.scale.ordinal().range(Mg)},t.scale.category20=function(){return t.scale.ordinal().range(Ng)},t.scale.category20b=function(){return t.scale.ordinal().range(Fg)},t.scale.category20c=function(){return t.scale.ordinal().range(Lg)};var Mg=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(Mo),Ng=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(Mo),Fg=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(Mo),Lg=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(Mo);t.scale.quantile=function(){return $c([],[])};function $c(s,c){var h;function b(){var E=0,D=c.length;for(h=[];++E<D;)h[E-1]=t.quantile(s,E/D);return _}function _(E){if(!isNaN(E=+E))return c[t.bisect(h,E)]}return _.domain=function(E){return arguments.length?(s=E.map(y).filter(C).sort(v),b()):s},_.range=function(E){return arguments.length?(c=E,b()):c},_.quantiles=function(){return h},_.invertExtent=function(E){return E=c.indexOf(E),E<0?[NaN,NaN]:[E>0?h[E-1]:s[0],E<h.length?h[E]:s[s.length-1]]},_.copy=function(){return $c(s,c)},b()}t.scale.quantize=function(){return zc(0,1,[0,1])};function zc(s,c,h){var b,_;function E(I){return h[Math.max(0,Math.min(_,Math.floor(b*(I-s))))]}function D(){return b=h.length/(c-s),_=h.length-1,E}return E.domain=function(I){return arguments.length?(s=+I[0],c=+I[I.length-1],D()):[s,c]},E.range=function(I){return arguments.length?(h=I,D()):h},E.invertExtent=function(I){return I=h.indexOf(I),I=I<0?NaN:I/b+s,[I,I+1/b]},E.copy=function(){return zc(s,c,h)},D()}t.scale.threshold=function(){return Mp([.5],[0,1])};function Mp(s,c){function h(b){if(b<=b)return c[t.bisect(s,b)]}return h.domain=function(b){return arguments.length?(s=b,h):s},h.range=function(b){return arguments.length?(c=b,h):c},h.invertExtent=function(b){return b=c.indexOf(b),[s[b-1],s[b]]},h.copy=function(){return Mp(s,c)},h}t.scale.identity=function(){return Np([0,1])};function Np(s){function c(h){return+h}return c.invert=c,c.domain=c.range=function(h){return arguments.length?(s=h.map(c),c):s},c.ticks=function(h){return uf(s,h)},c.tickFormat=function(h,b){return d3_scale_linearTickFormat(s,h,b)},c.copy=function(){return Np(s)},c}t.svg={};function Bg(){return 0}t.svg.arc=function(){var s=Fp,c=$g,h=Bg,b=sf,_=Lp,E=jc,D=Bp;function I(){var j=Math.max(0,+s.apply(this,arguments)),U=Math.max(0,+c.apply(this,arguments)),V=_.apply(this,arguments)-ma,Y=E.apply(this,arguments)-ma,he=Math.abs(Y-V),me=V>Y?0:1;if(U<j&&(Q=U,U=j,j=Q),he>=bc)return M(U,me)+(j?M(j,1-me):"")+"Z";var Q,te,ue,ye,xe=0,ce=0,Ze,st,Et,lt,Ot,$t,xr,qt,vr=[];if((ye=(+D.apply(this,arguments)||0)/2)&&(ue=b===sf?Math.sqrt(j*j+U*U):+b.apply(this,arguments),me||(ce*=-1),U&&(ce=wc(ue/U*Math.sin(ye))),j&&(xe=wc(ue/j*Math.sin(ye)))),U){Ze=U*Math.cos(V+ce),st=U*Math.sin(V+ce),Et=U*Math.cos(Y-ce),lt=U*Math.sin(Y-ce);var jr=Math.abs(Y-V-2*ce)<=aa?0:1;if(ce&&lf(Ze,st,Et,lt)===me^jr){var En=(V+Y)/2;Ze=U*Math.cos(En),st=U*Math.sin(En),Et=lt=null}}else Ze=st=0;if(j){Ot=j*Math.cos(Y-xe),$t=j*Math.sin(Y-xe),xr=j*Math.cos(V+xe),qt=j*Math.sin(V+xe);var Qr=Math.abs(V-Y+2*xe)<=aa?0:1;if(xe&&lf(Ot,$t,xr,qt)===1-me^Qr){var Ct=(V+Y)/2;Ot=j*Math.cos(Ct),$t=j*Math.sin(Ct),xr=qt=null}}else Ot=$t=0;if(he>Lr&&(Q=Math.min(Math.abs(U-j)/2,+h.apply(this,arguments)))>.001){te=j<U^me?0:1;var wr=Q,Cr=Q;if(he<aa){var Ur=xr==null?[Ot,$t]:Et==null?[Ze,st]:Kl([Ze,st],[xr,qt],[Et,lt],[Ot,$t]),mn=Ze-Ur[0],Dn=st-Ur[1],Vn=Et-Ur[0],Ai=lt-Ur[1],$i=1/Math.sin(Math.acos((mn*Vn+Dn*Ai)/(Math.sqrt(mn*mn+Dn*Dn)*Math.sqrt(Vn*Vn+Ai*Ai)))/2),fi=Math.sqrt(Ur[0]*Ur[0]+Ur[1]*Ur[1]);Cr=Math.min(Q,(j-fi)/($i-1)),wr=Math.min(Q,(U-fi)/($i+1))}if(Et!=null){var Ki=Hs(xr==null?[Ot,$t]:[xr,qt],[Ze,st],U,wr,me),F=Hs([Et,lt],[Ot,$t],U,wr,me);Q===wr?vr.push("M",Ki[0],"A",wr,",",wr," 0 0,",te," ",Ki[1],"A",U,",",U," 0 ",1-me^lf(Ki[1][0],Ki[1][1],F[1][0],F[1][1]),",",me," ",F[1],"A",wr,",",wr," 0 0,",te," ",F[0]):vr.push("M",Ki[0],"A",wr,",",wr," 0 1,",te," ",F[0])}else vr.push("M",Ze,",",st);if(xr!=null){var Z=Hs([Ze,st],[xr,qt],j,-Cr,me),ie=Hs([Ot,$t],Et==null?[Ze,st]:[Et,lt],j,-Cr,me);Q===Cr?vr.push("L",ie[0],"A",Cr,",",Cr," 0 0,",te," ",ie[1],"A",j,",",j," 0 ",me^lf(ie[1][0],ie[1][1],Z[1][0],Z[1][1]),",",1-me," ",Z[1],"A",Cr,",",Cr," 0 0,",te," ",Z[0]):vr.push("L",ie[0],"A",Cr,",",Cr," 0 0,",te," ",Z[0])}else vr.push("L",Ot,",",$t)}else vr.push("M",Ze,",",st),Et!=null&&vr.push("A",U,",",U," 0 ",jr,",",me," ",Et,",",lt),vr.push("L",Ot,",",$t),xr!=null&&vr.push("A",j,",",j," 0 ",Qr,",",1-me," ",xr,",",qt);return vr.push("Z"),vr.join("")}function M(j,U){return"M0,"+j+"A"+j+","+j+" 0 1,"+U+" 0,"+-j+"A"+j+","+j+" 0 1,"+U+" 0,"+j}return I.innerRadius=function(j){return arguments.length?(s=$r(j),I):s},I.outerRadius=function(j){return arguments.length?(c=$r(j),I):c},I.cornerRadius=function(j){return arguments.length?(h=$r(j),I):h},I.padRadius=function(j){return arguments.length?(b=j==sf?sf:$r(j),I):b},I.startAngle=function(j){return arguments.length?(_=$r(j),I):_},I.endAngle=function(j){return arguments.length?(E=$r(j),I):E},I.padAngle=function(j){return arguments.length?(D=$r(j),I):D},I.centroid=function(){var j=(+s.apply(this,arguments)+ +c.apply(this,arguments))/2,U=(+_.apply(this,arguments)+ +E.apply(this,arguments))/2-ma;return[Math.cos(U)*j,Math.sin(U)*j]},I};var sf="auto";function Fp(s){return s.innerRadius}function $g(s){return s.outerRadius}function Lp(s){return s.startAngle}function jc(s){return s.endAngle}function Bp(s){return s&&s.padAngle}function lf(s,c,h,b){return(s-h)*c-(c-b)*s>0?0:1}function Hs(s,c,h,b,_){var E=s[0]-c[0],D=s[1]-c[1],I=(_?b:-b)/Math.sqrt(E*E+D*D),M=I*D,j=-I*E,U=s[0]+M,V=s[1]+j,Y=c[0]+M,he=c[1]+j,me=(U+Y)/2,Q=(V+he)/2,te=Y-U,ue=he-V,ye=te*te+ue*ue,xe=h-b,ce=U*he-Y*V,Ze=(ue<0?-1:1)*Math.sqrt(Math.max(0,xe*xe*ye-ce*ce)),st=(ce*ue-te*Ze)/ye,Et=(-ce*te-ue*Ze)/ye,lt=(ce*ue+te*Ze)/ye,Ot=(-ce*te+ue*Ze)/ye,$t=st-me,xr=Et-Q,qt=lt-me,vr=Ot-Q;return $t*$t+xr*xr>qt*qt+vr*vr&&(st=lt,Et=Ot),[[st-M,Et-j],[st*h/xe,Et*h/xe]]}function $p(){return!0}function zp(s){var c=Ba,h=$a,b=$p,_=xa,E=_.key,D=.7;function I(M){var j=[],U=[],V=-1,Y=M.length,he,me=$r(c),Q=$r(h);function te(){j.push("M",_(s(U),D))}for(;++V<Y;)b.call(this,he=M[V],V)?U.push([+me.call(this,he,V),+Q.call(this,he,V)]):U.length&&(te(),U=[]);return U.length&&te(),j.length?j.join(""):null}return I.x=function(M){return arguments.length?(c=M,I):c},I.y=function(M){return arguments.length?(h=M,I):h},I.defined=function(M){return arguments.length?(b=M,I):b},I.interpolate=function(M){return arguments.length?(typeof M=="function"?E=_=M:E=(_=ff.get(M)||xa).key,I):E},I.tension=function(M){return arguments.length?(D=M,I):D},I}t.svg.line=function(){return zp(Je)};var ff=t.map({linear:xa,"linear-closed":jp,step:Up,"step-before":cf,"step-after":is,basis:df,"basis-open":Wc,"basis-closed":Vs,bundle:Ys,cardinal:zo,"cardinal-open":zg,"cardinal-closed":Uc,monotone:fb});ff.forEach(function(s,c){c.key=s,c.closed=/-closed$/.test(s)});function xa(s){return s.length>1?s.join("L"):s+"Z"}function jp(s){return s.join("L")+"Z"}function Up(s){for(var c=0,h=s.length,b=s[0],_=[b[0],",",b[1]];++c<h;)_.push("H",(b[0]+(b=s[c])[0])/2,"V",b[1]);return h>1&&_.push("H",b[0]),_.join("")}function cf(s){for(var c=0,h=s.length,b=s[0],_=[b[0],",",b[1]];++c<h;)_.push("V",(b=s[c])[1],"H",b[0]);return _.join("")}function is(s){for(var c=0,h=s.length,b=s[0],_=[b[0],",",b[1]];++c<h;)_.push("H",(b=s[c])[0],"V",b[1]);return _.join("")}function zg(s,c){return s.length<4?xa(s):s[1]+as(s.slice(1,-1),bu(s,c))}function Uc(s,c){return s.length<3?jp(s):s[0]+as((s.push(s[0]),s),bu([s[s.length-2]].concat(s,[s[1]]),c))}function zo(s,c){return s.length<3?xa(s):s[0]+as(s,bu(s,c))}function as(s,c){if(c.length<1||s.length!=c.length&&s.length!=c.length+2)return xa(s);var h=s.length!=c.length,b="",_=s[0],E=s[1],D=c[0],I=D,M=1;if(h&&(b+="Q"+(E[0]-D[0]*2/3)+","+(E[1]-D[1]*2/3)+","+E[0]+","+E[1],_=s[1],M=2),c.length>1){I=c[1],E=s[M],M++,b+="C"+(_[0]+D[0])+","+(_[1]+D[1])+","+(E[0]-I[0])+","+(E[1]-I[1])+","+E[0]+","+E[1];for(var j=2;j<c.length;j++,M++)E=s[M],I=c[j],b+="S"+(E[0]-I[0])+","+(E[1]-I[1])+","+E[0]+","+E[1]}if(h){var U=s[M];b+="Q"+(E[0]+I[0]*2/3)+","+(E[1]+I[1]*2/3)+","+U[0]+","+U[1]}return b}function bu(s,c){for(var h=[],b=(1-c)/2,_,E=s[0],D=s[1],I=1,M=s.length;++I<M;)_=E,E=D,D=s[I],h.push([b*(D[0]-_[0]),b*(D[1]-_[1])]);return h}function df(s){if(s.length<3)return xa(s);var c=1,h=s.length,b=s[0],_=b[0],E=b[1],D=[_,_,_,(b=s[1])[0]],I=[E,E,E,b[1]],M=[_,",",E,"L",li(Ga,D),",",li(Ga,I)];for(s.push(s[h-1]);++c<=h;)b=s[c],D.shift(),D.push(b[0]),I.shift(),I.push(b[1]),pf(M,D,I);return s.pop(),M.push("L",b),M.join("")}function Wc(s){if(s.length<4)return xa(s);for(var c=[],h=-1,b=s.length,_,E=[0],D=[0];++h<3;)_=s[h],E.push(_[0]),D.push(_[1]);for(c.push(li(Ga,E)+","+li(Ga,D)),--h;++h<b;)_=s[h],E.shift(),E.push(_[0]),D.shift(),D.push(_[1]),pf(c,E,D);return c.join("")}function Vs(s){for(var c,h=-1,b=s.length,_=b+4,E,D=[],I=[];++h<4;)E=s[h%b],D.push(E[0]),I.push(E[1]);for(c=[li(Ga,D),",",li(Ga,I)],--h;++h<_;)E=s[h%b],D.shift(),D.push(E[0]),I.shift(),I.push(E[1]),pf(c,D,I);return c.join("")}function Ys(s,c){var h=s.length-1;if(h)for(var b=s[0][0],_=s[0][1],E=s[h][0]-b,D=s[h][1]-_,I=-1,M,j;++I<=h;)M=s[I],j=I/h,M[0]=c*M[0]+(1-c)*(b+j*E),M[1]=c*M[1]+(1-c)*(_+j*D);return df(s)}function li(s,c){return s[0]*c[0]+s[1]*c[1]+s[2]*c[2]+s[3]*c[3]}var qc=[0,2/3,1/3,0],Gc=[0,1/3,2/3,0],Ga=[0,1/6,2/3,1/6];function pf(s,c,h){s.push("C",li(qc,c),",",li(qc,h),",",li(Gc,c),",",li(Gc,h),",",li(Ga,c),",",li(Ga,h))}function hf(s,c){return(c[1]-s[1])/(c[0]-s[0])}function Xs(s){for(var c=0,h=s.length-1,b=[],_=s[0],E=s[1],D=b[0]=hf(_,E);++c<h;)b[c]=(D+(D=hf(_=E,E=s[c+1])))/2;return b[c]=D,b}function Qs(s){for(var c=[],h,b,_,E,D=Xs(s),I=-1,M=s.length-1;++I<M;)h=hf(s[I],s[I+1]),A(h)<Lr?D[I]=D[I+1]=0:(b=D[I]/h,_=D[I+1]/h,E=b*b+_*_,E>9&&(E=h*3/Math.sqrt(E),D[I]=E*b,D[I+1]=E*_));for(I=-1;++I<=M;)E=(s[Math.min(M,I+1)][0]-s[Math.max(0,I-1)][0])/(6*(1+D[I]*D[I])),c.push([E||0,D[I]*E||0]);return c}function fb(s){return s.length<3?xa(s):s[0]+as(s,Qs(s))}t.svg.line.radial=function(){var s=zp(jg);return s.radius=s.x,delete s.x,s.angle=s.y,delete s.y,s};function jg(s){for(var c,h=-1,b=s.length,_,E;++h<b;)c=s[h],_=c[0],E=c[1]-ma,c[0]=_*Math.cos(E),c[1]=_*Math.sin(E);return s}function Wp(s){var c=Ba,h=Ba,b=0,_=$a,E=$p,D=xa,I=D.key,M=D,j="L",U=.7;function V(Y){var he=[],me=[],Q=[],te=-1,ue=Y.length,ye,xe=$r(c),ce=$r(b),Ze=c===h?function(){return Et}:$r(h),st=b===_?function(){return lt}:$r(_),Et,lt;function Ot(){he.push("M",D(s(Q),U),j,M(s(me.reverse()),U),"Z")}for(;++te<ue;)E.call(this,ye=Y[te],te)?(me.push([Et=+xe.call(this,ye,te),lt=+ce.call(this,ye,te)]),Q.push([+Ze.call(this,ye,te),+st.call(this,ye,te)])):me.length&&(Ot(),me=[],Q=[]);return me.length&&Ot(),he.length?he.join(""):null}return V.x=function(Y){return arguments.length?(c=h=Y,V):h},V.x0=function(Y){return arguments.length?(c=Y,V):c},V.x1=function(Y){return arguments.length?(h=Y,V):h},V.y=function(Y){return arguments.length?(b=_=Y,V):_},V.y0=function(Y){return arguments.length?(b=Y,V):b},V.y1=function(Y){return arguments.length?(_=Y,V):_},V.defined=function(Y){return arguments.length?(E=Y,V):E},V.interpolate=function(Y){return arguments.length?(typeof Y=="function"?I=D=Y:I=(D=ff.get(Y)||xa).key,M=D.reverse||D,j=D.closed?"M":"L",V):I},V.tension=function(Y){return arguments.length?(U=Y,V):U},V}cf.reverse=is,is.reverse=cf,t.svg.area=function(){return Wp(Je)},t.svg.area.radial=function(){var s=Wp(jg);return s.radius=s.x,delete s.x,s.innerRadius=s.x0,delete s.x0,s.outerRadius=s.x1,delete s.x1,s.angle=s.y,delete s.y,s.startAngle=s.y0,delete s.y0,s.endAngle=s.y1,delete s.y1,s};function qp(s){return s.source}function Gp(s){return s.target}t.svg.chord=function(){var s=qp,c=Gp,h=cb,b=Lp,_=jc;function E(U,V){var Y=D(this,s,U,V),he=D(this,c,U,V);return"M"+Y.p0+M(Y.r,Y.p1,Y.a1-Y.a0)+(I(Y,he)?j(Y.r,Y.p1,Y.r,Y.p0):j(Y.r,Y.p1,he.r,he.p0)+M(he.r,he.p1,he.a1-he.a0)+j(he.r,he.p1,Y.r,Y.p0))+"Z"}function D(U,V,Y,he){var me=V.call(U,Y,he),Q=h.call(U,me,he),te=b.call(U,me,he)-ma,ue=_.call(U,me,he)-ma;return{r:Q,a0:te,a1:ue,p0:[Q*Math.cos(te),Q*Math.sin(te)],p1:[Q*Math.cos(ue),Q*Math.sin(ue)]}}function I(U,V){return U.a0==V.a0&&U.a1==V.a1}function M(U,V,Y){return"A"+U+","+U+" 0 "+ +(Y>aa)+",1 "+V}function j(U,V,Y,he){return"Q 0,0 "+he}return E.radius=function(U){return arguments.length?(h=$r(U),E):h},E.source=function(U){return arguments.length?(s=$r(U),E):s},E.target=function(U){return arguments.length?(c=$r(U),E):c},E.startAngle=function(U){return arguments.length?(b=$r(U),E):b},E.endAngle=function(U){return arguments.length?(_=$r(U),E):_},E};function cb(s){return s.radius}t.svg.diagonal=function(){var s=qp,c=Gp,h=os;function b(_,E){var D=s.call(this,_,E),I=c.call(this,_,E),M=(D.y+I.y)/2,j=[D,{x:D.x,y:M},{x:I.x,y:M},I];return j=j.map(h),"M"+j[0]+"C"+j[1]+" "+j[2]+" "+j[3]}return b.source=function(_){return arguments.length?(s=$r(_),b):s},b.target=function(_){return arguments.length?(c=$r(_),b):c},b.projection=function(_){return arguments.length?(h=_,b):h},b};function os(s){return[s.x,s.y]}t.svg.diagonal.radial=function(){var s=t.svg.diagonal(),c=os,h=s.projection;return s.projection=function(b){return arguments.length?h(Hp(c=b)):c},s};function Hp(s){return function(){var c=s.apply(this,arguments),h=c[0],b=c[1]-ma;return[h*Math.cos(b),h*Math.sin(b)]}}t.svg.symbol=function(){var s=pb,c=db;function h(b,_){return(Wg.get(s.call(this,b,_))||Ug)(c.call(this,b,_))}return h.type=function(b){return arguments.length?(s=$r(b),h):s},h.size=function(b){return arguments.length?(c=$r(b),h):c},h};function db(){return 64}function pb(){return"circle"}function Ug(s){var c=Math.sqrt(s/aa);return"M0,"+c+"A"+c+","+c+" 0 1,1 0,"+-c+"A"+c+","+c+" 0 1,1 0,"+c+"Z"}var Wg=t.map({circle:Ug,cross:function(s){var c=Math.sqrt(s/5)/2;return"M"+-3*c+","+-c+"H"+-c+"V"+-3*c+"H"+c+"V"+-c+"H"+3*c+"V"+c+"H"+c+"V"+3*c+"H"+-c+"V"+c+"H"+-3*c+"Z"},diamond:function(s){var c=Math.sqrt(s/(2*qg)),h=c*qg;return"M0,"+-c+"L"+h+",0 0,"+c+" "+-h+",0Z"},square:function(s){var c=Math.sqrt(s)/2;return"M"+-c+","+-c+"L"+c+","+-c+" "+c+","+c+" "+-c+","+c+"Z"},"triangle-down":function(s){var c=Math.sqrt(s/Hc),h=c*Hc/2;return"M0,"+h+"L"+c+","+-h+" "+-c+","+-h+"Z"},"triangle-up":function(s){var c=Math.sqrt(s/Hc),h=c*Hc/2;return"M0,"+-h+"L"+c+","+h+" "+-c+","+h+"Z"}});t.svg.symbolTypes=Wg.keys();var Hc=Math.sqrt(3),qg=Math.tan(30*xc);Ne.transition=function(s){for(var c=jo||++Yc,h=gf(s),b=[],_,E,D=Ks||{time:Date.now(),ease:vu,delay:0,duration:250},I=-1,M=this.length;++I<M;){b.push(_=[]);for(var j=this[I],U=-1,V=j.length;++U<V;)(E=j[U])&&Zs(E,U,h,c,D),_.push(E)}return vf(b,h,c)},Ne.interrupt=function(s){return this.each(s==null?Vc:Gg(gf(s)))};var Vc=Gg(gf());function Gg(s){return function(){var c,h,b;(c=this[s])&&(b=c[h=c.active])&&(b.timer.c=null,b.timer.t=NaN,--c.count?delete c[h]:delete this[s],c.active+=.5,b.event&&b.event.interrupt.call(this,this.__data__,b.index))}}function vf(s,c,h){return Gt(s,kn),s.namespace=c,s.id=h,s}var kn=[],Yc=0,jo,Ks;kn.call=Ne.call,kn.empty=Ne.empty,kn.node=Ne.node,kn.size=Ne.size,t.transition=function(s,c){return s&&s.transition?jo?s.transition(c):s:t.selection().transition(s)},t.transition.prototype=kn,kn.select=function(s){var c=this.id,h=this.namespace,b=[],_,E,D;s=H(s);for(var I=-1,M=this.length;++I<M;){b.push(_=[]);for(var j=this[I],U=-1,V=j.length;++U<V;)(D=j[U])&&(E=s.call(D,D.__data__,U,I))?("__data__"in D&&(E.__data__=D.__data__),Zs(E,U,h,c,D[h][c]),_.push(E)):_.push(null)}return vf(b,h,c)},kn.selectAll=function(s){var c=this.id,h=this.namespace,b=[],_,E,D,I,M;s=oe(s);for(var j=-1,U=this.length;++j<U;)for(var V=this[j],Y=-1,he=V.length;++Y<he;)if(D=V[Y]){M=D[h][c],E=s.call(D,D.__data__,Y,j),b.push(_=[]);for(var me=-1,Q=E.length;++me<Q;)(I=E[me])&&Zs(I,me,h,c,M),_.push(I)}return vf(b,h,c)},kn.filter=function(s){var c=[],h,b,_;typeof s!="function"&&(s=eo(s));for(var E=0,D=this.length;E<D;E++){c.push(h=[]);for(var b=this[E],I=0,M=b.length;I<M;I++)(_=b[I])&&s.call(_,_.__data__,I,E)&&h.push(_)}return vf(c,this.namespace,this.id)},kn.tween=function(s,c){var h=this.id,b=this.namespace;return arguments.length<2?this.node()[b][h].tween.get(s):Kn(this,c==null?function(_){_[b][h].tween.remove(s)}:function(_){_[b][h].tween.set(s,c)})};function Xc(s,c,h,b){var _=s.id,E=s.namespace;return Kn(s,typeof h=="function"?function(D,I,M){D[E][_].tween.set(c,b(h.call(D,D.__data__,I,M)))}:(h=b(h),function(D){D[E][_].tween.set(c,h)}))}kn.attr=function(s,c){if(arguments.length<2){for(c in s)this.attr(c,s[c]);return this}var h=s=="transform"?Ku:Hn,b=t.ns.qualify(s);function _(){this.removeAttribute(b)}function E(){this.removeAttributeNS(b.space,b.local)}function D(M){return M==null?_:(M+="",function(){var j=this.getAttribute(b),U;return j!==M&&(U=h(j,M),function(V){this.setAttribute(b,U(V))})})}function I(M){return M==null?E:(M+="",function(){var j=this.getAttributeNS(b.space,b.local),U;return j!==M&&(U=h(j,M),function(V){this.setAttributeNS(b.space,b.local,U(V))})})}return Xc(this,"attr."+s,c,b.local?I:D)},kn.attrTween=function(s,c){var h=t.ns.qualify(s);function b(E,D){var I=c.call(this,E,D,this.getAttribute(h));return I&&function(M){this.setAttribute(h,I(M))}}function _(E,D){var I=c.call(this,E,D,this.getAttributeNS(h.space,h.local));return I&&function(M){this.setAttributeNS(h.space,h.local,I(M))}}return this.tween("attr."+s,h.local?_:b)},kn.style=function(s,c,h){var b=arguments.length;if(b<3){if(typeof s!="string"){b<2&&(c="");for(h in s)this.style(h,s[h],c);return this}h=""}function _(){this.style.removeProperty(s)}function E(D){return D==null?_:(D+="",function(){var I=o(this).getComputedStyle(this,null).getPropertyValue(s),M;return I!==D&&(M=Hn(I,D),function(j){this.style.setProperty(s,M(j),h)})})}return Xc(this,"style."+s,c,E)},kn.styleTween=function(s,c,h){arguments.length<3&&(h="");function b(_,E){var D=c.call(this,_,E,o(this).getComputedStyle(this,null).getPropertyValue(s));return D&&function(I){this.style.setProperty(s,D(I),h)}}return this.tween("style."+s,b)},kn.text=function(s){return Xc(this,"text",s,Vp)};function Vp(s){return s==null&&(s=""),function(){this.textContent=s}}kn.remove=function(){var s=this.namespace;return this.each("end.transition",function(){var c;this[s].count<2&&(c=this.parentNode)&&c.removeChild(this)})},kn.ease=function(s){var c=this.id,h=this.namespace;return arguments.length<1?this.node()[h][c].ease:(typeof s!="function"&&(s=t.ease.apply(t,arguments)),Kn(this,function(b){b[h][c].ease=s}))},kn.delay=function(s){var c=this.id,h=this.namespace;return arguments.length<1?this.node()[h][c].delay:Kn(this,typeof s=="function"?function(b,_,E){b[h][c].delay=+s.call(b,b.__data__,_,E)}:(s=+s,function(b){b[h][c].delay=s}))},kn.duration=function(s){var c=this.id,h=this.namespace;return arguments.length<1?this.node()[h][c].duration:Kn(this,typeof s=="function"?function(b,_,E){b[h][c].duration=Math.max(1,s.call(b,b.__data__,_,E))}:(s=Math.max(1,s),function(b){b[h][c].duration=s}))},kn.each=function(s,c){var h=this.id,b=this.namespace;if(arguments.length<2){var _=Ks,E=jo;try{jo=h,Kn(this,function(D,I,M){Ks=D[b][h],s.call(D,D.__data__,I,M)})}finally{Ks=_,jo=E}}else Kn(this,function(D){var I=D[b][h];(I.event||(I.event=t.dispatch("start","end","interrupt"))).on(s,c)});return this},kn.transition=function(){for(var s=this.id,c=++Yc,h=this.namespace,b=[],_,E,D,I,M=0,j=this.length;M<j;M++){b.push(_=[]);for(var E=this[M],U=0,V=E.length;U<V;U++)(D=E[U])&&(I=D[h][s],Zs(D,U,h,c,{time:I.time,ease:I.ease,delay:I.delay+I.duration,duration:I.duration})),_.push(D)}return vf(b,h,c)};function gf(s){return s==null?"__transition__":"__transition_"+s+"__"}function Zs(s,c,h,b,_){var E=s[h]||(s[h]={active:0,count:0}),D=E[b],I,M,j,U,V;function Y(Q){var te=D.delay;if(M.t=te+I,te<=Q)return he(Q-te);M.c=he}function he(Q){var te=E.active,ue=E[te];ue&&(ue.timer.c=null,ue.timer.t=NaN,--E.count,delete E[te],ue.event&&ue.event.interrupt.call(s,s.__data__,ue.index));for(var ye in E)if(+ye<b){var xe=E[ye];xe.timer.c=null,xe.timer.t=NaN,--E.count,delete E[ye]}M.c=me,Fo(function(){return M.c&&me(Q||1)&&(M.c=null,M.t=NaN),1},0,I),E.active=b,D.event&&D.event.start.call(s,s.__data__,c),V=[],D.tween.forEach(function(ce,Ze){(Ze=Ze.call(s,s.__data__,c))&&V.push(Ze)}),U=D.ease,j=D.duration}function me(Q){for(var te=Q/j,ue=U(te),ye=V.length;ye>0;)V[--ye].call(s,ue);if(te>=1)return D.event&&D.event.end.call(s,s.__data__,c),--E.count?delete E[b]:delete s[h],1}D||(I=_.time,M=Fo(Y,0,I),D=E[b]={tween:new N,time:I,timer:M,delay:_.delay,duration:_.duration,ease:_.ease,index:c},_=null,++E.count)}t.svg.axis=function(){var s=t.scale.linear(),c=Yp,h=6,b=6,_=3,E=[10],D=null,I;function M(j){j.each(function(){var U=t.select(this),V=this.__chart__||s,Y=this.__chart__=s.copy(),he=D==null?Y.ticks?Y.ticks.apply(Y,E):Y.domain():D,me=I==null?Y.tickFormat?Y.tickFormat.apply(Y,E):Je:I,Q=U.selectAll(".tick").data(he,Y),te=Q.enter().insert("g",".domain").attr("class","tick").style("opacity",Lr),ue=t.transition(Q.exit()).style("opacity",Lr).remove(),ye=t.transition(Q.order()).style("opacity",1),xe=Math.max(h,0)+_,ce,Ze=Fc(Y),st=U.selectAll(".domain").data([0]),Et=(st.enter().append("path").attr("class","domain"),t.transition(st));te.append("line"),te.append("text");var lt=te.select("line"),Ot=ye.select("line"),$t=Q.select("text").text(me),xr=te.select("text"),qt=ye.select("text"),vr=c==="top"||c==="left"?-1:1,jr,En,Qr,Ct;if(c==="bottom"||c==="top"?(ce=Qp,jr="x",Qr="y",En="x2",Ct="y2",$t.attr("dy",vr<0?"0em":".71em").style("text-anchor","middle"),Et.attr("d","M"+Ze[0]+","+vr*b+"V0H"+Ze[1]+"V"+vr*b)):(ce=Kp,jr="y",Qr="x",En="y2",Ct="x2",$t.attr("dy",".32em").style("text-anchor",vr<0?"end":"start"),Et.attr("d","M"+vr*b+","+Ze[0]+"H0V"+Ze[1]+"H"+vr*b)),lt.attr(Ct,vr*h),xr.attr(Qr,vr*xe),Ot.attr(En,0).attr(Ct,vr*h),qt.attr(jr,0).attr(Qr,vr*xe),Y.rangeBand){var wr=Y,Cr=wr.rangeBand()/2;V=Y=function(Ur){return wr(Ur)+Cr}}else V.rangeBand?V=Y:ue.call(ce,Y,V);te.call(ce,V,Y),ye.call(ce,Y,Y)})}return M.scale=function(j){return arguments.length?(s=j,M):s},M.orient=function(j){return arguments.length?(c=j in Xp?j+"":Yp,M):c},M.ticks=function(){return arguments.length?(E=n(arguments),M):E},M.tickValues=function(j){return arguments.length?(D=j,M):D},M.tickFormat=function(j){return arguments.length?(I=j,M):I},M.tickSize=function(j){var U=arguments.length;return U?(h=+j,b=+arguments[U-1],M):h},M.innerTickSize=function(j){return arguments.length?(h=+j,M):h},M.outerTickSize=function(j){return arguments.length?(b=+j,M):b},M.tickPadding=function(j){return arguments.length?(_=+j,M):_},M.tickSubdivide=function(){return arguments.length&&M},M};var Yp="bottom",Xp={top:1,right:1,bottom:1,left:1};function Qp(s,c,h){s.attr("transform",function(b){var _=c(b);return"translate("+(isFinite(_)?_:h(b))+",0)"})}function Kp(s,c,h){s.attr("transform",function(b){var _=c(b);return"translate(0,"+(isFinite(_)?_:h(b))+")"})}t.svg.brush=function(){var s=ft(U,"brushstart","brush","brushend"),c=null,h=null,b=[0,0],_=[0,0],E,D,I=!0,M=!0,j=mf[0];function U(Q){Q.each(function(){var te=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",me).on("touchstart.brush",me),ue=te.selectAll(".background").data([0]);ue.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),te.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ye=te.selectAll(".resize").data(j,Je);ye.exit().remove(),ye.enter().append("g").attr("class",function(st){return"resize "+st}).style("cursor",function(st){return Zp[st]}).append("rect").attr("x",function(st){return/[ew]$/.test(st)?-3:null}).attr("y",function(st){return/^[ns]/.test(st)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ye.style("display",U.empty()?"none":null);var xe=t.transition(te),ce=t.transition(ue),Ze;c&&(Ze=Fc(c),ce.attr("x",Ze[0]).attr("width",Ze[1]-Ze[0]),Y(xe)),h&&(Ze=Fc(h),ce.attr("y",Ze[0]).attr("height",Ze[1]-Ze[0]),he(xe)),V(xe)})}U.event=function(Q){Q.each(function(){var te=s.of(this,arguments),ue={x:b,y:_,i:E,j:D},ye=this.__chart__||ue;this.__chart__=ue,jo?t.select(this).transition().each("start.brush",function(){E=ye.i,D=ye.j,b=ye.x,_=ye.y,te({type:"brushstart"})}).tween("brush:brush",function(){var xe=ui(b,ue.x),ce=ui(_,ue.y);return E=D=null,function(Ze){b=ue.x=xe(Ze),_=ue.y=ce(Ze),te({type:"brush",mode:"resize"})}}).each("end.brush",function(){E=ue.i,D=ue.j,te({type:"brush",mode:"resize"}),te({type:"brushend"})}):(te({type:"brushstart"}),te({type:"brush",mode:"resize"}),te({type:"brushend"}))})};function V(Q){Q.selectAll(".resize").attr("transform",function(te){return"translate("+b[+/e$/.test(te)]+","+_[+/^s/.test(te)]+")"})}function Y(Q){Q.select(".extent").attr("x",b[0]),Q.selectAll(".extent,.n>rect,.s>rect").attr("width",b[1]-b[0])}function he(Q){Q.select(".extent").attr("y",_[0]),Q.selectAll(".extent,.e>rect,.w>rect").attr("height",_[1]-_[0])}function me(){var Q=this,te=t.select(t.event.target),ue=s.of(Q,arguments),ye=t.select(Q),xe=te.datum(),ce=!/^(n|s)$/.test(xe)&&c,Ze=!/^(e|w)$/.test(xe)&&h,st=te.classed("extent"),Et=zu(Q),lt,Ot=t.mouse(Q),$t,xr=t.select(o(Q)).on("keydown.brush",jr).on("keyup.brush",En);if(t.event.changedTouches?xr.on("touchmove.brush",Qr).on("touchend.brush",wr):xr.on("mousemove.brush",Qr).on("mouseup.brush",wr),ye.interrupt().selectAll("*").interrupt(),st)Ot[0]=b[0]-Ot[0],Ot[1]=_[0]-Ot[1];else if(xe){var qt=+/w$/.test(xe),vr=+/^n/.test(xe);$t=[b[1-qt]-Ot[0],_[1-vr]-Ot[1]],Ot[0]=b[qt],Ot[1]=_[vr]}else t.event.altKey&&(lt=Ot.slice());ye.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",te.style("cursor")),ue({type:"brushstart"}),Qr();function jr(){t.event.keyCode==32&&(st||(lt=null,Ot[0]-=b[1],Ot[1]-=_[1],st=2),ot())}function En(){t.event.keyCode==32&&st==2&&(Ot[0]+=b[1],Ot[1]+=_[1],st=0,ot())}function Qr(){var Cr=t.mouse(Q),Ur=!1;$t&&(Cr[0]+=$t[0],Cr[1]+=$t[1]),st||(t.event.altKey?(lt||(lt=[(b[0]+b[1])/2,(_[0]+_[1])/2]),Ot[0]=b[+(Cr[0]<lt[0])],Ot[1]=_[+(Cr[1]<lt[1])]):lt=null),ce&&Ct(Cr,c,0)&&(Y(ye),Ur=!0),Ze&&Ct(Cr,h,1)&&(he(ye),Ur=!0),Ur&&(V(ye),ue({type:"brush",mode:st?"move":"resize"}))}function Ct(Cr,Ur,mn){var Dn=Fc(Ur),Vn=Dn[0],Ai=Dn[1],$i=Ot[mn],fi=mn?_:b,Ki=fi[1]-fi[0],F,Z;if(st&&(Vn-=$i,Ai-=Ki+$i),F=(mn?M:I)?Math.max(Vn,Math.min(Ai,Cr[mn])):Cr[mn],st?Z=(F+=$i)+Ki:(lt&&($i=Math.max(Vn,Math.min(Ai,2*lt[mn]-F))),$i<F?(Z=F,F=$i):Z=$i),fi[0]!=F||fi[1]!=Z)return mn?D=null:E=null,fi[0]=F,fi[1]=Z,!0}function wr(){Qr(),ye.style("pointer-events","all").selectAll(".resize").style("display",U.empty()?"none":null),t.select("body").style("cursor",null),xr.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),Et(),ue({type:"brushend"})}}return U.x=function(Q){return arguments.length?(c=Q,j=mf[!c<<1|!h],U):c},U.y=function(Q){return arguments.length?(h=Q,j=mf[!c<<1|!h],U):h},U.clamp=function(Q){return arguments.length?(c&&h?(I=!!Q[0],M=!!Q[1]):c?I=!!Q:h&&(M=!!Q),U):c&&h?[I,M]:c?I:h?M:null},U.extent=function(Q){var te,ue,ye,xe,ce;return arguments.length?(c&&(te=Q[0],ue=Q[1],h&&(te=te[0],ue=ue[0]),E=[te,ue],c.invert&&(te=c(te),ue=c(ue)),ue<te&&(ce=te,te=ue,ue=ce),(te!=b[0]||ue!=b[1])&&(b=[te,ue])),h&&(ye=Q[0],xe=Q[1],c&&(ye=ye[1],xe=xe[1]),D=[ye,xe],h.invert&&(ye=h(ye),xe=h(xe)),xe<ye&&(ce=ye,ye=xe,xe=ce),(ye!=_[0]||xe!=_[1])&&(_=[ye,xe])),U):(c&&(E?(te=E[0],ue=E[1]):(te=b[0],ue=b[1],c.invert&&(te=c.invert(te),ue=c.invert(ue)),ue<te&&(ce=te,te=ue,ue=ce))),h&&(D?(ye=D[0],xe=D[1]):(ye=_[0],xe=_[1],h.invert&&(ye=h.invert(ye),xe=h.invert(xe)),xe<ye&&(ce=ye,ye=xe,xe=ce))),c&&h?[[te,ye],[ue,xe]]:c?[te,ue]:h&&[ye,xe])},U.clear=function(){return U.empty()||(b=[0,0],_=[0,0],E=D=null),U},U.empty=function(){return!!c&&b[0]==b[1]||!!h&&_[0]==_[1]},t.rebind(U,s,"on")};var Zp={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},mf=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];t.text=Fa(function(s){return s.responseText}),t.json=function(s,c){return su(s,"application/json",Jp,c)};function Jp(s){return JSON.parse(s.responseText)}t.html=function(s,c){return su(s,"text/html",eh,c)};function eh(s){var c=i.createRange();return c.selectNode(i.body),c.createContextualFragment(s.responseText)}t.xml=Fa(function(s){return s.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})(Jte);var Lw=new Date,Bw=new Date;function mi(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,u){var l=[],f;if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return l;do l.push(f=new Date(+a)),t(a,u),e(a);while(f<a&&a<o);return l},i.filter=function(a){return mi(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,u){if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!a(o););else for(;--u>=0;)for(;t(o,1),!a(o););})},r&&(i.count=function(a,o){return Lw.setTime(+a),Bw.setTime(+o),e(Lw),e(Bw),Math.floor(r(Lw,Bw))},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 Sy=mi(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Sy.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?mi(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):Sy};const yI=Sy;var bI=Sy.range,Ey=1e3,Kf=6e4,Cy=36e5,z4=864e5,j4=6048e5,U4=mi(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*Ey)},function(e,t){return(t-e)/Ey},function(e){return e.getUTCSeconds()});const xI=U4;var wI=U4.range,W4=mi(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ey)},function(e,t){e.setTime(+e+t*Kf)},function(e,t){return(t-e)/Kf},function(e){return e.getMinutes()});const ere=W4;var tre=W4.range,q4=mi(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ey-e.getMinutes()*Kf)},function(e,t){e.setTime(+e+t*Cy)},function(e,t){return(t-e)/Cy},function(e){return e.getHours()});const rre=q4;var nre=q4.range,G4=mi(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())*Kf)/z4},function(e){return e.getDate()-1});const mA=G4;var ire=G4.range;function vc(e){return mi(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())*Kf)/j4})}var Ay=vc(0),$v=vc(1),H4=vc(2),V4=vc(3),Zf=vc(4),Y4=vc(5),X4=vc(6),_I=Ay.range,are=$v.range,ore=H4.range,ure=V4.range,sre=Zf.range,lre=Y4.range,fre=X4.range,Q4=mi(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 cre=Q4;var dre=Q4.range,yA=mi(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()});yA.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:mi(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 ep=yA;var pre=yA.range,K4=mi(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*Kf)},function(e,t){return(t-e)/Kf},function(e){return e.getUTCMinutes()});const hre=K4;var vre=K4.range,Z4=mi(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Cy)},function(e,t){return(t-e)/Cy},function(e){return e.getUTCHours()});const gre=Z4;var mre=Z4.range,J4=mi(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/z4},function(e){return e.getUTCDate()-1});const bA=J4;var yre=J4.range;function gc(e){return mi(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)/j4})}var Ty=gc(0),zv=gc(1),eB=gc(2),tB=gc(3),Jf=gc(4),rB=gc(5),nB=gc(6),SI=Ty.range,bre=zv.range,xre=eB.range,wre=tB.range,_re=Jf.range,Sre=rB.range,Ere=nB.range,iB=mi(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 Cre=iB;var Are=iB.range,xA=mi(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()});xA.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:mi(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 tp=xA;var Tre=xA.range;const Ore=Object.freeze(Object.defineProperty({__proto__:null,timeInterval:mi,timeMillisecond:yI,timeMilliseconds:bI,utcMillisecond:yI,utcMilliseconds:bI,timeSecond:xI,timeSeconds:wI,utcSecond:xI,utcSeconds:wI,timeMinute:ere,timeMinutes:tre,timeHour:rre,timeHours:nre,timeDay:mA,timeDays:ire,timeWeek:Ay,timeWeeks:_I,timeSunday:Ay,timeSundays:_I,timeMonday:$v,timeMondays:are,timeTuesday:H4,timeTuesdays:ore,timeWednesday:V4,timeWednesdays:ure,timeThursday:Zf,timeThursdays:sre,timeFriday:Y4,timeFridays:lre,timeSaturday:X4,timeSaturdays:fre,timeMonth:cre,timeMonths:dre,timeYear:ep,timeYears:pre,utcMinute:hre,utcMinutes:vre,utcHour:gre,utcHours:mre,utcDay:bA,utcDays:yre,utcWeek:Ty,utcWeeks:SI,utcSunday:Ty,utcSundays:SI,utcMonday:zv,utcMondays:bre,utcTuesday:eB,utcTuesdays:xre,utcWednesday:tB,utcWednesdays:wre,utcThursday:Jf,utcThursdays:_re,utcFriday:rB,utcFridays:Sre,utcSaturday:nB,utcSaturdays:Ere,utcMonth:Cre,utcMonths:Are,utcYear:tp,utcYears:Tre},Symbol.toStringTag,{value:"Module"}));function $w(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 zw(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 xh(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function aB(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,l=e.shortMonths,f=wh(i),p=_h(i),g=wh(a),v=_h(a),y=wh(o),C=_h(o),O=wh(u),S=_h(u),w=wh(l),A=_h(l),R={a:Te,A:Ye,b:nt,B:pt,c:null,d:RI,e:RI,f:Kre,g:une,G:lne,H:Yre,I:Xre,j:Qre,L:oB,m:Zre,M:Jre,p:Ie,q:Re,Q:kI,s:DI,S:ene,u:tne,U:rne,V:nne,w:ine,W:ane,x:null,X:null,y:one,Y:sne,Z:fne,"%":PI},P={a:ot,A:et,b:ft,B:At,c:null,d:II,e:II,f:hne,g:Ene,G:Ane,H:cne,I:dne,j:pne,L:sB,m:vne,M:gne,p:Gt,q:Xt,Q:kI,s:DI,S:mne,u:yne,U:bne,V:xne,w:wne,W:_ne,x:null,X:null,y:Sne,Y:Cne,Z:Tne,"%":PI},N={a:ae,A:ve,b:be,B:Pe,c:Fe,d:TI,e:TI,f:qre,g:AI,G:CI,H:OI,I:OI,j:zre,L:Wre,m:$re,M:jre,p:$,q:Bre,Q:Hre,s:Vre,S:Ure,u:Dre,U:Mre,V:Nre,w:kre,W:Fre,x:dt,X:Je,y:AI,Y:CI,Z:Lre,"%":Gre};R.x=m(r,R),R.X=m(n,R),R.c=m(t,R),P.x=m(r,P),P.X=m(n,P),P.c=m(t,P);function m(Me,yt){return function(Nt){var Ne=[],H=-1,oe=0,K=Me.length,ge,xt,It;for(Nt instanceof Date||(Nt=new Date(+Nt));++H<K;)Me.charCodeAt(H)===37&&(Ne.push(Me.slice(oe,H)),(xt=EI[ge=Me.charAt(++H)])!=null?ge=Me.charAt(++H):xt=ge==="e"?" ":"0",(It=yt[ge])&&(ge=It(Nt,xt)),Ne.push(ge),oe=H+1);return Ne.push(Me.slice(oe,H)),Ne.join("")}}function G(Me,yt){return function(Nt){var Ne=xh(1900,void 0,1),H=L(Ne,Me,Nt+="",0),oe,K;if(H!=Nt.length)return null;if("Q"in Ne)return new Date(Ne.Q);if("s"in Ne)return new Date(Ne.s*1e3+("L"in Ne?Ne.L:0));if(yt&&!("Z"in Ne)&&(Ne.Z=0),"p"in Ne&&(Ne.H=Ne.H%12+Ne.p*12),Ne.m===void 0&&(Ne.m="q"in Ne?Ne.q:0),"V"in Ne){if(Ne.V<1||Ne.V>53)return null;"w"in Ne||(Ne.w=1),"Z"in Ne?(oe=zw(xh(Ne.y,0,1)),K=oe.getUTCDay(),oe=K>4||K===0?zv.ceil(oe):zv(oe),oe=bA.offset(oe,(Ne.V-1)*7),Ne.y=oe.getUTCFullYear(),Ne.m=oe.getUTCMonth(),Ne.d=oe.getUTCDate()+(Ne.w+6)%7):(oe=$w(xh(Ne.y,0,1)),K=oe.getDay(),oe=K>4||K===0?$v.ceil(oe):$v(oe),oe=mA.offset(oe,(Ne.V-1)*7),Ne.y=oe.getFullYear(),Ne.m=oe.getMonth(),Ne.d=oe.getDate()+(Ne.w+6)%7)}else("W"in Ne||"U"in Ne)&&("w"in Ne||(Ne.w="u"in Ne?Ne.u%7:"W"in Ne?1:0),K="Z"in Ne?zw(xh(Ne.y,0,1)).getUTCDay():$w(xh(Ne.y,0,1)).getDay(),Ne.m=0,Ne.d="W"in Ne?(Ne.w+6)%7+Ne.W*7-(K+5)%7:Ne.w+Ne.U*7-(K+6)%7);return"Z"in Ne?(Ne.H+=Ne.Z/100|0,Ne.M+=Ne.Z%100,zw(Ne)):$w(Ne)}}function L(Me,yt,Nt,Ne){for(var H=0,oe=yt.length,K=Nt.length,ge,xt;H<oe;){if(Ne>=K)return-1;if(ge=yt.charCodeAt(H++),ge===37){if(ge=yt.charAt(H++),xt=N[ge in EI?yt.charAt(H++):ge],!xt||(Ne=xt(Me,Nt,Ne))<0)return-1}else if(ge!=Nt.charCodeAt(Ne++))return-1}return Ne}function $(Me,yt,Nt){var Ne=f.exec(yt.slice(Nt));return Ne?(Me.p=p[Ne[0].toLowerCase()],Nt+Ne[0].length):-1}function ae(Me,yt,Nt){var Ne=y.exec(yt.slice(Nt));return Ne?(Me.w=C[Ne[0].toLowerCase()],Nt+Ne[0].length):-1}function ve(Me,yt,Nt){var Ne=g.exec(yt.slice(Nt));return Ne?(Me.w=v[Ne[0].toLowerCase()],Nt+Ne[0].length):-1}function be(Me,yt,Nt){var Ne=w.exec(yt.slice(Nt));return Ne?(Me.m=A[Ne[0].toLowerCase()],Nt+Ne[0].length):-1}function Pe(Me,yt,Nt){var Ne=O.exec(yt.slice(Nt));return Ne?(Me.m=S[Ne[0].toLowerCase()],Nt+Ne[0].length):-1}function Fe(Me,yt,Nt){return L(Me,t,yt,Nt)}function dt(Me,yt,Nt){return L(Me,r,yt,Nt)}function Je(Me,yt,Nt){return L(Me,n,yt,Nt)}function Te(Me){return o[Me.getDay()]}function Ye(Me){return a[Me.getDay()]}function nt(Me){return l[Me.getMonth()]}function pt(Me){return u[Me.getMonth()]}function Ie(Me){return i[+(Me.getHours()>=12)]}function Re(Me){return 1+~~(Me.getMonth()/3)}function ot(Me){return o[Me.getUTCDay()]}function et(Me){return a[Me.getUTCDay()]}function ft(Me){return l[Me.getUTCMonth()]}function At(Me){return u[Me.getUTCMonth()]}function Gt(Me){return i[+(Me.getUTCHours()>=12)]}function Xt(Me){return 1+~~(Me.getUTCMonth()/3)}return{format:function(Me){var yt=m(Me+="",R);return yt.toString=function(){return Me},yt},parse:function(Me){var yt=G(Me+="",!1);return yt.toString=function(){return Me},yt},utcFormat:function(Me){var yt=m(Me+="",P);return yt.toString=function(){return Me},yt},utcParse:function(Me){var yt=G(Me+="",!0);return yt.toString=function(){return Me},yt}}}var EI={"-":"",_:" ",0:"0"},Di=/^\s*\d+/,Rre=/^%/,Ire=/[\\^$*+?|[\]().{}]/g;function sn(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 Pre(e){return e.replace(Ire,"\\$&")}function wh(e){return new RegExp("^(?:"+e.map(Pre).join("|")+")","i")}function _h(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function kre(e,t,r){var n=Di.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Dre(e,t,r){var n=Di.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Mre(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Nre(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Fre(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function CI(e,t,r){var n=Di.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function AI(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Lre(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 Bre(e,t,r){var n=Di.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function $re(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function TI(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function zre(e,t,r){var n=Di.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function OI(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function jre(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Ure(e,t,r){var n=Di.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Wre(e,t,r){var n=Di.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function qre(e,t,r){var n=Di.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Gre(e,t,r){var n=Rre.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Hre(e,t,r){var n=Di.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Vre(e,t,r){var n=Di.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function RI(e,t){return sn(e.getDate(),t,2)}function Yre(e,t){return sn(e.getHours(),t,2)}function Xre(e,t){return sn(e.getHours()%12||12,t,2)}function Qre(e,t){return sn(1+mA.count(ep(e),e),t,3)}function oB(e,t){return sn(e.getMilliseconds(),t,3)}function Kre(e,t){return oB(e,t)+"000"}function Zre(e,t){return sn(e.getMonth()+1,t,2)}function Jre(e,t){return sn(e.getMinutes(),t,2)}function ene(e,t){return sn(e.getSeconds(),t,2)}function tne(e){var t=e.getDay();return t===0?7:t}function rne(e,t){return sn(Ay.count(ep(e)-1,e),t,2)}function uB(e){var t=e.getDay();return t>=4||t===0?Zf(e):Zf.ceil(e)}function nne(e,t){return e=uB(e),sn(Zf.count(ep(e),e)+(ep(e).getDay()===4),t,2)}function ine(e){return e.getDay()}function ane(e,t){return sn($v.count(ep(e)-1,e),t,2)}function one(e,t){return sn(e.getFullYear()%100,t,2)}function une(e,t){return e=uB(e),sn(e.getFullYear()%100,t,2)}function sne(e,t){return sn(e.getFullYear()%1e4,t,4)}function lne(e,t){var r=e.getDay();return e=r>=4||r===0?Zf(e):Zf.ceil(e),sn(e.getFullYear()%1e4,t,4)}function fne(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+sn(t/60|0,"0",2)+sn(t%60,"0",2)}function II(e,t){return sn(e.getUTCDate(),t,2)}function cne(e,t){return sn(e.getUTCHours(),t,2)}function dne(e,t){return sn(e.getUTCHours()%12||12,t,2)}function pne(e,t){return sn(1+bA.count(tp(e),e),t,3)}function sB(e,t){return sn(e.getUTCMilliseconds(),t,3)}function hne(e,t){return sB(e,t)+"000"}function vne(e,t){return sn(e.getUTCMonth()+1,t,2)}function gne(e,t){return sn(e.getUTCMinutes(),t,2)}function mne(e,t){return sn(e.getUTCSeconds(),t,2)}function yne(e){var t=e.getUTCDay();return t===0?7:t}function bne(e,t){return sn(Ty.count(tp(e)-1,e),t,2)}function lB(e){var t=e.getUTCDay();return t>=4||t===0?Jf(e):Jf.ceil(e)}function xne(e,t){return e=lB(e),sn(Jf.count(tp(e),e)+(tp(e).getUTCDay()===4),t,2)}function wne(e){return e.getUTCDay()}function _ne(e,t){return sn(zv.count(tp(e)-1,e),t,2)}function Sne(e,t){return sn(e.getUTCFullYear()%100,t,2)}function Ene(e,t){return e=lB(e),sn(e.getUTCFullYear()%100,t,2)}function Cne(e,t){return sn(e.getUTCFullYear()%1e4,t,4)}function Ane(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Jf(e):Jf.ceil(e),sn(e.getUTCFullYear()%1e4,t,4)}function Tne(){return"+0000"}function PI(){return"%"}function kI(e){return+e}function DI(e){return Math.floor(+e/1e3)}var rd,fB,cB,wA,_A;dB({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 dB(e){return rd=aB(e),fB=rd.format,cB=rd.parse,wA=rd.utcFormat,_A=rd.utcParse,rd}var pB="%Y-%m-%dT%H:%M:%S.%LZ";function One(e){return e.toISOString()}var Rne=Date.prototype.toISOString?One:wA(pB);const Ine=Rne;function Pne(e){var t=new Date(e);return isNaN(t)?null:t}var kne=+new Date("2000-01-01T00:00:00.000Z")?Pne:_A(pB);const Dne=kne,Mne=Object.freeze(Object.defineProperty({__proto__:null,timeFormatDefaultLocale:dB,get timeFormat(){return fB},get timeParse(){return cB},get utcFormat(){return wA},get utcParse(){return _A},timeFormatLocale:aB,isoFormat:Ine,isoParse:Dne},Symbol.toStringTag,{value:"Module"})),cde=rc(Mne);function Nne(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Oy(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 rp(e){return e=Oy(Math.abs(e)),e?e[1]:NaN}function Fne(e,t){return function(r,n){for(var i=r.length,a=[],o=0,u=e[0],l=0;i>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),a.push(r.substring(i-=u,i+u)),!((l+=u+1)>n));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Lne(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Bne=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ry(e){if(!(t=Bne.exec(e)))throw new Error("invalid format: "+e);var t;return new z1({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]})}Ry.prototype=z1.prototype;function z1(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+""}z1.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 $ne(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 hB;function zne(e,t){var r=Oy(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(hB=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")+Oy(e,Math.max(0,t+a-1))[0]}function MI(e,t){var r=Oy(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 NI={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:Nne,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 MI(e*100,t)},r:MI,s:zne,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function FI(e){return e}var LI=Array.prototype.map,BI=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function vB(e){var t=e.grouping===void 0||e.thousands===void 0?FI:Fne(LI.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?FI:Lne(LI.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"-":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function f(g){g=Ry(g);var v=g.fill,y=g.align,C=g.sign,O=g.symbol,S=g.zero,w=g.width,A=g.comma,R=g.precision,P=g.trim,N=g.type;N==="n"?(A=!0,N="g"):NI[N]||(R===void 0&&(R=12),P=!0,N="g"),(S||v==="0"&&y==="=")&&(S=!0,v="0",y="=");var m=O==="$"?r:O==="#"&&/[boxX]/.test(N)?"0"+N.toLowerCase():"",G=O==="$"?n:/[%p]/.test(N)?o:"",L=NI[N],$=/[defgprs%]/.test(N);R=R===void 0?6:/[gprs]/.test(N)?Math.max(1,Math.min(21,R)):Math.max(0,Math.min(20,R));function ae(ve){var be=m,Pe=G,Fe,dt,Je;if(N==="c")Pe=L(ve)+Pe,ve="";else{ve=+ve;var Te=ve<0||1/ve<0;if(ve=isNaN(ve)?l:L(Math.abs(ve),R),P&&(ve=$ne(ve)),Te&&+ve==0&&C!=="+"&&(Te=!1),be=(Te?C==="("?C:u:C==="-"||C==="("?"":C)+be,Pe=(N==="s"?BI[8+hB/3]:"")+Pe+(Te&&C==="("?")":""),$){for(Fe=-1,dt=ve.length;++Fe<dt;)if(Je=ve.charCodeAt(Fe),48>Je||Je>57){Pe=(Je===46?i+ve.slice(Fe+1):ve.slice(Fe))+Pe,ve=ve.slice(0,Fe);break}}}A&&!S&&(ve=t(ve,1/0));var Ye=be.length+ve.length+Pe.length,nt=Ye<w?new Array(w-Ye+1).join(v):"";switch(A&&S&&(ve=t(nt+ve,nt.length?w-Pe.length:1/0),nt=""),y){case"<":ve=be+ve+Pe+nt;break;case"=":ve=be+nt+ve+Pe;break;case"^":ve=nt.slice(0,Ye=nt.length>>1)+be+ve+Pe+nt.slice(Ye);break;default:ve=nt+be+ve+Pe;break}return a(ve)}return ae.toString=function(){return g+""},ae}function p(g,v){var y=f((g=Ry(g),g.type="f",g)),C=Math.max(-8,Math.min(8,Math.floor(rp(v)/3)))*3,O=Math.pow(10,-C),S=BI[8+C/3];return function(w){return y(O*w)+S}}return{format:f,formatPrefix:p}}var Tm,gB,mB;yB({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function yB(e){return Tm=vB(e),gB=Tm.format,mB=Tm.formatPrefix,Tm}function jne(e){return Math.max(0,-rp(Math.abs(e)))}function Une(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(rp(t)/3)))*3-rp(Math.abs(e)))}function Wne(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rp(t)-rp(e))+1}const qne=Object.freeze(Object.defineProperty({__proto__:null,formatDefaultLocale:yB,get format(){return gB},get formatPrefix(){return mB},formatLocale:vB,formatSpecifier:Ry,FormatSpecifier:z1,precisionFixed:jne,precisionPrefix:Une,precisionRound:Wne},Symbol.toStringTag,{value:"Module"})),dde=rc(qne);var Gne=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},Hne=Gne,pde=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&Hne(r))return!1}else if(t!=="number")return!1;return e-e<1},Vne={exports:{}};(function(e){(function(t){var r=/^\s+/,n=/\s+$/,i=0,a=t.round,o=t.min,u=t.max,l=t.random;function f(H,oe){if(H=H||"",oe=oe||{},H instanceof f)return H;if(!(this instanceof f))return new f(H,oe);var K=p(H);this._originalInput=H,this._r=K.r,this._g=K.g,this._b=K.b,this._a=K.a,this._roundA=a(100*this._a)/100,this._format=oe.format||K.format,this._gradientType=oe.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=K.ok,this._tc_id=i++}f.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 H=this.toRgb();return(H.r*299+H.g*587+H.b*114)/1e3},getLuminance:function(){var H=this.toRgb(),oe,K,ge,xt,It,mr;return oe=H.r/255,K=H.g/255,ge=H.b/255,oe<=.03928?xt=oe/12.92:xt=t.pow((oe+.055)/1.055,2.4),K<=.03928?It=K/12.92:It=t.pow((K+.055)/1.055,2.4),ge<=.03928?mr=ge/12.92:mr=t.pow((ge+.055)/1.055,2.4),.2126*xt+.7152*It+.0722*mr},setAlpha:function(H){return this._a=nt(H),this._roundA=a(100*this._a)/100,this},toHsv:function(){var H=C(this._r,this._g,this._b);return{h:H.h*360,s:H.s,v:H.v,a:this._a}},toHsvString:function(){var H=C(this._r,this._g,this._b),oe=a(H.h*360),K=a(H.s*100),ge=a(H.v*100);return this._a==1?"hsv("+oe+", "+K+"%, "+ge+"%)":"hsva("+oe+", "+K+"%, "+ge+"%, "+this._roundA+")"},toHsl:function(){var H=v(this._r,this._g,this._b);return{h:H.h*360,s:H.s,l:H.l,a:this._a}},toHslString:function(){var H=v(this._r,this._g,this._b),oe=a(H.h*360),K=a(H.s*100),ge=a(H.l*100);return this._a==1?"hsl("+oe+", "+K+"%, "+ge+"%)":"hsla("+oe+", "+K+"%, "+ge+"%, "+this._roundA+")"},toHex:function(H){return S(this._r,this._g,this._b,H)},toHexString:function(H){return"#"+this.toHex(H)},toHex8:function(H){return w(this._r,this._g,this._b,this._a,H)},toHex8String:function(H){return"#"+this.toHex8(H)},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(pt(this._r,255)*100)+"%",g:a(pt(this._g,255)*100)+"%",b:a(pt(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(pt(this._r,255)*100)+"%, "+a(pt(this._g,255)*100)+"%, "+a(pt(this._b,255)*100)+"%)":"rgba("+a(pt(this._r,255)*100)+"%, "+a(pt(this._g,255)*100)+"%, "+a(pt(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Te[S(this._r,this._g,this._b,!0)]||!1},toFilter:function(H){var oe="#"+A(this._r,this._g,this._b,this._a),K=oe,ge=this._gradientType?"GradientType = 1, ":"";if(H){var xt=f(H);K="#"+A(xt._r,xt._g,xt._b,xt._a)}return"progid:DXImageTransform.Microsoft.gradient("+ge+"startColorstr="+oe+",endColorstr="+K+")"},toString:function(H){var oe=!!H;H=H||this._format;var K=!1,ge=this._a<1&&this._a>=0,xt=!oe&&ge&&(H==="hex"||H==="hex6"||H==="hex3"||H==="hex4"||H==="hex8"||H==="name");return xt?H==="name"&&this._a===0?this.toName():this.toRgbString():(H==="rgb"&&(K=this.toRgbString()),H==="prgb"&&(K=this.toPercentageRgbString()),(H==="hex"||H==="hex6")&&(K=this.toHexString()),H==="hex3"&&(K=this.toHexString(!0)),H==="hex4"&&(K=this.toHex8String(!0)),H==="hex8"&&(K=this.toHex8String()),H==="name"&&(K=this.toName()),H==="hsl"&&(K=this.toHslString()),H==="hsv"&&(K=this.toHsvString()),K||this.toHexString())},clone:function(){return f(this.toString())},_applyModification:function(H,oe){var K=H.apply(null,[this].concat([].slice.call(oe)));return this._r=K._r,this._g=K._g,this._b=K._b,this.setAlpha(K._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(G,arguments)},darken:function(){return this._applyModification(L,arguments)},desaturate:function(){return this._applyModification(R,arguments)},saturate:function(){return this._applyModification(P,arguments)},greyscale:function(){return this._applyModification(N,arguments)},spin:function(){return this._applyModification($,arguments)},_applyCombination:function(H,oe){return H.apply(null,[this].concat([].slice.call(oe)))},analogous:function(){return this._applyCombination(Fe,arguments)},complement:function(){return this._applyCombination(ae,arguments)},monochromatic:function(){return this._applyCombination(dt,arguments)},splitcomplement:function(){return this._applyCombination(Pe,arguments)},triad:function(){return this._applyCombination(ve,arguments)},tetrad:function(){return this._applyCombination(be,arguments)}},f.fromRatio=function(H,oe){if(typeof H=="object"){var K={};for(var ge in H)H.hasOwnProperty(ge)&&(ge==="a"?K[ge]=H[ge]:K[ge]=At(H[ge]));H=K}return f(H,oe)};function p(H){var oe={r:0,g:0,b:0},K=1,ge=null,xt=null,It=null,mr=!1,Fr=!1;return typeof H=="string"&&(H=Nt(H)),typeof H=="object"&&(yt(H.r)&&yt(H.g)&&yt(H.b)?(oe=g(H.r,H.g,H.b),mr=!0,Fr=String(H.r).substr(-1)==="%"?"prgb":"rgb"):yt(H.h)&&yt(H.s)&&yt(H.v)?(ge=At(H.s),xt=At(H.v),oe=O(H.h,ge,xt),mr=!0,Fr="hsv"):yt(H.h)&&yt(H.s)&&yt(H.l)&&(ge=At(H.s),It=At(H.l),oe=y(H.h,ge,It),mr=!0,Fr="hsl"),H.hasOwnProperty("a")&&(K=H.a)),K=nt(K),{ok:mr,format:H.format||Fr,r:o(255,u(oe.r,0)),g:o(255,u(oe.g,0)),b:o(255,u(oe.b,0)),a:K}}function g(H,oe,K){return{r:pt(H,255)*255,g:pt(oe,255)*255,b:pt(K,255)*255}}function v(H,oe,K){H=pt(H,255),oe=pt(oe,255),K=pt(K,255);var ge=u(H,oe,K),xt=o(H,oe,K),It,mr,Fr=(ge+xt)/2;if(ge==xt)It=mr=0;else{var zr=ge-xt;switch(mr=Fr>.5?zr/(2-ge-xt):zr/(ge+xt),ge){case H:It=(oe-K)/zr+(oe<K?6:0);break;case oe:It=(K-H)/zr+2;break;case K:It=(H-oe)/zr+4;break}It/=6}return{h:It,s:mr,l:Fr}}function y(H,oe,K){var ge,xt,It;H=pt(H,360),oe=pt(oe,100),K=pt(K,100);function mr(on,rn,Zr){return Zr<0&&(Zr+=1),Zr>1&&(Zr-=1),Zr<1/6?on+(rn-on)*6*Zr:Zr<1/2?rn:Zr<2/3?on+(rn-on)*(2/3-Zr)*6:on}if(oe===0)ge=xt=It=K;else{var Fr=K<.5?K*(1+oe):K+oe-K*oe,zr=2*K-Fr;ge=mr(zr,Fr,H+1/3),xt=mr(zr,Fr,H),It=mr(zr,Fr,H-1/3)}return{r:ge*255,g:xt*255,b:It*255}}function C(H,oe,K){H=pt(H,255),oe=pt(oe,255),K=pt(K,255);var ge=u(H,oe,K),xt=o(H,oe,K),It,mr,Fr=ge,zr=ge-xt;if(mr=ge===0?0:zr/ge,ge==xt)It=0;else{switch(ge){case H:It=(oe-K)/zr+(oe<K?6:0);break;case oe:It=(K-H)/zr+2;break;case K:It=(H-oe)/zr+4;break}It/=6}return{h:It,s:mr,v:Fr}}function O(H,oe,K){H=pt(H,360)*6,oe=pt(oe,100),K=pt(K,100);var ge=t.floor(H),xt=H-ge,It=K*(1-oe),mr=K*(1-xt*oe),Fr=K*(1-(1-xt)*oe),zr=ge%6,on=[K,mr,It,It,Fr,K][zr],rn=[Fr,K,K,mr,It,It][zr],Zr=[It,It,Fr,K,K,mr][zr];return{r:on*255,g:rn*255,b:Zr*255}}function S(H,oe,K,ge){var xt=[ft(a(H).toString(16)),ft(a(oe).toString(16)),ft(a(K).toString(16))];return ge&&xt[0].charAt(0)==xt[0].charAt(1)&&xt[1].charAt(0)==xt[1].charAt(1)&&xt[2].charAt(0)==xt[2].charAt(1)?xt[0].charAt(0)+xt[1].charAt(0)+xt[2].charAt(0):xt.join("")}function w(H,oe,K,ge,xt){var It=[ft(a(H).toString(16)),ft(a(oe).toString(16)),ft(a(K).toString(16)),ft(Gt(ge))];return xt&&It[0].charAt(0)==It[0].charAt(1)&&It[1].charAt(0)==It[1].charAt(1)&&It[2].charAt(0)==It[2].charAt(1)&&It[3].charAt(0)==It[3].charAt(1)?It[0].charAt(0)+It[1].charAt(0)+It[2].charAt(0)+It[3].charAt(0):It.join("")}function A(H,oe,K,ge){var xt=[ft(Gt(ge)),ft(a(H).toString(16)),ft(a(oe).toString(16)),ft(a(K).toString(16))];return xt.join("")}f.equals=function(H,oe){return!H||!oe?!1:f(H).toRgbString()==f(oe).toRgbString()},f.random=function(){return f.fromRatio({r:l(),g:l(),b:l()})};function R(H,oe){oe=oe===0?0:oe||10;var K=f(H).toHsl();return K.s-=oe/100,K.s=Ie(K.s),f(K)}function P(H,oe){oe=oe===0?0:oe||10;var K=f(H).toHsl();return K.s+=oe/100,K.s=Ie(K.s),f(K)}function N(H){return f(H).desaturate(100)}function m(H,oe){oe=oe===0?0:oe||10;var K=f(H).toHsl();return K.l+=oe/100,K.l=Ie(K.l),f(K)}function G(H,oe){oe=oe===0?0:oe||10;var K=f(H).toRgb();return K.r=u(0,o(255,K.r-a(255*-(oe/100)))),K.g=u(0,o(255,K.g-a(255*-(oe/100)))),K.b=u(0,o(255,K.b-a(255*-(oe/100)))),f(K)}function L(H,oe){oe=oe===0?0:oe||10;var K=f(H).toHsl();return K.l-=oe/100,K.l=Ie(K.l),f(K)}function $(H,oe){var K=f(H).toHsl(),ge=(K.h+oe)%360;return K.h=ge<0?360+ge:ge,f(K)}function ae(H){var oe=f(H).toHsl();return oe.h=(oe.h+180)%360,f(oe)}function ve(H){var oe=f(H).toHsl(),K=oe.h;return[f(H),f({h:(K+120)%360,s:oe.s,l:oe.l}),f({h:(K+240)%360,s:oe.s,l:oe.l})]}function be(H){var oe=f(H).toHsl(),K=oe.h;return[f(H),f({h:(K+90)%360,s:oe.s,l:oe.l}),f({h:(K+180)%360,s:oe.s,l:oe.l}),f({h:(K+270)%360,s:oe.s,l:oe.l})]}function Pe(H){var oe=f(H).toHsl(),K=oe.h;return[f(H),f({h:(K+72)%360,s:oe.s,l:oe.l}),f({h:(K+216)%360,s:oe.s,l:oe.l})]}function Fe(H,oe,K){oe=oe||6,K=K||30;var ge=f(H).toHsl(),xt=360/K,It=[f(H)];for(ge.h=(ge.h-(xt*oe>>1)+720)%360;--oe;)ge.h=(ge.h+xt)%360,It.push(f(ge));return It}function dt(H,oe){oe=oe||6;for(var K=f(H).toHsv(),ge=K.h,xt=K.s,It=K.v,mr=[],Fr=1/oe;oe--;)mr.push(f({h:ge,s:xt,v:It})),It=(It+Fr)%1;return mr}f.mix=function(H,oe,K){K=K===0?0:K||50;var ge=f(H).toRgb(),xt=f(oe).toRgb(),It=K/100,mr={r:(xt.r-ge.r)*It+ge.r,g:(xt.g-ge.g)*It+ge.g,b:(xt.b-ge.b)*It+ge.b,a:(xt.a-ge.a)*It+ge.a};return f(mr)},f.readability=function(H,oe){var K=f(H),ge=f(oe);return(t.max(K.getLuminance(),ge.getLuminance())+.05)/(t.min(K.getLuminance(),ge.getLuminance())+.05)},f.isReadable=function(H,oe,K){var ge=f.readability(H,oe),xt,It;switch(It=!1,xt=Ne(K),xt.level+xt.size){case"AAsmall":case"AAAlarge":It=ge>=4.5;break;case"AAlarge":It=ge>=3;break;case"AAAsmall":It=ge>=7;break}return It},f.mostReadable=function(H,oe,K){var ge=null,xt=0,It,mr,Fr,zr;K=K||{},mr=K.includeFallbackColors,Fr=K.level,zr=K.size;for(var on=0;on<oe.length;on++)It=f.readability(H,oe[on]),It>xt&&(xt=It,ge=f(oe[on]));return f.isReadable(H,ge,{level:Fr,size:zr})||!mr?ge:(K.includeFallbackColors=!1,f.mostReadable(H,["#fff","#000"],K))};var Je=f.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"},Te=f.hexNames=Ye(Je);function Ye(H){var oe={};for(var K in H)H.hasOwnProperty(K)&&(oe[H[K]]=K);return oe}function nt(H){return H=parseFloat(H),(isNaN(H)||H<0||H>1)&&(H=1),H}function pt(H,oe){ot(H)&&(H="100%");var K=et(H);return H=o(oe,u(0,parseFloat(H))),K&&(H=parseInt(H*oe,10)/100),t.abs(H-oe)<1e-6?1:H%oe/parseFloat(oe)}function Ie(H){return o(1,u(0,H))}function Re(H){return parseInt(H,16)}function ot(H){return typeof H=="string"&&H.indexOf(".")!=-1&&parseFloat(H)===1}function et(H){return typeof H=="string"&&H.indexOf("%")!=-1}function ft(H){return H.length==1?"0"+H:""+H}function At(H){return H<=1&&(H=H*100+"%"),H}function Gt(H){return t.round(parseFloat(H)*255).toString(16)}function Xt(H){return Re(H)/255}var Me=function(){var H="[-\\+]?\\d+%?",oe="[-\\+]?\\d*\\.\\d+%?",K="(?:"+oe+")|(?:"+H+")",ge="[\\s|\\(]+("+K+")[,|\\s]+("+K+")[,|\\s]+("+K+")\\s*\\)?",xt="[\\s|\\(]+("+K+")[,|\\s]+("+K+")[,|\\s]+("+K+")[,|\\s]+("+K+")\\s*\\)?";return{CSS_UNIT:new RegExp(K),rgb:new RegExp("rgb"+ge),rgba:new RegExp("rgba"+xt),hsl:new RegExp("hsl"+ge),hsla:new RegExp("hsla"+xt),hsv:new RegExp("hsv"+ge),hsva:new RegExp("hsva"+xt),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 yt(H){return!!Me.CSS_UNIT.exec(H)}function Nt(H){H=H.replace(r,"").replace(n,"").toLowerCase();var oe=!1;if(Je[H])H=Je[H],oe=!0;else if(H=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var K;return(K=Me.rgb.exec(H))?{r:K[1],g:K[2],b:K[3]}:(K=Me.rgba.exec(H))?{r:K[1],g:K[2],b:K[3],a:K[4]}:(K=Me.hsl.exec(H))?{h:K[1],s:K[2],l:K[3]}:(K=Me.hsla.exec(H))?{h:K[1],s:K[2],l:K[3],a:K[4]}:(K=Me.hsv.exec(H))?{h:K[1],s:K[2],v:K[3]}:(K=Me.hsva.exec(H))?{h:K[1],s:K[2],v:K[3],a:K[4]}:(K=Me.hex8.exec(H))?{r:Re(K[1]),g:Re(K[2]),b:Re(K[3]),a:Xt(K[4]),format:oe?"name":"hex8"}:(K=Me.hex6.exec(H))?{r:Re(K[1]),g:Re(K[2]),b:Re(K[3]),format:oe?"name":"hex"}:(K=Me.hex4.exec(H))?{r:Re(K[1]+""+K[1]),g:Re(K[2]+""+K[2]),b:Re(K[3]+""+K[3]),a:Xt(K[4]+""+K[4]),format:oe?"name":"hex8"}:(K=Me.hex3.exec(H))?{r:Re(K[1]+""+K[1]),g:Re(K[2]+""+K[2]),b:Re(K[3]+""+K[3]),format:oe?"name":"hex"}:!1}function Ne(H){var oe,K;return H=H||{level:"AA",size:"small"},oe=(H.level||"AA").toUpperCase(),K=(H.size||"small").toLowerCase(),oe!=="AA"&&oe!=="AAA"&&(oe="AA"),K!=="small"&&K!=="large"&&(K="small"),{level:oe,size:K}}e.exports?e.exports=f:window.tinycolor=f})(Math)})(Vne);var Yne=Xne;function Xne(){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 Qne=Kne;function Kne(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 Zne=Jne;function Jne(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 bB=eie;function eie(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 tie=rie;function rie(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],a=t[6],o=t[7],u=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=r,e[6]=t[9],e[7]=t[13],e[8]=n,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=u}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}var nie=iie;function iie(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],u=t[5],l=t[6],f=t[7],p=t[8],g=t[9],v=t[10],y=t[11],C=t[12],O=t[13],S=t[14],w=t[15],A=r*u-n*o,R=r*l-i*o,P=r*f-a*o,N=n*l-i*u,m=n*f-a*u,G=i*f-a*l,L=p*O-g*C,$=p*S-v*C,ae=p*w-y*C,ve=g*S-v*O,be=g*w-y*O,Pe=v*w-y*S,Fe=A*Pe-R*be+P*ve+N*ae-m*$+G*L;return Fe?(Fe=1/Fe,e[0]=(u*Pe-l*be+f*ve)*Fe,e[1]=(i*be-n*Pe-a*ve)*Fe,e[2]=(O*G-S*m+w*N)*Fe,e[3]=(v*m-g*G-y*N)*Fe,e[4]=(l*ae-o*Pe-f*$)*Fe,e[5]=(r*Pe-i*ae+a*$)*Fe,e[6]=(S*P-C*G-w*R)*Fe,e[7]=(p*G-v*P+y*R)*Fe,e[8]=(o*be-u*ae+f*L)*Fe,e[9]=(n*ae-r*be-a*L)*Fe,e[10]=(C*m-O*P+w*A)*Fe,e[11]=(g*P-p*m-y*A)*Fe,e[12]=(u*$-o*ve-l*L)*Fe,e[13]=(r*ve-n*$+i*L)*Fe,e[14]=(O*R-C*N-S*A)*Fe,e[15]=(p*N-g*R+v*A)*Fe,e):null}var aie=oie;function oie(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],u=t[5],l=t[6],f=t[7],p=t[8],g=t[9],v=t[10],y=t[11],C=t[12],O=t[13],S=t[14],w=t[15];return e[0]=u*(v*w-y*S)-g*(l*w-f*S)+O*(l*y-f*v),e[1]=-(n*(v*w-y*S)-g*(i*w-a*S)+O*(i*y-a*v)),e[2]=n*(l*w-f*S)-u*(i*w-a*S)+O*(i*f-a*l),e[3]=-(n*(l*y-f*v)-u*(i*y-a*v)+g*(i*f-a*l)),e[4]=-(o*(v*w-y*S)-p*(l*w-f*S)+C*(l*y-f*v)),e[5]=r*(v*w-y*S)-p*(i*w-a*S)+C*(i*y-a*v),e[6]=-(r*(l*w-f*S)-o*(i*w-a*S)+C*(i*f-a*l)),e[7]=r*(l*y-f*v)-o*(i*y-a*v)+p*(i*f-a*l),e[8]=o*(g*w-y*O)-p*(u*w-f*O)+C*(u*y-f*g),e[9]=-(r*(g*w-y*O)-p*(n*w-a*O)+C*(n*y-a*g)),e[10]=r*(u*w-f*O)-o*(n*w-a*O)+C*(n*f-a*u),e[11]=-(r*(u*y-f*g)-o*(n*y-a*g)+p*(n*f-a*u)),e[12]=-(o*(g*S-v*O)-p*(u*S-l*O)+C*(u*v-l*g)),e[13]=r*(g*S-v*O)-p*(n*S-i*O)+C*(n*v-i*g),e[14]=-(r*(u*S-l*O)-o*(n*S-i*O)+C*(n*l-i*u)),e[15]=r*(u*v-l*g)-o*(n*v-i*g)+p*(n*l-i*u),e}var uie=sie;function sie(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],u=e[6],l=e[7],f=e[8],p=e[9],g=e[10],v=e[11],y=e[12],C=e[13],O=e[14],S=e[15],w=t*o-r*a,A=t*u-n*a,R=t*l-i*a,P=r*u-n*o,N=r*l-i*o,m=n*l-i*u,G=f*C-p*y,L=f*O-g*y,$=f*S-v*y,ae=p*O-g*C,ve=p*S-v*C,be=g*S-v*O;return w*be-A*ve+R*ae+P*$-N*L+m*G}var lie=fie;function fie(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],u=t[4],l=t[5],f=t[6],p=t[7],g=t[8],v=t[9],y=t[10],C=t[11],O=t[12],S=t[13],w=t[14],A=t[15],R=r[0],P=r[1],N=r[2],m=r[3];return e[0]=R*n+P*u+N*g+m*O,e[1]=R*i+P*l+N*v+m*S,e[2]=R*a+P*f+N*y+m*w,e[3]=R*o+P*p+N*C+m*A,R=r[4],P=r[5],N=r[6],m=r[7],e[4]=R*n+P*u+N*g+m*O,e[5]=R*i+P*l+N*v+m*S,e[6]=R*a+P*f+N*y+m*w,e[7]=R*o+P*p+N*C+m*A,R=r[8],P=r[9],N=r[10],m=r[11],e[8]=R*n+P*u+N*g+m*O,e[9]=R*i+P*l+N*v+m*S,e[10]=R*a+P*f+N*y+m*w,e[11]=R*o+P*p+N*C+m*A,R=r[12],P=r[13],N=r[14],m=r[15],e[12]=R*n+P*u+N*g+m*O,e[13]=R*i+P*l+N*v+m*S,e[14]=R*a+P*f+N*y+m*w,e[15]=R*o+P*p+N*C+m*A,e}var cie=die;function die(e,t,r){var n=r[0],i=r[1],a=r[2],o,u,l,f,p,g,v,y,C,O,S,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],u=t[1],l=t[2],f=t[3],p=t[4],g=t[5],v=t[6],y=t[7],C=t[8],O=t[9],S=t[10],w=t[11],e[0]=o,e[1]=u,e[2]=l,e[3]=f,e[4]=p,e[5]=g,e[6]=v,e[7]=y,e[8]=C,e[9]=O,e[10]=S,e[11]=w,e[12]=o*n+p*i+C*a+t[12],e[13]=u*n+g*i+O*a+t[13],e[14]=l*n+v*i+S*a+t[14],e[15]=f*n+y*i+w*a+t[15]),e}var pie=hie;function hie(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 vie=gie;function gie(e,t,r,n){var i=n[0],a=n[1],o=n[2],u=Math.sqrt(i*i+a*a+o*o),l,f,p,g,v,y,C,O,S,w,A,R,P,N,m,G,L,$,ae,ve,be,Pe,Fe,dt;return Math.abs(u)<1e-6?null:(u=1/u,i*=u,a*=u,o*=u,l=Math.sin(r),f=Math.cos(r),p=1-f,g=t[0],v=t[1],y=t[2],C=t[3],O=t[4],S=t[5],w=t[6],A=t[7],R=t[8],P=t[9],N=t[10],m=t[11],G=i*i*p+f,L=a*i*p+o*l,$=o*i*p-a*l,ae=i*a*p-o*l,ve=a*a*p+f,be=o*a*p+i*l,Pe=i*o*p+a*l,Fe=a*o*p-i*l,dt=o*o*p+f,e[0]=g*G+O*L+R*$,e[1]=v*G+S*L+P*$,e[2]=y*G+w*L+N*$,e[3]=C*G+A*L+m*$,e[4]=g*ae+O*ve+R*be,e[5]=v*ae+S*ve+P*be,e[6]=y*ae+w*ve+N*be,e[7]=C*ae+A*ve+m*be,e[8]=g*Pe+O*Fe+R*dt,e[9]=v*Pe+S*Fe+P*dt,e[10]=y*Pe+w*Fe+N*dt,e[11]=C*Pe+A*Fe+m*dt,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}var mie=yie;function yie(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],u=t[6],l=t[7],f=t[8],p=t[9],g=t[10],v=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=a*i+f*n,e[5]=o*i+p*n,e[6]=u*i+g*n,e[7]=l*i+v*n,e[8]=f*i-a*n,e[9]=p*i-o*n,e[10]=g*i-u*n,e[11]=v*i-l*n,e}var bie=xie;function xie(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],u=t[2],l=t[3],f=t[8],p=t[9],g=t[10],v=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i-f*n,e[1]=o*i-p*n,e[2]=u*i-g*n,e[3]=l*i-v*n,e[8]=a*n+f*i,e[9]=o*n+p*i,e[10]=u*n+g*i,e[11]=l*n+v*i,e}var wie=_ie;function _ie(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],u=t[2],l=t[3],f=t[4],p=t[5],g=t[6],v=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i+f*n,e[1]=o*i+p*n,e[2]=u*i+g*n,e[3]=l*i+v*n,e[4]=f*i-a*n,e[5]=p*i-o*n,e[6]=g*i-u*n,e[7]=v*i-l*n,e}var Sie=Eie;function Eie(e,t,r){var n,i,a,o=r[0],u=r[1],l=r[2],f=Math.sqrt(o*o+u*u+l*l);return Math.abs(f)<1e-6?null:(f=1/f,o*=f,u*=f,l*=f,n=Math.sin(t),i=Math.cos(t),a=1-i,e[0]=o*o*a+i,e[1]=u*o*a+l*n,e[2]=l*o*a-u*n,e[3]=0,e[4]=o*u*a-l*n,e[5]=u*u*a+i,e[6]=l*u*a+o*n,e[7]=0,e[8]=o*l*a+u*n,e[9]=u*l*a-o*n,e[10]=l*l*a+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}var Cie=Aie;function Aie(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],u=n+n,l=i+i,f=a+a,p=n*u,g=n*l,v=n*f,y=i*l,C=i*f,O=a*f,S=o*u,w=o*l,A=o*f;return e[0]=1-(y+O),e[1]=g+A,e[2]=v-w,e[3]=0,e[4]=g-A,e[5]=1-(p+O),e[6]=C+S,e[7]=0,e[8]=v+w,e[9]=C-S,e[10]=1-(p+y),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}var Tie=Oie;function Oie(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 Rie=Iie;function Iie(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 Pie=kie;function kie(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 Die=Mie;function Mie(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 Nie=Fie;function Fie(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 Lie=Bie;function Bie(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=r+r,u=n+n,l=i+i,f=r*o,p=n*o,g=n*u,v=i*o,y=i*u,C=i*l,O=a*o,S=a*u,w=a*l;return e[0]=1-g-C,e[1]=p+w,e[2]=v-S,e[3]=0,e[4]=p-w,e[5]=1-f-C,e[6]=y+O,e[7]=0,e[8]=v+S,e[9]=y-O,e[10]=1-f-g,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var $ie=zie;function zie(e,t,r,n,i,a,o){var u=1/(r-t),l=1/(i-n),f=1/(a-o);return e[0]=a*2*u,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a*2*l,e[6]=0,e[7]=0,e[8]=(r+t)*u,e[9]=(i+n)*l,e[10]=(o+a)*f,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*f,e[15]=0,e}var jie=Uie;function Uie(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 Wie=qie;function qie(e,t,r,n){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),u=Math.tan(t.rightDegrees*Math.PI/180),l=2/(o+u),f=2/(i+a);return e[0]=l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=f,e[6]=0,e[7]=0,e[8]=-((o-u)*l*.5),e[9]=(i-a)*f*.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 Gie=Hie;function Hie(e,t,r,n,i,a,o){var u=1/(t-r),l=1/(n-i),f=1/(a-o);return e[0]=-2*u,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*f,e[11]=0,e[12]=(t+r)*u,e[13]=(i+n)*l,e[14]=(o+a)*f,e[15]=1,e}var Vie=bB,Yie=Xie;function Xie(e,t,r,n){var i,a,o,u,l,f,p,g,v,y,C=t[0],O=t[1],S=t[2],w=n[0],A=n[1],R=n[2],P=r[0],N=r[1],m=r[2];return Math.abs(C-P)<1e-6&&Math.abs(O-N)<1e-6&&Math.abs(S-m)<1e-6?Vie(e):(p=C-P,g=O-N,v=S-m,y=1/Math.sqrt(p*p+g*g+v*v),p*=y,g*=y,v*=y,i=A*v-R*g,a=R*p-w*v,o=w*g-A*p,y=Math.sqrt(i*i+a*a+o*o),y?(y=1/y,i*=y,a*=y,o*=y):(i=0,a=0,o=0),u=g*o-v*a,l=v*i-p*o,f=p*a-g*i,y=Math.sqrt(u*u+l*l+f*f),y?(y=1/y,u*=y,l*=y,f*=y):(u=0,l=0,f=0),e[0]=i,e[1]=u,e[2]=p,e[3]=0,e[4]=a,e[5]=l,e[6]=g,e[7]=0,e[8]=o,e[9]=f,e[10]=v,e[11]=0,e[12]=-(i*C+a*O+o*S),e[13]=-(u*C+l*O+f*S),e[14]=-(p*C+g*O+v*S),e[15]=1,e)}var Qie=Kie;function Kie(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 hde={create:Yne,clone:Qne,copy:Zne,identity:bB,transpose:tie,invert:nie,adjoint:aie,determinant:uie,multiply:lie,translate:cie,scale:pie,rotate:vie,rotateX:mie,rotateY:bie,rotateZ:wie,fromRotation:Sie,fromRotationTranslation:Cie,fromScaling:Tie,fromTranslation:Rie,fromXRotation:Pie,fromYRotation:Die,fromZRotation:Nie,fromQuat:Lie,frustum:$ie,perspective:jie,perspectiveFromFieldOfView:Wie,ortho:Gie,lookAt:Yie,str:Qie},SA={exports:{}};SA.exports=EA;SA.exports.isMobile=EA;SA.exports.default=EA;var Zie=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,Jie=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function EA(e){e||(e={});var t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;var r=e.tablet?Jie.test(t):Zie.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var eae=!0,tae=eae,y2;typeof en.matchMedia=="function"?y2=!en.matchMedia("(hover: none)").matches:y2=tae;var vde=y2,xB={exports:{}},Ld=typeof Reflect=="object"?Reflect:null,$I=Ld&&typeof Ld.apply=="function"?Ld.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},c0;Ld&&typeof Ld.ownKeys=="function"?c0=Ld.ownKeys:Object.getOwnPropertySymbols?c0=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:c0=function(t){return Object.getOwnPropertyNames(t)};function rae(e){console&&console.warn&&console.warn(e)}var wB=Number.isNaN||function(t){return t!==t};function bn(){bn.init.call(this)}xB.exports=bn;xB.exports.once=oae;bn.EventEmitter=bn;bn.prototype._events=void 0;bn.prototype._eventsCount=0;bn.prototype._maxListeners=void 0;var zI=10;function j1(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(bn,"defaultMaxListeners",{enumerable:!0,get:function(){return zI},set:function(e){if(typeof e!="number"||e<0||wB(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");zI=e}});bn.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};bn.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||wB(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 _B(e){return e._maxListeners===void 0?bn.defaultMaxListeners:e._maxListeners}bn.prototype.getMaxListeners=function(){return _B(this)};bn.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",a=this._events;if(a!==void 0)i=i&&a.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var l=a[t];if(l===void 0)return!1;if(typeof l=="function")$I(l,this,r);else for(var f=l.length,p=TB(l,f),n=0;n<f;++n)$I(p[n],this,r);return!0};function SB(e,t,r,n){var i,a,o;if(j1(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=_B(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,rae(u)}return e}bn.prototype.addListener=function(t,r){return SB(this,t,r,!1)};bn.prototype.on=bn.prototype.addListener;bn.prototype.prependListener=function(t,r){return SB(this,t,r,!0)};function nae(){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 EB(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=nae.bind(n);return i.listener=r,n.wrapFn=i,i}bn.prototype.once=function(t,r){return j1(r),this.on(t,EB(this,t,r)),this};bn.prototype.prependOnceListener=function(t,r){return j1(r),this.prependListener(t,EB(this,t,r)),this};bn.prototype.removeListener=function(t,r){var n,i,a,o,u;if(j1(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){u=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():iae(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,u||r)}return this};bn.prototype.off=bn.prototype.removeListener;bn.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 CB(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?aae(i):TB(i,i.length)}bn.prototype.listeners=function(t){return CB(this,t,!0)};bn.prototype.rawListeners=function(t){return CB(this,t,!1)};bn.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):AB.call(e,t)};bn.prototype.listenerCount=AB;function AB(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}bn.prototype.eventNames=function(){return this._eventsCount>0?c0(this._events):[]};function TB(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function iae(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function aae(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function oae(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))}OB(e,t,a,{once:!0}),t!=="error"&&uae(e,i,{once:!0})})}function uae(e,t,r){typeof e.on=="function"&&OB(e,"error",t,r)}function OB(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 sae={left:0,top:0},gde=lae;function lae(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=fae(t);return r[0]=n-a.left,r[1]=i-a.top,r}function fae(e){return e===window||e===document||e===document.body?sae:e.getBoundingClientRect()}function cae(){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 mde=cae(),RB=pae,jw={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},dae=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function pae(e){var t=[];return e.replace(dae,function(r,n,i){var a=n.toLowerCase();for(i=vae(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==jw[a])return i.unshift(n),t.push(i);if(i.length<jw[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,jw[a])))}}),t}var hae=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function vae(e){var t=e.match(hae);return t?t.map(Number):[]}function gae(){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 mae=gae;function yae(e){typeof e!="number"&&(e=1e-10);var t={epsilon:function(r){return typeof r=="number"&&(e=r),e},pointAboveOrOnLine:function(r,n,i){var a=n[0],o=n[1],u=i[0],l=i[1],f=r[0],p=r[1];return(u-a)*(p-o)-(l-o)*(f-a)>=-e},pointBetween:function(r,n,i){var a=r[1]-n[1],o=i[0]-n[0],u=r[0]-n[0],l=i[1]-n[1],f=u*o+a*l;if(f<e)return!1;var p=o*o+l*l;return!(f-p>-e)},pointsSameX:function(r,n){return Math.abs(r[0]-n[0])<e},pointsSameY:function(r,n){return Math.abs(r[1]-n[1])<e},pointsSame:function(r,n){return t.pointsSameX(r,n)&&t.pointsSameY(r,n)},pointsCompare:function(r,n){return t.pointsSameX(r,n)?t.pointsSameY(r,n)?0:r[1]<n[1]?-1:1:r[0]<n[0]?-1:1},pointsCollinear:function(r,n,i){var a=r[0]-n[0],o=r[1]-n[1],u=n[0]-i[0],l=n[1]-i[1];return Math.abs(a*l-u*o)<e},linesIntersect:function(r,n,i,a){var o=n[0]-r[0],u=n[1]-r[1],l=a[0]-i[0],f=a[1]-i[1],p=o*f-u*l;if(Math.abs(p)<e)return!1;var g=r[0]-i[0],v=r[1]-i[1],y=(l*v-f*g)/p,C=(o*v-u*g)/p,O={alongA:0,alongB:0,pt:[r[0]+y*o,r[1]+y*u]};return y<=-e?O.alongA=-2:y<e?O.alongA=-1:y-1<=-e?O.alongA=0:y-1<e?O.alongA=1:O.alongA=2,C<=-e?O.alongB=-2:C<e?O.alongB=-1:C-1<=-e?O.alongB=0:C-1<e?O.alongB=1:O.alongB=2,O},pointInsideRegion:function(r,n){for(var i=r[0],a=r[1],o=n[n.length-1][0],u=n[n.length-1][1],l=!1,f=0;f<n.length;f++){var p=n[f][0],g=n[f][1];g-a>e!=u-a>e&&(o-p)*(a-g)/(u-g)+p-i>e&&(l=!l),o=p,u=g}return l}};return t}var bae=yae,xae={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}},wae=xae,Sh=wae;function _ae(e,t,r){function n(C,O){return{id:r?r.segmentId():-1,start:C,end:O,myFill:{above:null,below:null},otherFill:null}}function i(C,O,S){return{id:r?r.segmentId():-1,start:C,end:O,myFill:{above:S.myFill.above,below:S.myFill.below},otherFill:null}}var a=Sh.create();function o(C,O,S,w,A,R){var P=t.pointsCompare(O,A);return P!==0?P:t.pointsSame(S,R)?0:C!==w?C?1:-1:t.pointAboveOrOnLine(S,w?A:R,w?R:A)?1:-1}function u(C,O){a.insertBefore(C,function(S){var w=o(C.isStart,C.pt,O,S.isStart,S.pt,S.other.pt);return w<0})}function l(C,O){var S=Sh.node({isStart:!0,pt:C.start,seg:C,primary:O,other:null,status:null});return u(S,C.end),S}function f(C,O,S){var w=Sh.node({isStart:!1,pt:O.end,seg:O,primary:S,other:C,status:null});C.other=w,u(w,C.pt)}function p(C,O){var S=l(C,O);return f(S,C,O),S}function g(C,O){r&&r.segmentChop(C.seg,O),C.other.remove(),C.seg.end=O,C.other.pt=O,u(C.other,C.pt)}function v(C,O){var S=i(O,C.seg.end,C.seg);return g(C,O),p(S,C.primary)}function y(C,O){var S=Sh.create();function w(Fe,dt){var Je=Fe.seg.start,Te=Fe.seg.end,Ye=dt.seg.start,nt=dt.seg.end;return t.pointsCollinear(Je,Ye,nt)?t.pointsCollinear(Te,Ye,nt)||t.pointAboveOrOnLine(Te,Ye,nt)?1:-1:t.pointAboveOrOnLine(Je,Ye,nt)?1:-1}function A(Fe){return S.findTransition(function(dt){var Je=w(Fe,dt.ev);return Je>0})}function R(Fe,dt){var Je=Fe.seg,Te=dt.seg,Ye=Je.start,nt=Je.end,pt=Te.start,Ie=Te.end;r&&r.checkIntersection(Je,Te);var Re=t.linesIntersect(Ye,nt,pt,Ie);if(Re===!1){if(!t.pointsCollinear(Ye,nt,pt)||t.pointsSame(Ye,Ie)||t.pointsSame(nt,pt))return!1;var ot=t.pointsSame(Ye,pt),et=t.pointsSame(nt,Ie);if(ot&&et)return dt;var ft=!ot&&t.pointBetween(Ye,pt,Ie),At=!et&&t.pointBetween(nt,pt,Ie);if(ot)return At?v(dt,nt):v(Fe,Ie),dt;ft&&(et||(At?v(dt,nt):v(Fe,Ie)),v(dt,Ye))}else Re.alongA===0&&(Re.alongB===-1?v(Fe,pt):Re.alongB===0?v(Fe,Re.pt):Re.alongB===1&&v(Fe,Ie)),Re.alongB===0&&(Re.alongA===-1?v(dt,Ye):Re.alongA===0?v(dt,Re.pt):Re.alongA===1&&v(dt,nt));return!1}for(var P=[];!a.isEmpty();){var N=a.getHead();if(r&&r.vert(N.pt[0]),N.isStart){let Fe=function(){if(G){var dt=R(N,G);if(dt)return dt}return L?R(N,L):!1};r&&r.segmentNew(N.seg,N.primary);var m=A(N),G=m.before?m.before.ev:null,L=m.after?m.after.ev:null;r&&r.tempStatus(N.seg,G?G.seg:!1,L?L.seg:!1);var $=Fe();if($){if(e){var ae;N.seg.myFill.below===null?ae=!0:ae=N.seg.myFill.above!==N.seg.myFill.below,ae&&($.seg.myFill.above=!$.seg.myFill.above)}else $.seg.otherFill=N.seg.myFill;r&&r.segmentUpdate($.seg),N.other.remove(),N.remove()}if(a.getHead()!==N){r&&r.rewind(N.seg);continue}if(e){var ae;N.seg.myFill.below===null?ae=!0:ae=N.seg.myFill.above!==N.seg.myFill.below,L?N.seg.myFill.below=L.seg.myFill.above:N.seg.myFill.below=C,ae?N.seg.myFill.above=!N.seg.myFill.below:N.seg.myFill.above=N.seg.myFill.below}else if(N.seg.otherFill===null){var ve;L?N.primary===L.primary?ve=L.seg.otherFill.above:ve=L.seg.myFill.above:ve=N.primary?O:C,N.seg.otherFill={above:ve,below:ve}}r&&r.status(N.seg,G?G.seg:!1,L?L.seg:!1),N.other.status=m.insert(Sh.node({ev:N}))}else{var be=N.status;if(be===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(S.exists(be.prev)&&S.exists(be.next)&&R(be.prev.ev,be.next.ev),r&&r.statusRemove(be.ev.seg),be.remove(),!N.primary){var Pe=N.seg.myFill;N.seg.myFill=N.seg.otherFill,N.seg.otherFill=Pe}P.push(N.seg)}a.getHead().remove()}return r&&r.done(),P}return e?{addRegion:function(C){for(var O,S=C[C.length-1],w=0;w<C.length;w++){O=S,S=C[w];var A=t.pointsCompare(O,S);A!==0&&p(n(A<0?O:S,A<0?S:O),!0)}},calculate:function(C){return y(C,!1)}}:{calculate:function(C,O,S,w){return C.forEach(function(A){p(i(A.start,A.end,A),!0)}),S.forEach(function(A){p(i(A.start,A.end,A),!1)}),y(O,w)}}}var Sae=_ae;function Eae(e,t,r){var n=[],i=[];return e.forEach(function(a){var o=a.start,u=a.end;if(t.pointsSame(o,u)){console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");return}r&&r.chainStart(a);var l={index:0,matches_head:!1,matches_pt1:!1},f={index:0,matches_head:!1,matches_pt1:!1},p=l;function g(be,Pe,Fe){return p.index=be,p.matches_head=Pe,p.matches_pt1=Fe,p===l?(p=f,!1):(p=null,!0)}for(var v=0;v<n.length;v++){var y=n[v],C=y[0];y[1];var O=y[y.length-1];if(y[y.length-2],t.pointsSame(C,o)){if(g(v,!0,!0))break}else if(t.pointsSame(C,u)){if(g(v,!0,!1))break}else if(t.pointsSame(O,o)){if(g(v,!1,!0))break}else if(t.pointsSame(O,u)&&g(v,!1,!1))break}if(p===l){n.push([o,u]),r&&r.chainNew(o,u);return}if(p===f){r&&r.chainMatch(l.index);var S=l.index,w=l.matches_pt1?u:o,A=l.matches_head,y=n[S],R=A?y[0]:y[y.length-1],P=A?y[1]:y[y.length-2],N=A?y[y.length-1]:y[0],m=A?y[y.length-2]:y[1];if(t.pointsCollinear(P,R,w)&&(A?(r&&r.chainRemoveHead(l.index,w),y.shift()):(r&&r.chainRemoveTail(l.index,w),y.pop()),R=P),t.pointsSame(N,w)){n.splice(S,1),t.pointsCollinear(m,N,R)&&(A?(r&&r.chainRemoveTail(l.index,R),y.pop()):(r&&r.chainRemoveHead(l.index,R),y.shift())),r&&r.chainClose(l.index),i.push(y);return}A?(r&&r.chainAddHead(l.index,w),y.unshift(w)):(r&&r.chainAddTail(l.index,w),y.push(w));return}function G(be){r&&r.chainReverse(be),n[be].reverse()}function L(be,Pe){var Fe=n[be],dt=n[Pe],Je=Fe[Fe.length-1],Te=Fe[Fe.length-2],Ye=dt[0],nt=dt[1];t.pointsCollinear(Te,Je,Ye)&&(r&&r.chainRemoveTail(be,Je),Fe.pop(),Je=Te),t.pointsCollinear(Je,Ye,nt)&&(r&&r.chainRemoveHead(Pe,Ye),dt.shift()),r&&r.chainJoin(be,Pe),n[be]=Fe.concat(dt),n.splice(Pe,1)}var $=l.index,ae=f.index;r&&r.chainConnect($,ae);var ve=n[$].length<n[ae].length;l.matches_head?f.matches_head?ve?(G($),L($,ae)):(G(ae),L(ae,$)):L(ae,$):f.matches_head?L($,ae):ve?(G($),L(ae,$)):(G(ae),L($,ae))}),i}var Cae=Eae;function Eh(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 Aae={union:function(e,t){return Eh(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return Eh(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return Eh(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return Eh(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return Eh(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},Tae=Aae,Oae={toPolygon:function(e,t){function r(a){if(a.length<=0)return e.segments({inverted:!1,regions:[]});function o(f){var p=f.slice(0,f.length-1);return e.segments({inverted:!1,regions:[p]})}for(var u=o(a[0]),l=1;l<a.length;l++)u=e.selectDifference(e.combine(u,o(a[l])));return u}if(t.type==="Polygon")return e.polygon(r(t.coordinates));if(t.type==="MultiPolygon"){for(var n=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)n=e.selectUnion(e.combine(n,r(t.coordinates[i])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){r=e.polygon(e.segments(r));function n(y,C){return t.pointInsideRegion([(y[0][0]+y[1][0])*.5,(y[0][1]+y[1][1])*.5],C)}function i(y){return{region:y,children:[]}}var a=i(null);function o(y,C){for(var O=0;O<y.children.length;O++){var S=y.children[O];if(n(C,S.region)){o(S,C);return}}for(var w=i(C),O=0;O<y.children.length;O++){var S=y.children[O];n(S.region,C)&&(w.children.push(S),y.children.splice(O,1),O--)}y.children.push(w)}for(var u=0;u<r.regions.length;u++){var l=r.regions[u];l.length<3||o(a,l)}function f(y,C){for(var O=0,S=y[y.length-1][0],w=y[y.length-1][1],A=[],R=0;R<y.length;R++){var P=y[R][0],N=y[R][1];A.push([P,N]),O+=N*S-P*w,S=P,w=N}var m=O<0;return m!==C&&A.reverse(),A.push([A[0][0],A[0][1]]),A}var p=[];function g(y){var C=[f(y.region,!1)];p.push(C);for(var O=0;O<y.children.length;O++)C.push(v(y.children[O]))}function v(y){for(var C=0;C<y.children.length;C++)g(y.children[C]);return f(y.region,!0)}for(var u=0;u<a.children.length;u++)g(a.children[u]);return p.length<=0?{type:"Polygon",coordinates:[]}:p.length==1?{type:"Polygon",coordinates:p[0]}:{type:"MultiPolygon",coordinates:p}}},Rae=Oae;/*
936
- * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
937
- * @license MIT
938
- * @preserve Project Home: https://github.com/voidqk/polybooljs
939
- */var Iae=mae,Pae=bae,jI=Sae,kae=Cae,Ch=Tae,UI=Rae,mo=!1,Ah=Pae(),Ta;Ta={buildLog:function(e){return e===!0?mo=Iae():e===!1&&(mo=!1),mo===!1?!1:mo.list},epsilon:function(e){return Ah.epsilon(e)},segments:function(e){var t=jI(!0,Ah,mo);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=jI(!1,Ah,mo);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:Ch.union(e.combined,mo),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:Ch.intersect(e.combined,mo),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:Ch.difference(e.combined,mo),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:Ch.differenceRev(e.combined,mo),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:Ch.xor(e.combined,mo),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:kae(e.segments,Ah,mo),inverted:e.inverted}},polygonFromGeoJSON:function(e){return UI.toPolygon(Ta,e)},polygonToGeoJSON:function(e){return UI.fromPolygon(Ta,Ah,e)},union:function(e,t){return Th(e,t,Ta.selectUnion)},intersect:function(e,t){return Th(e,t,Ta.selectIntersect)},difference:function(e,t){return Th(e,t,Ta.selectDifference)},differenceRev:function(e,t){return Th(e,t,Ta.selectDifferenceRev)},xor:function(e,t){return Th(e,t,Ta.selectXor)}};function Th(e,t,r){var n=Ta.segments(e),i=Ta.segments(t),a=Ta.combine(n,i),o=r(a);return Ta.polygon(o)}typeof window=="object"&&(window.PolyBool=Ta);var yde=Ta;const bde=rc(Ore);var IB={exports:{}};function Dae(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,u=e[o],l=r!==void 0?r(u,t):u-t;l>=0?(a=o,i=o-1):n=o+1}return a}function Mae(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,u=e[o],l=r!==void 0?r(u,t):u-t;l>0?(a=o,i=o-1):n=o+1}return a}function Nae(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,u=e[o],l=r!==void 0?r(u,t):u-t;l<0?(a=o,n=o+1):i=o-1}return a}function Fae(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,u=e[o],l=r!==void 0?r(u,t):u-t;l<=0?(a=o,n=o+1):i=o-1}return a}function Lae(e,t,r,n,i){for(;n<=i;){var a=n+i>>>1,o=e[a],u=r!==void 0?r(o,t):o-t;if(u===0)return a;u<=0?n=a+1:i=a-1}return-1}function Oh(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 Bae={ge:function(e,t,r,n,i){return Oh(e,t,r,n,i,Dae)},gt:function(e,t,r,n,i){return Oh(e,t,r,n,i,Mae)},lt:function(e,t,r,n,i){return Oh(e,t,r,n,i,Nae)},le:function(e,t,r,n,i){return Oh(e,t,r,n,i,Fae)},eq:function(e,t,r,n,i){return Oh(e,t,r,n,i,Lae)}},xg=$ae;function $ae(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var Hl=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=WI(r)),Array.isArray(r)){var u={};for(o=0;o<r.length;o++)u[r[o]]=!0;r=u}for(a in r)r[a]=WI(r[a]);var l={};for(a in r){var f=r[a];if(Array.isArray(f))for(o=0;o<f.length;o++){var p=f[o];if(n&&(l[p]=!0),p in t){if(i[a]=t[p],n)for(var g=o;g<f.length;g++)l[f[g]]=!0;break}}else a in t&&(r[a]&&(i[a]=t[a]),n&&(l[a]=!0))}if(n)for(a in t)l[a]||(i[a]=t[a]);return i},Uw={};function WI(e){return Uw[e]?Uw[e]:(typeof e=="string"&&(e=Uw[e]=e.split(/\s*,\s*|\s+/)),e)}var zae=Hl,U1=jae;function jae(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=zae(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 wg=Uae;function Uae(e,t){if(!e||e.length==null)throw Error("Argument should be an array");t==null?t=1:t=Math.floor(t);for(var r=Array(t*2),n=0;n<t;n++){for(var i=-1/0,a=1/0,o=n,u=e.length;o<u;o+=t)e[o]>i&&(i=e[o]),e[o]<a&&(a=e[o]);r[n]=a,r[t+n]=i}return r}var PB=function(){for(var e=0;e<arguments.length;e++)if(arguments[e]!==void 0)return arguments[e]},CA=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}},qI=CA,_g=Wae;function Wae(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=+(r||0)|0,Array.isArray(e)&&e[0]&&typeof e[0][0]=="number"){var n=e[0].length,i=e.length*n,a,o,u,l;(!t||typeof t=="string")&&(t=new(qI(t||"float32"))(i+r));var f=t.length-r;if(i!==f)throw new Error("source length "+i+" ("+n+"x"+e.length+") does not match destination length "+f);for(a=0,u=r;a<e.length;a++)for(o=0;o<n;o++)t[u++]=e[a][o]===null?NaN:e[a][o]}else if(!t||typeof t=="string"){var p=qI(t||"float32");if(Array.isArray(e)||t==="array")for(t=new p(e.length+r),a=0,u=r,l=t.length;u<l;u++,a++)t[u]=e[a]===null?NaN:e[a];else r===0?t=new p(e):(t=new p(e.length+r),t.set(e,r))}else t.set(e,r);return t}var qae=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},Gae=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const GI=Bae,HI=xg,Hae=U1,Vae=wg,VI=Hl,Ww=PB,Yae=_g,Xae=qae,Qae=CA,YI=Gae,Kae=1073741824;var Zae=function(t,r){r||(r={}),t=Yae(t,"float64"),r=VI(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=Ww(r.maxDepth,255),i=Ww(r.bounds,Vae(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=XI(t,i),o=t.length>>>1,u;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?u=new(Qae(r.dtype))(o):r.dtype&&(u=r.dtype,Array.isArray(u)&&(u.length=o));for(let w=0;w<o;++w)u[w]=w;let l=[],f=[],p=[],g=[];y(0,0,1,u,0,1);let v=0;for(let w=0;w<l.length;w++){let A=l[w];if(u.set)u.set(A,v);else for(let P=0,N=A.length;P<N;P++)u[P+v]=A[P];let R=v+l[w].length;g[w]=[v,R],v=R}return u.range=C,u;function y(w,A,R,P,N,m){if(!P.length)return null;let G=l[N]||(l[N]=[]),L=p[N]||(p[N]=[]),$=f[N]||(f[N]=[]),ae=G.length;if(N++,N>n||m>Kae){for(let Ye=0;Ye<P.length;Ye++)G.push(P[Ye]),L.push(m),$.push(null,null,null,null);return ae}if(G.push(P[0]),L.push(m),P.length<=1)return $.push(null,null,null,null),ae;let ve=R*.5,be=w+ve,Pe=A+ve,Fe=[],dt=[],Je=[],Te=[];for(let Ye=1,nt=P.length;Ye<nt;Ye++){let pt=P[Ye],Ie=a[pt*2],Re=a[pt*2+1];Ie<be?Re<Pe?Fe.push(pt):dt.push(pt):Re<Pe?Je.push(pt):Te.push(pt)}return m<<=2,$.push(y(w,A,ve,Fe,N,m),y(w,Pe,ve,dt,N,m+1),y(be,A,ve,Je,N,m+2),y(be,Pe,ve,Te,N,m+3)),ae}function C(...w){let A;if(Xae(w[w.length-1])){let Je=w.pop();!w.length&&(Je.x!=null||Je.l!=null||Je.left!=null)&&(w=[Je],A={}),A=VI(Je,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else A={};w.length||(w=i);let R=Hae(...w),[P,N,m,G]=[Math.min(R.x,R.x+R.width),Math.min(R.y,R.y+R.height),Math.max(R.x,R.x+R.width),Math.max(R.y,R.y+R.height)],[L,$,ae,ve]=XI([P,N,m,G],i),be=Ww(A.level,l.length);if(A.d!=null){let Je;typeof A.d=="number"?Je=[A.d,A.d]:A.d.length&&(Je=A.d),be=Math.min(Math.max(Math.ceil(-YI(Math.abs(Je[0])/(i[2]-i[0]))),Math.ceil(-YI(Math.abs(Je[1])/(i[3]-i[1])))),be)}if(be=Math.min(be,l.length),A.lod)return O(L,$,ae,ve,be);let Pe=[];Fe(0,0,1,0,0,1);function Fe(Je,Te,Ye,nt,pt,Ie){if(pt===null||Ie===null)return;let Re=Je+Ye,ot=Te+Ye;if(L>Re||$>ot||ae<Je||ve<Te||nt>=be||pt===Ie)return;let et=l[nt];Ie===void 0&&(Ie=et.length);for(let H=pt;H<Ie;H++){let oe=et[H],K=t[oe*2],ge=t[oe*2+1];K>=P&&K<=m&&ge>=N&&ge<=G&&Pe.push(oe)}let ft=f[nt],At=ft[pt*4+0],Gt=ft[pt*4+1],Xt=ft[pt*4+2],Me=ft[pt*4+3],yt=dt(ft,pt+1),Nt=Ye*.5,Ne=nt+1;Fe(Je,Te,Nt,Ne,At,Gt||Xt||Me||yt),Fe(Je,Te+Nt,Nt,Ne,Gt,Xt||Me||yt),Fe(Je+Nt,Te,Nt,Ne,Xt,Me||yt),Fe(Je+Nt,Te+Nt,Nt,Ne,Me,yt)}function dt(Je,Te){let Ye=null,nt=0;for(;Ye===null;)if(Ye=Je[Te*4+nt],nt++,nt>Je.length)return null;return Ye}return Pe}function O(w,A,R,P,N){let m=[];for(let G=0;G<N;G++){let L=p[G],$=g[G][0],ae=S(w,A,G),ve=S(R,P,G),be=GI.ge(L,ae),Pe=GI.gt(L,ve,be,L.length-1);m[G]=[be+$,Pe+$]}return m}function S(w,A,R){let P=1,N=.5,m=.5,G=.5;for(let L=0;L<R;L++)P<<=2,P+=w<N?A<m?0:1:A<m?2:3,G*=.5,N+=w<N?-G:G,m+=A<m?-G:G;return P}};function XI(e,t){let[r,n,i,a]=t,o=1/(i-r),u=1/(a-n),l=new Array(e.length);for(let f=0,p=e.length/2;f<p;f++)l[2*f]=HI((e[2*f]-r)*o,0,1),l[2*f+1]=HI((e[2*f+1]-n)*u,0,1);return l}(function(e){e.exports=Zae})(IB);var kB=Jae;function Jae(e){var t=0,r=0,n=0,i=0;return e.map(function(a){a=a.slice();var o=a[0],u=o.toUpperCase();if(o!=u)switch(a[0]=u,o){case"a":a[6]+=n,a[7]+=i;break;case"v":a[1]+=i;break;case"h":a[1]+=n;break;default:for(var l=1;l<a.length;)a[l++]+=n,a[l++]+=i}switch(u){case"Z":n=t,i=r;break;case"H":n=a[1];break;case"V":i=a[1];break;case"M":n=t=a[1],i=r=a[2];break;default:n=a[a.length-2],i=a[a.length-1]}return a})}var eoe=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(n.push(l.value),!(r&&n.length===r));i=!0);}catch(f){a=!0,o=f}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),dv=Math.PI*2,qw=function(t,r,n,i,a,o,u){var l=t.x,f=t.y;l*=r,f*=n;var p=i*l-a*f,g=a*l+i*f;return{x:p+o,y:g+u}},toe=function(t,r){var n=r===1.5707963267948966?.551915024494:r===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(r/4),i=Math.cos(t),a=Math.sin(t),o=Math.cos(t+r),u=Math.sin(t+r);return[{x:i-a*n,y:a+i*n},{x:o+u*n,y:u-o*n},{x:o,y:u}]},QI=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)},roe=function(t,r,n,i,a,o,u,l,f,p,g,v){var y=Math.pow(a,2),C=Math.pow(o,2),O=Math.pow(g,2),S=Math.pow(v,2),w=y*C-y*S-C*O;w<0&&(w=0),w/=y*S+C*O,w=Math.sqrt(w)*(u===l?-1:1);var A=w*a/o*v,R=w*-o/a*g,P=p*A-f*R+(t+n)/2,N=f*A+p*R+(r+i)/2,m=(g-A)/a,G=(v-R)/o,L=(-g-A)/a,$=(-v-R)/o,ae=QI(1,0,m,G),ve=QI(m,G,L,$);return l===0&&ve>0&&(ve-=dv),l===1&&ve<0&&(ve+=dv),[P,N,ae,ve]},noe=function(t){var r=t.px,n=t.py,i=t.cx,a=t.cy,o=t.rx,u=t.ry,l=t.xAxisRotation,f=l===void 0?0:l,p=t.largeArcFlag,g=p===void 0?0:p,v=t.sweepFlag,y=v===void 0?0:v,C=[];if(o===0||u===0)return[];var O=Math.sin(f*dv/360),S=Math.cos(f*dv/360),w=S*(r-i)/2+O*(n-a)/2,A=-O*(r-i)/2+S*(n-a)/2;if(w===0&&A===0)return[];o=Math.abs(o),u=Math.abs(u);var R=Math.pow(w,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(u,2);R>1&&(o*=Math.sqrt(R),u*=Math.sqrt(R));var P=roe(r,n,i,a,o,u,g,y,O,S,w,A),N=eoe(P,4),m=N[0],G=N[1],L=N[2],$=N[3],ae=Math.abs($)/(dv/4);Math.abs(1-ae)<1e-7&&(ae=1);var ve=Math.max(Math.ceil(ae),1);$/=ve;for(var be=0;be<ve;be++)C.push(toe(L,$)),L+=$;return C.map(function(Pe){var Fe=qw(Pe[0],o,u,S,O,m,G),dt=Fe.x,Je=Fe.y,Te=qw(Pe[1],o,u,S,O,m,G),Ye=Te.x,nt=Te.y,pt=qw(Pe[2],o,u,S,O,m,G),Ie=pt.x,Re=pt.y;return{x1:dt,y1:Je,x2:Ye,y2:nt,x:Ie,y:Re}})};const ioe=Object.freeze(Object.defineProperty({__proto__:null,default:noe},Symbol.toStringTag,{value:"Module"})),aoe=rc(ioe);var ooe=soe,uoe=aoe;function soe(e){for(var t,r=[],n=0,i=0,a=0,o=0,u=null,l=null,f=0,p=0,g=0,v=e.length;g<v;g++){var y=e[g],C=y[0];switch(C){case"M":a=y[1],o=y[2];break;case"A":var O=uoe({px:f,py:p,cx:y[6],cy:y[7],rx:y[1],ry:y[2],xAxisRotation:y[3],largeArcFlag:y[4],sweepFlag:y[5]});if(!O.length)continue;for(var S=0,w;S<O.length;S++)w=O[S],y=["C",w.x1,w.y1,w.x2,w.y2,w.x,w.y],S<O.length-1&&r.push(y);break;case"S":var A=f,R=p;(t=="C"||t=="S")&&(A+=A-n,R+=R-i),y=["C",A,R,y[1],y[2],y[3],y[4]];break;case"T":t=="Q"||t=="T"?(u=f*2-u,l=p*2-l):(u=f,l=p),y=KI(f,p,u,l,y[1],y[2]);break;case"Q":u=y[1],l=y[2],y=KI(f,p,y[1],y[2],y[3],y[4]);break;case"L":y=Om(f,p,y[1],y[2]);break;case"H":y=Om(f,p,y[1],p);break;case"V":y=Om(f,p,f,y[1]);break;case"Z":y=Om(f,p,a,o);break}t=C,f=y[y.length-2],p=y[y.length-1],y.length>4?(n=y[y.length-4],i=y[y.length-3]):(n=f,i=p),r.push(y)}return r}function Om(e,t,r,n){return["C",e,t,r,n,r,n]}function KI(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 DB=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))},loe=RB,foe=kB,coe=ooe,doe=DB,poe=hoe;function hoe(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!doe(e))throw Error("String is not an SVG path.");e=loe(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=foe(e),e=coe(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 Tf=Math.PI,ZI=NB(120),voe=goe;function goe(e){for(var t,r=[],n=0,i=0,a=0,o=0,u=null,l=null,f=0,p=0,g=0,v=e.length;g<v;g++){var y=e[g],C=y[0];switch(C){case"M":a=y[1],o=y[2];break;case"A":y=MB(f,p,y[1],y[2],NB(y[3]),y[4],y[5],y[6],y[7]),y.unshift("C"),y.length>7&&(r.push(y.splice(0,7)),y.unshift("C"));break;case"S":var O=f,S=p;(t=="C"||t=="S")&&(O+=O-n,S+=S-i),y=["C",O,S,y[1],y[2],y[3],y[4]];break;case"T":t=="Q"||t=="T"?(u=f*2-u,l=p*2-l):(u=f,l=p),y=JI(f,p,u,l,y[1],y[2]);break;case"Q":u=y[1],l=y[2],y=JI(f,p,y[1],y[2],y[3],y[4]);break;case"L":y=Rm(f,p,y[1],y[2]);break;case"H":y=Rm(f,p,y[1],p);break;case"V":y=Rm(f,p,f,y[1]);break;case"Z":y=Rm(f,p,a,o);break}t=C,f=y[y.length-2],p=y[y.length-1],y.length>4?(n=y[y.length-4],i=y[y.length-3]):(n=f,i=p),r.push(y)}return r}function Rm(e,t,r,n){return["C",e,t,r,n,r,n]}function JI(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 MB(e,t,r,n,i,a,o,u,l,f){if(f)R=f[0],P=f[1],w=f[2],A=f[3];else{var p=Gw(e,t,-i);e=p.x,t=p.y,p=Gw(u,l,-i),u=p.x,l=p.y;var g=(e-u)/2,v=(t-l)/2,y=g*g/(r*r)+v*v/(n*n);y>1&&(y=Math.sqrt(y),r=y*r,n=y*n);var C=r*r,O=n*n,S=(a==o?-1:1)*Math.sqrt(Math.abs((C*O-C*v*v-O*g*g)/(C*v*v+O*g*g)));S==1/0&&(S=1);var w=S*r*v/n+(e+u)/2,A=S*-n*g/r+(t+l)/2,R=Math.asin(((t-A)/n).toFixed(9)),P=Math.asin(((l-A)/n).toFixed(9));R=e<w?Tf-R:R,P=u<w?Tf-P:P,R<0&&(R=Tf*2+R),P<0&&(P=Tf*2+P),o&&R>P&&(R=R-Tf*2),!o&&P>R&&(P=P-Tf*2)}if(Math.abs(P-R)>ZI){var N=P,m=u,G=l;P=R+ZI*(o&&P>R?1:-1),u=w+r*Math.cos(P),l=A+n*Math.sin(P);var L=MB(u,l,r,n,i,0,o,m,G,[P,N,w,A])}var $=Math.tan((P-R)/4),ae=4/3*r*$,ve=4/3*n*$,be=[2*e-(e+ae*Math.sin(R)),2*t-(t-ve*Math.cos(R)),u+ae*Math.sin(P),l-ve*Math.cos(P),u,l];if(f)return be;L&&(be=be.concat(L));for(var Pe=0;Pe<be.length;){var Fe=Gw(be[Pe],be[Pe+1],i);be[Pe++]=Fe.x,be[Pe++]=Fe.y}return be}function Gw(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function NB(e){return e*(Tf/180)}var moe=kB,yoe=voe,boe={M:"moveTo",C:"bezierCurveTo"},xoe=function(e,t){e.beginPath(),yoe(moe(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[boe[n]].apply(e,i)}),e.closePath()},woe=xg,_oe=Soe,pv=1e20;function Soe(e,t){t||(t={});var r=t.cutoff==null?.25:t.cutoff,n=t.radius==null?8:t.radius,i=t.channel||0,a,o,u,l,f,p,g,v,y,C,O;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,l=e,t.stride?p=t.stride:p=Math.floor(e.length/a/o)}else window.HTMLCanvasElement&&e instanceof window.HTMLCanvasElement?(v=e,g=v.getContext("2d"),a=v.width,o=v.height,y=g.getImageData(0,0,a,o),l=y.data,p=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(v=e.canvas,g=e,a=v.width,o=v.height,y=g.getImageData(0,0,a,o),l=y.data,p=4):window.ImageData&&e instanceof window.ImageData&&(y=e,a=e.width,o=e.height,l=y.data,p=4);if(u=Math.max(a,o),window.Uint8ClampedArray&&l instanceof window.Uint8ClampedArray||window.Uint8Array&&l instanceof window.Uint8Array)for(f=l,l=Array(a*o),C=0,O=f.length;C<O;C++)l[C]=f[C*p+i]/255;else if(p!==1)throw Error("Raw data can have only 1 value per pixel");var S=Array(a*o),w=Array(a*o),A=Array(u),R=Array(u),P=Array(u+1),N=Array(u);for(C=0,O=a*o;C<O;C++){var m=l[C];S[C]=m===1?0:m===0?pv:Math.pow(Math.max(0,.5-m),2),w[C]=m===1?pv:m===0?0:Math.pow(Math.max(0,m-.5),2)}eP(S,a,o,A,R,N,P),eP(w,a,o,A,R,N,P);var G=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(C=0,O=a*o;C<O;C++)G[C]=woe(1-((S[C]-w[C])/n+r),0,1);return G}function eP(e,t,r,n,i,a,o){for(var u=0;u<t;u++){for(var l=0;l<r;l++)n[l]=e[l*t+u];for(tP(n,i,a,o,r),l=0;l<r;l++)e[l*t+u]=i[l]}for(l=0;l<r;l++){for(u=0;u<t;u++)n[u]=e[l*t+u];for(tP(n,i,a,o,t),u=0;u<t;u++)e[l*t+u]=Math.sqrt(i[u])}}function tP(e,t,r,n,i){r[0]=0,n[0]=-pv,n[1]=+pv;for(var a=1,o=0;a<i;a++){for(var u=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);u<=n[o];)o--,u=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);o++,r[o]=a,n[o]=u,n[o+1]=+pv}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 Eoe=poe,Coe=RB,Aoe=xoe,Toe=DB,Ooe=_oe,b2=document.createElement("canvas"),pa=b2.getContext("2d"),xde=Roe;function Roe(e,t){if(!Toe(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=b2.width=t.w||t.width||200,n=b2.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||Eoe(e),u=[r/(o[2]-o[0]),n/(o[3]-o[1])],l=Math.min(u[0]||0,u[1]||0)/2;if(pa.fillStyle="black",pa.fillRect(0,0,r,n),pa.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?pa.strokeStyle="white":pa.strokeStyle="black",pa.lineWidth=Math.abs(a)),pa.translate(r*.5,n*.5),pa.scale(l,l),Ioe()){var f=new Path2D(e);pa.fill(f),a&&pa.stroke(f)}else{var p=Coe(e);Aoe(pa,p),pa.fill(),a&&pa.stroke()}pa.setTransform(1,0,0,1,0,0);var g=Ooe(pa,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return g}var Im;function Ioe(){if(Im!=null)return Im;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return Im=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return Im=r&&r.data&&r.data[3]===255}var Poe={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]},koe=Object.prototype.toString,FB=function(e){var t;return koe.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},rP=Poe,Doe=FB,_f=PB,Moe=Noe,nP={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function Noe(e){var t,r=[],n=1,i;if(typeof e=="string")if(rP[e])r=rP[e].slice(),i="rgb";else if(e==="transparent")n=0,i="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var a=e.slice(1),o=a.length,u=o<=4;n=1,u?(r=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],o===4&&(n=parseInt(a[3]+a[3],16)/255)):(r=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],o===8&&(n=parseInt(a[6]+a[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),i="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=t[1],f=l==="rgb",a=l.replace(/a$/,"");i=a;var o=a==="cmyk"?4:a==="gray"?1:3;r=t[2].trim().split(/\s*,\s*/).map(function(y,C){if(/%$/.test(y))return C===o?parseFloat(y)/100:a==="rgb"?parseFloat(y)*255/100:parseFloat(y);if(a[C]==="h"){if(/deg$/.test(y))return parseFloat(y);if(nP[y]!==void 0)return nP[y]}return parseFloat(y)}),l===a&&r.push(1),n=f||r[o]===void 0?1:r[o],r=r.slice(0,o)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(r=e.match(/([0-9]+)/g).map(function(g){return parseFloat(g)}),i=e.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(e))i="rgb",r=[e>>>16,(e&65280)>>>8,e&255];else if(Doe(e)){var p=_f(e.r,e.red,e.R,null);p!==null?(i="rgb",r=[p,_f(e.g,e.green,e.G),_f(e.b,e.blue,e.B)]):(i="hsl",r=[_f(e.h,e.hue,e.H),_f(e.s,e.saturation,e.S),_f(e.l,e.lightness,e.L,e.b,e.brightness)]),n=_f(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||en.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 Foe={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,a,o,u,l;if(r===0)return l=n*255,[l,l,l];n<.5?a=n*(1+r):a=n+r-n*r,i=2*n-a,u=[0,0,0];for(var f=0;f<3;f++)o=t+1/3*-(f-1),o<0?o++:o>1&&o--,6*o<1?l=i+(a-i)*6*o:2*o<1?l=a:3*o<2?l=i+(a-i)*(2/3-o)*6:l=i,u[f]=l*255;return u}},Loe=Moe,Boe=Foe,Pm=xg,$oe=function(t){var r,n=Loe(t);return n.space?(r=Array(3),r[0]=Pm(n.values[0],0,255),r[1]=Pm(n.values[1],0,255),r[2]=Pm(n.values[2],0,255),n.space[0]==="h"&&(r=Boe.rgb(r)),r.push(Pm(n.alpha,0,1)),r):[]},zoe=$oe,km=xg,joe=CA,W1=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=joe(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=zoe(t),t[0]/=255,t[1]/=255,t[2]/=255),Uoe(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]=km(Math.floor(t[0]*255),0,255),i[1]=km(Math.floor(t[1]*255),0,255),i[2]=km(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:km(Math.floor(t[3]*255),0,255)),i)};function Uoe(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 q1={exports:{}},Dm=xg;q1.exports=LB;q1.exports.to=LB;q1.exports.from=Woe;function LB(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=Dm(r,0,255)&255,n=Dm(n,0,255)&255,i=Dm(i,0,255)&255,a=Dm(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function Woe(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 BB=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("")},$B=function(t,r,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var i=0,a=n.length;i<a;i++){var o=n[i];for(var u in o)if(!(r[u]!==void 0&&!Array.isArray(r[u])&&t[u]===r[u])&&u in r){var l;if(o[u]===!0)l=r[u];else{if(o[u]===!1)continue;if(typeof o[u]=="function"&&(l=o[u](r[u],t,r),l===void 0))continue}t[u]=l}}return t},qoe=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),Ll={exports:{}};Ll.exports=hv;Ll.exports.float32=Ll.exports.float=hv;Ll.exports.fract32=Ll.exports.fract=Goe;var iP=new Float32Array(1);function Goe(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=hv(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return hv(e-hv(e))}function hv(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(iP[0]=e,iP[0])}function Hoe(e,t){return Xoe(e)||Koe(e,t)||zB(e,t)||Joe()}function Voe(e){return Yoe(e)||Qoe(e)||zB(e)||Zoe()}function Yoe(e){if(Array.isArray(e))return x2(e)}function Xoe(e){if(Array.isArray(e))return e}function Qoe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Koe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,u;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(l){a=!0,u=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw u}}return n}}function zB(e,t){if(!!e){if(typeof e=="string")return x2(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 x2(e,t)}}function x2(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 Zoe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
940
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Joe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
941
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var eue=W1,tue=wg,rue=q1.exports,nue=IB.exports,Wf=nc,Mm=BB,iue=Hl,aue=$B,oue=_g,aP=qoe,Nm=Ll.exports,uue=U1,sue=Oi;function Oi(e,t){var r=this;if(!(this instanceof Oi))return new Oi(e,t);typeof e=="function"?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n=e._gl,i,a=[],o={},u=[],l=[null],f=[null],p=255,g=100;this.tooManyColors=aP,i=e.texture({data:new Uint8Array(p*4),width:p,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),Wf(this,{regl:e,gl:n,groups:u,markerCache:f,markerTextures:l,palette:a,paletteIds:o,paletteTexture:i,maxColors:p,maxSize:g,canvas:n.canvas}),this.update(t);var v={uniforms:{constPointSize:!!t.constPointSize,opacity:e.prop("opacity"),paletteSize:function(S,w){return[r.tooManyColors?0:p,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(S,w){return w.xAttr||{buffer:w.positionBuffer,stride:8,offset:0}},y:function(S,w){return w.yAttr||{buffer:w.positionBuffer,stride:8,offset:4}},xFract:function(S,w){return w.xAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:0}},yFract:function(S,w){return w.yAttr?{constant:[0,0]}:{buffer:w.positionFractBuffer,stride:8,offset:4}},size:function(S,w){return w.size.length?{buffer:w.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(w.size*255/r.maxSize)]}},borderSize:function(S,w){return w.borderSize.length?{buffer:w.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(w.borderSize*255/r.maxSize)]}},colorId:function(S,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(S,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(S,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"},y=Wf({},v);y.frag=Mm([`precision highp float;
942
- #define GLSLIFY 1
943
-
944
- uniform float opacity;
945
- uniform sampler2D markerTexture;
946
-
947
- varying vec4 fragColor, fragBorderColor;
948
- varying float fragWidth, fragBorderColorLevel, fragColorLevel;
949
-
950
- float smoothStep(float x, float y) {
951
- return 1.0 / (1.0 + exp(50.0*(x - y)));
952
- }
953
-
954
- void main() {
955
- float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
956
-
957
- // max-distance alpha
958
- if (dist < 0.003) discard;
959
-
960
- // null-border case
961
- if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
962
- float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
963
- gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
964
- }
965
- else {
966
- float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
967
- float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
968
-
969
- vec4 color = fragBorderColor;
970
- color.a *= borderColorAmt;
971
- color = mix(color, fragColor, colorAmt);
972
- color.a *= opacity;
973
-
974
- gl_FragColor = color;
975
- }
976
-
977
- }
978
- `]),y.vert=Mm([`precision highp float;
979
- #define GLSLIFY 1
980
-
981
- attribute float x, y, xFract, yFract;
982
- attribute float size, borderSize;
983
- attribute vec4 colorId, borderColorId;
984
- attribute float isActive;
985
-
986
- uniform bool constPointSize;
987
- uniform float pixelRatio;
988
- uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
989
- uniform sampler2D paletteTexture;
990
-
991
- const float maxSize = 100.;
992
- const float borderLevel = .5;
993
-
994
- varying vec4 fragColor, fragBorderColor;
995
- varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
996
-
997
- float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
998
-
999
- bool isDirect = (paletteSize.x < 1.);
1000
-
1001
- vec4 getColor(vec4 id) {
1002
- return isDirect ? id / 255. : texture2D(paletteTexture,
1003
- vec2(
1004
- (id.x + .5) / paletteSize.x,
1005
- (id.y + .5) / paletteSize.y
1006
- )
1007
- );
1008
- }
1009
-
1010
- void main() {
1011
- // ignore inactive points
1012
- if (isActive == 0.) return;
1013
-
1014
- vec2 position = vec2(x, y);
1015
- vec2 positionFract = vec2(xFract, yFract);
1016
-
1017
- vec4 color = getColor(colorId);
1018
- vec4 borderColor = getColor(borderColorId);
1019
-
1020
- float size = size * maxSize / 255.;
1021
- float borderSize = borderSize * maxSize / 255.;
1022
-
1023
- gl_PointSize = 2. * size * pointSizeScale;
1024
- fragPointSize = size * pixelRatio;
1025
-
1026
- vec2 pos = (position + translate) * scale
1027
- + (positionFract + translateFract) * scale
1028
- + (position + translate) * scaleFract
1029
- + (positionFract + translateFract) * scaleFract;
1030
-
1031
- gl_Position = vec4(pos * 2. - 1., 0., 1.);
1032
-
1033
- fragColor = color;
1034
- fragBorderColor = borderColor;
1035
- fragWidth = 1. / gl_PointSize;
1036
-
1037
- fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
1038
- fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
1039
- }`]),this.drawMarker=e(y);var C=Wf({},v);C.frag=Mm([`precision highp float;
1040
- #define GLSLIFY 1
1041
-
1042
- varying vec4 fragColor, fragBorderColor;
1043
- varying float fragBorderRadius, fragWidth;
1044
-
1045
- uniform float opacity;
1046
-
1047
- float smoothStep(float edge0, float edge1, float x) {
1048
- float t;
1049
- t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
1050
- return t * t * (3.0 - 2.0 * t);
1051
- }
1052
-
1053
- void main() {
1054
- float radius, alpha = 1.0, delta = fragWidth;
1055
-
1056
- radius = length(2.0 * gl_PointCoord.xy - 1.0);
1057
-
1058
- if (radius > 1.0 + delta) {
1059
- discard;
1060
- }
1061
-
1062
- alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
1063
-
1064
- float borderRadius = fragBorderRadius;
1065
- float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
1066
- vec4 color = mix(fragColor, fragBorderColor, ratio);
1067
- color.a *= alpha * opacity;
1068
- gl_FragColor = color;
1069
- }
1070
- `]),C.vert=Mm([`precision highp float;
1071
- #define GLSLIFY 1
1072
-
1073
- attribute float x, y, xFract, yFract;
1074
- attribute float size, borderSize;
1075
- attribute vec4 colorId, borderColorId;
1076
- attribute float isActive;
1077
-
1078
- uniform bool constPointSize;
1079
- uniform float pixelRatio;
1080
- uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
1081
- uniform sampler2D paletteTexture;
1082
-
1083
- const float maxSize = 100.;
1084
-
1085
- varying vec4 fragColor, fragBorderColor;
1086
- varying float fragBorderRadius, fragWidth;
1087
-
1088
- float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
1089
-
1090
- bool isDirect = (paletteSize.x < 1.);
1091
-
1092
- vec4 getColor(vec4 id) {
1093
- return isDirect ? id / 255. : texture2D(paletteTexture,
1094
- vec2(
1095
- (id.x + .5) / paletteSize.x,
1096
- (id.y + .5) / paletteSize.y
1097
- )
1098
- );
1099
- }
1100
-
1101
- void main() {
1102
- // ignore inactive points
1103
- if (isActive == 0.) return;
1104
-
1105
- vec2 position = vec2(x, y);
1106
- vec2 positionFract = vec2(xFract, yFract);
1107
-
1108
- vec4 color = getColor(colorId);
1109
- vec4 borderColor = getColor(borderColorId);
1110
-
1111
- float size = size * maxSize / 255.;
1112
- float borderSize = borderSize * maxSize / 255.;
1113
-
1114
- gl_PointSize = (size + borderSize) * pointSizeScale;
1115
-
1116
- vec2 pos = (position + translate) * scale
1117
- + (positionFract + translateFract) * scale
1118
- + (position + translate) * scaleFract
1119
- + (positionFract + translateFract) * scaleFract;
1120
-
1121
- gl_Position = vec4(pos * 2. - 1., 0., 1.);
1122
-
1123
- fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
1124
- fragColor = color;
1125
- fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
1126
- fragWidth = 1. / gl_PointSize;
1127
- }
1128
- `]),aP&&(C.frag=C.frag.replace("smoothstep","smoothStep"),y.frag=y.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(C)}Oi.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};Oi.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};Oi.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(r.length===1&&Array.isArray(r[0])&&(r[0][0]===null||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var a=0;a<r.length;a++)this.drawItem(a,r[a]);else i.forEach(function(o,u){e.drawItem(u)});return this};Oi.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,Voe(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};Oi.prototype.getMarkerDrawOptions=function(e,t,r){var n=t.range,i=t.tree,a=t.viewport,o=t.activation,u=t.selectionBuffer,l=t.count;if(this.regl,!i)return r?[Wf({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[Wf({},t,{markerTexture:this.markerTextures[e],activation:o[e],offset:0})];var f=[],p=i.range(n,{lod:!0,px:[(n[2]-n[0])/a.width,(n[3]-n[1])/a.height]});if(r){for(var g=o[e],v=g.data,y=new Uint8Array(l),C=0;C<r.length;C++){var O=r[C];y[O]=v?v[O]:1}u.subdata(y)}for(var S=p.length;S--;){var w=Hoe(p[S],2),A=w[0],R=w[1];f.push(Wf({},t,{markerTexture:this.markerTextures[e],activation:r?u:o[e],offset:A,count:R-A}))}return f};Oi.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!!r.length){r.length===1&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,a=this.gl,o=this.regl,u=this.maxSize,l=this.maxColors,f=this.palette;this.groups=i=r.map(function(p,g){var v=i[g];if(p===void 0)return v;p===null?p={positions:null}:typeof p=="function"?p={ondraw:p}:typeof p[0]=="number"&&(p={positions:p}),p=iue(p,{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"}),p.positions===null&&(p.positions=[]),p.tooManyColors!=null&&(e.tooManyColors=p.tooManyColors),v||(i[g]=v={id:g,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:o.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},p=Wf({},Oi.defaults,p)),p.positions&&!("marker"in p)&&(p.marker=v.marker,delete v.marker),p.marker&&!("positions"in p)&&(p.positions=v.positions,delete v.positions);var y=0,C=0;if(aue(v,p,[{snap:!0,size:function(Te,Ye){return Te==null&&(Te=Oi.defaults.size),y+=Te&&Te.length?1:0,Te},borderSize:function(Te,Ye){return Te==null&&(Te=Oi.defaults.borderSize),y+=Te&&Te.length?1:0,Te},opacity:parseFloat,color:function(Te,Ye){return Te==null&&(Te=Oi.defaults.color),Te=e.updateColor(Te),C++,Te},borderColor:function(Te,Ye){return Te==null&&(Te=Oi.defaults.borderColor),Te=e.updateColor(Te),C++,Te},bounds:function(Te,Ye,nt){return"range"in nt||(nt.range=null),Te},positions:function(Te,Ye,nt){var pt=Ye.snap,Ie=Ye.positionBuffer,Re=Ye.positionFractBuffer,ot=Ye.selectionBuffer;if(Te.x||Te.y)return Te.x.length?Ye.xAttr={buffer:o.buffer(Te.x),offset:0,stride:4,count:Te.x.length}:Ye.xAttr={buffer:Te.x.buffer,offset:Te.x.offset*4||0,stride:(Te.x.stride||1)*4,count:Te.x.count},Te.y.length?Ye.yAttr={buffer:o.buffer(Te.y),offset:0,stride:4,count:Te.y.length}:Ye.yAttr={buffer:Te.y.buffer,offset:Te.y.offset*4||0,stride:(Te.y.stride||1)*4,count:Te.y.count},Ye.count=Math.max(Ye.xAttr.count,Ye.yAttr.count),Te;Te=oue(Te,"float64");var et=Ye.count=Math.floor(Te.length/2),ft=Ye.bounds=et?tue(Te,2):null;if(!nt.range&&!Ye.range&&(delete Ye.range,nt.range=ft),!nt.marker&&!Ye.marker&&(delete Ye.marker,nt.marker=null),pt&&(pt===!0||et>pt)?Ye.tree=nue(Te,{bounds:ft}):pt&&pt.length&&(Ye.tree=pt),Ye.tree){var At={primitive:"points",usage:"static",data:Ye.tree,type:"uint32"};Ye.elements?Ye.elements(At):Ye.elements=o.elements(At)}var Gt=Nm.float32(Te);Ie({data:Gt,usage:"dynamic"});var Xt=Nm.fract32(Te,Gt);return Re({data:Xt,usage:"dynamic"}),ot({data:new Uint8Array(et),type:"uint8",usage:"stream"}),Te}},{marker:function(Te,Ye,nt){var pt=Ye.activation;if(pt.forEach(function(Xt){return Xt&&Xt.destroy&&Xt.destroy()}),pt.length=0,!Te||typeof Te[0]=="number"){var Ie=e.addMarker(Te);pt[Ie]=!0}else{for(var Re=[],ot=0,et=Math.min(Te.length,Ye.count);ot<et;ot++){var ft=e.addMarker(Te[ot]);Re[ft]||(Re[ft]=new Uint8Array(Ye.count)),Re[ft][ot]=1}for(var At=0;At<Re.length;At++)if(!!Re[At]){var Gt={data:Re[At],type:"uint8",usage:"static"};pt[At]?pt[At](Gt):pt[At]=o.buffer(Gt),pt[At].data=Re[At]}}return Te},range:function(Te,Ye,nt){var pt=Ye.bounds;if(!!pt)return Te||(Te=pt),Ye.scale=[1/(Te[2]-Te[0]),1/(Te[3]-Te[1])],Ye.translate=[-Te[0],-Te[1]],Ye.scaleFract=Nm.fract(Ye.scale),Ye.translateFract=Nm.fract(Ye.translate),Te},viewport:function(Te){var Ye=uue(Te||[a.drawingBufferWidth,a.drawingBufferHeight]);return Ye}}]),y){var O=v,S=O.count,w=O.size,A=O.borderSize,R=O.sizeBuffer,P=new Uint8Array(S*2);if(w.length||A.length)for(var N=0;N<S;N++)P[N*2]=Math.round((w[N]==null?w:w[N])*255/u),P[N*2+1]=Math.round((A[N]==null?A:A[N])*255/u);R({data:P,usage:"dynamic"})}if(C){var m=v,G=m.count,L=m.color,$=m.borderColor,ae=m.colorBuffer,ve;if(e.tooManyColors){if(L.length||$.length){ve=new Uint8Array(G*8);for(var be=0;be<G;be++){var Pe=L[be];ve[be*8]=f[Pe*4],ve[be*8+1]=f[Pe*4+1],ve[be*8+2]=f[Pe*4+2],ve[be*8+3]=f[Pe*4+3];var Fe=$[be];ve[be*8+4]=f[Fe*4],ve[be*8+5]=f[Fe*4+1],ve[be*8+6]=f[Fe*4+2],ve[be*8+7]=f[Fe*4+3]}}}else if(L.length||$.length){ve=new Uint8Array(G*4+2);for(var dt=0;dt<G;dt++)L[dt]!=null&&(ve[dt*4]=L[dt]%l,ve[dt*4+1]=Math.floor(L[dt]/l)),$[dt]!=null&&(ve[dt*4+2]=$[dt]%l,ve[dt*4+3]=Math.floor($[dt]/l))}ae({data:ve||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return v})}};Oi.prototype.addMarker=function(e){var t=this.markerTextures,r=this.regl,n=this.markerCache,i=e==null?0:n.indexOf(e);if(i>=0)return i;var a;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)a=e;else{a=new Uint8Array(e.length);for(var o=0,u=e.length;o<u;o++)a[o]=e[o]*255}var l=Math.floor(Math.sqrt(a.length));return i=t.length,n.push(e),t.push(r.texture({channels:1,data:a,radius:l,mag:"linear",min:"linear"})),i};Oi.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if(typeof e[0]=="number"){var a=[];if(Array.isArray(e))for(var o=0;o<e.length;o+=4)a.push(e.slice(o,o+4));else for(var u=0;u<e.length;u+=4)a.push(e.subarray(u,u+4));e=a}for(var l=0;l<e.length;l++){var f=e[l];f=eue(f,"uint8");var p=rue(f,!1);if(t[p]==null){var g=r.length;t[p]=Math.floor(g/4),r[g]=f[0],r[g+1]=f[1],r[g+2]=f[2],r[g+3]=f[3]}i[l]=t[p]}return!this.tooManyColors&&r.length>n*4&&(this.tooManyColors=!0),this.updatePalette(r),i.length===1?i[0]:i};Oi.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)}};Oi.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 lue=nc,fue=function(t,r){var n=new sue(t,r),i=n.render.bind(n);return lue(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},wde=fue,AA={exports:{}};AA.exports=G1;AA.exports.default=G1;function G1(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=jB(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var u,l,f,p,g,v,y;if(n&&(a=vue(e,t,a,r)),e.length>80*r){u=f=e[0],l=p=e[1];for(var C=r;C<i;C+=r)g=e[C],v=e[C+1],g<u&&(u=g),v<l&&(l=v),g>f&&(f=g),v>p&&(p=v);y=Math.max(f-u,p-l),y=y!==0?1/y:0}return jv(a,o,r,u,l,y),o}function jB(e,t,r,n,i){var a,o;if(i===S2(e,t,r,n)>0)for(a=t;a<r;a+=n)o=oP(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=oP(a,e[a],e[a+1],o);return o&&H1(o,o.next)&&(Wv(o),o=o.next),o}function Bl(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(H1(r,r.next)||Bn(r.prev,r,r.next)===0)){if(Wv(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function jv(e,t,r,n,i,a,o){if(!!e){!o&&a&&xue(e,n,i,a);for(var u=e,l,f;e.prev!==e.next;){if(l=e.prev,f=e.next,a?due(e,n,i,a):cue(e)){t.push(l.i/r),t.push(e.i/r),t.push(f.i/r),Wv(e),e=f.next,u=f.next;continue}if(e=f,e===u){o?o===1?(e=pue(Bl(e),t,r),jv(e,t,r,n,i,a,2)):o===2&&hue(e,t,r,n,i,a):jv(Bl(e),t,r,n,i,a,1);break}}}}function cue(e){var t=e.prev,r=e,n=e.next;if(Bn(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(wd(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&Bn(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function due(e,t,r,n){var i=e.prev,a=e,o=e.next;if(Bn(i,a,o)>=0)return!1;for(var u=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,l=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,f=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,p=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,g=w2(u,l,t,r,n),v=w2(f,p,t,r,n),y=e.prevZ,C=e.nextZ;y&&y.z>=g&&C&&C.z<=v;){if(y!==e.prev&&y!==e.next&&wd(i.x,i.y,a.x,a.y,o.x,o.y,y.x,y.y)&&Bn(y.prev,y,y.next)>=0||(y=y.prevZ,C!==e.prev&&C!==e.next&&wd(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&Bn(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;y&&y.z>=g;){if(y!==e.prev&&y!==e.next&&wd(i.x,i.y,a.x,a.y,o.x,o.y,y.x,y.y)&&Bn(y.prev,y,y.next)>=0)return!1;y=y.prevZ}for(;C&&C.z<=v;){if(C!==e.prev&&C!==e.next&&wd(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&Bn(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function pue(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!H1(i,a)&&UB(i,n,n.next,a)&&Uv(i,a)&&Uv(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),Wv(n),Wv(n.next),n=e=a),n=n.next}while(n!==e);return Bl(n)}function hue(e,t,r,n,i,a){var o=e;do{for(var u=o.next.next;u!==o.prev;){if(o.i!==u.i&&Sue(o,u)){var l=WB(o,u);o=Bl(o,o.next),l=Bl(l,l.next),jv(o,t,r,n,i,a),jv(l,t,r,n,i,a);return}u=u.next}o=o.next}while(o!==e)}function vue(e,t,r,n){var i=[],a,o,u,l,f;for(a=0,o=t.length;a<o;a++)u=t[a]*n,l=a<o-1?t[a+1]*n:e.length,f=jB(e,u,l,n,!1),f===f.next&&(f.steiner=!0),i.push(_ue(f));for(i.sort(gue),a=0;a<i.length;a++)r=mue(i[a],r),r=Bl(r,r.next);return r}function gue(e,t){return e.x-t.x}function mue(e,t){var r=yue(e,t);if(!r)return t;var n=WB(r,e),i=Bl(r,r.next);return Bl(n,n.next),t===r?i:t}function yue(e,t){var r=t,n=e.x,i=e.y,a=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var u=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(u<=n&&u>a){if(a=u,u===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 l=o,f=o.x,p=o.y,g=1/0,v;r=o;do n>=r.x&&r.x>=f&&n!==r.x&&wd(i<p?n:a,i,f,p,i<p?a:n,i,r.x,r.y)&&(v=Math.abs(i-r.y)/(n-r.x),Uv(r,e)&&(v<g||v===g&&(r.x>o.x||r.x===o.x&&bue(o,r)))&&(o=r,g=v)),r=r.next;while(r!==l);return o}function bue(e,t){return Bn(e.prev,e,t.prev)<0&&Bn(t.next,e,e.next)<0}function xue(e,t,r,n){var i=e;do i.z===null&&(i.z=w2(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,wue(i)}function wue(e){var t,r,n,i,a,o,u,l,f=1;do{for(r=e,e=null,a=null,o=0;r;){for(o++,n=r,u=0,t=0;t<f&&(u++,n=n.nextZ,!!n);t++);for(l=f;u>0||l>0&&n;)u!==0&&(l===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,u--):(i=n,n=n.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;r=n}a.nextZ=null,f*=2}while(o>1);return e}function w2(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 _ue(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 wd(e,t,r,n,i,a,o,u){return(i-o)*(t-u)-(e-o)*(a-u)>=0&&(e-o)*(n-u)-(r-o)*(t-u)>=0&&(r-o)*(a-u)-(i-o)*(n-u)>=0}function Sue(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!Eue(e,t)&&(Uv(e,t)&&Uv(t,e)&&Cue(e,t)&&(Bn(e.prev,e,t.prev)||Bn(e,t.prev,t))||H1(e,t)&&Bn(e.prev,e,e.next)>0&&Bn(t.prev,t,t.next)>0)}function Bn(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function H1(e,t){return e.x===t.x&&e.y===t.y}function UB(e,t,r,n){var i=Lm(Bn(e,t,r)),a=Lm(Bn(e,t,n)),o=Lm(Bn(r,n,e)),u=Lm(Bn(r,n,t));return!!(i!==a&&o!==u||i===0&&Fm(e,r,t)||a===0&&Fm(e,n,t)||o===0&&Fm(r,e,n)||u===0&&Fm(r,t,n))}function Fm(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 Lm(e){return e>0?1:e<0?-1:0}function Eue(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&&UB(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function Uv(e,t){return Bn(e.prev,e,e.next)<0?Bn(e,t,e.next)>=0&&Bn(e,e.prev,t)>=0:Bn(e,t,e.prev)<0||Bn(e,e.next,t)<0}function Cue(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 WB(e,t){var r=new _2(e.i,e.x,e.y),n=new _2(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 oP(e,t,r,n){var i=new _2(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 Wv(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 _2(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}G1.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(S2(e,0,a,r));if(i)for(var u=0,l=t.length;u<l;u++){var f=t[u]*r,p=u<l-1?t[u+1]*r:e.length;o-=Math.abs(S2(e,f,p,r))}var g=0;for(u=0;u<n.length;u+=3){var v=n[u]*r,y=n[u+1]*r,C=n[u+2]*r;g+=Math.abs((e[v]-e[C])*(e[y+1]-e[v+1])-(e[v]-e[y])*(e[C+1]-e[v+1]))}return o===0&&g===0?0:Math.abs((g-o)/o)};function S2(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}G1.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 Aue=wg,Tue=Oue;function Oue(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=Aue(e,t));for(var n=0;n<t;n++){var i=r[t+n],a=r[n],o=n,u=e.length;if(i===1/0&&a===-1/0)for(o=n;o<u;o+=t)e[o]=e[o]===i?1:e[o]===a?0:.5;else if(i===1/0)for(o=n;o<u;o+=t)e[o]=e[o]===i?1:0;else if(a===-1/0)for(o=n;o<u;o+=t)e[o]=e[o]===a?0:1;else{var l=i-a;for(o=n;o<u;o+=t)isNaN(e[o])||(e[o]=l===0?.5:(e[o]-a)/l)}}return e}var Rue=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")},Hw,uP;function qB(){if(uP)return Hw;uP=1;var e=Object.create,t=Object.getPrototypeOf,r={};return Hw=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},Hw}var Vw,sP;function Iue(){if(sP)return Vw;sP=1;var e=Object.create,t;return qB()()||(t=GB()),Vw=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)})}(),Vw}var Yw,lP;function GB(){if(lP)return Yw;lP=1;var e=kE,t=Ko,r=Object.prototype.isPrototypeOf,n=Object.defineProperty,i={configurable:!0,enumerable:!1,writable:!0,value:void 0},a;return a=function(o,u){if(t(o),u===null||e(u))return o;throw new TypeError("Prototype must be null or an object")},Yw=function(o){var u,l;return o?(o.level===2?o.set?(l=o.set,u=function(f,p){return l.call(a(f,p),p),f}):u=function(f,p){return a(f,p).__proto__=p,f}:u=function f(p,g){var v;return a(p,g),v=r.call(f.nullPolyfill,p),v&&delete f.nullPolyfill.__proto__,g===null&&(g=f.nullPolyfill),p.__proto__=g,v&&n(f.nullPolyfill,"__proto__",i),p},Object.defineProperty(u,"level",{configurable:!1,enumerable:!1,writable:!1,value:o.level})):null}(function(){var o=Object.create(null),u={},l,f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(f){try{l=f.set,l.call(o,u)}catch{}if(Object.getPrototypeOf(o)===u)return{set:l,level:2}}return o.__proto__=u,Object.getPrototypeOf(o)===u?{level:2}:(o={},o.__proto__=u,Object.getPrototypeOf(o)===u?{level:1}:!1)}()),Iue(),Yw}var Xw,fP;function TA(){return fP||(fP=1,Xw=qB()()?Object.setPrototypeOf:GB()),Xw}var Qw,cP;function Pue(){if(cP)return Qw;cP=1;var e=kE;return Qw=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},Qw}var Kw,dP;function kue(){if(dP)return Kw;dP=1;var e=Object.create(null),t=Math.random;return Kw=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},Kw}var Zw={exports:{}},Jw,pP;function Due(){if(pP)return Jw;pP=1;var e=Ko;return Jw=function(){return e(this).length=0,this},Jw}var e_,hP;function Mue(){if(hP)return e_;hP=1;var e=dp,t=DE,r=Object.prototype.toString;return e_=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}},e_}var t_,vP;function Nue(){return vP||(vP=1,t_=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),t_}var r_,gP;function Fue(){if(gP)return r_;gP=1;var e=Nue(),t=/[\n\r\u2028\u2029]/g;return r_=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`
1129
- `:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),n)},r_}var n_,mP;function HB(){if(mP)return n_;mP=1;var e=dp,t=DE,r=Mue(),n=Fue(),i=function(a,o){return a.replace("%v",n(o))};return n_=function(a,o,u){if(!t(u))throw new TypeError(i(o,a));if(!e(a)){if("default"in u)return u.default;if(u.isOptional)return null}var l=r(u.errorMessage);throw e(l)||(l=o),new TypeError(i(l,a))},n_}var i_,yP;function Lue(){if(yP)return i_;yP=1;var e=HB(),t=dp;return i_=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},i_}var a_,bP;function Bue(){if(bP)return a_;bP=1;var e=HB(),t=dM;return a_=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},a_}var o_,xP;function $ue(){if(xP)return o_;xP=1;var e=e1(),t=Qy,r=Ko;return o_=function(n){var i=Object(r(n)),a=arguments[1],o=Object(arguments[2]);if(i!==n&&!a)return i;var u={};return a?e(a,function(l){(o.ensure||l in n)&&(u[l]=n[l])}):t(u,n),u},o_}var u_,wP;function zue(){if(wP)return u_;wP=1;var e=dp,t=Lue(),r=Bue(),n=$ue(),i=PE,a=NE(),o=Function.prototype.bind,u=Object.defineProperty,l=Object.prototype.hasOwnProperty,f;return f=function(p,g,v){var y=t(g)&&r(g.value),C;return C=n(g),delete C.writable,delete C.value,C.get=function(){return!v.overwriteDefinition&&l.call(this,p)?y:(g.value=o.call(y,v.resolveContext?v.resolveContext(this):this),u(this,p,g),this[p])},C},u_=function(p){var g=i(arguments[1]);return e(g.resolveContext)&&r(g.resolveContext),a(p,function(v,y){return f(y,v,g)})},u_}var s_,_P;function VB(){if(_P)return s_;_P=1;var e=Due(),t=Qy,r=Fu,n=Ko,i=Ro.exports,a=zue(),o=fc(),u=Object.defineProperty,l=Object.defineProperties,f;return s_=f=function(p,g){if(!(this instanceof f))throw new TypeError("Constructor requires 'new'");l(this,{__list__:i("w",n(p)),__context__:i("w",g),__nextIndex__:i("w",0)}),g&&(r(g.on),g.on("_add",this._onAdd),g.on("_delete",this._onDelete),g.on("_clear",this._onClear))},delete f.prototype.constructor,l(f.prototype,t({_next:i(function(){var p;if(!!this.__list__){if(this.__redo__&&(p=this.__redo__.shift(),p!==void 0))return p;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:i(function(){return this._createResult(this._next())}),_createResult:i(function(p){return p===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(p)}}),_resolve:i(function(p){return this.__list__[p]}),_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(p){if(!(p>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){u(this,"__redo__",i("c",[p]));return}this.__redo__.forEach(function(g,v){g>=p&&(this.__redo__[v]=++g)},this),this.__redo__.push(p)}}),_onDelete:i(function(p){var g;p>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(g=this.__redo__.indexOf(p),g!==-1&&this.__redo__.splice(g,1),this.__redo__.forEach(function(v,y){v>p&&(this.__redo__[y]=--v)},this)))}),_onClear:i(function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0})}))),u(f.prototype,o.iterator,i(function(){return this})),s_}var SP;function jue(){if(SP)return Zw.exports;SP=1;var e=TA(),t=pM,r=Ro.exports,n=fc(),i=VB(),a=Object.defineProperty,o;return o=Zw.exports=function(u,l){if(!(this instanceof o))throw new TypeError("Constructor requires 'new'");i.call(this,u),l?t.call(l,"key+value")?l="key+value":t.call(l,"key")?l="key":l="value":l="value",a(this,"__kind__",r("",l))},e&&e(o,i),delete o.prototype.constructor,o.prototype=Object.create(i.prototype,{_resolve:r(function(u){return this.__kind__==="value"?this.__list__[u]:this.__kind__==="key+value"?[u,this.__list__[u]]:u})}),a(o.prototype,n.toStringTag,r("c","Array Iterator")),Zw.exports}var l_={exports:{}},EP;function Uue(){if(EP)return l_.exports;EP=1;var e=TA(),t=Ro.exports,r=fc(),n=VB(),i=Object.defineProperty,a;return a=l_.exports=function(o){if(!(this instanceof a))throw new TypeError("Constructor requires 'new'");o=String(o),n.call(this,o),i(this,"__length__",t("",o.length))},e&&e(a,n),delete a.prototype.constructor,a.prototype=Object.create(n.prototype,{_next:t(function(){if(!!this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:t(function(o){var u=this.__list__[o],l;return this.__nextIndex__===this.__length__?u:(l=u.charCodeAt(0),l>=55296&&l<=56319?u+this.__list__[this.__nextIndex__++]:u)})}),i(a.prototype,r.toStringTag,t("c","String Iterator")),l_.exports}var f_,CP;function Wue(){if(CP)return f_;CP=1;var e=Zy(),t=_s,r=Jy(),n=fc().iterator,i=Array.isArray;return f_=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},f_}var c_,AP;function que(){if(AP)return c_;AP=1;var e=Wue();return c_=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},c_}var d_,TP;function YB(){if(TP)return d_;TP=1;var e=Zy(),t=Jy(),r=jue(),n=Uue(),i=que(),a=fc().iterator;return d_=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},d_}var p_,OP;function Gue(){if(OP)return p_;OP=1;var e=Zy(),t=Fu,r=Jy(),n=YB(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return p_=function(u,l){var f,p=arguments[2],g,v,y,C,O,S,w;if(i(u)||e(u)?f="array":r(u)?f="string":u=n(u),t(l),v=function(){y=!0},f==="array"){o.call(u,function(A){return a.call(l,p,A,v),y});return}if(f==="string"){for(O=u.length,C=0;C<O&&(S=u[C],C+1<O&&(w=S.charCodeAt(0),w>=55296&&w<=56319&&(S+=u[++C])),a.call(l,p,S,v),!y);++C);return}for(g=u.next();!g.done;){if(a.call(l,p,g.value,v),y)return;g=u.next()}},p_}var h_,RP;function Hue(){return RP||(RP=1,h_=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),h_}var v_,IP;function Vue(){if(IP)return v_;IP=1;var e=_s,t=TA(),r=Pue(),n=Ko,i=kue(),a=Ro.exports,o=YB(),u=Gue(),l=fc().toStringTag,f=Hue(),p=Array.isArray,g=Object.defineProperty,v=Object.prototype.hasOwnProperty,y=Object.getPrototypeOf,C;return v_=C=function(){var O=arguments[0],S;if(!(this instanceof C))throw new TypeError("Constructor requires 'new'");return S=f&&t&&WeakMap!==C?t(new WeakMap,y(this)):this,e(O)&&(p(O)||(O=o(O))),g(S,"__weakMapData__",a("c","$weakMap$"+i())),O&&u(O,function(w){n(w),S.set(w[0],w[1])}),S},f&&(t&&t(C,WeakMap),C.prototype=Object.create(WeakMap.prototype,{constructor:a(C)})),Object.defineProperties(C.prototype,{delete:a(function(O){return v.call(r(O),this.__weakMapData__)?(delete O[this.__weakMapData__],!0):!1}),get:a(function(O){if(!!v.call(r(O),this.__weakMapData__))return O[this.__weakMapData__]}),has:a(function(O){return v.call(r(O),this.__weakMapData__)}),set:a(function(O,S){return g(r(O),this.__weakMapData__,a("c",S)),this}),toString:a(function(){return"[object WeakMap]"})}),g(C.prototype,l,a("c","WeakMap")),v_}var XB=Rue()?WeakMap:Vue(),Yue=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 Bm=W1,Xue=wg,E2=nc,nd=BB,Que=Hl,Kue=_g,PP=AA.exports,Zue=Tue,{float32:Jue,fract32:g_}=Ll.exports,ese=XB,kP=U1,tse=Yue;var _de=dn;function dn(e,t){if(!(this instanceof dn))return new dn(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=dn.shaders.has(e)?dn.shaders.get(e):dn.shaders.set(e,dn.createShaders(e)).get(e),this.update(t)}dn.dashMult=2;dn.maxPatternLength=256;dn.precisionThreshold=3e6;dn.maxPoints=1e4;dn.maxLines=2048;dn.shaders=new ese;dn.createShaders=function(e){let t=e.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),r={primitive:"triangle strip",instances:e.prop("count"),count:4,offset:0,uniforms:{miterMode:(o,u)=>u.join==="round"?2:1,miterLimit:e.prop("miterLimit"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),thickness:e.prop("thickness"),dashTexture:e.prop("dashTexture"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),dashLength:e.prop("dashLength"),viewport:(o,u)=>[u.viewport.x,u.viewport.y,o.viewportWidth,o.viewportHeight],depth:e.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(o,u)=>!u.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},n=e(E2({vert:nd("./rect-vert.glsl"),frag:nd("./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(E2({cull:{enable:!0,face:"back"},vert:nd("./miter-vert.glsl"),frag:nd("./miter-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aColor:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:e.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},r))}catch{i=n}return{fill:e({primitive:"triangle",elements:(o,u)=>u.triangles,offset:0,vert:nd("./fill-vert.glsl"),frag:nd("./fill-frag.glsl"),uniforms:{scale:e.prop("scale"),color:e.prop("fill"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),viewport:(o,u)=>[u.viewport.x,u.viewport.y,o.viewportWidth,o.viewportHeight]},attributes:{position:{buffer:e.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8}},blend:r.blend,depth:{enable:!1},scissor:r.scissor,stencil:r.stencil,viewport:r.viewport}),rect:n,miter:i}};dn.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};dn.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};dn.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>dn.precisionThreshold||t.scale[1]*t.viewport.height>dn.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=dn.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};dn.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=Que(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=E2({},dn.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<dn.maxLines&&(o.depth=2*(dn.maxLines-1-a%dn.maxLines)/dn.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?Bm(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=kP(i.viewport)),o.viewport||(o.viewport=kP([r.drawingBufferWidth,r.drawingBufferHeight])),i.close!=null&&(o.close=i.close),i.positions===null&&(i.positions=[]),i.positions){let f,p;if(i.positions.x&&i.positions.y){let C=i.positions.x,O=i.positions.y;p=o.count=Math.max(C.length,O.length),f=new Float64Array(p*2);for(let S=0;S<p;S++)f[S*2]=C[S],f[S*2+1]=O[S]}else f=Kue(i.positions,"float64"),p=o.count=Math.floor(f.length/2);let g=o.bounds=Xue(f,2);if(o.fill){let C=[],O={},S=0;for(let w=0,A=0,R=o.count;w<R;w++){let P=f[w*2],N=f[w*2+1];isNaN(P)||isNaN(N)||P==null||N==null?(P=f[S*2],N=f[S*2+1],O[w]=S):S=w,C[A++]=P,C[A++]=N}if(i.splitNull){o.count-1 in O||(O[o.count]=o.count-1);let w=Object.keys(O).map(Number).sort((N,m)=>N-m),A=[],R=0,P=o.hole!=null?o.hole[0]:null;if(P!=null){let N=tse(w,m=>m>=P);w=w.slice(0,N),w.push(P)}for(let N=0;N<w.length;N++){let m=C.slice(R*2,w[N]*2).concat(P?C.slice(P*2):[]),G=(o.hole||[]).map($=>$-P+(w[N]-R)),L=PP(m,G);L=L.map($=>$+R+($+R<w[N]?0:P-w[N])),A.push(...L),R=w[N]+1}for(let N=0,m=A.length;N<m;N++)O[A[N]]!=null&&(A[N]=O[A[N]]);o.triangles=A}else{let w=PP(C,o.hole||[]);for(let A=0,R=w.length;A<R;A++)O[w[A]]!=null&&(w[A]=O[w[A]]);o.triangles=w}}let v=new Float64Array(f);Zue(v,2,g);let y=new Float64Array(p*2+6);o.close?f[0]===f[p*2-2]&&f[1]===f[p*2-1]?(y[0]=v[p*2-4],y[1]=v[p*2-3]):(y[0]=v[p*2-2],y[1]=v[p*2-1]):(y[0]=v[0],y[1]=v[1]),y.set(v,2),o.close?f[0]===f[p*2-2]&&f[1]===f[p*2-1]?(y[p*2+2]=v[2],y[p*2+3]=v[3],o.count-=1):(y[p*2+2]=v[0],y[p*2+3]=v[1],y[p*2+4]=v[2],y[p*2+5]=v[3]):(y[p*2+2]=v[p*2-2],y[p*2+3]=v[p*2-1],y[p*2+4]=v[p*2-2],y[p*2+5]=v[p*2-1]);var u=Jue(y);o.positionBuffer(u);var l=g_(y,u);o.positionFractBuffer(l)}if(i.range?o.range=i.range:o.range||(o.range=o.bounds),(i.range||i.positions)&&o.count){let f=o.bounds,p=f[2]-f[0],g=f[3]-f[1],v=o.range[2]-o.range[0],y=o.range[3]-o.range[1];o.scale=[p/v,g/y],o.translate=[-o.range[0]/v+f[0]/v||0,-o.range[1]/y+f[1]/y||0],o.scaleFract=g_(o.scale),o.translateFract=g_(o.translate)}if(i.dashes){let f=0,p;if(!i.dashes||i.dashes.length<2)f=1,p=new Uint8Array([255,255,255,255,255,255,255,255]);else{f=0;for(let y=0;y<i.dashes.length;++y)f+=i.dashes[y];p=new Uint8Array(f*dn.dashMult);let g=0,v=255;for(let y=0;y<2;y++)for(let C=0;C<i.dashes.length;++C){for(let O=0,S=i.dashes[C]*dn.dashMult*.5;O<S;++O)p[g++]=v;v^=255}}o.dashLength=f,o.dashTexture({channels:1,data:p,width:p.length,height:1,mag:"linear",min:"linear"},0,0)}if(i.color){let f=o.count,p=i.color;p||(p="transparent");let g=new Uint8Array(f*4+4);if(!Array.isArray(p)||typeof p[0]=="number"){let v=Bm(p,"uint8");for(let y=0;y<f+1;y++)g.set(v,y*4)}else{for(let v=0;v<f;v++){let y=Bm(p[v],"uint8");g.set(y,v*4)}g.set(Bm(p[0],"uint8"),f*4)}o.colorBuffer({usage:"dynamic",type:"uint8",data:g})}}}),e.length<this.passes.length){for(let i=e.length;i<this.passes.length;i++){let a=this.passes[i];!a||(a.colorBuffer.destroy(),a.positionBuffer.destroy(),a.dashTexture.destroy())}this.passes.length=e.length}let n=[];for(let i=0;i<this.passes.length;i++)this.passes[i]!==null&&n.push(this.passes[i]);return this.passes=n,this};dn.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const rse=wg,nse=W1,ise=$B,ase=Hl,DP=nc,MP=_g,{float32:ose,fract32:m_}=Ll.exports;var Sde=use;const NP=[[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 use(e,t){if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let r=e._gl,n,i,a,o,u,l,f={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},p=[];return o=e.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),i=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),a=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),u=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=e.buffer({usage:"static",type:"float",data:NP}),C(t),n=e({vert:`
1130
- precision highp float;
1131
-
1132
- attribute vec2 position, positionFract;
1133
- attribute vec4 error;
1134
- attribute vec4 color;
1135
-
1136
- attribute vec2 direction, lineOffset, capOffset;
1137
-
1138
- uniform vec4 viewport;
1139
- uniform float lineWidth, capSize;
1140
- uniform vec2 scale, scaleFract, translate, translateFract;
1141
-
1142
- varying vec4 fragColor;
1143
-
1144
- void main() {
1145
- fragColor = color / 255.;
1146
-
1147
- vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
1148
-
1149
- vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
1150
-
1151
- vec2 position = position + dxy;
1152
-
1153
- vec2 pos = (position + translate) * scale
1154
- + (positionFract + translateFract) * scale
1155
- + (position + translate) * scaleFract
1156
- + (positionFract + translateFract) * scaleFract;
1157
-
1158
- pos += pixelOffset / viewport.zw;
1159
-
1160
- gl_Position = vec4(pos * 2. - 1., 0, 1);
1161
- }
1162
- `,frag:`
1163
- precision highp float;
1164
-
1165
- varying vec4 fragColor;
1166
-
1167
- uniform float opacity;
1168
-
1169
- void main() {
1170
- gl_FragColor = fragColor;
1171
- gl_FragColor.a *= opacity;
1172
- }
1173
- `,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:(S,w)=>[w.viewport.x,w.viewport.y,S.viewportWidth,S.viewportHeight]},attributes:{color:{buffer:o,offset:(S,w)=>w.offset*4,divisor:1},position:{buffer:i,offset:(S,w)=>w.offset*8,divisor:1},positionFract:{buffer:a,offset:(S,w)=>w.offset*8,divisor:1},error:{buffer:u,offset:(S,w)=>w.offset*16,divisor:1},direction:{buffer:l,stride:24,offset:0},lineOffset:{buffer:l,stride:24,offset:8},capOffset:{buffer:l,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:NP.length}),DP(g,{update:C,draw:v,destroy:O,regl:e,gl:r,canvas:r.canvas,groups:p}),g;function g(S){S?C(S):S===null&&O(),v()}function v(S){if(typeof S=="number")return y(S);S&&!Array.isArray(S)&&(S=[S]),e._refresh(),p.forEach((w,A)=>{if(!!w){if(S&&(S[A]?w.draw=!0:w.draw=!1),!w.draw){w.draw=!0;return}y(A)}})}function y(S){typeof S=="number"&&(S=p[S]),S!=null&&(!(S&&S.count&&S.color&&S.opacity&&S.positions&&S.positions.length>1)||(S.scaleRatio=[S.scale[0]*S.viewport.width,S.scale[1]*S.viewport.height],n(S),S.after&&S.after(S)))}function C(S){if(!S)return;S.length!=null?typeof S[0]=="number"&&(S=[{positions:S}]):Array.isArray(S)||(S=[S]);let w=0,A=0;if(g.groups=p=S.map((N,m)=>{let G=p[m];if(N)typeof N=="function"?N={after:N}:typeof N[0]=="number"&&(N={positions:N});else return G;return N=ase(N,{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"}),G||(p[m]=G={id:m,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},N=DP({},f,N)),ise(G,N,[{lineWidth:L=>+L*.5,capSize:L=>+L*.5,opacity:parseFloat,errors:L=>(L=MP(L),A+=L.length,L),positions:(L,$)=>(L=MP(L,"float64"),$.count=Math.floor(L.length/2),$.bounds=rse(L,2),$.offset=w,w+=$.count,L)},{color:(L,$)=>{let ae=$.count;if(L||(L="transparent"),!Array.isArray(L)||typeof L[0]=="number"){let be=L;L=Array(ae);for(let Pe=0;Pe<ae;Pe++)L[Pe]=be}if(L.length<ae)throw Error("Not enough colors");let ve=new Uint8Array(ae*4);for(let be=0;be<ae;be++){let Pe=nse(L[be],"uint8");ve.set(Pe,be*4)}return ve},range:(L,$,ae)=>{let ve=$.bounds;return L||(L=ve),$.scale=[1/(L[2]-L[0]),1/(L[3]-L[1])],$.translate=[-L[0],-L[1]],$.scaleFract=m_($.scale),$.translateFract=m_($.translate),L},viewport:L=>{let $;return Array.isArray(L)?$={x:L[0],y:L[1],width:L[2]-L[0],height:L[3]-L[1]}:L?($={x:L.x||L.left||0,y:L.y||L.top||0},L.right?$.width=L.right-$.x:$.width=L.w||L.width||0,L.bottom?$.height=L.bottom-$.y:$.height=L.h||L.height||0):$={x:0,y:0,width:r.drawingBufferWidth,height:r.drawingBufferHeight},$}}]),G}),w||A){let N=p.reduce(($,ae,ve)=>$+(ae?ae.count:0),0),m=new Float64Array(N*2),G=new Uint8Array(N*4),L=new Float32Array(N*4);p.forEach(($,ae)=>{if(!$)return;let{positions:ve,count:be,offset:Pe,color:Fe,errors:dt}=$;!be||(G.set(Fe,Pe*4),L.set(dt,Pe*4),m.set(ve,Pe*2))});var R=ose(m);i(R);var P=m_(m,R);a(P),o(G),u(L)}}function O(){i.destroy(),a.destroy(),o.destroy(),u.destroy(),l.destroy()}}var FP=/[\'\"]/,sse=function(t){return t?(FP.test(t.charAt(0))&&(t=t.substr(1)),FP.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const QB=["inherit","initial","unset"],KB=["caption","icon","menu","message-box","small-caption","status-bar"],ZB=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],JB=["normal","italic","oblique"],e6=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function t6(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(l){var f=new RegExp(["\\",l[0],"[^\\",l[0],"\\",l[1],"]*\\",l[1]].join("")),p=[];function g(v,y,C){var O=r.push(v.slice(l[0].length,-l[1].length))-1;return p.push(O),i+O+i}r.forEach(function(v,y){for(var C,O=0;v!=C;)if(C=v,v=v.replace(f,g),O++>1e4)throw Error("References have circular dependency. Please, check them.");r[y]=v}),p=p.reverse(),r=r.map(function(v){return p.forEach(function(y){v=v.replace(new RegExp("(\\"+i+y+"\\"+i+")","g"),l[0]+"$1"+l[1])}),v})});var o=new RegExp("\\"+i+"([0-9]+)\\"+i);function u(l,f,p){for(var g=[],v,y=0;v=o.exec(l);){if(y++>1e4)throw Error("Circular references in parenthesis");g.push(l.slice(0,v.index)),g.push(u(f[v[1]],f)),l=l.slice(v.index+v[0].length)}return g.push(l),g}return a?r:u(r[0],r)}function r6(e,t){if(t&&t.flat){var r=t&&t.escape||"___",n=e[0],i;if(!n)return"";for(var a=new RegExp("\\"+r+"([0-9]+)\\"+r),o=0;n!=i;){if(o++>1e4)throw Error("Circular references in "+e);i=n,n=n.replace(a,u)}return n}return e.reduce(function l(f,p){return Array.isArray(p)&&(p=p.reduce(l,"")),f+p},"");function u(l,f){if(e[f]==null)throw Error("Reference "+f+"is undefined");return e[f]}}function OA(e,t){return Array.isArray(e)?r6(e,t):t6(e,t)}OA.parse=t6;OA.stringify=r6;var lse=OA,LP=lse,fse=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(g){return g.length===1&&(g=g+g),g}));var i=LP.parse(t,{flat:!0,brackets:n.ignore}),a=i[0],o=a.split(r);if(n.escape){for(var u=[],l=0;l<o.length;l++){var f=o[l],p=o[l+1];f[f.length-1]==="\\"&&f[f.length-2]!=="\\"?(u.push(f+r+p),l++):u.push(f)}o=u}for(var l=0;l<o.length;l++)i[0]=o[l],o[l]=LP.stringify(i,{flat:!0});return o};const cse=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var dse=cse,n6={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||dse.indexOf(t)!==-1}},pse=sse,hse=QB,vse=KB,gse=ZB,mse=JB,yse=e6,y_=fse,bse=n6.isSize,xse=i6,Rh=i6.cache={};function i6(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(Rh[e])return Rh[e];if(e==="")throw new Error("Cannot parse an empty string.");if(vse.indexOf(e)!==-1)return Rh[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=y_(e,/\s+/),n;n=r.shift();){if(hse.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),Rh[e]=t;if(mse.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(yse.indexOf(n)!==-1){t.stretch=n;continue}if(gse.indexOf(n)!==-1){t.weight=n;continue}if(bse(n)){var i=y_(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=BP(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=BP(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=y_(r.join(" "),/\s*,\s*/).map(pse),Rh[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function BP(e){var t=parseFloat(e);return t.toString()===e?t:e}var wse=Hl,_se=n6.isSize,Sse=Sg(QB),Ese=Sg(KB),Cse=Sg(ZB),Ase=Sg(JB),Tse=Sg(e6),Ose={normal:1,"small-caps":1},Rse={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},b_={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},a6=function(t){if(t=wse(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&&Ih(t.system,Ese),t.system;if(Ih(t.style,Ase),Ih(t.variant,Ose),Ih(t.weight,Cse),Ih(t.stretch,Tse),t.size==null&&(t.size=b_.size),typeof t.size=="number"&&(t.size+="px"),!_se)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=b_.family),Array.isArray(t.family)&&(t.family.length||(t.family=[b_.family]),t.family=t.family.map(function(n){return Rse[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 Ih(e,t){if(e&&!t[e]&&!Sse[e])throw Error("Unknown keyword `"+e+"`");return e}function Sg(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var Ise={parse:xse,stringify:a6},o6={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(en,function(){var r=function(F,Z){for(var ie=Object.keys(Z),We=0;We<ie.length;++We)F[ie[We]]=Z[ie[We]];return F},n=0,i=0,a=5,o=6;function u(F,Z){this.id=n++,this.type=F,this.data=Z}function l(F){return F.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function f(F){if(F.length===0)return[];var Z=F.charAt(0),ie=F.charAt(F.length-1);if(F.length>1&&Z===ie&&(Z==='"'||Z==="'"))return['"'+l(F.substr(1,F.length-2))+'"'];var We=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(F);if(We)return f(F.substr(0,We.index)).concat(f(We[1])).concat(f(F.substr(We.index+We[0].length)));var Xe=F.split(".");if(Xe.length===1)return['"'+l(F)+'"'];for(var $e=[],je=0;je<Xe.length;++je)$e=$e.concat(f(Xe[je]));return $e}function p(F){return"["+f(F).join("][")+"]"}function g(F,Z){return new u(F,p(Z+""))}function v(F){return typeof F=="function"&&!F._reglType||F instanceof u}function y(F,Z){if(typeof F=="function")return new u(i,F);if(typeof F=="number"||typeof F=="boolean")return new u(a,F);if(Array.isArray(F))return new u(o,F.map(function(ie,We){return y(ie)}));if(F instanceof u)return F}var C={DynamicVariable:u,define:g,isDynamic:v,unbox:y,accessor:p},O={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},S=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date};function w(){var F={"":0},Z=[""];return{id:function(ie){var We=F[ie];return We||(We=F[ie]=Z.length,Z.push(ie),We)},str:function(ie){return Z[ie]}}}function A(F,Z,ie){var We=document.createElement("canvas");r(We.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),F.appendChild(We),F===document.body&&(We.style.position="absolute",r(F.style,{margin:0,padding:0}));function Xe(){var gt=window.innerWidth,mt=window.innerHeight;if(F!==document.body){var St=We.getBoundingClientRect();gt=St.right-St.left,mt=St.bottom-St.top}We.width=ie*gt,We.height=ie*mt}var $e;F!==document.body&&typeof ResizeObserver=="function"?($e=new ResizeObserver(function(){setTimeout(Xe)}),$e.observe(F)):window.addEventListener("resize",Xe,!1);function je(){$e?$e.disconnect():window.removeEventListener("resize",Xe),F.removeChild(We)}return Xe(),{canvas:We,onDestroy:je}}function R(F,Z){function ie(We){try{return F.getContext(We,Z)}catch{return null}}return ie("webgl")||ie("experimental-webgl")||ie("webgl-experimental")}function P(F){return typeof F.nodeName=="string"&&typeof F.appendChild=="function"&&typeof F.getBoundingClientRect=="function"}function N(F){return typeof F.drawArrays=="function"||typeof F.drawElements=="function"}function m(F){return typeof F=="string"?F.split():F}function G(F){return typeof F=="string"?document.querySelector(F):F}function L(F){var Z=F||{},ie,We,Xe,$e,je={},gt=[],mt=[],St=typeof window>"u"?1:window.devicePixelRatio,kt=!1,tr={},Vt=function(Ee){},Tt=function(){};if(typeof Z=="string"?ie=document.querySelector(Z):typeof Z=="object"&&(P(Z)?ie=Z:N(Z)?($e=Z,Xe=$e.canvas):("gl"in Z?$e=Z.gl:"canvas"in Z?Xe=G(Z.canvas):"container"in Z&&(We=G(Z.container)),"attributes"in Z&&(je=Z.attributes),"extensions"in Z&&(gt=m(Z.extensions)),"optionalExtensions"in Z&&(mt=m(Z.optionalExtensions)),"onDone"in Z&&(Vt=Z.onDone),"profile"in Z&&(kt=!!Z.profile),"pixelRatio"in Z&&(St=+Z.pixelRatio),"cachedCode"in Z&&(tr=Z.cachedCode))),ie&&(ie.nodeName.toLowerCase()==="canvas"?Xe=ie:We=ie),!$e){if(!Xe){var ct=A(We||document.body,Vt,St);if(!ct)return null;Xe=ct.canvas,Tt=ct.onDestroy}je.premultipliedAlpha===void 0&&(je.premultipliedAlpha=!0),$e=R(Xe,je)}return $e?{gl:$e,canvas:Xe,container:We,extensions:gt,optionalExtensions:mt,pixelRatio:St,profile:kt,cachedCode:tr,onDone:Vt,onDestroy:Tt}:(Tt(),Vt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function $(F,Z){var ie={};function We(je){var gt=je.toLowerCase(),mt;try{mt=ie[gt]=F.getExtension(gt)}catch{}return!!mt}for(var Xe=0;Xe<Z.extensions.length;++Xe){var $e=Z.extensions[Xe];if(!We($e))return Z.onDestroy(),Z.onDone('"'+$e+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return Z.optionalExtensions.forEach(We),{extensions:ie,restore:function(){Object.keys(ie).forEach(function(je){if(ie[je]&&!We(je))throw new Error("(regl): error restoring extension "+je)})}}}function ae(F,Z){for(var ie=Array(F),We=0;We<F;++We)ie[We]=Z(We);return ie}var ve=5120,be=5121,Pe=5122,Fe=5123,dt=5124,Je=5125,Te=5126;function Ye(F){for(var Z=16;Z<=1<<28;Z*=16)if(F<=Z)return Z;return 0}function nt(F){var Z,ie;return Z=(F>65535)<<4,F>>>=Z,ie=(F>255)<<3,F>>>=ie,Z|=ie,ie=(F>15)<<2,F>>>=ie,Z|=ie,ie=(F>3)<<1,F>>>=ie,Z|=ie,Z|F>>1}function pt(){var F=ae(8,function(){return[]});function Z($e){var je=Ye($e),gt=F[nt(je)>>2];return gt.length>0?gt.pop():new ArrayBuffer(je)}function ie($e){F[nt($e.byteLength)>>2].push($e)}function We($e,je){var gt=null;switch($e){case ve:gt=new Int8Array(Z(je),0,je);break;case be:gt=new Uint8Array(Z(je),0,je);break;case Pe:gt=new Int16Array(Z(2*je),0,je);break;case Fe:gt=new Uint16Array(Z(2*je),0,je);break;case dt:gt=new Int32Array(Z(4*je),0,je);break;case Je:gt=new Uint32Array(Z(4*je),0,je);break;case Te:gt=new Float32Array(Z(4*je),0,je);break;default:return null}return gt.length!==je?gt.subarray(0,je):gt}function Xe($e){ie($e.buffer)}return{alloc:Z,free:ie,allocType:We,freeType:Xe}}var Ie=pt();Ie.zero=pt();var Re=3408,ot=3410,et=3411,ft=3412,At=3413,Gt=3414,Xt=3415,Me=33901,yt=33902,Nt=3379,Ne=3386,H=34921,oe=36347,K=36348,ge=35661,xt=35660,It=34930,mr=36349,Fr=34076,zr=34024,on=7936,rn=7937,Zr=7938,hn=35724,Mi=34047,Ni=36063,eo=34852,ia=3553,Kn=34067,to=34069,yi=33984,Pa=6408,Bu=5126,$u=5121,ni=36160,bi=36053,ka=36064,_p=16384,zu=function(F,Z){var ie=1;Z.ext_texture_filter_anisotropic&&(ie=F.getParameter(Mi));var We=1,Xe=1;Z.webgl_draw_buffers&&(We=F.getParameter(eo),Xe=F.getParameter(Ni));var $e=!!Z.oes_texture_float;if($e){var je=F.createTexture();F.bindTexture(ia,je),F.texImage2D(ia,0,Pa,1,1,0,Pa,Bu,null);var gt=F.createFramebuffer();if(F.bindFramebuffer(ni,gt),F.framebufferTexture2D(ni,ka,ia,je,0),F.bindTexture(ia,null),F.checkFramebufferStatus(ni)!==bi)$e=!1;else{F.viewport(0,0,1,1),F.clearColor(1,0,0,1),F.clear(_p);var mt=Ie.allocType(Bu,4);F.readPixels(0,0,1,1,Pa,Bu,mt),F.getError()?$e=!1:(F.deleteFramebuffer(gt),F.deleteTexture(je),$e=mt[0]===1),Ie.freeType(mt)}}var St=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),kt=!0;if(!St){var tr=F.createTexture(),Vt=Ie.allocType($u,36);F.activeTexture(yi),F.bindTexture(Kn,tr),F.texImage2D(to,0,Pa,3,3,0,Pa,$u,Vt),Ie.freeType(Vt),F.bindTexture(Kn,null),F.deleteTexture(tr),kt=!F.getError()}return{colorBits:[F.getParameter(ot),F.getParameter(et),F.getParameter(ft),F.getParameter(At)],depthBits:F.getParameter(Gt),stencilBits:F.getParameter(Xt),subpixelBits:F.getParameter(Re),extensions:Object.keys(Z).filter(function(Tt){return!!Z[Tt]}),maxAnisotropic:ie,maxDrawbuffers:We,maxColorAttachments:Xe,pointSizeDims:F.getParameter(Me),lineWidthDims:F.getParameter(yt),maxViewportDims:F.getParameter(Ne),maxCombinedTextureUnits:F.getParameter(ge),maxCubeMapSize:F.getParameter(Fr),maxRenderbufferSize:F.getParameter(zr),maxTextureUnits:F.getParameter(It),maxTextureSize:F.getParameter(Nt),maxAttributes:F.getParameter(H),maxVertexUniforms:F.getParameter(oe),maxVertexTextureUnits:F.getParameter(xt),maxVaryingVectors:F.getParameter(K),maxFragmentUniforms:F.getParameter(mr),glsl:F.getParameter(hn),renderer:F.getParameter(rn),vendor:F.getParameter(on),version:F.getParameter(Zr),readFloat:$e,npotTextureCube:kt}},zn=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 Zn(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)||zn(F.data))}var jn=function(F){return Object.keys(F).map(function(Z){return F[Z]})},Lr={shape:xc,flatten:ma};function yc(F,Z,ie){for(var We=0;We<Z;++We)ie[We]=F[We]}function aa(F,Z,ie,We){for(var Xe=0,$e=0;$e<Z;++$e)for(var je=F[$e],gt=0;gt<ie;++gt)We[Xe++]=je[gt]}function Da(F,Z,ie,We,Xe,$e){for(var je=$e,gt=0;gt<Z;++gt)for(var mt=F[gt],St=0;St<ie;++St)for(var kt=mt[St],tr=0;tr<We;++tr)Xe[je++]=kt[tr]}function bc(F,Z,ie,We,Xe){for(var $e=1,je=ie+1;je<Z.length;++je)$e*=Z[je];var gt=Z[ie];if(Z.length-ie===4){var mt=Z[ie+1],St=Z[ie+2],kt=Z[ie+3];for(je=0;je<gt;++je)Da(F[je],mt,St,kt,We,Xe),Xe+=$e}else for(je=0;je<gt;++je)bc(F[je],Z,ie+1,We,Xe),Xe+=$e}function ma(F,Z,ie,We){var Xe=1;if(Z.length)for(var $e=0;$e<Z.length;++$e)Xe*=Z[$e];else Xe=0;var je=We||Ie.allocType(ie,Xe);switch(Z.length){case 0:break;case 1:yc(F,Z[0],je);break;case 2:aa(F,Z[0],Z[1],je);break;case 3:Da(F,Z[0],Z[1],Z[2],je,0);break;default:bc(F,Z,0,je,0)}return je}function xc(F){for(var Z=[],ie=F;ie.length;ie=ie[0])Z.push(ie.length);return Z}var tu={"[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},Sp=5120,wc=5122,_c=5124,Sc=5121,ru=5123,nu=5125,ju=5126,Uu=5126,iu={int8:Sp,int16:wc,int32:_c,uint8:Sc,uint16:ru,uint32:nu,float:ju,float32:Uu},Os=35048,Io=35040,Ma={dynamic:Os,stream:Io,static:35044},Fi=Lr.flatten,Wu=Lr.shape,qu=35044,oa=35040,Po=5121,Gu=5126,Nn=[];Nn[5120]=1,Nn[5122]=2,Nn[5124]=4,Nn[5121]=1,Nn[5123]=2,Nn[5125]=4,Nn[5126]=4;function ko(F){return tu[Object.prototype.toString.call(F)]|0}function Rs(F,Z){for(var ie=0;ie<Z.length;++ie)F[ie]=Z[ie]}function Is(F,Z,ie,We,Xe,$e,je){for(var gt=0,mt=0;mt<ie;++mt)for(var St=0;St<We;++St)F[gt++]=Z[Xe*mt+$e*St+je]}function Ps(F,Z,ie,We){var Xe=0,$e={};function je(Ee){this.id=Xe++,this.buffer=F.createBuffer(),this.type=Ee,this.usage=qu,this.byteLength=0,this.dimension=1,this.dtype=Po,this.persistentData=null,ie.profile&&(this.stats={size:0})}je.prototype.bind=function(){F.bindBuffer(this.type,this.buffer)},je.prototype.destroy=function(){Vt(this)};var gt=[];function mt(Ee,Ge){var vt=gt.pop();return vt||(vt=new je(Ee)),vt.bind(),tr(vt,Ge,oa,0,1,!1),vt}function St(Ee){gt.push(Ee)}function kt(Ee,Ge,vt){Ee.byteLength=Ge.byteLength,F.bufferData(Ee.type,Ge,vt)}function tr(Ee,Ge,vt,wt,rt,Lt){var Rt;if(Ee.usage=vt,Array.isArray(Ge)){if(Ee.dtype=wt||Gu,Ge.length>0){var rr;if(Array.isArray(Ge[0])){Rt=Wu(Ge);for(var it=1,Qe=1;Qe<Rt.length;++Qe)it*=Rt[Qe];Ee.dimension=it,rr=Fi(Ge,Rt,Ee.dtype),kt(Ee,rr,vt),Lt?Ee.persistentData=rr:Ie.freeType(rr)}else if(typeof Ge[0]=="number"){Ee.dimension=rt;var zt=Ie.allocType(Ee.dtype,Ge.length);Rs(zt,Ge),kt(Ee,zt,vt),Lt?Ee.persistentData=zt:Ie.freeType(zt)}else zn(Ge[0])&&(Ee.dimension=Ge[0].length,Ee.dtype=wt||ko(Ge[0])||Gu,rr=Fi(Ge,[Ge.length,Ge[0].length],Ee.dtype),kt(Ee,rr,vt),Lt?Ee.persistentData=rr:Ie.freeType(rr))}}else if(zn(Ge))Ee.dtype=wt||ko(Ge),Ee.dimension=rt,kt(Ee,Ge,vt),Lt&&(Ee.persistentData=new Uint8Array(new Uint8Array(Ge.buffer)));else if(Zn(Ge)){Rt=Ge.shape;var qe=Ge.stride,Dt=Ge.offset,_t=0,nr=0,Dr=0,Ut=0;Rt.length===1?(_t=Rt[0],nr=1,Dr=qe[0],Ut=0):Rt.length===2&&(_t=Rt[0],nr=Rt[1],Dr=qe[0],Ut=qe[1]),Ee.dtype=wt||ko(Ge.data)||Gu,Ee.dimension=nr;var dr=Ie.allocType(Ee.dtype,_t*nr);Is(dr,Ge.data,_t,nr,Dr,Ut,Dt),kt(Ee,dr,vt),Lt?Ee.persistentData=dr:Ie.freeType(dr)}else Ge instanceof ArrayBuffer&&(Ee.dtype=Po,Ee.dimension=rt,kt(Ee,Ge,vt),Lt&&(Ee.persistentData=new Uint8Array(new Uint8Array(Ge))))}function Vt(Ee){Z.bufferCount--,We(Ee);var Ge=Ee.buffer;F.deleteBuffer(Ge),Ee.buffer=null,delete $e[Ee.id]}function Tt(Ee,Ge,vt,wt){Z.bufferCount++;var rt=new je(Ge);$e[rt.id]=rt;function Lt(it){var Qe=qu,zt=null,qe=0,Dt=0,_t=1;return Array.isArray(it)||zn(it)||Zn(it)||it instanceof ArrayBuffer?zt=it:typeof it=="number"?qe=it|0:it&&("data"in it&&(zt=it.data),"usage"in it&&(Qe=Ma[it.usage]),"type"in it&&(Dt=iu[it.type]),"dimension"in it&&(_t=it.dimension|0),"length"in it&&(qe=it.length|0)),rt.bind(),zt?tr(rt,zt,Qe,Dt,_t,wt):(qe&&F.bufferData(rt.type,qe,Qe),rt.dtype=Dt||Po,rt.usage=Qe,rt.dimension=_t,rt.byteLength=qe),ie.profile&&(rt.stats.size=rt.byteLength*Nn[rt.dtype]),Lt}function Rt(it,Qe){F.bufferSubData(rt.type,Qe,it)}function rr(it,Qe){var zt=(Qe||0)|0,qe;if(rt.bind(),zn(it)||it instanceof ArrayBuffer)Rt(it,zt);else if(Array.isArray(it)){if(it.length>0){if(typeof it[0]=="number"){var Dt=Ie.allocType(rt.dtype,it.length);Rs(Dt,it),Rt(Dt,zt),Ie.freeType(Dt)}else if(Array.isArray(it[0])||zn(it[0])){qe=Wu(it);var _t=Fi(it,qe,rt.dtype);Rt(_t,zt),Ie.freeType(_t)}}}else if(Zn(it)){qe=it.shape;var nr=it.stride,Dr=0,Ut=0,dr=0,Pt=0;qe.length===1?(Dr=qe[0],Ut=1,dr=nr[0],Pt=0):qe.length===2&&(Dr=qe[0],Ut=qe[1],dr=nr[0],Pt=nr[1]);var Mr=Array.isArray(it.data)?rt.dtype:ko(it.data),Wr=Ie.allocType(Mr,Dr*Ut);Is(Wr,it.data,Dr,Ut,dr,Pt,it.offset),Rt(Wr,zt),Ie.freeType(Wr)}return Lt}return vt||Lt(Ee),Lt._reglType="buffer",Lt._buffer=rt,Lt.subdata=rr,ie.profile&&(Lt.stats=rt.stats),Lt.destroy=function(){Vt(rt)},Lt}function ct(){jn($e).forEach(function(Ee){Ee.buffer=F.createBuffer(),F.bindBuffer(Ee.type,Ee.buffer),F.bufferData(Ee.type,Ee.persistentData||Ee.byteLength,Ee.usage)})}return ie.profile&&(Z.getTotalBufferSize=function(){var Ee=0;return Object.keys($e).forEach(function(Ge){Ee+=$e[Ge].stats.size}),Ee}),{create:Tt,createStream:mt,destroyStream:St,clear:function(){jn($e).forEach(Vt),gt.forEach(Vt)},getBuffer:function(Ee){return Ee&&Ee._buffer instanceof je?Ee._buffer:null},restore:ct,_initBuffer:tr}}var ks=0,ii=0,Do=1,au=1,Yl=4,Xl=4,Fn={points:ks,point:ii,lines:Do,line:au,triangles:Yl,triangle:Xl,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},Ql=0,Mo=1,Na=4,ou=5120,No=5121,Li=5122,ro=5123,no=5124,io=5125,uu=34963,$r=35040,Fa=35044;function su(F,Z,ie,We){var Xe={},$e=0,je={uint8:No,uint16:ro};Z.oes_element_index_uint&&(je.uint32=io);function gt(ct){this.id=$e++,Xe[this.id]=this,this.buffer=ct,this.primType=Na,this.vertCount=0,this.type=0}gt.prototype.bind=function(){this.buffer.bind()};var mt=[];function St(ct){var Ee=mt.pop();return Ee||(Ee=new gt(ie.create(null,uu,!0,!1)._buffer)),tr(Ee,ct,$r,-1,-1,0,0),Ee}function kt(ct){mt.push(ct)}function tr(ct,Ee,Ge,vt,wt,rt,Lt){ct.buffer.bind();var Rt;if(Ee){var rr=Lt;!Lt&&(!zn(Ee)||Zn(Ee)&&!zn(Ee.data))&&(rr=Z.oes_element_index_uint?io:ro),ie._initBuffer(ct.buffer,Ee,Ge,rr,3)}else F.bufferData(uu,rt,Ge),ct.buffer.dtype=Rt||No,ct.buffer.usage=Ge,ct.buffer.dimension=3,ct.buffer.byteLength=rt;if(Rt=Lt,!Lt){switch(ct.buffer.dtype){case No:case ou:Rt=No;break;case ro:case Li:Rt=ro;break;case io:case no:Rt=io;break}ct.buffer.dtype=Rt}ct.type=Rt;var it=wt;it<0&&(it=ct.buffer.byteLength,Rt===ro?it>>=1:Rt===io&&(it>>=2)),ct.vertCount=it;var Qe=vt;if(vt<0){Qe=Na;var zt=ct.buffer.dimension;zt===1&&(Qe=Ql),zt===2&&(Qe=Mo),zt===3&&(Qe=Na)}ct.primType=Qe}function Vt(ct){We.elementsCount--,delete Xe[ct.id],ct.buffer.destroy(),ct.buffer=null}function Tt(ct,Ee){var Ge=ie.create(null,uu,!0),vt=new gt(Ge._buffer);We.elementsCount++;function wt(rt){if(!rt)Ge(),vt.primType=Na,vt.vertCount=0,vt.type=No;else if(typeof rt=="number")Ge(rt),vt.primType=Na,vt.vertCount=rt|0,vt.type=No;else{var Lt=null,Rt=Fa,rr=-1,it=-1,Qe=0,zt=0;Array.isArray(rt)||zn(rt)||Zn(rt)?Lt=rt:("data"in rt&&(Lt=rt.data),"usage"in rt&&(Rt=Ma[rt.usage]),"primitive"in rt&&(rr=Fn[rt.primitive]),"count"in rt&&(it=rt.count|0),"type"in rt&&(zt=je[rt.type]),"length"in rt?Qe=rt.length|0:(Qe=it,zt===ro||zt===Li?Qe*=2:(zt===io||zt===no)&&(Qe*=4))),tr(vt,Lt,Rt,rr,it,Qe,zt)}return wt}return wt(ct),wt._reglType="elements",wt._elements=vt,wt.subdata=function(rt,Lt){return Ge.subdata(rt,Lt),wt},wt.destroy=function(){Vt(vt)},wt}return{create:Tt,createStream:St,destroyStream:kt,getElements:function(ct){return typeof ct=="function"&&ct._elements instanceof gt?ct._elements:null},clear:function(){jn(Xe).forEach(Vt)}}}var Ec=new Float32Array(1),Cc=new Uint32Array(Ec.buffer),Hu=5123;function La(F){for(var Z=Ie.allocType(Hu,F.length),ie=0;ie<F.length;++ie)if(isNaN(F[ie]))Z[ie]=65535;else if(F[ie]===1/0)Z[ie]=31744;else if(F[ie]===-1/0)Z[ie]=64512;else{Ec[0]=F[ie];var We=Cc[0],Xe=We>>>31<<15,$e=(We<<1>>>24)-127,je=We>>13&(1<<10)-1;if($e<-24)Z[ie]=Xe;else if($e<-14){var gt=-14-$e;Z[ie]=Xe+(je+(1<<10)>>gt)}else $e>15?Z[ie]=Xe+31744:Z[ie]=Xe+($e+15<<10)+je}return Z}function Xi(F){return Array.isArray(F)||zn(F)}var lu=34467,ua=3553,Fo=34067,fu=34069,ao=6408,cu=6406,Ba=6407,$a=6409,Vu=6410,Ac=32854,du=32855,Ds=36194,Kl=32819,Zl=32820,oo=33635,uo=34042,ya=6402,pu=34041,hu=35904,za=35906,Lo=36193,Jl=33776,Ms=33777,ja=33778,Ns=33779,Fs=35986,ef=35987,Tc=34798,tf=35840,d=35841,x=35842,T=35843,k=36196,B=5121,z=5123,W=5125,le=5126,de=10242,Ce=10243,He=10497,ht=33071,Le=33648,Ke=10240,cr=10241,Sr=9728,sr=9729,Sn=9984,xn=9985,xi=9986,Hr=9987,Rr=33170,Gn=4352,Vr=4353,vn=4354,Ua=34046,Ls=3317,ai=37440,so=37441,oi=37443,Jn=37444,wi=33984,_i=[Sn,xi,xn,Hr],Hn=[0,$a,Vu,Ba,ao],ui={};ui[$a]=ui[cu]=ui[ya]=1,ui[pu]=ui[Vu]=2,ui[Ba]=ui[hu]=3,ui[ao]=ui[za]=4;function Bi(F){return"[object "+F+"]"}var Bs=Bi("HTMLCanvasElement"),Jr=Bi("OffscreenCanvas"),lo=Bi("CanvasRenderingContext2D"),$s=Bi("ImageBitmap"),Yu=Bi("HTMLImageElement"),Oc=Bi("HTMLVideoElement"),zs=Object.keys(tu).concat([Bs,Jr,lo,$s,Yu,Oc]),vu=[];vu[B]=1,vu[le]=4,vu[Lo]=2,vu[z]=2,vu[W]=4;var Ln=[];Ln[Ac]=2,Ln[du]=2,Ln[Ds]=2,Ln[pu]=4,Ln[Jl]=.5,Ln[Ms]=.5,Ln[ja]=1,Ln[Ns]=1,Ln[Fs]=.5,Ln[ef]=1,Ln[Tc]=1,Ln[tf]=.5,Ln[d]=.25,Ln[x]=.5,Ln[T]=.25,Ln[k]=.5;function Rc(F){return Array.isArray(F)&&(F.length===0||typeof F[0]=="number")}function Ic(F){if(!Array.isArray(F))return!1;var Z=F.length;return!(Z===0||!Xi(F[0]))}function Bo(F){return Object.prototype.toString.call(F)}function Xu(F){return Bo(F)===Bs}function Pc(F){return Bo(F)===Jr}function Ep(F){return Bo(F)===lo}function Cp(F){return Bo(F)===$s}function Qu(F){return Bo(F)===Yu}function Ap(F){return Bo(F)===Oc}function gu(F){if(!F)return!1;var Z=Bo(F);return zs.indexOf(Z)>=0?!0:Rc(F)||Ic(F)||Zn(F)}function sa(F){return tu[Object.prototype.toString.call(F)]|0}function ba(F,Z){var ie=Z.length;switch(F.type){case B:case z:case W:case le:var We=Ie.allocType(F.type,ie);We.set(Z),F.data=We;break;case Lo:F.data=La(Z);break}}function js(F,Z){return Ie.allocType(F.type===Lo?le:F.type,Z)}function rf(F,Z){F.type===Lo?(F.data=La(Z),Ie.freeType(Z)):F.data=Z}function kc(F,Z,ie,We,Xe,$e){for(var je=F.width,gt=F.height,mt=F.channels,St=je*gt*mt,kt=js(F,St),tr=0,Vt=0;Vt<gt;++Vt)for(var Tt=0;Tt<je;++Tt)for(var ct=0;ct<mt;++ct)kt[tr++]=Z[ie*Tt+We*Vt+Xe*ct+$e];rf(F,kt)}function Wa(F,Z,ie,We,Xe,$e){var je;if(typeof Ln[F]<"u"?je=Ln[F]:je=ui[F]*vu[Z],$e&&(je*=6),Xe){for(var gt=0,mt=ie;mt>=1;)gt+=je*mt*mt,mt/=2;return gt}else return je*ie*We}function ln(F,Z,ie,We,Xe,$e,je){var gt={"don't care":Gn,"dont care":Gn,nice:vn,fast:Vr},mt={repeat:He,clamp:ht,mirror:Le},St={nearest:Sr,linear:sr},kt=r({mipmap:Hr,"nearest mipmap nearest":Sn,"linear mipmap nearest":xn,"nearest mipmap linear":xi,"linear mipmap linear":Hr},St),tr={none:0,browser:Jn},Vt={uint8:B,rgba4:Kl,rgb565:oo,"rgb5 a1":Zl},Tt={alpha:cu,luminance:$a,"luminance alpha":Vu,rgb:Ba,rgba:ao,rgba4:Ac,"rgb5 a1":du,rgb565:Ds},ct={};Z.ext_srgb&&(Tt.srgb=hu,Tt.srgba=za),Z.oes_texture_float&&(Vt.float32=Vt.float=le),Z.oes_texture_half_float&&(Vt.float16=Vt["half float"]=Lo),Z.webgl_depth_texture&&(r(Tt,{depth:ya,"depth stencil":pu}),r(Vt,{uint16:z,uint32:W,"depth stencil":uo})),Z.webgl_compressed_texture_s3tc&&r(ct,{"rgb s3tc dxt1":Jl,"rgba s3tc dxt1":Ms,"rgba s3tc dxt3":ja,"rgba s3tc dxt5":Ns}),Z.webgl_compressed_texture_atc&&r(ct,{"rgb atc":Fs,"rgba atc explicit alpha":ef,"rgba atc interpolated alpha":Tc}),Z.webgl_compressed_texture_pvrtc&&r(ct,{"rgb pvrtc 4bppv1":tf,"rgb pvrtc 2bppv1":d,"rgba pvrtc 4bppv1":x,"rgba pvrtc 2bppv1":T}),Z.webgl_compressed_texture_etc1&&(ct["rgb etc1"]=k);var Ee=Array.prototype.slice.call(F.getParameter(lu));Object.keys(ct).forEach(function(ee){var ze=ct[ee];Ee.indexOf(ze)>=0&&(Tt[ee]=ze)});var Ge=Object.keys(Tt);ie.textureFormats=Ge;var vt=[];Object.keys(Tt).forEach(function(ee){var ze=Tt[ee];vt[ze]=ee});var wt=[];Object.keys(Vt).forEach(function(ee){var ze=Vt[ee];wt[ze]=ee});var rt=[];Object.keys(St).forEach(function(ee){var ze=St[ee];rt[ze]=ee});var Lt=[];Object.keys(kt).forEach(function(ee){var ze=kt[ee];Lt[ze]=ee});var Rt=[];Object.keys(mt).forEach(function(ee){var ze=mt[ee];Rt[ze]=ee});var rr=Ge.reduce(function(ee,ze){var Be=Tt[ze];return Be===$a||Be===cu||Be===$a||Be===Vu||Be===ya||Be===pu||Z.ext_srgb&&(Be===hu||Be===za)?ee[Be]=Be:Be===du||ze.indexOf("rgba")>=0?ee[Be]=ao:ee[Be]=Ba,ee},{});function it(){this.internalformat=ao,this.format=ao,this.type=B,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Jn,this.width=0,this.height=0,this.channels=0}function Qe(ee,ze){ee.internalformat=ze.internalformat,ee.format=ze.format,ee.type=ze.type,ee.compressed=ze.compressed,ee.premultiplyAlpha=ze.premultiplyAlpha,ee.flipY=ze.flipY,ee.unpackAlignment=ze.unpackAlignment,ee.colorSpace=ze.colorSpace,ee.width=ze.width,ee.height=ze.height,ee.channels=ze.channels}function zt(ee,ze){if(!(typeof ze!="object"||!ze)){if("premultiplyAlpha"in ze&&(ee.premultiplyAlpha=ze.premultiplyAlpha),"flipY"in ze&&(ee.flipY=ze.flipY),"alignment"in ze&&(ee.unpackAlignment=ze.alignment),"colorSpace"in ze&&(ee.colorSpace=tr[ze.colorSpace]),"type"in ze){var Be=ze.type;ee.type=Vt[Be]}var Qt=ee.width,Br=ee.height,Cn=ee.channels,Kt=!1;"shape"in ze?(Qt=ze.shape[0],Br=ze.shape[1],ze.shape.length===3&&(Cn=ze.shape[2],Kt=!0)):("radius"in ze&&(Qt=Br=ze.radius),"width"in ze&&(Qt=ze.width),"height"in ze&&(Br=ze.height),"channels"in ze&&(Cn=ze.channels,Kt=!0)),ee.width=Qt|0,ee.height=Br|0,ee.channels=Cn|0;var X=!1;if("format"in ze){var J=ze.format,se=ee.internalformat=Tt[J];ee.format=rr[se],J in Vt&&("type"in ze||(ee.type=Vt[J])),J in ct&&(ee.compressed=!0),X=!0}!Kt&&X?ee.channels=ui[ee.format]:Kt&&!X&&ee.channels!==Hn[ee.format]&&(ee.format=ee.internalformat=Hn[ee.channels])}}function qe(ee){F.pixelStorei(ai,ee.flipY),F.pixelStorei(so,ee.premultiplyAlpha),F.pixelStorei(oi,ee.colorSpace),F.pixelStorei(Ls,ee.unpackAlignment)}function Dt(){it.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function _t(ee,ze){var Be=null;if(gu(ze)?Be=ze:ze&&(zt(ee,ze),"x"in ze&&(ee.xOffset=ze.x|0),"y"in ze&&(ee.yOffset=ze.y|0),gu(ze.data)&&(Be=ze.data)),ze.copy){var Qt=Xe.viewportWidth,Br=Xe.viewportHeight;ee.width=ee.width||Qt-ee.xOffset,ee.height=ee.height||Br-ee.yOffset,ee.needsCopy=!0}else if(!Be)ee.width=ee.width||1,ee.height=ee.height||1,ee.channels=ee.channels||4;else if(zn(Be))ee.channels=ee.channels||4,ee.data=Be,!("type"in ze)&&ee.type===B&&(ee.type=sa(Be));else if(Rc(Be))ee.channels=ee.channels||4,ba(ee,Be),ee.alignment=1,ee.needsFree=!0;else if(Zn(Be)){var Cn=Be.data;!Array.isArray(Cn)&&ee.type===B&&(ee.type=sa(Cn));var Kt=Be.shape,X=Be.stride,J,se,Ue,ke,Ae,Se;Kt.length===3?(Ue=Kt[2],Se=X[2]):(Ue=1,Se=1),J=Kt[0],se=Kt[1],ke=X[0],Ae=X[1],ee.alignment=1,ee.width=J,ee.height=se,ee.channels=Ue,ee.format=ee.internalformat=Hn[Ue],ee.needsFree=!0,kc(ee,Cn,ke,Ae,Se,Be.offset)}else if(Xu(Be)||Pc(Be)||Ep(Be))Xu(Be)||Pc(Be)?ee.element=Be:ee.element=Be.canvas,ee.width=ee.element.width,ee.height=ee.element.height,ee.channels=4;else if(Cp(Be))ee.element=Be,ee.width=Be.width,ee.height=Be.height,ee.channels=4;else if(Qu(Be))ee.element=Be,ee.width=Be.naturalWidth,ee.height=Be.naturalHeight,ee.channels=4;else if(Ap(Be))ee.element=Be,ee.width=Be.videoWidth,ee.height=Be.videoHeight,ee.channels=4;else if(Ic(Be)){var _e=ee.width||Be[0].length,ne=ee.height||Be.length,pe=ee.channels;Xi(Be[0][0])?pe=pe||Be[0][0].length:pe=pe||1;for(var re=Lr.shape(Be),De=1,Ve=0;Ve<re.length;++Ve)De*=re[Ve];var at=js(ee,De);Lr.flatten(Be,re,"",at),rf(ee,at),ee.alignment=1,ee.width=_e,ee.height=ne,ee.channels=pe,ee.format=ee.internalformat=Hn[pe],ee.needsFree=!0}ee.type===le||ee.type}function nr(ee,ze,Be){var Qt=ee.element,Br=ee.data,Cn=ee.internalformat,Kt=ee.format,X=ee.type,J=ee.width,se=ee.height;qe(ee),Qt?F.texImage2D(ze,Be,Kt,Kt,X,Qt):ee.compressed?F.compressedTexImage2D(ze,Be,Cn,J,se,0,Br):ee.needsCopy?(We(),F.copyTexImage2D(ze,Be,Kt,ee.xOffset,ee.yOffset,J,se,0)):F.texImage2D(ze,Be,Kt,J,se,0,Kt,X,Br||null)}function Dr(ee,ze,Be,Qt,Br){var Cn=ee.element,Kt=ee.data,X=ee.internalformat,J=ee.format,se=ee.type,Ue=ee.width,ke=ee.height;qe(ee),Cn?F.texSubImage2D(ze,Br,Be,Qt,J,se,Cn):ee.compressed?F.compressedTexSubImage2D(ze,Br,Be,Qt,X,Ue,ke,Kt):ee.needsCopy?(We(),F.copyTexSubImage2D(ze,Br,Be,Qt,ee.xOffset,ee.yOffset,Ue,ke)):F.texSubImage2D(ze,Br,Be,Qt,Ue,ke,J,se,Kt)}var Ut=[];function dr(){return Ut.pop()||new Dt}function Pt(ee){ee.needsFree&&Ie.freeType(ee.data),Dt.call(ee),Ut.push(ee)}function Mr(){it.call(this),this.genMipmaps=!1,this.mipmapHint=Gn,this.mipmask=0,this.images=Array(16)}function Wr(ee,ze,Be){var Qt=ee.images[0]=dr();ee.mipmask=1,Qt.width=ee.width=ze,Qt.height=ee.height=Be,Qt.channels=ee.channels=4}function Yr(ee,ze){var Be=null;if(gu(ze))Be=ee.images[0]=dr(),Qe(Be,ee),_t(Be,ze),ee.mipmask=1;else if(zt(ee,ze),Array.isArray(ze.mipmap))for(var Qt=ze.mipmap,Br=0;Br<Qt.length;++Br)Be=ee.images[Br]=dr(),Qe(Be,ee),Be.width>>=Br,Be.height>>=Br,_t(Be,Qt[Br]),ee.mipmask|=1<<Br;else Be=ee.images[0]=dr(),Qe(Be,ee),_t(Be,ze),ee.mipmask=1;Qe(ee,ee.images[0]),ee.compressed&&(ee.internalformat===Jl||ee.internalformat===Ms||ee.internalformat===ja||ee.internalformat)}function ci(ee,ze){for(var Be=ee.images,Qt=0;Qt<Be.length;++Qt){if(!Be[Qt])return;nr(Be[Qt],ze,Qt)}}var qr=[];function wa(){var ee=qr.pop()||new Mr;it.call(ee),ee.mipmask=0;for(var ze=0;ze<16;++ze)ee.images[ze]=null;return ee}function yn(ee){for(var ze=ee.images,Be=0;Be<ze.length;++Be)ze[Be]&&Pt(ze[Be]),ze[Be]=null;qr.push(ee)}function zi(){this.minFilter=Sr,this.magFilter=Sr,this.wrapS=ht,this.wrapT=ht,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Gn}function _a(ee,ze){if("min"in ze){var Be=ze.min;ee.minFilter=kt[Be],_i.indexOf(ee.minFilter)>=0&&!("faces"in ze)&&(ee.genMipmaps=!0)}if("mag"in ze){var Qt=ze.mag;ee.magFilter=St[Qt]}var Br=ee.wrapS,Cn=ee.wrapT;if("wrap"in ze){var Kt=ze.wrap;typeof Kt=="string"?Br=Cn=mt[Kt]:Array.isArray(Kt)&&(Br=mt[Kt[0]],Cn=mt[Kt[1]])}else{if("wrapS"in ze){var X=ze.wrapS;Br=mt[X]}if("wrapT"in ze){var J=ze.wrapT;Cn=mt[J]}}if(ee.wrapS=Br,ee.wrapT=Cn,"anisotropic"in ze&&(ze.anisotropic,ee.anisotropic=ze.anisotropic),"mipmap"in ze){var se=!1;switch(typeof ze.mipmap){case"string":ee.mipmapHint=gt[ze.mipmap],ee.genMipmaps=!0,se=!0;break;case"boolean":se=ee.genMipmaps=ze.mipmap;break;case"object":ee.genMipmaps=!1,se=!0;break}se&&!("min"in ze)&&(ee.minFilter=Sn)}}function Zi(ee,ze){F.texParameteri(ze,cr,ee.minFilter),F.texParameteri(ze,Ke,ee.magFilter),F.texParameteri(ze,de,ee.wrapS),F.texParameteri(ze,Ce,ee.wrapT),Z.ext_texture_filter_anisotropic&&F.texParameteri(ze,Ua,ee.anisotropic),ee.genMipmaps&&(F.hint(Rr,ee.mipmapHint),F.generateMipmap(ze))}var Uo=0,di={},pi=ie.maxTextureUnits,Ar=Array(pi).map(function(){return null});function Ha(ee){it.call(this),this.mipmask=0,this.internalformat=ao,this.id=Uo++,this.refCount=1,this.target=ee,this.texture=F.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new zi,je.profile&&(this.stats={size:0})}function cn(ee){F.activeTexture(wi),F.bindTexture(ee.target,ee.texture)}function hi(){var ee=Ar[0];ee?F.bindTexture(ee.target,ee.texture):F.bindTexture(ua,null)}function fa(ee){var ze=ee.texture,Be=ee.unit,Qt=ee.target;Be>=0&&(F.activeTexture(wi+Be),F.bindTexture(Qt,null),Ar[Be]=null),F.deleteTexture(ze),ee.texture=null,ee.params=null,ee.pixels=null,ee.refCount=0,delete di[ee.id],$e.textureCount--}r(Ha.prototype,{bind:function(){var ee=this;ee.bindCount+=1;var ze=ee.unit;if(ze<0){for(var Be=0;Be<pi;++Be){var Qt=Ar[Be];if(Qt){if(Qt.bindCount>0)continue;Qt.unit=-1}Ar[Be]=ee,ze=Be;break}je.profile&&$e.maxTextureUnits<ze+1&&($e.maxTextureUnits=ze+1),ee.unit=ze,F.activeTexture(wi+ze),F.bindTexture(ee.target,ee.texture)}return ze},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&fa(this)}});function ca(ee,ze){var Be=new Ha(ua);di[Be.id]=Be,$e.textureCount++;function Qt(Kt,X){var J=Be.texInfo;zi.call(J);var se=wa();return typeof Kt=="number"?typeof X=="number"?Wr(se,Kt|0,X|0):Wr(se,Kt|0,Kt|0):Kt?(_a(J,Kt),Yr(se,Kt)):Wr(se,1,1),J.genMipmaps&&(se.mipmask=(se.width<<1)-1),Be.mipmask=se.mipmask,Qe(Be,se),Be.internalformat=se.internalformat,Qt.width=se.width,Qt.height=se.height,cn(Be),ci(se,ua),Zi(J,ua),hi(),yn(se),je.profile&&(Be.stats.size=Wa(Be.internalformat,Be.type,se.width,se.height,J.genMipmaps,!1)),Qt.format=vt[Be.internalformat],Qt.type=wt[Be.type],Qt.mag=rt[J.magFilter],Qt.min=Lt[J.minFilter],Qt.wrapS=Rt[J.wrapS],Qt.wrapT=Rt[J.wrapT],Qt}function Br(Kt,X,J,se){var Ue=X|0,ke=J|0,Ae=se|0,Se=dr();return Qe(Se,Be),Se.width=0,Se.height=0,_t(Se,Kt),Se.width=Se.width||(Be.width>>Ae)-Ue,Se.height=Se.height||(Be.height>>Ae)-ke,cn(Be),Dr(Se,ua,Ue,ke,Ae),hi(),Pt(Se),Qt}function Cn(Kt,X){var J=Kt|0,se=X|0||J;if(J===Be.width&&se===Be.height)return Qt;Qt.width=Be.width=J,Qt.height=Be.height=se,cn(Be);for(var Ue=0;Be.mipmask>>Ue;++Ue){var ke=J>>Ue,Ae=se>>Ue;if(!ke||!Ae)break;F.texImage2D(ua,Ue,Be.format,ke,Ae,0,Be.format,Be.type,null)}return hi(),je.profile&&(Be.stats.size=Wa(Be.internalformat,Be.type,J,se,!1,!1)),Qt}return Qt(ee,ze),Qt.subimage=Br,Qt.resize=Cn,Qt._reglType="texture2d",Qt._texture=Be,je.profile&&(Qt.stats=Be.stats),Qt.destroy=function(){Be.decRef()},Qt}function Pr(ee,ze,Be,Qt,Br,Cn){var Kt=new Ha(Fo);di[Kt.id]=Kt,$e.cubeCount++;var X=new Array(6);function J(ke,Ae,Se,_e,ne,pe){var re,De=Kt.texInfo;for(zi.call(De),re=0;re<6;++re)X[re]=wa();if(typeof ke=="number"||!ke){var Ve=ke|0||1;for(re=0;re<6;++re)Wr(X[re],Ve,Ve)}else if(typeof ke=="object")if(Ae)Yr(X[0],ke),Yr(X[1],Ae),Yr(X[2],Se),Yr(X[3],_e),Yr(X[4],ne),Yr(X[5],pe);else if(_a(De,ke),zt(Kt,ke),"faces"in ke){var at=ke.faces;for(re=0;re<6;++re)Qe(X[re],Kt),Yr(X[re],at[re])}else for(re=0;re<6;++re)Yr(X[re],ke);for(Qe(Kt,X[0]),De.genMipmaps?Kt.mipmask=(X[0].width<<1)-1:Kt.mipmask=X[0].mipmask,Kt.internalformat=X[0].internalformat,J.width=X[0].width,J.height=X[0].height,cn(Kt),re=0;re<6;++re)ci(X[re],fu+re);for(Zi(De,Fo),hi(),je.profile&&(Kt.stats.size=Wa(Kt.internalformat,Kt.type,J.width,J.height,De.genMipmaps,!0)),J.format=vt[Kt.internalformat],J.type=wt[Kt.type],J.mag=rt[De.magFilter],J.min=Lt[De.minFilter],J.wrapS=Rt[De.wrapS],J.wrapT=Rt[De.wrapT],re=0;re<6;++re)yn(X[re]);return J}function se(ke,Ae,Se,_e,ne){var pe=Se|0,re=_e|0,De=ne|0,Ve=dr();return Qe(Ve,Kt),Ve.width=0,Ve.height=0,_t(Ve,Ae),Ve.width=Ve.width||(Kt.width>>De)-pe,Ve.height=Ve.height||(Kt.height>>De)-re,cn(Kt),Dr(Ve,fu+ke,pe,re,De),hi(),Pt(Ve),J}function Ue(ke){var Ae=ke|0;if(Ae!==Kt.width){J.width=Kt.width=Ae,J.height=Kt.height=Ae,cn(Kt);for(var Se=0;Se<6;++Se)for(var _e=0;Kt.mipmask>>_e;++_e)F.texImage2D(fu+Se,_e,Kt.format,Ae>>_e,Ae>>_e,0,Kt.format,Kt.type,null);return hi(),je.profile&&(Kt.stats.size=Wa(Kt.internalformat,Kt.type,J.width,J.height,!1,!0)),J}}return J(ee,ze,Be,Qt,Br,Cn),J.subimage=se,J.resize=Ue,J._reglType="textureCube",J._texture=Kt,je.profile&&(J.stats=Kt.stats),J.destroy=function(){Kt.decRef()},J}function Gr(){for(var ee=0;ee<pi;++ee)F.activeTexture(wi+ee),F.bindTexture(ua,null),Ar[ee]=null;jn(di).forEach(fa),$e.cubeCount=0,$e.textureCount=0}je.profile&&($e.getTotalTextureSize=function(){var ee=0;return Object.keys(di).forEach(function(ze){ee+=di[ze].stats.size}),ee});function wn(){for(var ee=0;ee<pi;++ee){var ze=Ar[ee];ze&&(ze.bindCount=0,ze.unit=-1,Ar[ee]=null)}jn(di).forEach(function(Be){Be.texture=F.createTexture(),F.bindTexture(Be.target,Be.texture);for(var Qt=0;Qt<32;++Qt)if((Be.mipmask&1<<Qt)!==0)if(Be.target===ua)F.texImage2D(ua,Qt,Be.internalformat,Be.width>>Qt,Be.height>>Qt,0,Be.internalformat,Be.type,null);else for(var Br=0;Br<6;++Br)F.texImage2D(fu+Br,Qt,Be.internalformat,Be.width>>Qt,Be.height>>Qt,0,Be.internalformat,Be.type,null);Zi(Be.texInfo,Be.target)})}function vi(){for(var ee=0;ee<pi;++ee){var ze=Ar[ee];ze&&(ze.bindCount=0,ze.unit=-1,Ar[ee]=null),F.activeTexture(wi+ee),F.bindTexture(ua,null),F.bindTexture(Fo,null)}}return{create2D:ca,createCube:Pr,clear:Gr,getTexture:function(ee){return null},restore:wn,refresh:vi}}var la=36161,Si=32854,Qi=32855,Ku=36194,nf=33189,Dc=36168,Mc=34041,Us=35907,fo=34836,Ws=34842,af=34843,Ei=[];Ei[Si]=2,Ei[Qi]=2,Ei[Ku]=2,Ei[nf]=2,Ei[Dc]=1,Ei[Mc]=4,Ei[Us]=4,Ei[fo]=16,Ei[Ws]=8,Ei[af]=6;function Zu(F,Z,ie){return Ei[F]*Z*ie}var qs=function(F,Z,ie,We,Xe){var $e={rgba4:Si,rgb565:Ku,"rgb5 a1":Qi,depth:nf,stencil:Dc,"depth stencil":Mc};Z.ext_srgb&&($e.srgba=Us),Z.ext_color_buffer_half_float&&($e.rgba16f=Ws,$e.rgb16f=af),Z.webgl_color_buffer_float&&($e.rgba32f=fo);var je=[];Object.keys($e).forEach(function(Tt){var ct=$e[Tt];je[ct]=Tt});var gt=0,mt={};function St(Tt){this.id=gt++,this.refCount=1,this.renderbuffer=Tt,this.format=Si,this.width=0,this.height=0,Xe.profile&&(this.stats={size:0})}St.prototype.decRef=function(){--this.refCount<=0&&kt(this)};function kt(Tt){var ct=Tt.renderbuffer;F.bindRenderbuffer(la,null),F.deleteRenderbuffer(ct),Tt.renderbuffer=null,Tt.refCount=0,delete mt[Tt.id],We.renderbufferCount--}function tr(Tt,ct){var Ee=new St(F.createRenderbuffer());mt[Ee.id]=Ee,We.renderbufferCount++;function Ge(wt,rt){var Lt=0,Rt=0,rr=Si;if(typeof wt=="object"&&wt){var it=wt;if("shape"in it){var Qe=it.shape;Lt=Qe[0]|0,Rt=Qe[1]|0}else"radius"in it&&(Lt=Rt=it.radius|0),"width"in it&&(Lt=it.width|0),"height"in it&&(Rt=it.height|0);"format"in it&&(rr=$e[it.format])}else typeof wt=="number"?(Lt=wt|0,typeof rt=="number"?Rt=rt|0:Rt=Lt):wt||(Lt=Rt=1);if(!(Lt===Ee.width&&Rt===Ee.height&&rr===Ee.format))return Ge.width=Ee.width=Lt,Ge.height=Ee.height=Rt,Ee.format=rr,F.bindRenderbuffer(la,Ee.renderbuffer),F.renderbufferStorage(la,rr,Lt,Rt),Xe.profile&&(Ee.stats.size=Zu(Ee.format,Ee.width,Ee.height)),Ge.format=je[Ee.format],Ge}function vt(wt,rt){var Lt=wt|0,Rt=rt|0||Lt;return Lt===Ee.width&&Rt===Ee.height||(Ge.width=Ee.width=Lt,Ge.height=Ee.height=Rt,F.bindRenderbuffer(la,Ee.renderbuffer),F.renderbufferStorage(la,Ee.format,Lt,Rt),Xe.profile&&(Ee.stats.size=Zu(Ee.format,Ee.width,Ee.height))),Ge}return Ge(Tt,ct),Ge.resize=vt,Ge._reglType="renderbuffer",Ge._renderbuffer=Ee,Xe.profile&&(Ge.stats=Ee.stats),Ge.destroy=function(){Ee.decRef()},Ge}Xe.profile&&(We.getTotalRenderbufferSize=function(){var Tt=0;return Object.keys(mt).forEach(function(ct){Tt+=mt[ct].stats.size}),Tt});function Vt(){jn(mt).forEach(function(Tt){Tt.renderbuffer=F.createRenderbuffer(),F.bindRenderbuffer(la,Tt.renderbuffer),F.renderbufferStorage(la,Tt.format,Tt.width,Tt.height)}),F.bindRenderbuffer(la,null)}return{create:tr,clear:function(){jn(mt).forEach(kt)},restore:Vt}},qa=36160,mu=36161,co=3553,po=34069,yu=36064,q=36096,fe=36128,we=33306,tt=36053,Oe=36193,ut=5121,bt=5126,Ft=6407,Wt=6408,yr=[];yr[Wt]=4,yr[Ft]=3;var hr=[];hr[ut]=1,hr[bt]=4,hr[Oe]=2;function br(F,Z,ie,We,Xe,$e){var je={cur:null,next:null,dirty:!1,setFBO:null},gt=["rgba"],mt=["rgba4","rgb565","rgb5 a1"];Z.ext_srgb&&mt.push("srgba"),Z.ext_color_buffer_half_float&&mt.push("rgba16f","rgb16f"),Z.webgl_color_buffer_float&&mt.push("rgba32f"),Z.oes_texture_half_float,Z.oes_texture_float;function St(qe,Dt,_t){this.target=qe,this.texture=Dt,this.renderbuffer=_t;var nr=0,Dr=0;Dt?(nr=Dt.width,Dr=Dt.height):_t&&(nr=_t.width,Dr=_t.height),this.width=nr,this.height=Dr}function kt(qe){qe&&(qe.texture&&qe.texture._texture.decRef(),qe.renderbuffer&&qe.renderbuffer._renderbuffer.decRef())}function tr(qe,Dt,_t){if(!!qe)if(qe.texture){var nr=qe.texture._texture;Math.max(1,nr.width),Math.max(1,nr.height),nr.refCount+=1}else{var Dr=qe.renderbuffer._renderbuffer;Dr.refCount+=1}}function Vt(qe,Dt){Dt&&(Dt.texture?F.framebufferTexture2D(qa,qe,Dt.target,Dt.texture._texture.texture,0):F.framebufferRenderbuffer(qa,qe,mu,Dt.renderbuffer._renderbuffer.renderbuffer))}function Tt(qe){var Dt=co,_t=null,nr=null,Dr=qe;typeof qe=="object"&&(Dr=qe.data,"target"in qe&&(Dt=qe.target|0));var Ut=Dr._reglType;return Ut==="texture2d"||Ut==="textureCube"?_t=Dr:Ut==="renderbuffer"&&(nr=Dr,Dt=mu),new St(Dt,_t,nr)}function ct(qe,Dt,_t,nr,Dr){if(_t){var Ut=We.create2D({width:qe,height:Dt,format:nr,type:Dr});return Ut._texture.refCount=0,new St(co,Ut,null)}else{var dr=Xe.create({width:qe,height:Dt,format:nr});return dr._renderbuffer.refCount=0,new St(mu,null,dr)}}function Ee(qe){return qe&&(qe.texture||qe.renderbuffer)}function Ge(qe,Dt,_t){qe&&(qe.texture?qe.texture.resize(Dt,_t):qe.renderbuffer&&qe.renderbuffer.resize(Dt,_t),qe.width=Dt,qe.height=_t)}var vt=0,wt={};function rt(){this.id=vt++,wt[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 Lt(qe){qe.colorAttachments.forEach(kt),kt(qe.depthAttachment),kt(qe.stencilAttachment),kt(qe.depthStencilAttachment)}function Rt(qe){var Dt=qe.framebuffer;F.deleteFramebuffer(Dt),qe.framebuffer=null,$e.framebufferCount--,delete wt[qe.id]}function rr(qe){var Dt;F.bindFramebuffer(qa,qe.framebuffer);var _t=qe.colorAttachments;for(Dt=0;Dt<_t.length;++Dt)Vt(yu+Dt,_t[Dt]);for(Dt=_t.length;Dt<ie.maxColorAttachments;++Dt)F.framebufferTexture2D(qa,yu+Dt,co,null,0);F.framebufferTexture2D(qa,we,co,null,0),F.framebufferTexture2D(qa,q,co,null,0),F.framebufferTexture2D(qa,fe,co,null,0),Vt(q,qe.depthAttachment),Vt(fe,qe.stencilAttachment),Vt(we,qe.depthStencilAttachment);var nr=F.checkFramebufferStatus(qa);F.isContextLost(),F.bindFramebuffer(qa,je.next?je.next.framebuffer:null),je.cur=je.next,F.getError()}function it(qe,Dt){var _t=new rt;$e.framebufferCount++;function nr(Ut,dr){var Pt,Mr=0,Wr=0,Yr=!0,ci=!0,qr=null,wa=!0,yn="rgba",zi="uint8",_a=1,Zi=null,Uo=null,di=null,pi=!1;if(typeof Ut=="number")Mr=Ut|0,Wr=dr|0||Mr;else if(!Ut)Mr=Wr=1;else{var Ar=Ut;if("shape"in Ar){var Ha=Ar.shape;Mr=Ha[0],Wr=Ha[1]}else"radius"in Ar&&(Mr=Wr=Ar.radius),"width"in Ar&&(Mr=Ar.width),"height"in Ar&&(Wr=Ar.height);("color"in Ar||"colors"in Ar)&&(qr=Ar.color||Ar.colors),qr||("colorCount"in Ar&&(_a=Ar.colorCount|0),"colorTexture"in Ar&&(wa=!!Ar.colorTexture,yn="rgba4"),"colorType"in Ar&&(zi=Ar.colorType,wa||(zi==="half float"||zi==="float16"?yn="rgba16f":(zi==="float"||zi==="float32")&&(yn="rgba32f"))),"colorFormat"in Ar&&(yn=Ar.colorFormat,gt.indexOf(yn)>=0?wa=!0:mt.indexOf(yn)>=0&&(wa=!1))),("depthTexture"in Ar||"depthStencilTexture"in Ar)&&(pi=!!(Ar.depthTexture||Ar.depthStencilTexture)),"depth"in Ar&&(typeof Ar.depth=="boolean"?Yr=Ar.depth:(Zi=Ar.depth,ci=!1)),"stencil"in Ar&&(typeof Ar.stencil=="boolean"?ci=Ar.stencil:(Uo=Ar.stencil,Yr=!1)),"depthStencil"in Ar&&(typeof Ar.depthStencil=="boolean"?Yr=ci=Ar.depthStencil:(di=Ar.depthStencil,Yr=!1,ci=!1))}var cn=null,hi=null,fa=null,ca=null;if(Array.isArray(qr))cn=qr.map(Tt);else if(qr)cn=[Tt(qr)];else for(cn=new Array(_a),Pt=0;Pt<_a;++Pt)cn[Pt]=ct(Mr,Wr,wa,yn,zi);for(Mr=Mr||cn[0].width,Wr=Wr||cn[0].height,Zi?hi=Tt(Zi):Yr&&!ci&&(hi=ct(Mr,Wr,pi,"depth","uint32")),Uo?fa=Tt(Uo):ci&&!Yr&&(fa=ct(Mr,Wr,!1,"stencil","uint8")),di?ca=Tt(di):!Zi&&!Uo&&ci&&Yr&&(ca=ct(Mr,Wr,pi,"depth stencil","depth stencil")),Pt=0;Pt<cn.length;++Pt)tr(cn[Pt]),cn[Pt]&&cn[Pt].texture&&yr[cn[Pt].texture._texture.format]*hr[cn[Pt].texture._texture.type];return tr(hi),tr(fa),tr(ca),Lt(_t),_t.width=Mr,_t.height=Wr,_t.colorAttachments=cn,_t.depthAttachment=hi,_t.stencilAttachment=fa,_t.depthStencilAttachment=ca,nr.color=cn.map(Ee),nr.depth=Ee(hi),nr.stencil=Ee(fa),nr.depthStencil=Ee(ca),nr.width=_t.width,nr.height=_t.height,rr(_t),nr}function Dr(Ut,dr){var Pt=Math.max(Ut|0,1),Mr=Math.max(dr|0||Pt,1);if(Pt===_t.width&&Mr===_t.height)return nr;for(var Wr=_t.colorAttachments,Yr=0;Yr<Wr.length;++Yr)Ge(Wr[Yr],Pt,Mr);return Ge(_t.depthAttachment,Pt,Mr),Ge(_t.stencilAttachment,Pt,Mr),Ge(_t.depthStencilAttachment,Pt,Mr),_t.width=nr.width=Pt,_t.height=nr.height=Mr,rr(_t),nr}return nr(qe,Dt),r(nr,{resize:Dr,_reglType:"framebuffer",_framebuffer:_t,destroy:function(){Rt(_t),Lt(_t)},use:function(Ut){je.setFBO({framebuffer:nr},Ut)}})}function Qe(qe){var Dt=Array(6);function _t(Dr){var Ut,dr={color:null},Pt=0,Mr=null,Wr="rgba",Yr="uint8",ci=1;if(typeof Dr=="number")Pt=Dr|0;else if(!Dr)Pt=1;else{var qr=Dr;if("shape"in qr){var wa=qr.shape;Pt=wa[0]}else"radius"in qr&&(Pt=qr.radius|0),"width"in qr?Pt=qr.width|0:"height"in qr&&(Pt=qr.height|0);("color"in qr||"colors"in qr)&&(Mr=qr.color||qr.colors),Mr||("colorCount"in qr&&(ci=qr.colorCount|0),"colorType"in qr&&(Yr=qr.colorType),"colorFormat"in qr&&(Wr=qr.colorFormat)),"depth"in qr&&(dr.depth=qr.depth),"stencil"in qr&&(dr.stencil=qr.stencil),"depthStencil"in qr&&(dr.depthStencil=qr.depthStencil)}var yn;if(Mr)if(Array.isArray(Mr))for(yn=[],Ut=0;Ut<Mr.length;++Ut)yn[Ut]=Mr[Ut];else yn=[Mr];else{yn=Array(ci);var zi={radius:Pt,format:Wr,type:Yr};for(Ut=0;Ut<ci;++Ut)yn[Ut]=We.createCube(zi)}for(dr.color=Array(yn.length),Ut=0;Ut<yn.length;++Ut){var _a=yn[Ut];Pt=Pt||_a.width,dr.color[Ut]={target:po,data:yn[Ut]}}for(Ut=0;Ut<6;++Ut){for(var Zi=0;Zi<yn.length;++Zi)dr.color[Zi].target=po+Ut;Ut>0&&(dr.depth=Dt[0].depth,dr.stencil=Dt[0].stencil,dr.depthStencil=Dt[0].depthStencil),Dt[Ut]?Dt[Ut](dr):Dt[Ut]=it(dr)}return r(_t,{width:Pt,height:Pt,color:yn})}function nr(Dr){var Ut,dr=Dr|0;if(dr===_t.width)return _t;var Pt=_t.color;for(Ut=0;Ut<Pt.length;++Ut)Pt[Ut].resize(dr);for(Ut=0;Ut<6;++Ut)Dt[Ut].resize(dr);return _t.width=_t.height=dr,_t}return _t(qe),r(_t,{faces:Dt,resize:nr,_reglType:"framebufferCube",destroy:function(){Dt.forEach(function(Dr){Dr.destroy()})}})}function zt(){je.cur=null,je.next=null,je.dirty=!0,jn(wt).forEach(function(qe){qe.framebuffer=F.createFramebuffer(),rr(qe)})}return r(je,{getFramebuffer:function(qe){if(typeof qe=="function"&&qe._reglType==="framebuffer"){var Dt=qe._framebuffer;if(Dt instanceof rt)return Dt}return null},create:it,createCube:Qe,clear:function(){jn(wt).forEach(Rt)},restore:zt})}var Nr=5126,un=34962,gr=34963;function On(){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=Nr,this.offset=0,this.stride=0,this.divisor=0}function ei(F,Z,ie,We,Xe,$e,je){for(var gt=ie.maxAttributes,mt=new Array(gt),St=0;St<gt;++St)mt[St]=new On;var kt=0,tr={},Vt={Record:On,scope:{},state:mt,currentVAO:null,targetVAO:null,restore:ct()?Rt:function(){},createVAO:rr,getVAO:Ge,destroyBuffer:Tt,setVAO:ct()?vt:wt,clear:ct()?rt:function(){}};function Tt(it){for(var Qe=0;Qe<mt.length;++Qe){var zt=mt[Qe];zt.buffer===it&&(F.disableVertexAttribArray(Qe),zt.buffer=null)}}function ct(){return Z.oes_vertex_array_object}function Ee(){return Z.angle_instanced_arrays}function Ge(it){return typeof it=="function"&&it._vao?it._vao:null}function vt(it){if(it!==Vt.currentVAO){var Qe=ct();it?Qe.bindVertexArrayOES(it.vao):Qe.bindVertexArrayOES(null),Vt.currentVAO=it}}function wt(it){if(it!==Vt.currentVAO){if(it)it.bindAttrs();else{for(var Qe=Ee(),zt=0;zt<mt.length;++zt){var qe=mt[zt];qe.buffer?(F.enableVertexAttribArray(zt),qe.buffer.bind(),F.vertexAttribPointer(zt,qe.size,qe.type,qe.normalized,qe.stride,qe.offfset),Qe&&qe.divisor&&Qe.vertexAttribDivisorANGLE(zt,qe.divisor)):(F.disableVertexAttribArray(zt),F.vertexAttrib4f(zt,qe.x,qe.y,qe.z,qe.w))}je.elements?F.bindBuffer(gr,je.elements.buffer.buffer):F.bindBuffer(gr,null)}Vt.currentVAO=it}}function rt(){jn(tr).forEach(function(it){it.destroy()})}function Lt(){this.id=++kt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.count=0,this.offset=0,this.instances=-1,this.primitive=4;var it=ct();it?this.vao=it.createVertexArrayOES():this.vao=null,tr[this.id]=this,this.buffers=[]}Lt.prototype.bindAttrs=function(){for(var it=Ee(),Qe=this.attributes,zt=0;zt<Qe.length;++zt){var qe=Qe[zt];qe.buffer?(F.enableVertexAttribArray(zt),F.bindBuffer(un,qe.buffer.buffer),F.vertexAttribPointer(zt,qe.size,qe.type,qe.normalized,qe.stride,qe.offset),it&&qe.divisor&&it.vertexAttribDivisorANGLE(zt,qe.divisor)):(F.disableVertexAttribArray(zt),F.vertexAttrib4f(zt,qe.x,qe.y,qe.z,qe.w))}for(var Dt=Qe.length;Dt<gt;++Dt)F.disableVertexAttribArray(Dt);var _t=$e.getElements(this.elements);_t?F.bindBuffer(gr,_t.buffer.buffer):F.bindBuffer(gr,null)},Lt.prototype.refresh=function(){var it=ct();it&&(it.bindVertexArrayOES(this.vao),this.bindAttrs(),Vt.currentVAO=null,it.bindVertexArrayOES(null))},Lt.prototype.destroy=function(){if(this.vao){var it=ct();this===Vt.currentVAO&&(Vt.currentVAO=null,it.bindVertexArrayOES(null)),it.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),tr[this.id]&&(delete tr[this.id],We.vaoCount-=1)};function Rt(){var it=ct();it&&jn(tr).forEach(function(Qe){Qe.refresh()})}function rr(it){var Qe=new Lt;We.vaoCount+=1;function zt(qe){var Dt;if(Array.isArray(qe))Dt=qe,Qe.elements&&Qe.ownsElements&&Qe.elements.destroy(),Qe.elements=null,Qe.ownsElements=!1,Qe.offset=0,Qe.count=0,Qe.instances=-1,Qe.primitive=4;else{if(qe.elements){var _t=qe.elements;Qe.ownsElements?typeof _t=="function"&&_t._reglType==="elements"?(Qe.elements.destroy(),Qe.ownsElements=!1):(Qe.elements(_t),Qe.ownsElements=!1):$e.getElements(qe.elements)?(Qe.elements=qe.elements,Qe.ownsElements=!1):(Qe.elements=$e.create(qe.elements),Qe.ownsElements=!0)}else Qe.elements=null,Qe.ownsElements=!1;Dt=qe.attributes,Qe.offset=0,Qe.count=-1,Qe.instances=-1,Qe.primitive=4,Qe.elements&&(Qe.count=Qe.elements._elements.vertCount,Qe.primitive=Qe.elements._elements.primType),"offset"in qe&&(Qe.offset=qe.offset|0),"count"in qe&&(Qe.count=qe.count|0),"instances"in qe&&(Qe.instances=qe.instances|0),"primitive"in qe&&(Qe.primitive=Fn[qe.primitive])}var nr={},Dr=Qe.attributes;Dr.length=Dt.length;for(var Ut=0;Ut<Dt.length;++Ut){var dr=Dt[Ut],Pt=Dr[Ut]=new On,Mr=dr.data||dr;if(Array.isArray(Mr)||zn(Mr)||Zn(Mr)){var Wr;Qe.buffers[Ut]&&(Wr=Qe.buffers[Ut],zn(Mr)&&Wr._buffer.byteLength>=Mr.byteLength?Wr.subdata(Mr):(Wr.destroy(),Qe.buffers[Ut]=null)),Qe.buffers[Ut]||(Wr=Qe.buffers[Ut]=Xe.create(dr,un,!1,!0)),Pt.buffer=Xe.getBuffer(Wr),Pt.size=Pt.buffer.dimension|0,Pt.normalized=!1,Pt.type=Pt.buffer.dtype,Pt.offset=0,Pt.stride=0,Pt.divisor=0,Pt.state=1,nr[Ut]=1}else Xe.getBuffer(dr)?(Pt.buffer=Xe.getBuffer(dr),Pt.size=Pt.buffer.dimension|0,Pt.normalized=!1,Pt.type=Pt.buffer.dtype,Pt.offset=0,Pt.stride=0,Pt.divisor=0,Pt.state=1):Xe.getBuffer(dr.buffer)?(Pt.buffer=Xe.getBuffer(dr.buffer),Pt.size=(+dr.size||Pt.buffer.dimension)|0,Pt.normalized=!!dr.normalized||!1,"type"in dr?Pt.type=iu[dr.type]:Pt.type=Pt.buffer.dtype,Pt.offset=(dr.offset||0)|0,Pt.stride=(dr.stride||0)|0,Pt.divisor=(dr.divisor||0)|0,Pt.state=1):"x"in dr&&(Pt.x=+dr.x||0,Pt.y=+dr.y||0,Pt.z=+dr.z||0,Pt.w=+dr.w||0,Pt.state=2)}for(var Yr=0;Yr<Qe.buffers.length;++Yr)!nr[Yr]&&Qe.buffers[Yr]&&(Qe.buffers[Yr].destroy(),Qe.buffers[Yr]=null);return Qe.refresh(),zt}return zt.destroy=function(){for(var qe=0;qe<Qe.buffers.length;++qe)Qe.buffers[qe]&&Qe.buffers[qe].destroy();Qe.buffers.length=0,Qe.ownsElements&&(Qe.elements.destroy(),Qe.elements=null,Qe.ownsElements=!1),Qe.destroy()},zt._vao=Qe,zt._reglType="vao",zt(it)}return Vt}var si=35632,gn=35633,Ju=35718,$o=35721;function Ci(F,Z,ie,We){var Xe={},$e={};function je(Ee,Ge,vt,wt){this.name=Ee,this.id=Ge,this.location=vt,this.info=wt}function gt(Ee,Ge){for(var vt=0;vt<Ee.length;++vt)if(Ee[vt].id===Ge.id){Ee[vt].location=Ge.location;return}Ee.push(Ge)}function mt(Ee,Ge,vt){var wt=Ee===si?Xe:$e,rt=wt[Ge];if(!rt){var Lt=Z.str(Ge);rt=F.createShader(Ee),F.shaderSource(rt,Lt),F.compileShader(rt),wt[Ge]=rt}return rt}var St={},kt=[],tr=0;function Vt(Ee,Ge){this.id=tr++,this.fragId=Ee,this.vertId=Ge,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,We.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function Tt(Ee,Ge,vt){var wt,rt,Lt=mt(si,Ee.fragId),Rt=mt(gn,Ee.vertId),rr=Ee.program=F.createProgram();if(F.attachShader(rr,Lt),F.attachShader(rr,Rt),vt)for(wt=0;wt<vt.length;++wt){var it=vt[wt];F.bindAttribLocation(rr,it[0],it[1])}F.linkProgram(rr);var Qe=F.getProgramParameter(rr,Ju);We.profile&&(Ee.stats.uniformsCount=Qe);var zt=Ee.uniforms;for(wt=0;wt<Qe;++wt)if(rt=F.getActiveUniform(rr,wt),rt)if(rt.size>1)for(var qe=0;qe<rt.size;++qe){var Dt=rt.name.replace("[0]","["+qe+"]");gt(zt,new je(Dt,Z.id(Dt),F.getUniformLocation(rr,Dt),rt))}else gt(zt,new je(rt.name,Z.id(rt.name),F.getUniformLocation(rr,rt.name),rt));var _t=F.getProgramParameter(rr,$o);We.profile&&(Ee.stats.attributesCount=_t);var nr=Ee.attributes;for(wt=0;wt<_t;++wt)rt=F.getActiveAttrib(rr,wt),rt&&gt(nr,new je(rt.name,Z.id(rt.name),F.getAttribLocation(rr,rt.name),rt))}We.profile&&(ie.getMaxUniformsCount=function(){var Ee=0;return kt.forEach(function(Ge){Ge.stats.uniformsCount>Ee&&(Ee=Ge.stats.uniformsCount)}),Ee},ie.getMaxAttributesCount=function(){var Ee=0;return kt.forEach(function(Ge){Ge.stats.attributesCount>Ee&&(Ee=Ge.stats.attributesCount)}),Ee});function ct(){Xe={},$e={};for(var Ee=0;Ee<kt.length;++Ee)Tt(kt[Ee],null,kt[Ee].attributes.map(function(Ge){return[Ge.location,Ge.name]}))}return{clear:function(){var Ee=F.deleteShader.bind(F);jn(Xe).forEach(Ee),Xe={},jn($e).forEach(Ee),$e={},kt.forEach(function(Ge){F.deleteProgram(Ge.program)}),kt.length=0,St={},ie.shaderCount=0},program:function(Ee,Ge,vt,wt){var rt=St[Ge];rt||(rt=St[Ge]={});var Lt=rt[Ee];if(Lt&&(Lt.refCount++,!wt))return Lt;var Rt=new Vt(Ge,Ee);return ie.shaderCount++,Tt(Rt,vt,wt),Lt||(rt[Ee]=Rt),kt.push(Rt),r(Rt,{destroy:function(){if(Rt.refCount--,Rt.refCount<=0){F.deleteProgram(Rt.program);var rr=kt.indexOf(Rt);kt.splice(rr,1),ie.shaderCount--}rt[Rt.vertId].refCount<=0&&(F.deleteShader($e[Rt.vertId]),delete $e[Rt.vertId],delete St[Rt.fragId][Rt.vertId]),Object.keys(St[Rt.fragId]).length||(F.deleteShader(Xe[Rt.fragId]),delete Xe[Rt.fragId],delete St[Rt.fragId])}})},restore:ct,shader:mt,frag:-1,vert:-1}}var Ag=6408,Tp=5121,nb=3333,ib=5126;function Tg(F,Z,ie,We,Xe,$e,je){function gt(kt){var tr;Z.next===null?tr=Tp:tr=Z.next.colorAttachments[0].texture._texture.type;var Vt=0,Tt=0,ct=We.framebufferWidth,Ee=We.framebufferHeight,Ge=null;zn(kt)?Ge=kt:kt&&(Vt=kt.x|0,Tt=kt.y|0,ct=(kt.width||We.framebufferWidth-Vt)|0,Ee=(kt.height||We.framebufferHeight-Tt)|0,Ge=kt.data||null),ie();var vt=ct*Ee*4;return Ge||(tr===Tp?Ge=new Uint8Array(vt):tr===ib&&(Ge=Ge||new Float32Array(vt))),F.pixelStorei(nb,4),F.readPixels(Vt,Tt,ct,Ee,Ag,tr,Ge),Ge}function mt(kt){var tr;return Z.setFBO({framebuffer:kt.framebuffer},function(){tr=gt(kt)}),tr}function St(kt){return!kt||!("framebuffer"in kt)?gt(kt):mt(kt)}return St}function Og(F){return Op(Rg(Rp(F)))}function Rg(F){return ob(sb(ab(F),F.length*8))}function Op(F){for(var Z="0123456789abcdef",ie="",We,Xe=0;Xe<F.length;Xe++)We=F.charCodeAt(Xe),ie+=Z.charAt(We>>>4&15)+Z.charAt(We&15);return ie}function Rp(F){for(var Z="",ie=-1,We,Xe;++ie<F.length;)We=F.charCodeAt(ie),Xe=ie+1<F.length?F.charCodeAt(ie+1):0,55296<=We&&We<=56319&&56320<=Xe&&Xe<=57343&&(We=65536+((We&1023)<<10)+(Xe&1023),ie++),We<=127?Z+=String.fromCharCode(We):We<=2047?Z+=String.fromCharCode(192|We>>>6&31,128|We&63):We<=65535?Z+=String.fromCharCode(224|We>>>12&15,128|We>>>6&63,128|We&63):We<=2097151&&(Z+=String.fromCharCode(240|We>>>18&7,128|We>>>12&63,128|We>>>6&63,128|We&63));return Z}function ab(F){for(var Z=Array(F.length>>2),ie=0;ie<Z.length;ie++)Z[ie]=0;for(var ie=0;ie<F.length*8;ie+=8)Z[ie>>5]|=(F.charCodeAt(ie/8)&255)<<24-ie%32;return Z}function ob(F){for(var Z="",ie=0;ie<F.length*32;ie+=8)Z+=String.fromCharCode(F[ie>>5]>>>24-ie%32&255);return Z}function ho(F,Z){return F>>>Z|F<<32-Z}function Ig(F,Z){return F>>>Z}function ub(F,Z,ie){return F&Z^~F&ie}function Pg(F,Z,ie){return F&Z^F&ie^Z&ie}function kg(F){return ho(F,2)^ho(F,13)^ho(F,22)}function Ip(F){return ho(F,6)^ho(F,11)^ho(F,25)}function Dg(F){return ho(F,7)^ho(F,18)^Ig(F,3)}function Nc(F){return ho(F,17)^ho(F,19)^Ig(F,10)}var Fc=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 sb(F,Z){var ie=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),We=new Array(64),Xe,$e,je,gt,mt,St,kt,tr,Vt,Tt,ct,Ee;for(F[Z>>5]|=128<<24-Z%32,F[(Z+64>>9<<4)+15]=Z,Vt=0;Vt<F.length;Vt+=16){for(Xe=ie[0],$e=ie[1],je=ie[2],gt=ie[3],mt=ie[4],St=ie[5],kt=ie[6],tr=ie[7],Tt=0;Tt<64;Tt++)Tt<16?We[Tt]=F[Tt+Vt]:We[Tt]=Un(Un(Un(Nc(We[Tt-2]),We[Tt-7]),Dg(We[Tt-15])),We[Tt-16]),ct=Un(Un(Un(Un(tr,Ip(mt)),ub(mt,St,kt)),Fc[Tt]),We[Tt]),Ee=Un(kg(Xe),Pg(Xe,$e,je)),tr=kt,kt=St,St=mt,mt=Un(gt,ct),gt=je,je=$e,$e=Xe,Xe=Un(ct,Ee);ie[0]=Un(Xe,ie[0]),ie[1]=Un($e,ie[1]),ie[2]=Un(je,ie[2]),ie[3]=Un(gt,ie[3]),ie[4]=Un(mt,ie[4]),ie[5]=Un(St,ie[5]),ie[6]=Un(kt,ie[6]),ie[7]=Un(tr,ie[7])}return ie}function Un(F,Z){var ie=(F&65535)+(Z&65535),We=(F>>16)+(Z>>16)+(ie>>16);return We<<16|ie&65535}function es(F){return Array.prototype.slice.call(F)}function Gs(F){return es(F).join("")}function lb(F){var Z=F&&F.cache,ie=0,We=[],Xe=[],$e=[];function je(ct,Ee){var Ge=Ee&&Ee.stable;if(!Ge){for(var vt=0;vt<Xe.length;++vt)if(Xe[vt]===ct&&!$e[vt])return We[vt]}var wt="g"+ie++;return We.push(wt),Xe.push(ct),$e.push(Ge),wt}function gt(){var ct=[];function Ee(){ct.push.apply(ct,es(arguments))}var Ge=[];function vt(){var wt="v"+ie++;return Ge.push(wt),arguments.length>0&&(ct.push(wt,"="),ct.push.apply(ct,es(arguments)),ct.push(";")),wt}return r(Ee,{def:vt,toString:function(){return Gs([Ge.length>0?"var "+Ge.join(",")+";":"",Gs(ct)])}})}function mt(){var ct=gt(),Ee=gt(),Ge=ct.toString,vt=Ee.toString;function wt(rt,Lt){Ee(rt,Lt,"=",ct.def(rt,Lt),";")}return r(function(){ct.apply(ct,es(arguments))},{def:ct.def,entry:ct,exit:Ee,save:wt,set:function(rt,Lt,Rt){wt(rt,Lt),ct(rt,Lt,"=",Rt,";")},toString:function(){return Ge()+vt()}})}function St(){var ct=Gs(arguments),Ee=mt(),Ge=mt(),vt=Ee.toString,wt=Ge.toString;return r(Ee,{then:function(){return Ee.apply(Ee,es(arguments)),this},else:function(){return Ge.apply(Ge,es(arguments)),this},toString:function(){var rt=wt();return rt&&(rt="else{"+rt+"}"),Gs(["if(",ct,"){",vt(),"}",rt])}})}var kt=gt(),tr={};function Vt(ct,Ee){var Ge=[];function vt(){var rr="a"+Ge.length;return Ge.push(rr),rr}Ee=Ee||0;for(var wt=0;wt<Ee;++wt)vt();var rt=mt(),Lt=rt.toString,Rt=tr[ct]=r(rt,{arg:vt,toString:function(){return Gs(["function(",Ge.join(),"){",Lt(),"}"])}});return Rt}function Tt(){var ct=['"use strict";',kt,"return {"];Object.keys(tr).forEach(function(wt){ct.push('"',wt,'":',tr[wt].toString(),",")}),ct.push("}");var Ee=Gs(ct).replace(/;/g,`;
1174
- `).replace(/}/g,`}
1175
- `).replace(/{/g,`{
1176
- `),Ge;if(Z&&(Ge=Og(Ee),Z[Ge]))return Z[Ge].apply(null,Xe);var vt=Function.apply(null,We.concat(Ee));return Z&&(Z[Ge]=vt),vt.apply(null,Xe)}return{global:kt,link:je,block:gt,proc:Vt,scope:mt,cond:St,compile:Tt}}var ts="xyzw".split(""),Pp=5121,rs=1,of=2,uf=0,Lc=1,kp=2,Bc=3,ns=4,Dp=5,Mg=6,Ng="dither",Fg="blend.enable",Lg="blend.color",$c="blend.equation",zc="blend.func",Mp="depth.enable",Np="depth.func",Bg="depth.range",sf="depth.mask",Fp="colorMask",$g="cull.enable",Lp="cull.face",jc="frontFace",Bp="lineWidth",lf="polygonOffset.enable",Hs="polygonOffset.offset",$p="sample.alpha",zp="sample.enable",ff="sample.coverage",xa="stencil.enable",jp="stencil.mask",Up="stencil.func",cf="stencil.opFront",is="stencil.opBack",zg="scissor.enable",Uc="scissor.box",zo="viewport",as="profile",bu="framebuffer",df="vert",Wc="frag",Vs="elements",Ys="primitive",li="count",qc="offset",Gc="instances",Ga="vao",pf="Width",hf="Height",Xs=bu+pf,Qs=bu+hf,fb=zo+pf,jg=zo+hf,Wp="drawingBuffer",qp=Wp+pf,Gp=Wp+hf,cb=[zc,$c,Up,cf,is,ff,zo,Uc,Hs],os=34962,Hp=34963,db=2884,pb=3042,Ug=3024,Wg=2960,Hc=2929,qg=3089,Vc=32823,Gg=32926,vf=32928,kn=5126,Yc=35664,jo=35665,Ks=35666,Xc=5124,Vp=35667,gf=35668,Zs=35669,Yp=35670,Xp=35671,Qp=35672,Kp=35673,Zp=35674,mf=35675,Jp=35676,eh=35678,s=35680,c=4,h=1028,b=1029,_=2304,E=2305,D=32775,I=32776,M=519,j=7680,U=0,V=1,Y=32774,he=513,me=36160,Q=36064,te={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},ue={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},ye={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},xe={cw:_,ccw:E};function ce(F){return Array.isArray(F)||zn(F)||Zn(F)}function Ze(F){return F.sort(function(Z,ie){return Z===zo?-1:ie===zo?1:Z<ie?-1:1})}function st(F,Z,ie,We){this.thisDep=F,this.contextDep=Z,this.propDep=ie,this.append=We}function Et(F){return F&&!(F.thisDep||F.contextDep||F.propDep)}function lt(F){return new st(!1,!1,!1,F)}function Ot(F,Z){var ie=F.type;if(ie===uf){var We=F.data.length;return new st(!0,We>=1,We>=2,Z)}else if(ie===ns){var Xe=F.data;return new st(Xe.thisDep,Xe.contextDep,Xe.propDep,Z)}else{if(ie===Dp)return new st(!1,!1,!1,Z);if(ie===Mg){for(var $e=!1,je=!1,gt=!1,mt=0;mt<F.data.length;++mt){var St=F.data[mt];if(St.type===Lc)gt=!0;else if(St.type===kp)je=!0;else if(St.type===Bc)$e=!0;else if(St.type===uf){$e=!0;var kt=St.data;kt>=1&&(je=!0),kt>=2&&(gt=!0)}else St.type===ns&&($e=$e||St.data.thisDep,je=je||St.data.contextDep,gt=gt||St.data.propDep)}return new st($e,je,gt,Z)}else return new st(ie===Bc,ie===kp,ie===Lc,Z)}}var $t=new st(!1,!1,!1,function(){});function xr(F,Z,ie,We,Xe,$e,je,gt,mt,St,kt,tr,Vt,Tt,ct,Ee){var Ge=St.Record,vt={add:32774,subtract:32778,"reverse subtract":32779};ie.ext_blend_minmax&&(vt.min=D,vt.max=I);var wt=ie.angle_instanced_arrays,rt=ie.webgl_draw_buffers,Lt=ie.oes_vertex_array_object,Rt={dirty:!0,profile:Ee.profile},rr={},it=[],Qe={},zt={};function qe(X){return X.replace(".","_")}function Dt(X,J,se){var Ue=qe(X);it.push(X),rr[Ue]=Rt[Ue]=!!se,Qe[Ue]=J}function _t(X,J,se){var Ue=qe(X);it.push(X),Array.isArray(se)?(Rt[Ue]=se.slice(),rr[Ue]=se.slice()):Rt[Ue]=rr[Ue]=se,zt[Ue]=J}function nr(X){return!!isNaN(X)}Dt(Ng,Ug),Dt(Fg,pb),_t(Lg,"blendColor",[0,0,0,0]),_t($c,"blendEquationSeparate",[Y,Y]),_t(zc,"blendFuncSeparate",[V,U,V,U]),Dt(Mp,Hc,!0),_t(Np,"depthFunc",he),_t(Bg,"depthRange",[0,1]),_t(sf,"depthMask",!0),_t(Fp,Fp,[!0,!0,!0,!0]),Dt($g,db),_t(Lp,"cullFace",b),_t(jc,jc,E),_t(Bp,Bp,1),Dt(lf,Vc),_t(Hs,"polygonOffset",[0,0]),Dt($p,Gg),Dt(zp,vf),_t(ff,"sampleCoverage",[1,!1]),Dt(xa,Wg),_t(jp,"stencilMask",-1),_t(Up,"stencilFunc",[M,0,-1]),_t(cf,"stencilOpSeparate",[h,j,j,j]),_t(is,"stencilOpSeparate",[b,j,j,j]),Dt(zg,qg),_t(Uc,"scissor",[0,0,F.drawingBufferWidth,F.drawingBufferHeight]),_t(zo,zo,[0,0,F.drawingBufferWidth,F.drawingBufferHeight]);var Dr={gl:F,context:Vt,strings:Z,next:rr,current:Rt,draw:tr,elements:$e,buffer:Xe,shader:kt,attributes:St.state,vao:St,uniforms:mt,framebuffer:gt,extensions:ie,timer:Tt,isBufferArgs:ce},Ut={primTypes:Fn,compareFuncs:ue,blendFuncs:te,blendEquations:vt,stencilOps:ye,glTypes:iu,orientationType:xe};rt&&(Ut.backBuffer=[b],Ut.drawBuffer=ae(We.maxDrawbuffers,function(X){return X===0?[0]:ae(X,function(J){return Q+J})}));var dr=0;function Pt(){var X=lb({cache:ct}),J=X.link,se=X.global;X.id=dr++,X.batchId="0";var Ue=J(Dr),ke=X.shared={props:"a0"};Object.keys(Dr).forEach(function(pe){ke[pe]=se.def(Ue,".",pe)});var Ae=X.next={},Se=X.current={};Object.keys(zt).forEach(function(pe){Array.isArray(Rt[pe])&&(Ae[pe]=se.def(ke.next,".",pe),Se[pe]=se.def(ke.current,".",pe))});var _e=X.constants={};Object.keys(Ut).forEach(function(pe){_e[pe]=se.def(JSON.stringify(Ut[pe]))}),X.invoke=function(pe,re){switch(re.type){case uf:var De=["this",ke.context,ke.props,X.batchId];return pe.def(J(re.data),".call(",De.slice(0,Math.max(re.data.length+1,4)),")");case Lc:return pe.def(ke.props,re.data);case kp:return pe.def(ke.context,re.data);case Bc:return pe.def("this",re.data);case ns:return re.data.append(X,pe),re.data.ref;case Dp:return re.data.toString();case Mg:return re.data.map(function(Ve){return X.invoke(pe,Ve)})}},X.attribCache={};var ne={};return X.scopeAttrib=function(pe){var re=Z.id(pe);if(re in ne)return ne[re];var De=St.scope[re];De||(De=St.scope[re]=new Ge);var Ve=ne[re]=J(De);return Ve},X}function Mr(X){var J=X.static,se=X.dynamic,Ue;if(as in J){var ke=!!J[as];Ue=lt(function(Se,_e){return ke}),Ue.enable=ke}else if(as in se){var Ae=se[as];Ue=Ot(Ae,function(Se,_e){return Se.invoke(_e,Ae)})}return Ue}function Wr(X,J){var se=X.static,Ue=X.dynamic;if(bu in se){var ke=se[bu];return ke?(ke=gt.getFramebuffer(ke),lt(function(Se,_e){var ne=Se.link(ke),pe=Se.shared;_e.set(pe.framebuffer,".next",ne);var re=pe.context;return _e.set(re,"."+Xs,ne+".width"),_e.set(re,"."+Qs,ne+".height"),ne})):lt(function(Se,_e){var ne=Se.shared;_e.set(ne.framebuffer,".next","null");var pe=ne.context;return _e.set(pe,"."+Xs,pe+"."+qp),_e.set(pe,"."+Qs,pe+"."+Gp),"null"})}else if(bu in Ue){var Ae=Ue[bu];return Ot(Ae,function(Se,_e){var ne=Se.invoke(_e,Ae),pe=Se.shared,re=pe.framebuffer,De=_e.def(re,".getFramebuffer(",ne,")");_e.set(re,".next",De);var Ve=pe.context;return _e.set(Ve,"."+Xs,De+"?"+De+".width:"+Ve+"."+qp),_e.set(Ve,"."+Qs,De+"?"+De+".height:"+Ve+"."+Gp),De})}else return null}function Yr(X,J,se){var Ue=X.static,ke=X.dynamic;function Ae(ne){if(ne in Ue){var pe=Ue[ne],re=!0,De=pe.x|0,Ve=pe.y|0,at,or;return"width"in pe?at=pe.width|0:re=!1,"height"in pe?or=pe.height|0:re=!1,new st(!re&&J&&J.thisDep,!re&&J&&J.contextDep,!re&&J&&J.propDep,function(ir,Yt){var lr=ir.shared.context,Ht=at;"width"in pe||(Ht=Yt.def(lr,".",Xs,"-",De));var Zt=or;return"height"in pe||(Zt=Yt.def(lr,".",Qs,"-",Ve)),[De,Ve,Ht,Zt]})}else if(ne in ke){var er=ke[ne],jt=Ot(er,function(ir,Yt){var lr=ir.invoke(Yt,er),Ht=ir.shared.context,Zt=Yt.def(lr,".x|0"),Jt=Yt.def(lr,".y|0"),Er=Yt.def('"width" in ',lr,"?",lr,".width|0:","(",Ht,".",Xs,"-",Zt,")"),An=Yt.def('"height" in ',lr,"?",lr,".height|0:","(",Ht,".",Qs,"-",Jt,")");return[Zt,Jt,Er,An]});return J&&(jt.thisDep=jt.thisDep||J.thisDep,jt.contextDep=jt.contextDep||J.contextDep,jt.propDep=jt.propDep||J.propDep),jt}else return J?new st(J.thisDep,J.contextDep,J.propDep,function(ir,Yt){var lr=ir.shared.context;return[0,0,Yt.def(lr,".",Xs),Yt.def(lr,".",Qs)]}):null}var Se=Ae(zo);if(Se){var _e=Se;Se=new st(Se.thisDep,Se.contextDep,Se.propDep,function(ne,pe){var re=_e.append(ne,pe),De=ne.shared.context;return pe.set(De,"."+fb,re[2]),pe.set(De,"."+jg,re[3]),re})}return{viewport:Se,scissor_box:Ae(Uc)}}function ci(X,J){var se=X.static,Ue=typeof se[Wc]=="string"&&typeof se[df]=="string";if(Ue){if(Object.keys(J.dynamic).length>0)return null;var ke=J.static,Ae=Object.keys(ke);if(Ae.length>0&&typeof ke[Ae[0]]=="number"){for(var Se=[],_e=0;_e<Ae.length;++_e)Se.push([ke[Ae[_e]]|0,Ae[_e]]);return Se}}return null}function qr(X,J,se){var Ue=X.static,ke=X.dynamic;function Ae(re){if(re in Ue){var De=Z.id(Ue[re]),Ve=lt(function(){return De});return Ve.id=De,Ve}else if(re in ke){var at=ke[re];return Ot(at,function(or,er){var jt=or.invoke(er,at),ir=er.def(or.shared.strings,".id(",jt,")");return ir})}return null}var Se=Ae(Wc),_e=Ae(df),ne=null,pe;return Et(Se)&&Et(_e)?(ne=kt.program(_e.id,Se.id,null,se),pe=lt(function(re,De){return re.link(ne)})):pe=new st(Se&&Se.thisDep||_e&&_e.thisDep,Se&&Se.contextDep||_e&&_e.contextDep,Se&&Se.propDep||_e&&_e.propDep,function(re,De){var Ve=re.shared.shader,at;Se?at=Se.append(re,De):at=De.def(Ve,".",Wc);var or;_e?or=_e.append(re,De):or=De.def(Ve,".",df);var er=Ve+".program("+or+","+at;return De.def(er+")")}),{frag:Se,vert:_e,progVar:pe,program:ne}}function wa(X,J){var se=X.static,Ue=X.dynamic,ke={},Ae=!1;function Se(){if(Ga in se){var Yt=se[Ga];return Yt!==null&&St.getVAO(Yt)===null&&(Yt=St.createVAO(Yt)),Ae=!0,ke.vao=Yt,lt(function(Ht){var Zt=St.getVAO(Yt);return Zt?Ht.link(Zt):"null"})}else if(Ga in Ue){Ae=!0;var lr=Ue[Ga];return Ot(lr,function(Ht,Zt){var Jt=Ht.invoke(Zt,lr);return Zt.def(Ht.shared.vao+".getVAO("+Jt+")")})}return null}var _e=Se(),ne=!1;function pe(){if(Vs in se){var Yt=se[Vs];if(ke.elements=Yt,ce(Yt)){var lr=ke.elements=$e.create(Yt,!0);Yt=$e.getElements(lr),ne=!0}else Yt&&(Yt=$e.getElements(Yt),ne=!0);var Ht=lt(function(Jt,Er){if(Yt){var An=Jt.link(Yt);return Jt.ELEMENTS=An,An}return Jt.ELEMENTS=null,null});return Ht.value=Yt,Ht}else if(Vs in Ue){ne=!0;var Zt=Ue[Vs];return Ot(Zt,function(Jt,Er){var An=Jt.shared,Sa=An.isBufferArgs,us=An.elements,Js=Jt.invoke(Er,Zt),el=Er.def("null"),vo=Er.def(Sa,"(",Js,")"),th=Jt.cond(vo).then(el,"=",us,".createStream(",Js,");").else(el,"=",us,".getElements(",Js,");");return Er.entry(th),Er.exit(Jt.cond(vo).then(us,".destroyStream(",el,");")),Jt.ELEMENTS=el,el})}else if(Ae)return new st(_e.thisDep,_e.contextDep,_e.propDep,function(Jt,Er){return Er.def(Jt.shared.vao+".currentVAO?"+Jt.shared.elements+".getElements("+Jt.shared.vao+".currentVAO.elements):null")});return null}var re=pe();function De(){if(Ys in se){var Yt=se[Ys];return ke.primitive=Yt,lt(function(Ht,Zt){return Fn[Yt]})}else if(Ys in Ue){var lr=Ue[Ys];return Ot(lr,function(Ht,Zt){var Jt=Ht.constants.primTypes,Er=Ht.invoke(Zt,lr);return Zt.def(Jt,"[",Er,"]")})}else{if(ne)return Et(re)?re.value?lt(function(Ht,Zt){return Zt.def(Ht.ELEMENTS,".primType")}):lt(function(){return c}):new st(re.thisDep,re.contextDep,re.propDep,function(Ht,Zt){var Jt=Ht.ELEMENTS;return Zt.def(Jt,"?",Jt,".primType:",c)});if(Ae)return new st(_e.thisDep,_e.contextDep,_e.propDep,function(Ht,Zt){return Zt.def(Ht.shared.vao+".currentVAO?"+Ht.shared.vao+".currentVAO.primitive:"+c)})}return null}function Ve(Yt,lr){if(Yt in se){var Ht=se[Yt]|0;return lr?ke.offset=Ht:ke.instances=Ht,lt(function(Jt,Er){return lr&&(Jt.OFFSET=Ht),Ht})}else if(Yt in Ue){var Zt=Ue[Yt];return Ot(Zt,function(Jt,Er){var An=Jt.invoke(Er,Zt);return lr&&(Jt.OFFSET=An),An})}else if(lr){if(ne)return lt(function(Jt,Er){return Jt.OFFSET=0,0});if(Ae)return new st(_e.thisDep,_e.contextDep,_e.propDep,function(Jt,Er){return Er.def(Jt.shared.vao+".currentVAO?"+Jt.shared.vao+".currentVAO.offset:0")})}else if(Ae)return new st(_e.thisDep,_e.contextDep,_e.propDep,function(Jt,Er){return Er.def(Jt.shared.vao+".currentVAO?"+Jt.shared.vao+".currentVAO.instances:-1")});return null}var at=Ve(qc,!0);function or(){if(li in se){var Yt=se[li]|0;return ke.count=Yt,lt(function(){return Yt})}else if(li in Ue){var lr=Ue[li];return Ot(lr,function(Er,An){var Sa=Er.invoke(An,lr);return Sa})}else if(ne)if(Et(re)){if(re)return at?new st(at.thisDep,at.contextDep,at.propDep,function(Er,An){var Sa=An.def(Er.ELEMENTS,".vertCount-",Er.OFFSET);return Sa}):lt(function(Er,An){return An.def(Er.ELEMENTS,".vertCount")});var Ht=lt(function(){return-1});return Ht}else{var Zt=new st(re.thisDep||at.thisDep,re.contextDep||at.contextDep,re.propDep||at.propDep,function(Er,An){var Sa=Er.ELEMENTS;return Er.OFFSET?An.def(Sa,"?",Sa,".vertCount-",Er.OFFSET,":-1"):An.def(Sa,"?",Sa,".vertCount:-1")});return Zt}else if(Ae){var Jt=new st(_e.thisDep,_e.contextDep,_e.propDep,function(Er,An){return An.def(Er.shared.vao,".currentVAO?",Er.shared.vao,".currentVAO.count:-1")});return Jt}return null}var er=De(),jt=or(),ir=Ve(Gc,!1);return{elements:re,primitive:er,count:jt,instances:ir,offset:at,vao:_e,vaoActive:Ae,elementsActive:ne,static:ke}}function yn(X,J){var se=X.static,Ue=X.dynamic,ke={};return it.forEach(function(Ae){var Se=qe(Ae);function _e(ne,pe){if(Ae in se){var re=ne(se[Ae]);ke[Se]=lt(function(){return re})}else if(Ae in Ue){var De=Ue[Ae];ke[Se]=Ot(De,function(Ve,at){return pe(Ve,at,Ve.invoke(at,De))})}}switch(Ae){case $g:case Fg:case Ng:case xa:case Mp:case zg:case lf:case $p:case zp:case sf:return _e(function(ne){return ne},function(ne,pe,re){return re});case Np:return _e(function(ne){return ue[ne]},function(ne,pe,re){var De=ne.constants.compareFuncs;return pe.def(De,"[",re,"]")});case Bg:return _e(function(ne){return ne},function(ne,pe,re){var De=pe.def("+",re,"[0]"),Ve=pe.def("+",re,"[1]");return[De,Ve]});case zc:return _e(function(ne){var pe="srcRGB"in ne?ne.srcRGB:ne.src,re="srcAlpha"in ne?ne.srcAlpha:ne.src,De="dstRGB"in ne?ne.dstRGB:ne.dst,Ve="dstAlpha"in ne?ne.dstAlpha:ne.dst;return[te[pe],te[De],te[re],te[Ve]]},function(ne,pe,re){var De=ne.constants.blendFuncs;function Ve(lr,Ht){var Zt=pe.def('"',lr,Ht,'" in ',re,"?",re,".",lr,Ht,":",re,".",lr);return Zt}var at=Ve("src","RGB"),or=Ve("dst","RGB"),er=pe.def(De,"[",at,"]"),jt=pe.def(De,"[",Ve("src","Alpha"),"]"),ir=pe.def(De,"[",or,"]"),Yt=pe.def(De,"[",Ve("dst","Alpha"),"]");return[er,ir,jt,Yt]});case $c:return _e(function(ne){if(typeof ne=="string")return[vt[ne],vt[ne]];if(typeof ne=="object")return[vt[ne.rgb],vt[ne.alpha]]},function(ne,pe,re){var De=ne.constants.blendEquations,Ve=pe.def(),at=pe.def(),or=ne.cond("typeof ",re,'==="string"');return or.then(Ve,"=",at,"=",De,"[",re,"];"),or.else(Ve,"=",De,"[",re,".rgb];",at,"=",De,"[",re,".alpha];"),pe(or),[Ve,at]});case Lg:return _e(function(ne){return ae(4,function(pe){return+ne[pe]})},function(ne,pe,re){return ae(4,function(De){return pe.def("+",re,"[",De,"]")})});case jp:return _e(function(ne){return ne|0},function(ne,pe,re){return pe.def(re,"|0")});case Up:return _e(function(ne){var pe=ne.cmp||"keep",re=ne.ref||0,De="mask"in ne?ne.mask:-1;return[ue[pe],re,De]},function(ne,pe,re){var De=ne.constants.compareFuncs,Ve=pe.def('"cmp" in ',re,"?",De,"[",re,".cmp]",":",j),at=pe.def(re,".ref|0"),or=pe.def('"mask" in ',re,"?",re,".mask|0:-1");return[Ve,at,or]});case cf:case is:return _e(function(ne){var pe=ne.fail||"keep",re=ne.zfail||"keep",De=ne.zpass||"keep";return[Ae===is?b:h,ye[pe],ye[re],ye[De]]},function(ne,pe,re){var De=ne.constants.stencilOps;function Ve(at){return pe.def('"',at,'" in ',re,"?",De,"[",re,".",at,"]:",j)}return[Ae===is?b:h,Ve("fail"),Ve("zfail"),Ve("zpass")]});case Hs:return _e(function(ne){var pe=ne.factor|0,re=ne.units|0;return[pe,re]},function(ne,pe,re){var De=pe.def(re,".factor|0"),Ve=pe.def(re,".units|0");return[De,Ve]});case Lp:return _e(function(ne){var pe=0;return ne==="front"?pe=h:ne==="back"&&(pe=b),pe},function(ne,pe,re){return pe.def(re,'==="front"?',h,":",b)});case Bp:return _e(function(ne){return ne},function(ne,pe,re){return re});case jc:return _e(function(ne){return xe[ne]},function(ne,pe,re){return pe.def(re+'==="cw"?'+_+":"+E)});case Fp:return _e(function(ne){return ne.map(function(pe){return!!pe})},function(ne,pe,re){return ae(4,function(De){return"!!"+re+"["+De+"]"})});case ff:return _e(function(ne){var pe="value"in ne?ne.value:1,re=!!ne.invert;return[pe,re]},function(ne,pe,re){var De=pe.def('"value" in ',re,"?+",re,".value:1"),Ve=pe.def("!!",re,".invert");return[De,Ve]})}}),ke}function zi(X,J){var se=X.static,Ue=X.dynamic,ke={};return Object.keys(se).forEach(function(Ae){var Se=se[Ae],_e;if(typeof Se=="number"||typeof Se=="boolean")_e=lt(function(){return Se});else if(typeof Se=="function"){var ne=Se._reglType;ne==="texture2d"||ne==="textureCube"?_e=lt(function(pe){return pe.link(Se)}):(ne==="framebuffer"||ne==="framebufferCube")&&(_e=lt(function(pe){return pe.link(Se.color[0])}))}else Xi(Se)&&(_e=lt(function(pe){var re=pe.global.def("[",ae(Se.length,function(De){return Se[De]}),"]");return re}));_e.value=Se,ke[Ae]=_e}),Object.keys(Ue).forEach(function(Ae){var Se=Ue[Ae];ke[Ae]=Ot(Se,function(_e,ne){return _e.invoke(ne,Se)})}),ke}function _a(X,J){var se=X.static,Ue=X.dynamic,ke={};return Object.keys(se).forEach(function(Ae){var Se=se[Ae],_e=Z.id(Ae),ne=new Ge;if(ce(Se))ne.state=rs,ne.buffer=Xe.getBuffer(Xe.create(Se,os,!1,!0)),ne.type=0;else{var pe=Xe.getBuffer(Se);if(pe)ne.state=rs,ne.buffer=pe,ne.type=0;else if("constant"in Se){var re=Se.constant;ne.buffer="null",ne.state=of,typeof re=="number"?ne.x=re:ts.forEach(function(ir,Yt){Yt<re.length&&(ne[ir]=re[Yt])})}else{ce(Se.buffer)?pe=Xe.getBuffer(Xe.create(Se.buffer,os,!1,!0)):pe=Xe.getBuffer(Se.buffer);var De=Se.offset|0,Ve=Se.stride|0,at=Se.size|0,or=!!Se.normalized,er=0;"type"in Se&&(er=iu[Se.type]);var jt=Se.divisor|0;ne.buffer=pe,ne.state=rs,ne.size=at,ne.normalized=or,ne.type=er||pe.dtype,ne.offset=De,ne.stride=Ve,ne.divisor=jt}}ke[Ae]=lt(function(ir,Yt){var lr=ir.attribCache;if(_e in lr)return lr[_e];var Ht={isStream:!1};return Object.keys(ne).forEach(function(Zt){Ht[Zt]=ne[Zt]}),ne.buffer&&(Ht.buffer=ir.link(ne.buffer),Ht.type=Ht.type||Ht.buffer+".dtype"),lr[_e]=Ht,Ht})}),Object.keys(Ue).forEach(function(Ae){var Se=Ue[Ae];function _e(ne,pe){var re=ne.invoke(pe,Se),De=ne.shared,Ve=ne.constants,at=De.isBufferArgs,or=De.buffer,er={isStream:pe.def(!1)},jt=new Ge;jt.state=rs,Object.keys(jt).forEach(function(Ht){er[Ht]=pe.def(""+jt[Ht])});var ir=er.buffer,Yt=er.type;pe("if(",at,"(",re,")){",er.isStream,"=true;",ir,"=",or,".createStream(",os,",",re,");",Yt,"=",ir,".dtype;","}else{",ir,"=",or,".getBuffer(",re,");","if(",ir,"){",Yt,"=",ir,".dtype;",'}else if("constant" in ',re,"){",er.state,"=",of,";","if(typeof "+re+'.constant === "number"){',er[ts[0]],"=",re,".constant;",ts.slice(1).map(function(Ht){return er[Ht]}).join("="),"=0;","}else{",ts.map(function(Ht,Zt){return er[Ht]+"="+re+".constant.length>"+Zt+"?"+re+".constant["+Zt+"]:0;"}).join(""),"}}else{","if(",at,"(",re,".buffer)){",ir,"=",or,".createStream(",os,",",re,".buffer);","}else{",ir,"=",or,".getBuffer(",re,".buffer);","}",Yt,'="type" in ',re,"?",Ve.glTypes,"[",re,".type]:",ir,".dtype;",er.normalized,"=!!",re,".normalized;");function lr(Ht){pe(er[Ht],"=",re,".",Ht,"|0;")}return lr("size"),lr("offset"),lr("stride"),lr("divisor"),pe("}}"),pe.exit("if(",er.isStream,"){",or,".destroyStream(",ir,");","}"),er}ke[Ae]=Ot(Se,_e)}),ke}function Zi(X){var J=X.static,se=X.dynamic,Ue={};return Object.keys(J).forEach(function(ke){var Ae=J[ke];Ue[ke]=lt(function(Se,_e){return typeof Ae=="number"||typeof Ae=="boolean"?""+Ae:Se.link(Ae)})}),Object.keys(se).forEach(function(ke){var Ae=se[ke];Ue[ke]=Ot(Ae,function(Se,_e){return Se.invoke(_e,Ae)})}),Ue}function Uo(X,J,se,Ue,ke){X.static,X.dynamic;var Ae=ci(X,J),Se=Wr(X),_e=Yr(X,Se),ne=wa(X),pe=yn(X),re=qr(X,ke,Ae);function De(ir){var Yt=_e[ir];Yt&&(pe[ir]=Yt)}De(zo),De(qe(Uc));var Ve=Object.keys(pe).length>0,at={framebuffer:Se,draw:ne,shader:re,state:pe,dirty:Ve,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(at.profile=Mr(X),at.uniforms=zi(se),at.drawVAO=at.scopeVAO=ne.vao,!at.drawVAO&&re.program&&!Ae&&ie.angle_instanced_arrays&&ne.static.elements){var or=!0,er=re.program.attributes.map(function(ir){var Yt=J.static[ir];return or=or&&!!Yt,Yt});if(or&&er.length>0){var jt=St.getVAO(St.createVAO({attributes:er,elements:ne.static.elements}));at.drawVAO=new st(null,null,null,function(ir,Yt){return ir.link(jt)}),at.useVAO=!0}}return Ae?at.useVAO=!0:at.attributes=_a(J),at.context=Zi(Ue),at}function di(X,J,se){var Ue=X.shared,ke=Ue.context,Ae=X.scope();Object.keys(se).forEach(function(Se){J.save(ke,"."+Se);var _e=se[Se],ne=_e.append(X,J);Array.isArray(ne)?Ae(ke,".",Se,"=[",ne.join(),"];"):Ae(ke,".",Se,"=",ne,";")}),J(Ae)}function pi(X,J,se,Ue){var ke=X.shared,Ae=ke.gl,Se=ke.framebuffer,_e;rt&&(_e=J.def(ke.extensions,".webgl_draw_buffers"));var ne=X.constants,pe=ne.drawBuffer,re=ne.backBuffer,De;se?De=se.append(X,J):De=J.def(Se,".next"),Ue||J("if(",De,"!==",Se,".cur){"),J("if(",De,"){",Ae,".bindFramebuffer(",me,",",De,".framebuffer);"),rt&&J(_e,".drawBuffersWEBGL(",pe,"[",De,".colorAttachments.length]);"),J("}else{",Ae,".bindFramebuffer(",me,",null);"),rt&&J(_e,".drawBuffersWEBGL(",re,");"),J("}",Se,".cur=",De,";"),Ue||J("}")}function Ar(X,J,se){var Ue=X.shared,ke=Ue.gl,Ae=X.current,Se=X.next,_e=Ue.current,ne=Ue.next,pe=X.cond(_e,".dirty");it.forEach(function(re){var De=qe(re);if(!(De in se.state)){var Ve,at;if(De in Se){Ve=Se[De],at=Ae[De];var or=ae(Rt[De].length,function(jt){return pe.def(Ve,"[",jt,"]")});pe(X.cond(or.map(function(jt,ir){return jt+"!=="+at+"["+ir+"]"}).join("||")).then(ke,".",zt[De],"(",or,");",or.map(function(jt,ir){return at+"["+ir+"]="+jt}).join(";"),";"))}else{Ve=pe.def(ne,".",De);var er=X.cond(Ve,"!==",_e,".",De);pe(er),De in Qe?er(X.cond(Ve).then(ke,".enable(",Qe[De],");").else(ke,".disable(",Qe[De],");"),_e,".",De,"=",Ve,";"):er(ke,".",zt[De],"(",Ve,");",_e,".",De,"=",Ve,";")}}}),Object.keys(se.state).length===0&&pe(_e,".dirty=false;"),J(pe)}function Ha(X,J,se,Ue){var ke=X.shared,Ae=X.current,Se=ke.current,_e=ke.gl,ne;Ze(Object.keys(se)).forEach(function(pe){var re=se[pe];if(!(Ue&&!Ue(re))){var De=re.append(X,J);if(Qe[pe]){var Ve=Qe[pe];Et(re)?(ne=X.link(De,{stable:!0}),J(X.cond(ne).then(_e,".enable(",Ve,");").else(_e,".disable(",Ve,");")),J(Se,".",pe,"=",ne,";")):(J(X.cond(De).then(_e,".enable(",Ve,");").else(_e,".disable(",Ve,");")),J(Se,".",pe,"=",De,";"))}else if(Xi(De)){var at=Ae[pe];J(_e,".",zt[pe],"(",De,");",De.map(function(or,er){return at+"["+er+"]="+or}).join(";"),";")}else Et(re)?(ne=X.link(De,{stable:!0}),J(_e,".",zt[pe],"(",ne,");",Se,".",pe,"=",ne,";")):J(_e,".",zt[pe],"(",De,");",Se,".",pe,"=",De,";")}})}function cn(X,J){wt&&(X.instancing=J.def(X.shared.extensions,".angle_instanced_arrays"))}function hi(X,J,se,Ue,ke){var Ae=X.shared,Se=X.stats,_e=Ae.current,ne=Ae.timer,pe=se.profile;function re(){return typeof performance>"u"?"Date.now()":"performance.now()"}var De,Ve;function at(lr){De=J.def(),lr(De,"=",re(),";"),typeof ke=="string"?lr(Se,".count+=",ke,";"):lr(Se,".count++;"),Tt&&(Ue?(Ve=J.def(),lr(Ve,"=",ne,".getNumPendingQueries();")):lr(ne,".beginQuery(",Se,");"))}function or(lr){lr(Se,".cpuTime+=",re(),"-",De,";"),Tt&&(Ue?lr(ne,".pushScopeStats(",Ve,",",ne,".getNumPendingQueries(),",Se,");"):lr(ne,".endQuery();"))}function er(lr){var Ht=J.def(_e,".profile");J(_e,".profile=",lr,";"),J.exit(_e,".profile=",Ht,";")}var jt;if(pe){if(Et(pe)){pe.enable?(at(J),or(J.exit),er("true")):er("false");return}jt=pe.append(X,J),er(jt)}else jt=J.def(_e,".profile");var ir=X.block();at(ir),J("if(",jt,"){",ir,"}");var Yt=X.block();or(Yt),J.exit("if(",jt,"){",Yt,"}")}function fa(X,J,se,Ue,ke){var Ae=X.shared;function Se(ne){switch(ne){case Yc:case Vp:case Xp:return 2;case jo:case gf:case Qp:return 3;case Ks:case Zs:case Kp:return 4;default:return 1}}function _e(ne,pe,re){var De=Ae.gl,Ve=J.def(ne,".location"),at=J.def(Ae.attributes,"[",Ve,"]"),or=re.state,er=re.buffer,jt=[re.x,re.y,re.z,re.w],ir=["buffer","normalized","offset","stride"];function Yt(){J("if(!",at,".buffer){",De,".enableVertexAttribArray(",Ve,");}");var Ht=re.type,Zt;if(re.size?Zt=J.def(re.size,"||",pe):Zt=pe,J("if(",at,".type!==",Ht,"||",at,".size!==",Zt,"||",ir.map(function(Er){return at+"."+Er+"!=="+re[Er]}).join("||"),"){",De,".bindBuffer(",os,",",er,".buffer);",De,".vertexAttribPointer(",[Ve,Zt,Ht,re.normalized,re.stride,re.offset],");",at,".type=",Ht,";",at,".size=",Zt,";",ir.map(function(Er){return at+"."+Er+"="+re[Er]+";"}).join(""),"}"),wt){var Jt=re.divisor;J("if(",at,".divisor!==",Jt,"){",X.instancing,".vertexAttribDivisorANGLE(",[Ve,Jt],");",at,".divisor=",Jt,";}")}}function lr(){J("if(",at,".buffer){",De,".disableVertexAttribArray(",Ve,");",at,".buffer=null;","}if(",ts.map(function(Ht,Zt){return at+"."+Ht+"!=="+jt[Zt]}).join("||"),"){",De,".vertexAttrib4f(",Ve,",",jt,");",ts.map(function(Ht,Zt){return at+"."+Ht+"="+jt[Zt]+";"}).join(""),"}")}or===rs?Yt():or===of?lr():(J("if(",or,"===",rs,"){"),Yt(),J("}else{"),lr(),J("}"))}Ue.forEach(function(ne){var pe=ne.name,re=se.attributes[pe],De;if(re){if(!ke(re))return;De=re.append(X,J)}else{if(!ke($t))return;var Ve=X.scopeAttrib(pe);De={},Object.keys(new Ge).forEach(function(at){De[at]=J.def(Ve,".",at)})}_e(X.link(ne),Se(ne.info.type),De)})}function ca(X,J,se,Ue,ke,Ae){for(var Se=X.shared,_e=Se.gl,ne,pe=0;pe<Ue.length;++pe){var re=Ue[pe],De=re.name,Ve=re.info.type,at=se.uniforms[De],or=X.link(re),er=or+".location",jt;if(at){if(!ke(at))continue;if(Et(at)){var ir=at.value;if(Ve===eh||Ve===s){var Yt=X.link(ir._texture||ir.color[0]._texture);J(_e,".uniform1i(",er,",",Yt+".bind());"),J.exit(Yt,".unbind();")}else if(Ve===Zp||Ve===mf||Ve===Jp){var lr=X.global.def("new Float32Array(["+Array.prototype.slice.call(ir)+"])"),Ht=2;Ve===mf?Ht=3:Ve===Jp&&(Ht=4),J(_e,".uniformMatrix",Ht,"fv(",er,",false,",lr,");")}else{switch(Ve){case kn:ne="1f";break;case Yc:ne="2f";break;case jo:ne="3f";break;case Ks:ne="4f";break;case Yp:ne="1i";break;case Xc:ne="1i";break;case Xp:ne="2i";break;case Vp:ne="2i";break;case Qp:ne="3i";break;case gf:ne="3i";break;case Kp:ne="4i";break;case Zs:ne="4i";break}J(_e,".uniform",ne,"(",er,",",Xi(ir)?Array.prototype.slice.call(ir):ir,");")}continue}else jt=at.append(X,J)}else{if(!ke($t))continue;jt=J.def(Se.uniforms,"[",Z.id(De),"]")}Ve===eh?J("if(",jt,"&&",jt,'._reglType==="framebuffer"){',jt,"=",jt,".color[0];","}"):Ve===s&&J("if(",jt,"&&",jt,'._reglType==="framebufferCube"){',jt,"=",jt,".color[0];","}");var Zt=1;switch(Ve){case eh:case s:var Jt=J.def(jt,"._texture");J(_e,".uniform1i(",er,",",Jt,".bind());"),J.exit(Jt,".unbind();");continue;case Xc:case Yp:ne="1i";break;case Vp:case Xp:ne="2i",Zt=2;break;case gf:case Qp:ne="3i",Zt=3;break;case Zs:case Kp:ne="4i",Zt=4;break;case kn:ne="1f";break;case Yc:ne="2f",Zt=2;break;case jo:ne="3f",Zt=3;break;case Ks:ne="4f",Zt=4;break;case Zp:ne="Matrix2fv";break;case mf:ne="Matrix3fv";break;case Jp:ne="Matrix4fv";break}if(ne.charAt(0)==="M"){J(_e,".uniform",ne,"(",er,",");var Er=Math.pow(Ve-Zp+2,2),An=X.global.def("new Float32Array(",Er,")");Array.isArray(jt)?J("false,(",ae(Er,function(vo){return An+"["+vo+"]="+jt[vo]}),",",An,")"):J("false,(Array.isArray(",jt,")||",jt," instanceof Float32Array)?",jt,":(",ae(Er,function(vo){return An+"["+vo+"]="+jt+"["+vo+"]"}),",",An,")"),J(");")}else if(Zt>1){for(var Sa=[],us=[],Js=0;Js<Zt;++Js)Array.isArray(jt)?us.push(jt[Js]):us.push(J.def(jt+"["+Js+"]")),Ae&&Sa.push(J.def());Ae&&J("if(!",X.batchId,"||",Sa.map(function(vo,th){return vo+"!=="+us[th]}).join("||"),"){",Sa.map(function(vo,th){return vo+"="+us[th]+";"}).join("")),J(_e,".uniform",ne,"(",er,",",us.join(","),");"),Ae&&J("}")}else{if(Ae){var el=J.def();J("if(!",X.batchId,"||",el,"!==",jt,"){",el,"=",jt,";")}J(_e,".uniform",ne,"(",er,",",jt,");"),Ae&&J("}")}}}function Pr(X,J,se,Ue){var ke=X.shared,Ae=ke.gl,Se=ke.draw,_e=Ue.draw;function ne(){var Zt=_e.elements,Jt,Er=J;return Zt?((Zt.contextDep&&Ue.contextDynamic||Zt.propDep)&&(Er=se),Jt=Zt.append(X,Er),_e.elementsActive&&Er("if("+Jt+")"+Ae+".bindBuffer("+Hp+","+Jt+".buffer.buffer);")):(Jt=Er.def(),Er(Jt,"=",Se,".",Vs,";","if(",Jt,"){",Ae,".bindBuffer(",Hp,",",Jt,".buffer.buffer);}","else if(",ke.vao,".currentVAO){",Jt,"=",X.shared.elements+".getElements("+ke.vao,".currentVAO.elements);",Lt?"":"if("+Jt+")"+Ae+".bindBuffer("+Hp+","+Jt+".buffer.buffer);","}")),Jt}function pe(){var Zt=_e.count,Jt,Er=J;return Zt?((Zt.contextDep&&Ue.contextDynamic||Zt.propDep)&&(Er=se),Jt=Zt.append(X,Er)):Jt=Er.def(Se,".",li),Jt}var re=ne();function De(Zt){var Jt=_e[Zt];return Jt?Jt.contextDep&&Ue.contextDynamic||Jt.propDep?Jt.append(X,se):Jt.append(X,J):J.def(Se,".",Zt)}var Ve=De(Ys),at=De(qc),or=pe();if(typeof or=="number"){if(or===0)return}else se("if(",or,"){"),se.exit("}");var er,jt;wt&&(er=De(Gc),jt=X.instancing);var ir=re+".type",Yt=_e.elements&&Et(_e.elements)&&!_e.vaoActive;function lr(){function Zt(){se(jt,".drawElementsInstancedANGLE(",[Ve,or,ir,at+"<<(("+ir+"-"+Pp+")>>1)",er],");")}function Jt(){se(jt,".drawArraysInstancedANGLE(",[Ve,at,or,er],");")}re&&re!=="null"?Yt?Zt():(se("if(",re,"){"),Zt(),se("}else{"),Jt(),se("}")):Jt()}function Ht(){function Zt(){se(Ae+".drawElements("+[Ve,or,ir,at+"<<(("+ir+"-"+Pp+")>>1)"]+");")}function Jt(){se(Ae+".drawArrays("+[Ve,at,or]+");")}re&&re!=="null"?Yt?Zt():(se("if(",re,"){"),Zt(),se("}else{"),Jt(),se("}")):Jt()}wt&&(typeof er!="number"||er>=0)?typeof er=="string"?(se("if(",er,">0){"),lr(),se("}else if(",er,"<0){"),Ht(),se("}")):lr():Ht()}function Gr(X,J,se,Ue,ke){var Ae=Pt(),Se=Ae.proc("body",ke);return wt&&(Ae.instancing=Se.def(Ae.shared.extensions,".angle_instanced_arrays")),X(Ae,Se,se,Ue),Ae.compile().body}function wn(X,J,se,Ue){cn(X,J),se.useVAO?se.drawVAO?J(X.shared.vao,".setVAO(",se.drawVAO.append(X,J),");"):J(X.shared.vao,".setVAO(",X.shared.vao,".targetVAO);"):(J(X.shared.vao,".setVAO(null);"),fa(X,J,se,Ue.attributes,function(){return!0})),ca(X,J,se,Ue.uniforms,function(){return!0},!1),Pr(X,J,J,se)}function vi(X,J){var se=X.proc("draw",1);cn(X,se),di(X,se,J.context),pi(X,se,J.framebuffer),Ar(X,se,J),Ha(X,se,J.state),hi(X,se,J,!1,!0);var Ue=J.shader.progVar.append(X,se);if(se(X.shared.gl,".useProgram(",Ue,".program);"),J.shader.program)wn(X,se,J,J.shader.program);else{se(X.shared.vao,".setVAO(null);");var ke=X.global.def("{}"),Ae=se.def(Ue,".id"),Se=se.def(ke,"[",Ae,"]");se(X.cond(Se).then(Se,".call(this,a0);").else(Se,"=",ke,"[",Ae,"]=",X.link(function(_e){return Gr(wn,X,J,_e,1)}),"(",Ue,");",Se,".call(this,a0);"))}Object.keys(J.state).length>0&&se(X.shared.current,".dirty=true;"),X.shared.vao&&se(X.shared.vao,".setVAO(null);")}function ee(X,J,se,Ue){X.batchId="a1",cn(X,J);function ke(){return!0}fa(X,J,se,Ue.attributes,ke),ca(X,J,se,Ue.uniforms,ke,!1),Pr(X,J,J,se)}function ze(X,J,se,Ue){cn(X,J);var ke=se.contextDep,Ae=J.def(),Se="a0",_e="a1",ne=J.def();X.shared.props=ne,X.batchId=Ae;var pe=X.scope(),re=X.scope();J(pe.entry,"for(",Ae,"=0;",Ae,"<",_e,";++",Ae,"){",ne,"=",Se,"[",Ae,"];",re,"}",pe.exit);function De(ir){return ir.contextDep&&ke||ir.propDep}function Ve(ir){return!De(ir)}if(se.needsContext&&di(X,re,se.context),se.needsFramebuffer&&pi(X,re,se.framebuffer),Ha(X,re,se.state,De),se.profile&&De(se.profile)&&hi(X,re,se,!1,!0),Ue)se.useVAO?se.drawVAO?De(se.drawVAO)?re(X.shared.vao,".setVAO(",se.drawVAO.append(X,re),");"):pe(X.shared.vao,".setVAO(",se.drawVAO.append(X,pe),");"):pe(X.shared.vao,".setVAO(",X.shared.vao,".targetVAO);"):(pe(X.shared.vao,".setVAO(null);"),fa(X,pe,se,Ue.attributes,Ve),fa(X,re,se,Ue.attributes,De)),ca(X,pe,se,Ue.uniforms,Ve,!1),ca(X,re,se,Ue.uniforms,De,!0),Pr(X,pe,re,se);else{var at=X.global.def("{}"),or=se.shader.progVar.append(X,re),er=re.def(or,".id"),jt=re.def(at,"[",er,"]");re(X.shared.gl,".useProgram(",or,".program);","if(!",jt,"){",jt,"=",at,"[",er,"]=",X.link(function(ir){return Gr(ee,X,se,ir,2)}),"(",or,");}",jt,".call(this,a0[",Ae,"],",Ae,");")}}function Be(X,J){var se=X.proc("batch",2);X.batchId="0",cn(X,se);var Ue=!1,ke=!0;Object.keys(J.context).forEach(function(at){Ue=Ue||J.context[at].propDep}),Ue||(di(X,se,J.context),ke=!1);var Ae=J.framebuffer,Se=!1;Ae?(Ae.propDep?Ue=Se=!0:Ae.contextDep&&Ue&&(Se=!0),Se||pi(X,se,Ae)):pi(X,se,null),J.state.viewport&&J.state.viewport.propDep&&(Ue=!0);function _e(at){return at.contextDep&&Ue||at.propDep}Ar(X,se,J),Ha(X,se,J.state,function(at){return!_e(at)}),(!J.profile||!_e(J.profile))&&hi(X,se,J,!1,"a1"),J.contextDep=Ue,J.needsContext=ke,J.needsFramebuffer=Se;var ne=J.shader.progVar;if(ne.contextDep&&Ue||ne.propDep)ze(X,se,J,null);else{var pe=ne.append(X,se);if(se(X.shared.gl,".useProgram(",pe,".program);"),J.shader.program)ze(X,se,J,J.shader.program);else{se(X.shared.vao,".setVAO(null);");var re=X.global.def("{}"),De=se.def(pe,".id"),Ve=se.def(re,"[",De,"]");se(X.cond(Ve).then(Ve,".call(this,a0,a1);").else(Ve,"=",re,"[",De,"]=",X.link(function(at){return Gr(ze,X,J,at,2)}),"(",pe,");",Ve,".call(this,a0,a1);"))}}Object.keys(J.state).length>0&&se(X.shared.current,".dirty=true;"),X.shared.vao&&se(X.shared.vao,".setVAO(null);")}function Qt(X,J){var se=X.proc("scope",3);X.batchId="a2";var Ue=X.shared,ke=Ue.current;if(di(X,se,J.context),J.framebuffer&&J.framebuffer.append(X,se),Ze(Object.keys(J.state)).forEach(function(_e){var ne=J.state[_e],pe=ne.append(X,se);Xi(pe)?pe.forEach(function(re,De){nr(re)?se.set(X.next[_e],"["+De+"]",re):se.set(X.next[_e],"["+De+"]",X.link(re,{stable:!0}))}):Et(ne)?se.set(Ue.next,"."+_e,X.link(pe,{stable:!0})):se.set(Ue.next,"."+_e,pe)}),hi(X,se,J,!0,!0),[Vs,qc,li,Gc,Ys].forEach(function(_e){var ne=J.draw[_e];if(!!ne){var pe=ne.append(X,se);nr(pe)?se.set(Ue.draw,"."+_e,pe):se.set(Ue.draw,"."+_e,X.link(pe),{stable:!0})}}),Object.keys(J.uniforms).forEach(function(_e){var ne=J.uniforms[_e].append(X,se);Array.isArray(ne)&&(ne="["+ne.map(function(pe){return nr(pe)?pe:X.link(pe,{stable:!0})})+"]"),se.set(Ue.uniforms,"["+X.link(Z.id(_e),{stable:!0})+"]",ne)}),Object.keys(J.attributes).forEach(function(_e){var ne=J.attributes[_e].append(X,se),pe=X.scopeAttrib(_e);Object.keys(new Ge).forEach(function(re){se.set(pe,"."+re,ne[re])})}),J.scopeVAO){var Ae=J.scopeVAO.append(X,se);nr(Ae)?se.set(Ue.vao,".targetVAO",Ae):se.set(Ue.vao,".targetVAO",X.link(Ae,{stable:!0}))}function Se(_e){var ne=J.shader[_e];if(ne){var pe=ne.append(X,se);nr(pe)?se.set(Ue.shader,"."+_e,pe):se.set(Ue.shader,"."+_e,X.link(pe,{stable:!0}))}}Se(df),Se(Wc),Object.keys(J.state).length>0&&(se(ke,".dirty=true;"),se.exit(ke,".dirty=true;")),se("a1(",X.shared.context,",a0,",X.batchId,");")}function Br(X){if(!(typeof X!="object"||Xi(X))){for(var J=Object.keys(X),se=0;se<J.length;++se)if(C.isDynamic(X[J[se]]))return!0;return!1}}function Cn(X,J,se){var Ue=J.static[se];if(!Ue||!Br(Ue))return;var ke=X.global,Ae=Object.keys(Ue),Se=!1,_e=!1,ne=!1,pe=X.global.def("{}");Ae.forEach(function(De){var Ve=Ue[De];if(C.isDynamic(Ve)){typeof Ve=="function"&&(Ve=Ue[De]=C.unbox(Ve));var at=Ot(Ve,null);Se=Se||at.thisDep,ne=ne||at.propDep,_e=_e||at.contextDep}else{switch(ke(pe,".",De,"="),typeof Ve){case"number":ke(Ve);break;case"string":ke('"',Ve,'"');break;case"object":Array.isArray(Ve)&&ke("[",Ve.join(),"]");break;default:ke(X.link(Ve));break}ke(";")}});function re(De,Ve){Ae.forEach(function(at){var or=Ue[at];if(!!C.isDynamic(or)){var er=De.invoke(Ve,or);Ve(pe,".",at,"=",er,";")}})}J.dynamic[se]=new C.DynamicVariable(ns,{thisDep:Se,contextDep:_e,propDep:ne,ref:pe,append:re}),delete J.static[se]}function Kt(X,J,se,Ue,ke){var Ae=Pt();Ae.stats=Ae.link(ke),Object.keys(J.static).forEach(function(_e){Cn(Ae,J,_e)}),cb.forEach(function(_e){Cn(Ae,X,_e)});var Se=Uo(X,J,se,Ue,Ae);return Se.shader.program&&(Se.shader.program.attributes.sort(function(_e,ne){return _e.name<ne.name?-1:1}),Se.shader.program.uniforms.sort(function(_e,ne){return _e.name<ne.name?-1:1})),vi(Ae,Se),Qt(Ae,Se),Be(Ae,Se),r(Ae.compile(),{destroy:function(){Se.shader.program.destroy()}})}return{next:rr,current:Rt,procs:function(){var X=Pt(),J=X.proc("poll"),se=X.proc("refresh"),Ue=X.block();J(Ue),se(Ue);var ke=X.shared,Ae=ke.gl,Se=ke.next,_e=ke.current;Ue(_e,".dirty=false;"),pi(X,J),pi(X,se,null,!0);var ne;wt&&(ne=X.link(wt)),ie.oes_vertex_array_object&&se(X.link(ie.oes_vertex_array_object),".bindVertexArrayOES(null);");var pe=se.def(ke.attributes),re=se.def(0),De=X.cond(re,".buffer");De.then(Ae,".enableVertexAttribArray(i);",Ae,".bindBuffer(",os,",",re,".buffer.buffer);",Ae,".vertexAttribPointer(i,",re,".size,",re,".type,",re,".normalized,",re,".stride,",re,".offset);").else(Ae,".disableVertexAttribArray(i);",Ae,".vertexAttrib4f(i,",re,".x,",re,".y,",re,".z,",re,".w);",re,".buffer=null;");var Ve=X.link(We.maxAttributes,{stable:!0});return se("for(var i=0;i<",Ve,";++i){",re,"=",pe,"[i];",De,"}"),wt&&se("for(var i=0;i<",Ve,";++i){",ne,".vertexAttribDivisorANGLE(i,",pe,"[i].divisor);","}"),se(X.shared.vao,".currentVAO=null;",X.shared.vao,".setVAO(",X.shared.vao,".targetVAO);"),Object.keys(Qe).forEach(function(at){var or=Qe[at],er=Ue.def(Se,".",at),jt=X.block();jt("if(",er,"){",Ae,".enable(",or,")}else{",Ae,".disable(",or,")}",_e,".",at,"=",er,";"),se(jt),J("if(",er,"!==",_e,".",at,"){",jt,"}")}),Object.keys(zt).forEach(function(at){var or=zt[at],er=Rt[at],jt,ir,Yt=X.block();if(Yt(Ae,".",or,"("),Xi(er)){var lr=er.length;jt=X.global.def(Se,".",at),ir=X.global.def(_e,".",at),Yt(ae(lr,function(Ht){return jt+"["+Ht+"]"}),");",ae(lr,function(Ht){return ir+"["+Ht+"]="+jt+"["+Ht+"];"}).join("")),J("if(",ae(lr,function(Ht){return jt+"["+Ht+"]!=="+ir+"["+Ht+"]"}).join("||"),"){",Yt,"}")}else jt=Ue.def(Se,".",at),ir=Ue.def(_e,".",at),Yt(jt,");",_e,".",at,"=",jt,";"),J("if(",jt,"!==",ir,"){",Yt,"}");se(Yt)}),X.compile()}(),compile:Kt}}function qt(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var vr=34918,jr=34919,En=35007,Qr=function(F,Z){if(!Z.ext_disjoint_timer_query)return null;var ie=[];function We(){return ie.pop()||Z.ext_disjoint_timer_query.createQueryEXT()}function Xe(vt){ie.push(vt)}var $e=[];function je(vt){var wt=We();Z.ext_disjoint_timer_query.beginQueryEXT(En,wt),$e.push(wt),Tt($e.length-1,$e.length,vt)}function gt(){Z.ext_disjoint_timer_query.endQueryEXT(En)}function mt(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var St=[];function kt(){return St.pop()||new mt}function tr(vt){St.push(vt)}var Vt=[];function Tt(vt,wt,rt){var Lt=kt();Lt.startQueryIndex=vt,Lt.endQueryIndex=wt,Lt.sum=0,Lt.stats=rt,Vt.push(Lt)}var ct=[],Ee=[];function Ge(){var vt,wt,rt=$e.length;if(rt!==0){Ee.length=Math.max(Ee.length,rt+1),ct.length=Math.max(ct.length,rt+1),ct[0]=0,Ee[0]=0;var Lt=0;for(vt=0,wt=0;wt<$e.length;++wt){var Rt=$e[wt];Z.ext_disjoint_timer_query.getQueryObjectEXT(Rt,jr)?(Lt+=Z.ext_disjoint_timer_query.getQueryObjectEXT(Rt,vr),Xe(Rt)):$e[vt++]=Rt,ct[wt+1]=Lt,Ee[wt+1]=vt}for($e.length=vt,vt=0,wt=0;wt<Vt.length;++wt){var rr=Vt[wt],it=rr.startQueryIndex,Qe=rr.endQueryIndex;rr.sum+=ct[Qe]-ct[it];var zt=Ee[it],qe=Ee[Qe];qe===zt?(rr.stats.gpuTime+=rr.sum/1e6,tr(rr)):(rr.startQueryIndex=zt,rr.endQueryIndex=qe,Vt[vt++]=rr)}Vt.length=vt}}return{beginQuery:je,endQuery:gt,pushScopeStats:Tt,update:Ge,getNumPendingQueries:function(){return $e.length},clear:function(){ie.push.apply(ie,$e);for(var vt=0;vt<ie.length;vt++)Z.ext_disjoint_timer_query.deleteQueryEXT(ie[vt]);$e.length=0,ie.length=0},restore:function(){$e.length=0,ie.length=0}}},Ct=16384,wr=256,Cr=1024,Ur=34962,mn="webglcontextlost",Dn="webglcontextrestored",Vn=1,Ai=2,$i=3;function fi(F,Z){for(var ie=0;ie<F.length;++ie)if(F[ie]===Z)return ie;return-1}function Ki(F){var Z=L(F);if(!Z)return null;var ie=Z.gl,We=ie.getContextAttributes();ie.isContextLost();var Xe=$(ie,Z);if(!Xe)return null;var $e=w(),je=qt(),gt=Z.cachedCode||{},mt=Xe.extensions,St=Qr(ie,mt),kt=S(),tr=ie.drawingBufferWidth,Vt=ie.drawingBufferHeight,Tt={tick:0,time:0,viewportWidth:tr,viewportHeight:Vt,framebufferWidth:tr,framebufferHeight:Vt,drawingBufferWidth:tr,drawingBufferHeight:Vt,pixelRatio:Z.pixelRatio},ct={},Ee={elements:null,primitive:4,count:-1,offset:0,instances:-1},Ge=zu(ie,mt),vt=Ps(ie,je,Z,Lt),wt=su(ie,mt,vt,je),rt=ei(ie,mt,Ge,je,vt,wt,Ee);function Lt(Pr){return rt.destroyBuffer(Pr)}var Rt=Ci(ie,$e,je,Z),rr=ln(ie,mt,Ge,function(){zt.procs.poll()},Tt,je,Z),it=qs(ie,mt,Ge,je,Z),Qe=br(ie,mt,Ge,rr,it,je),zt=xr(ie,$e,mt,Ge,vt,wt,rr,Qe,ct,rt,Rt,Ee,Tt,St,gt,Z),qe=Tg(ie,Qe,zt.procs.poll,Tt),Dt=zt.next,_t=ie.canvas,nr=[],Dr=[],Ut=[],dr=[Z.onDestroy],Pt=null;function Mr(){if(nr.length===0){St&&St.update(),Pt=null;return}Pt=O.next(Mr),pi();for(var Pr=nr.length-1;Pr>=0;--Pr){var Gr=nr[Pr];Gr&&Gr(Tt,null,0)}ie.flush(),St&&St.update()}function Wr(){!Pt&&nr.length>0&&(Pt=O.next(Mr))}function Yr(){Pt&&(O.cancel(Mr),Pt=null)}function ci(Pr){Pr.preventDefault(),Yr(),Dr.forEach(function(Gr){Gr()})}function qr(Pr){ie.getError(),Xe.restore(),Rt.restore(),vt.restore(),rr.restore(),it.restore(),Qe.restore(),rt.restore(),St&&St.restore(),zt.procs.refresh(),Wr(),Ut.forEach(function(Gr){Gr()})}_t&&(_t.addEventListener(mn,ci,!1),_t.addEventListener(Dn,qr,!1));function wa(){nr.length=0,Yr(),_t&&(_t.removeEventListener(mn,ci),_t.removeEventListener(Dn,qr)),Rt.clear(),Qe.clear(),it.clear(),rt.clear(),rr.clear(),wt.clear(),vt.clear(),St&&St.clear(),dr.forEach(function(Pr){Pr()})}function yn(Pr){function Gr(ke){var Ae=r({},ke);delete Ae.uniforms,delete Ae.attributes,delete Ae.context,delete Ae.vao,"stencil"in Ae&&Ae.stencil.op&&(Ae.stencil.opBack=Ae.stencil.opFront=Ae.stencil.op,delete Ae.stencil.op);function Se(_e){if(_e in Ae){var ne=Ae[_e];delete Ae[_e],Object.keys(ne).forEach(function(pe){Ae[_e+"."+pe]=ne[pe]})}}return Se("blend"),Se("depth"),Se("cull"),Se("stencil"),Se("polygonOffset"),Se("scissor"),Se("sample"),"vao"in ke&&(Ae.vao=ke.vao),Ae}function wn(ke,Ae){var Se={},_e={};return Object.keys(ke).forEach(function(ne){var pe=ke[ne];if(C.isDynamic(pe)){_e[ne]=C.unbox(pe,ne);return}else if(Ae&&Array.isArray(pe)){for(var re=0;re<pe.length;++re)if(C.isDynamic(pe[re])){_e[ne]=C.unbox(pe,ne);return}}Se[ne]=pe}),{dynamic:_e,static:Se}}var vi=wn(Pr.context||{},!0),ee=wn(Pr.uniforms||{},!0),ze=wn(Pr.attributes||{},!1),Be=wn(Gr(Pr),!1),Qt={gpuTime:0,cpuTime:0,count:0},Br=zt.compile(Be,ze,ee,vi,Qt),Cn=Br.draw,Kt=Br.batch,X=Br.scope,J=[];function se(ke){for(;J.length<ke;)J.push(null);return J}function Ue(ke,Ae){var Se;if(typeof ke=="function")return X.call(this,null,ke,0);if(typeof Ae=="function")if(typeof ke=="number")for(Se=0;Se<ke;++Se)X.call(this,null,Ae,Se);else if(Array.isArray(ke))for(Se=0;Se<ke.length;++Se)X.call(this,ke[Se],Ae,Se);else return X.call(this,ke,Ae,0);else if(typeof ke=="number"){if(ke>0)return Kt.call(this,se(ke|0),ke|0)}else if(Array.isArray(ke)){if(ke.length)return Kt.call(this,ke,ke.length)}else return Cn.call(this,ke)}return r(Ue,{stats:Qt,destroy:function(){Br.destroy()}})}var zi=Qe.setFBO=yn({framebuffer:C.define.call(null,Vn,"framebuffer")});function _a(Pr,Gr){var wn=0;zt.procs.poll();var vi=Gr.color;vi&&(ie.clearColor(+vi[0]||0,+vi[1]||0,+vi[2]||0,+vi[3]||0),wn|=Ct),"depth"in Gr&&(ie.clearDepth(+Gr.depth),wn|=wr),"stencil"in Gr&&(ie.clearStencil(Gr.stencil|0),wn|=Cr),ie.clear(wn)}function Zi(Pr){if("framebuffer"in Pr)if(Pr.framebuffer&&Pr.framebuffer_reglType==="framebufferCube")for(var Gr=0;Gr<6;++Gr)zi(r({framebuffer:Pr.framebuffer.faces[Gr]},Pr),_a);else zi(Pr,_a);else _a(null,Pr)}function Uo(Pr){nr.push(Pr);function Gr(){var wn=fi(nr,Pr);function vi(){var ee=fi(nr,vi);nr[ee]=nr[nr.length-1],nr.length-=1,nr.length<=0&&Yr()}nr[wn]=vi}return Wr(),{cancel:Gr}}function di(){var Pr=Dt.viewport,Gr=Dt.scissor_box;Pr[0]=Pr[1]=Gr[0]=Gr[1]=0,Tt.viewportWidth=Tt.framebufferWidth=Tt.drawingBufferWidth=Pr[2]=Gr[2]=ie.drawingBufferWidth,Tt.viewportHeight=Tt.framebufferHeight=Tt.drawingBufferHeight=Pr[3]=Gr[3]=ie.drawingBufferHeight}function pi(){Tt.tick+=1,Tt.time=Ha(),di(),zt.procs.poll()}function Ar(){rr.refresh(),di(),zt.procs.refresh(),St&&St.update()}function Ha(){return(S()-kt)/1e3}Ar();function cn(Pr,Gr){var wn;switch(Pr){case"frame":return Uo(Gr);case"lost":wn=Dr;break;case"restore":wn=Ut;break;case"destroy":wn=dr;break}return wn.push(Gr),{cancel:function(){for(var vi=0;vi<wn.length;++vi)if(wn[vi]===Gr){wn[vi]=wn[wn.length-1],wn.pop();return}}}}function hi(){return gt}function fa(Pr){Object.entries(Pr).forEach(function(Gr){gt[Gr[0]]=Gr[1]})}var ca=r(yn,{clear:Zi,prop:C.define.bind(null,Vn),context:C.define.bind(null,Ai),this:C.define.bind(null,$i),draw:yn({}),buffer:function(Pr){return vt.create(Pr,Ur,!1,!1)},elements:function(Pr){return wt.create(Pr,!1)},texture:rr.create2D,cube:rr.createCube,renderbuffer:it.create,framebuffer:Qe.create,framebufferCube:Qe.createCube,vao:rt.createVAO,attributes:We,frame:Uo,on:cn,limits:Ge,hasExtension:function(Pr){return Ge.extensions.indexOf(Pr.toLowerCase())>=0},read:qe,destroy:wa,_gl:ie,_refresh:Ar,poll:function(){pi(),St&&St.update()},now:Ha,stats:je,getCachedCode:hi,preloadCachedCode:fa});return Z.onDone(null,ca),ca}return Ki})})(o6);var Pse=Hl,kse=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},zP(t)?t={container:t}:Dse(t)?t={container:t}:Mse(t)?t={gl:t}:t=Pse(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=en.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}zP(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=jP(),t.container.appendChild(t.canvas),$P(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=jP(),t.container.appendChild(t.canvas),$P(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 $P(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*en.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*en.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 zP(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function Dse(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function Mse(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function jP(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var Nse=a6,Fse=[32,126],Lse=Bse;function Bse(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||Fse;if(n&&typeof n!="string"&&(n=Nse(n)),!Array.isArray(a))a=String(a).split("");else if(a.length===2&&typeof a[0]=="number"&&typeof a[1]=="number"){for(var o=[],u=a[0],l=0;u<=a[1];u++)o[l++]=String.fromCharCode(u);a=o}t=t.slice(),r.width=t[0],r.height=t[1];var f=r.getContext("2d");f.fillStyle="#000",f.fillRect(0,0,r.width,r.height),f.font=n,f.textAlign="center",f.textBaseline="middle",f.fillStyle="#fff";for(var p=i[0]/2,g=i[1]/2,u=0;u<a.length;u++)f.fillText(a[u],p,g),(p+=i[0])>t[0]-i[0]/2&&(p=i[0]/2,g+=i[1]);return r}var Kr={},$n={},RA=32;$n.INT_BITS=RA;$n.INT_MAX=2147483647;$n.INT_MIN=-1<<RA-1;$n.sign=function(e){return(e>0)-(e<0)};$n.abs=function(e){var t=e>>RA-1;return(e^t)-t};$n.min=function(e,t){return t^(e^t)&-(e<t)};$n.max=function(e,t){return e^(e^t)&-(e<t)};$n.isPow2=function(e){return!(e&e-1)&&!!e};$n.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};$n.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};$n.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function u6(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}$n.countTrailingZeros=u6;$n.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};$n.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};$n.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var Gh=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}})(Gh);$n.reverse=function(e){return Gh[e&255]<<24|Gh[e>>>8&255]<<16|Gh[e>>>16&255]<<8|Gh[e>>>24&255]};$n.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};$n.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};$n.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};$n.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};$n.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>u6(e)+1};function s6(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]=s6(e,t,r+1);return i}function $se(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function zse(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return $se(e|0,t);break;case"object":if(typeof e.length=="number")return s6(e,t,0);break}return[]}var jse=zse,$l=$n,Ui=jse,l6=h4.Buffer;en.__TYPEDARRAY_POOL||(en.__TYPEDARRAY_POOL={UINT8:Ui([32,0]),UINT16:Ui([32,0]),UINT32:Ui([32,0]),BIGUINT64:Ui([32,0]),INT8:Ui([32,0]),INT16:Ui([32,0]),INT32:Ui([32,0]),BIGINT64:Ui([32,0]),FLOAT:Ui([32,0]),DOUBLE:Ui([32,0]),DATA:Ui([32,0]),UINT8C:Ui([32,0]),BUFFER:Ui([32,0])});var Use=typeof Uint8ClampedArray<"u",Wse=typeof BigUint64Array<"u",qse=typeof BigInt64Array<"u",Yn=en.__TYPEDARRAY_POOL;Yn.UINT8C||(Yn.UINT8C=Ui([32,0]));Yn.BIGUINT64||(Yn.BIGUINT64=Ui([32,0]));Yn.BIGINT64||(Yn.BIGINT64=Ui([32,0]));Yn.BUFFER||(Yn.BUFFER=Ui([32,0]));var V1=Yn.DATA,Y1=Yn.BUFFER;Kr.free=function(t){if(l6.isBuffer(t))Y1[$l.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=$l.log2(r)|0;V1[n].push(t)}};function f6(e){if(!!e){var t=e.length||e.byteLength,r=$l.log2(t);V1[r].push(e)}}function Gse(e){f6(e.buffer)}Kr.freeUint8=Kr.freeUint16=Kr.freeUint32=Kr.freeBigUint64=Kr.freeInt8=Kr.freeInt16=Kr.freeInt32=Kr.freeBigInt64=Kr.freeFloat32=Kr.freeFloat=Kr.freeFloat64=Kr.freeDouble=Kr.freeUint8Clamped=Kr.freeDataView=Gse;Kr.freeArrayBuffer=f6;Kr.freeBuffer=function(t){Y1[$l.log2(t.length)].push(t)};Kr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return Ia(t);switch(r){case"uint8":return IA(t);case"uint16":return c6(t);case"uint32":return d6(t);case"int8":return p6(t);case"int16":return h6(t);case"int32":return v6(t);case"float":case"float32":return g6(t);case"double":case"float64":return m6(t);case"uint8_clamped":return y6(t);case"bigint64":return x6(t);case"biguint64":return b6(t);case"buffer":return _6(t);case"data":case"dataview":return w6(t);default:return null}return null};function Ia(t){var t=$l.nextPow2(t),r=$l.log2(t),n=V1[r];return n.length>0?n.pop():new ArrayBuffer(t)}Kr.mallocArrayBuffer=Ia;function IA(e){return new Uint8Array(Ia(e),0,e)}Kr.mallocUint8=IA;function c6(e){return new Uint16Array(Ia(2*e),0,e)}Kr.mallocUint16=c6;function d6(e){return new Uint32Array(Ia(4*e),0,e)}Kr.mallocUint32=d6;function p6(e){return new Int8Array(Ia(e),0,e)}Kr.mallocInt8=p6;function h6(e){return new Int16Array(Ia(2*e),0,e)}Kr.mallocInt16=h6;function v6(e){return new Int32Array(Ia(4*e),0,e)}Kr.mallocInt32=v6;function g6(e){return new Float32Array(Ia(4*e),0,e)}Kr.mallocFloat32=Kr.mallocFloat=g6;function m6(e){return new Float64Array(Ia(8*e),0,e)}Kr.mallocFloat64=Kr.mallocDouble=m6;function y6(e){return Use?new Uint8ClampedArray(Ia(e),0,e):IA(e)}Kr.mallocUint8Clamped=y6;function b6(e){return Wse?new BigUint64Array(Ia(8*e),0,e):null}Kr.mallocBigUint64=b6;function x6(e){return qse?new BigInt64Array(Ia(8*e),0,e):null}Kr.mallocBigInt64=x6;function w6(e){return new DataView(Ia(e),0,e)}Kr.mallocDataView=w6;function _6(e){e=$l.nextPow2(e);var t=$l.log2(e),r=Y1[t];return r.length>0?r.pop():new l6(e)}Kr.mallocBuffer=_6;Kr.clearCache=function(){for(var t=0;t<32;++t)Yn.UINT8[t].length=0,Yn.UINT16[t].length=0,Yn.UINT32[t].length=0,Yn.INT8[t].length=0,Yn.INT16[t].length=0,Yn.INT32[t].length=0,Yn.FLOAT[t].length=0,Yn.DOUBLE[t].length=0,Yn.BIGUINT64[t].length=0,Yn.BIGINT64[t].length=0,Yn.UINT8C[t].length=0,V1[t].length=0,Y1[t].length=0};var S6=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},Hse=S6,Vse=E6,Ph=96;function C2(e,t){var r=Hse(getComputedStyle(e).getPropertyValue(t));return r[0]*E6(r[1],e)}function Yse(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=C2(r,"font-size")/128;return t.removeChild(r),n}function E6(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 Yse(e,t);case"em":return C2(t,"font-size");case"rem":return C2(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 Ph;case"cm":return Ph/2.54;case"mm":return Ph/25.4;case"pt":return Ph/72;case"pc":return Ph/6}return 1}var Xse=X1,Qse=X1.canvas=document.createElement("canvas"),$m=Qse.getContext("2d"),C6=Iy([32,126]);X1.createPairs=Iy;X1.ascii=C6;function X1(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=Iy(t):Array.isArray(t)?n=t:(t.o?n=Iy(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=C6),$m.font=i+"px "+e;for(var o=0;o<n.length;o++){var u=n[o],l=$m.measureText(u[0]).width+$m.measureText(u[1]).width,f=$m.measureText(u).width;if(Math.abs(l-f)>i*a){var p=(f-l)/i;r[u]=p*1e3}}return r}function Iy(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 Kse=sl;sl.canvas=document.createElement("canvas");sl.cache={};function sl(o,t){t||(t={}),(typeof o=="string"||Array.isArray(o))&&(t.family=o);var r=Array.isArray(t.family)?t.family.join(", "):t.family;if(!r)throw Error("`family` must be defined");var n=t.size||t.fontSize||t.em||48,i=t.weight||t.fontWeight||"",a=t.style||t.fontStyle||"",o=[a,i,n].join(" ")+"px "+r,u=t.origin||"top";if(sl.cache[r]&&n<=sl.cache[r].em)return UP(sl.cache[r],u);var l=t.canvas||sl.canvas,f=l.getContext("2d"),p={upper:t.upper!==void 0?t.upper:"H",lower:t.lower!==void 0?t.lower:"x",descent:t.descent!==void 0?t.descent:"p",ascent:t.ascent!==void 0?t.ascent:"h",tittle:t.tittle!==void 0?t.tittle:"i",overshoot:t.overshoot!==void 0?t.overshoot:"O"},g=Math.ceil(n*1.5);l.height=g,l.width=g*.5,f.font=o;var v="H",y={top:0};f.clearRect(0,0,g,g),f.textBaseline="top",f.fillStyle="black",f.fillText(v,0,0);var C=xu(f.getImageData(0,0,g,g));f.clearRect(0,0,g,g),f.textBaseline="bottom",f.fillText(v,0,g);var O=xu(f.getImageData(0,0,g,g));y.lineHeight=y.bottom=g-O+C,f.clearRect(0,0,g,g),f.textBaseline="alphabetic",f.fillText(v,0,g);var S=xu(f.getImageData(0,0,g,g)),w=g-S-1+C;y.baseline=y.alphabetic=w,f.clearRect(0,0,g,g),f.textBaseline="middle",f.fillText(v,0,g*.5);var A=xu(f.getImageData(0,0,g,g));y.median=y.middle=g-A-1+C-g*.5,f.clearRect(0,0,g,g),f.textBaseline="hanging",f.fillText(v,0,g*.5);var R=xu(f.getImageData(0,0,g,g));y.hanging=g-R-1+C-g*.5,f.clearRect(0,0,g,g),f.textBaseline="ideographic",f.fillText(v,0,g);var P=xu(f.getImageData(0,0,g,g));if(y.ideographic=g-P-1+C,p.upper&&(f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.upper,0,0),y.upper=xu(f.getImageData(0,0,g,g)),y.capHeight=y.baseline-y.upper),p.lower&&(f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.lower,0,0),y.lower=xu(f.getImageData(0,0,g,g)),y.xHeight=y.baseline-y.lower),p.tittle&&(f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.tittle,0,0),y.tittle=xu(f.getImageData(0,0,g,g))),p.ascent&&(f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.ascent,0,0),y.ascent=xu(f.getImageData(0,0,g,g))),p.descent&&(f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.descent,0,0),y.descent=WP(f.getImageData(0,0,g,g))),p.overshoot){f.clearRect(0,0,g,g),f.textBaseline="top",f.fillText(p.overshoot,0,0);var N=WP(f.getImageData(0,0,g,g));y.overshoot=N-w}for(var m in y)y[m]/=n;return y.em=n,sl.cache[r]=y,UP(y,u)}function UP(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 xu(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 WP(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 id=Ise,Zse=Hl,Jse=o6.exports,ele=kse,tle=XB,x_=W1,rle=Lse,rl=Kr,nle=U1,ile=FB,ale=S6,ole=Vse,ule=Xse,sle=nc,lle=Kse,fle=_g,cle=$n,qP=cle.nextPow2,GP=new tle,d0=!1;if(document.body){var w_=document.body.appendChild(document.createElement("div"));w_.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(w_).fontStretch&&(d0=!0),document.body.removeChild(w_)}var fn=function(t){dle(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=ele(t),this.shader=GP.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||Jse({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(),GP.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(ile(t)?t:{})};fn.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:`
1177
- precision highp float;
1178
- attribute float width, charOffset, char;
1179
- attribute vec2 position;
1180
- uniform float fontSize, charStep, em, align, baseline;
1181
- uniform vec4 viewport;
1182
- uniform vec4 color;
1183
- uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
1184
- varying vec2 charCoord, charId;
1185
- varying float charWidth;
1186
- varying vec4 fontColor;
1187
- void main () {
1188
- vec2 offset = floor(em * (vec2(align + charOffset, baseline)
1189
- + vec2(positionOffset.x, -positionOffset.y)))
1190
- / (viewport.zw * scale.xy);
1191
-
1192
- vec2 position = (position + translate) * scale;
1193
- position += offset * scale;
1194
-
1195
- charCoord = position * viewport.zw + viewport.xy;
1196
-
1197
- gl_Position = vec4(position * 2. - 1., 0, 1);
1198
-
1199
- gl_PointSize = charStep;
1200
-
1201
- charId.x = mod(char, atlasDim.x);
1202
- charId.y = floor(char / atlasDim.x);
1203
-
1204
- charWidth = width * em;
1205
-
1206
- fontColor = color / 255.;
1207
- }`,frag:`
1208
- precision highp float;
1209
- uniform float fontSize, charStep, opacity;
1210
- uniform vec2 atlasSize;
1211
- uniform vec4 viewport;
1212
- uniform sampler2D atlas;
1213
- varying vec4 fontColor;
1214
- varying vec2 charCoord, charId;
1215
- varying float charWidth;
1216
-
1217
- float lightness(vec4 color) {
1218
- return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
1219
- }
1220
-
1221
- void main () {
1222
- vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
1223
- float halfCharStep = floor(charStep * .5 + .5);
1224
-
1225
- // invert y and shift by 1px (FF expecially needs that)
1226
- uv.y = charStep - uv.y;
1227
-
1228
- // ignore points outside of character bounding box
1229
- float halfCharWidth = ceil(charWidth * .5);
1230
- if (floor(uv.x) > halfCharStep + halfCharWidth ||
1231
- floor(uv.x) < halfCharStep - halfCharWidth) return;
1232
-
1233
- uv += charId * charStep;
1234
- uv = uv / atlasSize;
1235
-
1236
- vec4 color = fontColor;
1237
- vec4 mask = texture2D(atlas, uv);
1238
-
1239
- float maskY = lightness(mask);
1240
- // float colorY = lightness(color);
1241
- color.a *= maskY;
1242
- color.a *= opacity;
1243
-
1244
- // color.a += .1;
1245
-
1246
- // antialiasing, see yiq color space y-channel formula
1247
- // color.rgb += (1. - color.rgb) * (1. - mask.rgb);
1248
-
1249
- gl_FragColor = color;
1250
- }`}),n={};return{regl:t,draw:r,atlas:n}};fn.prototype.update=function(t){var r=this;if(typeof t=="string")t={text:t};else if(!t)return;t=Zse(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(et){return parseFloat(et)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=nle(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=fle(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=fn.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(et,ft){if(typeof et=="string")try{et=id.parse(et)}catch{et=id.parse(fn.baseFontSize+"px "+et)}else et=id.parse(id.stringify(et));var At=id.stringify({size:fn.baseFontSize,family:et.family,stretch:d0?et.stretch:void 0,variant:et.variant,weight:et.weight,style:et.style}),Gt=ale(et.size),Xt=Math.round(Gt[0]*ole(Gt[1]));if(Xt!==r.fontSize[ft]&&(i=!0,r.fontSize[ft]=Xt),(!r.font[ft]||At!=r.font[ft].baseString)&&(n=!0,r.font[ft]=fn.fonts[At],!r.font[ft])){var Me=et.family.join(", "),yt=[et.style];et.style!=et.variant&&yt.push(et.variant),et.variant!=et.weight&&yt.push(et.weight),d0&&et.weight!=et.stretch&&yt.push(et.stretch),r.font[ft]={baseString:At,family:Me,weight:et.weight,stretch:et.stretch,style:et.style,variant:et.variant,width:{},kerning:{},metrics:lle(Me,{origin:"top",fontSize:fn.baseFontSize,fontStyle:yt.join(" ")})},fn.fonts[At]=r.font[ft]}}),(n||i)&&this.font.forEach(function(et,ft){var At=id.stringify({size:r.fontSize[ft],family:et.family,stretch:d0?et.stretch:void 0,variant:et.variant,weight:et.weight,style:et.style});if(r.fontAtlas[ft]=r.shader.atlas[At],!r.fontAtlas[ft]){var Gt=et.metrics;r.shader.atlas[At]=r.fontAtlas[ft]={fontString:At,step:Math.ceil(r.fontSize[ft]*Gt.bottom*.5)*2,em:r.fontSize[ft],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var u;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var l=1;l<t.text.length;l++)this.textOffsets[l]=this.textOffsets[l-1]+t.text[l-1].length,this.count+=t.text[l].length,this.counts.push(t.text[l].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];u=[],this.font.forEach(function(et,ft){fn.atlasContext.font=et.baseString;for(var At=r.fontAtlas[ft],Gt=0;Gt<r.text.length;Gt++){var Xt=r.text.charAt(Gt);if(At.ids[Xt]==null&&(At.ids[Xt]=At.chars.length,At.chars.push(Xt),u.push(Xt)),et.width[Xt]==null&&(et.width[Xt]=fn.atlasContext.measureText(Xt).width/fn.baseFontSize,r.kerning)){var Me=[];for(var yt in et.width)Me.push(yt+Xt,Xt+yt);sle(et.kerning,ule(et.family,{pairs:Me}))}}})}if(t.position)if(t.position.length>2){for(var f=!t.position[0].length,p=rl.mallocFloat(this.count*2),g=0,v=0;g<this.counts.length;g++){var y=this.counts[g];if(f)for(var C=0;C<y;C++)p[v++]=t.position[g*2],p[v++]=t.position[g*2+1];else for(var O=0;O<y;O++)p[v++]=t.position[g][0],p[v++]=t.position[g][1]}this.position.call?this.position({type:"float",data:p}):this.position=this.regl.buffer({type:"float",data:p}),rl.freeFloat(p)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var S=rl.mallocUint8(this.count),w=rl.mallocFloat(this.count*2);this.textWidth=[];for(var A=0,R=0;A<this.counts.length;A++){for(var P=this.counts[A],N=this.font[A]||this.font[0],m=this.fontAtlas[A]||this.fontAtlas[0],G=0;G<P;G++){var L=this.text.charAt(R),$=this.text.charAt(R-1);if(S[R]=m.ids[L],w[R*2]=N.width[L],G){var ae=w[R*2-2],ve=w[R*2],be=w[R*2-1],Pe=be+ae*.5+ve*.5;if(this.kerning){var Fe=N.kerning[$+L];Fe&&(Pe+=Fe*.001)}w[R*2+1]=Pe}else w[R*2+1]=w[R*2]*.5;R++}this.textWidth.push(w.length?w[R*2-2]*.5+w[R*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:S,type:"uint8",usage:"stream"}),this.sizeBuffer({data:w,type:"float",usage:"stream"}),rl.freeUint8(S),rl.freeFloat(w),u.length&&this.font.forEach(function(et,ft){var At=r.fontAtlas[ft],Gt=At.step,Xt=Math.floor(fn.maxAtlasSize/Gt),Me=Math.min(Xt,At.chars.length),yt=Math.ceil(At.chars.length/Me),Nt=qP(Me*Gt),Ne=qP(yt*Gt);At.width=Nt,At.height=Ne,At.rows=yt,At.cols=Me,At.em&&At.texture({data:rle({canvas:fn.atlasCanvas,font:At.fontString,chars:At.chars,shape:[Nt,Ne],step:[Gt,Gt]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(et,ft){var At=Array.isArray(r.align)?r.align.length>1?r.align[ft]:r.align[0]:r.align;if(typeof At=="number")return At;switch(At){case"right":case"end":return-et;case"center":case"centre":case"middle":return-et*.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(et,ft){var At=(r.font[ft]||r.font[0]).metrics,Gt=0;return Gt+=At.bottom*.5,typeof et=="number"?Gt+=et-At.baseline:Gt+=-At[et],Gt*=-1,Gt})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=x_(t.color,"uint8");else{var dt;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var Je=t.color.length;dt=rl.mallocUint8(Je);for(var Te=(t.color.subarray||t.color.slice).bind(t.color),Ye=0;Ye<Je;Ye+=4)dt.set(x_(Te(Ye,Ye+4),"uint8"),Ye)}else{var nt=t.color.length;dt=rl.mallocUint8(nt*4);for(var pt=0;pt<nt;pt++)dt.set(x_(t.color[pt]||0,"uint8"),pt*4)}this.color=dt}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var Ie=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(Ie){var Re=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(Re);for(var ot=0;ot<this.batch.length;ot++)this.batch[ot]={count:this.counts.length>1?this.counts[ot]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[ot]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(ot*4,ot*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[ot]:this.opacity,baseline:this.baselineOffset[ot]!=null?this.baselineOffset[ot]:this.baselineOffset[0],align:this.align?this.alignOffset[ot]!=null?this.alignOffset[ot]:this.alignOffset[0]:0,atlas:this.fontAtlas[ot]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(ot*2,ot*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=[]}};fn.prototype.destroy=function(){};fn.prototype.kerning=!0;fn.prototype.position={constant:new Float32Array(2)};fn.prototype.translate=null;fn.prototype.scale=null;fn.prototype.font=null;fn.prototype.text="";fn.prototype.positionOffset=[0,0];fn.prototype.opacity=1;fn.prototype.color=new Uint8Array([0,0,0,255]);fn.prototype.alignOffset=[0,0];fn.maxAtlasSize=1024;fn.atlasCanvas=document.createElement("canvas");fn.atlasContext=fn.atlasCanvas.getContext("2d",{alpha:!1});fn.baseFontSize=64;fn.fonts={};function dle(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var Ede=fn;function ple(e,t){return e.parent===t.parent?1:2}function hle(e){return e.reduce(vle,0)/e.length}function vle(e,t){return e+t.x}function gle(e){return 1+e.reduce(mle,0)}function mle(e,t){return Math.max(e,t.y)}function yle(e){for(var t;t=e.children;)e=t[0];return e}function ble(e){for(var t;t=e.children;)e=t[t.length-1];return e}function xle(){var e=ple,t=1,r=1,n=!1;function i(a){var o,u=0;a.eachAfter(function(v){var y=v.children;y?(v.x=hle(y),v.y=gle(y)):(v.x=o?u+=e(v,o):0,v.y=0,o=v)});var l=yle(a),f=ble(a),p=l.x-e(l,f)/2,g=f.x+e(f,l)/2;return a.eachAfter(n?function(v){v.x=(v.x-a.x)*t,v.y=(a.y-v.y)*r}:function(v){v.x=(v.x-p)/(g-p)*t,v.y=(1-(a.y?v.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function wle(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 _le(){return this.eachAfter(wle)}function Sle(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 Ele(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 Cle(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 Ale(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 Tle(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function Ole(e){for(var t=this,r=Rle(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 Rle(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 Ile(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function Ple(){var e=[];return this.each(function(t){e.push(t)}),e}function kle(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Dle(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function PA(e,t){var r=new np(e),n=+e.value&&(r.value=e.value),i,a=[r],o,u,l,f;for(t==null&&(t=Nle);i=a.pop();)if(n&&(i.value=+i.data.value),(u=t(i.data))&&(f=u.length))for(i.children=new Array(f),l=f-1;l>=0;--l)a.push(o=i.children[l]=new np(u[l])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(A6)}function Mle(){return PA(this).eachBefore(Fle)}function Nle(e){return e.children}function Fle(e){e.data=e.data.data}function A6(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function np(e){this.data=e,this.depth=this.height=0,this.parent=null}np.prototype=PA.prototype={constructor:np,count:_le,each:Sle,eachAfter:Cle,eachBefore:Ele,sum:Ale,sort:Tle,path:Ole,ancestors:Ile,descendants:Ple,leaves:kle,links:Dle,copy:Mle};var Lle=Array.prototype.slice;function Ble(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 T6(e){for(var t=0,r=(e=Ble(Lle.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&O6(a,i)?++t:(a=zle(n=$le(n,i)),t=0);return a}function $le(e,t){var r,n;if(__(t,e))return[t];for(r=0;r<e.length;++r)if(zm(t,e[r])&&__(Hh(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(zm(Hh(e[r],e[n]),t)&&zm(Hh(e[r],t),e[n])&&zm(Hh(e[n],t),e[r])&&__(R6(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function zm(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 O6(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 __(e,t){for(var r=0;r<t.length;++r)if(!O6(e,t[r]))return!1;return!0}function zle(e){switch(e.length){case 1:return jle(e[0]);case 2:return Hh(e[0],e[1]);case 3:return R6(e[0],e[1],e[2])}}function jle(e){return{x:e.x,y:e.y,r:e.r}}function Hh(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,u=t.r,l=a-r,f=o-n,p=u-i,g=Math.sqrt(l*l+f*f);return{x:(r+a+l/g*p)/2,y:(n+o+f/g*p)/2,r:(g+i+u)/2}}function R6(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,u=t.y,l=t.r,f=r.x,p=r.y,g=r.r,v=n-o,y=n-f,C=i-u,O=i-p,S=l-a,w=g-a,A=n*n+i*i-a*a,R=A-o*o-u*u+l*l,P=A-f*f-p*p+g*g,N=y*C-v*O,m=(C*P-O*R)/(N*2)-n,G=(O*S-C*w)/N,L=(y*R-v*P)/(N*2)-i,$=(v*w-y*S)/N,ae=G*G+$*$-1,ve=2*(a+m*G+L*$),be=m*m+L*L-a*a,Pe=-(ae?(ve+Math.sqrt(ve*ve-4*ae*be))/(2*ae):be/ve);return{x:n+m+G*Pe,y:i+L+$*Pe,r:Pe}}function HP(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,u,l,f=n*n+o*o;f?(a=t.r+r.r,a*=a,l=e.r+r.r,l*=l,a>l?(i=(f+l-a)/(2*f),u=Math.sqrt(Math.max(0,l/f-i*i)),r.x=e.x-i*n-u*o,r.y=e.y-i*o+u*n):(i=(f+a-l)/(2*f),u=Math.sqrt(Math.max(0,a/f-i*i)),r.x=t.x+i*n-u*o,r.y=t.y+i*o+u*n)):(r.x=t.x+r.r,r.y=t.y)}function VP(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 YP(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 jm(e){this._=e,this.next=null,this.previous=null}function I6(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,u,l,f,p,g;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;HP(r,t,n=e[2]),t=new jm(t),r=new jm(r),n=new jm(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(u=3;u<i;++u){HP(t._,r._,n=e[u]),n=new jm(n),l=r.next,f=t.previous,p=r._.r,g=t._.r;do if(p<=g){if(VP(l._,n._)){r=l,t.next=r,r.previous=t,--u;continue e}p+=l._.r,l=l.next}else{if(VP(f._,n._)){t=f,t.next=r,r.previous=t,--u;continue e}g+=f._.r,f=f.previous}while(l!==f.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=YP(t);(n=n.next)!==r;)(o=YP(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=T6(t),u=0;u<i;++u)t=e[u],t.x-=n.x,t.y-=n.y;return n.r}function Ule(e){return I6(e),e}function Wle(e){return e==null?null:Py(e)}function Py(e){if(typeof e!="function")throw new Error;return e}function Rf(){return 0}function cd(e){return function(){return e}}function qle(e){return Math.sqrt(e.value)}function Gle(){var e=null,t=1,r=1,n=Rf;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(XP(e)).eachAfter(S_(n,.5)).eachBefore(QP(1)):a.eachBefore(XP(qle)).eachAfter(S_(Rf,1)).eachAfter(S_(n,a.r/Math.min(t,r))).eachBefore(QP(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=Wle(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:cd(+a),i):n},i}function XP(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function S_(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,u;if(o)for(i=0;i<a;++i)n[i].r+=o;if(u=I6(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=u+o}}}function QP(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 P6(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 Eg(e,t,r,n,i){for(var a=e.children,o,u=-1,l=a.length,f=e.value&&(n-t)/e.value;++u<l;)o=a[u],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*f}function Hle(){var e=1,t=1,r=0,n=!1;function i(o){var u=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/u,o.eachBefore(a(t,u)),n&&o.eachBefore(P6),o}function a(o,u){return function(l){l.children&&Eg(l,l.x0,o*(l.depth+1)/u,l.x1,o*(l.depth+2)/u);var f=l.x0,p=l.y0,g=l.x1-r,v=l.y1-r;g<f&&(f=g=(f+g)/2),v<p&&(p=v=(p+v)/2),l.x0=f,l.y0=p,l.x1=g,l.y1=v}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var KP="$",Vle={depth:-1},ZP={};function Yle(e){return e.id}function Xle(e){return e.parentId}function Qle(){var e=Yle,t=Xle;function r(n){var i,a,o=n.length,u,l,f,p=new Array(o),g,v,y={};for(a=0;a<o;++a)i=n[a],f=p[a]=new np(i),(g=e(i,a,n))!=null&&(g+="")&&(v=KP+(f.id=g),y[v]=v in y?ZP:f);for(a=0;a<o;++a)if(f=p[a],g=t(n[a],a,n),g==null||!(g+="")){if(u)throw new Error("multiple roots");u=f}else{if(l=y[KP+g],!l)throw new Error("missing: "+g);if(l===ZP)throw new Error("ambiguous: "+g);l.children?l.children.push(f):l.children=[f],f.parent=l}if(!u)throw new Error("no root");if(u.parent=Vle,u.eachBefore(function(C){C.depth=C.parent.depth+1,--o}).eachBefore(A6),u.parent=null,o>0)throw new Error("cycle");return u}return r.id=function(n){return arguments.length?(e=Py(n),r):e},r.parentId=function(n){return arguments.length?(t=Py(n),r):t},r}function Kle(e,t){return e.parent===t.parent?1:2}function E_(e){var t=e.children;return t?t[0]:e.t}function C_(e){var t=e.children;return t?t[t.length-1]:e.t}function Zle(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 Jle(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 efe(e,t,r){return e.a.parent===t.parent?e.a:r}function p0(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}p0.prototype=Object.create(np.prototype);function tfe(e){for(var t=new p0(e,0),r,n=[t],i,a,o,u;r=n.pop();)if(a=r._.children)for(r.children=new Array(u=a.length),o=u-1;o>=0;--o)n.push(i=r.children[o]=new p0(a[o],o)),i.parent=r;return(t.parent=new p0(null,0)).children=[t],t}function rfe(){var e=Kle,t=1,r=1,n=null;function i(f){var p=tfe(f);if(p.eachAfter(a),p.parent.m=-p.z,p.eachBefore(o),n)f.eachBefore(l);else{var g=f,v=f,y=f;f.eachBefore(function(A){A.x<g.x&&(g=A),A.x>v.x&&(v=A),A.depth>y.depth&&(y=A)});var C=g===v?1:e(g,v)/2,O=C-g.x,S=t/(v.x+C+O),w=r/(y.depth||1);f.eachBefore(function(A){A.x=(A.x+O)*S,A.y=A.depth*w})}return f}function a(f){var p=f.children,g=f.parent.children,v=f.i?g[f.i-1]:null;if(p){Jle(f);var y=(p[0].z+p[p.length-1].z)/2;v?(f.z=v.z+e(f._,v._),f.m=f.z-y):f.z=y}else v&&(f.z=v.z+e(f._,v._));f.parent.A=u(f,v,f.parent.A||g[0])}function o(f){f._.x=f.z+f.parent.m,f.m+=f.parent.m}function u(f,p,g){if(p){for(var v=f,y=f,C=p,O=v.parent.children[0],S=v.m,w=y.m,A=C.m,R=O.m,P;C=C_(C),v=E_(v),C&&v;)O=E_(O),y=C_(y),y.a=f,P=C.z+A-v.z-S+e(C._,v._),P>0&&(Zle(efe(C,f,g),f,P),S+=P,w+=P),A+=C.m,S+=v.m,R+=O.m,w+=y.m;C&&!C_(y)&&(y.t=C,y.m+=A-w),v&&!E_(O)&&(O.t=v,O.m+=S-R,g=f)}return g}function l(f){f.x*=t,f.y=f.depth*r}return i.separation=function(f){return arguments.length?(e=f,i):e},i.size=function(f){return arguments.length?(n=!1,t=+f[0],r=+f[1],i):n?null:[t,r]},i.nodeSize=function(f){return arguments.length?(n=!0,t=+f[0],r=+f[1],i):n?[t,r]:null},i}function Q1(e,t,r,n,i){for(var a=e.children,o,u=-1,l=a.length,f=e.value&&(i-r)/e.value;++u<l;)o=a[u],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*f}var k6=(1+Math.sqrt(5))/2;function D6(e,t,r,n,i,a){for(var o=[],u=t.children,l,f,p=0,g=0,v=u.length,y,C,O=t.value,S,w,A,R,P,N,m;p<v;){y=i-r,C=a-n;do S=u[g++].value;while(!S&&g<v);for(w=A=S,N=Math.max(C/y,y/C)/(O*e),m=S*S*N,P=Math.max(A/m,m/w);g<v;++g){if(S+=f=u[g].value,f<w&&(w=f),f>A&&(A=f),m=S*S*N,R=Math.max(A/m,m/w),R>P){S-=f;break}P=R}o.push(l={value:S,dice:y<C,children:u.slice(p,g)}),l.dice?Eg(l,r,n,i,O?n+=C*S/O:a):Q1(l,r,n,O?r+=y*S/O:i,a),O-=S,p=g}return o}const M6=function e(t){function r(n,i,a,o,u){D6(t,n,i,a,o,u)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(k6);function nfe(){var e=M6,t=!1,r=1,n=1,i=[0],a=Rf,o=Rf,u=Rf,l=Rf,f=Rf;function p(v){return v.x0=v.y0=0,v.x1=r,v.y1=n,v.eachBefore(g),i=[0],t&&v.eachBefore(P6),v}function g(v){var y=i[v.depth],C=v.x0+y,O=v.y0+y,S=v.x1-y,w=v.y1-y;S<C&&(C=S=(C+S)/2),w<O&&(O=w=(O+w)/2),v.x0=C,v.y0=O,v.x1=S,v.y1=w,v.children&&(y=i[v.depth+1]=a(v)/2,C+=f(v)-y,O+=o(v)-y,S-=u(v)-y,w-=l(v)-y,S<C&&(C=S=(C+S)/2),w<O&&(O=w=(O+w)/2),e(v,C,O,S,w))}return p.round=function(v){return arguments.length?(t=!!v,p):t},p.size=function(v){return arguments.length?(r=+v[0],n=+v[1],p):[r,n]},p.tile=function(v){return arguments.length?(e=Py(v),p):e},p.padding=function(v){return arguments.length?p.paddingInner(v).paddingOuter(v):p.paddingInner()},p.paddingInner=function(v){return arguments.length?(a=typeof v=="function"?v:cd(+v),p):a},p.paddingOuter=function(v){return arguments.length?p.paddingTop(v).paddingRight(v).paddingBottom(v).paddingLeft(v):p.paddingTop()},p.paddingTop=function(v){return arguments.length?(o=typeof v=="function"?v:cd(+v),p):o},p.paddingRight=function(v){return arguments.length?(u=typeof v=="function"?v:cd(+v),p):u},p.paddingBottom=function(v){return arguments.length?(l=typeof v=="function"?v:cd(+v),p):l},p.paddingLeft=function(v){return arguments.length?(f=typeof v=="function"?v:cd(+v),p):f},p}function ife(e,t,r,n,i){var a=e.children,o,u=a.length,l,f=new Array(u+1);for(f[0]=l=o=0;o<u;++o)f[o+1]=l+=a[o].value;p(0,u,e.value,t,r,n,i);function p(g,v,y,C,O,S,w){if(g>=v-1){var A=a[g];A.x0=C,A.y0=O,A.x1=S,A.y1=w;return}for(var R=f[g],P=y/2+R,N=g+1,m=v-1;N<m;){var G=N+m>>>1;f[G]<P?N=G+1:m=G}P-f[N-1]<f[N]-P&&g+1<N&&--N;var L=f[N]-R,$=y-L;if(S-C>w-O){var ae=(C*$+S*L)/y;p(g,N,L,C,O,ae,w),p(N,v,$,ae,O,S,w)}else{var ve=(O*$+w*L)/y;p(g,N,L,C,O,S,ve),p(N,v,$,C,ve,S,w)}}}function afe(e,t,r,n,i){(e.depth&1?Q1:Eg)(e,t,r,n,i)}const ofe=function e(t){function r(n,i,a,o,u){if((l=n._squarify)&&l.ratio===t)for(var l,f,p,g,v=-1,y,C=l.length,O=n.value;++v<C;){for(f=l[v],p=f.children,g=f.value=0,y=p.length;g<y;++g)f.value+=p[g].value;f.dice?Eg(f,i,a,o,a+=(u-a)*f.value/O):Q1(f,i,a,i+=(o-i)*f.value/O,u),O-=f.value}else n._squarify=l=D6(t,n,i,a,o,u),l.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(k6),ufe=Object.freeze(Object.defineProperty({__proto__:null,cluster:xle,hierarchy:PA,pack:Gle,packSiblings:Ule,packEnclose:T6,partition:Hle,stratify:Qle,tree:rfe,treemap:nfe,treemapBinary:ife,treemapDice:Eg,treemapSlice:Q1,treemapSliceDice:afe,treemapSquarify:M6,treemapResquarify:ofe},Symbol.toStringTag,{value:"Module"})),Cde=rc(ufe);function xp(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Cg(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Vl(){}var ec=.7,ip=1/ec,Bd="\\s*([+-]?\\d+)\\s*",qv="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ku="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sfe=/^#([0-9a-f]{3,8})$/,lfe=new RegExp("^rgb\\("+[Bd,Bd,Bd]+"\\)$"),ffe=new RegExp("^rgb\\("+[ku,ku,ku]+"\\)$"),cfe=new RegExp("^rgba\\("+[Bd,Bd,Bd,qv]+"\\)$"),dfe=new RegExp("^rgba\\("+[ku,ku,ku,qv]+"\\)$"),pfe=new RegExp("^hsl\\("+[qv,ku,ku]+"\\)$"),hfe=new RegExp("^hsla\\("+[qv,ku,ku,qv]+"\\)$"),JP={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};xp(Vl,Gv,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ek,formatHex:ek,formatHsl:vfe,formatRgb:tk,toString:tk});function ek(){return this.rgb().formatHex()}function vfe(){return N6(this).formatHsl()}function tk(){return this.rgb().formatRgb()}function Gv(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=sfe.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?rk(t):r===3?new Hi(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Um(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Um(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=lfe.exec(e))?new Hi(t[1],t[2],t[3],1):(t=ffe.exec(e))?new Hi(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=cfe.exec(e))?Um(t[1],t[2],t[3],t[4]):(t=dfe.exec(e))?Um(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=pfe.exec(e))?ak(t[1],t[2]/100,t[3]/100,1):(t=hfe.exec(e))?ak(t[1],t[2]/100,t[3]/100,t[4]):JP.hasOwnProperty(e)?rk(JP[e]):e==="transparent"?new Hi(NaN,NaN,NaN,0):null}function rk(e){return new Hi(e>>16&255,e>>8&255,e&255,1)}function Um(e,t,r,n){return n<=0&&(e=t=r=NaN),new Hi(e,t,r,n)}function kA(e){return e instanceof Vl||(e=Gv(e)),e?(e=e.rgb(),new Hi(e.r,e.g,e.b,e.opacity)):new Hi}function ky(e,t,r,n){return arguments.length===1?kA(e):new Hi(e,t,r,n==null?1:n)}function Hi(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}xp(Hi,ky,Cg(Vl,{brighter:function(e){return e=e==null?ip:Math.pow(ip,e),new Hi(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?ec:Math.pow(ec,e),new Hi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:nk,formatHex:nk,formatRgb:ik,toString:ik}));function nk(){return"#"+A_(this.r)+A_(this.g)+A_(this.b)}function ik(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function A_(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function ak(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Eu(e,t,r,n)}function N6(e){if(e instanceof Eu)return new Eu(e.h,e.s,e.l,e.opacity);if(e instanceof Vl||(e=Gv(e)),!e)return new Eu;if(e instanceof Eu)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,l=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=l<.5?a+i:2-a-i,o*=60):u=l>0&&l<1?0:o,new Eu(o,u,l,e.opacity)}function A2(e,t,r,n){return arguments.length===1?N6(e):new Eu(e,t,r,n==null?1:n)}function Eu(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}xp(Eu,A2,Cg(Vl,{brighter:function(e){return e=e==null?ip:Math.pow(ip,e),new Eu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?ec:Math.pow(ec,e),new Eu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Hi(T_(e>=240?e-240:e+120,i,n),T_(e,i,n),T_(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function T_(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}var F6=Math.PI/180,L6=180/Math.PI,Dy=18,B6=.96422,$6=1,z6=.82521,j6=4/29,$d=6/29,U6=3*$d*$d,gfe=$d*$d*$d;function W6(e){if(e instanceof Du)return new Du(e.l,e.a,e.b,e.opacity);if(e instanceof ps)return q6(e);e instanceof Hi||(e=kA(e));var t=P_(e.r),r=P_(e.g),n=P_(e.b),i=O_((.2225045*t+.7168786*r+.0606169*n)/$6),a,o;return t===r&&r===n?a=o=i:(a=O_((.4360747*t+.3850649*r+.1430804*n)/B6),o=O_((.0139322*t+.0971045*r+.7141733*n)/z6)),new Du(116*i-16,500*(a-i),200*(i-o),e.opacity)}function T2(e,t,r,n){return arguments.length===1?W6(e):new Du(e,t,r,n==null?1:n)}function Du(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}xp(Du,T2,Cg(Vl,{brighter:function(e){return new Du(this.l+Dy*(e==null?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Du(this.l-Dy*(e==null?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=B6*R_(t),e=$6*R_(e),r=z6*R_(r),new Hi(I_(3.1338561*t-1.6168667*e-.4906146*r),I_(-.9787684*t+1.9161415*e+.033454*r),I_(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function O_(e){return e>gfe?Math.pow(e,1/3):e/U6+j6}function R_(e){return e>$d?e*e*e:U6*(e-j6)}function I_(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function P_(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function mfe(e){if(e instanceof ps)return new ps(e.h,e.c,e.l,e.opacity);if(e instanceof Du||(e=W6(e)),e.a===0&&e.b===0)return new ps(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*L6;return new ps(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function O2(e,t,r,n){return arguments.length===1?mfe(e):new ps(e,t,r,n==null?1:n)}function ps(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function q6(e){if(isNaN(e.h))return new Du(e.l,0,0,e.opacity);var t=e.h*F6;return new Du(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}xp(ps,O2,Cg(Vl,{brighter:function(e){return new ps(this.h,this.c,this.l+Dy*(e==null?1:e),this.opacity)},darker:function(e){return new ps(this.h,this.c,this.l-Dy*(e==null?1:e),this.opacity)},rgb:function(){return q6(this).rgb()}}));var G6=-.14861,DA=1.78277,MA=-.29227,K1=-.90649,Hv=1.97294,ok=Hv*K1,uk=Hv*DA,sk=DA*MA-K1*G6;function yfe(e){if(e instanceof qf)return new qf(e.h,e.s,e.l,e.opacity);e instanceof Hi||(e=kA(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(sk*n+ok*t-uk*r)/(sk+ok-uk),a=n-i,o=(Hv*(r-i)-MA*a)/K1,u=Math.sqrt(o*o+a*a)/(Hv*i*(1-i)),l=u?Math.atan2(o,a)*L6-120:NaN;return new qf(l<0?l+360:l,u,i,e.opacity)}function R2(e,t,r,n){return arguments.length===1?yfe(e):new qf(e,t,r,n==null?1:n)}function qf(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}xp(qf,R2,Cg(Vl,{brighter:function(e){return e=e==null?ip:Math.pow(ip,e),new qf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?ec:Math.pow(ec,e),new qf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*F6,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new Hi(255*(t+r*(G6*n+DA*i)),255*(t+r*(MA*n+K1*i)),255*(t+r*(Hv*n)),this.opacity)}}));function H6(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 V6(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,u=n<t-1?e[n+2]:2*a-i;return H6((r-n/t)*t,o,i,a,u)}}function Y6(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],u=e[(n+2)%t];return H6((r-n/t)*t,i,a,o,u)}}function Z1(e){return function(){return e}}function X6(e,t){return function(r){return e+r*t}}function bfe(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 J1(e,t){var r=t-e;return r?X6(e,r>180||r<-180?r-360*Math.round(r/360):r):Z1(isNaN(e)?t:e)}function xfe(e){return(e=+e)==1?Ri:function(t,r){return r-t?bfe(t,r,e):Z1(isNaN(t)?r:t)}}function Ri(e,t){var r=t-e;return r?X6(e,r):Z1(isNaN(e)?t:e)}const I2=function e(t){var r=xfe(t);function n(i,a){var o=r((i=ky(i)).r,(a=ky(a)).r),u=r(i.g,a.g),l=r(i.b,a.b),f=Ri(i.opacity,a.opacity);return function(p){return i.r=o(p),i.g=u(p),i.b=l(p),i.opacity=f(p),i+""}}return n.gamma=e,n}(1);function Q6(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,u;for(o=0;o<r;++o)u=ky(t[o]),n[o]=u.r||0,i[o]=u.g||0,a[o]=u.b||0;return n=e(n),i=e(i),a=e(a),u.opacity=1,function(l){return u.r=n(l),u.g=i(l),u.b=a(l),u+""}}}var wfe=Q6(V6),_fe=Q6(Y6);function NA(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 K6(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Sfe(e,t){return(K6(t)?NA:Z6)(e,t)}function Z6(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]=FA(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function J6(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Su(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function e8(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]=FA(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var P2=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,k_=new RegExp(P2.source,"g");function Efe(e){return function(){return e}}function Cfe(e){return function(t){return e(t)+""}}function t8(e,t){var r=P2.lastIndex=k_.lastIndex=0,n,i,a,o=-1,u=[],l=[];for(e=e+"",t=t+"";(n=P2.exec(e))&&(i=k_.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,l.push({i:o,x:Su(n,i)})),r=k_.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?l[0]?Cfe(l[0].x):Efe(t):(t=l.length,function(f){for(var p=0,g;p<t;++p)u[(g=l[p]).i]=g.x(f);return u.join("")})}function FA(e,t){var r=typeof t,n;return t==null||r==="boolean"?Z1(t):(r==="number"?Su:r==="string"?(n=Gv(t))?(t=n,I2):t8:t instanceof Gv?I2:t instanceof Date?J6:K6(t)?NA:Array.isArray(t)?Z6:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?e8:Su)(e,t)}function Afe(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function Tfe(e,t){var r=J1(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function Ofe(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var lk=180/Math.PI,k2={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function r8(e,t,r,n,i,a){var o,u,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*r+t*n)&&(r-=e*l,n-=t*l),(u=Math.sqrt(r*r+n*n))&&(r/=u,n/=u,l/=u),e*n<t*r&&(e=-e,t=-t,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*lk,skewX:Math.atan(l)*lk,scaleX:o,scaleY:u}}var kh,D_,fk,Wm;function Rfe(e){return e==="none"?k2:(kh||(kh=document.createElement("DIV"),D_=document.documentElement,fk=document.defaultView),kh.style.transform=e,e=fk.getComputedStyle(D_.appendChild(kh),null).getPropertyValue("transform"),D_.removeChild(kh),e=e.slice(7,-1).split(","),r8(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function Ife(e){return e==null||(Wm||(Wm=document.createElementNS("http://www.w3.org/2000/svg","g")),Wm.setAttribute("transform",e),!(e=Wm.transform.baseVal.consolidate()))?k2:(e=e.matrix,r8(e.a,e.b,e.c,e.d,e.e,e.f))}function n8(e,t,r,n){function i(f){return f.length?f.pop()+" ":""}function a(f,p,g,v,y,C){if(f!==g||p!==v){var O=y.push("translate(",null,t,null,r);C.push({i:O-4,x:Su(f,g)},{i:O-2,x:Su(p,v)})}else(g||v)&&y.push("translate("+g+t+v+r)}function o(f,p,g,v){f!==p?(f-p>180?p+=360:p-f>180&&(f+=360),v.push({i:g.push(i(g)+"rotate(",null,n)-2,x:Su(f,p)})):p&&g.push(i(g)+"rotate("+p+n)}function u(f,p,g,v){f!==p?v.push({i:g.push(i(g)+"skewX(",null,n)-2,x:Su(f,p)}):p&&g.push(i(g)+"skewX("+p+n)}function l(f,p,g,v,y,C){if(f!==g||p!==v){var O=y.push(i(y)+"scale(",null,",",null,")");C.push({i:O-4,x:Su(f,g)},{i:O-2,x:Su(p,v)})}else(g!==1||v!==1)&&y.push(i(y)+"scale("+g+","+v+")")}return function(f,p){var g=[],v=[];return f=e(f),p=e(p),a(f.translateX,f.translateY,p.translateX,p.translateY,g,v),o(f.rotate,p.rotate,g,v),u(f.skewX,p.skewX,g,v),l(f.scaleX,f.scaleY,p.scaleX,p.scaleY,g,v),f=p=null,function(y){for(var C=-1,O=v.length,S;++C<O;)g[(S=v[C]).i]=S.x(y);return g.join("")}}}var Pfe=n8(Rfe,"px, ","px)","deg)"),kfe=n8(Ife,", ",")",")"),Dh=Math.SQRT2,M_=2,ck=4,Dfe=1e-12;function dk(e){return((e=Math.exp(e))+1/e)/2}function Mfe(e){return((e=Math.exp(e))-1/e)/2}function Nfe(e){return((e=Math.exp(2*e))-1)/(e+1)}function Ffe(e,t){var r=e[0],n=e[1],i=e[2],a=t[0],o=t[1],u=t[2],l=a-r,f=o-n,p=l*l+f*f,g,v;if(p<Dfe)v=Math.log(u/i)/Dh,g=function(A){return[r+A*l,n+A*f,i*Math.exp(Dh*A*v)]};else{var y=Math.sqrt(p),C=(u*u-i*i+ck*p)/(2*i*M_*y),O=(u*u-i*i-ck*p)/(2*u*M_*y),S=Math.log(Math.sqrt(C*C+1)-C),w=Math.log(Math.sqrt(O*O+1)-O);v=(w-S)/Dh,g=function(A){var R=A*v,P=dk(S),N=i/(M_*y)*(P*Nfe(Dh*R+S)-Mfe(S));return[r+N*l,n+N*f,i*P/dk(Dh*R+S)]}}return g.duration=v*1e3,g}function i8(e){return function(t,r){var n=e((t=A2(t)).h,(r=A2(r)).h),i=Ri(t.s,r.s),a=Ri(t.l,r.l),o=Ri(t.opacity,r.opacity);return function(u){return t.h=n(u),t.s=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const Lfe=i8(J1);var Bfe=i8(Ri);function $fe(e,t){var r=Ri((e=T2(e)).l,(t=T2(t)).l),n=Ri(e.a,t.a),i=Ri(e.b,t.b),a=Ri(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 a8(e){return function(t,r){var n=e((t=O2(t)).h,(r=O2(r)).h),i=Ri(t.c,r.c),a=Ri(t.l,r.l),o=Ri(t.opacity,r.opacity);return function(u){return t.h=n(u),t.c=i(u),t.l=a(u),t.opacity=o(u),t+""}}}const zfe=a8(J1);var jfe=a8(Ri);function o8(e){return function t(r){r=+r;function n(i,a){var o=e((i=R2(i)).h,(a=R2(a)).h),u=Ri(i.s,a.s),l=Ri(i.l,a.l),f=Ri(i.opacity,a.opacity);return function(p){return i.h=o(p),i.s=u(p),i.l=l(Math.pow(p,r)),i.opacity=f(p),i+""}}return n.gamma=t,n}(1)}const Ufe=o8(J1);var Wfe=o8(Ri);function qfe(e,t){for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function Gfe(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const Hfe=Object.freeze(Object.defineProperty({__proto__:null,interpolate:FA,interpolateArray:Sfe,interpolateBasis:V6,interpolateBasisClosed:Y6,interpolateDate:J6,interpolateDiscrete:Afe,interpolateHue:Tfe,interpolateNumber:Su,interpolateNumberArray:NA,interpolateObject:e8,interpolateRound:Ofe,interpolateString:t8,interpolateTransformCss:Pfe,interpolateTransformSvg:kfe,interpolateZoom:Ffe,interpolateRgb:I2,interpolateRgbBasis:wfe,interpolateRgbBasisClosed:_fe,interpolateHsl:Lfe,interpolateHslLong:Bfe,interpolateLab:$fe,interpolateHcl:zfe,interpolateHclLong:jfe,interpolateCubehelix:Ufe,interpolateCubehelixLong:Wfe,piecewise:qfe,quantize:Gfe},Symbol.toStringTag,{value:"Module"})),Ade=rc(Hfe);var Vfe="Expected a function",u8="__lodash_hash_undefined__",s8=1/0,Yfe=9007199254740991,Xfe="[object Function]",Qfe="[object GeneratorFunction]",Kfe="[object Symbol]",Zfe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jfe=/^\w*$/,ece=/^\./,tce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rce=/[\\^$.*+?()[\]{}|]/g,nce=/\\(\\)?/g,ice=/^\[object .+?Constructor\]$/,ace=/^(?:0|[1-9]\d*)$/,oce=typeof en=="object"&&en&&en.Object===Object&&en,uce=typeof self=="object"&&self&&self.Object===Object&&self,LA=oce||uce||Function("return this")();function sce(e,t){return e==null?void 0:e[t]}function lce(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var fce=Array.prototype,cce=Function.prototype,l8=Object.prototype,N_=LA["__core-js_shared__"],pk=function(){var e=/[^.]+$/.exec(N_&&N_.keys&&N_.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),f8=cce.toString,eb=l8.hasOwnProperty,c8=l8.toString,dce=RegExp("^"+f8.call(eb).replace(rce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hk=LA.Symbol,pce=fce.splice,hce=d8(LA,"Map"),Vv=d8(Object,"create"),vk=hk?hk.prototype:void 0,gk=vk?vk.toString:void 0;function tc(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 vce(){this.__data__=Vv?Vv(null):{}}function gce(e){return this.has(e)&&delete this.__data__[e]}function mce(e){var t=this.__data__;if(Vv){var r=t[e];return r===u8?void 0:r}return eb.call(t,e)?t[e]:void 0}function yce(e){var t=this.__data__;return Vv?t[e]!==void 0:eb.call(t,e)}function bce(e,t){var r=this.__data__;return r[e]=Vv&&t===void 0?u8:t,this}tc.prototype.clear=vce;tc.prototype.delete=gce;tc.prototype.get=mce;tc.prototype.has=yce;tc.prototype.set=bce;function wp(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 xce(){this.__data__=[]}function wce(e){var t=this.__data__,r=tb(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():pce.call(t,r,1),!0}function _ce(e){var t=this.__data__,r=tb(t,e);return r<0?void 0:t[r][1]}function Sce(e){return tb(this.__data__,e)>-1}function Ece(e,t){var r=this.__data__,n=tb(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}wp.prototype.clear=xce;wp.prototype.delete=wce;wp.prototype.get=_ce;wp.prototype.has=Sce;wp.prototype.set=Ece;function mc(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 Cce(){this.__data__={hash:new tc,map:new(hce||wp),string:new tc}}function Ace(e){return rb(this,e).delete(e)}function Tce(e){return rb(this,e).get(e)}function Oce(e){return rb(this,e).has(e)}function Rce(e,t){return rb(this,e).set(e,t),this}mc.prototype.clear=Cce;mc.prototype.delete=Ace;mc.prototype.get=Tce;mc.prototype.has=Oce;mc.prototype.set=Rce;function Ice(e,t,r){var n=e[t];(!(eb.call(e,t)&&p8(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function tb(e,t){for(var r=e.length;r--;)if(p8(e[r][0],t))return r;return-1}function Pce(e){if(!My(e)||Bce(e))return!1;var t=Uce(e)||lce(e)?dce:ice;return t.test(jce(e))}function kce(e,t,r,n){if(!My(e))return e;t=Fce(t,e)?[t]:Mce(t);for(var i=-1,a=t.length,o=a-1,u=e;u!=null&&++i<a;){var l=zce(t[i]),f=r;if(i!=o){var p=u[l];f=n?n(p,l,u):void 0,f===void 0&&(f=My(p)?p:Nce(t[i+1])?[]:{})}Ice(u,l,f),u=u[l]}return e}function Dce(e){if(typeof e=="string")return e;if($A(e))return gk?gk.call(e):"";var t=e+"";return t=="0"&&1/e==-s8?"-0":t}function Mce(e){return h8(e)?e:$ce(e)}function rb(e,t){var r=e.__data__;return Lce(t)?r[typeof t=="string"?"string":"hash"]:r.map}function d8(e,t){var r=sce(e,t);return Pce(r)?r:void 0}function Nce(e,t){return t=t==null?Yfe:t,!!t&&(typeof e=="number"||ace.test(e))&&e>-1&&e%1==0&&e<t}function Fce(e,t){if(h8(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||$A(e)?!0:Jfe.test(e)||!Zfe.test(e)||t!=null&&e in Object(t)}function Lce(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Bce(e){return!!pk&&pk in e}var $ce=BA(function(e){e=qce(e);var t=[];return ece.test(e)&&t.push(""),e.replace(tce,function(r,n,i,a){t.push(i?a.replace(nce,"$1"):n||r)}),t});function zce(e){if(typeof e=="string"||$A(e))return e;var t=e+"";return t=="0"&&1/e==-s8?"-0":t}function jce(e){if(e!=null){try{return f8.call(e)}catch{}try{return e+""}catch{}}return""}function BA(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Vfe);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(BA.Cache||mc),r}BA.Cache=mc;function p8(e,t){return e===t||e!==e&&t!==t}var h8=Array.isArray;function Uce(e){var t=My(e)?c8.call(e):"";return t==Xfe||t==Qfe}function My(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Wce(e){return!!e&&typeof e=="object"}function $A(e){return typeof e=="symbol"||Wce(e)&&c8.call(e)==Kfe}function qce(e){return e==null?"":Dce(e)}function Gce(e,t,r){return e==null?e:kce(e,t,r)}var Tde=Gce;export{Vce as $,Xr as A,va as B,Zce as C,Xce as D,L9 as E,$h as F,Yce as G,Qce as H,l1 as I,Kce as J,ede as K,HX as L,nde as M,rde as N,DX as O,Jce as P,ide as Q,Vi as R,qE as S,tde as T,ade as U,ode as V,Qn as W,ude as X,sde as Y,B4 as Z,fde as _,dde as a,lde as a0,Tde as a1,mde as b,yde as c,Jte as d,xB as e,pde as f,hde as g,vde as h,SA as i,Lie as j,bde as k,W1 as l,gde as m,IB as n,o6 as o,RB as p,wde as q,cde as r,xde as s,Vne as t,_de as u,Sde as v,Ede as w,Cde as x,Ade as y,ur as z};
1251
- //# sourceMappingURL=vendor.5ad3dc6e.js.map