vuchat 2.0.10 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11,7 +11,209 @@ import*as e from'react';import t,{useState as n,useEffect as r,useReducer as i,u
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
- */function _r(){if(dr)return ur;dr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return ur=function(){try{if(!Object.assign)return!1;var e=new String('abc');if(e[5]='de','5'===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var i={};return'abcdefghijklmnopqrst'.split('').forEach(function(e){i[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},i)).join('')}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,s,a=function(e){if(null==e)throw new TypeError('Object.assign cannot be called with null or undefined');return Object(e)}(r),A=1;A<arguments.length;A++){for(var l in o=Object(arguments[A]))t.call(o,l)&&(a[l]=o[l]);if(e){s=e(o);for(var c=0;c<s.length;c++)n.call(o,s[c])&&(a[s[c]]=o[s[c]])}}return a},ur}function jr(){if(hr)return fr;hr=1;return fr='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'}function Fr(){return gr?pr:(gr=1,pr=Function.call.bind(Object.prototype.hasOwnProperty))}if('production'!==process.env.NODE_ENV){var Er=Cr();sr.exports=function(){if(yr)return br;yr=1;var e=Cr(),t=_r(),n=jr(),r=Fr(),i=function(){if(vr)return mr;vr=1;var e=function(){};if('production'!==process.env.NODE_ENV){var t=jr(),n={},r=Fr();e=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}}function i(i,o,s,a,A){if('production'!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var c;try{if('function'!=typeof i[l]){var u=Error((a||'React class')+': '+s+' type `'+l+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+typeof i[l]+'`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');throw u.name='Invariant Violation',u}c=i[l](o,l,a,s,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((a||'React class')+': type specification of '+s+' `'+l+'` is invalid; the type checker function must return `null` or an `Error` but returned a '+typeof c+'. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).'),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var d=A?A():'';e('Failed '+s+' type: '+c.message+(null!=d?d:''))}}}return i.resetWarningCache=function(){'production'!==process.env.NODE_ENV&&(n={})},mr=i}(),o=function(){};function s(){return null}return'production'!==process.env.NODE_ENV&&(o=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}),br=function(a,A){var l='function'==typeof Symbol&&Symbol.iterator,c='<<anonymous>>',u={array:p('array'),bigint:p('bigint'),bool:p('boolean'),func:p('function'),number:p('number'),object:p('object'),string:p('string'),symbol:p('symbol'),any:h(s),arrayOf:function(e){return h(function(t,r,i,o,s){if('function'!=typeof e)return new f('Property `'+s+'` of component `'+i+'` has invalid PropType notation inside arrayOf.');var a=t[r];if(!Array.isArray(a))return new f('Invalid '+o+' `'+s+'` of type `'+v(a)+'` supplied to `'+i+'`, expected an array.');for(var A=0;A<a.length;A++){var l=e(a,A,i,o,s+'['+A+']',n);if(l instanceof Error)return l}return null})},element:h(function(e,t,n,r,i){var o=e[t];return a(o)?null:new f('Invalid '+r+' `'+i+'` of type `'+v(o)+'` supplied to `'+n+'`, expected a single ReactElement.')}),elementType:h(function(t,n,r,i,o){var s=t[n];return e.isValidElementType(s)?null:new f('Invalid '+i+' `'+o+'` of type `'+v(s)+'` supplied to `'+r+'`, expected a single ReactElement type.')}),instanceOf:function(e){return h(function(t,n,r,i,o){if(!(t[n]instanceof e)){var s=e.name||c;return new f('Invalid '+i+' `'+o+'` of type `'+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c)+'` supplied to `'+r+'`, expected instance of `'+s+'`.')}var a;return null})},node:h(function(e,t,n,r,i){return m(e[t])?null:new f('Invalid '+r+' `'+i+'` supplied to `'+n+'`, expected a ReactNode.')}),objectOf:function(e){return h(function(t,i,o,s,a){if('function'!=typeof e)return new f('Property `'+a+'` of component `'+o+'` has invalid PropType notation inside objectOf.');var A=t[i],l=v(A);if('object'!==l)return new f('Invalid '+s+' `'+a+'` of type `'+l+'` supplied to `'+o+'`, expected an object.');for(var c in A)if(r(A,c)){var u=e(A,c,o,s,a+'.'+c,n);if(u instanceof Error)return u}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,i,o){for(var s=t[n],a=0;a<e.length;a++)if(d(s,e[a]))return null;var A=JSON.stringify(e,function(e,t){return'symbol'===b(t)?String(t):t});return new f('Invalid '+i+' `'+o+'` of value `'+String(s)+'` supplied to `'+r+'`, expected one of '+A+'.')}):('production'!==process.env.NODE_ENV&&o(arguments.length>1?'Invalid arguments supplied to oneOf, expected an array, got '+arguments.length+' arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).':'Invalid argument supplied to oneOf, expected an array.'),s)},oneOfType:function(e){if(!Array.isArray(e))return'production'!==process.env.NODE_ENV&&o('Invalid argument supplied to oneOfType, expected an instance of array.'),s;for(var t=0;t<e.length;t++){var i=e[t];if('function'!=typeof i)return o('Invalid argument supplied to oneOfType. Expected an array of check functions, but received '+y(i)+' at index '+t+'.'),s}return h(function(t,i,o,s,a){for(var A=[],l=0;l<e.length;l++){var c=(0,e[l])(t,i,o,s,a,n);if(null==c)return null;c.data&&r(c.data,'expectedType')&&A.push(c.data.expectedType)}return new f('Invalid '+s+' `'+a+'` supplied to `'+o+'`'+(A.length>0?', expected one of type ['+A.join(', ')+']':'')+'.')})},shape:function(e){return h(function(t,r,i,o,s){var a=t[r],A=v(a);if('object'!==A)return new f('Invalid '+o+' `'+s+'` of type `'+A+'` supplied to `'+i+'`, expected `object`.');for(var l in e){var c=e[l];if('function'!=typeof c)return g(i,o,s,l,b(c));var u=c(a,l,i,o,s+'.'+l,n);if(u)return u}return null})},exact:function(e){return h(function(i,o,s,a,A){var l=i[o],c=v(l);if('object'!==c)return new f('Invalid '+a+' `'+A+'` of type `'+c+'` supplied to `'+s+'`, expected `object`.');var u=t({},i[o],e);for(var d in u){var h=e[d];if(r(e,d)&&'function'!=typeof h)return g(s,a,A,d,b(h));if(!h)return new f('Invalid '+a+' `'+A+'` key `'+d+'` supplied to `'+s+'`.\nBad object: '+JSON.stringify(i[o],null,' ')+'\nValid keys: '+JSON.stringify(Object.keys(e),null,' '));var p=h(l,d,s,a,A+'.'+d,n);if(p)return p}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&'object'==typeof t?t:{},this.stack=''}function h(e){if('production'!==process.env.NODE_ENV)var t={},r=0;function i(i,s,a,l,u,d,h){if(l=l||c,d=d||a,h!==n){if(A){var p=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 p.name='Invariant Violation',p}if('production'!==process.env.NODE_ENV&&'undefined'!=typeof console){var g=l+':'+a;!t[g]&&r<3&&(o('You are manually calling a React.PropTypes validation function for the `'+d+'` prop on `'+l+'`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.'),t[g]=!0,r++)}}return null==s[a]?i?null===s[a]?new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `null`.'):new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `undefined`.'):null:e(s,a,l,u,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function p(e){return h(function(t,n,r,i,o,s){var a=t[n];return v(a)!==e?new f('Invalid '+i+' `'+o+'` of type `'+b(a)+'` supplied to `'+r+'`, expected `'+e+'`.',{expectedType:e}):null})}function g(e,t,n,r,i){return new f((e||'React class')+': '+t+' type `'+n+'.'+r+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+i+'`.')}function m(e){switch(typeof e){case'number':case'string':case'undefined':return!0;case'boolean':return!e;case'object':if(Array.isArray(e))return e.every(m);if(null===e||a(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e['@@iterator']);if('function'==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!m(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?'array':e instanceof RegExp?'object':function(e,t){return'symbol'===e||!!t&&('Symbol'===t['@@toStringTag']||'function'==typeof Symbol&&t instanceof Symbol)}(t,e)?'symbol':t}function b(e){if(null==e)return''+e;var t=v(e);if('object'===t){if(e instanceof Date)return'date';if(e instanceof RegExp)return'regexp'}return t}function y(e){var t=b(e);switch(t){case'array':case'object':return'an '+t;case'boolean':case'date':case'regexp':return'a '+t;default:return t}}return f.prototype=Error.prototype,u.checkPropTypes=i,u.resetWarningCache=i.resetWarningCache,u.PropTypes=u,u},br}()(Er.isElement,!0)}else sr.exports=function(){if(Br)return wr;Br=1;var e=jr();function t(){}function n(){}return n.resetWarningCache=t,wr=function(){function r(t,n,r,i,o,s){if(s!==e){var a=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 a.name='Invariant Violation',a}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()();var Sr=sr.exports,kr=rr(Sr),Ur=Gr(),Qr=e=>zr(e,Ur),Lr=Gr();Qr.write=e=>zr(e,Lr);var Or=Gr();Qr.onStart=e=>zr(e,Or);var Ir=Gr();Qr.onFrame=e=>zr(e,Ir);var Nr=Gr();Qr.onFinish=e=>zr(e,Nr);var Tr=[];Qr.setTimeout=(e,t)=>{const n=Qr.now()+t,r=()=>{const e=Tr.findIndex(e=>e.cancel==r);~e&&Tr.splice(e,1),Rr-=~e?1:0},i={time:n,handler:e,cancel:r};return Tr.splice(Mr(n),0,i),Rr+=1,Kr(),i};var Mr=e=>~(~Tr.findIndex(t=>t.time>e)||~Tr.length);Qr.cancel=e=>{Or.delete(e),Ir.delete(e),Nr.delete(e),Ur.delete(e),Lr.delete(e)},Qr.sync=e=>{Hr=!0,Qr.batchedUpdates(e),Hr=!1},Qr.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Qr.onStart(n)}return r.handler=e,r.cancel=()=>{Or.delete(n),t=null},r};var Pr='undefined'!=typeof window?window.requestAnimationFrame:()=>{};Qr.use=e=>Pr=e,Qr.now='undefined'!=typeof performance?()=>performance.now():Date.now,Qr.batchedUpdates=e=>e(),Qr.catch=console.error,Qr.frameLoop='always',Qr.advance=()=>{'demand'!==Qr.frameLoop||qr()};var Dr=-1,Rr=0,Hr=!1;function zr(e,t){Hr?(t.delete(e),e(0)):(t.add(e),Kr())}function Kr(){Dr<0&&(Dr=0,'demand'!==Qr.frameLoop&&Pr(Vr))}function Vr(){~Dr&&(Pr(Vr),Qr.batchedUpdates(qr))}function qr(){const e=Dr;Dr=Qr.now();const t=Mr(Dr);t&&(Wr(Tr.splice(0,t),e=>e.handler()),Rr-=t),Rr?(Or.flush(),Ur.flush(e?Math.min(64,Dr-e):16.667),Ir.flush(),Lr.flush(),Nr.flush()):Dr=-1}function Gr(){let e=new Set,t=e;return{add(n){Rr+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Rr-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Rr-=t.size,Wr(t,t=>t(n)&&e.add(t)),Rr+=e.size,t=e)}}}function Wr(e,t){e.forEach(e=>{try{t(e)}catch(e){Qr.catch(e)}})}var Yr=Object.defineProperty,Xr={};function Jr(){}((e,t)=>{for(var n in t)Yr(e,n,{get:t[n],enumerable:!0})})(Xr,{assign:()=>ui,colors:()=>Ai,createStringInterpolator:()=>ii,skipAnimation:()=>li,to:()=>oi,willAdvance:()=>ci});var Zr={arr:Array.isArray,obj:e=>!!e&&'Object'===e.constructor.name,fun:e=>'function'==typeof e,str:e=>'string'==typeof e,num:e=>'number'==typeof e,und:e=>void 0===e};function $r(e,t){if(Zr.arr(e)){if(!Zr.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var ei=(e,t)=>e.forEach(t);function ti(e,t,n){if(Zr.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var ni=e=>Zr.und(e)?[]:Zr.arr(e)?e:[e];function ri(e,t){if(e.size){const n=Array.from(e);e.clear(),ei(n,t)}}var ii,oi,si=(e,...t)=>ri(e,e=>e(...t)),ai=()=>'undefined'==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Ai=null,li=!1,ci=Jr,ui=e=>{e.to&&(oi=e.to),e.now&&(Qr.now=e.now),void 0!==e.colors&&(Ai=e.colors),null!=e.skipAnimation&&(li=e.skipAnimation),e.createStringInterpolator&&(ii=e.createStringInterpolator),e.requestAnimationFrame&&Qr.use(e.requestAnimationFrame),e.batchedUpdates&&(Qr.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ci=e.willAdvance),e.frameLoop&&(Qr.frameLoop=e.frameLoop)},di=new Set,fi=[],hi=[],pi=0,gi={get idle(){return!di.size&&!fi.length},start(e){pi>e.priority?(di.add(e),Qr.onStart(mi)):(vi(e),Qr(yi))},advance:yi,sort(e){if(pi)Qr.onFrame(()=>gi.sort(e));else{const t=fi.indexOf(e);~t&&(fi.splice(t,1),bi(e))}},clear(){fi=[],di.clear()}};function mi(){di.forEach(vi),di.clear(),Qr(yi)}function vi(e){fi.includes(e)||bi(e)}function bi(e){fi.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(fi,t=>t.priority>e.priority),0,e)}function yi(e){const t=hi;for(let n=0;n<fi.length;n++){const r=fi[n];pi=r.priority,r.idle||(ci(r),r.advance(e),r.idle||t.push(r))}return pi=0,(hi=fi).length=0,(fi=t).length>0}var wi='[-+]?\\d*\\.?\\d+',Bi=wi+'%';function xi(...e){return'\\(\\s*('+e.join(')\\s*,\\s*(')+')\\s*\\)'}var Ci=new RegExp('rgb'+xi(wi,wi,wi)),_i=new RegExp('rgba'+xi(wi,wi,wi,wi)),ji=new RegExp('hsl'+xi(wi,Bi,Bi)),Fi=new RegExp('hsla'+xi(wi,Bi,Bi,wi)),Ei=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Si=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ki=/^#([0-9a-fA-F]{6})$/,Ui=/^#([0-9a-fA-F]{8})$/;function Qi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Li(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Qi(i,r,e+1/3),s=Qi(i,r,e),a=Qi(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function Oi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ii(e){return(parseFloat(e)%360+360)%360/360}function Ni(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ti(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Mi(e){let t=function(e){let t;return'number'==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ki.exec(e))?parseInt(t[1]+'ff',16)>>>0:Ai&&void 0!==Ai[e]?Ai[e]:(t=Ci.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|255)>>>0:(t=_i.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|Ni(t[4]))>>>0:(t=Ei.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+'ff',16)>>>0:(t=Ui.exec(e))?parseInt(t[1],16)>>>0:(t=Si.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ji.exec(e))?(255|Li(Ii(t[1]),Ti(t[2]),Ti(t[3])))>>>0:(t=Fi.exec(e))?(Li(Ii(t[1]),Ti(t[2]),Ti(t[3]))|Ni(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var Pi=(e,t,n)=>{if(Zr.fun(e))return e;if(Zr.arr(e))return Pi({range:e,output:t,extrapolate:n});if(Zr.str(e.output[0]))return ii(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||'extend',a=r.extrapolateRight||r.extrapolate||'extend',A=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,A){let l=A?A(e):e;if(l<t){if('identity'===s)return l;'clamp'===s&&(l=t)}if(l>n){if('identity'===a)return l;'clamp'===a&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],A,s,a,r.map)}};var Di=1.70158,Ri=1.525*Di,Hi=Di+1,zi=2*Math.PI/3,Ki=2*Math.PI/4.5,Vi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},qi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Hi*e*e*e-Di*e*e,easeOutBack:e=>1+Hi*Math.pow(e-1,3)+Di*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ri)/2:(Math.pow(2*e-2,2)*((Ri+1)*(2*e-2)+Ri)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*zi),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*zi)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ki)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ki)/2+1,easeInBounce:e=>1-Vi(1-e),easeOutBounce:Vi,easeInOutBounce:e=>e<.5?(1-Vi(1-2*e))/2:(1+Vi(2*e-1))/2,steps:(e,t='end')=>n=>{const r=(n='end'===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,('end'===t?Math.floor(r):Math.ceil(r))/e)}},Gi=Symbol.for('FluidValue.get'),Wi=Symbol.for('FluidValue.observers'),Yi=e=>Boolean(e&&e[Gi]),Xi=e=>e&&e[Gi]?e[Gi]():e,Ji=e=>e[Wi]||null;function Zi(e,t){const n=e[Wi];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var $i=class{constructor(e){if(!e&&!(e=this.get))throw Error('Unknown getter');eo(this,e)}},eo=(e,t)=>io(e,Gi,t);function to(e,t){if(e[Gi]){let n=e[Wi];n||io(e,Wi,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function no(e,t){const n=e[Wi];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Wi]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ro,io=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),oo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,so=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ao=new RegExp(`(${oo.source})(%|[a-z]+)`,'i'),Ao=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,lo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,co=e=>{const[t,n]=uo(e);if(!t||ai())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith('--')){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&lo.test(n)?co(n):n||e},uo=e=>{const t=lo.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fo=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ho=e=>{ro||(ro=Ai?new RegExp(`(${Object.keys(Ai).join('|')})(?!\\w)`,'g'):/^\b$/);const t=e.output.map(e=>Xi(e).replace(lo,co).replace(so,Mi).replace(ro,Mi)),n=t.map(e=>e.match(oo).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),i=r.map(t=>Pi({...e,output:t}));return e=>{const n=!ao.test(t[0])&&t.find(e=>ao.test(e))?.replace(oo,'');let r=0;return t[0].replace(oo,()=>`${i[r++](e)}${n||''}`).replace(Ao,fo)}},po='react-spring: ',go=e=>{const t=e;let n=!1;if('function'!=typeof t)throw new TypeError(`${po}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},mo=go(console.warn);var vo=go(console.warn);function bo(e){return Zr.str(e)&&('#'==e[0]||/\d/.test(e)||!ai()&&lo.test(e)||e in(Ai||{}))}var yo=ai()?r:l;function wo(){const e=n()[1],t=(()=>{const e=o(!1);return yo(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var Bo=e=>r(e,xo),xo=[];function Co(e){const t=o();return r(()=>{t.current=e}),t.current}var _o=Symbol.for('Animated:node'),jo=e=>e&&e[_o],Fo=(e,t)=>{return n=e,r=_o,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Eo=e=>e&&e[_o]&&e[_o].getPayload(),So=class{constructor(){Fo(this,this)}getPayload(){return this.payload||[]}},ko=class extends So{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Zr.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ko(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Zr.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Zr.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Uo=class extends ko{constructor(e){super(0),this._string=null,this._toString=Pi({output:[e,e]})}static create(e){return new Uo(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Zr.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Pi({output:[this.getValue(),e]})),this._value=0,super.reset()}},Qo={dependencies:null},Lo=class extends So{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ti(this.source,(n,r)=>{var i;(i=n)&&i[_o]===i?t[r]=n.getValue(e):Yi(n)?t[r]=Xi(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ei(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ti(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Qo.dependencies&&Yi(e)&&Qo.dependencies.add(e);const t=Eo(e);t&&ei(t,e=>this.add(e))}},Oo=class extends Lo{constructor(e){super(e)}static create(e){return new Oo(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(Io)),!0)}};function Io(e){return(bo(e)?Uo:ko).create(e)}function No(e){const t=jo(e);return t?t.constructor:Zr.arr(e)?Oo:bo(e)?Uo:ko}var To=(t,n)=>{const i=!Zr.fun(t)||t.prototype&&t.prototype.isReactComponent;return c((a,A)=>{const l=o(null),c=i&&s(e=>{l.current=function(e,t){e&&(Zr.fun(e)?e(t):e.current=t);return t}(A,e)},[A]),[u,d]=function(e,t){const n=new Set;Qo.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new Lo(e),Qo.dependencies=null,[e,n]}(a,n),f=wo(),h=()=>{const e=l.current;if(i&&!e)return;!1===(!!e&&n.applyAnimatedValues(e,u.getValue(!0)))&&f()},p=new Mo(h,d),g=o();yo(()=>(g.current=p,ei(d,e=>to(e,p)),()=>{g.current&&(ei(g.current.deps,e=>no(e,g.current)),Qr.cancel(g.current.update))})),r(h,[]),Bo(()=>()=>{const e=g.current;ei(e.deps,t=>no(t,e))});const m=n.getComponentProps(u.getValue());return e.createElement(t,{...m,ref:c})})},Mo=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){'change'==e.type&&Qr.write(this.update)}};var Po=Symbol.for('AnimatedComponent'),Do=e=>Zr.str(e)?e:e&&Zr.str(e.displayName)?e.displayName:Zr.fun(e)&&e.name||null;function Ro(e,...t){return Zr.fun(e)?e(...t):e}var Ho=(e,t)=>!0===e||!!(t&&e&&(Zr.fun(e)?e(t):ni(e).includes(t))),zo=(e,t)=>Zr.obj(e)?t&&e[t]:e,Ko=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Vo=e=>e,qo=(e,t=Vo)=>{let n=Go;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);Zr.und(n)||(r[i]=n)}return r},Go=['config','onProps','onStart','onChange','onPause','onResume','onRest'],Wo={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Yo(e){const t=function(e){const t={};let n=0;if(ti(e,(e,r)=>{Wo[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return ti(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function Xo(e){return e=Xi(e),Zr.arr(e)?e.map(Xo):bo(e)?Xr.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Jo(e){for(const t in e)return!0;return!1}function Zo(e){return Zr.fun(e)||Zr.arr(e)&&Zr.obj(e[0])}function $o(e,t){e.ref?.delete(e),t?.delete(e)}function es(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var ts={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},ns={...ts.default,mass:1,damping:1,easing:qi.linear,clamp:!1},rs=class{constructor(){this.velocity=0,Object.assign(this,ns)}};function is(e,t){if(Zr.und(t.decay)){const n=!Zr.und(t.tension)||!Zr.und(t.friction);!n&&Zr.und(t.frequency)&&Zr.und(t.damping)&&Zr.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var os=[],ss=class{constructor(){this.changed=!1,this.values=os,this.toValues=null,this.fromValues=os,this.config=new rs,this.immediate=!1}};function as(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let A,l,c=Ho(n.cancel??r?.cancel,t);if(c)f();else{Zr.und(n.pause)||(i.paused=Ho(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||Ho(e,t)),A=Ro(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function u(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),A=l.time-Qr.now()}function d(){A>0&&!Xr.skipAnimation?(i.delayed=!0,l=Qr.setTimeout(f,A),i.pauseQueue.add(u),i.timeouts.add(l)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(u),i.timeouts.delete(l),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(e){a(e)}}})}var As=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?us(e.get()):t.every(e=>e.noop)?ls(e.get()):cs(e.get(),t.every(e=>e.finished)),ls=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),cs=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),us=e=>({value:e,cancelled:!0,finished:!1});function ds(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:A}=n;return o||e!==a||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=qo(t,(e,t)=>'onRest'===t?void 0:e);let c,u;const d=new Promise((e,t)=>(c=e,u=t)),f=e=>{const t=i<=(n.cancelId||0)&&us(r)||i!==n.asyncId&&cs(r,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{const o=new hs,s=new ps;return(async()=>{if(Xr.skipAnimation)throw fs(n),s.result=cs(r,!1),u(s),s;f(o);const a=Zr.obj(e)?{...e}:{...t,to:e};a.parentId=i,ti(l,(e,t)=>{Zr.und(a[t])&&(a[t]=e)});const A=await r.start(a);return f(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),A})()};let p;if(Xr.skipAnimation)return fs(n),cs(r,!1);try{let t;t=Zr.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),d]),p=cs(r.get(),!0,!1)}catch(e){if(e instanceof hs)p=e.result;else{if(!(e instanceof ps))throw e;p=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?A:void 0)}return Zr.fun(s)&&Qr.batchedUpdates(()=>{s(p,r,r.item)}),p})():A}function fs(e,t){ri(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var hs=class extends Error{constructor(){super('An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.')}},ps=class extends Error{constructor(){super('SkipAnimationSignal')}},gs=e=>e instanceof vs,ms=1,vs=class extends $i{constructor(){super(...arguments),this.id=ms++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=jo(this);return e&&e.getValue()}to(...e){return Xr.to(this,e)}interpolate(...e){return mo(`${po}The "interpolate" function is deprecated in v9 (use "to" instead)`),Xr.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Zi(this,{type:'change',parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||gi.sort(this),Zi(this,{type:'priority',parent:this,priority:e})}},bs=Symbol.for('SpringPhase'),ys=e=>(1&e[bs])>0,ws=e=>(2&e[bs])>0,Bs=e=>(4&e[bs])>0,xs=(e,t)=>t?e[bs]|=3:e[bs]&=-3,Cs=(e,t)=>t?e[bs]|=4:e[bs]&=-5,_s=class extends vs{constructor(e,t){if(super(),this.animation=new ss,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Zr.und(e)||!Zr.und(t)){const n=Zr.obj(e)?{...e}:{...t,from:e};Zr.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(ws(this)||this._state.asyncTo)||Bs(this)}get goal(){return Xi(this.animation.to)}get velocity(){const e=jo(this);return e instanceof ko?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return ys(this)}get isAnimating(){return ws(this)}get isPaused(){return Bs(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=Eo(r.to);!s&&Yi(r.to)&&(i=ni(Xi(r.to))),r.values.forEach((a,A)=>{if(a.done)return;const l=a.constructor==Uo?1:s?s[A].lastPosition:i[A];let c=r.immediate,u=l;if(!c){if(u=a.lastPosition,o.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=r.fromValues[A],i=null!=a.v0?a.v0:a.v0=Zr.arr(o.velocity)?o.velocity[A]:o.velocity;let s;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Zr.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);u=n+i/(1-e)*(1-r),c=Math.abs(a.lastPosition-u)<=d,s=i*r}else{s=null==a.lastVelocity?i:a.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,A=!Zr.und(r),f=n==l?a.v0>0:n<l;let h,p=!1;const g=1,m=Math.ceil(e/g);for(let e=0;e<m&&(h=Math.abs(s)>t,h||(c=Math.abs(l-u)<=d,!c));++e){A&&(p=u==l||u>l==f,p&&(s=-s*r,u=l));s+=(1e-6*-o.tension*(u-l)+.001*-o.friction*s)/o.mass*g,u+=s*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,a.durationProgress>0&&(a.elapsedTime=o.duration*a.durationProgress,t=a.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),u=n+o.easing(r)*(l-n),s=(u-a.lastPosition)/e,c=1==r}a.lastVelocity=s,Number.isNaN(u)&&(c=!0)}s&&!s[A].done&&(c=!1),c?a.done=!0:t=!1,a.setValue(u,o.round)&&(n=!0)});const a=jo(this),A=a.getValue();if(t){const e=Xi(r.to);A===e&&!n||o.decay?n&&o.decay&&this._onChange(A):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(A)}set(e){return Qr.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ws(this)){const{to:e,config:t}=this.animation;Qr.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Zr.und(e)?(n=this.queue||[],this.queue=[]):n=[Zr.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>As(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),fs(this._state,e&&this._lastCallId),Qr.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){'change'==e.type?this._start():'priority'==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||'';let{to:n,from:r}=e;n=Zr.obj(n)?n[t]:n,(null==n||Zo(n))&&(n=void 0),r=Zr.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return ys(this)||(e.reverse&&([n,r]=[r,n]),r=Xi(r),Zr.und(r)?jo(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,qo(e,(e,t)=>/^on/.test(t)?zo(e,n):e)),Qs(this,e,'onProps'),Ls(this,'onProps',e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error('Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?');const o=this._state;return as(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Bs(this)||(Cs(this,!0),si(o.pauseQueue),Ls(this,'onPause',cs(this,js(this,this.animation.to)),this))},resume:()=>{Bs(this)&&(Cs(this,!1),ws(this)&&this._resume(),si(o.resumeQueue),Ls(this,'onResume',cs(this,js(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Fs(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(us(this));const r=!Zr.und(e.to),i=!Zr.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(us(this));this._lastToId=t.callId}const{key:o,defaultProps:s,animation:a}=this,{to:A,from:l}=a;let{to:c=A,from:u=l}=e;!i||r||t.default&&!Zr.und(c)||(c=u),t.reverse&&([c,u]=[u,c]);const d=!$r(u,l);d&&(a.from=u),u=Xi(u);const f=!$r(c,A);f&&this._focus(c);const h=Zo(t.to),{config:p}=a,{decay:g,velocity:m}=p;(r||i)&&(p.velocity=0),t.config&&!h&&function(e,t,n){n&&(is(n={...n},t),t={...n,...t}),is(e,t),Object.assign(e,t);for(const t in ns)null==e[t]&&(e[t]=ns[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Zr.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(p,Ro(t.config,o),t.config!==s.config?Ro(s.config,o):void 0);let v=jo(this);if(!v||Zr.und(c))return n(cs(this,!0));const b=Zr.und(t.reset)?i&&!t.default:!Zr.und(u)&&Ho(t.reset,o),y=b?u:this.get(),w=Xo(c),B=Zr.num(w)||Zr.arr(w)||bo(w),x=!h&&(!B||Ho(s.immediate||t.immediate,o));if(f){const e=No(c);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const C=v.constructor;let _=Yi(c),j=!1;if(!_){const e=b||!ys(this)&&d;(f||e)&&(j=$r(Xo(y),w),_=!j),($r(a.immediate,x)||x)&&$r(p.decay,g)&&$r(p.velocity,m)||(_=!0)}if(j&&ws(this)&&(a.changed&&!b?_=!0:_||this._stop(A)),!h&&((_||Yi(A))&&(a.values=v.getPayload(),a.toValues=Yi(c)?null:C==Uo?[1]:ni(w)),a.immediate!=x&&(a.immediate=x,x||b||this._set(A)),_)){const{onRest:e}=a;ei(Us,e=>Qs(this,t,e));const r=cs(this,js(this,A));si(this._pendingCalls,r),this._pendingCalls.add(n),a.changed&&Qr.batchedUpdates(()=>{a.changed=!b,e?.(r,this),b?Ro(s.onRest,r):a.onStart?.(r,this)})}b&&this._set(y),h?n(ds(t.to,t,this._state,this)):_?this._start():ws(this)&&!f?this._pendingCalls.add(n):n(ls(y))}_focus(e){const t=this.animation;e!==t.to&&(Ji(this)&&this._detach(),t.to=e,Ji(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Yi(t)&&(to(t,this),gs(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Yi(e)&&no(e,this)}_set(e,t=!0){const n=Xi(e);if(!Zr.und(n)){const e=jo(this);if(!e||!$r(n,e.getValue())){const r=No(n);e&&e.constructor==r?e.setValue(n):Fo(this,r.create(n)),e&&Qr.batchedUpdates(()=>{this._onChange(n,t)})}}return jo(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ls(this,'onStart',cs(this,js(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ro(this.animation.onChange,e,this)),Ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;jo(this).reset(Xi(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),ws(this)||(xs(this,!0),Bs(this)||this._resume())}_resume(){Xr.skipAnimation?this.finish():gi.start(this)}_stop(e,t){if(ws(this)){xs(this,!1);const n=this.animation;ei(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Zi(this,{type:'idle',parent:this});const r=t?us(this.get()):cs(this.get(),js(this,e??n.to));si(this._pendingCalls,r),n.changed&&(n.changed=!1,Ls(this,'onRest',r,this))}}};function js(e,t){const n=Xo(t);return $r(Xo(e.get()),n)}function Fs(e,t=e.loop,n=e.to){const r=Ro(t);if(r){const i=!0!==r&&Yo(r),o=(i||e).reverse,s=!i||i.reset;return Es({...e,loop:t,default:!1,pause:void 0,to:!o||Zo(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Es(e){const{to:t,from:n}=e=Yo(e),r=new Set;return Zr.obj(t)&&ks(t,r),Zr.obj(n)&&ks(n,r),e.keys=r.size?Array.from(r):null,e}function Ss(e){const t=Es(e);return Zr.und(t.default)&&(t.default=qo(t)),t}function ks(e,t){ti(e,(e,n)=>null!=e&&t.add(n))}var Us=['onStart','onRest','onChange','onPause','onResume'];function Qs(e,t,n){e.animation[n]=t[n]!==Ko(t,n)?zo(t[n],e.key):void 0}function Ls(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Os=['onStart','onChange','onRest'],Is=1,Ns=class{constructor(e,t){this.id=Is++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];Zr.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Es(e)),this}start(e){let{queue:t}=this;return e?t=ni(e).map(Es):this.queue=[],this._flush?this._flush(this,t):(zs(this,t),Ts(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ei(ni(t),t=>n[t].stop(!!e))}else fs(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(Zr.und(e))this.start({pause:!0});else{const t=this.springs;ei(ni(e),e=>t[e].pause())}return this}resume(e){if(Zr.und(e))this.start({pause:!1});else{const t=this.springs;ei(ni(e),e=>t[e].resume())}return this}each(e){ti(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,ri(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&ri(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,ri(n,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if('change'==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if('idle'!=e.type)return;this._active.delete(e.parent)}Qr.onFrame(this._onFrame)}};function Ts(e,t){return Promise.all(t.map(t=>Ms(e,t))).then(t=>As(e,t))}async function Ms(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:A}=t,l=Zr.obj(t.default)&&t.default;s&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const c=Zr.arr(i)||Zr.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):ei(Os,n=>{const r=t[n];if(Zr.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}});const u=e._state;t.pause===!u.paused?(u.paused=t.pause,si(t.pause?u.pauseQueue:u.resumeQueue)):u.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===Ko(t,'cancel');(c||f&&u.asyncId)&&d.push(as(++e._lastAsyncId,{props:t,state:u,actions:{pause:Jr,resume:Jr,start(t,n){f?(fs(u,e._lastAsyncId),n(us(e))):(t.onRest=a,n(ds(c,t,u,e)))}}})),u.paused&&await new Promise(e=>{u.resumeQueue.add(e)});const h=As(e,await Promise.all(d));if(s&&h.finished&&(!n||!h.noop)){const n=Fs(t,s,i);if(n)return zs(e,[n]),Ms(e,n,!0)}return A&&Qr.batchedUpdates(()=>A(h,e,e.item)),h}function Ps(e,t){const n={...e.springs};return t&&ei(ni(t),e=>{Zr.und(e.keys)&&(e=Es(e)),Zr.obj(e.to)||(e={...e,to:void 0}),Hs(n,e,e=>Rs(e))}),Ds(e,n),n}function Ds(e,t){ti(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,to(t,e))})}function Rs(e,t){const n=new _s;return n.key=e,t&&to(n,t),n}function Hs(e,t,n){t.keys&&ei(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function zs(e,t){ei(t,t=>{Hs(e.springs,t,t=>Rs(t,e))})}var Ks,Vs,qs=({children:t,...i})=>{const s=u(Gs),a=i.pause||!!s.pause,A=i.immediate||!!s.immediate;i=function(e,t){const[i]=n(()=>({inputs:t,result:e()})),s=o(),a=s.current;let A=a;if(A){const n=Boolean(t&&A.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,A.inputs));n||(A={inputs:t,result:e()})}else A=i;return r(()=>{s.current=A,a==i&&(i.inputs=i.result=void 0)},[A]),A.result}(()=>({pause:a,immediate:A}),[a,A]);const{Provider:l}=Gs;return e.createElement(l,{value:i},t)},Gs=(Ks=qs,Vs={},Object.assign(Ks,e.createContext(Vs)),Ks.Provider._context=Ks,Ks.Consumer._context=Ks,Ks);qs.Provider=Gs.Provider,qs.Consumer=Gs.Consumer;var Ws=()=>{const e=[],t=function(t){vo(`${po}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return ei(e,(e,i)=>{if(Zr.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return ei(e,e=>e.pause(...arguments)),this},t.resume=function(){return ei(e,e=>e.resume(...arguments)),this},t.set=function(t){ei(e,(e,n)=>{const r=Zr.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return ei(e,(e,r)=>{if(Zr.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return ei(e,e=>e.stop(...arguments)),this},t.update=function(t){return ei(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return Zr.fun(e)?e(n,t):e};return t._getProps=n,t};function Ys(e,t){const n=Zr.fun(e),[[r],i]=function(e,t,n){const r=Zr.fun(t)&&t;r&&!n&&(n=[]);const i=d(()=>r||3==arguments.length?Ws():void 0,[]),s=o(0),a=wo(),A=d(()=>({ctrls:[],queue:[],flush(e,t){const n=Ps(e,t);return s.current>0&&!A.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Ts(e,t):new Promise(r=>{Ds(e,n),A.queue.push(()=>{r(Ts(e,t))}),a()})}}),[]),l=o([...A.ctrls]),c=[],f=Co(e)||0;function h(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new Ns(null,A.flush)),n=r?r(i,e):t[i];n&&(c[i]=Ss(n))}}d(()=>{ei(l.current.slice(e,f),e=>{$o(e,i),e.stop(!0)}),l.current.length=e,h(f,e)},[e]),d(()=>{h(0,Math.min(f,e))},n);const p=l.current.map((e,t)=>Ps(e,c[t])),g=u(qs),m=Co(g),v=g!==m&&Jo(g);yo(()=>{s.current++,A.ctrls=l.current;const{queue:e}=A;e.length&&(A.queue=[],ei(e,e=>e())),ei(l.current,(e,t)=>{i?.add(e),v&&e.start({default:g});const n=c[t];n&&(es(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Bo(()=>()=>{ei(A.ctrls,e=>e.stop(!0))});const b=p.map(e=>({...e}));return i?[b,i]:b}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function Xs(t,n,r){const i=Zr.fun(n)&&n,{reset:s,sort:a,trail:A=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:f,ref:h,config:p}=i?i():n,g=d(()=>i||3==arguments.length?Ws():void 0,[]),m=ni(t),v=[],b=o(null),y=s?null:b.current;yo(()=>{b.current=v}),Bo(()=>(ei(v,e=>{g?.add(e.ctrl),e.ctrl.ref=g}),()=>{ei(b.current,e=>{e.expired&&clearTimeout(e.expirationId),$o(e.ctrl,g),e.ctrl.stop(!0)})}));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map(e=>{const n=r&&r.find(n=>n.item===e&&'leave'!==n.phase&&!t.has(n));return n?(t.add(n),n.key):Js++})}return Zr.und(n)?e:Zr.fun(n)?e.map(n):ni(n)}(m,i?i():n,y),B=s&&b.current||[];yo(()=>ei(B,({ctrl:e,item:t,key:n})=>{$o(e,g),Ro(f,t,n)}));const x=[];if(y&&ei(y,(e,t)=>{e.expired?(clearTimeout(e.expirationId),B.push(e)):~(t=x[t]=w.indexOf(e.key))&&(v[t]=e)}),ei(m,(e,t)=>{v[t]||(v[t]={key:w[t],item:e,phase:'mount',ctrl:new Ns},v[t].ctrl.item=e)}),x.length){let e=-1;const{leave:t}=i?i():n;ei(x,(n,r)=>{const i=y[r];~n?(e=v.indexOf(i),v[e]={...i,item:m[n]}):t&&v.splice(++e,0,i)})}Zr.fun(a)&&v.sort((e,t)=>a(e.item,t.item));let C=-A;const _=wo(),j=qo(n),F=new Map,E=o(new Map),S=o(!1);ei(v,(e,t)=>{const r=e.key,o=e.phase,s=i?i():n;let a,u;const d=Ro(s.delay||0,r);if('mount'==o)a=s.enter,u='enter';else{const e=w.indexOf(r)<0;if('leave'!=o)if(e)a=s.leave,u='leave';else{if(!(a=s.update))return;u='update'}else{if(e)return;a=s.enter,u='enter'}}if(a=Ro(a,e.item,t),a=Zr.obj(a)?Yo(a):{to:a},!a.config){const n=p||j.config;a.config=Ro(n,e.item,t,u)}C+=A;const f={...j,delay:d+C,ref:h,immediate:s.immediate,reset:!1,...a};if('enter'==u&&Zr.und(f.from)){const r=i?i():n,o=Zr.und(r.initial)||y?r.from:r.initial;f.from=Ro(o,e.item,t)}const{onResolve:g}=f;f.onResolve=e=>{Ro(g,e);const t=b.current,n=t.find(e=>e.key===r);if(n&&(!e.cancelled||'update'==n.phase)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if('leave'==n.phase){const t=Ro(l,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some(e=>e.expired)&&(E.current.delete(n),c&&(S.current=!0),_())}};const m=Ps(e.ctrl,f);'leave'===u&&c?E.current.set(e,{phase:u,springs:m,payload:f}):F.set(e,{phase:u,springs:m,payload:f})});const k=u(qs),U=Co(k),Q=k!==U&&Jo(k);yo(()=>{Q&&ei(v,e=>{e.ctrl.start({default:k})})},[k]),ei(F,(e,t)=>{if(E.current.size){const e=v.findIndex(e=>e.key===t.key);v.splice(e,1)}}),yo(()=>{ei(E.current.size?E.current:F,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,g?.add(r),Q&&'enter'==e&&r.start({default:k}),t&&(es(r,t.ref),!r.ref&&!g||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))})},s?void 0:r);const L=t=>e.createElement(e.Fragment,null,v.map((n,r)=>{const{springs:i}=F.get(n)||n.ctrl,o=t({...i},n.item,n,r);return o&&o.type?e.createElement(o.type,{...o.props,key:Zr.str(n.key)||Zr.num(n.key)?n.key:n.ctrl.id,ref:o.ref}):o}));return g?[L,g]:L}var Js=1;var Zs=class extends vs{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Pi(...t);const n=this._get(),r=No(n);Fo(this,r.create(n))}advance(e){const t=this._get();$r(t,this.get())||(jo(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ea(this._active)&&ta(this)}_get(){const e=Zr.arr(this.source)?this.source.map(Xi):ni(Xi(this.source));return this.calc(...e)}_start(){this.idle&&!ea(this._active)&&(this.idle=!1,ei(Eo(this),e=>{e.done=!1}),Xr.skipAnimation?(Qr.batchedUpdates(()=>this.advance()),ta(this)):gi.start(this))}_attach(){let e=1;ei(ni(this.source),t=>{Yi(t)&&to(t,this),gs(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ei(ni(this.source),e=>{Yi(e)&&no(e,this)}),this._active.clear(),ta(this)}eventObserved(e){'change'==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):'idle'==e.type?this._active.delete(e.parent):'priority'==e.type&&(this.priority=ni(this.source).reduce((e,t)=>Math.max(e,(gs(t)?t.priority:0)+1),0))}};function $s(e){return!1!==e.idle}function ea(e){return!e.size||Array.from(e).every($s)}function ta(e){e.idle||(e.idle=!0,ei(Eo(e),e=>{e.done=!0}),Zi(e,{type:'idle',parent:e}))}var na=(e,...t)=>new Zs(e,t);Xr.assign({createStringInterpolator:ho,to:(e,t)=>new Zs(e,t)});var ra=/^--/;function ia(e,t){return null==t||'boolean'==typeof t||''===t?'':'number'!=typeof t||0===t||ra.test(e)||sa.hasOwnProperty(e)&&sa[e]?(''+t).trim():t+'px'}var oa={};var sa={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,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},aa=['Webkit','Ms','Moz','O'];sa=Object.keys(sa).reduce((e,t)=>(aa.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),sa);var Aa=/^(matrix|translate|scale|rotate|skew)/,la=/^(translate)/,ca=/^(rotate|skew)/,ua=(e,t)=>Zr.num(e)&&0!==e?e+t:e,da=(e,t)=>Zr.arr(e)?e.every(e=>da(e,t)):Zr.num(e)?e===t:parseFloat(e)===t,fa=class extends Lo{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>ua(e,'px')).join(',')})`,da(e,0)])),ti(r,(e,t)=>{if('transform'===t)i.push([e||'']),o.push(e=>[e,''===e]);else if(Aa.test(t)){if(delete r[t],Zr.und(e))return;const n=la.test(t)?'px':ca.test(t)?'deg':'';i.push(ni(e)),o.push('rotate3d'===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ua(i,n)})`,da(i,0)]:e=>[`${t}(${e.map(e=>ua(e,n)).join(',')})`,da(e,t.startsWith('scale')?1:0)])}}),i.length&&(r.transform=new ha(i,o)),super(r)}},ha=class extends $i{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e='',t=!0;return ei(this.inputs,(n,r)=>{const i=Xi(n[0]),[o,s]=this.transforms[r](Zr.arr(i)?i:n.map(Xi));e+=' '+o,t=t&&s}),t?'none':e}observerAdded(e){1==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&to(e,this)))}observerRemoved(e){0==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&no(e,this)))}eventObserved(e){'change'==e.type&&(this._value=null),Zi(this,e)}};Xr.assign({batchedUpdates:y,createStringInterpolator:ho,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var pa=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Lo(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Do(e)||'Anonymous';return(e=Zr.str(e)?o[e]||(o[e]=To(e,i)):e[Po]||(e[Po]=To(e,i))).displayName=`Animated(${t})`,e};return ti(e,(t,n)=>{Zr.arr(e)&&(n=Do(t)),o[n]=o(t)}),{animated:o}})(['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n='filter'===e.nodeName||e.parentNode&&'filter'===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:s,scrollLeft:a,viewBox:A,...l}=t,c=Object.values(l),u=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:oa[t]||(oa[t]=t.replace(/([A-Z])/g,e=>'-'+e.toLowerCase())));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=ia(t,i[t]);ra.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==r&&(e.className=r),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==A&&e.setAttribute('viewBox',A)},createAnimatedStyle:e=>new fa(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),ga=pa.animated;function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ma.apply(this,arguments)}var va={pointerEvents:'none',position:'absolute',zIndex:10,top:0,left:0},ba=function(e,t){return'translate('+e+'px, '+t+'px)'},ya=f(function(e){var t,n=e.position,r=e.anchor,i=e.children,s=cC(),a=Rx(),A=a.animate,l=a.config,c=iC(),u=c[0],d=c[1],f=o(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&('top'===r?(m-=d.width/2,v-=d.height+14):'right'===r?(m+=14,v-=d.height/2):'bottom'===r?(m-=d.width/2,v+=14):'left'===r?(m-=d.width+14,v-=d.height/2):'center'===r&&(m-=d.width/2,v-=d.height/2),h={transform:ba(m,v)},f.current||(p=!0),f.current=[m,v]);var b=Ys({to:h,config:l,immediate:!A||p}),y=ma({},va,s.tooltip,{transform:null!=(t=b.transform)?t:ba(m,v)});return w(ga.div,{ref:u,style:y,children:i})});ya.displayName='TooltipWrapper';var wa=f(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return w('span',{style:ma({display:'block',width:n,height:n,background:r},void 0===i?{}:i)})}),Ba=f(function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,s=void 0!==o&&o,a=e.color,A=e.renderContent,l=cC(),c=sC(i);if('function'==typeof A)t=A();else{var u=r;void 0!==c&&void 0!==u&&(u=c(u)),t=B('div',{style:l.tooltip.basic,children:[s&&w(wa,{color:a,style:l.tooltip.chip}),void 0!==u?B('span',{children:[n,': ',w('strong',{children:''+u})]}):n]})}return w('div',{style:l.tooltip.container,children:t})}),xa={width:'100%',borderCollapse:'collapse'},Ca=f(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,s=cC();return i.length?(t='function'==typeof o?o():B('div',{children:[n&&n,w('table',{style:ma({},xa,s.tooltip.table),children:w('tbody',{children:i.map(function(e,t){return w('tr',{children:e.map(function(e,t){return w('td',{style:s.tooltip.tableCell,children:e},t)})},t)})})})]}),w('div',{style:s.tooltip.container,children:t})):null});Ca.displayName='TableTooltip';var _a=f(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=cC(),s=Rx(),a=s.animate,A=s.config,l=d(function(){return ma({},o.crosshair.line,{pointerEvents:'none'})},[o.crosshair.line]),c=Ys({x1:t,x2:n,y1:r,y2:i,config:A,immediate:!a});return w(ga.line,ma({},c,{fill:'none',style:l}))});_a.displayName='CrosshairLine';var ja=f(function(e){var t,n,r=e.width,i=e.height,o=e.type,s=e.x,a=e.y;return'cross'===o?(t={x0:s,x1:s,y0:0,y1:i},n={x0:0,x1:r,y0:a,y1:a}):'top-left'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:0,x1:s,y0:a,y1:a}):'top'===o?t={x0:s,x1:s,y0:0,y1:a}:'top-right'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:s,x1:r,y0:a,y1:a}):'right'===o?n={x0:s,x1:r,y0:a,y1:a}:'bottom-right'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:s,x1:r,y0:a,y1:a}):'bottom'===o?t={x0:s,x1:s,y0:a,y1:i}:'bottom-left'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:0,x1:s,y0:a,y1:a}):'left'===o?n={x0:0,x1:s,y0:a,y1:a}:'x'===o?t={x0:s,x1:s,y0:0,y1:i}:'y'===o&&(n={x0:0,x1:r,y0:a,y1:a}),B(x,{children:[t&&w(_a,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&w(_a,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});ja.displayName='Crosshair';var Fa=h({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Ea={isVisible:!1,position:[null,null],content:null,anchor:null},Sa=h(Ea),ka=function(){var e=u(Fa);if(void 0===e)throw new Error('useTooltip must be used within a TooltipProvider');return e},Ua=function(){var e=function(){var e=u(Sa);if(void 0===e)throw new Error('useTooltipState must be used within a TooltipProvider');return e}();return function(e){return e.isVisible}(e)?w(ya,{position:e.position,anchor:e.anchor,children:e.content}):null},Qa=function(e){var t=e.container,r=e.children,i=function(e){var t=n(Ea),r=t[0],i=t[1],o=s(function(e,t,n){var r=t[0],o=t[1];void 0===n&&(n='top'),i({isVisible:!0,position:[r,o],anchor:n,content:e})},[i]),a=s(function(t,n,r){void 0===r&&(r='top');var o=e.current.getBoundingClientRect(),s=e.current.offsetWidth,a=s===o.width?1:s/o.width,A=(n.clientX-o.left)*a,l=(n.clientY-o.top)*a;'left'!==r&&'right'!==r||(r=A<o.width/2?'right':'left'),i({isVisible:!0,position:[A,l],anchor:r,content:t})},[e,i]),A=s(function(){i(Ea)},[i]);return{actions:d(function(){return{showTooltipAt:o,showTooltipFromEvent:a,hideTooltip:A}},[o,a,A]),state:r}}(t),o=i.actions,a=i.state;return w(Fa.Provider,{value:o,children:w(Sa.Provider,{value:a,children:r})})};var La=function(){this.__data__=[],this.size=0};var Oa=function(e,t){return e===t||e!=e&&t!=t},Ia=Oa;var Na=function(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1},Ta=Na,Ma=Array.prototype.splice;var Pa=Na;var Da=Na;var Ra=Na;var Ha=La,za=function(e){var t=this.__data__,n=Ta(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ma.call(t,n,1),--this.size,!0)},Ka=function(e){var t=this.__data__,n=Pa(t,e);return n<0?void 0:t[n][1]},Va=function(e){return Da(this.__data__,e)>-1},qa=function(e,t){var n=this.__data__,r=Ra(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Ga(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ga.prototype.clear=Ha,Ga.prototype.delete=za,Ga.prototype.get=Ka,Ga.prototype.has=Va,Ga.prototype.set=qa;var Wa=Ga,Ya=Wa;var Xa=function(){this.__data__=new Ya,this.size=0};var Ja=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Za=function(e){return this.__data__.get(e)};var $a=function(e){return this.__data__.has(e)},eA='object'==typeof nr&&nr&&nr.Object===Object&&nr,tA=eA,nA='object'==typeof self&&self&&self.Object===Object&&self,rA=tA||nA||Function('return this')(),iA=rA.Symbol,oA=iA,sA=Object.prototype,aA=sA.hasOwnProperty,AA=sA.toString,lA=oA?oA.toStringTag:void 0;var cA=function(e){var t=aA.call(e,lA),n=e[lA];try{e[lA]=void 0;var r=!0}catch(e){}var i=AA.call(e);return r&&(t?e[lA]=n:delete e[lA]),i},uA=Object.prototype.toString;var dA=cA,fA=function(e){return uA.call(e)},hA=iA?iA.toStringTag:void 0;var pA=function(e){return null==e?void 0===e?'[object Undefined]':'[object Null]':hA&&hA in Object(e)?dA(e):fA(e)};var gA=function(e){var t=typeof e;return null!=e&&('object'==t||'function'==t)},mA=pA,vA=gA;var bA,yA=function(e){if(!vA(e))return!1;var t=mA(e);return'[object Function]'==t||'[object GeneratorFunction]'==t||'[object AsyncFunction]'==t||'[object Proxy]'==t},wA=rr(yA),BA=rA['__core-js_shared__'],xA=(bA=/[^.]+$/.exec(BA&&BA.keys&&BA.keys.IE_PROTO||''))?'Symbol(src)_1.'+bA:'';var CA=function(e){return!!xA&&xA in e},_A=Function.prototype.toString;var jA=function(e){if(null!=e){try{return _A.call(e)}catch(e){}try{return e+''}catch(e){}}return''},FA=yA,EA=CA,SA=gA,kA=jA,UA=/^\[object .+?Constructor\]$/,QA=Function.prototype,LA=Object.prototype,OA=QA.toString,IA=LA.hasOwnProperty,NA=RegExp('^'+OA.call(IA).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');var TA=function(e,t){return null==e?void 0:e[t]},MA=function(e){return!(!SA(e)||EA(e))&&(FA(e)?NA:UA).test(kA(e))},PA=TA;var DA=function(e,t){var n=PA(e,t);return MA(n)?n:void 0},RA=DA(rA,'Map'),HA=DA(Object,'create'),zA=HA;var KA=function(){this.__data__=zA?zA(null):{},this.size=0};var VA=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qA=HA,GA=Object.prototype.hasOwnProperty;var WA=function(e){var t=this.__data__;if(qA){var n=t[e];return'__lodash_hash_undefined__'===n?void 0:n}return GA.call(t,e)?t[e]:void 0},YA=HA,XA=Object.prototype.hasOwnProperty;var JA=HA;var ZA=KA,$A=VA,el=WA,tl=function(e){var t=this.__data__;return YA?void 0!==t[e]:XA.call(t,e)},nl=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=JA&&void 0===t?'__lodash_hash_undefined__':t,this};function rl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rl.prototype.clear=ZA,rl.prototype.delete=$A,rl.prototype.get=el,rl.prototype.has=tl,rl.prototype.set=nl;var il=rl,ol=Wa,sl=RA;var al=function(e){var t=typeof e;return'string'==t||'number'==t||'symbol'==t||'boolean'==t?'__proto__'!==e:null===e};var Al=function(e,t){var n=e.__data__;return al(t)?n['string'==typeof t?'string':'hash']:n.map},ll=Al;var cl=Al;var ul=Al;var dl=Al;var fl=function(){this.size=0,this.__data__={hash:new il,map:new(sl||ol),string:new il}},hl=function(e){var t=ll(this,e).delete(e);return this.size-=t?1:0,t},pl=function(e){return cl(this,e).get(e)},gl=function(e){return ul(this,e).has(e)},ml=function(e,t){var n=dl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function vl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vl.prototype.clear=fl,vl.prototype.delete=hl,vl.prototype.get=pl,vl.prototype.has=gl,vl.prototype.set=ml;var bl=vl,yl=Wa,wl=RA,Bl=bl;var xl=Wa,Cl=Xa,_l=Ja,jl=Za,Fl=$a,El=function(e,t){var n=this.__data__;if(n instanceof yl){var r=n.__data__;if(!wl||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Bl(r)}return n.set(e,t),this.size=n.size,this};function Sl(e){var t=this.__data__=new xl(e);this.size=t.size}Sl.prototype.clear=Cl,Sl.prototype.delete=_l,Sl.prototype.get=jl,Sl.prototype.has=Fl,Sl.prototype.set=El;var kl=Sl,Ul=DA,Ql=function(){try{var e=Ul(Object,'defineProperty');return e({},'',{}),e}catch(e){}}(),Ll=Ql;var Ol=function(e,t,n){'__proto__'==t&&Ll?Ll(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Il=Ol,Nl=Oa;var Tl=function(e,t,n){(void 0!==n&&!Nl(e[t],n)||void 0===n&&!(t in e))&&Il(e,t,n)};var Ml=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var A=s[e?a:++i];if(!1===n(o[A],A,o))break}return t}},Pl=Ml(),Dl={exports:{}};!function(e,t){var n=rA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}(Dl,Dl.exports);var Rl=Dl.exports,Hl=rA.Uint8Array,zl=Hl;var Kl=function(e){var t=new e.constructor(e.byteLength);return new zl(t).set(new zl(e)),t},Vl=Kl;var ql=function(e,t){var n=t?Vl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Gl=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Wl=gA,Yl=Object.create,Xl=function(){function e(){}return function(t){if(!Wl(t))return{};if(Yl)return Yl(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Jl=Xl;var Zl=function(e,t){return function(n){return e(t(n))}},$l=Zl(Object.getPrototypeOf,Object),ec=Object.prototype;var tc=function(e){var t=e&&e.constructor;return e===('function'==typeof t&&t.prototype||ec)},nc=Jl,rc=$l,ic=tc;var oc=function(e){return'function'!=typeof e.constructor||ic(e)?{}:nc(rc(e))};var sc=function(e){return null!=e&&'object'==typeof e},ac=pA,Ac=sc;var lc=function(e){return Ac(e)&&'[object Arguments]'==ac(e)},cc=sc,uc=Object.prototype,dc=uc.hasOwnProperty,fc=uc.propertyIsEnumerable,hc=lc(function(){return arguments}())?lc:function(e){return cc(e)&&dc.call(e,'callee')&&!fc.call(e,'callee')},pc=Array.isArray;var gc=function(e){return'number'==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},mc=yA,vc=gc;var bc=function(e){return null!=e&&vc(e.length)&&!mc(e)},yc=bc,wc=sc;var Bc=function(e){return wc(e)&&yc(e)},xc={exports:{}};var Cc=function(){return!1};!function(e,t){var n=rA,r=Cc,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(xc,xc.exports);var _c=xc.exports,jc=pA,Fc=$l,Ec=sc,Sc=Function.prototype,kc=Object.prototype,Uc=Sc.toString,Qc=kc.hasOwnProperty,Lc=Uc.call(Object);var Oc=function(e){if(!Ec(e)||'[object Object]'!=jc(e))return!1;var t=Fc(e);if(null===t)return!0;var n=Qc.call(t,'constructor')&&t.constructor;return'function'==typeof n&&n instanceof n&&Uc.call(n)==Lc},Ic=rr(Oc),Nc=pA,Tc=gc,Mc=sc,Pc={};Pc['[object Float32Array]']=Pc['[object Float64Array]']=Pc['[object Int8Array]']=Pc['[object Int16Array]']=Pc['[object Int32Array]']=Pc['[object Uint8Array]']=Pc['[object Uint8ClampedArray]']=Pc['[object Uint16Array]']=Pc['[object Uint32Array]']=!0,Pc['[object Arguments]']=Pc['[object Array]']=Pc['[object ArrayBuffer]']=Pc['[object Boolean]']=Pc['[object DataView]']=Pc['[object Date]']=Pc['[object Error]']=Pc['[object Function]']=Pc['[object Map]']=Pc['[object Number]']=Pc['[object Object]']=Pc['[object RegExp]']=Pc['[object Set]']=Pc['[object String]']=Pc['[object WeakMap]']=!1;var Dc=function(e){return Mc(e)&&Tc(e.length)&&!!Pc[Nc(e)]};var Rc=function(e){return function(t){return e(t)}},Hc={exports:{}};!function(e,t){var n=eA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require('util').types;return e||o&&o.binding&&o.binding('util')}catch(e){}}();e.exports=s}(Hc,Hc.exports);var zc=Hc.exports,Kc=Dc,Vc=Rc,qc=zc&&zc.isTypedArray,Gc=qc?Vc(qc):Kc;var Wc=function(e,t){if(('constructor'!==t||'function'!=typeof e[t])&&'__proto__'!=t)return e[t]},Yc=Ol,Xc=Oa,Jc=Object.prototype.hasOwnProperty;var Zc=function(e,t,n){var r=e[t];Jc.call(e,t)&&Xc(r,n)&&(void 0!==n||t in e)||Yc(e,t,n)},$c=Zc,eu=Ol;var tu=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],A=r?r(n[a],e[a],a,n,e):void 0;void 0===A&&(A=e[a]),i?eu(n,a,A):$c(n,a,A)}return n};var nu=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},ru=/^(?:0|[1-9]\d*)$/;var iu=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&('number'==n||'symbol'!=n&&ru.test(e))&&e>-1&&e%1==0&&e<t},ou=nu,su=hc,au=pc,Au=_c,lu=iu,cu=Gc,uu=Object.prototype.hasOwnProperty;var du=function(e,t){var n=au(e),r=!n&&su(e),i=!n&&!r&&Au(e),o=!n&&!r&&!i&&cu(e),s=n||r||i||o,a=s?ou(e.length,String):[],A=a.length;for(var l in e)!t&&!uu.call(e,l)||s&&('length'==l||i&&('offset'==l||'parent'==l)||o&&('buffer'==l||'byteLength'==l||'byteOffset'==l)||lu(l,A))||a.push(l);return a};var fu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},hu=gA,pu=tc,gu=fu,mu=Object.prototype.hasOwnProperty;var vu=function(e){if(!hu(e))return gu(e);var t=pu(e),n=[];for(var r in e)('constructor'!=r||!t&&mu.call(e,r))&&n.push(r);return n},bu=du,yu=vu,wu=bc;var Bu=function(e){return wu(e)?bu(e,!0):yu(e)},xu=tu,Cu=Bu;var _u=Tl,ju=Rl,Fu=ql,Eu=Gl,Su=oc,ku=hc,Uu=pc,Qu=Bc,Lu=_c,Ou=yA,Iu=gA,Nu=Oc,Tu=Gc,Mu=Wc,Pu=function(e){return xu(e,Cu(e))};var Du=function(e,t,n,r,i,o,s){var a=Mu(e,n),A=Mu(t,n),l=s.get(A);if(l)_u(e,n,l);else{var c=o?o(a,A,n+'',e,t,s):void 0,u=void 0===c;if(u){var d=Uu(A),f=!d&&Lu(A),h=!d&&!f&&Tu(A);c=A,d||f||h?Uu(a)?c=a:Qu(a)?c=Eu(a):f?(u=!1,c=ju(A,!0)):h?(u=!1,c=Fu(A,!0)):c=[]:Nu(A)||ku(A)?(c=a,ku(a)?c=Pu(a):Iu(a)&&!Ou(a)||(c=Su(A))):u=!1}u&&(s.set(A,c),i(c,A,r,o,s),s.delete(A)),_u(e,n,c)}},Ru=kl,Hu=Tl,zu=Pl,Ku=Du,Vu=gA,qu=Bu,Gu=Wc;var Wu=function e(t,n,r,i,o){t!==n&&zu(n,function(s,a){if(o||(o=new Ru),Vu(s))Ku(t,n,a,r,e,i,o);else{var A=i?i(Gu(t,a),s,a+'',t,n,o):void 0;void 0===A&&(A=s),Hu(t,a,A)}},qu)};var Yu=function(e){return e};var Xu=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Ju=Math.max;var Zu=function(e,t,n){return t=Ju(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Ju(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),Xu(e,this,a)}};var $u=function(e){return function(){return e}},ed=Ql,td=ed?function(e,t){return ed(e,'toString',{configurable:!0,enumerable:!1,value:$u(t),writable:!0})}:Yu,nd=td,rd=Date.now;var id=function(e){var t=0,n=0;return function(){var r=rd(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nd),od=Yu,sd=Zu,ad=id;var Ad=function(e,t){return ad(sd(e,t,od),e+'')},ld=Oa,cd=bc,ud=iu,dd=gA;var fd=function(e,t,n){if(!dd(n))return!1;var r=typeof t;return!!('number'==r?cd(n)&&ud(t,n.length):'string'==r&&t in n)&&ld(n[t],e)},hd=Ad,pd=fd;var gd=function(e){return hd(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&'function'==typeof o?(i--,o):void 0,s&&pd(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t})},md=Wu,vd=gd(function(e,t,n){md(e,t,n)}),bd=rr(vd),yd=pA,wd=sc;var Bd=function(e){return'symbol'==typeof e||wd(e)&&'[object Symbol]'==yd(e)},xd=pc,Cd=Bd,_d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jd=/^\w*$/;var Fd=function(e,t){if(xd(e))return!1;var n=typeof e;return!('number'!=n&&'symbol'!=n&&'boolean'!=n&&null!=e&&!Cd(e))||(jd.test(e)||!_d.test(e)||null!=t&&e in Object(t))},Ed=bl;function Sd(e,t){if('function'!=typeof e||null!=t&&'function'!=typeof t)throw new TypeError('Expected a function');var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Sd.Cache||Ed),n}Sd.Cache=Ed;var kd=Sd;var Ud=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qd=/\\(\\)?/g,Ld=function(e){var t=kd(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(''),e.replace(Ud,function(e,n,r,i){t.push(r?i.replace(Qd,'$1'):n||e)}),t}),Od=Ld;var Id=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Nd=Id,Td=pc,Md=Bd,Pd=iA?iA.prototype:void 0,Dd=Pd?Pd.toString:void 0;var Rd=function e(t){if('string'==typeof t)return t;if(Td(t))return Nd(t,e)+'';if(Md(t))return Dd?Dd.call(t):'';var n=t+'';return'0'==n&&1/t==-1/0?'-0':n},Hd=Rd;var zd=pc,Kd=Fd,Vd=Od,qd=function(e){return null==e?'':Hd(e)};var Gd=function(e,t){return zd(e)?e:Kd(e,t)?[e]:Vd(qd(e))},Wd=Bd;var Yd=function(e){if('string'==typeof e||Wd(e))return e;var t=e+'';return'0'==t&&1/e==-1/0?'-0':t},Xd=Gd,Jd=Yd;var Zd=function(e,t){for(var n=0,r=(t=Xd(t,e)).length;null!=e&&n<r;)e=e[Jd(t[n++])];return n&&n==r?e:void 0},$d=Zd;var ef=function(e,t,n){var r=null==e?void 0:$d(e,t);return void 0===r?n:r},tf=rr(ef),nf=Zc,rf=Gd,of=iu,sf=gA,af=Yd;var Af=function(e,t,n,r){if(!sf(e))return e;for(var i=-1,o=(t=rf(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var A=af(t[i]),l=n;if('__proto__'===A||'constructor'===A||'prototype'===A)return e;if(i!=s){var c=a[A];void 0===(l=r?r(c,A,a):void 0)&&(l=sf(c)?c:of(t[i+1])?[]:{})}nf(a,A,l),a=a[A]}return e},lf=Af;var cf=function(e,t,n){return null==e?e:lf(e,t,n)},uf=rr(cf);function df(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ff(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function hf(){}var pf=.7,gf=1/pf,mf='\\s*([+-]?\\d+)\\s*',vf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*',bf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*',yf=/^#([0-9a-f]{3,8})$/,wf=new RegExp(`^rgb\\(${mf},${mf},${mf}\\)$`),Bf=new RegExp(`^rgb\\(${bf},${bf},${bf}\\)$`),xf=new RegExp(`^rgba\\(${mf},${mf},${mf},${vf}\\)$`),Cf=new RegExp(`^rgba\\(${bf},${bf},${bf},${vf}\\)$`),_f=new RegExp(`^hsl\\(${vf},${bf},${bf}\\)$`),jf=new RegExp(`^hsla\\(${vf},${bf},${bf},${vf}\\)$`),Ff={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};function Ef(){return this.rgb().formatHex()}function Sf(){return this.rgb().formatRgb()}function kf(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=yf.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Uf(t):3===n?new Of(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Qf(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Qf(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=wf.exec(e))?new Of(t[1],t[2],t[3],1):(t=Bf.exec(e))?new Of(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xf.exec(e))?Qf(t[1],t[2],t[3],t[4]):(t=Cf.exec(e))?Qf(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=_f.exec(e))?Df(t[1],t[2]/100,t[3]/100,1):(t=jf.exec(e))?Df(t[1],t[2]/100,t[3]/100,t[4]):Ff.hasOwnProperty(e)?Uf(Ff[e]):'transparent'===e?new Of(NaN,NaN,NaN,0):null}function Uf(e){return new Of(e>>16&255,e>>8&255,255&e,1)}function Qf(e,t,n,r){return r<=0&&(e=t=n=NaN),new Of(e,t,n,r)}function Lf(e,t,n,r){return 1===arguments.length?function(e){return e instanceof hf||(e=kf(e)),e?new Of((e=e.rgb()).r,e.g,e.b,e.opacity):new Of}(e):new Of(e,t,n,null==r?1:r)}function Of(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function If(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}`}function Nf(){const e=Tf(this.opacity);return`${1===e?'rgb(':'rgba('}${Mf(this.r)}, ${Mf(this.g)}, ${Mf(this.b)}${1===e?')':`, ${e})`}`}function Tf(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Mf(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Pf(e){return((e=Mf(e))<16?'0':'')+e.toString(16)}function Df(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hf(e,t,n,r)}function Rf(e){if(e instanceof Hf)return new Hf(e.h,e.s,e.l,e.opacity);if(e instanceof hf||(e=kf(e)),!e)return new Hf;if(e instanceof Hf)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Hf(s,a,A,e.opacity)}function Hf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function zf(e){return(e=(e||0)%360)<0?e+360:e}function Kf(e){return Math.max(0,Math.min(1,e||0))}function Vf(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}df(hf,kf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ef,formatHex:Ef,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rf(this).formatHsl()},formatRgb:Sf,toString:Sf}),df(Of,Lf,ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Of(Mf(this.r),Mf(this.g),Mf(this.b),Tf(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:If,formatHex:If,formatHex8:function(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}${Pf(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Nf,toString:Nf})),df(Hf,function(e,t,n,r){return 1===arguments.length?Rf(e):new Hf(e,t,n,null==r?1:r)},ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Of(Vf(e>=240?e-240:e+120,i,r),Vf(e,i,r),Vf(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Hf(zf(this.h),Kf(this.s),Kf(this.l),Tf(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Tf(this.opacity);return`${1===e?'hsl(':'hsla('}${zf(this.h)}, ${100*Kf(this.s)}%, ${100*Kf(this.l)}%${1===e?')':`, ${e})`}`}}));var qf=e=>()=>e;function Gf(e){return 1===(e=+e)?Wf:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):qf(isNaN(t)?n:t)}}function Wf(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):qf(isNaN(e)?t:e)}!function e(t){var n=Gf(t);function r(e,t){var r=n((e=Lf(e)).r,(t=Lf(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=Wf(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var Yf,Xf=(Yf=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),s=new Array(r);for(t=0;t<r;++t)n=Lf(e[t]),i[t]=n.r||0,o[t]=n.g||0,s[t]=n.b||0;return i=Yf(i),o=Yf(o),s=Yf(s),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=s(e),n+''}});function Jf(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Zf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$f=new RegExp(Zf.source,'g');var eh=pA,th=pc,nh=sc;var rh=rr(function(e){return'string'==typeof e||!th(e)&&nh(e)&&'[object String]'==eh(e)});var ih=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},oh=rr(ih);function sh(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ah(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)<0?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>sh(e(t),n)}(e)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);const s=r(e,n,i,o-1);return s>i&&t(e[s-1],n)>-t(e[s],n)?s-1:s},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}const Ah=ah(sh).right;ah(function(e){return null===e?NaN:+e}).center;var lh=Ah,ch=Math.sqrt(50),uh=Math.sqrt(10),dh=Math.sqrt(2);function fh(e,t,n){var r,i,o,s,a=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=hh(e,t,n))||!isFinite(s))return[];if(s>0){let n=Math.round(e/s),r=Math.round(t/s);for(n*s<e&&++n,r*s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)*s}else{s=-s;let n=Math.round(e*s),r=Math.round(t*s);for(n/s<e&&++n,r/s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)/s}return r&&o.reverse(),o}function hh(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ch?10:o>=uh?5:o>=dh?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ch?10:o>=uh?5:o>=dh?2:1)}function ph(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ch?i*=10:o>=uh?i*=5:o>=dh&&(i*=2),t<e?-i:i}function gh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const mh=Symbol('implicit');function vh(){var e=new Map,t=[],n=[],r=mh;function i(i){var o=i+'',s=e.get(o);if(!s){if(r!==mh)return r;e.set(o,s=t.push(i))}return n[(s-1)%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+'';e.has(n)||e.set(n,t.push(r))}return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return vh(t,n).unknown(r)},gh.apply(i,arguments),i}function bh(){var e,t,n=vh().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,A=0,l=0,c=.5;function u(){var n=r().length,u=s<o,d=u?s:o,f=u?o:s;e=(f-d)/Math.max(1,n-A+2*l),a&&(e=Math.floor(e)),d+=(f-d-e*(n-A))*c,t=e*(1-A),a&&(d=Math.round(d),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return d+e*t});return i(u?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),u()):r()},n.range=function(e){return arguments.length?([o,s]=e,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(e){return[o,s]=e,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,u()):a},n.padding=function(e){return arguments.length?(A=Math.min(1,l=+e),u()):A},n.paddingInner=function(e){return arguments.length?(A=Math.min(1,e),u()):A},n.paddingOuter=function(e){return arguments.length?(l=+e,u()):l},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),u()):c},n.copy=function(){return bh(r(),[o,s]).round(a).paddingInner(A).paddingOuter(l).align(c)},gh.apply(u(),arguments)}function yh(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return yh(t())},e}function wh(){return yh(bh.apply(null,arguments).paddingInner(1))}function Bh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function xh(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Ch(){}var _h=.7,jh=1/_h,Fh='\\s*([+-]?\\d+)\\s*',Eh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',Sh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',kh=/^#([0-9a-f]{3,8})$/,Uh=new RegExp('^rgb\\('+[Fh,Fh,Fh]+'\\)$'),Qh=new RegExp('^rgb\\('+[Sh,Sh,Sh]+'\\)$'),Lh=new RegExp('^rgba\\('+[Fh,Fh,Fh,Eh]+'\\)$'),Oh=new RegExp('^rgba\\('+[Sh,Sh,Sh,Eh]+'\\)$'),Ih=new RegExp('^hsl\\('+[Eh,Sh,Sh]+'\\)$'),Nh=new RegExp('^hsla\\('+[Eh,Sh,Sh,Eh]+'\\)$'),Th={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};function Mh(){return this.rgb().formatHex()}function Ph(){return this.rgb().formatRgb()}function Dh(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=kh.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Rh(t):3===n?new Vh(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Hh(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Hh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Uh.exec(e))?new Vh(t[1],t[2],t[3],1):(t=Qh.exec(e))?new Vh(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Lh.exec(e))?Hh(t[1],t[2],t[3],t[4]):(t=Oh.exec(e))?Hh(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ih.exec(e))?Yh(t[1],t[2]/100,t[3]/100,1):(t=Nh.exec(e))?Yh(t[1],t[2]/100,t[3]/100,t[4]):Th.hasOwnProperty(e)?Rh(Th[e]):'transparent'===e?new Vh(NaN,NaN,NaN,0):null}function Rh(e){return new Vh(e>>16&255,e>>8&255,255&e,1)}function Hh(e,t,n,r){return r<=0&&(e=t=n=NaN),new Vh(e,t,n,r)}function zh(e){return e instanceof Ch||(e=Dh(e)),e?new Vh((e=e.rgb()).r,e.g,e.b,e.opacity):new Vh}function Kh(e,t,n,r){return 1===arguments.length?zh(e):new Vh(e,t,n,null==r?1:r)}function Vh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qh(){return'#'+Wh(this.r)+Wh(this.g)+Wh(this.b)}function Gh(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'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))+(1===e?')':', '+e+')')}function Wh(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function Yh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Jh(e,t,n,r)}function Xh(e){if(e instanceof Jh)return new Jh(e.h,e.s,e.l,e.opacity);if(e instanceof Ch||(e=Dh(e)),!e)return new Jh;if(e instanceof Jh)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Jh(s,a,A,e.opacity)}function Jh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Zh(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Bh(Ch,Dh,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Mh,formatHex:Mh,formatHsl:function(){return Xh(this).formatHsl()},formatRgb:Ph,toString:Ph}),Bh(Vh,Kh,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Vh(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Vh(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:qh,formatHex:qh,formatRgb:Gh,toString:Gh})),Bh(Jh,function(e,t,n,r){return 1===arguments.length?Xh(e):new Jh(e,t,n,null==r?1:r)},xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Jh(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Jh(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Vh(Zh(e>=240?e-240:e+120,i,r),Zh(e,i,r),Zh(e<120?e+240:e-120,i,r),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(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'hsl(':'hsla(')+(this.h||0)+', '+100*(this.s||0)+'%, '+100*(this.l||0)+'%'+(1===e?')':', '+e+')')}}));const $h=Math.PI/180,ep=180/Math.PI;var tp=-.14861,np=1.78277,rp=-.29227,ip=-.90649,op=1.97294,sp=op*ip,ap=op*np,Ap=np*rp-ip*tp;function lp(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof cp)return new cp(e.h,e.s,e.l,e.opacity);e instanceof Vh||(e=zh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Ap*r+sp*t-ap*n)/-5.9615122912,o=r-i,s=(op*(n-i)-rp*o)/ip,a=Math.sqrt(s*s+o*o)/(op*i*(1-i)),A=a?Math.atan2(s,o)*ep-120:NaN;return new cp(A<0?A+360:A,a,i,e.opacity)}(e):new cp(e,t,n,null==r?1:r)}function cp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Bh(cp,lp,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new cp(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new cp(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*$h,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Vh(255*(t+n*(tp*r+np*i)),255*(t+n*(rp*r+ip*i)),255*(t+n*(op*r)),this.opacity)}}));var up=e=>()=>e;function dp(e,t){return function(n){return e+n*t}}function fp(e){return 1===(e=+e)?hp:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):up(isNaN(t)?n:t)}}function hp(e,t){var n=t-e;return n?dp(e,n):up(isNaN(e)?t:e)}var pp=function e(t){var n=fp(t);function r(e,t){var r=n((e=Kh(e)).r,(t=Kh(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=hp(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var gp=function(e){return function(t){var n,r,i=t.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Kh(t[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=e(o),s=e(s),a=e(a),r.opacity=1,function(e){return r.r=o(e),r.g=s(e),r.b=a(e),r+''}}}(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}});function mp(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function vp(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=_p(e[n],t[n]);for(;n<r;++n)s[n]=t[n];return function(e){for(n=0;n<i;++n)s[n]=o[n](e);return s}}function bp(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function yp(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function wp(e,t){var n,r={},i={};for(n in null!==e&&'object'==typeof e||(e={}),null!==t&&'object'==typeof t||(t={}),t)n in e?r[n]=_p(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Bp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xp=new RegExp(Bp.source,'g');function Cp(e,t){var n,r,i,o=Bp.lastIndex=xp.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Bp.exec(e))&&(r=xp.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:yp(n,r)})),o=xp.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}function _p(e,t){var n,r=typeof t;return null==t||'boolean'===r?up(t):('number'===r?yp:'string'===r?(n=Dh(t))?(t=n,pp):Cp:t instanceof Dh?pp:t instanceof Date?bp:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?mp:Array.isArray(t)?vp:'function'!=typeof t.valueOf&&'function'!=typeof t.toString||isNaN(t)?wp:yp)(e,t)}function jp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Fp(e){return function t(n){function r(t,r){var i=e((t=lp(t)).h,(r=lp(r)).h),o=hp(t.s,r.s),s=hp(t.l,r.l),a=hp(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=s(Math.pow(e,n)),t.opacity=a(e),t+''}}return n=+n,r.gamma=t,r}(1)}Fp(function(e,t){var n=t-e;return n?dp(e,n>180||n<-180?n-360*Math.round(n/360):n):up(isNaN(e)?t:e)});var Ep=Fp(hp);function Sp(e){return+e}var kp=[0,1];function Up(e){return e}function Qp(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Lp(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=Qp(i,r),o=n(s,o)):(r=Qp(r,i),o=n(o,s)),function(e){return o(r(e))}}function Op(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=Qp(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(t){var n=lh(e,t,1,r)-1;return o[n](i[n](t))}}function Ip(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Np(){var e,t,n,r,i,o,s=kp,a=kp,A=_p,l=Up;function c(){var e=Math.min(s.length,a.length);return l!==Up&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(s[0],s[e-1])),r=e>2?Op:Lp,i=o=null,u}function u(t){return null==t||isNaN(t=+t)?n:(i||(i=r(s.map(e),a,A)))(e(l(t)))}return u.invert=function(n){return l(t((o||(o=r(a,s.map(e),yp)))(n)))},u.domain=function(e){return arguments.length?(s=Array.from(e,Sp),c()):s.slice()},u.range=function(e){return arguments.length?(a=Array.from(e),c()):a.slice()},u.rangeRound=function(e){return a=Array.from(e),A=jp,c()},u.clamp=function(e){return arguments.length?(l=!!e||Up,c()):l!==Up},u.interpolate=function(e){return arguments.length?(A=e,c()):A},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,c()}}function Tp(){return Np()(Up,Up)}function Mp(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf('e'))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Pp(e){return(e=Mp(Math.abs(e)))?e[1]:NaN}var Dp,Rp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hp(e){if(!(t=Rp.exec(e)))throw new Error('invalid format: '+e);var t;return new zp({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]})}function zp(e){this.fill=void 0===e.fill?' ':e.fill+'',this.align=void 0===e.align?'>':e.align+'',this.sign=void 0===e.sign?'-':e.sign+'',this.symbol=void 0===e.symbol?'':e.symbol+'',this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?'':e.type+''}function Kp(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Hp.prototype=zp.prototype,zp.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?'0':'')+(void 0===this.width?'':Math.max(1,0|this.width))+(this.comma?',':'')+(void 0===this.precision?'':'.'+Math.max(0,0|this.precision))+(this.trim?'~':'')+this.type};var Vp={'%':(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+'',d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Kp(100*e,t),r:Kp,s:function(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(Dp=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+Mp(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function qp(e){return e}var Gp,Wp,Yp,Xp=Array.prototype.map,Jp=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function Zp(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?qp:(t=Xp.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?qp:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Xp.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'−':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Hp(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):Vp[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=Vp[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?Jp[8+Dp/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Hp(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3))),i=Math.pow(10,-r),o=Jp[8+r/3];return function(e){return n(i*e)+o}}}}function $p(e,t,n,r){var i,o=ph(e,t,n);switch((r=Hp(null==r?',f':r)).type){case's':var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3)))-Pp(Math.abs(e)))}(o,s))||(r.precision=i),Yp(r,s);case'':case'e':case'g':case'p':case'r':null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pp(t)-Pp(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-('e'===r.type));break;case'f':case'%':null!=r.precision||isNaN(i=function(e){return Math.max(0,-Pp(Math.abs(e)))}(o))||(r.precision=i-2*('%'===r.type))}return Wp(r)}function eg(e){var t=e.domain;return e.ticks=function(e){var n=t();return fh(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return $p(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),s=0,a=o.length-1,A=o[s],l=o[a],c=10;for(l<A&&(i=A,A=l,l=i,i=s,s=a,a=i);c-- >0;){if((i=hh(A,l,n))===r)return o[s]=A,o[a]=l,t(o);if(i>0)A=Math.floor(A/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;A=Math.ceil(A*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function tg(){var e=Tp();return e.copy=function(){return Ip(e,tg())},gh.apply(e,arguments),eg(e)}function ng(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],s=e[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),e[r]=t.floor(o),e[i]=t.ceil(s),e}function rg(e){return Math.log(e)}function ig(e){return Math.exp(e)}function og(e){return-Math.log(-e)}function sg(e){return-Math.exp(-e)}function ag(e){return isFinite(e)?+('1e'+e):e<0?0:e}function Ag(e){return function(t){return-e(-t)}}function lg(e){var t,n,r=e(rg,ig),i=r.domain,o=10;function s(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?ag:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Ag(t),n=Ag(n),e(og,sg)):e(rg,ig),r}return r.base=function(e){return arguments.length?(o=+e,s()):o},r.domain=function(e){return arguments.length?(i(e),s()):i()},r.ticks=function(e){var r,s=i(),a=s[0],A=s[s.length-1];(r=A<a)&&(d=a,a=A,A=d);var l,c,u,d=t(a),f=t(A),h=null==e?10:+e,p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1,l=n(d);c<o;++c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1,l=n(d);c>=1;--c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}2*p.length<h&&(p=fh(a,A,h))}else p=fh(d,f,Math.min(f-d,h)).map(n);return r?p.reverse():p},r.tickFormat=function(e,i){if(null==i&&(i=10===o?'.0e':','),'function'!=typeof i&&(i=Wp(i)),e===1/0)return i;null==e&&(e=10);var s=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=s?i(e):''}},r.nice=function(){return i(ng(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function cg(){var e=lg(Np()).domain([1,10]);return e.copy=function(){return Ip(e,cg()).base(e.base())},gh.apply(e,arguments),e}function ug(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function dg(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function fg(){var e=function(e){var t=1,n=e(ug(t),dg(t));return n.constant=function(n){return arguments.length?e(ug(t=+n),dg(t)):t},eg(n)}(Np());return e.copy=function(){return Ip(e,fg()).constant(e.constant())},gh.apply(e,arguments)}Gp=Zp({thousands:',',grouping:[3],currency:['$','']}),Wp=Gp.format,Yp=Gp.formatPrefix;var hg=new Date,pg=new Date;function gg(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return gg(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return hg.setTime(+t),pg.setTime(+r),e(hg),e(pg),Math.floor(n(hg,pg))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var mg=gg(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});mg.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?gg(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):mg:null};var vg=mg;mg.range;const bg=1e3,yg=6e4,wg=36e5,Bg=864e5,xg=6048e5,Cg=2592e6,_g=31536e6;var jg=gg(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*bg)},function(e,t){return(t-e)/bg},function(e){return e.getUTCSeconds()}),Fg=jg;jg.range;var Eg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getMinutes()}),Sg=Eg;Eg.range;var kg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg-e.getMinutes()*yg)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getHours()}),Ug=kg;kg.range;var Qg=gg(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/Bg,e=>e.getDate()-1),Lg=Qg;function Og(e){return gg(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/xg})}Qg.range;var Ig=Og(0),Ng=Og(1),Tg=Og(2),Mg=Og(3),Pg=Og(4),Dg=Og(5),Rg=Og(6);Ig.range,Ng.range,Tg.range,Mg.range,Pg.range,Dg.range,Rg.range;var Hg=gg(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()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),zg=Hg;Hg.range;var Kg=gg(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()});Kg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Vg=Kg;Kg.range;var qg=gg(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getUTCMinutes()}),Gg=qg;qg.range;var Wg=gg(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getUTCHours()}),Yg=Wg;Wg.range;var Xg=gg(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/Bg},function(e){return e.getUTCDate()-1}),Jg=Xg;function Zg(e){return gg(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/xg})}Xg.range;var $g=Zg(0),em=Zg(1),tm=Zg(2),nm=Zg(3),rm=Zg(4),im=Zg(5),om=Zg(6);$g.range,em.range,tm.range,nm.range,rm.range,im.range,om.range;var sm=gg(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()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),am=sm;sm.range;var Am=gg(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()});Am.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var lm=Am;function cm(e,t,n,r,i,o){const s=[[Fg,1,bg],[Fg,5,5e3],[Fg,15,15e3],[Fg,30,3e4],[o,1,yg],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,wg],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Bg],[r,2,1728e5],[n,1,xg],[t,1,Cg],[t,3,7776e6],[e,1,_g]];function a(t,n,r){const i=Math.abs(n-t)/r,o=ah(([,,e])=>e).right(s,i);if(o===s.length)return e.every(ph(t/_g,n/_g,r));if(0===o)return vg.every(Math.max(ph(t,n,r),1));const[a,A]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(A)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&'function'==typeof n.range?n:a(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},a]}Am.range;const[um,dm]=cm(lm,am,$g,Jg,Yg,Gg),[fm,hm]=cm(Vg,zg,Ig,Lg,Ug,Sg);function pm(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 gm(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 mm(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var vm,bm,ym,wm,Bm,xm={'-':'',_:' ',0:'0'},Cm=/^\s*\d+/,_m=/^%/,jm=/[\\^$*+?|[\]().{}]/g;function Fm(e,t,n){var r=e<0?'-':'',i=(r?-e:e)+'',o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Em(e){return e.replace(jm,'\\$&')}function Sm(e){return new RegExp('^(?:'+e.map(Em).join('|')+')','i')}function km(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Um(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Om(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Im(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Nm(e,t,n){var r=Cm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Tm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mm(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||'00')),n+r[0].length):-1}function Pm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Rm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function zm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Km(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Vm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function qm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gm(e,t,n){var r=Cm.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Wm(e,t,n){var r=_m.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ym(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Xm(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Jm(e,t){return Fm(e.getDate(),t,2)}function Zm(e,t){return Fm(e.getHours(),t,2)}function $m(e,t){return Fm(e.getHours()%12||12,t,2)}function ev(e,t){return Fm(1+Lg.count(Vg(e),e),t,3)}function tv(e,t){return Fm(e.getMilliseconds(),t,3)}function nv(e,t){return tv(e,t)+'000'}function rv(e,t){return Fm(e.getMonth()+1,t,2)}function iv(e,t){return Fm(e.getMinutes(),t,2)}function ov(e,t){return Fm(e.getSeconds(),t,2)}function sv(e){var t=e.getDay();return 0===t?7:t}function av(e,t){return Fm(Ig.count(Vg(e)-1,e),t,2)}function Av(e){var t=e.getDay();return t>=4||0===t?Pg(e):Pg.ceil(e)}function lv(e,t){return e=Av(e),Fm(Pg.count(Vg(e),e)+(4===Vg(e).getDay()),t,2)}function cv(e){return e.getDay()}function uv(e,t){return Fm(Ng.count(Vg(e)-1,e),t,2)}function dv(e,t){return Fm(e.getFullYear()%100,t,2)}function fv(e,t){return Fm((e=Av(e)).getFullYear()%100,t,2)}function hv(e,t){return Fm(e.getFullYear()%1e4,t,4)}function pv(e,t){var n=e.getDay();return Fm((e=n>=4||0===n?Pg(e):Pg.ceil(e)).getFullYear()%1e4,t,4)}function gv(e){var t=e.getTimezoneOffset();return(t>0?'-':(t*=-1,'+'))+Fm(t/60|0,'0',2)+Fm(t%60,'0',2)}function mv(e,t){return Fm(e.getUTCDate(),t,2)}function vv(e,t){return Fm(e.getUTCHours(),t,2)}function bv(e,t){return Fm(e.getUTCHours()%12||12,t,2)}function yv(e,t){return Fm(1+Jg.count(lm(e),e),t,3)}function wv(e,t){return Fm(e.getUTCMilliseconds(),t,3)}function Bv(e,t){return wv(e,t)+'000'}function xv(e,t){return Fm(e.getUTCMonth()+1,t,2)}function Cv(e,t){return Fm(e.getUTCMinutes(),t,2)}function _v(e,t){return Fm(e.getUTCSeconds(),t,2)}function jv(e){var t=e.getUTCDay();return 0===t?7:t}function Fv(e,t){return Fm($g.count(lm(e)-1,e),t,2)}function Ev(e){var t=e.getUTCDay();return t>=4||0===t?rm(e):rm.ceil(e)}function Sv(e,t){return e=Ev(e),Fm(rm.count(lm(e),e)+(4===lm(e).getUTCDay()),t,2)}function kv(e){return e.getUTCDay()}function Uv(e,t){return Fm(em.count(lm(e)-1,e),t,2)}function Qv(e,t){return Fm(e.getUTCFullYear()%100,t,2)}function Lv(e,t){return Fm((e=Ev(e)).getUTCFullYear()%100,t,2)}function Ov(e,t){return Fm(e.getUTCFullYear()%1e4,t,4)}function Iv(e,t){var n=e.getUTCDay();return Fm((e=n>=4||0===n?rm(e):rm.ceil(e)).getUTCFullYear()%1e4,t,4)}function Nv(){return'+0000'}function Tv(){return'%'}function Mv(e){return+e}function Pv(e){return Math.floor(+e/1e3)}function Dv(e){return new Date(e)}function Rv(e){return e instanceof Date?+e:+new Date(+e)}function Hv(e,t,n,r,i,o,s,a,A,l){var c=Tp(),u=c.invert,d=c.domain,f=l('.%L'),h=l(':%S'),p=l('%I:%M'),g=l('%I %p'),m=l('%a %d'),v=l('%b %d'),b=l('%B'),y=l('%Y');function w(e){return(A(e)<e?f:a(e)<e?h:s(e)<e?p:o(e)<e?g:r(e)<e?i(e)<e?m:v:n(e)<e?b:y)(e)}return c.invert=function(e){return new Date(u(e))},c.domain=function(e){return arguments.length?d(Array.from(e,Rv)):d().map(Dv)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?w:l(t)},c.nice=function(e){var n=d();return e&&'function'==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(ng(n,e)):c},c.copy=function(){return Ip(c,Hv(e,t,n,r,i,o,s,a,A,l))},c}function zv(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}!function(e){vm=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,A=e.shortMonths,l=Sm(i),c=km(i),u=Sm(o),d=km(o),f=Sm(s),h=km(s),p=Sm(a),g=km(a),m=Sm(A),v=km(A),b={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return A[e.getMonth()]},B:function(e){return a[e.getMonth()]},c:null,d:Jm,e:Jm,f:nv,g:fv,G:pv,H:Zm,I:$m,j:ev,L:tv,m:rv,M:iv,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Mv,s:Pv,S:ov,u:sv,U:av,V:lv,w:cv,W:uv,x:null,X:null,y:dv,Y:hv,Z:gv,'%':Tv},y={a:function(e){return s[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return A[e.getUTCMonth()]},B:function(e){return a[e.getUTCMonth()]},c:null,d:mv,e:mv,f:Bv,g:Lv,G:Iv,H:vv,I:bv,j:yv,L:wv,m:xv,M:Cv,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Mv,s:Pv,S:_v,u:jv,U:Fv,V:Sv,w:kv,W:Uv,x:null,X:null,y:Qv,Y:Ov,Z:Nv,'%':Tv},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Rm,e:Rm,f:Gm,g:Tm,G:Nm,H:zm,I:zm,j:Hm,L:qm,m:Dm,M:Km,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:Pm,Q:Ym,s:Xm,S:Vm,u:Qm,U:Lm,V:Om,w:Um,W:Im,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Tm,Y:Nm,Z:Mm,'%':Wm};function B(e,t){return function(n){var r,i,o,s=[],a=-1,A=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++a<l;)37===e.charCodeAt(a)&&(s.push(e.slice(A,a)),null!=(i=xm[r=e.charAt(++a)])?r=e.charAt(++a):i='e'===r?' ':'0',(o=t[r])&&(r=o(n,i)),s.push(r),A=a+1);return s.push(e.slice(A,a)),s.join('')}}function x(e,t){return function(n){var r,i,o=mm(1900,void 0,1);if(C(o,e,n+='',0)!=n.length)return null;if('Q'in o)return new Date(o.Q);if('s'in o)return new Date(1e3*o.s+('L'in o?o.L:0));if(t&&!('Z'in o)&&(o.Z=0),'p'in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m='q'in o?o.q:0),'V'in o){if(o.V<1||o.V>53)return null;'w'in o||(o.w=1),'Z'in o?(i=(r=gm(mm(o.y,0,1))).getUTCDay(),r=i>4||0===i?em.ceil(r):em(r),r=Jg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=pm(mm(o.y,0,1))).getDay(),r=i>4||0===i?Ng.ceil(r):Ng(r),r=Lg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else('W'in o||'U'in o)&&('w'in o||(o.w='u'in o?o.u%7:'W'in o?1:0),i='Z'in o?gm(mm(o.y,0,1)).getUTCDay():pm(mm(o.y,0,1)).getDay(),o.m=0,o.d='W'in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return'Z'in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,gm(o)):pm(o)}}function C(e,t,n,r){for(var i,o,s=0,a=t.length,A=n.length;s<a;){if(r>=A)return-1;if(37===(i=t.charCodeAt(s++))){if(i=t.charAt(s++),!(o=w[i in xm?t.charAt(s++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=B(n,b),b.X=B(r,b),b.c=B(t,b),y.x=B(n,y),y.X=B(r,y),y.c=B(t,y),{format:function(e){var t=B(e+='',b);return t.toString=function(){return e},t},parse:function(e){var t=x(e+='',!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=B(e+='',y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+='',!0);return t.toString=function(){return e},t}}}(e),bm=vm.format,ym=vm.parse,wm=vm.utcFormat,Bm=vm.utcParse}({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']});zv('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),zv('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),zv('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),zv('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),zv('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),zv('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),zv('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),zv('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3');var Kv=zv('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),Vv=e=>Xf(e[e.length-1]),qv=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(zv);Vv(qv);var Gv=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(zv);Vv(Gv);var Wv=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(zv);Vv(Wv);var Yv=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(zv);Vv(Yv);var Xv=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(zv);Vv(Xv);var Jv=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(zv);Vv(Jv);var Zv=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(zv);Vv(Zv);var $v=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(zv);Vv($v);var eb=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(zv);Vv(eb);var tb=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(zv);Vv(tb);var nb=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(zv);Vv(nb);var rb=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(zv);Vv(rb);var ib=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(zv);Vv(ib);var ob=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(zv);Vv(ob);var sb=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(zv);Vv(sb);var ab=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(zv);Vv(ab);var Ab=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(zv);Vv(Ab);var lb=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(zv);Vv(lb);var cb=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(zv);Vv(cb);var ub=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(zv);Vv(ub);var db=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(zv);Vv(db);var fb=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(zv);Vv(fb);var hb=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(zv);Vv(hb);var pb=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(zv);Vv(pb);var gb=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(zv);Vv(gb);var mb=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(zv);Vv(mb);var vb=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(zv);Vv(vb);var bb=bl,yb=function(e){return this.__data__.set(e,'__lodash_hash_undefined__'),this},wb=function(e){return this.__data__.has(e)};function Bb(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new bb;++t<n;)this.add(e[t])}Bb.prototype.add=Bb.prototype.push=yb,Bb.prototype.has=wb;var xb=Bb;var Cb=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},_b=function(e){return e!=e},jb=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var Fb=function(e,t,n){return t==t?jb(e,t,n):Cb(e,_b,n)};var Eb=function(e,t){return!!(null==e?0:e.length)&&Fb(e,t,0)>-1};var Sb=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var kb=function(e,t){return e.has(t)},Ub=xb,Qb=Eb,Lb=Sb,Ob=Id,Ib=Rc,Nb=kb;var Tb=function(e,t,n,r){var i=-1,o=Qb,s=!0,a=e.length,A=[],l=t.length;if(!a)return A;n&&(t=Ob(t,Ib(n))),r?(o=Lb,s=!1):t.length>=200&&(o=Nb,s=!1,t=new Ub(t));e:for(;++i<a;){var c=e[i],u=null==n?c:n(c);if(c=r||0!==c?c:0,s&&u==u){for(var d=l;d--;)if(t[d]===u)continue e;A.push(c)}else o(t,u,r)||A.push(c)}return A},Mb=Bc,Pb=rr(Ad(function(e,t){return Mb(e)?Tb(e,t):[]})),Db=Math.PI,Rb=2*Db,Hb=1e-6,zb=Rb-Hb;function Kb(){this._x0=this._y0=this._x1=this._y1=null,this._=''}function Vb(){return new Kb}function qb(e){return function(){return e}}Kb.prototype=Vb.prototype={constructor:Kb,moveTo:function(e,t){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')},lineTo:function(e,t){this._+='L'+(this._x1=+e)+','+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+='Q'+ +e+','+ +t+','+(this._x1=+n)+','+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+='C'+ +e+','+ +t+','+ +n+','+ +r+','+(this._x1=+i)+','+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,s=this._y1,a=n-e,A=r-t,l=o-e,c=s-t,u=l*l+c*c;if(i<0)throw new Error('negative radius: '+i);if(null===this._x1)this._+='M'+(this._x1=e)+','+(this._y1=t);else if(u>Hb)if(Math.abs(c*a-A*l)>Hb&&i){var d=n-o,f=r-s,h=a*a+A*A,p=d*d+f*f,g=Math.sqrt(h),m=Math.sqrt(u),v=i*Math.tan((Db-Math.acos((h+u-p)/(2*g*m)))/2),b=v/m,y=v/g;Math.abs(b-1)>Hb&&(this._+='L'+(e+b*l)+','+(t+b*c)),this._+='A'+i+','+i+',0,0,'+ +(c*d>l*f)+','+(this._x1=e+y*a)+','+(this._y1=t+y*A)}else this._+='L'+(this._x1=e)+','+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var s=(n=+n)*Math.cos(r),a=n*Math.sin(r),A=e+s,l=t+a,c=1^o,u=o?r-i:i-r;if(n<0)throw new Error('negative radius: '+n);null===this._x1?this._+='M'+A+','+l:(Math.abs(this._x1-A)>Hb||Math.abs(this._y1-l)>Hb)&&(this._+='L'+A+','+l),n&&(u<0&&(u=u%Rb+Rb),u>zb?this._+='A'+n+','+n+',0,1,'+c+','+(e-s)+','+(t-a)+'A'+n+','+n+',0,1,'+c+','+(this._x1=A)+','+(this._y1=l):u>Hb&&(this._+='A'+n+','+n+',0,'+ +(u>=Db)+','+c+','+(this._x1=e+n*Math.cos(i))+','+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)+'h'+ +n+'v'+ +r+'h'+-n+'Z'},toString:function(){return this._}};var Gb=Math.abs,Wb=Math.atan2,Yb=Math.cos,Xb=Math.max,Jb=Math.min,Zb=Math.sin,$b=Math.sqrt,ey=1e-12,ty=Math.PI,ny=ty/2,ry=2*ty;function iy(e){return e>=1?ny:e<=-1?-ny:Math.asin(e)}function oy(e){return e.innerRadius}function sy(e){return e.outerRadius}function ay(e){return e.startAngle}function Ay(e){return e.endAngle}function ly(e){return e&&e.padAngle}function cy(e,t,n,r,i,o,s){var a=e-n,A=t-r,l=(s?o:-o)/$b(a*a+A*A),c=l*A,u=-l*a,d=e+c,f=t+u,h=n+c,p=r+u,g=(d+h)/2,m=(f+p)/2,v=h-d,b=p-f,y=v*v+b*b,w=i-o,B=d*p-h*f,x=(b<0?-1:1)*$b(Xb(0,w*w*y-B*B)),C=(B*b-v*x)/y,_=(-B*v-b*x)/y,j=(B*b+v*x)/y,F=(-B*v+b*x)/y,E=C-g,S=_-m,k=j-g,U=F-m;return E*E+S*S>k*k+U*U&&(C=j,_=F),{cx:C,cy:_,x01:-c,y01:-u,x11:C*(i/w-1),y11:_*(i/w-1)}}function uy(){var e=oy,t=sy,n=qb(0),r=null,i=ay,o=Ay,s=ly,a=null;function A(){var A,l,c=+e.apply(this,arguments),u=+t.apply(this,arguments),d=i.apply(this,arguments)-ny,f=o.apply(this,arguments)-ny,h=Gb(f-d),p=f>d;if(a||(a=A=Vb()),u<c&&(l=u,u=c,c=l),u>ey)if(h>ry-ey)a.moveTo(u*Yb(d),u*Zb(d)),a.arc(0,0,u,d,f,!p),c>ey&&(a.moveTo(c*Yb(f),c*Zb(f)),a.arc(0,0,c,f,d,p));else{var g,m,v=d,b=f,y=d,w=f,B=h,x=h,C=s.apply(this,arguments)/2,_=C>ey&&(r?+r.apply(this,arguments):$b(c*c+u*u)),j=Jb(Gb(u-c)/2,+n.apply(this,arguments)),F=j,E=j;if(_>ey){var S=iy(_/c*Zb(C)),k=iy(_/u*Zb(C));(B-=2*S)>ey?(y+=S*=p?1:-1,w-=S):(B=0,y=w=(d+f)/2),(x-=2*k)>ey?(v+=k*=p?1:-1,b-=k):(x=0,v=b=(d+f)/2)}var U=u*Yb(v),Q=u*Zb(v),L=c*Yb(w),O=c*Zb(w);if(j>ey){var I,N=u*Yb(b),T=u*Zb(b),M=c*Yb(y),P=c*Zb(y);if(h<ty&&(I=function(e,t,n,r,i,o,s,a){var A=n-e,l=r-t,c=s-i,u=a-o,d=u*A-c*l;if(!(d*d<ey))return[e+(d=(c*(t-o)-u*(e-i))/d)*A,t+d*l]}(U,Q,M,P,N,T,L,O))){var D=U-I[0],R=Q-I[1],H=N-I[0],z=T-I[1],K=1/Zb(function(e){return e>1?0:e<-1?ty:Math.acos(e)}((D*H+R*z)/($b(D*D+R*R)*$b(H*H+z*z)))/2),V=$b(I[0]*I[0]+I[1]*I[1]);F=Jb(j,(c-V)/(K-1)),E=Jb(j,(u-V)/(K+1))}}x>ey?E>ey?(g=cy(M,P,U,Q,u,E,p),m=cy(N,T,L,O,u,E,p),a.moveTo(g.cx+g.x01,g.cy+g.y01),E<j?a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,u,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),!p),a.arc(m.cx,m.cy,E,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):(a.moveTo(U,Q),a.arc(0,0,u,v,b,!p)):a.moveTo(U,Q),c>ey&&B>ey?F>ey?(g=cy(L,O,N,T,c,-F,p),m=cy(U,Q,M,P,c,-F,p),a.lineTo(g.cx+g.x01,g.cy+g.y01),F<j?a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,c,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),p),a.arc(m.cx,m.cy,F,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):a.arc(0,0,c,w,y,p):a.lineTo(L,O)}else a.moveTo(0,0);if(a.closePath(),A)return a=null,A+''||null}return A.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-ty/2;return[Yb(r)*n,Zb(r)*n]},A.innerRadius=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.outerRadius=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),A):t},A.cornerRadius=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.padRadius=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.startAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),A):i},A.endAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),A):o},A.padAngle=function(e){return arguments.length?(s='function'==typeof e?e:qb(+e),A):s},A.context=function(e){return arguments.length?(a=null==e?null:e,A):a},A}function dy(e){this._context=e}function fy(e){return new dy(e)}function hy(e){return e[0]}function py(e){return e[1]}function gy(){var e=hy,t=py,n=qb(!0),r=null,i=fy,o=null;function s(s){var a,A,l,c=s.length,u=!1;for(null==r&&(o=i(l=Vb())),a=0;a<=c;++a)!(a<c&&n(A=s[a],a,s))===u&&((u=!u)?o.lineStart():o.lineEnd()),u&&o.point(+e(A,a,s),+t(A,a,s));if(l)return o=null,l+''||null}return s.x=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.y=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),s):t},s.defined=function(e){return arguments.length?(n='function'==typeof e?e:qb(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function my(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function vy(e){return e}dy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var by=Array.prototype.slice;function yy(){}function wy(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function By(e){this._context=e}function xy(e){this._context=e}function Cy(e){this._context=e}function _y(e,t){this._basis=new By(e),this._beta=t}By.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wy(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},xy.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Cy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_y.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],s=e[n]-i,a=t[n]-o,A=-1;++A<=n;)r=A/n,this._basis.point(this._beta*e[A]+(1-this._beta)*(i+r*s),this._beta*t[A]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var jy=function e(t){function n(e){return 1===t?new By(e):new _y(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Fy(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Ey(e,t){this._context=e,this._k=(1-t)/6}Ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Fy(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Sy=function e(t){function n(e){return new Ey(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ky(e,t){this._context=e,this._k=(1-t)/6}ky.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Uy=function e(t){function n(e){return new ky(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Qy(e,t){this._context=e,this._k=(1-t)/6}Qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ly=function e(t){function n(e){return new Qy(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Oy(e,t,n){var r=e._x1,i=e._y1,o=e._x2,s=e._y2;if(e._l01_a>ey){var a=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,A=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*a-e._x0*e._l12_2a+e._x2*e._l01_2a)/A,i=(i*a-e._y0*e._l12_2a+e._y2*e._l01_2a)/A}if(e._l23_a>ey){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,s=(s*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,s,e._x2,e._y2)}function Iy(e,t){this._context=e,this._alpha=t}Iy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ny=function e(t){function n(e){return t?new Iy(e,t):new Ey(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ty(e,t){this._context=e,this._alpha=t}Ty.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var My=function e(t){function n(e){return t?new Ty(e,t):new ky(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Py(e,t){this._context=e,this._alpha=t}Py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Dy=function e(t){function n(e){return t?new Py(e,t):new Qy(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ry(e){this._context=e}function Hy(e){return e<0?-1:1}function zy(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),s=(n-e._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Hy(o)+Hy(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Ky(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Vy(e,t,n){var r=e._x0,i=e._y0,o=e._x1,s=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,s-a*n,o,s)}function qy(e){this._context=e}function Gy(e){this._context=new Wy(e)}function Wy(e){this._context=e}function Yy(e){this._context=e}function Xy(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,s[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,s[t]-=n*s[t-1];for(i[r-1]=s[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(s[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function Jy(e,t){this._context=e,this._t=t}function Zy(e,t){if((i=e.length)>1)for(var n,r,i,o=1,s=e[t[0]],a=s.length;o<i;++o)for(r=s,s=e[t[o]],n=0;n<a;++n)s[n][1]+=s[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function $y(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function ew(e,t){return e[t]}function tw(e,t){if((a=e.length)>0)for(var n,r,i,o,s,a,A=0,l=e[t[0]].length;A<l;++A)for(o=s=0,n=0;n<a;++n)(i=(r=e[t[n]][A])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function nw(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}function rw(e){var t=e.map(iw);return $y(e).sort(function(e,n){return t[e]-t[n]})}function iw(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}function ow(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf('e'))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Ry.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Vy(this,this._t0,Ky(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Vy(this,Ky(this,n=zy(this,e,t)),n);break;default:Vy(this,this._t0,n=zy(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Gy.prototype=Object.create(qy.prototype)).point=function(e,t){qy.prototype.point.call(this,t,e)},Wy.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Yy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Xy(e),i=Xy(t),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Jy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var sw,aw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Aw(e){if(!(t=aw.exec(e)))throw new Error('invalid format: '+e);var t;return new lw({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]})}function lw(e){this.fill=void 0===e.fill?' ':e.fill+'',this.align=void 0===e.align?'>':e.align+'',this.sign=void 0===e.sign?'-':e.sign+'',this.symbol=void 0===e.symbol?'':e.symbol+'',this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?'':e.type+''}function cw(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Aw.prototype=lw.prototype,lw.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?'0':'')+(void 0===this.width?'':Math.max(1,0|this.width))+(this.comma?',':'')+(void 0===this.precision?'':'.'+Math.max(0,0|this.precision))+(this.trim?'~':'')+this.type};var uw={'%':function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+''},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},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 cw(100*e,t)},r:cw,s:function(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(sw=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+ow(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function dw(e){return e}var fw,hw,pw=Array.prototype.map,gw=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function mw(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?dw:(t=pw.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?dw:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(pw.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'-':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Aw(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):uw[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=uw[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?gw[8+sw/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Aw(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=ow(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=gw[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){fw=mw(e),hw=fw.format,fw.formatPrefix}({decimal:'.',thousands:',',grouping:[3],currency:['$',''],minus:'-'});var vw=Zd,bw=Af,yw=Gd;var ww=function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=vw(e,s);n(a,s)&&bw(o,yw(s,e),a)}return o};var Bw=function(e,t){return null!=e&&t in Object(e)},xw=Gd,Cw=hc,_w=pc,jw=iu,Fw=gc,Ew=Yd;var Sw=function(e,t,n){for(var r=-1,i=(t=xw(t,e)).length,o=!1;++r<i;){var s=Ew(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Fw(i)&&jw(s,i)&&(_w(e)||Cw(e))},kw=Bw,Uw=Sw;var Qw=function(e,t){return null!=e&&Uw(e,t,kw)},Lw=ww,Ow=Qw;var Iw=function(e,t){return Lw(e,t,function(t,n){return Ow(e,n)})};var Nw=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Tw=hc,Mw=pc,Pw=iA?iA.isConcatSpreadable:void 0;var Dw=Nw,Rw=function(e){return Mw(e)||Tw(e)||!!(Pw&&e&&e[Pw])};var Hw=function e(t,n,r,i,o){var s=-1,a=t.length;for(r||(r=Rw),o||(o=[]);++s<a;){var A=t[s];n>0&&r(A)?n>1?e(A,n-1,r,i,o):Dw(o,A):i||(o[o.length]=A)}return o},zw=Hw;var Kw=function(e){return(null==e?0:e.length)?zw(e,1):[]},Vw=Zu,qw=id;var Gw=function(e){return qw(Vw(e,void 0,Kw),e+'')},Ww=Iw,Yw=Gw(function(e,t){return null==e?{}:Ww(e,t)}),Xw=rr(Yw);var Jw=xb,Zw=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},$w=kb;var eB=function(e,t,n,r,i,o){var s=1&n,a=e.length,A=t.length;if(a!=A&&!(s&&A>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,f=2&n?new Jw:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var g=s?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Zw(t,function(e,t){if(!$w(f,t)&&(h===e||i(h,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var tB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n};var nB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n},rB=Hl,iB=Oa,oB=eB,sB=tB,aB=nB,AB=iA?iA.prototype:void 0,lB=AB?AB.valueOf:void 0;var cB=function(e,t,n,r,i,o,s){switch(n){case'[object DataView]':if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case'[object ArrayBuffer]':return!(e.byteLength!=t.byteLength||!o(new rB(e),new rB(t)));case'[object Boolean]':case'[object Date]':case'[object Number]':return iB(+e,+t);case'[object Error]':return e.name==t.name&&e.message==t.message;case'[object RegExp]':case'[object String]':return e==t+'';case'[object Map]':var a=sB;case'[object Set]':var A=1&r;if(a||(a=aB),e.size!=t.size&&!A)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var c=oB(a(e),a(t),r,i,o,s);return s.delete(e),c;case'[object Symbol]':if(lB)return lB.call(e)==lB.call(t)}return!1},uB=Nw,dB=pc;var fB=function(e,t,n){var r=t(e);return dB(e)?r:uB(r,n(e))};var hB=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var pB=function(){return[]},gB=hB,mB=pB,vB=Object.prototype.propertyIsEnumerable,bB=Object.getOwnPropertySymbols,yB=bB?function(e){return null==e?[]:(e=Object(e),gB(bB(e),function(t){return vB.call(e,t)}))}:mB,wB=yB,BB=Zl(Object.keys,Object),xB=tc,CB=BB,_B=Object.prototype.hasOwnProperty;var jB=function(e){if(!xB(e))return CB(e);var t=[];for(var n in Object(e))_B.call(e,n)&&'constructor'!=n&&t.push(n);return t},FB=du,EB=jB,SB=bc;var kB=function(e){return SB(e)?FB(e):EB(e)},UB=fB,QB=wB,LB=kB;var OB=function(e){return UB(e,LB,QB)},IB=OB,NB=Object.prototype.hasOwnProperty;var TB=function(e,t,n,r,i,o){var s=1&n,a=IB(e),A=a.length;if(A!=IB(t).length&&!s)return!1;for(var l=A;l--;){var c=a[l];if(!(s?c in t:NB.call(t,c)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<A;){var p=e[c=a[l]],g=t[c];if(r)var m=s?r(g,p,c,t,e,o):r(p,g,c,e,t,o);if(!(void 0===m?p===g||i(p,g,n,r,o):m)){f=!1;break}h||(h='constructor'==c)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!('constructor'in e)||!('constructor'in t)||'function'==typeof v&&v instanceof v&&'function'==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f},MB=DA(rA,'DataView'),PB=DA(rA,'Promise'),DB=DA(rA,'Set'),RB=MB,HB=RA,zB=PB,KB=DB,VB=DA(rA,'WeakMap'),qB=pA,GB=jA,WB='[object Map]',YB='[object Promise]',XB='[object Set]',JB='[object WeakMap]',ZB='[object DataView]',$B=GB(RB),ex=GB(HB),tx=GB(zB),nx=GB(KB),rx=GB(VB),ix=qB;(RB&&ix(new RB(new ArrayBuffer(1)))!=ZB||HB&&ix(new HB)!=WB||zB&&ix(zB.resolve())!=YB||KB&&ix(new KB)!=XB||VB&&ix(new VB)!=JB)&&(ix=function(e){var t=qB(e),n='[object Object]'==t?e.constructor:void 0,r=n?GB(n):'';if(r)switch(r){case $B:return ZB;case ex:return WB;case tx:return YB;case nx:return XB;case rx:return JB}return t});var ox=ix,sx=kl,ax=eB,Ax=cB,lx=TB,cx=ox,ux=pc,dx=_c,fx=Gc,hx='[object Arguments]',px='[object Array]',gx='[object Object]',mx=Object.prototype.hasOwnProperty;var vx=function(e,t,n,r,i,o){var s=ux(e),a=ux(t),A=s?px:cx(e),l=a?px:cx(t),c=(A=A==hx?gx:A)==gx,u=(l=l==hx?gx:l)==gx,d=A==l;if(d&&dx(e)){if(!dx(t))return!1;s=!0,c=!1}if(d&&!c)return o||(o=new sx),s||fx(e)?ax(e,t,n,r,i,o):Ax(e,t,A,n,r,i,o);if(!(1&n)){var f=c&&mx.call(e,'__wrapped__'),h=u&&mx.call(t,'__wrapped__');if(f||h){var p=f?e.value():e,g=h?t.value():t;return o||(o=new sx),i(p,g,n,r,o)}}return!!d&&(o||(o=new sx),lx(e,t,n,r,i,o))},bx=vx,yx=sc;var wx=function e(t,n,r,i,o){return t===n||(null==t||null==n||!yx(t)&&!yx(n)?t!=t&&n!=n:bx(t,n,r,i,e,o))},Bx=wx;var xx=rr(function(e,t){return Bx(e,t)});function Cx(){return Cx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cx.apply(this,arguments)}function _x(e,t){return _x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_x(e,t)}function jx(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Fx={fill:kr.string,fontSize:kr.number,fontFamily:kr.string},Ex=kr.shape({domain:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}).isRequired,ticks:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}).isRequired,legend:kr.shape({text:kr.shape(Cx({},Fx)).isRequired}).isRequired}),Sx=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),kx=kr.shape({hidden:kr.shape({symbol:kr.shape({fill:kr.string.isRequired,opacity:kr.number}).isRequired,text:kr.shape(Cx({},Fx,{opacity:kr.number})).isRequired}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}),Ux=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Qx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Lx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Ox=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),Ix=kr.shape({text:kr.shape(Cx({},Fx,{outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired})).isRequired,link:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,outline:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,symbol:kr.shape({fill:kr.string.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired});kr.shape({background:kr.string.isRequired,fontFamily:kr.string.isRequired,fontSize:kr.number.isRequired,textColor:kr.string.isRequired,axis:Ex.isRequired,grid:Sx.isRequired,legends:kx.isRequired,labels:Ux.isRequired,dots:Qx.isRequired,markers:Lx,crosshair:Ox.isRequired,annotations:Ix.isRequired});var Nx={background:'transparent',text:{fontFamily:'sans-serif',fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'transparent',strokeWidth:1}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{hidden:{symbol:{fill:'#333333',opacity:.6},text:{fill:'#333333',opacity:.6}},text:{},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:'#000000',lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:'white',color:'inherit',fontSize:'inherit',borderRadius:'2px',boxShadow:'0 1px 2px rgba(0, 0, 0, 0.25)',padding:'5px 9px'},basic:{whiteSpace:'pre',display:'flex',alignItems:'center'},chip:{marginRight:7},table:{},tableCell:{padding:'3px 5px'},tableCellValue:{fontWeight:'bold'}},crosshair:{line:{stroke:'#000000',strokeWidth:1,strokeOpacity:.75,strokeDasharray:'6 6'}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{fill:'none',stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}}},Tx=['axis.ticks.text','axis.legend.text','legends.title.text','legends.text','legends.ticks.text','legends.title.text','labels.text','dots.text','markers.text','annotations.text'],Mx=h(),Px=function(e){var t=e.children,n=e.animate,r=e.config,i=d(function(){var e=rh(r)?ts[r]:r;return{animate:n,config:e}},[n,r]);return w(Mx.Provider,{value:i,children:t})},Dx={animate:kr.bool,motionConfig:kr.oneOfType([kr.oneOf(Object.keys(ts)),kr.shape({mass:kr.number,tension:kr.number,friction:kr.number,clamp:kr.bool,precision:kr.number,velocity:kr.number,duration:kr.number,easing:kr.func})])};Px.propTypes={children:kr.node.isRequired,animate:Dx.animate,config:Dx.motionConfig};Px.defaultProps={animate:!0,config:'default'};var Rx=function(){return u(Mx)},Hx=function(e){var t=Rx(),n=t.animate,i=t.config,s=function(e){var t=o();return r(function(){t.current=e},[e]),t.current}(e),a=d(function(){return function(e,t){var n,r,i,o=Zf.lastIndex=$f.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Zf.exec(e))&&(r=$f.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:Jf(n,r)})),o=$f.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}(s,e)},[s,e]),A=Ys({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!n}).value;return na(A,a)},zx={nivo:['#d76445','#f47560','#e8c1a0','#97e3d5','#61cdbb','#00b0a7'],BrBG:oh(qv),PRGn:oh(Gv),PiYG:oh(Wv),PuOr:oh(Yv),RdBu:oh(Xv),RdGy:oh(Jv),RdYlBu:oh(Zv),RdYlGn:oh($v),spectral:oh(eb),blues:oh(fb),greens:oh(hb),greys:oh(pb),oranges:oh(vb),purples:oh(gb),reds:oh(mb),BuGn:oh(tb),BuPu:oh(nb),GnBu:oh(rb),OrRd:oh(ib),PuBuGn:oh(ob),PuBu:oh(sb),PuRd:oh(ab),RdPu:oh(Ab),YlGnBu:oh(lb),YlGn:oh(cb),YlOrBr:oh(ub),YlOrRd:oh(db)},Kx=Object.keys(zx);oh(qv),oh(Gv),oh(Wv),oh(Yv),oh(Xv),oh(Jv),oh(Zv),oh($v),oh(eb),oh(fb),oh(hb),oh(pb),oh(vb),oh(gb),oh(mb),oh(tb),oh(nb),oh(rb),oh(ib),oh(ob),oh(sb),oh(ab),oh(Ab),oh(lb),oh(cb),oh(ub),oh(db),kr.oneOfType([kr.oneOf(Kx),kr.func,kr.arrayOf(kr.string)]);var Vx={basis:function(e){return new By(e)},basisClosed:function(e){return new xy(e)},basisOpen:function(e){return new Cy(e)},bundle:jy,cardinal:Sy,cardinalClosed:Uy,cardinalOpen:Ly,catmullRom:Ny,catmullRomClosed:My,catmullRomOpen:Dy,linear:fy,linearClosed:function(e){return new Ry(e)},monotoneX:function(e){return new qy(e)},monotoneY:function(e){return new Gy(e)},natural:function(e){return new Yy(e)},step:function(e){return new Jy(e,.5)},stepAfter:function(e){return new Jy(e,1)},stepBefore:function(e){return new Jy(e,0)}},qx=Object.keys(Vx);kr.oneOf(qx),qx.filter(function(e){return e.endsWith('Closed')}),Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed');var Gx=Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed'),Wx=kr.oneOf(Gx),Yx=function(e){if(!Vx[e])throw new TypeError('\''+e+'\', is not a valid curve interpolator identifier.');return Vx[e]},Xx={defs:kr.arrayOf(kr.shape({id:kr.string.isRequired})).isRequired,fill:kr.arrayOf(kr.shape({id:kr.string.isRequired,match:kr.oneOfType([kr.oneOf(['*']),kr.object,kr.func]).isRequired})).isRequired},Jx={ascending:rw,descending:function(e){return rw(e).reverse()},insideOut:function(e){var t,n,r=e.length,i=e.map(iw),o=function(e){var t=e.map(nw);return $y(e).sort(function(e,n){return t[e]-t[n]})}(e),s=0,a=0,A=[],l=[];for(t=0;t<r;++t)n=o[t],s<a?(s+=i[n],A.push(n)):(a+=i[n],l.push(n));return l.reverse().concat(A)},none:$y,reverse:function(e){return $y(e).reverse()}},Zx=Object.keys(Jx);kr.oneOf(Zx);var $x={expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,s=e[0].length;o<s;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Zy(e,t)}},diverging:tw,none:Zy,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var s=0,a=0;s<n;++s)a+=e[s][r][1]||0;i[r][1]+=i[r][0]=-a/2}Zy(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,s=1;s<r;++s){for(var a=0,A=0,l=0;a<i;++a){for(var c=e[t[a]],u=c[s][1]||0,d=(u-(c[s-1][1]||0))/2,f=0;f<a;++f){var h=e[t[f]];d+=(h[s][1]||0)-(h[s-1][1]||0)}A+=u,l+=d*u}n[s-1][1]+=n[s-1][0]=o,A&&(o-=l/A)}n[s-1][1]+=n[s-1][0]=o,Zy(e,t)}}},eC=Object.keys($x);kr.oneOf(eC),kr.shape({top:kr.number,right:kr.number,bottom:kr.number,left:kr.number}).isRequired;var tC=kr.oneOf(['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity']);vh(Kv);var nC={top:0,right:0,bottom:0,left:0},rC=function(e,t,n){return void 0===n&&(n={}),d(function(){var r=Cx({},nC,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},iC=function(){var e=o(null),t=n({left:0,top:0,width:0,height:0}),i=t[0],s=t[1],a=n(function(){return'undefined'==typeof ResizeObserver?null:new ResizeObserver(function(e){var t=e[0];return s(t.contentRect)})})[0];return r(function(){return e.current&&null!==a&&a.observe(e.current),function(){null!==a&&a.disconnect()}},[]),[e,i]},oC=function(e){return d(function(){return function(e,t){var n=bd({},e,t);return Tx.forEach(function(e){void 0===tf(n,e+'.fontFamily')&&uf(n,e+'.fontFamily',n.text.fontFamily),void 0===tf(n,e+'.fontSize')&&uf(n,e+'.fontSize',n.text.fontSize),void 0===tf(n,e+'.fill')&&uf(n,e+'.fill',n.text.fill),void 0===tf(n,e+'.outlineWidth')&&uf(n,e+'.outlineWidth',n.text.outlineWidth),void 0===tf(n,e+'.outlineColor')&&uf(n,e+'.outlineColor',n.text.outlineColor)}),n}(Nx,e)},[e])},sC=function(e){return d(function(){return function(e){return'function'==typeof e?e:'string'==typeof e?0===e.indexOf('time:')?bm(e.slice('5')):hw(e):function(e){return''+e}}(e)},[e])},aC=h(),AC={},lC=function(e){var t=e.theme,n=void 0===t?AC:t,r=e.children,i=oC(n);return w(aC.Provider,{value:i,children:r})};lC.propTypes={children:kr.node.isRequired,theme:kr.object};var cC=function(){return u(aC)},uC=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?A(r,{},t):t};uC.propTypes={children:kr.node.isRequired,condition:kr.bool.isRequired,wrapper:kr.element.isRequired};var dC={position:'relative'},fC=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,s=e.isInteractive,a=void 0===s||s,A=e.animate,l=e.motionConfig,c=o(null);return w(lC,{theme:n,children:w(Px,{animate:A,config:l,children:w(Qa,{container:c,children:B(uC,{condition:i,wrapper:w('div',{style:dC,ref:c}),children:[t,a&&w(Ua,{})]})})})})};fC.propTypes={children:kr.element.isRequired,isInteractive:kr.bool,renderWrapper:kr.bool,theme:kr.object,animate:kr.bool,motionConfig:kr.string},kr.func.isRequired,kr.bool,kr.bool,kr.object.isRequired,kr.bool.isRequired,kr.string;var hC=function(e){var t=e.children,n=iC(),r=n[0],i=n[1],o=i.width>0&&i.height>0;return w('div',{ref:r,style:{width:'100%',height:'100%'},children:o&&t({width:i.width,height:i.height})})};hC.propTypes={children:kr.func.isRequired};var pC=['id','colors'],gC=function(e){var t=e.id,n=e.colors,r=jx(e,pC);return w('linearGradient',Cx({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return w('stop',{offset:t+'%',stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};gC.propTypes={id:kr.string.isRequired,colors:kr.arrayOf(kr.shape({offset:kr.number.isRequired,color:kr.string.isRequired,opacity:kr.number})).isRequired,gradientTransform:kr.string};var mC={linearGradient:gC},vC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=i/2,l=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('circle',{cx:l+A,cy:l+A,r:A,fill:r}),s&&w('circle',{cx:1.5*o+i+A,cy:1.5*o+i+A,r:A,fill:r})]})});vC.displayName='PatternDots',vC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},vC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var bC=function(e){return e*Math.PI/180},yC=function(e){return 180*e/Math.PI},wC=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},BC={svg:{align:{left:'start',center:'middle',right:'end',start:'start',middle:'middle',end:'end'},baseline:{top:'text-before-edge',center:'central',bottom:'alphabetic'}},canvas:{align:{left:'left',center:'center',right:'right',start:'left',middle:'center',end:'right'},baseline:{top:'top',center:'middle',bottom:'bottom'}}},xC=f(function(e){var t=e.id,n=e.spacing,r=e.rotation,i=e.background,o=e.color,s=e.lineWidth,a=Math.round(r)%360,A=Math.abs(n);a>180?a-=360:a>90?a-=180:a<-180?a+=360:a<-90&&(a+=180);var l,c=A,u=A;return 0===a?l='\n M 0 0 L '+c+' 0\n M 0 '+u+' L '+c+' '+u+'\n ':90===a?l='\n M 0 0 L 0 '+u+'\n M '+c+' 0 L '+c+' '+u+'\n ':(c=Math.abs(A/Math.sin(bC(a))),u=A/Math.sin(bC(90-a)),l=a>0?'\n M 0 '+-u+' L '+2*c+' '+u+'\n M '+-c+' '+-u+' L '+c+' '+u+'\n M '+-c+' 0 L '+c+' '+2*u+'\n ':'\n M '+-c+' '+u+' L '+c+' '+-u+'\n M '+-c+' '+2*u+' L '+2*c+' '+-u+'\n M 0 '+2*u+' L '+2*c+' 0\n '),B('pattern',{id:t,width:c,height:u,patternUnits:'userSpaceOnUse',children:[w('rect',{width:c,height:u,fill:i,stroke:'rgba(255, 0, 0, 0.1)',strokeWidth:0}),w('path',{d:l,strokeWidth:s,stroke:o,strokeLinecap:'square'})]})});xC.displayName='PatternLines',xC.propTypes={id:kr.string.isRequired,spacing:kr.number.isRequired,rotation:kr.number.isRequired,background:kr.string.isRequired,color:kr.string.isRequired,lineWidth:kr.number.isRequired},xC.defaultProps={spacing:5,rotation:0,color:'#000000',background:'#ffffff',lineWidth:2};var CC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('rect',{x:A,y:A,width:i,height:i,fill:r}),s&&w('rect',{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:r})]})});CC.displayName='PatternSquares',CC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},CC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var _C={patternDots:vC,patternLines:xC,patternSquares:CC},jC=['type'],FC=Cx({},mC,_C),EC=function(e){var t=e.defs;return!t||t.length<1?null:w('defs',{'aria-hidden':!0,children:t.map(function(e){var t=e.type,n=jx(e,jC);return FC[t]?p(FC[t],Cx({key:n.id},n)):null})})};EC.propTypes={defs:kr.arrayOf(kr.shape({type:kr.oneOf(Object.keys(FC)).isRequired,id:kr.string.isRequired}))};var SC=f(EC),kC=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,s=e.role,a=e.ariaLabel,A=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.isFocusable,u=cC();return B('svg',{xmlns:'http://www.w3.org/2000/svg',width:t,height:n,role:s,'aria-label':a,'aria-labelledby':A,'aria-describedby':l,focusable:c,tabIndex:c?0:void 0,children:[w(SC,{defs:i}),w('rect',{width:t,height:n,fill:u.background}),w('g',{transform:'translate('+r.left+','+r.top+')',children:o})]})};kC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.shape({top:kr.number.isRequired,left:kr.number.isRequired}).isRequired,defs:kr.array,children:kr.oneOfType([kr.arrayOf(kr.node),kr.node]).isRequired,role:kr.string,isFocusable:kr.bool,ariaLabel:kr.string,ariaLabelledBy:kr.string,ariaDescribedBy:kr.string};var UC=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return w('circle',{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:'none'}})};UC.propTypes={size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired};var QC=f(UC),LC=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?QC:r,o=e.size,s=e.datum,a=e.color,A=e.borderWidth,l=e.borderColor,c=e.label,u=e.labelTextAnchor,d=void 0===u?'middle':u,f=e.labelYOffset,h=void 0===f?-12:f,g=cC(),m=Rx(),v=m.animate,b=Ys({transform:'translate('+t+', '+n+')',config:m.config,immediate:!v});return B(ga.g,{transform:b.transform,style:{pointerEvents:'none'},children:[p(i,{size:o,color:a,datum:s,borderWidth:A,borderColor:l}),c&&w('text',{textAnchor:d,y:h,style:g.dots.text,children:c})]})};LC.propTypes={x:kr.number.isRequired,y:kr.number.isRequired,datum:kr.object.isRequired,size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired,symbol:kr.oneOfType([kr.func,kr.object]),label:kr.oneOfType([kr.string,kr.number]),labelTextAnchor:kr.oneOf(['start','middle','end']),labelYOffset:kr.number};var OC=f(LC),IC=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,s=e.lineStyle,a=e.textStyle,A=e.legend,l=e.legendPosition,c=e.legendOffsetX,u=e.legendOffsetY,d=e.legendOrientation,f=cC(),h=0,p=0,g=0,m=0;'y'===r?(g=i(o),p=t):(h=i(o),m=n);var v=null;if(A){var b=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,s=e.orientation,a=0,A=0,l='vertical'===s?-90:0,c='start';if('x'===e.axis)switch(r){case'top-left':a=-i,A=o,c='end';break;case'top':A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=i,A=o,c='horizontal'===s?'start':'end';break;case'right':a=i,A=n/2,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=i,A=n-o,c='start';break;case'bottom':A=n+o,c='horizontal'===s?'middle':'end';break;case'bottom-left':A=n-o,a=-i,c='horizontal'===s?'end':'start';break;case'left':a=-i,A=n/2,c='horizontal'===s?'end':'middle'}else switch(r){case'top-left':a=i,A=-o,c='start';break;case'top':a=t/2,A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=t-i,A=-o,c='horizontal'===s?'end':'start';break;case'right':a=t+i,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=t-i,A=o,c='end';break;case'bottom':a=t/2,A=o,c='horizontal'===s?'middle':'end';break;case'bottom-left':a=i,A=o,c='horizontal'===s?'start':'end';break;case'left':a=-i,c='horizontal'===s?'end':'middle'}return{x:a,y:A,rotation:l,textAnchor:c}}({axis:r,width:t,height:n,position:l,offsetX:c,offsetY:u,orientation:d});v=w('text',{transform:'translate('+b.x+', '+b.y+') rotate('+b.rotation+')',textAnchor:b.textAnchor,dominantBaseline:'central',style:a,children:A})}return B('g',{transform:'translate('+h+', '+g+')',children:[w('line',{x1:0,x2:p,y1:0,y2:m,stroke:f.markers.lineColor,strokeWidth:f.markers.lineStrokeWidth,style:s}),v]})};IC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,axis:kr.oneOf(['x','y']).isRequired,scale:kr.func.isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object,legend:kr.string,legendPosition:kr.oneOf(['top-left','top','top-right','right','bottom-right','bottom','bottom-left','left']),legendOffsetX:kr.number.isRequired,legendOffsetY:kr.number.isRequired,legendOrientation:kr.oneOf(['horizontal','vertical']).isRequired},IC.defaultProps={legendPosition:'top-right',legendOffsetX:14,legendOffsetY:14,legendOrientation:'horizontal'};var NC=f(IC),TC=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return w(NC,Cx({},e,{width:n,height:r,scale:'y'===e.axis?o:i}),t)}):null};TC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,xScale:kr.func.isRequired,yScale:kr.func.isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object}))};var MC=f(TC),PC=['theme','renderWrapper','animate','motionConfig'],DC=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,_x(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,s=jx(t,PC);return w(fC,{theme:n,renderWrapper:r,isInteractive:s.isInteractive,animate:i,motionConfig:o,children:w(e,Cx({},s))})},i}(g)},RC=function(e){return wA(e)?e:function(t){return tf(t,e)}},HC=function(e){return d(function(){return RC(e)},[e])},zC=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},KC=function(e,t){var n,r=t.clientX,i=t.clientY,o=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}).width===o.width?1:n.width/o.width;return[(r-o.left)*s,(i-o.top)*s]},VC=Object.keys(mC),qC=Object.keys(_C),GC=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,s=i.colorKey,a=void 0===s?'color':s,A=i.targetKey,l=void 0===A?'fill':A,c=[],u={};return e.length&&t.length&&(c=[].concat(e),t.forEach(function(t){for(var r=function(){var r=n[i],s=r.id;if(function(e,t,n){if('*'===e)return!0;if(wA(e))return e(t);if(Ic(e)){var r=n?tf(t,n):t;return xx(Xw(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var A=e.find(function(e){return e.id===s});if(A)if(qC.includes(A.type))if('inherit'===A.background||'inherit'===A.color){var d=tf(t,a),f=A.background,h=A.color,p=s;'inherit'===A.background&&(p=p+'.bg.'+d,f=d),'inherit'===A.color&&(p=p+'.fg.'+d,h=d),uf(t,l,'url(#'+p+')'),u[p]||(c.push(Cx({},A,{id:p,background:f,color:h})),u[p]=1)}else uf(t,l,'url(#'+s+')');else if(VC.includes(A.type))if(A.colors.map(function(e){return e.color}).includes('inherit')){var g=tf(t,a),m=s,v=Cx({},A,{colors:A.colors.map(function(e,t){return'inherit'!==e.color?e:(m=m+'.'+t+'.'+g,Cx({},e,{color:'inherit'===e.color?g:e.color}))})});v.id=m,uf(t,l,'url(#'+m+')'),u[m]||(c.push(v),u[m]=1)}else uf(t,l,'url(#'+s+')');return'break'}},i=0;i<n.length&&'break'!==r();i++);})),c};var WC=DB,YC=function(){},XC=WC&&1/nB(new WC([,-0]))[1]==1/0?function(e){return new WC(e)}:YC,JC=xb,ZC=Eb,$C=Sb,e_=kb,t_=XC,n_=nB;var r_=function(e,t,n){var r=-1,i=ZC,o=e.length,s=!0,a=[],A=a;if(n)s=!1,i=$C;else if(o>=200){var l=t?null:t_(e);if(l)return n_(l);s=!1,i=e_,A=new JC}else A=t?[]:a;e:for(;++r<o;){var c=e[r],u=t?t(c):c;if(c=n||0!==c?c:0,s&&u==u){for(var d=A.length;d--;)if(A[d]===u)continue e;t&&A.push(u),a.push(c)}else i(A,u,n)||(A!==a&&A.push(u),a.push(c))}return a},i_=r_;var o_=rr(function(e){return e&&e.length?i_(e):[]}),s_=kl,a_=wx;var A_=function(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var A=(a=n[i])[0],l=e[A],c=a[1];if(s&&a[2]){if(void 0===l&&!(A in e))return!1}else{var u=new s_;if(r)var d=r(l,c,A,e,t,u);if(!(void 0===d?a_(c,l,3,r,u):d))return!1}}return!0},l_=gA;var c_=function(e){return e==e&&!l_(e)},u_=c_,d_=kB;var f_=function(e){for(var t=d_(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,u_(i)]}return t};var h_=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},p_=A_,g_=f_,m_=h_;var v_=function(e){var t=g_(e);return 1==t.length&&t[0][2]?m_(t[0][0],t[0][1]):function(n){return n===e||p_(n,e,t)}},b_=wx,y_=ef,w_=Qw,B_=Fd,x_=c_,C_=h_,__=Yd;var j_=function(e,t){return B_(e)&&x_(t)?C_(__(e),t):function(n){var r=y_(n,e);return void 0===r&&r===t?w_(n,e):b_(t,r,3)}};var F_=function(e){return function(t){return null==t?void 0:t[e]}},E_=Zd;var S_=function(e){return function(t){return E_(t,e)}},k_=F_,U_=S_,Q_=Fd,L_=Yd;var O_=function(e){return Q_(e)?k_(L_(e)):U_(e)},I_=v_,N_=j_,T_=Yu,M_=pc,P_=O_;var D_=function(e){return'function'==typeof e?e:null==e?T_:'object'==typeof e?M_(e)?N_(e[0],e[1]):I_(e):P_(e)},R_=D_,H_=r_;var z_=rr(function(e,t){return e&&e.length?H_(e,R_(t)):[]}),K_=Pl,V_=kB;var q_=function(e,t){return e&&K_(e,t,V_)},G_=bc;var W_=function(e,t){return function(n,r){if(null==n)return n;if(!G_(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}(q_),Y_=W_,X_=bc;var J_=Bd;var Z_=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=J_(e),s=void 0!==t,a=null===t,A=t==t,l=J_(t);if(!a&&!l&&!o&&e>t||o&&s&&A&&!a&&!l||r&&s&&A||!n&&A||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!A)return-1}return 0};var $_=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var A=Z_(i[r],o[r]);if(A)return r>=a?A:A*('desc'==n[r]?-1:1)}return e.index-t.index},ej=Id,tj=Zd,nj=D_,rj=function(e,t){var n=-1,r=X_(e)?Array(e.length):[];return Y_(e,function(e,i,o){r[++n]=t(e,i,o)}),r},ij=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},oj=Rc,sj=$_,aj=Yu,Aj=pc;var lj=function(e,t,n){t=t.length?ej(t,function(e){return Aj(e)?function(t){return tj(t,1===e.length?e[0]:e)}:e}):[aj];var r=-1;t=ej(t,oj(nj));var i=rj(e,function(e,n,i){return{criteria:ej(t,function(t){return t(e)}),index:++r,value:e}});return ij(i,function(e,t){return sj(e,t,n)})},cj=Hw,uj=lj,dj=fd,fj=rr(Ad(function(e,t){if(null==e)return[];var n=t.length;return n>1&&dj(e,t[0],t[1])?t=[]:n>2&&dj(t[0],t[1],t[2])&&(t=[t[0]]),uj(e,cj(t,1),[])})),hj=pA,pj=sc;var gj=function(e){return pj(e)&&'[object Date]'==hj(e)},mj=Rc,vj=zc&&zc.isDate,bj=rr(vj?mj(vj):gj),yj=new Date,wj=new Date;function Bj(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return Bj(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return yj.setTime(+t),wj.setTime(+r),e(yj),e(wj),Math.floor(n(yj,wj))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var xj=Bj(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});xj.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Bj(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):xj:null};var Cj=xj;xj.range;var _j=1e3,jj=6e4,Fj=36e5,Ej=6048e5,Sj=Bj(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*_j)},function(e,t){return(t-e)/_j},function(e){return e.getUTCSeconds()}),kj=Sj;Sj.range;var Uj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getMinutes()}),Qj=Uj;Uj.range;var Lj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j-e.getMinutes()*jj)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getHours()}),Oj=Lj;function Ij(e){return Bj(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*jj)/Ej})}Lj.range;var Nj=Ij(0),Tj=Ij(1),Mj=Ij(2),Pj=Ij(3),Dj=Ij(4),Rj=Ij(5),Hj=Ij(6);Nj.range,Tj.range,Mj.range,Pj.range,Dj.range,Rj.range,Hj.range;var zj=Bj(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()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Kj=zj;zj.range;var Vj=Bj(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()});Vj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var qj=Vj;Vj.range;var Gj=Bj(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getUTCMinutes()}),Wj=Gj;Gj.range;var Yj=Bj(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getUTCHours()}),Xj=Yj;function Jj(e){return Bj(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Ej})}Yj.range;var Zj=Jj(0),$j=Jj(1),eF=Jj(2),tF=Jj(3),nF=Jj(4),rF=Jj(5),iF=Jj(6);Zj.range,$j.range,eF.range,tF.range,nF.range,rF.range,iF.range;var oF=Bj(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()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),sF=oF;oF.range;var aF=Bj(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()});aF.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var AF=aF;function lF(){return lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lF.apply(this,arguments)}aF.range;var cF=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],uF={millisecond:[],second:cF.slice(0,1),minute:cF.slice(0,2),hour:cF.slice(0,3),day:cF.slice(0,4),month:cF.slice(0,5),year:cF.slice(0,6)},dF=function(e){var t=e.format,n=void 0===t?'native':t,r=e.precision,i=void 0===r?'millisecond':r,o=e.useUTC,s=void 0===o||o,a=function(e){return function(t){return uF[e].forEach(function(e){e(t)}),t}}(i);return function(e){if(void 0===e)return e;if('native'===n||e instanceof Date)return a(e);var t=s?Bm(n):ym(n);return a(t(e))}},fF=function(e,t,n,r){var i,o,s,a,A=e.min,l=void 0===A?0:A,c=e.max,u=void 0===c?'auto':c,d=e.stacked,f=void 0!==d&&d,h=e.reverse,p=void 0!==h&&h,g=e.clamp,m=void 0!==g&&g,v=e.nice,b=void 0!==v&&v;i='auto'===l?!0===f?null!=(o=t.minStacked)?o:0:t.min:l,s='auto'===u?!0===f?null!=(a=t.maxStacked)?a:0:t.max:u;var y=tg().rangeRound('x'===r?[0,n]:[n,0]).domain(p?[s,i]:[i,s]).clamp(m);return!0===b?y.nice():'number'==typeof b&&y.nice(b),hF(y,f)},hF=function(e,t){void 0===t&&(t=!1);var n=e;return n.type='linear',n.stacked=t,n},pF=function(e){var t=e;return t.type='band',t},gF=function(e,t,n){var r,i,o=e.format,s=void 0===o?'native':o,a=e.precision,A=void 0===a?'millisecond':a,l=e.min,c=void 0===l?'auto':l,u=e.max,d=void 0===u?'auto':u,f=e.useUTC,h=void 0===f||f,p=e.nice,g=void 0!==p&&p,m=dF({format:s,precision:A,useUTC:h});r='auto'===c?m(t.min):'native'!==s?m(c):c,i='auto'===d?m(t.max):'native'!==s?m(d):d;var v=h?function(){return gh.apply(Hv(um,dm,lm,am,$g,Jg,Yg,Gg,Fg,wm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return gh.apply(Hv(fm,hm,Vg,zg,Ig,Lg,Ug,Sg,Fg,bm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===g?v.nice():'object'!=typeof g&&'number'!=typeof g||v.nice(g);var b=v;return b.type='time',b.useUTC=h,b},mF=function(e,t,n,r){var i,o=e.base,s=void 0===o?10:o,a=e.min,A=void 0===a?'auto':a,l=e.max,c=void 0===l?'auto':l;if(t.all.some(function(e){return 0===e}))throw new Error('a log scale domain must not include or cross zero');var u,d,f=!1;if(t.all.filter(function(e){return null!=e}).forEach(function(e){f||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(f=!0))}),f)throw new Error('a log scale domain must be strictly-positive or strictly-negative');u='auto'===A?t.min:A,d='auto'===c?t.max:c;var h=cg().domain([u,d]).rangeRound('x'===r?[0,n]:[n,0]).base(s).nice();return h.type='log',h},vF=function(e,t){return e===t},bF=function(e,t){return e.getTime()===t.getTime()};function yF(e,t,n,r){switch(e.type){case'linear':return fF(e,t,n,r);case'point':return function(e,t,n){var r=wh().range([0,n]).domain(t.all);return r.type='point',r}(0,t,n);case'band':return function(e,t,n,r){var i=e.round,o=void 0===i||i,s=bh().range('x'===r?[0,n]:[n,0]).domain(t.all).round(o);return pF(s)}(e,t,n,r);case'time':return gF(e,t,n);case'log':return mF(e,t,n,r);case'symlog':return function(e,t,n,r){var i,o,s=e.constant,a=void 0===s?1:s,A=e.min,l=void 0===A?'auto':A,c=e.max,u=void 0===c?'auto':c,d=e.reverse,f=void 0!==d&&d;i='auto'===l?t.min:l,o='auto'===u?t.max:u;var h=fg().constant(a).rangeRound('x'===r?[0,n]:[n,0]).nice();!0===f?h.domain([o,i]):h.domain([i,o]);var p=h;return p.type='symlog',p}(e,t,n,r);default:throw new Error('invalid scale spec')}}var wF=function(e,t,n){var r;if('stacked'in n&&n.stacked){var i=e.data['x'===t?'xStacked':'yStacked'];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},BF=function(e,t,n){return{x:xF(e,'x',t),y:xF(e,'y',n)}},xF=function(e,t,n,r){var i=void 0===r?{}:r,o=i.getValue,s=void 0===o?function(e){return e.data[t]}:o,a=i.setValue,A=void 0===a?function(e,n){e.data[t]=n}:a;if('linear'===n.type)e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,parseFloat(String(t)))})});else if('time'===n.type&&'native'!==n.format){var l=dF(n);e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,l(t))})})}var c=[];switch(e.forEach(function(e){e.data.forEach(function(e){c.push(s(e))})}),n.type){case'linear':var u=fj(o_(c).filter(function(e){return null!==e}),function(e){return e});return{all:u,min:Math.min.apply(Math,u),max:Math.max.apply(Math,u)};case'time':var d=z_(c,function(e){return e.getTime()}).slice(0).sort(function(e,t){return t.getTime()-e.getTime()}).reverse();return{all:d,min:d[0],max:oh(d)};default:var f=o_(c);return{all:f,min:f[0],max:oh(f)}}},CF=function(e,t,n){var r=function(e){return'x'===e?'y':'x'}(e),i=[];t[r].all.forEach(function(t){var o=bj(t)?bF:vF,s=[];n.forEach(function(n){var a=n.data.find(function(e){return o(e.data[r],t)}),A=null,l=null;if(void 0!==a){if(null!==(A=a.data[e])){var c=oh(s);void 0===c?l=A:null!==c&&(l=c+A)}a.data['x'===e?'xStacked':'yStacked']=l}s.push(l),null!==l&&i.push(l)})}),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},_F=function(e,t){return CF('x',e,t)},jF=function(e,t){return CF('y',e,t)},FF=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},EF={millisecond:[Cj,Cj],second:[kj,kj],minute:[Qj,Wj],hour:[Oj,Xj],day:[Bj(function(e){return e.setHours(0,0,0,0)},function(e,t){return e.setDate(e.getDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)}),Bj(function(e){return e.setUTCHours(0,0,0,0)},function(e,t){return e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)})],week:[Nj,Zj],sunday:[Nj,Zj],monday:[Tj,$j],tuesday:[Mj,eF],wednesday:[Pj,tF],thursday:[Dj,nF],friday:[Rj,rF],saturday:[Hj,iF],month:[Kj,sF],year:[qj,AF]},SF=Object.keys(EF),kF=new RegExp('^every\\s*(\\d+)?\\s*('+SF.join('|')+')s?$','i'),UF=function(e,t){if(Array.isArray(t))return t;if('string'==typeof t&&'useUTC'in e){var n=t.match(kF);if(n){var r=n[1],i=n[2],o=EF[i][e.useUTC?1:0];if('day'===i){var s,a,A=e.domain(),l=A[0],c=A[1],u=new Date(c);return u.setDate(u.getDate()+1),null!=(s=null==(a=o.every(Number(null!=r?r:1)))?void 0:a.range(l,u))?s:[]}if(void 0===r)return e.ticks(o);var d=o.every(Number(r));if(d)return e.ticks(d)}throw new Error('Invalid tickValues: '+t)}if('ticks'in e){if(void 0===t)return e.ticks();if('number'==typeof(f=t)&&isFinite(f)&&Math.floor(f)===f)return e.ticks(t)}var f;return e.domain()};function QF(){return QF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QF.apply(this,arguments)}var LF=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,s=e.tickSize,a=e.tickPadding,A=e.tickRotation,l=e.truncateTickAt,c=e.engine,u=void 0===c?'svg':c,d=UF(r,o),f=BC[u],h='bandwidth'in r?FF(r):r,p={lineX:0,lineY:0},g={textX:0,textY:0},m='object'==typeof document&&'rtl'===document.dir,v=f.align.center,b=f.baseline.center;return'x'===n?(t=function(e){var t;return{x:null!=(t=h(e))?t:0,y:0}},p.lineY=s*('after'===i?1:-1),g.textY=(s+a)*('after'===i?1:-1),b='after'===i?f.baseline.top:f.baseline.bottom,0===A?v=f.align.center:'after'===i&&A<0||'before'===i&&A>0?(v=f.align[m?'left':'right'],b=f.baseline.center):('after'===i&&A>0||'before'===i&&A<0)&&(v=f.align[m?'right':'left'],b=f.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=h(e))?t:0}},p.lineX=s*('after'===i?1:-1),g.textX=(s+a)*('after'===i?1:-1),v='after'===i?f.align.left:f.align.right),{ticks:d.map(function(e){var n='string'==typeof e?function(e){var t=String(e).length;return l&&l>0&&t>l?''+String(e).slice(0,l).concat('...'):''+e}(e):e;return QF({key:e instanceof Date?''+e.valueOf():''+e,value:n},t(e),p,g)}),textAlign:v,textBaseline:b}},OF=function(e,t){if(void 0===e||'function'==typeof e)return e;if('time'===t.type){var n=bm(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return hw(e)},IF=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,s=e.values,a=(t=s,(Array.isArray(t)?s:void 0)||UF(i,s)),A='bandwidth'in i?FF(i):i,l='x'===o?a.map(function(e){var t,n;return{key:e instanceof Date?''+e.valueOf():''+e,x1:null!=(t=A(e))?t:0,x2:null!=(n=A(e))?n:0,y1:0,y2:r}}):a.map(function(e){var t,r;return{key:e instanceof Date?''+e.valueOf():''+e,x1:0,x2:n,y1:null!=(t=A(e))?t:0,y2:null!=(r=A(e))?r:0}});return l},NF=f(function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,s=e.onClick,a=e.textBaseline,A=e.textAnchor,l=e.animatedProps,c=cC(),u=c.axis.ticks.line,f=c.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=d(function(){var e={opacity:l.opacity};return s?{style:QF({},e,{cursor:'pointer'}),onClick:function(e){return s(e,h)}}:{style:e}},[l.opacity,s,h]);return B(ga.g,QF({transform:l.transform},p,{children:[w('line',{x1:0,x2:i,y1:0,y2:o,style:u}),f.outlineWidth>0&&w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,strokeWidth:2*f.outlineWidth,stroke:f.outlineColor,strokeLinejoin:'round',children:''+h}),w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,children:''+h})]}))}),TF=f(function(t){var n=t.axis,r=t.scale,i=t.x,o=void 0===i?0:i,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,f=t.tickSize,h=void 0===f?5:f,p=t.tickPadding,g=void 0===p?5:p,m=t.tickRotation,v=void 0===m?0:m,b=t.format,y=t.renderTick,C=void 0===y?NF:y,_=t.truncateTickAt,j=t.legend,F=t.legendPosition,E=void 0===F?'end':F,S=t.legendOffset,k=void 0===S?0:S,U=t.onClick,Q=t.ariaHidden,L=cC(),O=L.axis.legend.text,I=d(function(){return OF(b,r)},[b,r]),N=LF({axis:n,scale:r,ticksPosition:c,tickValues:u,tickSize:h,tickPadding:g,tickRotation:v,truncateTickAt:_}),T=N.ticks,M=N.textAlign,P=N.textBaseline,D=null;if(void 0!==j){var R,H=0,z=0,K=0;'y'===n?(K=-90,H=k,'start'===E?(R='start',z=l):'middle'===E?(R='middle',z=l/2):'end'===E&&(R='end')):(z=k,'start'===E?R='start':'middle'===E?(R='middle',H=l/2):'end'===E&&(R='end',H=l)),D=B(x,{children:[O.outlineWidth>0&&w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),strokeWidth:2*O.outlineWidth,stroke:O.outlineColor,strokeLinejoin:'round',children:j}),w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),children:j})]})}var V=Rx(),q=V.animate,G=V.config,W=Ys({transform:'translate('+o+','+A+')',lineX2:'x'===n?l:0,lineY2:'x'===n?0:l,config:G,immediate:!q}),Y=s(function(e){return{opacity:1,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),X=s(function(e){return{opacity:0,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),J=Xs(T,{keys:function(e){return e.key},initial:Y,from:X,enter:Y,update:Y,leave:{opacity:0},config:G,immediate:!q});return B(ga.g,{transform:W.transform,'aria-hidden':Q,children:[J(function(t,n,r,i){return e.createElement(C,QF({tickIndex:i,format:I,rotate:v,textBaseline:P,textAnchor:M,truncateTickAt:_,animatedProps:t},n,U?{onClick:U}:{}))}),w(ga.line,{style:L.axis.domain.line,x1:0,x2:W.lineX2,y1:0,y2:W.lineY2}),D]})}),MF={ticksPosition:kr.oneOf(['before','after']),tickValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])),kr.string]),rotateOnTickLength:kr.shape({angle:kr.number,length:kr.number}),tickSize:kr.number,tickPadding:kr.number,tickRotation:kr.number,format:kr.oneOfType([kr.func,kr.string]),renderTick:kr.func,legend:kr.node,legendPosition:kr.oneOf(['start','middle','end']),legendOffset:kr.number,ariaHidden:kr.bool},PF=kr.shape(MF),DF=['top','right','bottom','left'],RF=f(function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return w(x,{children:DF.map(function(e){var s=o[e];if(!s)return null;var a='top'===e||'bottom'===e;return w(TF,QF({},s,{axis:a?'x':'y',x:'right'===e?r:0,y:'bottom'===e?i:0,scale:a?t:n,length:a?r:i,ticksPosition:'top'===e||'left'===e?'before':'after',truncateTickAt:s.truncateTickAt}),e)})})}),HF=f(function(e){var t=e.animatedProps,n=cC();return w(ga.line,QF({},t,n.grid.line))}),zF=f(function(e){var t=e.lines,n=Rx(),r=n.animate,i=Xs(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return w('g',{children:i(function(e,t){return p(HF,QF({},t,{key:t.key,animatedProps:e}))})})}),KF=f(function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,s=e.yValues,a=d(function(){return!!r&&IF({width:t,height:n,scale:r,axis:'x',values:o})},[r,o,t,n]),A=d(function(){return!!i&&IF({width:t,height:n,scale:i,axis:'y',values:s})},[n,t,i,s]);return B(x,{children:[a&&w(zF,{lines:a}),A&&w(zF,{lines:A})]})}),VF=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,s=t.top,a=t.right,A=t.bottom,l=t.left,c=t.theme,u={top:s,right:a,bottom:A,left:l};DF.forEach(function(t){var s=u[t];if(!s)return null;var a='top'===t||'bottom'===t,A='top'===t||'left'===t?'before':'after',l=a?n:r,d=OF(s.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,s=void 0===o?0:o,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,d=t.tickSize,f=void 0===d?5:d,h=t.tickPadding,p=void 0===h?5:h,g=t.tickRotation,m=void 0===g?0:g,v=t.format,b=t.legend,y=t.legendPosition,w=void 0===y?'end':y,B=t.legendOffset,x=void 0===B?0:B,C=t.theme,_=LF({axis:r,scale:i,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,engine:'canvas'}),j=_.ticks,F=_.textAlign,E=_.textBaseline;e.save(),e.translate(s,A),e.textAlign=F,e.textBaseline=E;var S=C.axis.ticks.text;e.font=(S.fontWeight?S.fontWeight+' ':'')+S.fontSize+'px '+S.fontFamily,(null!=(n=C.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.domain.line.strokeWidth),e.lineCap='square',C.axis.domain.line.stroke&&(e.strokeStyle=C.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo('x'===r?l:0,'x'===r?0:l),e.stroke());var k='function'==typeof v?v:function(e){return''+e};if(j.forEach(function(t){var n;(null!=(n=C.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.ticks.line.strokeWidth),e.lineCap='square',C.axis.ticks.line.stroke&&(e.strokeStyle=C.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=k(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(bC(m)),S.outlineWidth>0&&(e.strokeStyle=S.outlineColor,e.lineWidth=2*S.outlineWidth,e.lineJoin='round',e.strokeText(''+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=S.fill),e.fillText(''+r,0,0),e.restore()}),void 0!==b){var U=0,Q=0,L=0,O='center';'y'===r?(L=-90,U=x,'start'===w?(O='start',Q=l):'middle'===w?(O='center',Q=l/2):'end'===w&&(O='end')):(Q=x,'start'===w?O='start':'middle'===w?(O='center',U=l/2):'end'===w&&(O='end',U=l)),e.translate(U,Q),e.rotate(bC(L)),e.font=(C.axis.legend.text.fontWeight?C.axis.legend.text.fontWeight+' ':'')+C.axis.legend.text.fontSize+'px '+C.axis.legend.text.fontFamily,C.axis.legend.text.fill&&(e.fillStyle=C.axis.legend.text.fill),e.textAlign=O,e.textBaseline='middle',e.fillText(b,0,0)}e.restore()}(e,QF({},s,{axis:a?'x':'y',x:'right'===t?i:0,y:'bottom'===t?o:0,scale:l,format:d,length:a?i:o,ticksPosition:A,theme:c}))})},qF=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,s=t.values;IF({width:n,height:r,scale:i,axis:o,values:s}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})},GF=W_;var WF=hB,YF=function(e,t){var n=[];return GF(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n},XF=D_,JF=pc;var ZF=rr(function(e,t){return(JF(e)?WF:YF)(e,XF(t))}),$F=pA,eE=sc;var tE=rr(function(e){return'number'==typeof e||eE(e)&&'[object Number]'==$F(e)});var nE=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},rE=tu,iE=kB;var oE=function(e,t){return e&&rE(t,iE(t),e)},sE=tu,aE=Bu;var AE=function(e,t){return e&&sE(t,aE(t),e)},lE=tu,cE=wB;var uE=function(e,t){return lE(e,cE(e),t)},dE=Nw,fE=$l,hE=wB,pE=pB,gE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)dE(t,hE(e)),e=fE(e);return t}:pE,mE=tu,vE=gE;var bE=function(e,t){return mE(e,vE(e),t)},yE=fB,wE=gE,BE=Bu;var xE=function(e){return yE(e,BE,wE)},CE=Object.prototype.hasOwnProperty;var _E=function(e){var t=e.length,n=new e.constructor(t);return t&&'string'==typeof e[0]&&CE.call(e,'index')&&(n.index=e.index,n.input=e.input),n},jE=Kl;var FE=function(e,t){var n=t?jE(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},EE=/\w*$/;var SE=function(e){var t=new e.constructor(e.source,EE.exec(e));return t.lastIndex=e.lastIndex,t},kE=iA?iA.prototype:void 0,UE=kE?kE.valueOf:void 0;var QE=Kl,LE=FE,OE=SE,IE=function(e){return UE?Object(UE.call(e)):{}},NE=ql;var TE=function(e,t,n){var r=e.constructor;switch(t){case'[object ArrayBuffer]':return QE(e);case'[object Boolean]':case'[object Date]':return new r(+e);case'[object DataView]':return LE(e,n);case'[object Float32Array]':case'[object Float64Array]':case'[object Int8Array]':case'[object Int16Array]':case'[object Int32Array]':case'[object Uint8Array]':case'[object Uint8ClampedArray]':case'[object Uint16Array]':case'[object Uint32Array]':return NE(e,n);case'[object Map]':case'[object Set]':return new r;case'[object Number]':case'[object String]':return new r(e);case'[object RegExp]':return OE(e);case'[object Symbol]':return IE(e)}},ME=ox,PE=sc;var DE=function(e){return PE(e)&&'[object Map]'==ME(e)},RE=Rc,HE=zc&&zc.isMap,zE=HE?RE(HE):DE,KE=ox,VE=sc;var qE=function(e){return VE(e)&&'[object Set]'==KE(e)},GE=Rc,WE=zc&&zc.isSet,YE=WE?GE(WE):qE,XE=kl,JE=nE,ZE=Zc,$E=oE,eS=AE,tS=Rl,nS=Gl,rS=uE,iS=bE,oS=OB,sS=xE,aS=ox,AS=_E,lS=TE,cS=oc,uS=pc,dS=_c,fS=zE,hS=gA,pS=YE,gS=kB,mS=Bu,vS='[object Arguments]',bS='[object Function]',yS='[object Object]',wS={};wS[vS]=wS['[object Array]']=wS['[object ArrayBuffer]']=wS['[object DataView]']=wS['[object Boolean]']=wS['[object Date]']=wS['[object Float32Array]']=wS['[object Float64Array]']=wS['[object Int8Array]']=wS['[object Int16Array]']=wS['[object Int32Array]']=wS['[object Map]']=wS['[object Number]']=wS[yS]=wS['[object RegExp]']=wS['[object Set]']=wS['[object String]']=wS['[object Symbol]']=wS['[object Uint8Array]']=wS['[object Uint8ClampedArray]']=wS['[object Uint16Array]']=wS['[object Uint32Array]']=!0,wS['[object Error]']=wS[bS]=wS['[object WeakMap]']=!1;var BS=function e(t,n,r,i,o,s){var a,A=1&n,l=2&n,c=4&n;if(r&&(a=o?r(t,i,o,s):r(t)),void 0!==a)return a;if(!hS(t))return t;var u=uS(t);if(u){if(a=AS(t),!A)return nS(t,a)}else{var d=aS(t),f=d==bS||'[object GeneratorFunction]'==d;if(dS(t))return tS(t,A);if(d==yS||d==vS||f&&!o){if(a=l||f?{}:cS(t),!A)return l?iS(t,eS(a,t)):rS(t,$E(a,t))}else{if(!wS[d])return o?t:{};a=lS(t,d,A)}}s||(s=new XE);var h=s.get(t);if(h)return h;s.set(t,a),pS(t)?t.forEach(function(i){a.add(e(i,n,r,i,t,s))}):fS(t)&&t.forEach(function(i,o){a.set(o,e(i,n,r,o,t,s))});var p=u?void 0:(c?l?sS:oS:l?mS:gS)(t);return JE(p||t,function(i,o){p&&(i=t[o=i]),ZE(a,o,e(i,n,r,o,t,s))}),a};var xS=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},CS=Zd,_S=xS;var jS=function(e,t){return t.length<2?e:CS(e,_S(t,0,-1))},FS=Gd,ES=ih,SS=jS,kS=Yd,US=Object.prototype.hasOwnProperty;var QS=function(e,t){var n=-1,r=(t=FS(t,e)).length;if(!r)return!0;for(var i=null==e||'object'!=typeof e&&'function'!=typeof e;++n<r;){var o=t[n];if('string'==typeof o){if('__proto__'===o&&!US.call(e,'__proto__'))return!1;if('constructor'===o&&n+1<r&&'string'==typeof t[n+1]&&'prototype'===t[n+1]){if(i&&0===n)continue;return!1}}}var s=SS(e,t);return null==s||delete s[kS(ES(t))]},LS=Oc;var OS=Id,IS=BS,NS=QS,TS=Gd,MS=tu,PS=function(e){return LS(e)?void 0:e},DS=xE,RS=Gw(function(e,t){var n={};if(null==e)return n;var r=!1;t=OS(t,function(t){return t=TS(t,e),r||(r=t.length>1),t}),MS(e,DS(e),n),r&&(n=IS(n,7,PS));for(var i=t.length;i--;)NS(n,t[i]);return n}),HS=rr(RS);function zS(){return zS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zS.apply(this,arguments)}var KS=4,VS=120,qS=8,GS=function(e){return'circle'===e.type},WS=function(e){return'dot'===e.type},YS=function(e){return'rect'===e.type},XS=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,s=e.noteY,a=e.noteWidth,A=void 0===a?VS:a,l=e.noteTextOffset,c=void 0===l?qS:l;if(tE(o))t=r+o;else{if(void 0===o.abs)throw new Error('noteX should be either a number or an object containing an \'abs\' property');t=o.abs}if(tE(s))n=i+s;else{if(void 0===s.abs)throw new Error('noteY should be either a number or an object containing an \'abs\' property');n=s.abs}var u=r,d=i,f=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(yC(i))}(r,i,t,n);if(GS(e)){var h=wC(bC(f),e.size/2);u+=h.x,d+=h.y}if(YS(e)){var p=Math.round((f+90)/45)%8;0===p&&(d-=e.height/2),1===p&&(u+=e.width/2,d-=e.height/2),2===p&&(u+=e.width/2),3===p&&(u+=e.width/2,d+=e.height/2),4===p&&(d+=e.height/2),5===p&&(u-=e.width/2,d+=e.height/2),6===p&&(u-=e.width/2),7===p&&(u-=e.width/2,d-=e.height/2)}var g=t,m=t;return(f+90)%360>180?(g-=A,m-=A):m+=A,{points:[[u,d],[t,n],[m,n]],text:[g,n-c],angle:f+90}},JS=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return d(function(){return function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce(function(e,n){var o=n.offset||0;return[].concat(e,ZF(t,n.match).map(function(e){var t=r(e),s=i(e);return(GS(n)||YS(n))&&(s.size=s.size+2*o,s.width=s.width+2*o,s.height=s.height+2*o),zS({},HS(n,['match','offset']),t,s,{size:n.size||s.size,datum:e})}))},[])}({data:t,annotations:n,getPosition:r,getDimensions:i})},[t,n,r,i])},ZS=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=cC(),s=Rx(),a=s.animate,A=Ys({x:n,y:r,config:s.config,immediate:!a});return'function'==typeof i?p(i,{x:n,y:r,datum:t}):B(x,{children:[o.annotations.text.outlineWidth>0&&w(ga.text,{x:A.x,y:A.y,style:zS({},o.annotations.text,{strokeLinejoin:'round',strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),w(ga.text,{x:A.x,y:A.y,style:HS(o.annotations.text,['outlineWidth','outlineColor']),children:i})]})},$S=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=cC(),o=d(function(){var e=t[0];return t.slice(1).reduce(function(e,t){return e+' L'+t[0]+','+t[1]},'M'+e[0]+','+e[1])},[t]),s=Hx(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var a=zS({},i.annotations.link);return r&&(a.strokeLinecap='square',a.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,a.stroke=i.annotations.link.outlineColor,a.opacity=i.annotations.link.outlineOpacity),w(ga.path,{fill:'none',d:s,style:a})},ek=function(e){var t=e.x,n=e.y,r=e.size,i=cC(),o=Rx(),s=o.animate,a=Ys({x:t,y:n,radius:r/2,config:o.config,immediate:!s});return B(x,{children:[i.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:zS({},i.annotations.outline,{fill:'none',strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:i.annotations.outline})]})},tk=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?KS:r,o=cC(),s=Rx(),a=s.animate,A=Ys({x:t,y:n,radius:i/2,config:s.config,immediate:!a});return B(x,{children:[o.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:zS({},o.annotations.outline,{fill:'none',strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:o.annotations.symbol})]})},nk=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.borderRadius,s=void 0===o?6:o,a=cC(),A=Rx(),l=A.animate,c=Ys({x:t-r/2,y:n-i/2,width:r,height:i,config:A.config,immediate:!l});return B(x,{children:[a.annotations.outline.outlineWidth>0&&w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:zS({},a.annotations.outline,{fill:'none',strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:a.annotations.outline})]})},rk=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return d(function(){return XS(e)},[e])}(e);if(!function(e){var t=typeof e;return a(e)||'string'===t||'function'===t||'object'===t}(i))throw new Error('note should be a valid react element');return B(x,{children:[w($S,{points:o.points,isOutline:!0}),GS(e)&&w(ek,{x:n,y:r,size:e.size}),WS(e)&&w(tk,{x:n,y:r,size:e.size}),YS(e)&&w(nk,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),w($S,{points:o.points}),w(ZS,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},ik=function(e,t){t.forEach(function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)})};function ok(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}var sk=ok('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),ak=ok('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),Ak=ok('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),lk=ok('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),ck=ok('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),uk=ok('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),dk=ok('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),fk=ok('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3'),hk=ok('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),pk=e=>gp(e[e.length-1]),gk=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(ok),mk=pk(gk),vk=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(ok),bk=pk(vk),yk=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(ok),wk=pk(yk),Bk=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(ok),xk=pk(Bk),Ck=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(ok),_k=pk(Ck),jk=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(ok),Fk=pk(jk),Ek=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(ok),Sk=pk(Ek),kk=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(ok),Uk=pk(kk),Qk=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(ok),Lk=pk(Qk),Ok=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(ok),Ik=pk(Ok),Nk=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(ok),Tk=pk(Nk),Mk=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(ok),Pk=pk(Mk),Dk=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(ok),Rk=pk(Dk),Hk=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(ok),zk=pk(Hk),Kk=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(ok),Vk=pk(Kk),qk=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(ok),Gk=pk(qk),Wk=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(ok),Yk=pk(Wk),Xk=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(ok),Jk=pk(Xk),Zk=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(ok),$k=pk(Zk),eU=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(ok),tU=pk(eU),nU=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(ok),rU=pk(nU),iU=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(ok),oU=pk(iU),sU=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(ok),aU=pk(sU),AU=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(ok),lU=pk(AU),cU=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(ok),uU=pk(cU),dU=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(ok),fU=pk(dU),hU=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(ok),pU=pk(hU);function gU(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function mU(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vU(){}var bU=.7,yU=1/bU,wU='\\s*([+-]?\\d+)\\s*',BU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',xU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',CU=/^#([0-9a-f]{3,8})$/,_U=new RegExp('^rgb\\('+[wU,wU,wU]+'\\)$'),jU=new RegExp('^rgb\\('+[xU,xU,xU]+'\\)$'),FU=new RegExp('^rgba\\('+[wU,wU,wU,BU]+'\\)$'),EU=new RegExp('^rgba\\('+[xU,xU,xU,BU]+'\\)$'),SU=new RegExp('^hsl\\('+[BU,xU,xU]+'\\)$'),kU=new RegExp('^hsla\\('+[BU,xU,xU,BU]+'\\)$'),UU={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};function QU(){return this.rgb().formatHex()}function LU(){return this.rgb().formatRgb()}function OU(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=CU.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?IU(t):3===n?new PU(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?NU(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?NU(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=_U.exec(e))?new PU(t[1],t[2],t[3],1):(t=jU.exec(e))?new PU(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=FU.exec(e))?NU(t[1],t[2],t[3],t[4]):(t=EU.exec(e))?NU(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=SU.exec(e))?zU(t[1],t[2]/100,t[3]/100,1):(t=kU.exec(e))?zU(t[1],t[2]/100,t[3]/100,t[4]):UU.hasOwnProperty(e)?IU(UU[e]):'transparent'===e?new PU(NaN,NaN,NaN,0):null}function IU(e){return new PU(e>>16&255,e>>8&255,255&e,1)}function NU(e,t,n,r){return r<=0&&(e=t=n=NaN),new PU(e,t,n,r)}function TU(e){return e instanceof vU||(e=OU(e)),e?new PU((e=e.rgb()).r,e.g,e.b,e.opacity):new PU}function MU(e,t,n,r){return 1===arguments.length?TU(e):new PU(e,t,n,null==r?1:r)}function PU(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function DU(){return'#'+HU(this.r)+HU(this.g)+HU(this.b)}function RU(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'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))+(1===e?')':', '+e+')')}function HU(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function zU(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new VU(e,t,n,r)}function KU(e){if(e instanceof VU)return new VU(e.h,e.s,e.l,e.opacity);if(e instanceof vU||(e=OU(e)),!e)return new VU;if(e instanceof VU)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new VU(s,a,A,e.opacity)}function VU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function qU(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}gU(vU,OU,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:QU,formatHex:QU,formatHsl:function(){return KU(this).formatHsl()},formatRgb:LU,toString:LU}),gU(PU,MU,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new PU(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new PU(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:DU,formatHex:DU,formatRgb:RU,toString:RU})),gU(VU,function(e,t,n,r){return 1===arguments.length?KU(e):new VU(e,t,n,null==r?1:r)},mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new VU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new VU(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new PU(qU(e>=240?e-240:e+120,i,r),qU(e,i,r),qU(e<120?e+240:e-120,i,r),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(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'hsl(':'hsla(')+(this.h||0)+', '+100*(this.s||0)+'%, '+100*(this.l||0)+'%'+(1===e?')':', '+e+')')}}));const GU=Math.PI/180,WU=180/Math.PI;var YU=-.14861,XU=1.78277,JU=-.29227,ZU=-.90649,$U=1.97294,eQ=$U*ZU,tQ=$U*XU,nQ=XU*JU-ZU*YU;function rQ(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof iQ)return new iQ(e.h,e.s,e.l,e.opacity);e instanceof PU||(e=TU(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(nQ*r+eQ*t-tQ*n)/-5.9615122912,o=r-i,s=($U*(n-i)-JU*o)/ZU,a=Math.sqrt(s*s+o*o)/($U*i*(1-i)),A=a?Math.atan2(s,o)*WU-120:NaN;return new iQ(A<0?A+360:A,a,i,e.opacity)}(e):new iQ(e,t,n,null==r?1:r)}function iQ(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}gU(iQ,rQ,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*GU,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new PU(255*(t+n*(YU*r+XU*i)),255*(t+n*(JU*r+ZU*i)),255*(t+n*($U*r)),this.opacity)}}));var oQ=Ep(rQ(300,.5,0),rQ(-240,.5,1)),sQ=Ep(rQ(-100,.75,.35),rQ(80,1.5,.8)),aQ=Ep(rQ(260,.75,.35),rQ(80,1.5,.8)),AQ=rQ();var lQ=MU(),cQ=Math.PI/3,uQ=2*Math.PI/3;function dQ(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var fQ=dQ(ok('44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725')),hQ=dQ(ok('00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf')),pQ=dQ(ok('00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4')),gQ=dQ(ok('0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921'));function mQ(){return mQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mQ.apply(this,arguments)}function vQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bQ={nivo:['#e8c1a0','#f47560','#f1e15b','#e8a838','#61cdbb','#97e3d5'],category10:sk,accent:ak,dark2:Ak,paired:lk,pastel1:ck,pastel2:uk,set1:dk,set2:fk,set3:hk},yQ=Object.keys(bQ),wQ={brown_blueGreen:gk,purpleRed_green:vk,pink_yellowGreen:yk,purple_orange:Bk,red_blue:Ck,red_grey:jk,red_yellow_blue:Ek,red_yellow_green:kk,spectral:Qk},BQ=Object.keys(wQ),xQ={brown_blueGreen:mk,purpleRed_green:bk,pink_yellowGreen:wk,purple_orange:xk,red_blue:_k,red_grey:Fk,red_yellow_blue:Sk,red_yellow_green:Uk,spectral:Lk},CQ={blues:iU,greens:sU,greys:AU,oranges:hU,purples:cU,reds:dU,blue_green:Ok,blue_purple:Nk,green_blue:Mk,orange_red:Dk,purple_blue_green:Hk,purple_blue:Kk,purple_red:qk,red_purple:Wk,yellow_green_blue:Xk,yellow_green:Zk,yellow_orange_brown:eU,yellow_orange_red:nU},_Q=Object.keys(CQ),jQ={blues:oU,greens:aU,greys:lU,oranges:pU,purples:uU,reds:fU,turbo:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+', '+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+', '+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+')'},viridis:fQ,inferno:pQ,magma:hQ,plasma:gQ,cividis:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+', '+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+', '+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+')'},warm:sQ,cool:aQ,cubehelixDefault:oQ,blue_green:Ik,blue_purple:Tk,green_blue:Pk,orange_red:Rk,purple_blue_green:zk,purple_blue:Vk,purple_red:Gk,red_purple:Yk,yellow_green_blue:Jk,yellow_green:$k,yellow_orange_brown:tU,yellow_orange_red:rU},FQ=mQ({},bQ,wQ,CQ),EQ=Object.keys(FQ),SQ={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return AQ.h=360*e-100,AQ.s=1.5-1.5*t,AQ.l=.8-.9*t,AQ+''},sinebow:function(e){var t;return e=(.5-e)*Math.PI,lQ.r=255*(t=Math.sin(e))*t,lQ.g=255*(t=Math.sin(e+cQ))*t,lQ.b=255*(t=Math.sin(e+uQ))*t,lQ+''}};mQ({},xQ,jQ,SQ);var kQ=function(e,t){if('function'==typeof e)return e;if(Ic(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error('Unable to use color from theme as no theme was provided');var n=tf(t,e.theme);if(void 0===n)throw new Error('Color from theme is undefined at path: \''+e.theme+'\'');return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return tf(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],s=function(){var e=i.value,t=e[0],n=e[1];if('brighter'===t)o.push(function(e){return e.brighter(n)});else if('darker'===t)o.push(function(e){return e.darker(n)});else{if('opacity'!==t)throw new Error('Invalid color modifier: \''+t+'\', must be one of: \'brighter\', \'darker\', \'opacity\'');o.push(function(e){return e.opacity=n,e})}},a=function(e,t){var n='undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if('string'==typeof e)return vQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return'Object'===n&&e.constructor&&(n=e.constructor.name),'Map'===n||'Set'===n?Array.from(e):'Arguments'===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vQ(e,t):void 0}}(e))||t&&e&&'number'==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}(e.modifiers);!(i=a()).done;)s();return 0===o.length?r:function(e){return o.reduce(function(e,t){return t(e)},Lf(r(e))).toString()}}return r}throw new Error('Invalid color spec, you should either specify \'theme\' or \'from\' when using a config object')}return function(){return e}},UQ=function(e,t){return d(function(){return kQ(e,t)},[e,t])},QQ=kr.oneOfType([kr.func,kr.arrayOf(kr.string),kr.shape({scheme:kr.oneOf(EQ).isRequired,size:kr.number}),kr.shape({datum:kr.string.isRequired}),kr.string]);kr.oneOfType([kr.string,kr.func,kr.shape({theme:kr.string.isRequired}),kr.shape({from:kr.string.isRequired,modifiers:kr.arrayOf(kr.array)})]);var LQ=function(e,t){if('function'==typeof e)return e;var n='function'==typeof t?t:function(e){return tf(e,t)};if(Array.isArray(e)){var r=vh(e),i=function(e){return r(n(e))};return i.scale=r,i}if(Ic(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return tf(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return yQ.includes(e)}(e.scheme)){var o=vh(FQ[e.scheme]),s=function(e){return o(n(e))};return s.scale=o,s}if(function(e){return BQ.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error('Invalid size \''+e.size+'\' for diverging color scheme \''+e.scheme+'\', must be between 3~11');var a=vh(FQ[e.scheme][e.size||11]),A=function(e){return a(n(e))};return A.scale=a,A}if(function(e){return _Q.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error('Invalid size \''+e.size+'\' for sequential color scheme \''+e.scheme+'\', must be between 3~9');var l=vh(FQ[e.scheme][e.size||9]),c=function(e){return l(n(e))};return c.scale=l,c}}throw new Error('Invalid colors, when using an object, you should either pass a \'datum\' or a \'scheme\' property')}return function(){return e}},OQ=function(e,t){return d(function(){return LQ(e,t)},[e,t])};function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IQ.apply(this,arguments)}var NQ={top:0,right:0,bottom:0,left:0},TQ=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,s=e.itemWidth,a=e.itemHeight;if('number'!=typeof i&&('object'!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error('Invalid property padding, must be one of: number, object');var A='number'==typeof i?{top:i,right:i,bottom:i,left:i}:IQ({},NQ,i),l=A.left+A.right,c=A.top+A.bottom,u=s+l,d=a+c,f=(o-1)*r;return'row'===n?u=s*o+f+l:'column'===n&&(d=a*o+f+c),{width:u,height:d,padding:A}},MQ=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,s=e.width,a=e.height,A=n,l=r;switch(t){case'top':A+=(i-s)/2;break;case'top-right':A+=i-s;break;case'right':A+=i-s,l+=(o-a)/2;break;case'bottom-right':A+=i-s,l+=o-a;break;case'bottom':A+=(i-s)/2,l+=o-a;break;case'bottom-left':l+=o-a;break;case'left':l+=(o-a)/2;break;case'center':A+=(i-s)/2,l+=(o-a)/2}return{x:A,y:l}},PQ=function(e){var t,n,r,i,o,s,a=e.direction,A=e.justify,l=e.symbolSize,c=e.symbolSpacing,u=e.width,d=e.height;switch(a){case'left-to-right':t=0,n=(d-l)/2,i=d/2,s='central',A?(r=u,o='end'):(r=l+c,o='start');break;case'right-to-left':t=u-l,n=(d-l)/2,i=d/2,s='central',A?(r=0,o='start'):(r=u-l-c,o='end');break;case'top-to-bottom':t=(u-l)/2,n=0,r=u/2,o='middle',A?(i=d,s='alphabetic'):(i=l+c,s='text-before-edge');break;case'bottom-to-top':t=(u-l)/2,n=d-l,r=u/2,o='middle',A?(i=0,s='text-before-edge'):(i=d-l-c,s='alphabetic')}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:s}},DQ={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('circle',{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+.8*r+' '+r/2+'\n L'+r/2+' '+r+'\n L'+.2*r+' '+r/2+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('rect',{x:t,y:n,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,width:r,height:r,style:{pointerEvents:'none'}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+r+' '+r+'\n L0 '+r+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})}},RQ=function(t){var r,i,o,a,A,l,c,u,d,f,h,p=t.x,g=t.y,m=t.width,v=t.height,b=t.data,y=t.direction,x=void 0===y?'left-to-right':y,C=t.justify,_=void 0!==C&&C,j=t.textColor,F=t.background,E=void 0===F?'transparent':F,S=t.opacity,k=void 0===S?1:S,U=t.symbolShape,Q=void 0===U?'square':U,L=t.symbolSize,O=void 0===L?16:L,I=t.symbolSpacing,N=void 0===I?8:I,T=t.symbolBorderWidth,M=void 0===T?0:T,P=t.symbolBorderColor,D=void 0===P?'transparent':P,R=t.onClick,H=t.onMouseEnter,z=t.onMouseLeave,K=t.toggleSerie,V=t.effects,q=n({}),G=q[0],W=q[1],Y=cC(),X=s(function(e){if(V){var t=V.filter(function(e){return'hover'===e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==H||H(b,e)},[H,b,V]),J=s(function(e){if(V){var t=V.filter(function(e){return'hover'!==e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==z||z(b,e)},[z,b,V]),Z=PQ({direction:x,justify:_,symbolSize:null!=(r=G.symbolSize)?r:O,symbolSpacing:N,width:m,height:v}),$=Z.symbolX,ee=Z.symbolY,te=Z.labelX,ne=Z.labelY,re=Z.labelAnchor,ie=Z.labelAlignment,oe=[R,H,z,K].some(function(e){return void 0!==e}),se='function'==typeof Q?Q:DQ[Q];return B('g',{transform:'translate('+p+','+g+')',style:{opacity:null!=(i=G.itemOpacity)?i:k},children:[w('rect',{width:m,height:v,fill:null!=(o=G.itemBackground)?o:E,style:{cursor:oe?'pointer':'auto'},onClick:function(e){null==R||R(b,e),null==K||K(b.id)},onMouseEnter:X,onMouseLeave:J}),e.createElement(se,IQ({id:b.id,x:$,y:ee,size:null!=(a=G.symbolSize)?a:O,fill:null!=(A=null!=(l=b.fill)?l:b.color)?A:'black',borderWidth:null!=(c=G.symbolBorderWidth)?c:M,borderColor:null!=(u=G.symbolBorderColor)?u:D},b.hidden?Y.legends.hidden.symbol:void 0)),w('text',{textAnchor:re,style:IQ({},Y.legends.text,{fill:null!=(d=null!=(f=null!=(h=G.itemTextColor)?h:j)?f:Y.legends.text.fill)?d:'black',dominantBaseline:ie,pointerEvents:'none',userSelect:'none'},b.hidden?Y.legends.hidden.text:void 0),x:te,y:ne,children:b.label})]})},HQ=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,s=void 0===o?0:o,a=e.justify,A=e.effects,l=e.itemWidth,c=e.itemHeight,u=e.itemDirection,d=void 0===u?'left-to-right':u,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemTextColor,g=e.itemBackground,m=void 0===g?'transparent':g,v=e.itemOpacity,b=void 0===v?1:v,y=e.symbolShape,B=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,_=e.symbolBorderColor,j=e.onClick,F=e.onMouseEnter,E=e.onMouseLeave,S=e.toggleSerie,k=TQ({itemCount:t.length,itemWidth:l,itemHeight:c,itemsSpacing:h,direction:i,padding:s}).padding,U='row'===i?l+h:0,Q='column'===i?c+h:0;return w('g',{transform:'translate('+n+','+r+')',children:t.map(function(e,t){return w(RQ,{data:e,x:t*U+k.left,y:t*Q+k.top,width:l,height:c,direction:d,justify:a,effects:A,textColor:p,background:m,opacity:b,symbolShape:y,symbolSize:B,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:_,onClick:j,onMouseEnter:F,onMouseLeave:E,toggleSerie:S},t)})})},zQ=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,s=e.translateY,a=void 0===s?0:s,A=e.anchor,l=e.direction,c=e.padding,u=void 0===c?0:c,d=e.justify,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemWidth,g=e.itemHeight,m=e.itemDirection,v=e.itemTextColor,b=e.itemBackground,y=e.itemOpacity,B=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,_=e.symbolBorderWidth,j=e.symbolBorderColor,F=e.onClick,E=e.onMouseEnter,S=e.onMouseLeave,k=e.toggleSerie,U=e.effects,Q=TQ({itemCount:t.length,itemsSpacing:h,itemWidth:p,itemHeight:g,direction:l,padding:u}),L=Q.width,O=Q.height,I=MQ({anchor:A,translateX:o,translateY:a,containerWidth:n,containerHeight:r,width:L,height:O}),N=I.x,T=I.y;return w(HQ,{data:t,x:N,y:T,direction:l,padding:u,justify:d,effects:U,itemsSpacing:h,itemWidth:p,itemHeight:g,itemDirection:m,itemTextColor:v,itemBackground:b,itemOpacity:y,symbolShape:B,symbolSize:x,symbolSpacing:C,symbolBorderWidth:_,symbolBorderColor:j,onClick:F,onMouseEnter:E,onMouseLeave:S,toggleSerie:'boolean'==typeof k?void 0:k})},KQ={start:'left',middle:'center',end:'right'},VQ=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,s=void 0===o?0:o,a=t.translateY,A=void 0===a?0:a,l=t.anchor,c=t.direction,u=t.padding,d=void 0===u?0:u,f=t.justify,h=void 0!==f&&f,p=t.itemsSpacing,g=void 0===p?0:p,m=t.itemWidth,v=t.itemHeight,b=t.itemDirection,y=void 0===b?'left-to-right':b,w=t.itemTextColor,B=t.symbolSize,x=void 0===B?16:B,C=t.symbolSpacing,_=void 0===C?8:C,j=t.theme,F=TQ({itemCount:n.length,itemWidth:m,itemHeight:v,itemsSpacing:g,direction:c,padding:d}),E=F.width,S=F.height,k=F.padding,U=MQ({anchor:l,translateX:s,translateY:A,containerWidth:r,containerHeight:i,width:E,height:S}),Q=U.x,L=U.y,O='row'===c?m+g:0,I='column'===c?v+g:0;e.save(),e.translate(Q,L),e.font=j.legends.text.fontSize+'px '+(j.legends.text.fontFamily||'sans-serif'),n.forEach(function(t,n){var r,i,o=n*O+k.left,s=n*I+k.top,a=PQ({direction:y,justify:h,symbolSize:x,symbolSpacing:_,width:m,height:v}),A=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:'black',e.fillRect(o+A,s+l,x,x),e.textAlign=KQ[d],'central'===f&&(e.textBaseline='middle'),e.fillStyle=null!=(i=null!=w?w:j.legends.text.fill)?i:'black',e.fillText(String(t.label),o+c,s+u)}),e.restore()},qQ={data:kr.arrayOf(kr.object),anchor:kr.oneOf(['top','top-right','right','bottom-right','bottom','bottom-left','left','top-left','center']).isRequired,translateX:kr.number,translateY:kr.number,direction:kr.oneOf(['row','column']).isRequired,itemsSpacing:kr.number,itemWidth:kr.number.isRequired,itemHeight:kr.number.isRequired,itemDirection:kr.oneOf(['left-to-right','right-to-left','top-to-bottom','bottom-to-top']),itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolShape:kr.oneOfType([kr.oneOf(['circle','diamond','square','triangle']),kr.func]),symbolSize:kr.number,symbolSpacing:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string,onClick:kr.func,onMouseEnter:kr.func,onMouseLeave:kr.func,effects:kr.arrayOf(kr.shape({on:kr.oneOfType([kr.oneOf(['hover'])]).isRequired,style:kr.shape({itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolSize:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string}).isRequired}))};function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(this,arguments)}function WQ(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var YQ,XQ=function(e){var t=e.bars,n=e.annotations,r=JS({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return w(x,{children:r.map(function(e,t){return w(rk,GQ({},e),t)})})},JQ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return w(x,{children:r.map(function(e,r){var o,s=e[0],a=e[1];return w(zQ,GQ({},s,{containerWidth:t,containerHeight:n,data:null!=(o=s.data)?o:a,toggleSerie:s.toggleSerie&&'keys'===s.dataFrom?i:void 0}),r)})})},ZQ=['data'],$Q=['color','label'],eL={indexBy:'id',keys:['value'],groupMode:'stacked',layout:'vertical',reverse:!1,minValue:'auto',maxValue:'auto',valueScale:{type:'linear'},indexScale:{type:'band',round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:'formattedValue',labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:'theme',theme:'labels.text.fill'},colorBy:'id',colors:{scheme:'nivo'},borderRadius:0,borderWidth:0,borderColor:{from:'color'},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=WQ(e,$Q);return w(Ba,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+' - '+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[]},tL=GQ({},eL,{layers:['grid','axes','bars','markers','legends','annotations'],barComponent:function(e){var t,n=e.bar,r=n.data,i=WQ(n,ZQ),o=e.style,a=o.borderColor,A=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,f=o.labelX,h=o.labelY,g=o.transform,m=o.width,v=e.borderRadius,b=e.borderWidth,y=e.label,x=e.shouldRenderLabel,C=e.isInteractive,_=e.onClick,j=e.onMouseEnter,F=e.onMouseLeave,E=e.tooltip,S=e.isFocusable,k=e.ariaLabel,U=e.ariaLabelledBy,Q=e.ariaDescribedBy,L=cC(),O=ka(),I=O.showTooltipFromEvent,N=O.showTooltipAt,T=O.hideTooltip,M=d(function(){return function(){return p(E,GQ({},i,r))}},[E,i,r]),P=s(function(e){null==_||_(GQ({color:i.color},r),e)},[i,r,_]),D=s(function(e){return I(M(),e)},[I,M]),R=s(function(e){null==j||j(r,e),I(M(),e)},[r,j,I,M]),H=s(function(e){null==F||F(r,e),T()},[r,T,F]),z=s(function(){N(M(),[i.absX+i.width/2,i.absY])},[N,M,i]),K=s(function(){T()},[T]);return B(ga.g,{transform:g,children:[w(ga.rect,{width:na(m,function(e){return Math.max(e,0)}),height:na(l,function(e){return Math.max(e,0)}),rx:v,ry:v,fill:null!=(t=r.fill)?t:A,strokeWidth:b,stroke:a,focusable:S,tabIndex:S?0:void 0,'aria-label':k?k(r):void 0,'aria-labelledby':U?U(r):void 0,'aria-describedby':Q?Q(r):void 0,onMouseEnter:C?R:void 0,onMouseMove:C?D:void 0,onMouseLeave:C?H:void 0,onClick:C?P:void 0,onFocus:C&&S?z:void 0,onBlur:C&&S?K:void 0}),x&&w(ga.text,{x:f,y:h,textAnchor:'middle',dominantBaseline:'central',fillOpacity:u,style:GQ({},L.labels.text,{pointerEvents:'none',fill:c}),children:y})]})},defs:[],fill:[],animate:!0,motionConfig:'default',role:'img',isFocusable:!1}),nL=GQ({},eL,{layers:['grid','axes','bars','legends','annotations'],pixelRatio:'undefined'!=typeof window&&null!=(YQ=window.devicePixelRatio)?YQ:1}),rL=function(e,t,n,r,i,o){return yF(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},iL=function(e,t){return e.map(function(e){return GQ({},t.reduce(function(e,t){return e[t]=null,e},{}),e)})},oL=function(e){return Object.keys(e).reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},{})},sL=function(e){return[e,Number(e)]},aL=['layout','minValue','maxValue','reverse','width','height','padding','innerPadding','valueScale','indexScale','hiddenIds'],AL=function(e,t){return e>t},lL=function(e,t){return e<t},cL=function(e,t){return Array.from(' '.repeat(t-e),function(t,n){return e+n})},uL=function(e){return AL(e,0)?0:e},dL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getColor,a=e.getIndex,A=e.getTooltipLabel,l=e.innerPadding,c=void 0===l?0:l,u=e.keys,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return u.forEach(function(e,n){return cL(0,d.domain().length).forEach(function(l){var u,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=a(i[l]),C=(null!=(u=d(x))?u:0)+t*n+c*n,_=p(v=B,0)?null!=(b=f(v))?b:0:r,j=function(e,t){var n;return p(e,0)?r-t:(null!=(n=f(e))?n:0)-r}(B,_),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:t,height:j,color:s(F),label:A(F)})})}),m},fL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getIndex,a=e.getColor,A=e.getTooltipLabel,l=e.keys,c=e.innerPadding,u=void 0===c?0:c,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return l.forEach(function(e,n){return cL(0,f.domain().length).forEach(function(l){var c,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=s(i[l]),C=p(v=B,0)?r:null!=(b=d(v))?b:0,_=(null!=(c=f(x))?c:0)+t*n+u*n,j=function(e,t){var n;return p(e,0)?(null!=(n=d(e))?n:0)-r:r-t}(B,C),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:j,height:t,color:a(F),label:A(F)})})}),m},hL=function(e){var t,n,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.innerPadding,d=void 0===u?0:u,f=e.valueScale,h=e.indexScale,p=e.hiddenIds,g=void 0===p?[]:p,m=WQ(e,aL),v=m.keys.filter(function(e){return!g.includes(e)}),b=iL(m.data,v),y='vertical'===r?['y','x',a]:['x','y',A],w=y[0],B=y[1],x=y[2],C=rL(b,m.getIndex,c,h,x,B),_=GQ({max:o,min:i,reverse:s},f),j='auto'===_.min?uL:function(e){return e},F=b.reduce(function(e,t){return[].concat(e,v.map(function(e){return t[e]}))},[]).filter(Boolean),E=yF(_,{all:F,min:j(Math.min.apply(Math,F)),max:(n=Math.max.apply(Math,F),isFinite(n)?n:0)},'x'===w?a:A,w),S='vertical'===r?[C,E]:[E,C],k=S[0],U=S[1],Q=(C.bandwidth()-d*(v.length-1))/v.length,L=[GQ({},m,{data:b,keys:v,innerPadding:d,xScale:k,yScale:U}),Q,_.reverse,null!=(t=E(0))?t:0];return{xScale:k,yScale:U,bars:Q>0?'vertical'===r?dL.apply(void 0,L):fL.apply(void 0,L):[]}},pL=['data','layout','minValue','maxValue','reverse','width','height','padding','valueScale','indexScale','hiddenIds'],gL=function e(t){var n;return t.some(Array.isArray)?e((n=[]).concat.apply(n,t)):t},mL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return l.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=l(o(g.data)))?h:0,v=(null!=(p=function(e){return c(e[n?0:1])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=c(e[n?1:0]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:m,y:v,absX:u.left+m,absY:u.top+v,width:t,height:b,color:i(x),label:s(x)})})}),d},vL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return c.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=c(o(g.data)))?h:0,v=(null!=(p=function(e){return l(e[n?1:0])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=l(e[n?0:1]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:v,y:m,absX:u.left+v,absY:u.top+m,width:b,height:t,color:i(x),label:s(x)})})}),d},bL=function(e){var t,n=e.data,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.valueScale,d=e.indexScale,f=e.hiddenIds,h=void 0===f?[]:f,p=WQ(e,pL),g=p.keys.filter(function(e){return!h.includes(e)}),m=function(){var e=qb([]),t=$y,n=Zy,r=ew;function i(i){var o,s,a=e.apply(this,arguments),A=i.length,l=a.length,c=new Array(l);for(o=0;o<l;++o){for(var u,d=a[o],f=c[o]=new Array(A),h=0;h<A;++h)f[h]=u=[0,+r(i[h],d,h,i)],u.data=i[h];f.key=d}for(o=0,s=t(c);o<l;++o)c[s[o]].index=o;return n(c,s),c}return i.keys=function(t){return arguments.length?(e='function'==typeof t?t:qb(by.call(t)),i):e},i.value=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?$y:'function'==typeof e?e:qb(by.call(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Zy:e,i):n},i}().keys(g).offset(tw)(iL(n,g)),v='vertical'===r?['y','x',a]:['x','y',A],b=v[0],y=v[1],w=v[2],B=rL(n,p.getIndex,c,d,w,y),x=GQ({max:o,min:i,reverse:s},u),C=(t=gL(m),'log'===u.type?t.filter(function(e){return 0!==e}):t),_=yF(x,{all:C,min:Math.min.apply(Math,C),max:Math.max.apply(Math,C)},'x'===b?a:A,b),j='vertical'===r?[B,_]:[_,B],F=j[0],E=j[1],S=p.innerPadding>0?p.innerPadding:0,k=B.bandwidth(),U=[GQ({},p,{innerPadding:S,stackedData:m,xScale:F,yScale:E}),k,x.reverse];return{xScale:F,yScale:E,bars:k>0?'vertical'===r?mL.apply(void 0,U):vL.apply(void 0,U):[]}},yL=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,s=e.legendLabel,a=e.reverse,A=RC(null!=s?s:'indexes'===r?'indexValue':'id');return'indexes'===r?function(e,t,n){var r=z_(e.map(function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:'',label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:'#000'}}),function(e){return e.id});return'horizontal'===t&&r.reverse(),r}(t,o,A):function(e,t,n,r,i,o){var s=z_(e.map(function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:'#000'}}),function(e){return e.id});return('vertical'===t&&'stacked'===r&&'column'===n&&!0!==i||'horizontal'===t&&'stacked'===r&&!0===i)&&s.reverse(),s}(t,o,n,i,a,A)},wL=function(e){var t=e.indexBy,r=void 0===t?eL.indexBy:t,i=e.keys,o=void 0===i?eL.keys:i,a=e.label,A=void 0===a?eL.label:a,l=e.tooltipLabel,c=void 0===l?eL.tooltipLabel:l,u=e.valueFormat,f=e.colors,h=void 0===f?eL.colors:f,p=e.colorBy,g=void 0===p?eL.colorBy:p,m=e.borderColor,v=void 0===m?eL.borderColor:m,b=e.labelTextColor,y=void 0===b?eL.labelTextColor:b,w=e.groupMode,B=void 0===w?eL.groupMode:w,x=e.layout,C=void 0===x?eL.layout:x,_=e.reverse,j=void 0===_?eL.reverse:_,F=e.data,E=e.minValue,S=void 0===E?eL.minValue:E,k=e.maxValue,U=void 0===k?eL.maxValue:k,Q=e.margin,L=e.width,O=e.height,I=e.padding,N=void 0===I?eL.padding:I,T=e.innerPadding,M=void 0===T?eL.innerPadding:T,P=e.valueScale,D=void 0===P?eL.valueScale:P,R=e.indexScale,H=void 0===R?eL.indexScale:R,z=e.initialHiddenIds,K=void 0===z?eL.initialHiddenIds:z,V=e.enableLabel,q=void 0===V?eL.enableLabel:V,G=e.labelSkipWidth,W=void 0===G?eL.labelSkipWidth:G,Y=e.labelSkipHeight,X=void 0===Y?eL.labelSkipHeight:Y,J=e.legends,Z=void 0===J?eL.legends:J,$=e.legendLabel,ee=n(null!=K?K:[]),te=ee[0],ne=ee[1],re=s(function(e){ne(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),ie=HC(r),oe=HC(A),se=HC(c),ae=sC(u),Ae=cC(),le=OQ(h,g),ce=UQ(v,Ae),ue=UQ(y,Ae),de=('grouped'===B?hL:bL)({layout:C,reverse:j,data:F,getIndex:ie,keys:o,minValue:S,maxValue:U,width:L,height:O,getColor:le,padding:N,innerPadding:M,valueScale:D,indexScale:H,hiddenIds:te,formatValue:ae,getTooltipLabel:se,margin:Q}),fe=de.bars,he=de.xScale,pe=de.yScale,ge=d(function(){return fe.filter(function(e){return null!==e.data.value}).map(function(e,t){return GQ({},e,{index:t})})},[fe]),me=s(function(e){var t=e.width,n=e.height;return!(!q||W>0&&t<W||X>0&&n<X)},[q,W,X]),ve=d(function(){return o.map(function(e){var t=fe.find(function(t){return t.data.id===e});return GQ({},t,{data:GQ({id:e},null==t?void 0:t.data,{hidden:te.includes(e)})})})},[te,o,fe]),be=d(function(){return Z.map(function(e){return[e,yL({bars:'keys'===e.dataFrom?ve:fe,direction:e.direction,from:e.dataFrom,groupMode:B,layout:C,legendLabel:$,reverse:j})]})},[Z,ve,fe,B,C,$,j]);return{bars:fe,barsWithValue:ge,xScale:he,yScale:pe,getIndex:ie,getLabel:oe,getTooltipLabel:se,formatValue:ae,getColor:le,getBorderColor:ce,getLabelColor:ue,shouldRenderBarLabel:me,hiddenIds:te,toggleSerie:re,legendsWithData:be}},BL=['isInteractive','animate','motionConfig','theme','renderWrapper'],xL=function(e){var t=e.data,n=e.indexBy,r=e.keys,i=e.margin,o=e.width,s=e.height,a=e.groupMode,A=e.layout,l=e.reverse,c=e.minValue,u=e.maxValue,f=e.valueScale,h=e.indexScale,g=e.padding,v=e.innerPadding,b=e.axisTop,y=e.axisRight,B=e.axisBottom,x=void 0===B?tL.axisBottom:B,C=e.axisLeft,_=void 0===C?tL.axisLeft:C,j=e.enableGridX,F=void 0===j?tL.enableGridX:j,E=e.enableGridY,S=void 0===E?tL.enableGridY:E,k=e.gridXValues,U=e.gridYValues,Q=e.layers,L=void 0===Q?tL.layers:Q,O=e.barComponent,I=void 0===O?tL.barComponent:O,N=e.enableLabel,T=void 0===N?tL.enableLabel:N,M=e.label,P=e.labelSkipWidth,D=void 0===P?tL.labelSkipWidth:P,R=e.labelSkipHeight,H=void 0===R?tL.labelSkipHeight:R,z=e.labelTextColor,K=e.markers,V=void 0===K?tL.markers:K,q=e.colorBy,G=e.colors,W=e.defs,Y=void 0===W?tL.defs:W,X=e.fill,J=void 0===X?tL.fill:X,Z=e.borderRadius,$=void 0===Z?tL.borderRadius:Z,ee=e.borderWidth,te=void 0===ee?tL.borderWidth:ee,ne=e.borderColor,re=e.annotations,ie=void 0===re?tL.annotations:re,oe=e.legendLabel,se=e.tooltipLabel,ae=e.valueFormat,Ae=e.isInteractive,le=void 0===Ae?tL.isInteractive:Ae,ce=e.tooltip,ue=void 0===ce?tL.tooltip:ce,de=e.onClick,fe=e.onMouseEnter,he=e.onMouseLeave,pe=e.legends,ge=e.role,me=void 0===ge?tL.role:ge,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,we=e.isFocusable,Be=void 0===we?tL.isFocusable:we,xe=e.barAriaLabel,Ce=e.barAriaLabelledBy,_e=e.barAriaDescribedBy,je=e.initialHiddenIds,Fe=Rx(),Ee=Fe.animate,Se=Fe.config,ke=rC(o,s,i),Ue=ke.outerWidth,Qe=ke.outerHeight,Le=ke.margin,Oe=ke.innerWidth,Ie=ke.innerHeight,Ne=wL({indexBy:n,label:M,tooltipLabel:se,valueFormat:ae,colors:G,colorBy:q,borderColor:ne,labelTextColor:z,groupMode:a,layout:A,reverse:l,data:t,keys:r,minValue:c,maxValue:u,margin:Le,width:Oe,height:Ie,padding:g,innerPadding:v,valueScale:f,indexScale:h,enableLabel:T,labelSkipWidth:D,labelSkipHeight:H,legends:pe,legendLabel:oe,initialHiddenIds:je}),Te=Ne.bars,Me=Ne.barsWithValue,Pe=Ne.xScale,De=Ne.yScale,Re=Ne.getLabel,He=Ne.getTooltipLabel,ze=Ne.getBorderColor,Ke=Ne.getLabelColor,Ve=Ne.shouldRenderBarLabel,qe=Ne.toggleSerie,Ge=Ne.legendsWithData,We=Xs(Me,{keys:function(e){return e.key},from:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},enter:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},update:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},leave:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:0,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{labelX:0,labelY:e.height/2,height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},config:Se,immediate:!Ee,initial:Ee?void 0:null}),Ye=d(function(){return{borderRadius:$,borderWidth:te,enableLabel:T,isInteractive:le,labelSkipWidth:D,labelSkipHeight:H,onClick:de,onMouseEnter:fe,onMouseLeave:he,getTooltipLabel:He,tooltip:ue,isFocusable:Be,ariaLabel:xe,ariaLabelledBy:Ce,ariaDescribedBy:_e}},[$,te,T,He,le,H,D,de,fe,he,ue,Be,xe,Ce,_e]),Xe=GC(Y,Te,J,{dataKey:'data',targetKey:'data.fill'}),Je={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null};L.includes('annotations')&&(Je.annotations=w(XQ,{bars:Te,annotations:ie},'annotations')),L.includes('axes')&&(Je.axes=w(RF,{xScale:Pe,yScale:De,width:Oe,height:Ie,top:b,right:y,bottom:x,left:_},'axes')),L.includes('bars')&&(Je.bars=w(m,{children:We(function(e,t){return p(I,GQ({},Ye,{bar:t,style:e,shouldRenderLabel:Ve(t),label:Re(t.data)}))})},'bars')),L.includes('grid')&&(Je.grid=w(KF,{width:Oe,height:Ie,xScale:F?Pe:null,yScale:S?De:null,xValues:k,yValues:U},'grid')),L.includes('legends')&&(Je.legends=w(JQ,{width:Oe,height:Ie,legends:Ge,toggleSerie:qe},'legends')),L.includes('markers')&&(Je.markers=w(MC,{markers:V,width:Oe,height:Ie,xScale:Pe,yScale:De},'markers'));var Ze=d(function(){return GQ({},Ye,{margin:Le,width:o,height:s,innerWidth:Oe,innerHeight:Ie,bars:Te,legendData:Ge,enableLabel:T,xScale:Pe,yScale:De,tooltip:ue,getTooltipLabel:He,onClick:de,onMouseEnter:fe,onMouseLeave:he})},[Ye,Le,o,s,Oe,Ie,Te,Ge,T,Pe,De,ue,He,de,fe,he]);return w(kC,{width:Ue,height:Qe,margin:Le,defs:Xe,role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,isFocusable:Be,children:L.map(function(e,t){var n;return'function'==typeof e?w(m,{children:p(e,Ze)},t):null!=(n=null==Je?void 0:Je[e])?n:null})})},CL=function(e){var t=e.isInteractive,n=void 0===t?tL.isInteractive:t,r=e.animate,i=void 0===r?tL.animate:r,o=e.motionConfig,s=void 0===o?tL.motionConfig:o,a=e.theme,A=e.renderWrapper,l=WQ(e,BL);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(xL,GQ({isInteractive:n},l))})},_L=['isInteractive','renderWrapper','theme'],jL=function(e,t,n,r){return e.find(function(e){return zC(e.x+t.left,e.y+t.top,e.width,e.height,n,r)})},FL=function(e){var t=e.data,n=e.indexBy,i=e.keys,a=e.margin,A=e.width,l=e.height,c=e.groupMode,u=e.layout,f=e.reverse,h=e.minValue,g=e.maxValue,m=e.valueScale,v=e.indexScale,b=e.padding,y=e.innerPadding,B=e.axisTop,x=e.axisRight,C=e.axisBottom,_=void 0===C?nL.axisBottom:C,j=e.axisLeft,F=void 0===j?nL.axisLeft:j,E=e.enableGridX,S=void 0===E?nL.enableGridX:E,k=e.enableGridY,U=void 0===k?nL.enableGridY:k,Q=e.gridXValues,L=e.gridYValues,O=e.layers,I=void 0===O?nL.layers:O,N=e.renderBar,T=void 0===N?function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,s=n.x,a=n.y,A=t.borderColor,l=t.borderRadius,c=t.borderWidth,u=t.label,d=t.labelColor,f=t.shouldRenderLabel;if(e.fillStyle=r,c>0&&(e.strokeStyle=A,e.lineWidth=c),e.beginPath(),l>0){var h=Math.min(l,i);e.moveTo(s+h,a),e.lineTo(s+o-h,a),e.quadraticCurveTo(s+o,a,s+o,a+h),e.lineTo(s+o,a+i-h),e.quadraticCurveTo(s+o,a+i,s+o-h,a+i),e.lineTo(s+h,a+i),e.quadraticCurveTo(s,a+i,s,a+i-h),e.lineTo(s,a+h),e.quadraticCurveTo(s,a,s+h,a),e.closePath()}else e.rect(s,a,o,i);e.fill(),c>0&&e.stroke(),f&&(e.textBaseline='middle',e.textAlign='center',e.fillStyle=d,e.fillText(u,s+o/2,a+i/2))}:N,M=e.enableLabel,P=void 0===M?nL.enableLabel:M,D=e.label,R=e.labelSkipWidth,H=void 0===R?nL.labelSkipWidth:R,z=e.labelSkipHeight,K=void 0===z?nL.labelSkipHeight:z,V=e.labelTextColor,q=e.colorBy,G=e.colors,W=e.borderRadius,Y=void 0===W?nL.borderRadius:W,X=e.borderWidth,J=void 0===X?nL.borderWidth:X,Z=e.borderColor,$=e.annotations,ee=void 0===$?nL.annotations:$,te=e.legendLabel,ne=e.tooltipLabel,re=e.valueFormat,ie=e.isInteractive,oe=void 0===ie?nL.isInteractive:ie,se=e.tooltip,ae=void 0===se?nL.tooltip:se,Ae=e.onClick,le=e.onMouseEnter,ce=e.onMouseLeave,ue=e.legends,de=e.pixelRatio,fe=void 0===de?nL.pixelRatio:de,he=e.canvasRef,pe=o(null),ge=cC(),me=rC(A,l,a),ve=me.margin,be=me.innerWidth,ye=me.innerHeight,we=me.outerWidth,Be=me.outerHeight,xe=wL({indexBy:n,label:D,tooltipLabel:ne,valueFormat:re,colors:G,colorBy:q,borderColor:Z,labelTextColor:V,groupMode:c,layout:u,reverse:f,data:t,keys:i,minValue:h,maxValue:g,margin:ve,width:be,height:ye,padding:b,innerPadding:y,valueScale:m,indexScale:v,enableLabel:P,labelSkipWidth:H,labelSkipHeight:K,legends:ue,legendLabel:te}),Ce=xe.bars,_e=xe.barsWithValue,je=xe.xScale,Fe=xe.yScale,Ee=xe.getLabel,Se=xe.getTooltipLabel,ke=xe.getBorderColor,Ue=xe.getLabelColor,Qe=xe.shouldRenderBarLabel,Le=xe.legendsWithData,Oe=ka(),Ie=Oe.showTooltipFromEvent,Ne=Oe.hideTooltip,Te=function(e){var t=e.annotations;return d(function(){return t.map(function(e){return zS({},e,{computed:XS(zS({},e))})})},[t])}({annotations:JS({data:Ce,annotations:ee,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Me=d(function(){return{borderRadius:Y,borderWidth:J,isInteractive:oe,isFocusable:!1,labelSkipWidth:H,labelSkipHeight:K,margin:ve,width:A,height:l,innerWidth:be,innerHeight:ye,bars:Ce,legendData:Le,enableLabel:P,xScale:je,yScale:Fe,tooltip:ae,getTooltipLabel:Se,onClick:Ae,onMouseEnter:le,onMouseLeave:ce}},[Y,J,oe,H,K,ve,A,l,be,ye,Ce,Le,P,je,Fe,ae,Se,Ae,le,ce]);r(function(){var e,t=null==(e=pe.current)?void 0:e.getContext('2d');pe.current&&t&&(pe.current.width=we*fe,pe.current.height=Be*fe,t.scale(fe,fe),t.fillStyle=ge.background,t.fillRect(0,0,we,Be),t.translate(ve.left,ve.top),I.forEach(function(e){'grid'===e?'number'==typeof ge.grid.line.strokeWidth&&ge.grid.line.strokeWidth>0&&(t.lineWidth=ge.grid.line.strokeWidth,t.strokeStyle=ge.grid.line.stroke,S&&qF(t,{width:A,height:l,scale:je,axis:'x',values:Q}),U&&qF(t,{width:A,height:l,scale:Fe,axis:'y',values:L})):'axes'===e?VF(t,{xScale:je,yScale:Fe,width:be,height:ye,top:B,right:x,bottom:_,left:F,theme:ge}):'bars'===e?_e.forEach(function(e){T(t,{bar:e,borderColor:ke(e),borderRadius:Y,borderWidth:J,label:Ee(e.data),labelColor:Ue(e),shouldRenderLabel:Qe(e)})}):'legends'===e?Le.forEach(function(e){var n=e[0],r=e[1];VQ(t,GQ({},n,{data:r,containerWidth:be,containerHeight:ye,theme:ge}))}):'annotations'===e?function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach(function(t){if(!function(e){var t=typeof e;return'string'===t||'function'===t}(t.note))throw new Error('note is invalid for canvas implementation');r.annotations.link.outlineWidth>0&&(e.lineCap='square',e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),e.lineCap='butt'),GS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),GS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),YS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),'function'==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+'px '+r.annotations.text.fontFamily,e.textAlign='left',e.textBaseline='alphabetic',e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin='round',e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin='miter'),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))}),e.restore())}(t,{annotations:Te,theme:ge}):'function'==typeof e&&e(t,Me)}),t.save())},[_,F,x,B,_e,Y,J,Te,S,U,ke,Ee,Ue,Q,L,c,l,ye,be,Me,I,u,Le,ve.left,ve.top,Be,we,fe,T,je,Fe,f,Qe,ge,A]);var Pe=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i?(Ie(p(ae,GQ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),'mouseenter'===e.type&&(null==le||le(i.data,e))):Ne()}},[Ne,ve,le,Ce,Ie,ae]),De=s(function(e){if(Ce&&pe.current){Ne();var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);i&&(null==ce||ce(i.data,e))}},[Ne,ve,ce,Ce]),Re=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i&&(null==Ae||Ae(GQ({},i.data,{color:i.color}),e))}},[ve,Ae,Ce]);return w('canvas',{ref:function(e){pe.current=e,he&&'current'in he&&(he.current=e)},width:we*fe,height:Be*fe,style:{width:we,height:Be,cursor:oe?'auto':'normal'},onMouseEnter:oe?Pe:void 0,onMouseMove:oe?Pe:void 0,onMouseLeave:oe?De:void 0,onClick:oe?Re:void 0})},EL=c(function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=WQ(e,_L);return w(fC,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:w(FL,GQ({},o,{canvasRef:t}))})}),SL=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(CL,GQ({width:n,height:r},e))}})};c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(EL,GQ({width:r,height:i},e,{ref:t}))}})});var kL={background:'#ffffff',text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},UL={background:'#121b37',text:{fontSize:11,fill:'#000000',outlineWidth:0,outlineColor:'#000000'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12,fill:'#000000'},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},QL=function(e){var t=parseFloat(e);return isNaN(t)?e:Number.isInteger(t)?t:t.toFixed(3)},LL=function(e){return e.length>10?e.substring(0,10)+'...':e},OL=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return e.x_data.map(function(t,r){var i,o;return(i={})[e.x_label]=t,i[e.y_category_label[0]]=null!==(o=n[r])&&void 0!==o?o:0,i})}return e.x_data.map(function(t,n){var r,i=((r={})[e.x_label]=t,r);return e.y_category_label.forEach(function(t,r){var o,s;i[t]=null!==(s=null===(o=e.y_data[n])||void 0===o?void 0:o[r])&&void 0!==s?s:0}),i})}(n),i=u(yJ).isDarkMode;return t.createElement(SL,{data:r,keys:n.y_category_label,indexBy:n.x_label,groupMode:'grouped',margin:{top:50,right:60,bottom:80,left:60},padding:.4,valueScale:{type:'linear'},colors:{scheme:'nivo'},animate:!0,enableLabel:!1,axisTop:null,axisRight:null,axisLeft:{tickSize:3,tickPadding:3,tickRotation:0,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,format:function(e){return e>=1e9?''.concat((e/1e9).toFixed(1),'B'):e>=1e6?''.concat((e/1e6).toFixed(1),'M'):e>=1e3?''.concat((e/1e3).toFixed(1),'K'):e.toString()}},axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},legends:[{dataFrom:'keys',anchor:'top',direction:'row',justify:!1,translateX:0,translateY:-30,itemsSpacing:2,itemWidth:100,itemHeight:20,itemDirection:'left-to-right',itemOpacity:.85,symbolSize:20,effects:[{on:'hover',style:{itemOpacity:1}}]}],theme:i?UL:kL})};function IL(){return IL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IL.apply(this,arguments)}var NL={pointerEvents:'none'},TL=function(e){var t=e.label,n=e.style,r=cC();return w(ga.g,{transform:n.transform,opacity:n.progress,style:NL,children:w(ga.text,{textAnchor:'middle',dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})})},ML=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},PL={startAngle:{enter:function(e){return IL({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return IL({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return IL({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return IL({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return IL({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},DL=function(e,t){return d(function(){var n=PL[e];return{enter:function(e){return IL({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return IL({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return IL({progress:0},n.leave(e.arc),t?t.leave(e):{})}}},[e,t])},RL=function(e){return function(t,n,r,i){return na([t,n,r,i],function(t,n,r,i){var o=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return wC(n,r)}({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return'translate('+o.x+','+o.y+')'})}},HL=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,s=e.skipAngle,a=e.textColor,A=e.component,l=void 0===A?TL:A,c=HC(i),u=cC(),f=UQ(a,u),h=d(function(){return n.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=s})},[n,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n='innerRadius');var i=Rx(),o=i.animate,s=i.config,a=DL(n,r);return{transition:Xs(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:s,immediate:!o}),interpolate:RL(t)}}(h,o,r),m=g.transition,v=g.interpolate,b=l;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,label:c(t),style:IL({},e,{transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:f(t)})})})})},zL=function(e){var t=e.label,n=e.style,r=cC();return B(ga.g,{opacity:n.opacity,children:[w(ga.path,{fill:'none',stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),w(ga.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})]})},KL=function(e,t,n,r){var i,o,s=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),a=wC(s,e.outerRadius+t),A=wC(s,e.outerRadius+t+n);return s<Math.PI/2||s>1.5*Math.PI?(i='after',o={x:A.x+r,y:A.y}):(i='before',o={x:A.x-r,y:A.y}),{side:i,points:[a,A,o]}},VL=gy().x(function(e){return e.x}).y(function(e){return e.y}),qL=function(e,t,n,r,i,o,s){return na([e,t,n,r,i,o,s],function(e,t,n,r,i,o,s){var a=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s).points;return VL(a)})},GL=function(e,t,n,r){return na([e,t,n,r],function(e,t,n,r){return function(e){var t=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?'start':'end'}({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r})})},WL=function(e,t,n,r,i,o,s,a){return na([e,t,n,r,i,o,s,a],function(e,t,n,r,i,o,s,a){var A=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s),l=A.points,c=A.side,u=l[2];return'before'===c?u.x-=a:u.x+=a,'translate('+u.x+','+u.y+')'})},YL=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,s=e.skipAngle,a=void 0===s?0:s,A=e.textOffset,l=e.linkColor,c=e.textColor,u=Rx(),f=u.animate,h=u.config,p=cC(),g=UQ(l,p),m=UQ(c,p),v=function(e,t){return d(function(){return function(e,t){return e.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=t})}(e,t)},[e,t])}(t,a),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,s=e.getTextColor;return d(function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:s(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}}}},[n,r,i,o,s,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:A,getLinkColor:g,getTextColor:m});return{transition:Xs(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:qL,interpolateTextAnchor:GL,interpolateTextPosition:WL}},XL=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,s=e.diagonalLength,a=e.straightLength,A=e.strokeWidth,l=e.textOffset,c=e.textColor,u=e.linkColor,d=e.component,f=void 0===d?zL:d,h=HC(r),g=YL({data:n,skipAngle:i,offset:o,diagonalLength:s,straightLength:a,textOffset:l,linkColor:u,textColor:c}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,B=f;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(B,{key:t.id,datum:t,label:h(t),style:IL({},e,{thickness:A,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})})})},JL=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,A=s(function(e){return null==r?void 0:r(t,e)},[r,t]),l=s(function(e){return null==i?void 0:i(t,e)},[i,t]),c=s(function(e){return null==o?void 0:o(t,e)},[o,t]),u=s(function(e){return null==a?void 0:a(t,e)},[a,t]);return w(ga.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?A:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0})},ZL=function(e,t,n,r,i){return na([e,t,n,r],function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})})},$L=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.onClick,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.transitionMode,u=e.component,d=void 0===u?JL:u,f=cC(),h=UQ(o,f),g=function(e,t,n){void 0===t&&(t='innerRadius');var r=Rx(),i=r.animate,o=r.config,s=DL(t,n);return{transition:Xs(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!i}),interpolate:ZL}}(n,c,{enter:function(e){return{opacity:0,color:e.color,borderColor:h(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:h(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:h(e)}}}),m=g.transition,v=g.interpolate,b=d;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,style:IL({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:s,onMouseEnter:a,onMouseMove:A,onMouseLeave:l})})})},eO=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return d(function(){return uy().innerRadius(function(e){return e.innerRadius}).outerRadius(function(e){return e.outerRadius}).cornerRadius(r).padAngle(o)},[r,o])};function tO(){return tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tO.apply(this,arguments)}function nO(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var rO,iO,oO,sO,aO=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return w(x,{children:r.map(function(e,r){var s;return w(zQ,tO({},e,{containerWidth:t,containerHeight:n,data:null!=(s=e.data)?s:i,toggleSerie:e.toggleSerie?o:void 0}),r)})})},AO={id:'id',value:'value',sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:['arcs','arcLinkLabels','arcLabels','legends'],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:'color',modifiers:[['darker',1]]},enableArcLabels:!0,arcLabel:'formattedValue',arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:'labels.text.fill'},enableArcLinkLabels:!0,arcLinkLabel:'id',arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:'labels.text.fill'},arcLinkLabelsColor:{theme:'axis.ticks.line.stroke'},colors:{scheme:'nivo'},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:'gentle',transitionMode:'innerRadius',tooltip:function(e){var t=e.datum;return w(Ba,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:'img',pixelRatio:'undefined'!=typeof window&&null!=(rO=window.devicePixelRatio)?rO:1},lO=['points'],cO=function(e){var t=e.data,n=e.startAngle,i=e.endAngle,s=e.innerRadius,a=e.outerRadius,A=e.padAngle,l=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,h=e.hiddenIds,p=e.forwardLegendData,g=d(function(){var e=function(){var e=vy,t=my,n=null,r=qb(0),i=qb(ry),o=qb(0);function s(s){var a,A,l,c,u,d=s.length,f=0,h=new Array(d),p=new Array(d),g=+r.apply(this,arguments),m=Math.min(ry,Math.max(-ry,i.apply(this,arguments)-g)),v=Math.min(Math.abs(m)/d,o.apply(this,arguments)),b=v*(m<0?-1:1);for(a=0;a<d;++a)(u=p[h[a]=a]=+e(s[a],a,s))>0&&(f+=u);for(null!=t?h.sort(function(e,n){return t(p[e],p[n])}):null!=n&&h.sort(function(e,t){return n(s[e],s[t])}),a=0,l=f?(m-d*b)/f:0;a<d;++a,g=c)A=h[a],c=g+((u=p[A])>0?u*l:0)+b,p[A]={data:s[A],index:a,value:u,startAngle:g,endAngle:c,padAngle:v};return p}return s.value=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.sortValues=function(e){return arguments.length?(t=e,n=null,s):t},s.sort=function(e){return arguments.length?(n=e,t=null,s):n},s.startAngle=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),s):r},s.endAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),s):i},s.padAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),s):o},s}().value(function(e){return e.value}).startAngle(bC(n)).endAngle(bC(i)).padAngle(bC(A));return l||e.sortValues(null),e},[n,i,A,l]),m=d(function(){var e=t.filter(function(e){return!h.includes(e.id)});return{dataWithArc:g(e).map(function(e){var t=Math.abs(e.endAngle-e.startAngle);return tO({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:c===e.data.id?s-u:s,outerRadius:c===e.data.id?a+f:a,thickness:a-s,padAngle:e.padAngle,angle:t,angleDeg:yC(t)}})}),legendData:t.map(function(e){return{id:e.id,label:e.label,color:e.color,hidden:h.includes(e.id),data:e}})}},[g,t,h,c,s,u,a,f]),v=m.legendData,b=o(p);return r(function(){'function'==typeof b.current&&b.current(v)},[b,v]),m},uO=function(e){var t=e.data,r=e.width,i=e.height,o=e.innerRadius,a=void 0===o?AO.innerRadius:o,A=e.startAngle,l=void 0===A?AO.startAngle:A,c=e.endAngle,u=void 0===c?AO.endAngle:c,f=e.padAngle,h=void 0===f?AO.padAngle:f,p=e.sortByValue,g=void 0===p?AO.sortByValue:p,m=e.cornerRadius,v=void 0===m?AO.cornerRadius:m,b=e.fit,y=void 0===b?AO.fit:b,w=e.activeInnerRadiusOffset,B=void 0===w?AO.activeInnerRadiusOffset:w,x=e.activeOuterRadiusOffset,C=void 0===x?AO.activeOuterRadiusOffset:x,_=e.activeId,j=e.onActiveIdChange,F=e.defaultActiveId,E=e.forwardLegendData,S=function(e){var t=e.activeId,r=e.onActiveIdChange,i=e.defaultActiveId,o=void 0!==t,a=n(o||void 0===i?null:i),A=a[0],l=a[1];return{activeId:o?t:A,setActiveId:s(function(e){r&&r(e),o||l(e)},[o,r,l])}}({activeId:_,onActiveIdChange:j,defaultActiveId:F}),k=S.activeId,U=S.setActiveId,Q=n([]),L=Q[0],O=Q[1],I=d(function(){var e,t=Math.min(r,i)/2,n=t*Math.min(a,1),o=r/2,s=i/2;if(y){var A=function(e,t,n,r,i,o){void 0===o&&(o=!0);var s=[],a=wC(bC(r),n);s.push([a.x,a.y]);var A=wC(bC(i),n);s.push([A.x,A.y]);for(var l=Math.round(Math.min(r,i));l<=Math.round(Math.max(r,i));l++)if(l%90==0){var c=wC(bC(l),n);s.push([c.x,c.y])}s=s.map(function(n){var r=n[0],i=n[1];return[e+r,t+i]}),o&&s.push([e,t]);var u=s.map(function(e){return e[0]}),d=s.map(function(e){return e[1]}),f=Math.min.apply(Math,u),h=Math.max.apply(Math,u),p=Math.min.apply(Math,d);return{points:s,x:f,y:p,width:h-f,height:Math.max.apply(Math,d)-p}}(o,s,t,l-90,u-90),c=A.points,d=nO(A,lO),f=Math.min(r/d.width,i/d.height),h={width:d.width*f,height:d.height*f};h.x=(r-h.width)/2,h.y=(i-h.height)/2,o=(o-d.x)/d.width*d.width*f+h.x,s=(s-d.y)/d.height*d.height*f+h.y,e={box:d,ratio:f,points:c},t*=f,n*=f}return{centerX:o,centerY:s,radius:t,innerRadius:n,debug:e}},[r,i,a,l,u,y]),N=cO({data:t,startAngle:l,endAngle:u,innerRadius:I.innerRadius,outerRadius:I.radius,padAngle:h,sortByValue:g,activeId:k,activeInnerRadiusOffset:B,activeOuterRadiusOffset:C,hiddenIds:L,forwardLegendData:E}),T=s(function(e){O(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]);return tO({arcGenerator:eO({cornerRadius:v,padAngle:bC(h)}),activeId:k,setActiveId:U,toggleSerie:T},N,I)},dO=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.isInteractive,a=e.onClick,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.setActiveId,f=e.tooltip,h=e.transitionMode,g=ka(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=d(function(){if(s)return function(e,t){null==a||a(e,t)}},[s,a]),y=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),u(e.id),null==A||A(e,t)}},[s,m,u,A,f]),B=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),null==l||l(e,t)}},[s,m,l,f]),x=d(function(){if(s)return function(e,t){v(),u(null),null==c||c(e,t)}},[s,v,u,c]);return w($L,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:b,onMouseEnter:y,onMouseMove:B,onMouseLeave:x})},fO=['isInteractive','animate','motionConfig','theme','renderWrapper'],hO=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.sortByValue,A=void 0===a?AO.sortByValue:a,l=e.layers,c=void 0===l?AO.layers:l,u=e.startAngle,f=void 0===u?AO.startAngle:u,h=e.endAngle,g=void 0===h?AO.endAngle:h,v=e.padAngle,b=void 0===v?AO.padAngle:v,y=e.fit,B=void 0===y?AO.fit:y,x=e.innerRadius,C=void 0===x?AO.innerRadius:x,_=e.cornerRadius,j=void 0===_?AO.cornerRadius:_,F=e.activeInnerRadiusOffset,E=void 0===F?AO.activeInnerRadiusOffset:F,S=e.activeOuterRadiusOffset,k=void 0===S?AO.activeOuterRadiusOffset:S,U=e.width,Q=e.height,L=e.margin,O=e.colors,I=void 0===O?AO.colors:O,N=e.borderWidth,T=void 0===N?AO.borderWidth:N,M=e.borderColor,P=void 0===M?AO.borderColor:M,D=e.enableArcLabels,R=void 0===D?AO.enableArcLabels:D,H=e.arcLabel,z=void 0===H?AO.arcLabel:H,K=e.arcLabelsSkipAngle,V=void 0===K?AO.arcLabelsSkipAngle:K,q=e.arcLabelsTextColor,G=void 0===q?AO.arcLabelsTextColor:q,W=e.arcLabelsRadiusOffset,Y=void 0===W?AO.arcLabelsRadiusOffset:W,X=e.arcLabelsComponent,J=e.enableArcLinkLabels,Z=void 0===J?AO.enableArcLinkLabels:J,$=e.arcLinkLabel,ee=void 0===$?AO.arcLinkLabel:$,te=e.arcLinkLabelsSkipAngle,ne=void 0===te?AO.arcLinkLabelsSkipAngle:te,re=e.arcLinkLabelsOffset,ie=void 0===re?AO.arcLinkLabelsOffset:re,oe=e.arcLinkLabelsDiagonalLength,se=void 0===oe?AO.arcLinkLabelsDiagonalLength:oe,ae=e.arcLinkLabelsStraightLength,Ae=void 0===ae?AO.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?AO.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?AO.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?AO.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?AO.arcLinkLabelsColor:pe,me=e.arcLinkLabelComponent,ve=e.defs,be=void 0===ve?AO.defs:ve,ye=e.fill,we=void 0===ye?AO.fill:ye,Be=e.isInteractive,xe=void 0===Be?AO.isInteractive:Be,Ce=e.onClick,_e=e.onMouseEnter,je=e.onMouseMove,Fe=e.onMouseLeave,Ee=e.tooltip,Se=void 0===Ee?AO.tooltip:Ee,ke=e.activeId,Ue=e.onActiveIdChange,Qe=e.defaultActiveId,Le=e.transitionMode,Oe=void 0===Le?AO.transitionMode:Le,Ie=e.legends,Ne=void 0===Ie?AO.legends:Ie,Te=e.forwardLegendData,Me=e.role,Pe=void 0===Me?AO.role:Me,De=rC(U,Q,L),Re=De.outerWidth,He=De.outerHeight,ze=De.margin,Ke=De.innerWidth,Ve=De.innerHeight,qe=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.colors,A=void 0===a?AO.colors:a,l=HC(r),c=HC(o),u=sC(s),f=OQ(A,'id');return d(function(){return t.map(function(e){var t,n=l(e),r=c(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:u(r),data:e};return tO({},i,{color:f(i)})})},[t,l,c,u,f])}({data:t,id:r,value:o,valueFormat:s,colors:I}),Ge=uO({data:qe,width:Ke,height:Ve,fit:B,innerRadius:C,startAngle:f,endAngle:g,padAngle:b,sortByValue:A,cornerRadius:j,activeInnerRadiusOffset:E,activeOuterRadiusOffset:k,activeId:ke,onActiveIdChange:Ue,defaultActiveId:Qe,forwardLegendData:Te}),We=Ge.dataWithArc,Ye=Ge.legendData,Xe=Ge.arcGenerator,Je=Ge.centerX,Ze=Ge.centerY,$e=Ge.radius,et=Ge.innerRadius,tt=Ge.setActiveId,nt=Ge.toggleSerie,rt=GC(be,We,we),it={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};c.includes('arcs')&&(it.arcs=w(dO,{center:[Je,Ze],data:We,arcGenerator:Xe,borderWidth:T,borderColor:P,isInteractive:xe,onClick:Ce,onMouseEnter:_e,onMouseMove:je,onMouseLeave:Fe,setActiveId:tt,tooltip:Se,transitionMode:Oe},'arcs')),Z&&c.includes('arcLinkLabels')&&(it.arcLinkLabels=w(XL,{center:[Je,Ze],data:We,label:ee,skipAngle:ne,offset:ie,diagonalLength:se,straightLength:Ae,strokeWidth:ce,textOffset:de,textColor:he,linkColor:ge,component:me},'arcLinkLabels')),R&&c.includes('arcLabels')&&(it.arcLabels=w(HL,{center:[Je,Ze],data:We,label:z,radiusOffset:Y,skipAngle:V,textColor:G,transitionMode:Oe,component:X},'arcLabels')),Ne.length>0&&c.includes('legends')&&(it.legends=w(aO,{width:Ke,height:Ve,data:Ye,legends:Ne,toggleSerie:nt},'legends'));var ot=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,s=e.innerRadius;return d(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:s}},[t,n,r,i,o,s])}({dataWithArc:We,arcGenerator:Xe,centerX:Je,centerY:Ze,radius:$e,innerRadius:et});return w(kC,{width:Re,height:He,margin:ze,defs:rt,role:Pe,children:c.map(function(e,t){return void 0!==it[e]?it[e]:'function'==typeof e?w(m,{children:p(e,ot)},t):null})})},pO=function(e){var t=e.isInteractive,n=void 0===t?AO.isInteractive:t,r=e.animate,i=void 0===r?AO.animate:r,o=e.motionConfig,s=void 0===o?AO.motionConfig:o,a=e.theme,A=e.renderWrapper,l=nO(e,fO);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(hO,tO({isInteractive:n},l))})},gO=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(pO,tO({width:n,height:r},e))}})},mO=Nt.div(iO||(iO=Pe(['\n vu-flex\n vu-items-center\n vu-p-1\n '],['\n vu-flex\n vu-items-center\n vu-p-1\n ']))),vO=Nt.div(oO||(oO=Pe(['\n vu-h-3\n vu-w-3\n vu-mr-1\n '],['\n vu-h-3\n vu-w-3\n vu-mr-1\n ']))),bO=Nt.strong(sO||(sO=Pe(['\n vu-ml-1\n '],['\n vu-ml-1\n ']))),yO=function(e){var n=e.isDarkMode,r=e.color,i=e.label,o=e.unit,s=e.value;return t.createElement(mO,{style:Oe({},n?UL.tooltip.container:kL.tooltip.container)},t.createElement(vO,{style:{backgroundColor:r}}),i,':',t.createElement(bO,null,s,' ',o))},wO=function(e){var n=function(e){var t;return(null===(t=e.labels)||void 0===t?void 0:t.map(function(t,n){var r,i,o=null!==(i=null===(r=e.values)||void 0===r?void 0:r[n])&&void 0!==i?i:0,s=QL(o.toString());return{id:t,value:parseFloat(s.toString()),unit:e.data_unit}}))||[]}(e.chartData),r=u(yJ).isDarkMode;return t.createElement(gO,{data:n,margin:{top:40,right:80,bottom:80,left:80},padAngle:.7,cornerRadius:3,activeOuterRadiusOffset:8,colors:{scheme:'nivo'},borderWidth:1,borderColor:{from:'color',modifiers:[['darker',.2]]},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:'#333333',arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:'color'},arcLabelsSkipAngle:10,arcLabelsTextColor:{from:'color',modifiers:[['darker',2]]},tooltip:function(e){var n=e.datum,i=n.color,o=n.data,s=n.value,a=n.label;return t.createElement(yO,{isDarkMode:r,color:i,label:a,unit:o.unit,value:s})},arcLabel:function(e){return''.concat(e.value,' ').concat(e.data.unit)},defs:[{id:'dots',type:'patternDots',background:'inherit',color:'rgba(255, 255, 255, 0.3)',size:4,padding:1,stagger:!0},{id:'lines',type:'patternLines',background:'inherit',color:'rgba(255, 255, 255, 0.3)',rotation:-45,lineWidth:6,spacing:10}],legends:[{anchor:'right',direction:'column',justify:!1,translateX:24,translateY:0,itemsSpacing:12,itemWidth:100,itemHeight:18,itemTextColor:'#999',itemDirection:'left-to-right',itemOpacity:1,symbolSize:18,symbolShape:'circle',effects:[{on:'hover',style:{itemTextColor:'#000'}}]}],theme:r?UL:kL})};const BO=Math.pow(2,-52),xO=new Uint32Array(512);class CO{static from(e,t=QO,n=LO){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new CO(i)}constructor(e){const t=e.length>>1;if(t>0&&'number'!=typeof e[0])throw new Error('Expected coords to contain numbers.');this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let s=1/0,a=1/0,A=-1/0,l=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<s&&(s=n),r<a&&(a=r),n>A&&(A=n),r>l&&(l=r),this._ids[t]=t}const c=(s+A)/2,u=(a+l)/2;let d,f,h,p=1/0;for(let t=0;t<o;t++){const n=_O(c,u,e[2*t],e[2*t+1]);n<p&&(d=t,p=n)}const g=e[2*d],m=e[2*d+1];p=1/0;for(let t=0;t<o;t++){if(t===d)continue;const n=_O(g,m,e[2*t],e[2*t+1]);n<p&&n>0&&(f=t,p=n)}let v=e[2*f],b=e[2*f+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===f)continue;const n=SO(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(h=t,y=n)}let w=e[2*h],B=e[2*h+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];kO(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e];this._dists[i]>r&&(t[n++]=i,r=this._dists[i])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(FO(g,m,v,b,w,B)){const e=f,t=v,n=b;f=h,v=w,b=B,h=e,w=t,B=n}const x=function(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=e+(l*c-a*u)*d,h=t+(s*u-A*c)*d;return{x:f,y:h}}(g,m,v,b,w,B);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=_O(e[2*t],e[2*t+1],x.x,x.y);kO(this._ids,this._dists,0,o-1),this._hullStart=d;let C=3;n[d]=t[h]=f,n[f]=t[d]=h,n[h]=t[f]=d,r[d]=0,r[f]=1,r[h]=2,i.fill(-1),i[this._hashKey(g,m)]=d,i[this._hashKey(v,b)]=f,i[this._hashKey(w,B)]=h,this.trianglesLen=0,this._addTriangle(d,f,h,-1,-1,-1);for(let o,s,a=0;a<this._ids.length;a++){const A=this._ids[a],l=e[2*A],c=e[2*A+1];if(a>0&&Math.abs(l-o)<=BO&&Math.abs(c-s)<=BO)continue;if(o=l,s=c,A===d||A===f||A===h)continue;let u=0;for(let e=0,t=this._hashKey(l,c);e<this._hashSize&&(u=i[(t+e)%this._hashSize],-1===u||u===n[u]);e++);u=t[u];let p,g=u;for(;p=n[g],!FO(l,c,e[2*g],e[2*g+1],e[2*p],e[2*p+1]);)if(g=p,g===u){g=-1;break}if(-1===g)continue;let m=this._addTriangle(g,A,n[g],-1,-1,r[g]);r[A]=this._legalize(m+2),r[g]=m,C++;let v=n[g];for(;p=n[v],FO(l,c,e[2*v],e[2*v+1],e[2*p],e[2*p+1]);)m=this._addTriangle(v,A,p,r[A],-1,r[v]),r[A]=this._legalize(m+2),n[v]=v,C--,v=p;if(g===u)for(;p=t[g],FO(l,c,e[2*p],e[2*p+1],e[2*g],e[2*g+1]);)m=this._addTriangle(p,A,g,-1,r[g],r[p]),this._legalize(m+2),r[p]=m,n[g]=g,C--,g=p;this._hullStart=t[A]=g,n[g]=t[v]=A,n[A]=v,i[this._hashKey(l,c)]=A,i[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const s=n[e],a=e-e%3;if(o=a+(e+2)%3,-1===s){if(0===i)break;e=xO[--i];continue}const A=s-s%3,l=a+(e+1)%3,c=A+(s+2)%3,u=t[o],d=t[e],f=t[l],h=t[c];if(EO(r[2*u],r[2*u+1],r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1])){t[e]=h,t[s]=u;const r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(s,n[o]),this._link(o,c);const a=A+(s+1)%3;i<xO.length&&(xO[i++]=a)}else{if(0===i)break;e=xO[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const s=this.trianglesLen;return this._triangles[s]=e,this._triangles[s+1]=t,this._triangles[s+2]=n,this._link(s,r),this._link(s+1,i),this._link(s+2,o),this.trianglesLen+=3,s}}function _O(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function jO(e,t,n,r,i,o){const s=(r-t)*(i-e),a=(n-e)*(o-t);return Math.abs(s-a)>=33306690738754716e-32*Math.abs(s+a)?s-a:0}function FO(e,t,n,r,i,o){return(jO(i,o,e,t,n,r)||jO(e,t,n,r,i,o)||jO(n,r,i,o,e,t))<0}function EO(e,t,n,r,i,o,s,a){const A=e-s,l=t-a,c=n-s,u=r-a,d=i-s,f=o-a,h=c*c+u*u,p=d*d+f*f;return A*(u*p-h*f)-l*(c*p-h*d)+(A*A+l*l)*(c*f-u*d)<0}function SO(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=(l*c-a*u)*d,h=(s*u-A*c)*d;return f*f+h*h}function kO(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let s=i-1;for(;s>=n&&t[e[s]]>o;)e[s+1]=e[s--];e[s+1]=r}else{let i=n+1,o=r;UO(e,n+r>>1,i),t[e[n]]>t[e[r]]&&UO(e,n,r),t[e[i]]>t[e[r]]&&UO(e,i,r),t[e[n]]>t[e[i]]&&UO(e,n,i);const s=e[i],a=t[s];for(;;){do{i++}while(t[e[i]]<a);do{o--}while(t[e[o]]>a);if(o<i)break;UO(e,i,o)}e[n+1]=e[o],e[o]=s,r-i+1>=o-n?(kO(e,t,i,r),kO(e,t,n,o-1)):(kO(e,t,n,o-1),kO(e,t,i,r))}}function UO(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function QO(e){return e[0]}function LO(e){return e[1]}const OO=1e-6;class IO{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=''}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error('negative radius');null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>OO||Math.abs(this._y1-i)>OO)&&(this._+='L'+r+','+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class NO{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class TO{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error('invalid bounds');this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t,r,o=0,s=0,a=n.length;o<a;o+=3,s+=2){const a=2*n[o],A=2*n[o+1],l=2*n[o+2],c=e[a],u=e[a+1],d=e[A],f=e[A+1],h=e[l],p=e[l+1],g=d-c,m=f-u,v=h-c,b=p-u,y=g*g+m*m,w=v*v+b*b,B=2*(g*b-m*v);if(B)if(Math.abs(B)<1e-8)t=(c+h)/2,r=(u+p)/2;else{const e=1/B;t=c+(b*y-m*w)*e,r=u+(g*w-v*y)*e}else t=(c+h)/2-1e8*b,r=(u+p)/2+1e8*v;i[s]=t,i[s+1]=r}let o,s,a,A=t[t.length-1],l=4*A,c=e[2*A],u=e[2*A+1];r.fill(0);for(let n=0;n<t.length;++n)A=t[n],o=l,s=c,a=u,l=4*A,c=e[2*A],u=e[2*A+1],r[o+2]=r[l]=a-u,r[o+3]=r[l+1]=c-s}render(e){const t=null==e?e=new IO:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:s}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),s=2*Math.floor(r/3),a=o[i],A=o[i+1],l=o[s],c=o[s+1];this._renderSegment(a,A,l,c,e)}let a,A=i[i.length-1];for(let t=0;t<i.length;++t){a=A,A=i[t];const n=2*Math.floor(r[A]/3),l=o[n],c=o[n+1],u=4*a,d=this._project(l,c,s[u+2],s[u+3]);d&&this._renderSegment(l,c,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new IO:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new IO:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new NO;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const s=this._regioncode(e,t),a=this._regioncode(n,r);0===s&&0===a?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,s,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,s=e.length;o<s;o+=2)if(t[r]==e[o]&&t[r+1]==e[o+1]&&t[(r+2)%i]==e[(o+s-2)%s]&&t[(r+3)%i]==e[(o+s-1)%s]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const s=[];let a=o;do{const n=Math.floor(a/3);if(s.push(t[2*n],t[2*n+1]),a=a%3==2?a-2:a+1,i[a]!==e)break;a=r[a]}while(a!==o&&-1!==a);return s}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t)}_clipFinite(e,t){const n=t.length;let r,i,o,s,a,A=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c);for(let d=0;d<n;d+=2)if(r=l,i=c,l=t[d],c=t[d+1],o=u,u=this._regioncode(l,c),0===o&&0===u)s=a,a=0,A?A.push(l,c):A=[l,c];else{let t,n,d,f,h;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,d,f,h]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[f,h,n,d]=t,s=a,a=this._edgecode(n,d),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(n,d):A=[n,d]}s=a,a=this._edgecode(f,h),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(f,h):A=[f,h]}if(A)s=a,a=this._edgecode(A[0],A[1]),s&&a&&this._edge(e,s,a,A,A.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return A}_clipSegment(e,t,n,r,i,o){for(;;){if(0===i&&0===o)return[e,t,n,r];if(i&o)return null;let s,a,A=i||o;8&A?(s=e+(n-e)*(this.ymax-t)/(r-t),a=this.ymax):4&A?(s=e+(n-e)*(this.ymin-t)/(r-t),a=this.ymin):2&A?(a=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(a=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=a,i=this._regioncode(e,t)):(n=s,r=a,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let s,a=Array.from(t);if((s=this._project(a[0],a[1],n,r))&&a.unshift(s[0],s[1]),(s=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(s[0],s[1]),a=this._clipFinite(e,a))for(let t,n=0,r=a.length,i=this._edgecode(a[r-2],a[r-1]);n<r;n+=2)t=i,i=this._edgecode(a[n],a[n+1]),t&&i&&(n=this._edge(e,t,i,a,n),r=a.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}if(r.length>4)for(let e=0;e<r.length;e+=2){const t=(e+2)%r.length,n=(e+4)%r.length;(r[e]===r[t]&&r[t]===r[n]||r[e+1]===r[t+1]&&r[t+1]===r[n+1])&&(r.splice(t,2),e-=2)}return i}_project(e,t,n,r){let i,o,s,a=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<a&&(s=this.ymin,o=e+(a=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<a&&(s=this.ymax,o=e+(a=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<a&&(o=this.xmax,s=t+(a=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<a&&(o=this.xmin,s=t+(a=i)*r)}return[o,s]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}}const MO=2*Math.PI,PO=Math.pow;function DO(e){return e[0]}function RO(e){return e[1]}function HO(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class zO{static from(e,t=DO,n=RO,r){return new zO('length'in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let s=0;s<i;++s){const i=e[s];o[2*s]=t.call(r,i,s,e),o[2*s+1]=n.call(r,i,s,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new CO(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=HO(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new CO(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),s=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)s[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],this.triangles[1]=r[1],this.triangles[2]=r[1],o[r[0]]=1,2===r.length&&(o[r[1]]=0))}voronoi(e){return new TO(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:s}=this;if(s){const t=s.indexOf(e);return t>0&&(yield s[t-1]),void(t<s.length-1&&(yield s[t+1]))}const a=t[e];if(-1===a)return;let A=a,l=-1;do{if(yield l=o[A],A=A%3==2?A-2:A+1,o[A]!==e)return;if(A=i[A],-1===A){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(A!==a)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:s,triangles:a,points:A}=this;if(-1===r[e]||!A.length)return(e+1)%(A.length>>1);let l=e,c=PO(t-A[2*e],2)+PO(n-A[2*e+1],2);const u=r[e];let d=u;do{let r=a[d];const u=PO(t-A[2*r],2)+PO(n-A[2*r+1],2);if(u<c&&(c=u,l=r),d=d%3==2?d-2:d+1,a[d]!==e)break;if(d=s[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&PO(t-A[2*d],2)+PO(n-A[2*d+1],2)<c)return d;break}}while(d!==u);return l}render(e){const t=null==e?e=new IO:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const s=2*i[t],a=2*i[o];e.moveTo(n[s],n[s+1]),e.lineTo(n[a],n[a+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t=2){const n=null==e?e=new IO:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,MO)}return n&&n.value()}renderHull(e){const t=null==e?e=new IO:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new NO;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new IO:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],s=2*i[e+1],a=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[s],r[s+1]),t.lineTo(r[a],r[a+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new NO;return this.renderTriangle(e,t),t.value()}}var KO=function(e){return'function'==typeof e?e:function(t){return t[e]}},VO=function(e){var t=e.points,n=e.x,r=e.y,i=e.width,o=e.height,s=e.debug,a=d(function(){return function(e){var t=e.points,n=e.x,r=void 0===n?'x':n,i=e.y,o=void 0===i?'y':i,s=KO(r),a=KO(o);return t.map(function(e){return[s(e),a(e)]})}({points:t,x:n,y:r})},[t,n,r]);return d(function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.debug,o=zO.from(t),s=i?o.voronoi([0,0,n,r]):void 0;return{delaunay:o,voronoi:s}}({points:a,width:i,height:o,debug:s})},[a,i,o,s])},qO=function(e){var t=e.nodes,r=e.width,i=e.height,a=e.x,A=e.y,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,h=e.debug,p=o(null),g=n(null),m=g[0],v=g[1],b=VO({points:t,x:a,y:A,width:r,height:i,debug:h}),y=b.delaunay,C=b.voronoi,_=d(function(){if(h&&C)return C.render()},[h,C]),j=s(function(e){if(!p.current)return[null,null];var n=KC(p.current,e),r=n[0],i=n[1],o=y.find(r,i);return[o,void 0!==o?t[o]:null]},[p,y]),F=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==l||l(r,e))},[j,v,l]),E=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==c||c(r,e))},[j,v,c]),S=s(function(e){if(v(null),u){var n=void 0;null!==m&&(n=t[m]),n&&u(n,e)}},[v,m,u,t]),k=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==f||f(r,e))},[j,v,f]);return B('g',{ref:p,children:[h&&C&&B(x,{children:[w('path',{d:_,stroke:'red',strokeWidth:1,opacity:.75}),null!==m&&w('path',{fill:'pink',opacity:.35,d:C.renderCell(m)})]}),w('rect',{width:r,height:i,fill:'red',opacity:0,style:{cursor:'auto'},onMouseEnter:F,onMouseMove:E,onMouseLeave:S,onClick:k})]})};function GO(){return GO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GO.apply(this,arguments)}var WO=function(e){var t=e.point;return w(Ba,{id:B('span',{children:['x: ',w('strong',{children:t.data.xFormatted}),', y:',' ',w('strong',{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})};WO.propTypes={point:kr.object.isRequired};var YO=f(WO),XO=function(e){var t=e.slice,n=e.axis,r=cC(),i='x'===n?'y':'x';return w(Ca,{rows:t.points.map(function(e){return[w(wa,{color:e.serieColor,style:r.tooltip.chip},'chip'),e.serieId,w('span',{style:r.tooltip.tableCellValue,children:e.data[i+'Formatted']},'value')]})})};XO.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired};var JO=f(XO),ZO={data:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,data:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]),y:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])})).isRequired})).isRequired,xScale:kr.object.isRequired,xFormat:kr.oneOfType([kr.func,kr.string]),yScale:kr.object.isRequired,yFormat:kr.oneOfType([kr.func,kr.string]),layers:kr.arrayOf(kr.oneOfType([kr.oneOf(['grid','markers','axes','areas','crosshair','lines','slices','points','mesh','legends']),kr.func])).isRequired,curve:Wx.isRequired,axisTop:PF,axisRight:PF,axisBottom:PF,axisLeft:PF,enableGridX:kr.bool.isRequired,enableGridY:kr.bool.isRequired,gridXValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),gridYValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),enablePoints:kr.bool.isRequired,pointSymbol:kr.func,pointSize:kr.number.isRequired,pointColor:kr.any.isRequired,pointBorderWidth:kr.number.isRequired,pointBorderColor:kr.any.isRequired,enablePointLabel:kr.bool.isRequired,pointLabel:kr.oneOfType([kr.string,kr.func]).isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,style:kr.object})),colors:QQ.isRequired,enableArea:kr.bool.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,areaBaselineValue:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineWidth:kr.number.isRequired,legends:kr.arrayOf(kr.shape(qQ)).isRequired,isInteractive:kr.bool.isRequired,debugMesh:kr.bool.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableSlices:kr.oneOf(['x','y',!1]).isRequired,debugSlices:kr.bool.isRequired,sliceTooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableCrosshair:kr.bool.isRequired,crosshairType:kr.string.isRequired},$O=GO({},ZO,{enablePointLabel:kr.bool.isRequired,role:kr.string.isRequired,useMesh:kr.bool.isRequired},Dx,Xx),eI=GO({pixelRatio:kr.number.isRequired},ZO),tI={curve:'linear',xScale:{type:'point'},yScale:{type:'linear',min:0,max:'auto'},layers:['grid','markers','axes','areas','crosshair','lines','points','slices','mesh','legends'],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:'color'},pointBorderWidth:0,pointBorderColor:{theme:'background'},enablePointLabel:!1,pointLabel:'yFormatted',colors:{scheme:'nivo'},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:'normal',lineWidth:2,legends:[],isInteractive:!0,tooltip:YO,enableSlices:!1,debugSlices:!1,sliceTooltip:JO,debugMesh:!1,enableCrosshair:!0,crosshairType:'bottom-left'},nI=GO({},tI,{enablePointLabel:!1,useMesh:!1,animate:!0,motionConfig:'gentle',defs:[],fill:[],role:'img'}),rI=GO({},tI,{pixelRatio:'undefined'!=typeof window&&window.devicePixelRatio||1}),iI=function(e){var t=e.curve;return d(function(){return gy().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y(function(e){return e.y}).curve(Yx(t))},[t])},oI=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return d(function(){return function(){var e=hy,t=null,n=qb(0),r=py,i=qb(!0),o=null,s=fy,a=null;function A(A){var l,c,u,d,f,h=A.length,p=!1,g=new Array(h),m=new Array(h);for(null==o&&(a=s(f=Vb())),l=0;l<=h;++l){if(!(l<h&&i(d=A[l],l,A))===p)if(p=!p)c=l,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),u=l-1;u>=c;--u)a.point(g[u],m[u]);a.lineEnd(),a.areaEnd()}p&&(g[l]=+e(d,l,A),m[l]=+n(d,l,A),a.point(t?+t(d,l,A):g[l],r?+r(d,l,A):m[l]))}if(f)return a=null,f+''||null}function l(){return gy().defined(i).curve(s).context(o)}return A.x=function(n){return arguments.length?(e='function'==typeof n?n:qb(+n),t=null,A):e},A.x0=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.x1=function(e){return arguments.length?(t=null==e?null:'function'==typeof e?e:qb(+e),A):t},A.y=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),r=null,A):n},A.y0=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.y1=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.lineX0=A.lineY0=function(){return l().x(e).y(n)},A.lineY1=function(){return l().x(e).y(r)},A.lineX1=function(){return l().x(t).y(n)},A.defined=function(e){return arguments.length?(i='function'==typeof e?e:qb(!!e),A):i},A.curve=function(e){return arguments.length?(s=e,null!=o&&(a=s(o)),A):s},A.context=function(e){return arguments.length?(null==e?o=a=null:a=s(o=e),A):o},A}().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(Yx(t)).y0(n(r))},[t,n,r])},sI=function(e){var t=e.data,r=e.xScale,i=void 0===r?nI.xScale:r,o=e.xFormat,a=e.yScale,A=void 0===a?nI.yScale:a,l=e.yFormat,c=e.width,u=e.height,f=e.colors,h=void 0===f?nI.colors:f,p=e.curve,g=void 0===p?nI.curve:p,m=e.areaBaselineValue,v=void 0===m?nI.areaBaselineValue:m,b=e.pointColor,y=void 0===b?nI.pointColor:b,w=e.pointBorderColor,B=void 0===w?nI.pointBorderColor:w,x=e.enableSlices,C=void 0===x?nI.enableSlicesTooltip:x,_=sC(o),j=sC(l),F=OQ(h,'id'),E=cC(),S=UQ(y,E),k=UQ(B,E),U=n([]),Q=U[0],L=U[1],O=d(function(){return function(e,t,n,r,i){var o=e.map(function(e){return function(e){return lF({},e,{data:e.data.map(function(e){return{data:lF({},e)}})})}(e)}),s=BF(o,t,n);'stacked'in t&&!0===t.stacked&&_F(s,o),'stacked'in n&&!0===n.stacked&&jF(s,o);var a=yF(t,s.x,r,'x'),A=yF(n,s.y,i,'y'),l=o.map(function(e){return lF({},e,{data:e.data.map(function(e){return lF({},e,{position:{x:wF(e,'x',a),y:wF(e,'y',A)}})})})});return lF({},s,{series:l,xScale:a,yScale:A})}(t.filter(function(e){return-1===Q.indexOf(e.id)}),i,A,c,u)},[t,Q,i,A,c,u]),I=O.xScale,N=O.yScale,T=O.series,M=d(function(){var e=t.map(function(e){return{id:e.id,label:e.id,color:F(e)}}),n=e.map(function(e){return GO({},T.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return Boolean(e.id)});return{legendData:e.map(function(e){return GO({},e,{hidden:!n.find(function(t){return t.id===e.id})})}).reverse(),series:n}},[t,T,F]),P=M.legendData,D=M.series,R=s(function(e){L(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),H=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return d(function(){return t.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(s,a){var A={id:t.id+'.'+a,index:e.length+a,serieId:t.id,serieColor:t.color,x:s.position.x,y:s.position.y};return A.color=n(t),A.borderColor=r(A),A.data=GO({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)}),A}))},[])},[t,n,r,i,o])}({series:D,getPointColor:S,getPointBorderColor:k,formatX:_,formatY:j}),z=function(e){var t=e.enableSlices,n=e.points,r=e.width,i=e.height;return d(function(){if(!1===t)return[];if('x'===t){var e=new Map;return n.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s=e[0],a=e[1],A=n[t-1],l=n[t+1];return{id:s,x0:o=A?s-(s-A[0])/2:s,x:s,y0:0,y:0,width:l?s-o+(l[0]-s)/2:r-o,height:i,points:a.reverse()}})}if('y'===t){var o=new Map;return n.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s,a=e[0],A=e[1],l=n[t-1],c=n[t+1];return o=l?a-(a-l[0])/2:a,s=c?a-o+(c[0]-a)/2:i-o,{id:a,x0:0,x:0,y0:o,y:a,width:r,height:s,points:A.reverse()}})}},[t,n])}({enableSlices:C,points:H,width:c,height:u});return{legendData:P,toggleSerie:R,lineGenerator:iI({curve:g}),areaGenerator:oI({curve:g,yScale:N,areaBaselineValue:v}),getColor:F,series:D,xScale:I,yScale:N,slices:z,points:H}},aI=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,s=Rx(),a=s.animate,A=s.config,l=Hx(o),c=Ys({color:r,config:A,immediate:!a});return w(ga.path,{d:l,fill:i||c.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})};aI.propTypes={areaBlendMode:tC.isRequired,areaOpacity:kr.number.isRequired,color:kr.string,fill:kr.string,path:kr.string.isRequired};var AI=function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode,i=e.lines.slice(0).reverse();return w('g',{children:i.map(function(e){return w(aI,GO({path:t(e.data.map(function(e){return e.position}))},GO({areaOpacity:n,areaBlendMode:r},e)),e.id)})})};AI.propTypes={areaGenerator:kr.func.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,lines:kr.arrayOf(kr.object).isRequired};var lI=f(AI),cI=function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=d(function(){return t(n)},[t,n]),s=Hx(o);return w(ga.path,{d:s,fill:'none',strokeWidth:i,stroke:r})};cI.propTypes={points:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.string,kr.number]),y:kr.oneOfType([kr.string,kr.number])})),lineGenerator:kr.func.isRequired,color:kr.string.isRequired,thickness:kr.number.isRequired};var uI=f(cI),dI=function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,i=e.data,o=e.color;return w(uI,{id:t,points:i.map(function(e){return e.position}),lineGenerator:n,color:o,thickness:r},t)})};dI.propTypes={lines:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,color:kr.string.isRequired,data:kr.arrayOf(kr.shape({data:kr.shape({x:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)]),y:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)])}).isRequired,position:kr.shape({x:kr.number,y:kr.number}).isRequired})).isRequired})).isRequired,lineWidth:kr.number.isRequired,lineGenerator:kr.func.isRequired};var fI=f(dI),hI=function(e){var t=e.slice,n=e.axis,r=e.debug,i=e.tooltip,o=e.isCurrent,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick,d=ka(),f=d.showTooltipFromEvent,h=d.hideTooltip,g=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),a(t),A&&A(t,e)},[f,i,t,A]),m=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),l&&l(t,e)},[f,i,t,l]),v=s(function(e){h(),a(null),c&&c(t,e)},[h,t,c]),b=s(function(e){u&&u(t,e)},[t,u]);return w('rect',{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:'red',strokeWidth:r?1:0,strokeOpacity:.75,fill:'red',fillOpacity:o&&r?.35:0,onMouseEnter:g,onMouseMove:m,onMouseLeave:v,onClick:b,'data-testid':'slice-'+t.id})};hI.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]),isCurrent:kr.bool.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var pI=f(hI),gI=function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,s=e.current,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick;return t.map(function(e){return w(pI,{slice:e,axis:n,debug:r,height:i,tooltip:o,setCurrent:a,isCurrent:null!==s&&s.id===e.id,onMouseEnter:A,onMouseMove:l,onMouseLeave:c,onClick:u},e.id)})};gI.propTypes={slices:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,x:kr.number.isRequired,y:kr.number.isRequired,points:kr.arrayOf(kr.object).isRequired})).isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,current:kr.object,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var mI=f(gI),vI=function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,s=e.label,a=e.labelYOffset,A=cC(),l=function(e,t){var n,r=wA(e)?e:function(t){return tf(t,e)};return t&&(n=wA(t)?t:hw(t)),n?function(e){return n(r(e))}:r}(s),c=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?l(e.data):null}});return w('g',{children:c.map(function(e){return w(OC,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:a,theme:A},e.id)})})};vI.propTypes={points:kr.arrayOf(kr.object),symbol:kr.func,size:kr.number.isRequired,color:kr.func.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.func.isRequired,enableLabel:kr.bool.isRequired,label:kr.oneOfType([kr.string,kr.func]).isRequired,labelYOffset:kr.number};var bI=f(vI),yI=function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.tooltip,d=e.debug,f=ka(),h=f.showTooltipAt,g=f.hideTooltip,m=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),a&&a(e,t)},[o,h,u,a,i]),v=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),A&&A(e,t)},[o,h,u,A]),b=s(function(e,t){g(),o(null),l&&l(e,t)},[g,o,l]),y=s(function(e,t){c&&c(e,t)},[c]);return w(qO,{nodes:t,width:n,height:r,onMouseEnter:m,onMouseMove:v,onMouseLeave:b,onClick:y,debug:d})};yI.propTypes={points:kr.arrayOf(kr.object).isRequired,width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.object.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,debug:kr.bool.isRequired};var wI=f(yI),BI=function(e){var t=e.data,r=e.xScale,i=e.xFormat,o=e.yScale,s=e.yFormat,a=e.layers,A=e.curve,l=e.areaBaselineValue,c=e.colors,u=e.margin,d=e.width,f=e.height,h=e.axisTop,p=e.axisRight,g=e.axisBottom,v=e.axisLeft,b=e.enableGridX,y=e.enableGridY,B=e.gridXValues,x=e.gridYValues,C=e.lineWidth,_=e.enableArea,j=e.areaOpacity,F=e.areaBlendMode,E=e.enablePoints,S=e.pointSymbol,k=e.pointSize,U=e.pointColor,Q=e.pointBorderWidth,L=e.pointBorderColor,O=e.enablePointLabel,I=e.pointLabel,N=e.pointLabelYOffset,T=e.defs,M=e.fill,P=e.markers,D=e.legends,R=e.isInteractive,H=e.useMesh,z=e.debugMesh,K=e.onMouseEnter,V=e.onMouseMove,q=e.onMouseLeave,G=e.onClick,W=e.tooltip,Y=e.enableSlices,X=e.debugSlices,J=e.sliceTooltip,Z=e.enableCrosshair,$=e.crosshairType,ee=e.role,te=rC(d,f,u),ne=te.margin,re=te.innerWidth,ie=te.innerHeight,oe=te.outerWidth,se=te.outerHeight,ae=sI({data:t,xScale:r,xFormat:i,yScale:o,yFormat:s,width:re,height:ie,colors:c,curve:A,areaBaselineValue:l,pointColor:U,pointBorderColor:L,enableSlices:Y}),Ae=ae.legendData,le=ae.toggleSerie,ce=ae.lineGenerator,ue=ae.areaGenerator,de=ae.series,fe=ae.xScale,he=ae.yScale,pe=ae.slices,ge=ae.points,me=cC(),ve=UQ(U,me),be=UQ(L,me),ye=n(null),we=ye[0],Be=ye[1],xe=n(null),Ce=xe[0],_e=xe[1],je={grid:w(KF,{theme:me,width:re,height:ie,xScale:b?fe:null,yScale:y?he:null,xValues:B,yValues:x},'grid'),markers:w(MC,{markers:P,width:re,height:ie,xScale:fe,yScale:he,theme:me},'markers'),axes:w(RF,{xScale:fe,yScale:he,width:re,height:ie,theme:me,top:h,right:p,bottom:g,left:v},'axes'),areas:null,lines:w(fI,{lines:de,lineGenerator:ce,lineWidth:C},'lines'),slices:null,points:null,crosshair:null,mesh:null,legends:D.map(function(e,t){return w(zQ,GO({},e,{containerWidth:re,containerHeight:ie,data:e.data||Ae,theme:me,toggleSerie:e.toggleSerie?le:void 0}),'legend.'+t)})},Fe=GC(T,de,M);return _&&(je.areas=w(lI,{areaGenerator:ue,areaOpacity:j,areaBlendMode:F,lines:de},'areas')),R&&!1!==Y&&(je.slices=w(mI,{slices:pe,axis:Y,debug:X,height:ie,tooltip:J,current:Ce,setCurrent:_e,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G},'slices')),E&&(je.points=w(bI,{points:ge,symbol:S,size:k,color:ve,borderWidth:Q,borderColor:be,enableLabel:O,label:I,labelYOffset:N},'points')),R&&Z&&(null!==we&&(je.crosshair=w(ja,{width:re,height:ie,x:we.x,y:we.y,type:$},'crosshair')),null!==Ce&&(je.crosshair=w(ja,{width:re,height:ie,x:Ce.x,y:Ce.y,type:Y},'crosshair'))),R&&H&&!1===Y&&(je.mesh=w(wI,{points:ge,width:re,height:ie,margin:ne,current:we,setCurrent:Be,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G,tooltip:W,debug:z},'mesh')),w(kC,{defs:Fe,width:oe,height:se,margin:ne,role:ee,children:a.map(function(t,n){return'function'==typeof t?w(m,{children:t(GO({},e,{innerWidth:re,innerHeight:ie,series:de,slices:pe,points:ge,xScale:fe,yScale:he,lineGenerator:ce,areaGenerator:ue,currentPoint:we,setCurrentPoint:Be,currentSlice:Ce,setCurrentSlice:_e}))},n):je[t]})})};BI.propTypes=$O,BI.defaultProps=nI;var xI=DC(BI),CI=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(xI,GO({width:n,height:r},e))}})},_I=function(e){var t=e.width,i=e.height,a=e.margin,A=e.pixelRatio,l=e.data,c=e.xScale,u=e.xFormat,d=e.yScale,f=e.yFormat,h=e.curve,g=e.layers,m=e.colors,v=e.lineWidth,b=e.enableArea,y=e.areaBaselineValue,B=e.areaOpacity,x=e.enablePoints,C=e.pointSize,_=e.pointColor,j=e.pointBorderWidth,F=e.pointBorderColor,E=e.enableGridX,S=e.gridXValues,k=e.enableGridY,U=e.gridYValues,Q=e.axisTop,L=e.axisRight,O=e.axisBottom,I=e.axisLeft,N=e.legends,T=e.isInteractive,M=e.debugMesh,P=e.onMouseLeave,D=e.onClick,R=e.tooltip,H=e.canvasRef,z=o(null),K=rC(t,i,a),V=K.margin,q=K.innerWidth,G=K.innerHeight,W=K.outerWidth,Y=K.outerHeight,X=cC(),J=n(null),Z=J[0],$=J[1],ee=sI({data:l,xScale:c,xFormat:u,yScale:d,yFormat:f,width:q,height:G,colors:m,curve:h,areaBaselineValue:y,pointColor:_,pointBorderColor:F}),te=ee.lineGenerator,ne=ee.areaGenerator,re=ee.series,ie=ee.xScale,oe=ee.yScale,se=ee.points,ae=VO({points:se,width:q,height:G,debug:M}),Ae=ae.delaunay,le=ae.voronoi;r(function(){H&&(H.current=z.current),z.current.width=W*A,z.current.height=Y*A;var e=z.current.getContext('2d');e.scale(A,A),e.fillStyle=X.background,e.fillRect(0,0,W,Y),e.translate(V.left,V.top),g.forEach(function(t){if('function'==typeof t&&t({ctx:e,innerWidth:q,innerHeight:G,series:re,points:se,xScale:ie,yScale:oe,lineWidth:v,lineGenerator:te,areaGenerator:ne,currentPoint:Z,setCurrentPoint:$}),'grid'===t&&X.grid.line.strokeWidth>0&&(e.lineWidth=X.grid.line.strokeWidth,e.strokeStyle=X.grid.line.stroke,E&&qF(e,{width:q,height:G,scale:ie,axis:'x',values:S}),k&&qF(e,{width:q,height:G,scale:oe,axis:'y',values:U})),'axes'===t&&VF(e,{xScale:ie,yScale:oe,width:q,height:G,top:Q,right:L,bottom:O,left:I,theme:X}),'areas'===t&&!0===b&&(e.save(),e.globalAlpha=B,ne.context(e),re.forEach(function(t){e.fillStyle=t.color,e.beginPath(),ne(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),'lines'===t&&(te.context(e),re.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=v,e.beginPath(),te(t.data.map(function(e){return e.position})),e.stroke()})),'points'===t&&!0===x&&C>0&&se.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,C/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())}),'mesh'===t&&!0===M&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle='red',e.lineWidth=1,e.stroke(),e.restore()}(e,le),Z&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle='red',e.fill(),e.restore()}(e,le,Z.index)),'legends'===t){var n=re.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();N.forEach(function(t){VQ(e,GO({},t,{data:t.data||n,containerWidth:q,containerHeight:G,theme:X}))})}})},[z,W,Y,g,X,te,re,ie,oe,E,S,k,U,Q,L,O,I,N,se,x,C,Z]);var ce=s(function(e){var t=KC(z.current,e),n=t[0],r=t[1];if(!zC(V.left,V.top,q,G,n,r))return null;var i=Ae.find(n-V.left,r-V.top);return se[i]},[z,V,q,G,Ae]),ue=ka(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=s(function(e){var t=ce(e);$(t),t?de(p(R,{point:t}),e):fe()},[ce,$,de,fe,R]),pe=s(function(e){fe(),$(null),Z&&P&&P(Z,e)},[fe,$,P]),ge=s(function(e){if(D){var t=ce(e);t&&D(t,e)}},[ce,D]);return w('canvas',{ref:z,width:W*A,height:Y*A,style:{width:W,height:Y,cursor:T?'auto':'normal'},onMouseEnter:T?he:void 0,onMouseMove:T?he:void 0,onMouseLeave:T?pe:void 0,onClick:T?ge:void 0})};_I.propTypes=eI,_I.defaultProps=rI;var jI=DC(_I),FI=c(function(e,t){return w(jI,GO({},e,{canvasRef:t}))});c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(FI,GO({width:r,height:i},e,{ref:t}))}})});var EI,SI,kI,UI=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return[{id:e.y_category_label[0],data:e.x_data.map(function(e,t){var r;return{x:e,y:null!==(r=n[t])&&void 0!==r?r:0}})}]}return e.y_category_label.map(function(t,n){return{id:t,data:e.x_data.map(function(t,r){var i,o;return{x:t,y:null!==(o=null===(i=e.y_data[r])||void 0===i?void 0:i[n])&&void 0!==o?o:0}})}})}(n),i=u(yJ).isDarkMode;return t.createElement(CI,{data:r,margin:{top:50,right:60,bottom:80,left:60},xScale:{type:'point'},yScale:{type:'linear',min:'auto',max:'auto',stacked:!0,reverse:!1},yFormat:' >-.2f',axisTop:null,axisRight:null,axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},axisLeft:{tickSize:5,tickPadding:5,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,tickRotation:0},pointSize:10,pointColor:{theme:'background'},pointBorderWidth:2,pointBorderColor:{from:'serieColor'},pointLabelYOffset:-12,useMesh:!0,legends:[{anchor:'top',direction:'row',justify:!1,translateX:12,translateY:-30,itemsSpacing:0,itemDirection:'left-to-right',itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:'circle',symbolBorderColor:'rgba(0, 0, 0, .5)',effects:[{on:'hover',style:{itemBackground:'rgba(0, 0, 0, .03)',itemOpacity:1}}]}],theme:i?UL:kL})},QI=function(e){var n=e.handleClickDownloadConversation;return t.createElement(Mn,null,t.createElement(En,{$fill:'outline',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m21%2C13.58c-.55%2C0-1%2C.45-1%2C1v4.42c0%2C.55-.45%2C1-1%2C1H5c-.55%2C0-1-.45-1-1v-4.42c0-.55-.45-1-1-1s-1%2C.45-1%2C1v4.42c0%2C1.65%2C1.35%2C3%2C3%2C3h14c1.65%2C0%2C3-1.35%2C3-3v-4.42c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22m11.29%2C16.71c.09.09.2.17.33.22.12.05.25.08.38.08s.26-.03.38-.08c.12-.05.23-.12.33-.22l4-4c.39-.39.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-2.29%2C2.29V3c0-.55-.45-1-1-1s-1%2C.45-1%2C1v10.59l-2.29-2.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4%2C4Z%22%2F%3E%3C%2Fsvg%3E',onClick:n,disabled:!0},'Download Conversation'))},LI=function e(t){function n(e,t,r){var i,o={};if(Array.isArray(e))return e.concat(t);for(i in e)o[r?i.toLowerCase():i]=e[i];for(i in t){var s=r?i.toLowerCase():i,a=t[i];o[s]=s in o&&'object'==typeof a?n(o[s],a,'headers'==s):a}return o}function r(e,r,i,o,s){var a='string'!=typeof e?(r=e).url:e,A={config:r},l=n(t,r),c={};o=o||l.data,(l.transformRequest||[]).map(function(e){o=e(o,l.headers)||o}),l.auth&&(c.authorization=l.auth),o&&'object'==typeof o&&'function'!=typeof o.append&&'function'!=typeof o.text&&(o=JSON.stringify(o),c['content-type']='application/json');try{c[l.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp('(^|; )'+l.xsrfCookieName+'=([^;]*)'))[2])}catch(e){}return l.baseURL&&(a=a.replace(/^(?!.*\/\/)\/?/,l.baseURL+'/')),l.params&&(a+=(~a.indexOf('?')?'&':'?')+(l.paramsSerializer?l.paramsSerializer(l.params):new URLSearchParams(l.params))),(l.fetch||fetch)(a,{method:(i||l.method||'get').toUpperCase(),body:o,headers:n(l.headers,c,!0),credentials:l.withCredentials?'include':s}).then(function(e){for(var t in e)'function'!=typeof e[t]&&(A[t]=e[t]);return'stream'==l.responseType?(A.data=e.body,A):e[l.responseType||'text']().then(function(e){A.data=e,A.data=JSON.parse(e)}).catch(Object).then(function(){return(l.validateStatus?l.validateStatus(e.status):e.ok)?A:Promise.reject(A)})})}return t=t||{},r.request=r,r.get=function(e,t){return r(e,t,'get')},r.delete=function(e,t){return r(e,t,'delete')},r.head=function(e,t){return r(e,t,'head')},r.options=function(e,t){return r(e,t,'options')},r.post=function(e,t,n){return r(e,n,'post',t)},r.put=function(e,t,n){return r(e,n,'put',t)},r.patch=function(e,t,n){return r(e,n,'patch',t)},r.all=Promise.all.bind(Promise),r.spread=function(e){return e.apply.bind(e,e)},r.CancelToken='function'==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}(),OI=LI.create(),II=function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:return[4,OI.post('/ved/chats/',{session_title:''})];case 1:return[2,e.sent().data]}})})},NI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.delete('/ved/chats/'.concat(e,'/'))];case 1:return[2,t.sent().data]}})})},TI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.post('/ved/chats/'.concat(e.sessionID,'/feedback'),Oe({message_id:e.message_id,is_liked:e.is_liked},!1===e.is_liked&&{reason:e.reason,comment:e.comment}))];case 1:return[2,t.sent().data]}})})},MI=Nt.div(EI||(EI=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n']))),PI=Nt.div(SI||(SI=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),DI=Nt.div(kI||(kI=Pe(['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n']))),RI={},HI={};Object.defineProperty(HI,'__esModule',{value:!0}),HI.createAnimation=void 0;HI.createAnimation=function(e,t,n){var r='react-spinners-'.concat(e,'-').concat(n);if('undefined'==typeof window||!window.document)return r;var i=document.createElement('style');document.head.appendChild(i);var o=i.sheet,s='\n @keyframes '.concat(r,' {\n ').concat(t,'\n }\n ');return o&&o.insertRule(s,0),r};var zI={};Object.defineProperty(zI,'__esModule',{value:!0}),zI.cssValue=zI.parseLengthAndUnit=void 0;var KI={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,'%':!0};function VI(e){if('number'==typeof e)return{value:e,unit:'px'};var t,n=(e.match(/^[0-9.]*/)||'').toString();t=n.includes('.')?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||'').toString();return KI[r]?{value:t,unit:r}:{value:t,unit:'px'}}zI.parseLengthAndUnit=VI,zI.cssValue=function(e){var t=VI(e);return''.concat(t.value).concat(t.unit)};var qI=nr&&nr.__assign||function(){return qI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qI.apply(this,arguments)},GI=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),WI=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),YI=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&GI(t,e,n);return WI(t,e),t},XI=nr&&nr.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&'function'==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(RI,'__esModule',{value:!0});var JI=YI(t),ZI=zI,$I=(0,HI.createAnimation)('SyncLoader','33% {transform: translateY(10px)}\n 66% {transform: translateY(-10px)}\n 100% {transform: translateY(0)}','sync');var eN=RI.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?15:l,u=e.margin,d=void 0===u?2:u,f=XI(e,['loading','color','speedMultiplier','cssOverride','size','margin']),h=qI({display:'inherit'},A),p=function(e){return{backgroundColor:i,width:(0,ZI.cssValue)(c),height:(0,ZI.cssValue)(c),margin:(0,ZI.cssValue)(d),borderRadius:'100%',display:'inline-block',animation:''.concat($I,' ').concat(.6/s,'s ').concat(.07*e,'s infinite ease-in-out'),animationFillMode:'both'}};return n?JI.createElement('span',qI({style:h},f),JI.createElement('span',{style:p(1)}),JI.createElement('span',{style:p(2)}),JI.createElement('span',{style:p(3)})):null};const tN=t.createContext({}),nN=!0;function rN({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:o,direction:s,duration:a,enableAnimation:A=true,customHighlightBackground:l}){const c={};return'rtl'===s&&(c['--animation-direction']='reverse'),'number'==typeof a&&(c['--animation-duration']=`${a}s`),A||(c['--pseudo-element-display']='none'),'string'!=typeof n&&'number'!=typeof n||(c.width=n),'string'!=typeof r&&'number'!=typeof r||(c.height=r),'string'!=typeof i&&'number'!=typeof i||(c.borderRadius=i),o&&(c.borderRadius='50%'),void 0!==e&&(c['--base-color']=e),void 0!==t&&(c['--highlight-color']=t),'string'==typeof l&&(c['--custom-highlight-background']=l),c}function iN({count:e=1,wrapper:n,className:r,containerClassName:i,containerTestId:o,circle:s=!1,style:a,...A}){var l,c,u;const d=t.useContext(tN),f={...A};for(const[e,t]of Object.entries(A))void 0===t&&delete f[e];const h={...d,...f,circle:s},p={...a,...rN(h)};let g='react-loading-skeleton';r&&(g+=` ${r}`);const m=null!==(l=h.inline)&&void 0!==l&&l,v=[],b=Math.ceil(e);for(let n=0;n<b;n++){let r=p;if(b>e&&n===b-1){const t=null!==(c=r.width)&&void 0!==c?c:'100%',n=e%1,i='number'==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:i}}const i=t.createElement('span',{className:g,style:r,key:n},'‌');m?v.push(i):v.push(t.createElement(t.Fragment,{key:n},i,t.createElement('br',null)))}return t.createElement('span',{className:i,'data-testid':o,'aria-live':'polite','aria-busy':null!==(u=h.enableAnimation)&&void 0!==u?u:nN},n?v.map((e,r)=>t.createElement(n,{key:r},e)):v)}j('@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: \' \';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n');var oN=function(){var e=u(yJ).isDarkMode,n=d(function(){return[60,55,50,45].map(function(n,r){return t.createElement(iN,{key:r,width:''.concat(n,'%'),baseColor:e?'#7B7E92':'#ebebeb',highlightColor:e?'#4B5168':'#f5f5f5'})})},[]);return t.createElement(MI,null,t.createElement(PI,null,t.createElement(eN,{color:e?'#CCCCDC':'#000',size:4,'aria-label':'Loading Spinner'}),t.createElement(DI,null,t.createElement('p',null,'Generating Response'),n)))},sN={},aN=nr&&nr.__assign||function(){return aN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aN.apply(this,arguments)},AN=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),lN=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),cN=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&AN(t,e,n);return lN(t,e),t},uN=nr&&nr.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&'function'==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(sN,'__esModule',{value:!0});var dN=cN(t),fN=zI,hN=(0,HI.createAnimation)('ClipLoader','0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}','clip');var pN,gN,mN,vN,bN,yN=sN.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?35:l,u=uN(e,['loading','color','speedMultiplier','cssOverride','size']),d=aN({background:'transparent !important',width:(0,fN.cssValue)(c),height:(0,fN.cssValue)(c),borderRadius:'100%',border:'2px solid',borderTopColor:i,borderBottomColor:'transparent',borderLeftColor:i,borderRightColor:i,display:'inline-block',animation:''.concat(hN,' ').concat(.75/s,'s 0s infinite linear'),animationFillMode:'both'},A);return n?dN.createElement('span',aN({style:d},u)):null},wN=Nt.div(pN||(pN=Pe(['\n vu-text-start\n'],['\n vu-text-start\n']))),BN=Nt.div(gN||(gN=Pe(['\n vu-text-3xl vu-font-bold\n'],['\n vu-text-3xl vu-font-bold\n']))),xN=Nt.div(mN||(mN=Pe(['\n vu-text-md\n'],['\n vu-text-md\n']))),CN=Nt.div(vN||(vN=Pe(['\n vu-opacity-60\n'],['\n vu-opacity-60\n']))),_N=Nt.ul(bN||(bN=Pe(['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n'],['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n']))),jN=function(){return t.createElement(wN,null,t.createElement(BN,null,'Hi, I\'m ',t.createElement(Fn,{inline:!0,svg:qn,size:48})),t.createElement(xN,null,t.createElement(CN,null,'Your assistant for incident analysis and insights.'),t.createElement('div',{className:'vu-mt-4'},'I can help you with:'),t.createElement(_N,null,t.createElement('li',null,'Incident listing and summaries.'),t.createElement('li',null,'Understanding what happened, when, and why.'),t.createElement('li',null,'Probable Root Causes and Recommended actions.')),t.createElement(CN,null,'Ask away!')))},FN={exports:{}},EN=function(e,t){return EN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},EN(e,t)};function SN(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Class extends value '+String(t)+' is not a constructor or null');function n(){this.constructor=e}EN(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var kN=function(){return kN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},kN.apply(this,arguments)};function UN(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function QN(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError('Generator is already executing.');for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}for(var LN=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),ON=function(e,t){return LN.fromClientRect(e,t.getBoundingClientRect())},IN=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},NN=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},TN='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',MN='undefined'==typeof Uint8Array?[]:new Uint8Array(256),PN=0;PN<64;PN++)MN[TN.charCodeAt(PN)]=PN;for(var DN='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',RN='undefined'==typeof Uint8Array?[]:new Uint8Array(256),HN=0;HN<64;HN++)RN[DN.charCodeAt(HN)]=HN;for(var zN=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},KN=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),VN='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',qN='undefined'==typeof Uint8Array?[]:new Uint8Array(256),GN=0;GN<64;GN++)qN[VN.charCodeAt(GN)]=GN;var WN=10,YN=13,XN=15,JN=17,ZN=18,$N=19,eT=20,tT=21,nT=22,rT=24,iT=25,oT=26,sT=27,aT=28,AT=30,lT=32,cT=33,uT=34,dT=35,fT=37,hT=38,pT=39,gT=40,mT=42,vT=[9001,65288],bT='×',yT='÷',wT=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=RN[e.charCodeAt(t)],r=RN[e.charCodeAt(t+1)],i=RN[e.charCodeAt(t+2)],o=RN[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=zN(r,12,n[4]/2),o=2===n[5]?zN(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new KN(n[0],n[1],n[2],n[3],i,o)}('KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=='),BT=[AT,36],xT=[1,2,3,5],CT=[WN,8],_T=[sT,oT],jT=xT.concat(CT),FT=[hT,pT,gT,uT,dT],ET=[XN,YN],ST=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((A=r[++o])===t)return!0;if(A!==WN)break}if(i===WN)for(o=n;o>0;){var s=r[--o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s)for(var a=n;a<=r.length;){var A;if((A=r[++a])===t)return!0;if(A!==WN)break}if(s!==WN)break}return!1},kT=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==WN)return r;n--}return 0},UT=function(e,t,n,r,i){if(0===n[r])return bT;var o=r-1;if(Array.isArray(i)&&!0===i[o])return bT;var s=o-1,a=o+1,A=t[o],l=s>=0?t[s]:0,c=t[a];if(2===A&&3===c)return bT;if(-1!==xT.indexOf(A))return'!';if(-1!==xT.indexOf(c))return bT;if(-1!==CT.indexOf(c))return bT;if(8===kT(o,t))return yT;if(11===wT.get(e[o]))return bT;if((A===lT||A===cT)&&11===wT.get(e[a]))return bT;if(7===A||7===c)return bT;if(9===A)return bT;if(-1===[WN,YN,XN].indexOf(A)&&9===c)return bT;if(-1!==[JN,ZN,$N,rT,aT].indexOf(c))return bT;if(kT(o,t)===nT)return bT;if(ST(23,nT,o,t))return bT;if(ST([JN,ZN],tT,o,t))return bT;if(ST(12,12,o,t))return bT;if(A===WN)return yT;if(23===A||23===c)return bT;if(16===c||16===A)return yT;if(-1!==[YN,XN,tT].indexOf(c)||14===A)return bT;if(36===l&&-1!==ET.indexOf(A))return bT;if(A===aT&&36===c)return bT;if(c===eT)return bT;if(-1!==BT.indexOf(c)&&A===iT||-1!==BT.indexOf(A)&&c===iT)return bT;if(A===sT&&-1!==[fT,lT,cT].indexOf(c)||-1!==[fT,lT,cT].indexOf(A)&&c===oT)return bT;if(-1!==BT.indexOf(A)&&-1!==_T.indexOf(c)||-1!==_T.indexOf(A)&&-1!==BT.indexOf(c))return bT;if(-1!==[sT,oT].indexOf(A)&&(c===iT||-1!==[nT,XN].indexOf(c)&&t[a+1]===iT)||-1!==[nT,XN].indexOf(A)&&c===iT||A===iT&&-1!==[iT,aT,rT].indexOf(c))return bT;if(-1!==[iT,aT,rT,JN,ZN].indexOf(c))for(var u=o;u>=0;){if((d=t[u])===iT)return bT;if(-1===[aT,rT].indexOf(d))break;u--}if(-1!==[sT,oT].indexOf(c))for(u=-1!==[JN,ZN].indexOf(A)?s:o;u>=0;){var d;if((d=t[u])===iT)return bT;if(-1===[aT,rT].indexOf(d))break;u--}if(hT===A&&-1!==[hT,pT,uT,dT].indexOf(c)||-1!==[pT,uT].indexOf(A)&&-1!==[pT,gT].indexOf(c)||-1!==[gT,dT].indexOf(A)&&c===gT)return bT;if(-1!==FT.indexOf(A)&&-1!==[eT,oT].indexOf(c)||-1!==FT.indexOf(c)&&A===sT)return bT;if(-1!==BT.indexOf(A)&&-1!==BT.indexOf(c))return bT;if(A===rT&&-1!==BT.indexOf(c))return bT;if(-1!==BT.concat(iT).indexOf(A)&&c===nT&&-1===vT.indexOf(e[a])||-1!==BT.concat(iT).indexOf(c)&&A===ZN)return bT;if(41===A&&41===c){for(var f=n[o],h=1;f>0&&41===t[--f];)h++;if(h%2!=0)return bT}return A===lT&&c===cT?bT:yT},QT=function(e,t){t||(t={lineBreak:'normal',wordBreak:'normal'});var n=function(e,t){void 0===t&&(t='strict');var n=[],r=[],i=[];return e.forEach(function(e,o){var s=wT.get(e);if(s>50?(i.push(!0),s-=50):i.push(!1),-1!==['normal','auto','loose'].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===s||11===s){if(0===o)return r.push(o),n.push(AT);var a=n[o-1];return-1===jT.indexOf(a)?(r.push(r[o-1]),n.push(a)):(r.push(o),n.push(AT))}return r.push(o),31===s?n.push('strict'===t?tT:fT):s===mT||29===s?n.push(AT):43===s?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(fT):n.push(AT):void n.push(s)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];'break-all'!==t.wordBreak&&'break-word'!==t.wordBreak||(i=i.map(function(e){return-1!==[iT,AT,mT].indexOf(e)?fT:e}));var s='keep-all'===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0;return[r,i,s]},LT=function(){function e(e,t,n,r){this.codePoints=e,this.required='!'===t,this.start=n,this.end=r}return e.prototype.slice=function(){return NN.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),OT=45,IT=43,NT=-1,TT=function(e){return e>=48&&e<=57},MT=function(e){return TT(e)||e>=65&&e<=70||e>=97&&e<=102},PT=function(e){return 10===e||9===e||32===e},DT=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},RT=function(e){return DT(e)||TT(e)||e===OT},HT=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},zT=function(e,t){return 92===e&&10!==t},KT=function(e,t,n){return e===OT?DT(t)||zT(t,n):!!DT(e)||!(92!==e||!zT(e,t))},VT=function(e,t,n){return e===IT||e===OT?!!TT(t)||46===t&&TT(n):TT(46===e?t:e)},qT=function(e){var t=0,n=1;e[t]!==IT&&e[t]!==OT||(e[t]===OT&&(n=-1),t++);for(var r=[];TT(e[t]);)r.push(e[t++]);var i=r.length?parseInt(NN.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];TT(e[t]);)o.push(e[t++]);var s=o.length,a=s?parseInt(NN.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var A=1;e[t]!==IT&&e[t]!==OT||(e[t]===OT&&(A=-1),t++);for(var l=[];TT(e[t]);)l.push(e[t++]);var c=l.length?parseInt(NN.apply(void 0,l),10):0;return n*(i+a*Math.pow(10,-s))*Math.pow(10,A*c)},GT={type:2},WT={type:3},YT={type:4},XT={type:13},JT={type:8},ZT={type:21},$T={type:9},eM={type:10},tM={type:11},nM={type:12},rM={type:14},iM={type:23},oM={type:1},sM={type:25},aM={type:24},AM={type:26},lM={type:27},cM={type:28},uM={type:29},dM={type:31},fM={type:32},hM=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(IN(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==fM;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(RT(t)||zT(n,r)){var i=KT(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),XT;break;case 39:return this.consumeStringToken(39);case 40:return GT;case 41:return WT;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),rM;break;case IT:if(VT(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return YT;case OT:var o=e,s=this.peekCodePoint(0),a=this.peekCodePoint(1);if(VT(o,s,a))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(KT(o,s,a))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===OT&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),aM;break;case 46:if(VT(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(42===A&&47===(A=this.consumeCodePoint()))return this.consumeToken();if(A===NT)return this.consumeToken()}break;case 58:return AM;case 59:return lM;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===OT&&this.peekCodePoint(2)===OT)return this.consumeCodePoint(),this.consumeCodePoint(),sM;break;case 64:var l=this.peekCodePoint(0),c=this.peekCodePoint(1),u=this.peekCodePoint(2);if(KT(l,c,u))return{type:7,value:this.consumeName()};break;case 91:return cM;case 92:if(zT(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return uM;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),JT;break;case 123:return tM;case 125:return nM;case 117:case 85:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==IT||!MT(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),$T;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),ZT;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),eM;break;case NT:return fM}return PT(e)?(this.consumeWhiteSpace(),dM):TT(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):DT(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:NN(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();MT(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(NN.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(NN.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(NN.apply(void 0,e),16);if(this.peekCodePoint(0)===OT&&MT(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];MT(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(NN.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return'url'===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===NT)return{type:22,value:''};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===NT||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),iM)}for(;;){var r=this.consumeCodePoint();if(r===NT||41===r)return{type:22,value:NN.apply(void 0,e)};if(PT(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===NT||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:NN.apply(void 0,e)}):(this.consumeBadUrlRemnants(),iM);if(34===r||39===r||40===r||HT(r))return this.consumeBadUrlRemnants(),iM;if(92===r){if(!zT(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),iM;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;PT(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===NT)return;zT(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t='';e>0;){var n=Math.min(5e4,e);t+=NN.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t='',n=0;;){var r=this._value[n];if(r===NT||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),oM;if(92===r){var i=this._value[n+1];i!==NT&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):zT(r,i)&&(t+=this.consumeStringSlice(n),t+=NN(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==IT&&n!==OT||e.push(this.consumeCodePoint());TT(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&TT(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;TT(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((r===IT||r===OT)&&TT(i)||TT(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;TT(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[qT(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return KT(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(MT(e)){for(var t=NN(e);MT(this.peekCodePoint(0))&&t.length<6;)t+=NN(this.consumeCodePoint());PT(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===NT?65533:e},e.prototype.consumeName=function(){for(var e='';;){var t=this.consumeCodePoint();if(RT(t))e+=NN(t);else{if(!zT(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=NN(this.consumeEscapedCodePoint())}}},e}(),pM=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new hM;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError('Error parsing CSS component value, unexpected EOF');this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError('Error parsing CSS component value, multiple values found when expecting only one')},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||CM(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?fM:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),gM=function(e){return 15===e.type},mM=function(e){return 17===e.type},vM=function(e){return 20===e.type},bM=function(e){return 0===e.type},yM=function(e,t){return vM(e)&&e.value===t},wM=function(e){return 31!==e.type},BM=function(e){return 31!==e.type&&4!==e.type},xM=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error('Error parsing function args, zero tokens for arg');return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},CM=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},_M=function(e){return 17===e.type||15===e.type},jM=function(e){return 16===e.type||_M(e)},FM=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},EM={type:17,number:0,flags:4},SM={type:16,number:50,flags:4},kM={type:16,number:100,flags:4},UM=function(e,t,n){var r=e[0],i=e[1];return[QM(r,t),QM(void 0!==i?i:r,n)]},QM=function(e,t){if(16===e.type)return e.number/100*t;if(gM(e))switch(e.unit){case'rem':case'em':return 16*e.number;default:return e.number}return e.number},LM='grad',OM='turn',IM=function(e,t){if(15===t.type)switch(t.unit){case'deg':return Math.PI*t.number/180;case LM:return Math.PI/200*t.number;case'rad':return t.number;case OM:return 2*Math.PI*t.number}throw new Error('Unsupported angle type')},NM=function(e){return 15===e.type&&('deg'===e.unit||e.unit===LM||'rad'===e.unit||e.unit===OM)},TM=function(e){switch(e.filter(vM).map(function(e){return e.value}).join(' ')){case'to bottom right':case'to right bottom':case'left top':case'top left':return[EM,EM];case'to top':case'bottom':return MM(0);case'to bottom left':case'to left bottom':case'right top':case'top right':return[EM,kM];case'to right':case'left':return MM(90);case'to top left':case'to left top':case'right bottom':case'bottom right':return[kM,kM];case'to bottom':case'top':return MM(180);case'to top right':case'to right top':case'left bottom':case'bottom left':return[kM,EM];case'to left':case'right':return MM(270)}return 0},MM=function(e){return Math.PI*e/180},PM=function(e,t){if(18===t.type){var n=GM[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return HM(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var s=t.value.substring(3,4);return HM(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return HM(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),s=t.value.substring(6,8);return HM(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(20===t.type){var a=YM[t.value.toUpperCase()];if(void 0!==a)return a}return YM.TRANSPARENT},DM=function(e){return!(255&e)},RM=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?'rgba('+i+','+r+','+n+','+t/255+')':'rgb('+i+','+r+','+n+')'},HM=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},zM=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},KM=function(e,t){var n=t.filter(BM);if(3===n.length){var r=n.map(zM),i=r[0],o=r[1],s=r[2];return HM(i,o,s,1)}if(4===n.length){var a=n.map(zM),A=(i=a[0],o=a[1],s=a[2],a[3]);return HM(i,o,s,A)}return 0};function VM(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var qM=function(e,t){var n=t.filter(BM),r=n[0],i=n[1],o=n[2],s=n[3],a=(17===r.type?MM(r.number):IM(e,r))/(2*Math.PI),A=jM(i)?i.number/100:0,l=jM(o)?o.number/100:0,c=void 0!==s&&jM(s)?QM(s,1):1;if(0===A)return HM(255*l,255*l,255*l,1);var u=l<=.5?l*(A+1):l+A-l*A,d=2*l-u,f=VM(d,u,a+1/3),h=VM(d,u,a),p=VM(d,u,a-1/3);return HM(255*f,255*h,255*p,c)},GM={hsl:qM,hsla:qM,rgb:KM,rgba:KM},WM=function(e,t){return PM(e,pM.create(t).parseComponentValue())},YM={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},XM={name:'background-clip',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(vM(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},JM={name:'background-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},ZM=function(e,t){var n=PM(e,t[0]),r=t[1];return r&&jM(r)?{color:n,stop:r}:{color:n,stop:null}},$M=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=EM),null===r.stop&&(r.stop=kM);for(var i=[],o=0,s=0;s<e.length;s++){var a=e[s].stop;if(null!==a){var A=QM(a,t);A>o?i.push(A):i.push(o),o=A}else i.push(null)}var l=null;for(s=0;s<i.length;s++){var c=i[s];if(null===c)null===l&&(l=s);else if(null!==l){for(var u=s-l,d=(c-i[l-1])/(u+1),f=1;f<=u;f++)i[l+f-1]=d*f;l=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},eP=function(e,t,n){var r='number'==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=QM(e[0],t)-r,s=i-QM(e[1],n);return(Math.atan2(s,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,s=n/2,a=i/2,A=Math.sin(r-Math.PI/2)*a,l=Math.cos(r-Math.PI/2)*a;return[i,o-l,o+l,s-A,s+A]},tP=function(e,t){return Math.sqrt(e*e+t*t)},nP=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],s=t[1],a=tP(n-o,r-s);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},rP=function(e,t){var n=MM(180),r=[];return xM(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==['top','left','right','bottom'].indexOf(o.value))return void(n=TM(t));if(NM(o))return void(n=(IM(e,o)+MM(270))%MM(360))}var s=ZM(e,t);r.push(s)}),{angle:n,stops:r,type:1}},iP='closest-side',oP='farthest-side',sP='closest-corner',aP='farthest-corner',AP='circle',lP='ellipse',cP='cover',uP='contain',dP=function(e,t){var n=0,r=3,i=[],o=[];return xM(t).forEach(function(t,s){var a=!0;if(0===s?a=t.reduce(function(e,t){if(vM(t))switch(t.value){case'center':return o.push(SM),!1;case'top':case'left':return o.push(EM),!1;case'right':case'bottom':return o.push(kM),!1}else if(jM(t)||_M(t))return o.push(t),!1;return e},a):1===s&&(a=t.reduce(function(e,t){if(vM(t))switch(t.value){case AP:return n=0,!1;case lP:return n=1,!1;case uP:case iP:return r=0,!1;case oP:return r=1,!1;case sP:return r=2,!1;case cP:case aP:return r=3,!1}else if(_M(t)||jM(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)),a){var A=ZM(e,t);i.push(A)}}),{size:r,shape:n,stops:i,position:o,type:2}},fP=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=pP[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error('Unsupported image type '+t.type)};var hP,pP={'linear-gradient':function(e,t){var n=MM(180),r=[];return xM(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&'to'===o.value)return void(n=TM(t));if(NM(o))return void(n=IM(e,o))}var s=ZM(e,t);r.push(s)}),{angle:n,stops:r,type:1}},'-moz-linear-gradient':rP,'-ms-linear-gradient':rP,'-o-linear-gradient':rP,'-webkit-linear-gradient':rP,'radial-gradient':function(e,t){var n=0,r=3,i=[],o=[];return xM(t).forEach(function(t,s){var a=!0;if(0===s){var A=!1;a=t.reduce(function(e,t){if(A)if(vM(t))switch(t.value){case'center':return o.push(SM),e;case'top':case'left':return o.push(EM),e;case'right':case'bottom':return o.push(kM),e}else(jM(t)||_M(t))&&o.push(t);else if(vM(t))switch(t.value){case AP:return n=0,!1;case lP:return n=1,!1;case'at':return A=!0,!1;case iP:return r=0,!1;case cP:case oP:return r=1,!1;case uP:case sP:return r=2,!1;case aP:return r=3,!1}else if(_M(t)||jM(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)}if(a){var l=ZM(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},'-moz-radial-gradient':dP,'-ms-radial-gradient':dP,'-o-radial-gradient':dP,'-webkit-radial-gradient':dP,'-webkit-gradient':function(e,t){var n=MM(180),r=[],i=1;return xM(t).forEach(function(t,n){var o=t[0];if(0===n){if(vM(o)&&'linear'===o.value)return void(i=1);if(vM(o)&&'radial'===o.value)return void(i=2)}if(18===o.type)if('from'===o.name){var s=PM(e,o.values[0]);r.push({stop:EM,color:s})}else if('to'===o.name){s=PM(e,o.values[0]);r.push({stop:kM,color:s})}else if('color-stop'===o.name){var a=o.values.filter(BM);if(2===a.length){s=PM(e,a[1]);var A=a[0];mM(A)&&r.push({stop:{type:16,number:100*A.number,flags:A.flags},color:s})}}}),1===i?{angle:(n+MM(180))%MM(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},gP={name:'background-image',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t.filter(function(e){return BM(e)&&function(e){return!(20===e.type&&'none'===e.value||18===e.type&&!pP[e.name])}(e)}).map(function(t){return fP(e,t)})}},mP={name:'background-origin',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(vM(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},vP={name:'background-position',initialValue:'0% 0%',type:1,prefix:!1,parse:function(e,t){return xM(t).map(function(e){return e.filter(jM)}).map(FM)}},bP={name:'background-repeat',initialValue:'repeat',prefix:!1,type:1,parse:function(e,t){return xM(t).map(function(e){return e.filter(vM).map(function(e){return e.value}).join(' ')}).map(yP)}},yP=function(e){switch(e){case'no-repeat':return 1;case'repeat-x':case'repeat no-repeat':return 2;case'repeat-y':case'no-repeat repeat':return 3;default:return 0}};!function(e){e.AUTO='auto',e.CONTAIN='contain',e.COVER='cover'}(hP||(hP={}));var wP,BP={name:'background-size',initialValue:'0',prefix:!1,type:1,parse:function(e,t){return xM(t).map(function(e){return e.filter(xP)})}},xP=function(e){return vM(e)||jM(e)},CP=function(e){return{name:'border-'+e+'-color',initialValue:'transparent',prefix:!1,type:3,format:'color'}},_P=CP('top'),jP=CP('right'),FP=CP('bottom'),EP=CP('left'),SP=function(e){return{name:'border-radius-'+e,initialValue:'0 0',prefix:!1,type:1,parse:function(e,t){return FM(t.filter(jM))}}},kP=SP('top-left'),UP=SP('top-right'),QP=SP('bottom-right'),LP=SP('bottom-left'),OP=function(e){return{name:'border-'+e+'-style',initialValue:'solid',prefix:!1,type:2,parse:function(e,t){switch(t){case'none':return 0;case'dashed':return 2;case'dotted':return 3;case'double':return 4}return 1}}},IP=OP('top'),NP=OP('right'),TP=OP('bottom'),MP=OP('left'),PP=function(e){return{name:'border-'+e+'-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return gM(t)?t.number:0}}},DP=PP('top'),RP=PP('right'),HP=PP('bottom'),zP=PP('left'),KP={name:'color',initialValue:'transparent',prefix:!1,type:3,format:'color'},VP={name:'direction',initialValue:'ltr',prefix:!1,type:2,parse:function(e,t){return'rtl'===t?1:0}},qP={name:'display',initialValue:'inline-block',prefix:!1,type:1,parse:function(e,t){return t.filter(vM).reduce(function(e,t){return e|GP(t.value)},0)}},GP=function(e){switch(e){case'block':case'-webkit-box':return 2;case'inline':return 4;case'run-in':return 8;case'flow':return 16;case'flow-root':return 32;case'table':return 64;case'flex':case'-webkit-flex':return 128;case'grid':case'-ms-grid':return 256;case'ruby':return 512;case'subgrid':return 1024;case'list-item':return 2048;case'table-row-group':return 4096;case'table-header-group':return 8192;case'table-footer-group':return 16384;case'table-row':return 32768;case'table-cell':return 65536;case'table-column-group':return 131072;case'table-column':return 262144;case'table-caption':return 524288;case'ruby-base':return 1048576;case'ruby-text':return 2097152;case'ruby-base-container':return 4194304;case'ruby-text-container':return 8388608;case'contents':return 16777216;case'inline-block':return 33554432;case'inline-list-item':return 67108864;case'inline-table':return 134217728;case'inline-flex':return 268435456;case'inline-grid':return 536870912}return 0},WP={name:'float',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'left':return 1;case'right':return 2;case'inline-start':return 3;case'inline-end':return 4}return 0}},YP={name:'letter-spacing',initialValue:'0',prefix:!1,type:0,parse:function(e,t){return 20===t.type&&'normal'===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL='normal',e.STRICT='strict'}(wP||(wP={}));var XP,JP={name:'line-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'strict'===t?wP.STRICT:wP.NORMAL}},ZP={name:'line-height',initialValue:'normal',prefix:!1,type:4},$P=function(e,t){return vM(e)&&'normal'===e.value?1.2*t:17===e.type?t*e.number:jM(e)?QM(e,t):t},eD={name:'list-style-image',initialValue:'none',type:0,prefix:!1,parse:function(e,t){return 20===t.type&&'none'===t.value?null:fP(e,t)}},tD={name:'list-style-position',initialValue:'outside',prefix:!1,type:2,parse:function(e,t){return'inside'===t?0:1}},nD={name:'list-style-type',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'disc':return 0;case'circle':return 1;case'square':return 2;case'decimal':return 3;case'cjk-decimal':return 4;case'decimal-leading-zero':return 5;case'lower-roman':return 6;case'upper-roman':return 7;case'lower-greek':return 8;case'lower-alpha':return 9;case'upper-alpha':return 10;case'arabic-indic':return 11;case'armenian':return 12;case'bengali':return 13;case'cambodian':return 14;case'cjk-earthly-branch':return 15;case'cjk-heavenly-stem':return 16;case'cjk-ideographic':return 17;case'devanagari':return 18;case'ethiopic-numeric':return 19;case'georgian':return 20;case'gujarati':return 21;case'gurmukhi':case'hebrew':return 22;case'hiragana':return 23;case'hiragana-iroha':return 24;case'japanese-formal':return 25;case'japanese-informal':return 26;case'kannada':return 27;case'katakana':return 28;case'katakana-iroha':return 29;case'khmer':return 30;case'korean-hangul-formal':return 31;case'korean-hanja-formal':return 32;case'korean-hanja-informal':return 33;case'lao':return 34;case'lower-armenian':return 35;case'malayalam':return 36;case'mongolian':return 37;case'myanmar':return 38;case'oriya':return 39;case'persian':return 40;case'simp-chinese-formal':return 41;case'simp-chinese-informal':return 42;case'tamil':return 43;case'telugu':return 44;case'thai':return 45;case'tibetan':return 46;case'trad-chinese-formal':return 47;case'trad-chinese-informal':return 48;case'upper-armenian':return 49;case'disclosure-open':return 50;case'disclosure-closed':return 51;default:return-1}}},rD=function(e){return{name:'margin-'+e,initialValue:'0',prefix:!1,type:4}},iD=rD('top'),oD=rD('right'),sD=rD('bottom'),aD=rD('left'),AD={name:'overflow',initialValue:'visible',prefix:!1,type:1,parse:function(e,t){return t.filter(vM).map(function(e){switch(e.value){case'hidden':return 1;case'scroll':return 2;case'clip':return 3;case'auto':return 4;default:return 0}})}},lD={name:'overflow-wrap',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'break-word'===t?'break-word':'normal'}},cD=function(e){return{name:'padding-'+e,initialValue:'0',prefix:!1,type:3,format:'length-percentage'}},uD=cD('top'),dD=cD('right'),fD=cD('bottom'),hD=cD('left'),pD={name:'text-align',initialValue:'left',prefix:!1,type:2,parse:function(e,t){switch(t){case'right':return 2;case'center':case'justify':return 1;default:return 0}}},gD={name:'position',initialValue:'static',prefix:!1,type:2,parse:function(e,t){switch(t){case'relative':return 1;case'absolute':return 2;case'fixed':return 3;case'sticky':return 4}return 0}},mD={name:'text-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&yM(t[0],'none')?[]:xM(t).map(function(t){for(var n={color:YM.TRANSPARENT,offsetX:EM,offsetY:EM,blur:EM},r=0,i=0;i<t.length;i++){var o=t[i];_M(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=PM(e,o)}return n})}},vD={name:'text-transform',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'uppercase':return 2;case'lowercase':return 1;case'capitalize':return 3}return 0}},bD={name:'transform',initialValue:'none',prefix:!0,type:0,parse:function(e,t){if(20===t.type&&'none'===t.value)return null;if(18===t.type){var n=yD[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},yD={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],a=t[13];return t[14],t[15],16===t.length?[n,r,i,o,s,a]:null}},wD={type:16,number:50,flags:4},BD=[wD,wD],xD={name:'transform-origin',initialValue:'50% 50%',prefix:!0,type:1,parse:function(e,t){var n=t.filter(jM);return 2!==n.length?BD:[n[0],n[1]]}},CD={name:'visible',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'hidden':return 1;case'collapse':return 2;default:return 0}}};!function(e){e.NORMAL='normal',e.BREAK_ALL='break-all',e.KEEP_ALL='keep-all'}(XP||(XP={}));for(var _D={name:'word-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'break-all':return XP.BREAK_ALL;case'keep-all':return XP.KEEP_ALL;default:return XP.NORMAL}}},jD={name:'z-index',initialValue:'auto',prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(mM(t))return{auto:!1,order:t.number};throw new Error('Invalid z-index number parsed')}},FD=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case's':return 1e3*t.number;case'ms':return t.number}throw new Error('Unsupported time type')},ED={name:'opacity',initialValue:'1',type:0,prefix:!1,parse:function(e,t){return mM(t)?t.number:1}},SD={name:'text-decoration-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},kD={name:'text-decoration-line',initialValue:'none',prefix:!1,type:1,parse:function(e,t){return t.filter(vM).map(function(e){switch(e.value){case'underline':return 1;case'overline':return 2;case'line-through':return 3;case'none':return 4}return 0}).filter(function(e){return 0!==e})}},UD={name:'font-family',initialValue:'',prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(' ')),n.length=0}}),n.length&&r.push(n.join(' ')),r.map(function(e){return-1===e.indexOf(' ')?e:'\''+e+'\''})}},QD={name:'font-size',initialValue:'0',prefix:!1,type:3,format:'length'},LD={name:'font-weight',initialValue:'normal',type:0,prefix:!1,parse:function(e,t){return mM(t)?t.number:vM(t)&&'bold'===t.value?700:400}},OD={name:'font-variant',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return t.filter(vM).map(function(e){return e.value})}},ID={name:'font-style',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'oblique':return'oblique';case'italic':return'italic';default:return'normal'}}},ND=function(e,t){return 0!==(e&t)},TD={name:'content',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t}},MD={name:'counter-increment',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;for(var r=[],i=t.filter(wM),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(20===s.type){var A=a&&mM(a)?a.number:1;r.push({counter:s.value,increment:A})}}return r}},PD={name:'counter-reset',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(wM),i=0;i<r.length;i++){var o=r[i],s=r[i+1];if(vM(o)&&'none'!==o.value){var a=s&&mM(s)?s.number:0;n.push({counter:o.value,reset:a})}}return n}},DD={name:'duration',initialValue:'0s',prefix:!1,type:1,parse:function(e,t){return t.filter(gM).map(function(t){return FD(e,t)})}},RD={name:'quotes',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;var r=[],i=t.filter(bM);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;r.push({open:s,close:a})}return r}},HD=function(e,t,n){if(!e)return'';var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:''},zD={name:'box-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&yM(t[0],'none')?[]:xM(t).map(function(t){for(var n={color:255,offsetX:EM,offsetY:EM,blur:EM,spread:EM,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];yM(o,'inset')?n.inset=!0:_M(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=PM(e,o)}return n})}},KD={name:'paint-order',initialValue:'normal',prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(vM).forEach(function(e){switch(e.value){case'stroke':n.push(1);break;case'fill':n.push(0);break;case'markers':n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},VD={name:'-webkit-text-stroke-color',initialValue:'currentcolor',prefix:!1,type:3,format:'color'},qD={name:'-webkit-text-stroke-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return gM(t)?t.number:0}},GD=function(){function e(e,t){var n,r;this.animationDuration=XD(e,DD,t.animationDuration),this.backgroundClip=XD(e,XM,t.backgroundClip),this.backgroundColor=XD(e,JM,t.backgroundColor),this.backgroundImage=XD(e,gP,t.backgroundImage),this.backgroundOrigin=XD(e,mP,t.backgroundOrigin),this.backgroundPosition=XD(e,vP,t.backgroundPosition),this.backgroundRepeat=XD(e,bP,t.backgroundRepeat),this.backgroundSize=XD(e,BP,t.backgroundSize),this.borderTopColor=XD(e,_P,t.borderTopColor),this.borderRightColor=XD(e,jP,t.borderRightColor),this.borderBottomColor=XD(e,FP,t.borderBottomColor),this.borderLeftColor=XD(e,EP,t.borderLeftColor),this.borderTopLeftRadius=XD(e,kP,t.borderTopLeftRadius),this.borderTopRightRadius=XD(e,UP,t.borderTopRightRadius),this.borderBottomRightRadius=XD(e,QP,t.borderBottomRightRadius),this.borderBottomLeftRadius=XD(e,LP,t.borderBottomLeftRadius),this.borderTopStyle=XD(e,IP,t.borderTopStyle),this.borderRightStyle=XD(e,NP,t.borderRightStyle),this.borderBottomStyle=XD(e,TP,t.borderBottomStyle),this.borderLeftStyle=XD(e,MP,t.borderLeftStyle),this.borderTopWidth=XD(e,DP,t.borderTopWidth),this.borderRightWidth=XD(e,RP,t.borderRightWidth),this.borderBottomWidth=XD(e,HP,t.borderBottomWidth),this.borderLeftWidth=XD(e,zP,t.borderLeftWidth),this.boxShadow=XD(e,zD,t.boxShadow),this.color=XD(e,KP,t.color),this.direction=XD(e,VP,t.direction),this.display=XD(e,qP,t.display),this.float=XD(e,WP,t.cssFloat),this.fontFamily=XD(e,UD,t.fontFamily),this.fontSize=XD(e,QD,t.fontSize),this.fontStyle=XD(e,ID,t.fontStyle),this.fontVariant=XD(e,OD,t.fontVariant),this.fontWeight=XD(e,LD,t.fontWeight),this.letterSpacing=XD(e,YP,t.letterSpacing),this.lineBreak=XD(e,JP,t.lineBreak),this.lineHeight=XD(e,ZP,t.lineHeight),this.listStyleImage=XD(e,eD,t.listStyleImage),this.listStylePosition=XD(e,tD,t.listStylePosition),this.listStyleType=XD(e,nD,t.listStyleType),this.marginTop=XD(e,iD,t.marginTop),this.marginRight=XD(e,oD,t.marginRight),this.marginBottom=XD(e,sD,t.marginBottom),this.marginLeft=XD(e,aD,t.marginLeft),this.opacity=XD(e,ED,t.opacity);var i=XD(e,AD,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=XD(e,lD,t.overflowWrap),this.paddingTop=XD(e,uD,t.paddingTop),this.paddingRight=XD(e,dD,t.paddingRight),this.paddingBottom=XD(e,fD,t.paddingBottom),this.paddingLeft=XD(e,hD,t.paddingLeft),this.paintOrder=XD(e,KD,t.paintOrder),this.position=XD(e,gD,t.position),this.textAlign=XD(e,pD,t.textAlign),this.textDecorationColor=XD(e,SD,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=XD(e,kD,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=XD(e,mD,t.textShadow),this.textTransform=XD(e,vD,t.textTransform),this.transform=XD(e,bD,t.transform),this.transformOrigin=XD(e,xD,t.transformOrigin),this.visibility=XD(e,CD,t.visibility),this.webkitTextStrokeColor=XD(e,VD,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=XD(e,qD,t.webkitTextStrokeWidth),this.wordBreak=XD(e,_D,t.wordBreak),this.zIndex=XD(e,jD,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return DM(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ND(this.display,4)||ND(this.display,33554432)||ND(this.display,268435456)||ND(this.display,536870912)||ND(this.display,67108864)||ND(this.display,134217728)},e}(),WD=function(e,t){this.content=XD(e,TD,t.content),this.quotes=XD(e,RD,t.quotes)},YD=function(e,t){this.counterIncrement=XD(e,MD,t.counterIncrement),this.counterReset=XD(e,PD,t.counterReset)},XD=function(e,t,n){var r=new hM,i=null!=n?n.toString():t.initialValue;r.write(i);var o=new pM(r.read());switch(t.type){case 2:var s=o.parseComponentValue();return t.parse(e,vM(s)?s.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case'angle':return IM(e,o.parseComponentValue());case'color':return PM(e,o.parseComponentValue());case'image':return fP(e,o.parseComponentValue());case'length':var a=o.parseComponentValue();return _M(a)?a:EM;case'length-percentage':var A=o.parseComponentValue();return jM(A)?A:EM;case'time':return FD(e,o.parseComponentValue())}}},JD=function(e,t){var n=function(e){switch(e.getAttribute('data-html2canvas-debug')){case'all':return 1;case'clone':return 2;case'parse':return 3;case'render':return 4;default:return 0}}(e);return 1===n||t===n},ZD=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,JD(t,3),this.styles=new GD(e,window.getComputedStyle(t,null)),nH(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration='0s'),null!==this.styles.transform&&(t.style.transform='none')),this.bounds=ON(this.context,t),JD(t,4)&&(this.flags|=16)},$D='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',eR='undefined'==typeof Uint8Array?[]:new Uint8Array(256),tR=0;tR<64;tR++)eR[$D.charCodeAt(tR)]=tR;for(var nR=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},rR=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),iR='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',oR='undefined'==typeof Uint8Array?[]:new Uint8Array(256),sR=0;sR<64;sR++)oR[iR.charCodeAt(sR)]=sR;var aR,AR=8,lR=9,cR=11,uR=12,dR=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},fR=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=eR[e.charCodeAt(t)],r=eR[e.charCodeAt(t+1)],i=eR[e.charCodeAt(t+2)],o=eR[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=nR(r,12,n[4]/2),o=2===n[5]?nR(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new rR(n[0],n[1],n[2],n[3],i,o)}('AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA='),hR='×',pR=function(e){return fR.get(e)},gR=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],s=t[n];if(2===o&&3===s)return hR;if(2===o||3===o||4===o)return'÷';if(2===s||3===s||4===s)return'÷';if(o===AR&&-1!==[AR,lR,cR,uR].indexOf(s))return hR;if(!(o!==cR&&o!==lR||s!==lR&&10!==s))return hR;if((o===uR||10===o)&&10===s)return hR;if(13===s||5===s)return hR;if(7===s)return hR;if(1===o)return hR;if(13===o&&14===s){for(;5===i;)i=t[--r];if(14===i)return hR}if(15===o&&15===s){for(var a=0;15===i;)a++,i=t[--r];if(a%2==0)return hR}return'÷'},mR=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(pR);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=hR;r<n&&(e=gR(0,o,++r))===hR;);if(e!==hR||r===n){var s=dR.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},vR=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},bR=function(e,t,n,r,i){var o='http://www.w3.org/2000/svg',s=document.createElementNS(o,'svg'),a=document.createElementNS(o,'foreignObject');return s.setAttributeNS(null,'width',e.toString()),s.setAttributeNS(null,'height',t.toString()),a.setAttributeNS(null,'width','100%'),a.setAttributeNS(null,'height','100%'),a.setAttributeNS(null,'x',n.toString()),a.setAttributeNS(null,'y',r.toString()),a.setAttributeNS(null,'externalResourcesRequired','true'),s.appendChild(a),a.appendChild(i),s},yR=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},wR={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement('boundtest');n.style.height='123px',n.style.display='block',e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(wR,'SUPPORT_RANGE_BOUNDS',{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=wR.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement('boundtest');t.style.width='50px',t.style.display='block',t.style.fontSize='12px',t.style.letterSpacing='0px',t.style.wordSpacing='0px',e.body.appendChild(t);var n=e.createRange();t.innerHTML='function'==typeof''.repeat?'&#128104;'.repeat(10):'';var r=t.firstChild,i=IN(r.data).map(function(e){return NN(e)}),o=0,s={},a=i.every(function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var a=i.x>s.x||i.y>s.y;return s=i,0===t||a});return e.body.removeChild(t),a}(document);return Object.defineProperty(wR,'SUPPORT_WORD_BREAKING',{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement('canvas'),r=n.getContext('2d');if(!r)return!1;t.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\'></svg>';try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(wR,'SUPPORT_SVG_DRAWING',{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e='function'==typeof Array.from&&'function'==typeof window.fetch?function(e){var t=e.createElement('canvas'),n=100;t.width=n,t.height=n;var r=t.getContext('2d');if(!r)return Promise.reject(!1);r.fillStyle='rgb(0, 255, 0)',r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var s=bR(n,n,0,0,i);return r.fillStyle='red',r.fillRect(0,0,n,n),yR(s).then(function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle='red',r.fillRect(0,0,n,n);var s=e.createElement('div');return s.style.backgroundImage='url('+o+')',s.style.height=n+'px',vR(i)?yR(bR(n,n,0,0,s)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),vR(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(wR,'SUPPORT_FOREIGNOBJECT_DRAWING',{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(wR,'SUPPORT_CORS_IMAGES',{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e='string'==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(wR,'SUPPORT_RESPONSE_TYPE',{value:e}),e},get SUPPORT_CORS_XHR(){var e='withCredentials'in new XMLHttpRequest;return Object.defineProperty(wR,'SUPPORT_CORS_XHR',{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!('undefined'==typeof Intl||!Intl.Segmenter);return Object.defineProperty(wR,'SUPPORT_NATIVE_TEXT_SEGMENTATION',{value:e}),e}},BR=function(e,t){this.text=e,this.bounds=t},xR=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement('html2canvaswrapper');r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=ON(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return LN.EMPTY},CR=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error('Node has no owner document');var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},_R=function(e){if(wR.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:'grapheme'});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=mR(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},jR=function(e,t){return 0!==t.letterSpacing?_R(e):function(e,t){if(wR.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:'word'});return Array.from(n.segment(e)).map(function(e){return e.segment})}return ER(e,t)}(e,t)},FR=[32,160,4961,65792,65793,4153,4241],ER=function(e,t){for(var n,r=function(e,t){var n=IN(e),r=QT(n,t),i=r[0],o=r[1],s=r[2],a=n.length,A=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};for(var e=bT;l<a&&(e=UT(n,o,i,++l,s))===bT;);if(e!==bT||l===a){var t=new LT(n,e,A,l);return A=l,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:'break-word'===t.overflowWrap?'break-word':t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=IN(e),r='';t.forEach(function(e){-1===FR.indexOf(e)?r+=NN(e):(r.length&&i.push(r),i.push(NN(e)),r='')}),r.length&&i.push(r)}};!(n=r.next()).done;)o();return i},SR=function(e,t,n){this.text=kR(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var i=jR(t,n),o=[],s=0;return i.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(wR.SUPPORT_RANGE_BOUNDS){var i=CR(r,s,t.length).getClientRects();if(i.length>1){var a=_R(t),A=0;a.forEach(function(t){o.push(new BR(t,LN.fromDOMRectList(e,CR(r,A+s,t.length).getClientRects()))),A+=t.length})}else o.push(new BR(t,LN.fromDOMRectList(e,i)))}else{var l=r.splitText(t.length);o.push(new BR(t,xR(e,r))),r=l}else wR.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length}),o}(e,this.text,n,t)},kR=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(UR,QR);case 2:return e.toUpperCase();default:return e}},UR=/(^|\s|:|-|\(|\))([a-z])/g,QR=function(e,t,n){return e.length>0?t+n.toUpperCase():e},LR=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return SN(t,e),t}(ZD),OR=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return SN(t,e),t}(ZD),IR=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=ON(t,n);return n.setAttribute('width',o.width+'px'),n.setAttribute('height',o.height+'px'),r.svg='data:image/svg+xml,'+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return SN(t,e),t}(ZD),NR=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return SN(t,e),t}(ZD),TR=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed='boolean'==typeof n.reversed&&!0===n.reversed,r}return SN(t,e),t}(ZD),MR=[{type:15,flags:0,unit:'px',number:3}],PR=[{type:16,flags:0,number:50}],DR='checkbox',RR='radio',HR='password',zR=707406591,KR=function(e){function t(t,n){var r,i,o,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(r=n).type===HR?new Array(r.value.length+1).join('•'):r.value).length?r.placeholder||'':i,s.type!==DR&&s.type!==RR||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(o=s.bounds).width>o.height?new LN(o.left+(o.width-o.height)/2,o.top,o.height,o.height):o.width<o.height?new LN(o.left,o.top+(o.height-o.width)/2,o.width,o.width):o),s.type){case DR:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=MR;break;case RR:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=PR}return s}return SN(t,e),t}(ZD),VR=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||'',r}return SN(t,e),t}(ZD),qR=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return SN(t,e),t}(ZD),GR=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=JR(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?WM(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):YM.TRANSPARENT,o=n.contentWindow.document.body?WM(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):YM.TRANSPARENT;r.backgroundColor=DM(i)?DM(o)?r.styles.backgroundColor:o:i}}catch(e){}return r}return SN(t,e),t}(ZD),WR=['OL','UL','MENU'],YR=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,eH(i)&&i.data.trim().length>0)n.textNodes.push(new SR(e,i,n.styles));else if(tH(i))if(gH(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return YR(e,t,n,r)});else{var s=XR(e,i);s.styles.isVisible()&&(ZR(i,s,r)?s.flags|=4:$R(s.styles)&&(s.flags|=2),-1!==WR.indexOf(i.tagName)&&(s.flags|=8),n.elements.push(s),i.slot,i.shadowRoot?YR(e,i.shadowRoot,s,r):hH(i)||aH(i)||pH(i)||YR(e,i,s,r))}},XR=function(e,t){return uH(t)?new LR(e,t):lH(t)?new OR(e,t):aH(t)?new IR(e,t):iH(t)?new NR(e,t):oH(t)?new TR(e,t):sH(t)?new KR(e,t):pH(t)?new VR(e,t):hH(t)?new qR(e,t):dH(t)?new GR(e,t):new ZD(e,t)},JR=function(e,t){var n=XR(e,t);return n.flags|=4,YR(e,t,n,n),n},ZR=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||AH(e)&&n.styles.isTransparent()},$R=function(e){return e.isPositioned()||e.isFloating()},eH=function(e){return e.nodeType===Node.TEXT_NODE},tH=function(e){return e.nodeType===Node.ELEMENT_NODE},nH=function(e){return tH(e)&&void 0!==e.style&&!rH(e)},rH=function(e){return'object'==typeof e.className},iH=function(e){return'LI'===e.tagName},oH=function(e){return'OL'===e.tagName},sH=function(e){return'INPUT'===e.tagName},aH=function(e){return'svg'===e.tagName},AH=function(e){return'BODY'===e.tagName},lH=function(e){return'CANVAS'===e.tagName},cH=function(e){return'VIDEO'===e.tagName},uH=function(e){return'IMG'===e.tagName},dH=function(e){return'IFRAME'===e.tagName},fH=function(e){return'STYLE'===e.tagName},hH=function(e){return'TEXTAREA'===e.tagName},pH=function(e){return'SELECT'===e.tagName},gH=function(e){return'SLOT'===e.tagName},mH=function(e){return e.tagName.indexOf('-')>0},vH=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),bH={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:['M','CM','D','CD','C','XC','L','XL','X','IX','V','IV','I']},yH={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['Ք','Փ','Ւ','Ց','Ր','Տ','Վ','Ս','Ռ','Ջ','Պ','Չ','Ո','Շ','Ն','Յ','Մ','Ճ','Ղ','Ձ','Հ','Կ','Ծ','Խ','Լ','Ի','Ժ','Թ','Ը','Է','Զ','Ե','Դ','Գ','Բ','Ա']},wH={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:['י׳','ט׳','ח׳','ז׳','ו׳','ה׳','ד׳','ג׳','ב׳','א׳','ת','ש','ר','ק','צ','פ','ע','ס','נ','מ','ל','כ','יט','יח','יז','טז','טו','י','ט','ח','ז','ו','ה','ד','ג','ב','א']},BH={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['ჵ','ჰ','ჯ','ჴ','ხ','ჭ','წ','ძ','ც','ჩ','შ','ყ','ღ','ქ','ფ','ჳ','ტ','ს','რ','ჟ','პ','ო','ჲ','ნ','მ','ლ','კ','ი','თ','ჱ','ზ','ვ','ე','დ','გ','ბ','ა']},xH=function(e,t,n,r,i,o){return e<t||e>n?QH(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},'')+o},CH=function(e,t,n,r){var i='';do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},_H=function(e,t,n,r,i){var o=n-t+1;return(e<0?'-':'')+(CH(Math.abs(e),o,r,function(e){return NN(Math.floor(e%o)+t)})+i)},jH=function(e,t,n){void 0===n&&(n='. ');var r=t.length;return CH(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},FH=function(e,t,n,r,i,o){if(e<-9999||e>9999)return QH(e,4,i.length>0);var s=Math.abs(e),a=i;if(0===s)return t[0]+a;for(var A=0;s>0&&A<=4;A++){var l=s%10;0===l&&ND(o,1)&&''!==a?a=t[l]+a:l>1||1===l&&0===A||1===l&&1===A&&ND(o,2)||1===l&&1===A&&ND(o,4)&&e>100||1===l&&A>1&&ND(o,8)?a=t[l]+(A>0?n[A-1]:'')+a:1===l&&A>0&&(a=n[A-1]+a),s=Math.floor(s/10)}return(e<0?r:'')+a},EH='十百千萬',SH='拾佰仟萬',kH='マイナス',UH='마이너스',QH=function(e,t,n){var r=n?'. ':'',i=n?'、':'',o=n?', ':'',s=n?' ':'';switch(t){case 0:return'•'+s;case 1:return'◦'+s;case 2:return'◾'+s;case 5:var a=_H(e,48,57,!0,r);return a.length<4?'0'+a:a;case 4:return jH(e,'〇一二三四五六七八九',i);case 6:return xH(e,1,3999,bH,3,r).toLowerCase();case 7:return xH(e,1,3999,bH,3,r);case 8:return _H(e,945,969,!1,r);case 9:return _H(e,97,122,!1,r);case 10:return _H(e,65,90,!1,r);case 11:return _H(e,1632,1641,!0,r);case 12:case 49:return xH(e,1,9999,yH,3,r);case 35:return xH(e,1,9999,yH,3,r).toLowerCase();case 13:return _H(e,2534,2543,!0,r);case 14:case 30:return _H(e,6112,6121,!0,r);case 15:return jH(e,'子丑寅卯辰巳午未申酉戌亥',i);case 16:return jH(e,'甲乙丙丁戊己庚辛壬癸',i);case 17:case 48:return FH(e,'零一二三四五六七八九',EH,'負',i,14);case 47:return FH(e,'零壹貳參肆伍陸柒捌玖',SH,'負',i,15);case 42:return FH(e,'零一二三四五六七八九',EH,'负',i,14);case 41:return FH(e,'零壹贰叁肆伍陆柒捌玖',SH,'负',i,15);case 26:return FH(e,'〇一二三四五六七八九','十百千万',kH,i,0);case 25:return FH(e,'零壱弐参四伍六七八九','拾百千万',kH,i,7);case 31:return FH(e,'영일이삼사오육칠팔구','십백천만',UH,o,7);case 33:return FH(e,'零一二三四五六七八九','十百千萬',UH,o,0);case 32:return FH(e,'零壹貳參四五六七八九','拾百千',UH,o,7);case 18:return _H(e,2406,2415,!0,r);case 20:return xH(e,1,19999,BH,3,r);case 21:return _H(e,2790,2799,!0,r);case 22:return _H(e,2662,2671,!0,r);case 22:return xH(e,1,10999,wH,3,r);case 23:return jH(e,'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん');case 24:return jH(e,'いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす');case 27:return _H(e,3302,3311,!0,r);case 28:return jH(e,'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン',i);case 29:return jH(e,'イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス',i);case 34:return _H(e,3792,3801,!0,r);case 37:return _H(e,6160,6169,!0,r);case 38:return _H(e,4160,4169,!0,r);case 39:return _H(e,2918,2927,!0,r);case 40:return _H(e,1776,1785,!0,r);case 43:return _H(e,3046,3055,!0,r);case 44:return _H(e,3174,3183,!0,r);case 45:return _H(e,3664,3673,!0,r);case 46:return _H(e,3872,3881,!0,r);default:return _H(e,48,57,!0,r)}},LH='data-html2canvas-ignore',OH=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new vH,this.quoteDepth=0,!t.ownerDocument)throw new Error('Cloned element does not have an owner document');this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=NH(e,t);if(!r.contentWindow)return Promise.reject('Unable to find iframe window');var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,s=r.contentWindow,a=s.document,A=PH(r).then(function(){return UN(n,void 0,void 0,function(){var e,n;return QN(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(KH),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn('Unable to restore scroll position for cloned document'),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject('Error finding the '+this.referenceElement.nodeName+' in the cloned document')]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,MH(a)]:[3,4];case 3:i.sent(),i.label=4;case 4:return'function'==typeof e?[2,Promise.resolve().then(function(){return e(a,n)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write(HH(document.doctype)+'<html></html>'),zH(this.referenceElement.ownerDocument,i,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),A},e.prototype.createElementClone=function(e){if(JD(e,2),lH(e))return this.createCanvasClone(e);if(cH(e))return this.createVideoClone(e);if(fH(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return uH(t)&&(uH(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=''),'lazy'===t.loading&&(t.loading='eager')),mH(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement('html2canvascustomelement');return RH(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&'string'==typeof t.cssText?e+t.cssText:e},''),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error('Unable to access cssRules property',e),'SecurityError'!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement('img');try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info('Unable to inline canvas contents, canvas is tainted',e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext('2d'),o=r.getContext('2d');if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext('webgl2'))&&void 0!==t?t:e.getContext('webgl');if(s){var a=s.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn('Unable to clone WebGL context as it has preserveDrawingBuffer=false',e)}o.drawImage(e,0,0)}return r}catch(t){this.context.logger.info('Unable to clone canvas as it is tainted',e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement('canvas');t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext('2d');try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info('Unable to clone video as it is tainted',e)}var r=e.ownerDocument.createElement('canvas');return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){tH(t)&&('SCRIPT'===t.tagName||t.hasAttribute(LH)||'function'==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&tH(t)&&fH(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(tH(i)&&gH(i)&&'function'==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(eH(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&tH(e)&&(nH(e)||rH(e))){var r=this.createElementClone(e);r.style.transitionProperty='none';var i=n.getComputedStyle(e),o=n.getComputedStyle(e,':before'),s=n.getComputedStyle(e,':after');this.referenceElement===e&&nH(r)&&(this.clonedReferenceElement=r),AH(r)&&WH(r);var a=this.counters.parse(new YD(this.context,i)),A=this.resolvePseudoContent(e,r,o,aR.BEFORE);mH(e)&&(t=!0),cH(e)||this.cloneChildNodes(e,r,t),A&&r.insertBefore(A,r.firstChild);var l=this.resolvePseudoContent(e,r,s,aR.AFTER);return l&&r.appendChild(l),this.counters.pop(a),(i&&(this.options.copyStyles||rH(e))&&!dH(e)||t)&&RH(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(hH(e)||pH(e))&&(hH(r)||pH(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,s=t.ownerDocument;if(s&&o&&'none'!==o&&'-moz-alt-content'!==o&&'none'!==n.display){this.counters.parse(new YD(this.context,n));var a=new WD(this.context,n),A=s.createElement('html2canvaspseudoelement');RH(n,A),a.content.forEach(function(t){if(0===t.type)A.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement('img');n.src=t.value,n.style.opacity='1',A.appendChild(n)}else if(18===t.type){if('attr'===t.name){var r=t.values.filter(vM);r.length&&A.appendChild(s.createTextNode(e.getAttribute(r[0].value)||''))}else if('counter'===t.name){var o=t.values.filter(BM),l=o[0],c=o[1];if(l&&vM(l)){var u=i.counters.getCounterValue(l.value),d=c&&vM(c)?nD.parse(i.context,c.value):3;A.appendChild(s.createTextNode(QH(u,d,!1)))}}else if('counters'===t.name){var f=t.values.filter(BM),h=(l=f[0],f[1]);c=f[2];if(l&&vM(l)){var p=i.counters.getCounterValues(l.value),g=c&&vM(c)?nD.parse(i.context,c.value):3,m=h&&0===h.type?h.value:'',v=p.map(function(e){return QH(e,g,!1)}).join(m);A.appendChild(s.createTextNode(v))}}}else if(20===t.type)switch(t.value){case'open-quote':A.appendChild(s.createTextNode(HD(a.quotes,i.quoteDepth++,!0)));break;case'close-quote':A.appendChild(s.createTextNode(HD(a.quotes,--i.quoteDepth,!1)));break;default:A.appendChild(s.createTextNode(t.value))}}),A.className=VH+' '+qH;var l=r===aR.BEFORE?' '+VH:' '+qH;return rH(t)?t.className.baseValue+=l:t.className+=l,A}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]='BEFORE',e[e.AFTER=1]='AFTER'}(aR||(aR={}));var IH,NH=function(e,t){var n=e.createElement('iframe');return n.className='html2canvas-container',n.style.visibility='hidden',n.style.position='fixed',n.style.left='-10000px',n.style.top='0px',n.style.border='0',n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling='no',n.setAttribute(LH,'true'),e.body.appendChild(n),n},TH=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},MH=function(e){return Promise.all([].slice.call(e.images,0).map(TH))},PH=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n('No window assigned for iframe');var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&'complete'===i.readyState&&(clearInterval(n),t(e))},50)}})},DH=['all','d','content'],RH=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===DH.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},HH=function(e){var t='';return e&&(t+='<!DOCTYPE ',e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+='>'),t},zH=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},KH=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},VH='___html2canvas___pseudoelement_before',qH='___html2canvas___pseudoelement_after',GH='{\n content: "" !important;\n display: none !important;\n}',WH=function(e){YH(e,'.'+VH+':before'+GH+'\n .'+qH+':after'+GH)},YH=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement('style');r.textContent=t,e.appendChild(r)}},XH=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):'about:blank'},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement('a'),e._origin=e.getOrigin(t.location.href)},e._origin='about:blank',e}(),JH=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:iz(e)||tz(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return UN(this,void 0,void 0,function(){var t,n,r,i,o=this;return QN(this,function(s){switch(s.label){case 0:return t=XH.isSameOrigin(e),n=!nz(e)&&!0===this._options.useCORS&&wR.SUPPORT_CORS_IMAGES&&!t,r=!nz(e)&&!t&&!iz(e)&&'string'==typeof this._options.proxy&&wR.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||nz(e)||iz(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug('Added image '+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(rz(i)||n)&&(r.crossOrigin='anonymous'),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),o._options.imageTimeout>0&&setTimeout(function(){return t('Timed out ('+o._options.imageTimeout+'ms) loading image')},o._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error('No proxy defined');var r=e.substring(0,256);return new Promise(function(i,o){var s=wR.SUPPORT_RESPONSE_TYPE?'blob':'text',a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if('text'===s)i(a.response);else{var e=new FileReader;e.addEventListener('load',function(){return i(e.result)},!1),e.addEventListener('error',function(e){return o(e)},!1),e.readAsDataURL(a.response)}else o('Failed to proxy resource '+r+' with status code '+a.status)},a.onerror=o;var A=n.indexOf('?')>-1?'&':'?';if(a.open('GET',''+n+A+'url='+encodeURIComponent(e)+'&responseType='+s),'text'!==s&&a instanceof XMLHttpRequest&&(a.responseType=s),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o('Timed out ('+l+'ms) proxying '+r)}}a.send()})},e}(),ZH=/^data:image\/svg\+xml/i,$H=/^data:image\/.*;base64,/i,ez=/^data:image\/.*/i,tz=function(e){return wR.SUPPORT_SVG_DRAWING||!oz(e)},nz=function(e){return ez.test(e)},rz=function(e){return $H.test(e)},iz=function(e){return'blob'===e.substr(0,4)},oz=function(e){return'svg'===e.substr(-3).toLowerCase()||ZH.test(e)},sz=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),az=function(e,t,n){return new sz(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Az=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=az(this.start,this.startControl,t),i=az(this.startControl,this.endControl,t),o=az(this.endControl,this.end,t),s=az(r,i,t),a=az(i,o,t),A=az(s,a,t);return n?new e(this.start,r,s,A):new e(A,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),lz=function(e){return 1===e.type},cz=function(e){var t=e.styles,n=e.bounds,r=UM(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],s=UM(t.borderTopRightRadius,n.width,n.height),a=s[0],A=s[1],l=UM(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=UM(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((i+a)/n.width),p.push((f+c)/n.width),p.push((o+h)/n.height),p.push((A+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,o/=g,a/=g,A/=g,c/=g,u/=g,f/=g,h/=g);var m=n.width-a,v=n.height-u,b=n.width-c,y=n.height-h,w=t.borderTopWidth,B=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,_=QM(t.paddingTop,e.bounds.width),j=QM(t.paddingRight,e.bounds.width),F=QM(t.paddingBottom,e.bounds.width),E=QM(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?uz(n.left+C/3,n.top+w/3,i-C/3,o-w/3,IH.TOP_LEFT):new sz(n.left+C/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?uz(n.left+m,n.top+w/3,a-B/3,A-w/3,IH.TOP_RIGHT):new sz(n.left+n.width-B/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?uz(n.left+b,n.top+v,c-B/3,u-x/3,IH.BOTTOM_RIGHT):new sz(n.left+n.width-B/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?uz(n.left+C/3,n.top+y,f-C/3,h-x/3,IH.BOTTOM_LEFT):new sz(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?uz(n.left+2*C/3,n.top+2*w/3,i-2*C/3,o-2*w/3,IH.TOP_LEFT):new sz(n.left+2*C/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?uz(n.left+m,n.top+2*w/3,a-2*B/3,A-2*w/3,IH.TOP_RIGHT):new sz(n.left+n.width-2*B/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?uz(n.left+b,n.top+v,c-2*B/3,u-2*x/3,IH.BOTTOM_RIGHT):new sz(n.left+n.width-2*B/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?uz(n.left+2*C/3,n.top+y,f-2*C/3,h-2*x/3,IH.BOTTOM_LEFT):new sz(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?uz(n.left+C/2,n.top+w/2,i-C/2,o-w/2,IH.TOP_LEFT):new sz(n.left+C/2,n.top+w/2),this.topRightBorderStroke=i>0||o>0?uz(n.left+m,n.top+w/2,a-B/2,A-w/2,IH.TOP_RIGHT):new sz(n.left+n.width-B/2,n.top+w/2),this.bottomRightBorderStroke=c>0||u>0?uz(n.left+b,n.top+v,c-B/2,u-x/2,IH.BOTTOM_RIGHT):new sz(n.left+n.width-B/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||h>0?uz(n.left+C/2,n.top+y,f-C/2,h-x/2,IH.BOTTOM_LEFT):new sz(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?uz(n.left,n.top,i,o,IH.TOP_LEFT):new sz(n.left,n.top),this.topRightBorderBox=a>0||A>0?uz(n.left+m,n.top,a,A,IH.TOP_RIGHT):new sz(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?uz(n.left+b,n.top+v,c,u,IH.BOTTOM_RIGHT):new sz(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?uz(n.left,n.top+y,f,h,IH.BOTTOM_LEFT):new sz(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?uz(n.left+C,n.top+w,Math.max(0,i-C),Math.max(0,o-w),IH.TOP_LEFT):new sz(n.left+C,n.top+w),this.topRightPaddingBox=a>0||A>0?uz(n.left+Math.min(m,n.width-B),n.top+w,m>n.width+B?0:Math.max(0,a-B),Math.max(0,A-w),IH.TOP_RIGHT):new sz(n.left+n.width-B,n.top+w),this.bottomRightPaddingBox=c>0||u>0?uz(n.left+Math.min(b,n.width-C),n.top+Math.min(v,n.height-x),Math.max(0,c-B),Math.max(0,u-x),IH.BOTTOM_RIGHT):new sz(n.left+n.width-B,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||h>0?uz(n.left+C,n.top+Math.min(y,n.height-x),Math.max(0,f-C),Math.max(0,h-x),IH.BOTTOM_LEFT):new sz(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?uz(n.left+C+E,n.top+w+_,Math.max(0,i-(C+E)),Math.max(0,o-(w+_)),IH.TOP_LEFT):new sz(n.left+C+E,n.top+w+_),this.topRightContentBox=a>0||A>0?uz(n.left+Math.min(m,n.width+C+E),n.top+w+_,m>n.width+C+E?0:a-C+E,A-(w+_),IH.TOP_RIGHT):new sz(n.left+n.width-(B+j),n.top+w+_),this.bottomRightContentBox=c>0||u>0?uz(n.left+Math.min(b,n.width-(C+E)),n.top+Math.min(v,n.height+w+_),Math.max(0,c-(B+j)),u-(x+F),IH.BOTTOM_RIGHT):new sz(n.left+n.width-(B+j),n.top+n.height-(x+F)),this.bottomLeftContentBox=f>0||h>0?uz(n.left+C+E,n.top+y,Math.max(0,f-(C+E)),h-(x+F),IH.BOTTOM_LEFT):new sz(n.left+C+E,n.top+n.height-(x+F))};!function(e){e[e.TOP_LEFT=0]='TOP_LEFT',e[e.TOP_RIGHT=1]='TOP_RIGHT',e[e.BOTTOM_RIGHT=2]='BOTTOM_RIGHT',e[e.BOTTOM_LEFT=3]='BOTTOM_LEFT'}(IH||(IH={}));var uz=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,s=n*o,a=r*o,A=e+n,l=t+r;switch(i){case IH.TOP_LEFT:return new Az(new sz(e,l),new sz(e,l-a),new sz(A-s,t),new sz(A,t));case IH.TOP_RIGHT:return new Az(new sz(e,t),new sz(e+s,t),new sz(A,l-a),new sz(A,l));case IH.BOTTOM_RIGHT:return new Az(new sz(A,t),new sz(A,t+a),new sz(e+s,l),new sz(e,l));case IH.BOTTOM_LEFT:default:return new Az(new sz(A,l),new sz(A-s,l),new sz(e,t+a),new sz(e,t))}},dz=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},fz=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},hz=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},pz=function(e,t){this.path=e,this.target=t,this.type=1},gz=function(e){this.opacity=e,this.type=2,this.target=6},mz=function(e){return 1===e.type},vz=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},bz=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},yz=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new cz(this.container),this.container.styles.opacity<1&&this.effects.push(new gz(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new hz(n,r,i))}if(0!==this.container.styles.overflowX){var o=dz(this.curves),s=fz(this.curves);vz(o,s)?this.effects.push(new pz(o,6)):(this.effects.push(new pz(o,2)),this.effects.push(new pz(s,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!mz(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=dz(n.curves),s=fz(n.curves);vz(o,s)||r.unshift(new pz(s,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return ND(t.target,e)})},e}(),wz=function(e,t,n,r){e.container.elements.forEach(function(i){var o=ND(i.flags,4),s=ND(i.flags,2),a=new yz(i,e);ND(i.styles.display,2048)&&r.push(a);var A=ND(i.flags,8)?[]:r;if(o||s){var l=o||i.styles.isPositioned()?n:t,c=new bz(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),l.negativeZIndex.splice(d,0,c)}else if(u>0){var f=0;l.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);wz(a,c,o?c:n,A)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),wz(a,t,n,A);ND(i.flags,8)&&Bz(i,A)})},Bz=function(e,t){for(var n=e instanceof TR?e.start:1,r=e instanceof TR&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof NR&&'number'==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=QH(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},xz=function(e,t){switch(t){case 0:return _z(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return _z(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return _z(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return _z(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Cz=function(e,t){var n=[];return lz(e)?n.push(e.subdivide(.5,!1)):n.push(e),lz(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},_z=function(e,t,n,r){var i=[];return lz(e)?i.push(e.subdivide(.5,!1)):i.push(e),lz(n)?i.push(n.subdivide(.5,!0)):i.push(n),lz(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),lz(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},jz=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},Fz=function(e){var t=e.styles,n=e.bounds,r=QM(t.paddingLeft,n.width),i=QM(t.paddingRight,n.width),o=QM(t.paddingTop,n.width),s=QM(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+s))},Ez=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?Fz(t):jz(t)}(Qz(e.styles.backgroundOrigin,t),e),i=function(e,t){return 0===e?t.bounds:2===e?Fz(t):jz(t)}(Qz(e.styles.backgroundClip,t),e),o=Uz(Qz(e.styles.backgroundSize,t),n,r),s=o[0],a=o[1],A=UM(Qz(e.styles.backgroundPosition,t),r.width-s,r.height-a);return[Lz(Qz(e.styles.backgroundRepeat,t),A,o,r,i),Math.round(r.left+A[0]),Math.round(r.top+A[1]),s,a]},Sz=function(e){return vM(e)&&e.value===hP.AUTO},kz=function(e){return'number'==typeof e},Uz=function(e,t,n){var r=t[0],i=t[1],o=t[2],s=e[0],a=e[1];if(!s)return[0,0];if(jM(s)&&a&&jM(a))return[QM(s,n.width),QM(a,n.height)];var A=kz(o);if(vM(s)&&(s.value===hP.CONTAIN||s.value===hP.COVER))return kz(o)?n.width/n.height<o!=(s.value===hP.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var l=kz(r),c=kz(i),u=l||c;if(Sz(s)&&(!a||Sz(a)))return l&&c?[r,i]:A||u?u&&A?[l?r:i*o,c?i:r/o]:[l?r:n.width,c?i:n.height]:[n.width,n.height];if(A){var d=0,f=0;return jM(s)?d=QM(s,n.width):jM(a)&&(f=QM(a,n.height)),Sz(s)?d=f*o:a&&!Sz(a)||(f=d/o),[d,f]}var h=null,p=null;if(jM(s)?h=QM(s,n.width):a&&jM(a)&&(p=QM(a,n.height)),null===h||a&&!Sz(a)||(p=l&&c?h/r*i:n.height),null!==p&&Sz(s)&&(h=l&&c?p/i*r:n.width),null!==h&&null!==p)return[h,p];throw new Error('Unable to calculate background-size for element')},Qz=function(e,t){var n=e[t];return void 0===n?e[0]:n},Lz=function(e,t,n,r,i){var o=t[0],s=t[1],a=n[0],A=n[1];switch(e){case 2:return[new sz(Math.round(r.left),Math.round(r.top+s)),new sz(Math.round(r.left+r.width),Math.round(r.top+s)),new sz(Math.round(r.left+r.width),Math.round(A+r.top+s)),new sz(Math.round(r.left),Math.round(A+r.top+s))];case 3:return[new sz(Math.round(r.left+o),Math.round(r.top)),new sz(Math.round(r.left+o+a),Math.round(r.top)),new sz(Math.round(r.left+o+a),Math.round(r.height+r.top)),new sz(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new sz(Math.round(r.left+o),Math.round(r.top+s)),new sz(Math.round(r.left+o+a),Math.round(r.top+s)),new sz(Math.round(r.left+o+a),Math.round(r.top+s+A)),new sz(Math.round(r.left+o),Math.round(r.top+s+A))];default:return[new sz(Math.round(i.left),Math.round(i.top)),new sz(Math.round(i.left+i.width),Math.round(i.top)),new sz(Math.round(i.left+i.width),Math.round(i.height+i.top)),new sz(Math.round(i.left),Math.round(i.height+i.top))]}},Oz='Hidden Text',Iz=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement('div'),r=this._document.createElement('img'),i=this._document.createElement('span'),o=this._document.body;n.style.visibility='hidden',n.style.fontFamily=e,n.style.fontSize=t,n.style.margin='0',n.style.padding='0',n.style.whiteSpace='nowrap',o.appendChild(n),r.src='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',r.width=1,r.height=1,r.style.margin='0',r.style.padding='0',r.style.verticalAlign='baseline',i.style.fontFamily=e,i.style.fontSize=t,i.style.margin='0',i.style.padding='0',i.appendChild(this._document.createTextNode(Oz)),n.appendChild(i),n.appendChild(r);var s=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Oz)),n.style.lineHeight='normal',r.style.verticalAlign='super';var a=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:s,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+' '+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),Nz=function(e,t){this.context=e,this.options=t},Tz=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px'),r.fontMetrics=new Iz(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline='bottom',r._activeEffects=[],r.context.logger.debug('Canvas renderer initialized ('+n.width+'x'+n.height+') with scale '+n.scale),r}return SN(t,e),t.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},t.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),mz(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return UN(this,void 0,void 0,function(){return QN(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return UN(this,void 0,void 0,function(){return QN(this,function(t){switch(t.label){case 0:return ND(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):_R(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},t.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return'normal'===e||'small-caps'===e}).join(''),n=Hz(e.fontFamily).join(', '),r=gM(e.fontSize)?''+e.fontSize.number+e.fontSize.unit:e.fontSize.number+'px';return[[e.fontStyle,t,e.fontWeight,r,n].join(' '),n,r]},t.prototype.renderTextNode=function(e,t){return UN(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c=this;return QN(this,function(u){return n=this.createFontStyle(t),r=n[0],i=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?'rtl':'ltr',this.ctx.textAlign='left',this.ctx.textBaseline='alphabetic',s=this.fontMetrics.getMetrics(i,o),a=s.baseline,A=s.middle,l=t.paintOrder,e.textBounds.forEach(function(e){l.forEach(function(n){switch(n){case 0:c.ctx.fillStyle=RM(t.color),c.renderTextWithLetterSpacing(e,t.letterSpacing,a);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){c.ctx.shadowColor=RM(n.color),c.ctx.shadowOffsetX=n.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=n.offsetY.number*c.options.scale,c.ctx.shadowBlur=n.blur.number,c.renderTextWithLetterSpacing(e,t.letterSpacing,a)}),c.ctx.shadowColor='',c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),t.textDecorationLine.length&&(c.ctx.fillStyle=RM(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+a),e.bounds.width,1);break;case 2:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:c.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+A),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(c.ctx.strokeStyle=RM(t.webkitTextStrokeColor),c.ctx.lineWidth=t.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?'miter':'round',c.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+a)),c.ctx.strokeStyle='',c.ctx.lineWidth=0,c.ctx.lineJoin='miter'}})}),[2]})})},t.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=Fz(e),i=fz(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return UN(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b;return QN(this,function(y){switch(y.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,o=0,s=n.textNodes,y.label=1;case 1:return o<s.length?(a=s[o],[4,this.renderTextNode(a,i)]):[3,4];case 2:y.sent(),y.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof LR))return[3,8];y.label=5;case 5:return y.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,8];case 7:return y.sent(),this.context.logger.error('Error loading image '+n.src),[3,8];case 8:if(n instanceof OR&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof IR))return[3,12];y.label=9;case 9:return y.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,12];case 11:return y.sent(),this.context.logger.error('Error loading svg '+n.svg.substring(0,255)),[3,12];case 12:return n instanceof GR&&n.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree)]:[3,14];case 13:A=y.sent(),n.width&&n.height&&this.ctx.drawImage(A,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),y.label=14;case 14:if(n instanceof KR&&(l=Math.min(n.bounds.width,n.bounds.height),n.type===DR?n.checked&&(this.ctx.save(),this.path([new sz(n.bounds.left+.39363*l,n.bounds.top+.79*l),new sz(n.bounds.left+.16*l,n.bounds.top+.5549*l),new sz(n.bounds.left+.27347*l,n.bounds.top+.44071*l),new sz(n.bounds.left+.39694*l,n.bounds.top+.5649*l),new sz(n.bounds.left+.72983*l,n.bounds.top+.23*l),new sz(n.bounds.left+.84*l,n.bounds.top+.34085*l),new sz(n.bounds.left+.39363*l,n.bounds.top+.79*l)]),this.ctx.fillStyle=RM(zR),this.ctx.fill(),this.ctx.restore()):n.type===RR&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+l/2,n.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=RM(zR),this.ctx.fill(),this.ctx.restore())),Mz(n)&&n.value.length){switch(c=this.createFontStyle(i),v=c[0],u=c[1],d=this.fontMetrics.getMetrics(v,u).baseline,this.ctx.font=v,this.ctx.fillStyle=RM(i.color),this.ctx.textBaseline='alphabetic',this.ctx.textAlign=Dz(n.styles.textAlign),b=Fz(n),f=0,n.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width}h=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new sz(b.left,b.top),new sz(b.left+b.width,b.top),new sz(b.left+b.width,b.top+b.height),new sz(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new BR(n.value,h),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline='alphabetic',this.ctx.textAlign='left'}if(!ND(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if(0!==(p=n.styles.listStyleImage).type)return[3,18];g=void 0,m=p.url,y.label=15;case 15:return y.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return g=y.sent(),this.ctx.drawImage(g,n.bounds.left-(g.width+10),n.bounds.top),[3,18];case 17:return y.sent(),this.context.logger.error('Error loading list-style-image '+m),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==n.styles.listStyleType&&(v=this.createFontStyle(i)[0],this.ctx.font=v,this.ctx.fillStyle=RM(i.color),this.ctx.textBaseline='middle',this.ctx.textAlign='right',b=new LN(n.bounds.left,n.bounds.top+QM(n.styles.paddingTop,n.bounds.width),n.bounds.width,$P(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new BR(e.listValue,b),i.letterSpacing,$P(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline='bottom',this.ctx.textAlign='left'),y.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return UN(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l,c,u,d,f,h,p;return QN(this,function(g){switch(g.label){case 0:return ND(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:g.sent(),t=0,n=e.negativeZIndex,g.label=2;case 2:return t<n.length?(p=n[t],[4,this.renderStack(p)]):[3,5];case 3:g.sent(),g.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:g.sent(),r=0,i=e.nonInlineLevel,g.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:g.sent(),g.label=9;case 9:return r++,[3,7];case 10:o=0,s=e.nonPositionedFloats,g.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:g.sent(),g.label=13;case 13:return o++,[3,11];case 14:a=0,A=e.nonPositionedInlineLevel,g.label=15;case 15:return a<A.length?(p=A[a],[4,this.renderStack(p)]):[3,18];case 16:g.sent(),g.label=17;case 17:return a++,[3,15];case 18:l=0,c=e.inlineLevel,g.label=19;case 19:return l<c.length?(p=c[l],[4,this.renderNode(p)]):[3,22];case 20:g.sent(),g.label=21;case 21:return l++,[3,19];case 22:u=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,g.label=23;case 23:return u<d.length?(p=d[u],[4,this.renderStack(p)]):[3,26];case 24:g.sent(),g.label=25;case 25:return u++,[3,23];case 26:f=0,h=e.positiveZIndex,g.label=27;case 27:return f<h.length?(p=h[f],[4,this.renderStack(p)]):[3,30];case 28:g.sent(),g.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=lz(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),lz(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},t.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},t.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement('canvas');return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext('2d').drawImage(e,0,0,e.width,e.height,0,0,t,n),i},t.prototype.renderBackgroundImage=function(e){return UN(this,void 0,void 0,function(){var t,n,r,i,o,s;return QN(this,function(a){switch(a.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O;return QN(this,function(I){switch(I.label){case 0:if(0!==n.type)return[3,5];i=void 0,o=n.url,I.label=1;case 1:return I.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return i=I.sent(),[3,4];case 3:return I.sent(),r.context.logger.error('Error loading background-image '+o),[3,4];case 4:return i&&(s=Ez(e,t,[i.width,i.height,i.width/i.height]),b=s[0],_=s[1],j=s[2],B=s[3],x=s[4],m=r.ctx.createPattern(r.resizeImage(i,B,x),'repeat'),r.renderRepeat(b,m,_,j)),[3,6];case 5:1===n.type?(a=Ez(e,t,[null,null,null]),b=a[0],_=a[1],j=a[2],B=a[3],x=a[4],A=eP(n.angle,B,x),l=A[0],c=A[1],u=A[2],d=A[3],f=A[4],(h=document.createElement('canvas')).width=B,h.height=x,p=h.getContext('2d'),g=p.createLinearGradient(c,d,u,f),$M(n.stops,l).forEach(function(e){return g.addColorStop(e.stop,RM(e.color))}),p.fillStyle=g,p.fillRect(0,0,B,x),B>0&&x>0&&(m=r.ctx.createPattern(h,'repeat'),r.renderRepeat(b,m,_,j))):function(e){return 2===e.type}(n)&&(v=Ez(e,t,[null,null,null]),b=v[0],y=v[1],w=v[2],B=v[3],x=v[4],C=0===n.position.length?[SM]:n.position,_=QM(C[0],B),j=QM(C[C.length-1],x),F=function(e,t,n,r,i){var o=0,s=0;switch(e.size){case 0:0===e.shape?o=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=s=Math.min(tP(t,n),tP(t,n-i),tP(t-r,n),tP(t-r,n-i));else if(1===e.shape){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),A=nP(r,i,t,n,!0),l=A[0],c=A[1];s=a*(o=tP(l-t,(c-n)/a))}break;case 1:0===e.shape?o=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=s=Math.max(tP(t,n),tP(t,n-i),tP(t-r,n),tP(t-r,n-i));else if(1===e.shape){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var u=nP(r,i,t,n,!1);l=u[0],c=u[1],s=a*(o=tP(l-t,(c-n)/a))}}return Array.isArray(e.size)&&(o=QM(e.size[0],r),s=2===e.size.length?QM(e.size[1],i):o),[o,s]}(n,_,j,B,x),E=F[0],S=F[1],E>0&&S>0&&(k=r.ctx.createRadialGradient(y+_,w+j,0,y+_,w+j,E),$M(n.stops,2*E).forEach(function(e){return k.addColorStop(e.stop,RM(e.color))}),r.path(b),r.ctx.fillStyle=k,E!==S?(U=e.bounds.left+.5*e.bounds.width,Q=e.bounds.top+.5*e.bounds.height,O=1/(L=S/E),r.ctx.save(),r.ctx.translate(U,Q),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-U,-Q),r.ctx.fillRect(y,O*(w-Q)+Q,B,x*O),r.ctx.restore()):r.ctx.fill())),I.label=6;case 6:return t--,[2]}})},r=this,i=0,o=e.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<o.length?(s=o[i],[5,n(s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,t,n){return UN(this,void 0,void 0,function(){return QN(this,function(r){return this.path(xz(n,t)),this.ctx.fillStyle=RM(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,t,n,r){return UN(this,void 0,void 0,function(){var i,o;return QN(this,function(s){switch(s.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return s.sent(),[2];case 2:return i=function(e,t){switch(t){case 0:return _z(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return _z(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return _z(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return _z(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(r,n),this.path(i),this.ctx.fillStyle=RM(e),this.ctx.fill(),o=function(e,t){switch(t){case 0:return _z(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return _z(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return _z(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return _z(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(r,n),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return UN(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l=this;return QN(this,function(c){switch(c.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!DM(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=Pz(Qz(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),DM(t.backgroundColor)||(this.ctx.fillStyle=RM(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){l.ctx.save();var n=dz(e.curves),r=t.inset?0:1e4,i=function(e,t,n,r,i){return e.map(function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e})}(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(l.path(n),l.ctx.clip(),l.mask(i)):(l.mask(n),l.ctx.clip(),l.path(i)),l.ctx.shadowOffsetX=t.offsetX.number+r,l.ctx.shadowOffsetY=t.offsetY.number,l.ctx.shadowColor=RM(t.color),l.ctx.shadowBlur=t.blur.number,l.ctx.fillStyle=t.inset?RM(t.color):'rgba(0,0,0,1)',l.ctx.fill(),l.ctx.restore()}),c.label=2;case 2:o=0,s=0,a=r,c.label=3;case 3:return s<a.length?0!==(A=a[s]).style&&!DM(A.color)&&A.width>0?2!==A.style?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,2)]:[3,11]:[3,13];case 4:return c.sent(),[3,11];case 5:return 3!==A.style?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,3)];case 6:return c.sent(),[3,11];case 7:return 4!==A.style?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,o,e.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,o,e.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,t,n,r,i){return UN(this,void 0,void 0,function(){var o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y;return QN(this,function(w){return this.ctx.save(),o=function(e,t){switch(t){case 0:return Cz(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Cz(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Cz(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Cz(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(r,n),s=xz(r,n),2===i&&(this.path(s),this.ctx.clip()),lz(s[0])?(a=s[0].start.x,A=s[0].start.y):(a=s[0].x,A=s[0].y),lz(s[1])?(l=s[1].end.x,c=s[1].end.y):(l=s[1].x,c=s[1].y),u=0===n||2===n?Math.abs(a-l):Math.abs(A-c),this.ctx.beginPath(),3===i?this.formatPath(o):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===i&&(d=t,f=t),h=!0,u<=2*d?h=!1:u<=2*d+f?(d*=p=u/(2*d+f),f*=p):(g=Math.floor((u+f)/(d+f)),m=(u-g*d)/(g-1),f=(v=(u-(g+1)*d)/g)<=0||Math.abs(f-m)<Math.abs(f-v)?m:v),h&&(3===i?this.ctx.setLineDash([0,d+f]):this.ctx.setLineDash([d,f])),3===i?(this.ctx.lineCap='round',this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=RM(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(lz(s[0])&&(b=s[3],y=s[0],this.ctx.beginPath(),this.formatPath([new sz(b.end.x,b.end.y),new sz(y.start.x,y.start.y)]),this.ctx.stroke()),lz(s[1])&&(b=s[1],y=s[2],this.ctx.beginPath(),this.formatPath([new sz(b.end.x,b.end.y),new sz(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return UN(this,void 0,void 0,function(){var t;return QN(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=RM(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(e){var t=new yz(e,null),n=new bz(t),r=[];return wz(t,n,n,r),Bz(t.container,r),n}(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(Nz),Mz=function(e){return e instanceof qR||(e instanceof VR||e instanceof KR&&e.type!==RR&&e.type!==DR)},Pz=function(e,t){switch(e){case 0:return dz(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return fz(t)}},Dz=function(e){switch(e){case 1:return'center';case 2:return'right';default:return'left'}},Rz=['-apple-system','system-ui'],Hz=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===Rz.indexOf(e)}):e},zz=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px',r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug('EXPERIMENTAL ForeignObject renderer initialized ('+n.width+'x'+n.height+' at '+n.x+','+n.y+') with scale '+n.scale),r}return SN(t,e),t.prototype.render=function(e){return UN(this,void 0,void 0,function(){var t,n;return QN(this,function(r){switch(r.label){case 0:return t=bR(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Kz(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=RM(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(Nz),Kz=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Vz=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&'undefined'!=typeof window&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),qz=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName='#'+e.instanceCount++,this.logger=new Vz({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new JH(this,t)}return e.instanceCount=1,e}();'undefined'!=typeof window&&XH.setContext(window);var Gz,Wz=function(e,t){return UN(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O,I,N,T,M,P;return QN(this,function(D){switch(D.label){case 0:if(!e||'object'!=typeof e)return[2,Promise.reject('Invalid element provided as first argument')];if(!(n=e.ownerDocument))throw new Error('Element is not attached to a Document');if(!(r=n.defaultView))throw new Error('Document is not attached to a Window');return i={allowTaint:null!==(x=t.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(C=t.imageTimeout)&&void 0!==C?C:15e3,proxy:t.proxy,useCORS:null!==(_=t.useCORS)&&void 0!==_&&_},o=kN({logging:null===(j=t.logging)||void 0===j||j,cache:t.cache},i),s={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:r.innerWidth,windowHeight:null!==(E=t.windowHeight)&&void 0!==E?E:r.innerHeight,scrollX:null!==(S=t.scrollX)&&void 0!==S?S:r.pageXOffset,scrollY:null!==(k=t.scrollY)&&void 0!==k?k:r.pageYOffset},a=new LN(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),A=new qz(o,a),l=null!==(U=t.foreignObjectRendering)&&void 0!==U&&U,c={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},A.logger.debug('Starting document clone with size '+a.width+'x'+a.height+' scrolled to '+-a.left+','+-a.top),u=new OH(A,e,c),(d=u.clonedReferenceElement)?[4,u.toIFrame(n,a)]:[2,Promise.reject('Unable to find element in cloned iframe')];case 1:return f=D.sent(),h=AH(d)||'HTML'===d.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error('Unable to get document size');var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new LN(0,0,r,i)}(d.ownerDocument):ON(A,d),p=h.width,g=h.height,m=h.left,v=h.top,b=Yz(A,d,t.backgroundColor),y={canvas:t.canvas,backgroundColor:b,scale:null!==(O=null!==(L=t.scale)&&void 0!==L?L:r.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(I=t.x)&&void 0!==I?I:0)+m,y:(null!==(N=t.y)&&void 0!==N?N:0)+v,width:null!==(T=t.width)&&void 0!==T?T:Math.ceil(p),height:null!==(M=t.height)&&void 0!==M?M:Math.ceil(g)},l?(A.logger.debug('Document cloned, using foreign object rendering'),[4,new zz(A,y).render(d)]):[3,3];case 2:return w=D.sent(),[3,5];case 3:return A.logger.debug('Document cloned, element located at '+m+','+v+' with size '+p+'x'+g+' using computed rendering'),A.logger.debug('Starting DOM parsing'),B=JR(A,d),b===B.styles.backgroundColor&&(B.styles.backgroundColor=YM.TRANSPARENT),A.logger.debug('Starting renderer for element at '+y.x+','+y.y+' with size '+y.width+'x'+y.height),[4,new Tz(A,y).render(B)];case 4:w=D.sent(),D.label=5;case 5:return(null===(P=t.removeContainer)||void 0===P||P)&&(OH.destroy(f)||A.logger.error('Cannot detach cloned iframe as it is not in the DOM anymore')),A.logger.debug('Finished rendering'),[2,w]}})})},Yz=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?WM(e,getComputedStyle(r.documentElement).backgroundColor):YM.TRANSPARENT,o=r.body?WM(e,getComputedStyle(r.body).backgroundColor):YM.TRANSPARENT,s='string'==typeof n?WM(e,n):null===n?YM.TRANSPARENT:4294967295;return t===r.documentElement?DM(i)?DM(o)?s:o:i:s};self,Gz=function(e){return function(){var t,n,r={'./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js':
14
+ */function _r(){if(dr)return ur;dr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return ur=function(){try{if(!Object.assign)return!1;var e=new String('abc');if(e[5]='de','5'===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var i={};return'abcdefghijklmnopqrst'.split('').forEach(function(e){i[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},i)).join('')}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,s,a=function(e){if(null==e)throw new TypeError('Object.assign cannot be called with null or undefined');return Object(e)}(r),A=1;A<arguments.length;A++){for(var l in o=Object(arguments[A]))t.call(o,l)&&(a[l]=o[l]);if(e){s=e(o);for(var c=0;c<s.length;c++)n.call(o,s[c])&&(a[s[c]]=o[s[c]])}}return a},ur}function jr(){if(hr)return fr;hr=1;return fr='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'}function Fr(){return gr?pr:(gr=1,pr=Function.call.bind(Object.prototype.hasOwnProperty))}if('production'!==process.env.NODE_ENV){var Er=Cr();sr.exports=function(){if(yr)return br;yr=1;var e=Cr(),t=_r(),n=jr(),r=Fr(),i=function(){if(vr)return mr;vr=1;var e=function(){};if('production'!==process.env.NODE_ENV){var t=jr(),n={},r=Fr();e=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}}function i(i,o,s,a,A){if('production'!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var c;try{if('function'!=typeof i[l]){var u=Error((a||'React class')+': '+s+' type `'+l+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+typeof i[l]+'`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');throw u.name='Invariant Violation',u}c=i[l](o,l,a,s,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((a||'React class')+': type specification of '+s+' `'+l+'` is invalid; the type checker function must return `null` or an `Error` but returned a '+typeof c+'. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).'),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var d=A?A():'';e('Failed '+s+' type: '+c.message+(null!=d?d:''))}}}return i.resetWarningCache=function(){'production'!==process.env.NODE_ENV&&(n={})},mr=i}(),o=function(){};function s(){return null}return'production'!==process.env.NODE_ENV&&(o=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}),br=function(a,A){var l='function'==typeof Symbol&&Symbol.iterator,c='<<anonymous>>',u={array:p('array'),bigint:p('bigint'),bool:p('boolean'),func:p('function'),number:p('number'),object:p('object'),string:p('string'),symbol:p('symbol'),any:h(s),arrayOf:function(e){return h(function(t,r,i,o,s){if('function'!=typeof e)return new f('Property `'+s+'` of component `'+i+'` has invalid PropType notation inside arrayOf.');var a=t[r];if(!Array.isArray(a))return new f('Invalid '+o+' `'+s+'` of type `'+v(a)+'` supplied to `'+i+'`, expected an array.');for(var A=0;A<a.length;A++){var l=e(a,A,i,o,s+'['+A+']',n);if(l instanceof Error)return l}return null})},element:h(function(e,t,n,r,i){var o=e[t];return a(o)?null:new f('Invalid '+r+' `'+i+'` of type `'+v(o)+'` supplied to `'+n+'`, expected a single ReactElement.')}),elementType:h(function(t,n,r,i,o){var s=t[n];return e.isValidElementType(s)?null:new f('Invalid '+i+' `'+o+'` of type `'+v(s)+'` supplied to `'+r+'`, expected a single ReactElement type.')}),instanceOf:function(e){return h(function(t,n,r,i,o){if(!(t[n]instanceof e)){var s=e.name||c;return new f('Invalid '+i+' `'+o+'` of type `'+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c)+'` supplied to `'+r+'`, expected instance of `'+s+'`.')}var a;return null})},node:h(function(e,t,n,r,i){return m(e[t])?null:new f('Invalid '+r+' `'+i+'` supplied to `'+n+'`, expected a ReactNode.')}),objectOf:function(e){return h(function(t,i,o,s,a){if('function'!=typeof e)return new f('Property `'+a+'` of component `'+o+'` has invalid PropType notation inside objectOf.');var A=t[i],l=v(A);if('object'!==l)return new f('Invalid '+s+' `'+a+'` of type `'+l+'` supplied to `'+o+'`, expected an object.');for(var c in A)if(r(A,c)){var u=e(A,c,o,s,a+'.'+c,n);if(u instanceof Error)return u}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,i,o){for(var s=t[n],a=0;a<e.length;a++)if(d(s,e[a]))return null;var A=JSON.stringify(e,function(e,t){return'symbol'===b(t)?String(t):t});return new f('Invalid '+i+' `'+o+'` of value `'+String(s)+'` supplied to `'+r+'`, expected one of '+A+'.')}):('production'!==process.env.NODE_ENV&&o(arguments.length>1?'Invalid arguments supplied to oneOf, expected an array, got '+arguments.length+' arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).':'Invalid argument supplied to oneOf, expected an array.'),s)},oneOfType:function(e){if(!Array.isArray(e))return'production'!==process.env.NODE_ENV&&o('Invalid argument supplied to oneOfType, expected an instance of array.'),s;for(var t=0;t<e.length;t++){var i=e[t];if('function'!=typeof i)return o('Invalid argument supplied to oneOfType. Expected an array of check functions, but received '+y(i)+' at index '+t+'.'),s}return h(function(t,i,o,s,a){for(var A=[],l=0;l<e.length;l++){var c=(0,e[l])(t,i,o,s,a,n);if(null==c)return null;c.data&&r(c.data,'expectedType')&&A.push(c.data.expectedType)}return new f('Invalid '+s+' `'+a+'` supplied to `'+o+'`'+(A.length>0?', expected one of type ['+A.join(', ')+']':'')+'.')})},shape:function(e){return h(function(t,r,i,o,s){var a=t[r],A=v(a);if('object'!==A)return new f('Invalid '+o+' `'+s+'` of type `'+A+'` supplied to `'+i+'`, expected `object`.');for(var l in e){var c=e[l];if('function'!=typeof c)return g(i,o,s,l,b(c));var u=c(a,l,i,o,s+'.'+l,n);if(u)return u}return null})},exact:function(e){return h(function(i,o,s,a,A){var l=i[o],c=v(l);if('object'!==c)return new f('Invalid '+a+' `'+A+'` of type `'+c+'` supplied to `'+s+'`, expected `object`.');var u=t({},i[o],e);for(var d in u){var h=e[d];if(r(e,d)&&'function'!=typeof h)return g(s,a,A,d,b(h));if(!h)return new f('Invalid '+a+' `'+A+'` key `'+d+'` supplied to `'+s+'`.\nBad object: '+JSON.stringify(i[o],null,' ')+'\nValid keys: '+JSON.stringify(Object.keys(e),null,' '));var p=h(l,d,s,a,A+'.'+d,n);if(p)return p}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&'object'==typeof t?t:{},this.stack=''}function h(e){if('production'!==process.env.NODE_ENV)var t={},r=0;function i(i,s,a,l,u,d,h){if(l=l||c,d=d||a,h!==n){if(A){var p=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 p.name='Invariant Violation',p}if('production'!==process.env.NODE_ENV&&'undefined'!=typeof console){var g=l+':'+a;!t[g]&&r<3&&(o('You are manually calling a React.PropTypes validation function for the `'+d+'` prop on `'+l+'`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.'),t[g]=!0,r++)}}return null==s[a]?i?null===s[a]?new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `null`.'):new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `undefined`.'):null:e(s,a,l,u,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function p(e){return h(function(t,n,r,i,o,s){var a=t[n];return v(a)!==e?new f('Invalid '+i+' `'+o+'` of type `'+b(a)+'` supplied to `'+r+'`, expected `'+e+'`.',{expectedType:e}):null})}function g(e,t,n,r,i){return new f((e||'React class')+': '+t+' type `'+n+'.'+r+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+i+'`.')}function m(e){switch(typeof e){case'number':case'string':case'undefined':return!0;case'boolean':return!e;case'object':if(Array.isArray(e))return e.every(m);if(null===e||a(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e['@@iterator']);if('function'==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!m(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?'array':e instanceof RegExp?'object':function(e,t){return'symbol'===e||!!t&&('Symbol'===t['@@toStringTag']||'function'==typeof Symbol&&t instanceof Symbol)}(t,e)?'symbol':t}function b(e){if(null==e)return''+e;var t=v(e);if('object'===t){if(e instanceof Date)return'date';if(e instanceof RegExp)return'regexp'}return t}function y(e){var t=b(e);switch(t){case'array':case'object':return'an '+t;case'boolean':case'date':case'regexp':return'a '+t;default:return t}}return f.prototype=Error.prototype,u.checkPropTypes=i,u.resetWarningCache=i.resetWarningCache,u.PropTypes=u,u},br}()(Er.isElement,!0)}else sr.exports=function(){if(Br)return wr;Br=1;var e=jr();function t(){}function n(){}return n.resetWarningCache=t,wr=function(){function r(t,n,r,i,o,s){if(s!==e){var a=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 a.name='Invariant Violation',a}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()();var Sr=sr.exports,kr=rr(Sr),Ur=Gr(),Qr=e=>zr(e,Ur),Lr=Gr();Qr.write=e=>zr(e,Lr);var Or=Gr();Qr.onStart=e=>zr(e,Or);var Ir=Gr();Qr.onFrame=e=>zr(e,Ir);var Nr=Gr();Qr.onFinish=e=>zr(e,Nr);var Tr=[];Qr.setTimeout=(e,t)=>{const n=Qr.now()+t,r=()=>{const e=Tr.findIndex(e=>e.cancel==r);~e&&Tr.splice(e,1),Rr-=~e?1:0},i={time:n,handler:e,cancel:r};return Tr.splice(Mr(n),0,i),Rr+=1,Kr(),i};var Mr=e=>~(~Tr.findIndex(t=>t.time>e)||~Tr.length);Qr.cancel=e=>{Or.delete(e),Ir.delete(e),Nr.delete(e),Ur.delete(e),Lr.delete(e)},Qr.sync=e=>{Hr=!0,Qr.batchedUpdates(e),Hr=!1},Qr.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Qr.onStart(n)}return r.handler=e,r.cancel=()=>{Or.delete(n),t=null},r};var Pr='undefined'!=typeof window?window.requestAnimationFrame:()=>{};Qr.use=e=>Pr=e,Qr.now='undefined'!=typeof performance?()=>performance.now():Date.now,Qr.batchedUpdates=e=>e(),Qr.catch=console.error,Qr.frameLoop='always',Qr.advance=()=>{'demand'!==Qr.frameLoop||qr()};var Dr=-1,Rr=0,Hr=!1;function zr(e,t){Hr?(t.delete(e),e(0)):(t.add(e),Kr())}function Kr(){Dr<0&&(Dr=0,'demand'!==Qr.frameLoop&&Pr(Vr))}function Vr(){~Dr&&(Pr(Vr),Qr.batchedUpdates(qr))}function qr(){const e=Dr;Dr=Qr.now();const t=Mr(Dr);t&&(Wr(Tr.splice(0,t),e=>e.handler()),Rr-=t),Rr?(Or.flush(),Ur.flush(e?Math.min(64,Dr-e):16.667),Ir.flush(),Lr.flush(),Nr.flush()):Dr=-1}function Gr(){let e=new Set,t=e;return{add(n){Rr+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Rr-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Rr-=t.size,Wr(t,t=>t(n)&&e.add(t)),Rr+=e.size,t=e)}}}function Wr(e,t){e.forEach(e=>{try{t(e)}catch(e){Qr.catch(e)}})}var Yr=Object.defineProperty,Xr={};function Jr(){}((e,t)=>{for(var n in t)Yr(e,n,{get:t[n],enumerable:!0})})(Xr,{assign:()=>ui,colors:()=>Ai,createStringInterpolator:()=>ii,skipAnimation:()=>li,to:()=>oi,willAdvance:()=>ci});var Zr={arr:Array.isArray,obj:e=>!!e&&'Object'===e.constructor.name,fun:e=>'function'==typeof e,str:e=>'string'==typeof e,num:e=>'number'==typeof e,und:e=>void 0===e};function $r(e,t){if(Zr.arr(e)){if(!Zr.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var ei=(e,t)=>e.forEach(t);function ti(e,t,n){if(Zr.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var ni=e=>Zr.und(e)?[]:Zr.arr(e)?e:[e];function ri(e,t){if(e.size){const n=Array.from(e);e.clear(),ei(n,t)}}var ii,oi,si=(e,...t)=>ri(e,e=>e(...t)),ai=()=>'undefined'==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Ai=null,li=!1,ci=Jr,ui=e=>{e.to&&(oi=e.to),e.now&&(Qr.now=e.now),void 0!==e.colors&&(Ai=e.colors),null!=e.skipAnimation&&(li=e.skipAnimation),e.createStringInterpolator&&(ii=e.createStringInterpolator),e.requestAnimationFrame&&Qr.use(e.requestAnimationFrame),e.batchedUpdates&&(Qr.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ci=e.willAdvance),e.frameLoop&&(Qr.frameLoop=e.frameLoop)},di=new Set,fi=[],hi=[],pi=0,gi={get idle(){return!di.size&&!fi.length},start(e){pi>e.priority?(di.add(e),Qr.onStart(mi)):(vi(e),Qr(yi))},advance:yi,sort(e){if(pi)Qr.onFrame(()=>gi.sort(e));else{const t=fi.indexOf(e);~t&&(fi.splice(t,1),bi(e))}},clear(){fi=[],di.clear()}};function mi(){di.forEach(vi),di.clear(),Qr(yi)}function vi(e){fi.includes(e)||bi(e)}function bi(e){fi.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(fi,t=>t.priority>e.priority),0,e)}function yi(e){const t=hi;for(let n=0;n<fi.length;n++){const r=fi[n];pi=r.priority,r.idle||(ci(r),r.advance(e),r.idle||t.push(r))}return pi=0,(hi=fi).length=0,(fi=t).length>0}var wi='[-+]?\\d*\\.?\\d+',Bi=wi+'%';function xi(...e){return'\\(\\s*('+e.join(')\\s*,\\s*(')+')\\s*\\)'}var Ci=new RegExp('rgb'+xi(wi,wi,wi)),_i=new RegExp('rgba'+xi(wi,wi,wi,wi)),ji=new RegExp('hsl'+xi(wi,Bi,Bi)),Fi=new RegExp('hsla'+xi(wi,Bi,Bi,wi)),Ei=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Si=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ki=/^#([0-9a-fA-F]{6})$/,Ui=/^#([0-9a-fA-F]{8})$/;function Qi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Li(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Qi(i,r,e+1/3),s=Qi(i,r,e),a=Qi(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function Oi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ii(e){return(parseFloat(e)%360+360)%360/360}function Ni(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ti(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Mi(e){let t=function(e){let t;return'number'==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ki.exec(e))?parseInt(t[1]+'ff',16)>>>0:Ai&&void 0!==Ai[e]?Ai[e]:(t=Ci.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|255)>>>0:(t=_i.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|Ni(t[4]))>>>0:(t=Ei.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+'ff',16)>>>0:(t=Ui.exec(e))?parseInt(t[1],16)>>>0:(t=Si.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ji.exec(e))?(255|Li(Ii(t[1]),Ti(t[2]),Ti(t[3])))>>>0:(t=Fi.exec(e))?(Li(Ii(t[1]),Ti(t[2]),Ti(t[3]))|Ni(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var Pi=(e,t,n)=>{if(Zr.fun(e))return e;if(Zr.arr(e))return Pi({range:e,output:t,extrapolate:n});if(Zr.str(e.output[0]))return ii(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||'extend',a=r.extrapolateRight||r.extrapolate||'extend',A=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,A){let l=A?A(e):e;if(l<t){if('identity'===s)return l;'clamp'===s&&(l=t)}if(l>n){if('identity'===a)return l;'clamp'===a&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],A,s,a,r.map)}};var Di=1.70158,Ri=1.525*Di,Hi=Di+1,zi=2*Math.PI/3,Ki=2*Math.PI/4.5,Vi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},qi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Hi*e*e*e-Di*e*e,easeOutBack:e=>1+Hi*Math.pow(e-1,3)+Di*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ri)/2:(Math.pow(2*e-2,2)*((Ri+1)*(2*e-2)+Ri)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*zi),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*zi)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ki)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ki)/2+1,easeInBounce:e=>1-Vi(1-e),easeOutBounce:Vi,easeInOutBounce:e=>e<.5?(1-Vi(1-2*e))/2:(1+Vi(2*e-1))/2,steps:(e,t='end')=>n=>{const r=(n='end'===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,('end'===t?Math.floor(r):Math.ceil(r))/e)}},Gi=Symbol.for('FluidValue.get'),Wi=Symbol.for('FluidValue.observers'),Yi=e=>Boolean(e&&e[Gi]),Xi=e=>e&&e[Gi]?e[Gi]():e,Ji=e=>e[Wi]||null;function Zi(e,t){const n=e[Wi];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var $i=class{constructor(e){if(!e&&!(e=this.get))throw Error('Unknown getter');eo(this,e)}},eo=(e,t)=>io(e,Gi,t);function to(e,t){if(e[Gi]){let n=e[Wi];n||io(e,Wi,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function no(e,t){const n=e[Wi];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Wi]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ro,io=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),oo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,so=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ao=new RegExp(`(${oo.source})(%|[a-z]+)`,'i'),Ao=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,lo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,co=e=>{const[t,n]=uo(e);if(!t||ai())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith('--')){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&lo.test(n)?co(n):n||e},uo=e=>{const t=lo.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fo=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ho=e=>{ro||(ro=Ai?new RegExp(`(${Object.keys(Ai).join('|')})(?!\\w)`,'g'):/^\b$/);const t=e.output.map(e=>Xi(e).replace(lo,co).replace(so,Mi).replace(ro,Mi)),n=t.map(e=>e.match(oo).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),i=r.map(t=>Pi({...e,output:t}));return e=>{const n=!ao.test(t[0])&&t.find(e=>ao.test(e))?.replace(oo,'');let r=0;return t[0].replace(oo,()=>`${i[r++](e)}${n||''}`).replace(Ao,fo)}},po='react-spring: ',go=e=>{const t=e;let n=!1;if('function'!=typeof t)throw new TypeError(`${po}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},mo=go(console.warn);var vo=go(console.warn);function bo(e){return Zr.str(e)&&('#'==e[0]||/\d/.test(e)||!ai()&&lo.test(e)||e in(Ai||{}))}var yo=ai()?r:l;function wo(){const e=n()[1],t=(()=>{const e=o(!1);return yo(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var Bo=e=>r(e,xo),xo=[];function Co(e){const t=o();return r(()=>{t.current=e}),t.current}var _o=Symbol.for('Animated:node'),jo=e=>e&&e[_o],Fo=(e,t)=>{return n=e,r=_o,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Eo=e=>e&&e[_o]&&e[_o].getPayload(),So=class{constructor(){Fo(this,this)}getPayload(){return this.payload||[]}},ko=class extends So{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Zr.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ko(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Zr.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Zr.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Uo=class extends ko{constructor(e){super(0),this._string=null,this._toString=Pi({output:[e,e]})}static create(e){return new Uo(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Zr.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Pi({output:[this.getValue(),e]})),this._value=0,super.reset()}},Qo={dependencies:null},Lo=class extends So{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ti(this.source,(n,r)=>{var i;(i=n)&&i[_o]===i?t[r]=n.getValue(e):Yi(n)?t[r]=Xi(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ei(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ti(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Qo.dependencies&&Yi(e)&&Qo.dependencies.add(e);const t=Eo(e);t&&ei(t,e=>this.add(e))}},Oo=class extends Lo{constructor(e){super(e)}static create(e){return new Oo(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(Io)),!0)}};function Io(e){return(bo(e)?Uo:ko).create(e)}function No(e){const t=jo(e);return t?t.constructor:Zr.arr(e)?Oo:bo(e)?Uo:ko}var To=(t,n)=>{const i=!Zr.fun(t)||t.prototype&&t.prototype.isReactComponent;return c((a,A)=>{const l=o(null),c=i&&s(e=>{l.current=function(e,t){e&&(Zr.fun(e)?e(t):e.current=t);return t}(A,e)},[A]),[u,d]=function(e,t){const n=new Set;Qo.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new Lo(e),Qo.dependencies=null,[e,n]}(a,n),f=wo(),h=()=>{const e=l.current;if(i&&!e)return;!1===(!!e&&n.applyAnimatedValues(e,u.getValue(!0)))&&f()},p=new Mo(h,d),g=o();yo(()=>(g.current=p,ei(d,e=>to(e,p)),()=>{g.current&&(ei(g.current.deps,e=>no(e,g.current)),Qr.cancel(g.current.update))})),r(h,[]),Bo(()=>()=>{const e=g.current;ei(e.deps,t=>no(t,e))});const m=n.getComponentProps(u.getValue());return e.createElement(t,{...m,ref:c})})},Mo=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){'change'==e.type&&Qr.write(this.update)}};var Po=Symbol.for('AnimatedComponent'),Do=e=>Zr.str(e)?e:e&&Zr.str(e.displayName)?e.displayName:Zr.fun(e)&&e.name||null;function Ro(e,...t){return Zr.fun(e)?e(...t):e}var Ho=(e,t)=>!0===e||!!(t&&e&&(Zr.fun(e)?e(t):ni(e).includes(t))),zo=(e,t)=>Zr.obj(e)?t&&e[t]:e,Ko=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Vo=e=>e,qo=(e,t=Vo)=>{let n=Go;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);Zr.und(n)||(r[i]=n)}return r},Go=['config','onProps','onStart','onChange','onPause','onResume','onRest'],Wo={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Yo(e){const t=function(e){const t={};let n=0;if(ti(e,(e,r)=>{Wo[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return ti(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function Xo(e){return e=Xi(e),Zr.arr(e)?e.map(Xo):bo(e)?Xr.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Jo(e){for(const t in e)return!0;return!1}function Zo(e){return Zr.fun(e)||Zr.arr(e)&&Zr.obj(e[0])}function $o(e,t){e.ref?.delete(e),t?.delete(e)}function es(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var ts={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},ns={...ts.default,mass:1,damping:1,easing:qi.linear,clamp:!1},rs=class{constructor(){this.velocity=0,Object.assign(this,ns)}};function is(e,t){if(Zr.und(t.decay)){const n=!Zr.und(t.tension)||!Zr.und(t.friction);!n&&Zr.und(t.frequency)&&Zr.und(t.damping)&&Zr.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var os=[],ss=class{constructor(){this.changed=!1,this.values=os,this.toValues=null,this.fromValues=os,this.config=new rs,this.immediate=!1}};function as(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let A,l,c=Ho(n.cancel??r?.cancel,t);if(c)f();else{Zr.und(n.pause)||(i.paused=Ho(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||Ho(e,t)),A=Ro(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function u(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),A=l.time-Qr.now()}function d(){A>0&&!Xr.skipAnimation?(i.delayed=!0,l=Qr.setTimeout(f,A),i.pauseQueue.add(u),i.timeouts.add(l)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(u),i.timeouts.delete(l),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(e){a(e)}}})}var As=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?us(e.get()):t.every(e=>e.noop)?ls(e.get()):cs(e.get(),t.every(e=>e.finished)),ls=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),cs=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),us=e=>({value:e,cancelled:!0,finished:!1});function ds(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:A}=n;return o||e!==a||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=qo(t,(e,t)=>'onRest'===t?void 0:e);let c,u;const d=new Promise((e,t)=>(c=e,u=t)),f=e=>{const t=i<=(n.cancelId||0)&&us(r)||i!==n.asyncId&&cs(r,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{const o=new hs,s=new ps;return(async()=>{if(Xr.skipAnimation)throw fs(n),s.result=cs(r,!1),u(s),s;f(o);const a=Zr.obj(e)?{...e}:{...t,to:e};a.parentId=i,ti(l,(e,t)=>{Zr.und(a[t])&&(a[t]=e)});const A=await r.start(a);return f(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),A})()};let p;if(Xr.skipAnimation)return fs(n),cs(r,!1);try{let t;t=Zr.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),d]),p=cs(r.get(),!0,!1)}catch(e){if(e instanceof hs)p=e.result;else{if(!(e instanceof ps))throw e;p=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?A:void 0)}return Zr.fun(s)&&Qr.batchedUpdates(()=>{s(p,r,r.item)}),p})():A}function fs(e,t){ri(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var hs=class extends Error{constructor(){super('An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.')}},ps=class extends Error{constructor(){super('SkipAnimationSignal')}},gs=e=>e instanceof vs,ms=1,vs=class extends $i{constructor(){super(...arguments),this.id=ms++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=jo(this);return e&&e.getValue()}to(...e){return Xr.to(this,e)}interpolate(...e){return mo(`${po}The "interpolate" function is deprecated in v9 (use "to" instead)`),Xr.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Zi(this,{type:'change',parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||gi.sort(this),Zi(this,{type:'priority',parent:this,priority:e})}},bs=Symbol.for('SpringPhase'),ys=e=>(1&e[bs])>0,ws=e=>(2&e[bs])>0,Bs=e=>(4&e[bs])>0,xs=(e,t)=>t?e[bs]|=3:e[bs]&=-3,Cs=(e,t)=>t?e[bs]|=4:e[bs]&=-5,_s=class extends vs{constructor(e,t){if(super(),this.animation=new ss,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Zr.und(e)||!Zr.und(t)){const n=Zr.obj(e)?{...e}:{...t,from:e};Zr.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(ws(this)||this._state.asyncTo)||Bs(this)}get goal(){return Xi(this.animation.to)}get velocity(){const e=jo(this);return e instanceof ko?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return ys(this)}get isAnimating(){return ws(this)}get isPaused(){return Bs(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=Eo(r.to);!s&&Yi(r.to)&&(i=ni(Xi(r.to))),r.values.forEach((a,A)=>{if(a.done)return;const l=a.constructor==Uo?1:s?s[A].lastPosition:i[A];let c=r.immediate,u=l;if(!c){if(u=a.lastPosition,o.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=r.fromValues[A],i=null!=a.v0?a.v0:a.v0=Zr.arr(o.velocity)?o.velocity[A]:o.velocity;let s;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Zr.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);u=n+i/(1-e)*(1-r),c=Math.abs(a.lastPosition-u)<=d,s=i*r}else{s=null==a.lastVelocity?i:a.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,A=!Zr.und(r),f=n==l?a.v0>0:n<l;let h,p=!1;const g=1,m=Math.ceil(e/g);for(let e=0;e<m&&(h=Math.abs(s)>t,h||(c=Math.abs(l-u)<=d,!c));++e){A&&(p=u==l||u>l==f,p&&(s=-s*r,u=l));s+=(1e-6*-o.tension*(u-l)+.001*-o.friction*s)/o.mass*g,u+=s*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,a.durationProgress>0&&(a.elapsedTime=o.duration*a.durationProgress,t=a.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),u=n+o.easing(r)*(l-n),s=(u-a.lastPosition)/e,c=1==r}a.lastVelocity=s,Number.isNaN(u)&&(c=!0)}s&&!s[A].done&&(c=!1),c?a.done=!0:t=!1,a.setValue(u,o.round)&&(n=!0)});const a=jo(this),A=a.getValue();if(t){const e=Xi(r.to);A===e&&!n||o.decay?n&&o.decay&&this._onChange(A):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(A)}set(e){return Qr.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ws(this)){const{to:e,config:t}=this.animation;Qr.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Zr.und(e)?(n=this.queue||[],this.queue=[]):n=[Zr.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>As(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),fs(this._state,e&&this._lastCallId),Qr.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){'change'==e.type?this._start():'priority'==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||'';let{to:n,from:r}=e;n=Zr.obj(n)?n[t]:n,(null==n||Zo(n))&&(n=void 0),r=Zr.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return ys(this)||(e.reverse&&([n,r]=[r,n]),r=Xi(r),Zr.und(r)?jo(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,qo(e,(e,t)=>/^on/.test(t)?zo(e,n):e)),Qs(this,e,'onProps'),Ls(this,'onProps',e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error('Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?');const o=this._state;return as(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Bs(this)||(Cs(this,!0),si(o.pauseQueue),Ls(this,'onPause',cs(this,js(this,this.animation.to)),this))},resume:()=>{Bs(this)&&(Cs(this,!1),ws(this)&&this._resume(),si(o.resumeQueue),Ls(this,'onResume',cs(this,js(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Fs(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(us(this));const r=!Zr.und(e.to),i=!Zr.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(us(this));this._lastToId=t.callId}const{key:o,defaultProps:s,animation:a}=this,{to:A,from:l}=a;let{to:c=A,from:u=l}=e;!i||r||t.default&&!Zr.und(c)||(c=u),t.reverse&&([c,u]=[u,c]);const d=!$r(u,l);d&&(a.from=u),u=Xi(u);const f=!$r(c,A);f&&this._focus(c);const h=Zo(t.to),{config:p}=a,{decay:g,velocity:m}=p;(r||i)&&(p.velocity=0),t.config&&!h&&function(e,t,n){n&&(is(n={...n},t),t={...n,...t}),is(e,t),Object.assign(e,t);for(const t in ns)null==e[t]&&(e[t]=ns[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Zr.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(p,Ro(t.config,o),t.config!==s.config?Ro(s.config,o):void 0);let v=jo(this);if(!v||Zr.und(c))return n(cs(this,!0));const b=Zr.und(t.reset)?i&&!t.default:!Zr.und(u)&&Ho(t.reset,o),y=b?u:this.get(),w=Xo(c),B=Zr.num(w)||Zr.arr(w)||bo(w),x=!h&&(!B||Ho(s.immediate||t.immediate,o));if(f){const e=No(c);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const C=v.constructor;let _=Yi(c),j=!1;if(!_){const e=b||!ys(this)&&d;(f||e)&&(j=$r(Xo(y),w),_=!j),($r(a.immediate,x)||x)&&$r(p.decay,g)&&$r(p.velocity,m)||(_=!0)}if(j&&ws(this)&&(a.changed&&!b?_=!0:_||this._stop(A)),!h&&((_||Yi(A))&&(a.values=v.getPayload(),a.toValues=Yi(c)?null:C==Uo?[1]:ni(w)),a.immediate!=x&&(a.immediate=x,x||b||this._set(A)),_)){const{onRest:e}=a;ei(Us,e=>Qs(this,t,e));const r=cs(this,js(this,A));si(this._pendingCalls,r),this._pendingCalls.add(n),a.changed&&Qr.batchedUpdates(()=>{a.changed=!b,e?.(r,this),b?Ro(s.onRest,r):a.onStart?.(r,this)})}b&&this._set(y),h?n(ds(t.to,t,this._state,this)):_?this._start():ws(this)&&!f?this._pendingCalls.add(n):n(ls(y))}_focus(e){const t=this.animation;e!==t.to&&(Ji(this)&&this._detach(),t.to=e,Ji(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Yi(t)&&(to(t,this),gs(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Yi(e)&&no(e,this)}_set(e,t=!0){const n=Xi(e);if(!Zr.und(n)){const e=jo(this);if(!e||!$r(n,e.getValue())){const r=No(n);e&&e.constructor==r?e.setValue(n):Fo(this,r.create(n)),e&&Qr.batchedUpdates(()=>{this._onChange(n,t)})}}return jo(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ls(this,'onStart',cs(this,js(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ro(this.animation.onChange,e,this)),Ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;jo(this).reset(Xi(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),ws(this)||(xs(this,!0),Bs(this)||this._resume())}_resume(){Xr.skipAnimation?this.finish():gi.start(this)}_stop(e,t){if(ws(this)){xs(this,!1);const n=this.animation;ei(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Zi(this,{type:'idle',parent:this});const r=t?us(this.get()):cs(this.get(),js(this,e??n.to));si(this._pendingCalls,r),n.changed&&(n.changed=!1,Ls(this,'onRest',r,this))}}};function js(e,t){const n=Xo(t);return $r(Xo(e.get()),n)}function Fs(e,t=e.loop,n=e.to){const r=Ro(t);if(r){const i=!0!==r&&Yo(r),o=(i||e).reverse,s=!i||i.reset;return Es({...e,loop:t,default:!1,pause:void 0,to:!o||Zo(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Es(e){const{to:t,from:n}=e=Yo(e),r=new Set;return Zr.obj(t)&&ks(t,r),Zr.obj(n)&&ks(n,r),e.keys=r.size?Array.from(r):null,e}function Ss(e){const t=Es(e);return Zr.und(t.default)&&(t.default=qo(t)),t}function ks(e,t){ti(e,(e,n)=>null!=e&&t.add(n))}var Us=['onStart','onRest','onChange','onPause','onResume'];function Qs(e,t,n){e.animation[n]=t[n]!==Ko(t,n)?zo(t[n],e.key):void 0}function Ls(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Os=['onStart','onChange','onRest'],Is=1,Ns=class{constructor(e,t){this.id=Is++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];Zr.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Es(e)),this}start(e){let{queue:t}=this;return e?t=ni(e).map(Es):this.queue=[],this._flush?this._flush(this,t):(zs(this,t),Ts(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ei(ni(t),t=>n[t].stop(!!e))}else fs(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(Zr.und(e))this.start({pause:!0});else{const t=this.springs;ei(ni(e),e=>t[e].pause())}return this}resume(e){if(Zr.und(e))this.start({pause:!1});else{const t=this.springs;ei(ni(e),e=>t[e].resume())}return this}each(e){ti(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,ri(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&ri(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,ri(n,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if('change'==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if('idle'!=e.type)return;this._active.delete(e.parent)}Qr.onFrame(this._onFrame)}};function Ts(e,t){return Promise.all(t.map(t=>Ms(e,t))).then(t=>As(e,t))}async function Ms(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:A}=t,l=Zr.obj(t.default)&&t.default;s&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const c=Zr.arr(i)||Zr.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):ei(Os,n=>{const r=t[n];if(Zr.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}});const u=e._state;t.pause===!u.paused?(u.paused=t.pause,si(t.pause?u.pauseQueue:u.resumeQueue)):u.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===Ko(t,'cancel');(c||f&&u.asyncId)&&d.push(as(++e._lastAsyncId,{props:t,state:u,actions:{pause:Jr,resume:Jr,start(t,n){f?(fs(u,e._lastAsyncId),n(us(e))):(t.onRest=a,n(ds(c,t,u,e)))}}})),u.paused&&await new Promise(e=>{u.resumeQueue.add(e)});const h=As(e,await Promise.all(d));if(s&&h.finished&&(!n||!h.noop)){const n=Fs(t,s,i);if(n)return zs(e,[n]),Ms(e,n,!0)}return A&&Qr.batchedUpdates(()=>A(h,e,e.item)),h}function Ps(e,t){const n={...e.springs};return t&&ei(ni(t),e=>{Zr.und(e.keys)&&(e=Es(e)),Zr.obj(e.to)||(e={...e,to:void 0}),Hs(n,e,e=>Rs(e))}),Ds(e,n),n}function Ds(e,t){ti(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,to(t,e))})}function Rs(e,t){const n=new _s;return n.key=e,t&&to(n,t),n}function Hs(e,t,n){t.keys&&ei(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function zs(e,t){ei(t,t=>{Hs(e.springs,t,t=>Rs(t,e))})}var Ks,Vs,qs=({children:t,...i})=>{const s=u(Gs),a=i.pause||!!s.pause,A=i.immediate||!!s.immediate;i=function(e,t){const[i]=n(()=>({inputs:t,result:e()})),s=o(),a=s.current;let A=a;if(A){const n=Boolean(t&&A.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,A.inputs));n||(A={inputs:t,result:e()})}else A=i;return r(()=>{s.current=A,a==i&&(i.inputs=i.result=void 0)},[A]),A.result}(()=>({pause:a,immediate:A}),[a,A]);const{Provider:l}=Gs;return e.createElement(l,{value:i},t)},Gs=(Ks=qs,Vs={},Object.assign(Ks,e.createContext(Vs)),Ks.Provider._context=Ks,Ks.Consumer._context=Ks,Ks);qs.Provider=Gs.Provider,qs.Consumer=Gs.Consumer;var Ws=()=>{const e=[],t=function(t){vo(`${po}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return ei(e,(e,i)=>{if(Zr.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return ei(e,e=>e.pause(...arguments)),this},t.resume=function(){return ei(e,e=>e.resume(...arguments)),this},t.set=function(t){ei(e,(e,n)=>{const r=Zr.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return ei(e,(e,r)=>{if(Zr.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return ei(e,e=>e.stop(...arguments)),this},t.update=function(t){return ei(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return Zr.fun(e)?e(n,t):e};return t._getProps=n,t};function Ys(e,t){const n=Zr.fun(e),[[r],i]=function(e,t,n){const r=Zr.fun(t)&&t;r&&!n&&(n=[]);const i=d(()=>r||3==arguments.length?Ws():void 0,[]),s=o(0),a=wo(),A=d(()=>({ctrls:[],queue:[],flush(e,t){const n=Ps(e,t);return s.current>0&&!A.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Ts(e,t):new Promise(r=>{Ds(e,n),A.queue.push(()=>{r(Ts(e,t))}),a()})}}),[]),l=o([...A.ctrls]),c=[],f=Co(e)||0;function h(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new Ns(null,A.flush)),n=r?r(i,e):t[i];n&&(c[i]=Ss(n))}}d(()=>{ei(l.current.slice(e,f),e=>{$o(e,i),e.stop(!0)}),l.current.length=e,h(f,e)},[e]),d(()=>{h(0,Math.min(f,e))},n);const p=l.current.map((e,t)=>Ps(e,c[t])),g=u(qs),m=Co(g),v=g!==m&&Jo(g);yo(()=>{s.current++,A.ctrls=l.current;const{queue:e}=A;e.length&&(A.queue=[],ei(e,e=>e())),ei(l.current,(e,t)=>{i?.add(e),v&&e.start({default:g});const n=c[t];n&&(es(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Bo(()=>()=>{ei(A.ctrls,e=>e.stop(!0))});const b=p.map(e=>({...e}));return i?[b,i]:b}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function Xs(t,n,r){const i=Zr.fun(n)&&n,{reset:s,sort:a,trail:A=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:f,ref:h,config:p}=i?i():n,g=d(()=>i||3==arguments.length?Ws():void 0,[]),m=ni(t),v=[],b=o(null),y=s?null:b.current;yo(()=>{b.current=v}),Bo(()=>(ei(v,e=>{g?.add(e.ctrl),e.ctrl.ref=g}),()=>{ei(b.current,e=>{e.expired&&clearTimeout(e.expirationId),$o(e.ctrl,g),e.ctrl.stop(!0)})}));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map(e=>{const n=r&&r.find(n=>n.item===e&&'leave'!==n.phase&&!t.has(n));return n?(t.add(n),n.key):Js++})}return Zr.und(n)?e:Zr.fun(n)?e.map(n):ni(n)}(m,i?i():n,y),B=s&&b.current||[];yo(()=>ei(B,({ctrl:e,item:t,key:n})=>{$o(e,g),Ro(f,t,n)}));const x=[];if(y&&ei(y,(e,t)=>{e.expired?(clearTimeout(e.expirationId),B.push(e)):~(t=x[t]=w.indexOf(e.key))&&(v[t]=e)}),ei(m,(e,t)=>{v[t]||(v[t]={key:w[t],item:e,phase:'mount',ctrl:new Ns},v[t].ctrl.item=e)}),x.length){let e=-1;const{leave:t}=i?i():n;ei(x,(n,r)=>{const i=y[r];~n?(e=v.indexOf(i),v[e]={...i,item:m[n]}):t&&v.splice(++e,0,i)})}Zr.fun(a)&&v.sort((e,t)=>a(e.item,t.item));let C=-A;const _=wo(),j=qo(n),F=new Map,E=o(new Map),S=o(!1);ei(v,(e,t)=>{const r=e.key,o=e.phase,s=i?i():n;let a,u;const d=Ro(s.delay||0,r);if('mount'==o)a=s.enter,u='enter';else{const e=w.indexOf(r)<0;if('leave'!=o)if(e)a=s.leave,u='leave';else{if(!(a=s.update))return;u='update'}else{if(e)return;a=s.enter,u='enter'}}if(a=Ro(a,e.item,t),a=Zr.obj(a)?Yo(a):{to:a},!a.config){const n=p||j.config;a.config=Ro(n,e.item,t,u)}C+=A;const f={...j,delay:d+C,ref:h,immediate:s.immediate,reset:!1,...a};if('enter'==u&&Zr.und(f.from)){const r=i?i():n,o=Zr.und(r.initial)||y?r.from:r.initial;f.from=Ro(o,e.item,t)}const{onResolve:g}=f;f.onResolve=e=>{Ro(g,e);const t=b.current,n=t.find(e=>e.key===r);if(n&&(!e.cancelled||'update'==n.phase)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if('leave'==n.phase){const t=Ro(l,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some(e=>e.expired)&&(E.current.delete(n),c&&(S.current=!0),_())}};const m=Ps(e.ctrl,f);'leave'===u&&c?E.current.set(e,{phase:u,springs:m,payload:f}):F.set(e,{phase:u,springs:m,payload:f})});const k=u(qs),U=Co(k),Q=k!==U&&Jo(k);yo(()=>{Q&&ei(v,e=>{e.ctrl.start({default:k})})},[k]),ei(F,(e,t)=>{if(E.current.size){const e=v.findIndex(e=>e.key===t.key);v.splice(e,1)}}),yo(()=>{ei(E.current.size?E.current:F,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,g?.add(r),Q&&'enter'==e&&r.start({default:k}),t&&(es(r,t.ref),!r.ref&&!g||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))})},s?void 0:r);const L=t=>e.createElement(e.Fragment,null,v.map((n,r)=>{const{springs:i}=F.get(n)||n.ctrl,o=t({...i},n.item,n,r);return o&&o.type?e.createElement(o.type,{...o.props,key:Zr.str(n.key)||Zr.num(n.key)?n.key:n.ctrl.id,ref:o.ref}):o}));return g?[L,g]:L}var Js=1;var Zs=class extends vs{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Pi(...t);const n=this._get(),r=No(n);Fo(this,r.create(n))}advance(e){const t=this._get();$r(t,this.get())||(jo(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ea(this._active)&&ta(this)}_get(){const e=Zr.arr(this.source)?this.source.map(Xi):ni(Xi(this.source));return this.calc(...e)}_start(){this.idle&&!ea(this._active)&&(this.idle=!1,ei(Eo(this),e=>{e.done=!1}),Xr.skipAnimation?(Qr.batchedUpdates(()=>this.advance()),ta(this)):gi.start(this))}_attach(){let e=1;ei(ni(this.source),t=>{Yi(t)&&to(t,this),gs(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ei(ni(this.source),e=>{Yi(e)&&no(e,this)}),this._active.clear(),ta(this)}eventObserved(e){'change'==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):'idle'==e.type?this._active.delete(e.parent):'priority'==e.type&&(this.priority=ni(this.source).reduce((e,t)=>Math.max(e,(gs(t)?t.priority:0)+1),0))}};function $s(e){return!1!==e.idle}function ea(e){return!e.size||Array.from(e).every($s)}function ta(e){e.idle||(e.idle=!0,ei(Eo(e),e=>{e.done=!0}),Zi(e,{type:'idle',parent:e}))}var na=(e,...t)=>new Zs(e,t);Xr.assign({createStringInterpolator:ho,to:(e,t)=>new Zs(e,t)});var ra=/^--/;function ia(e,t){return null==t||'boolean'==typeof t||''===t?'':'number'!=typeof t||0===t||ra.test(e)||sa.hasOwnProperty(e)&&sa[e]?(''+t).trim():t+'px'}var oa={};var sa={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,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},aa=['Webkit','Ms','Moz','O'];sa=Object.keys(sa).reduce((e,t)=>(aa.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),sa);var Aa=/^(matrix|translate|scale|rotate|skew)/,la=/^(translate)/,ca=/^(rotate|skew)/,ua=(e,t)=>Zr.num(e)&&0!==e?e+t:e,da=(e,t)=>Zr.arr(e)?e.every(e=>da(e,t)):Zr.num(e)?e===t:parseFloat(e)===t,fa=class extends Lo{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>ua(e,'px')).join(',')})`,da(e,0)])),ti(r,(e,t)=>{if('transform'===t)i.push([e||'']),o.push(e=>[e,''===e]);else if(Aa.test(t)){if(delete r[t],Zr.und(e))return;const n=la.test(t)?'px':ca.test(t)?'deg':'';i.push(ni(e)),o.push('rotate3d'===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ua(i,n)})`,da(i,0)]:e=>[`${t}(${e.map(e=>ua(e,n)).join(',')})`,da(e,t.startsWith('scale')?1:0)])}}),i.length&&(r.transform=new ha(i,o)),super(r)}},ha=class extends $i{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e='',t=!0;return ei(this.inputs,(n,r)=>{const i=Xi(n[0]),[o,s]=this.transforms[r](Zr.arr(i)?i:n.map(Xi));e+=' '+o,t=t&&s}),t?'none':e}observerAdded(e){1==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&to(e,this)))}observerRemoved(e){0==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&no(e,this)))}eventObserved(e){'change'==e.type&&(this._value=null),Zi(this,e)}};Xr.assign({batchedUpdates:y,createStringInterpolator:ho,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var pa=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Lo(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Do(e)||'Anonymous';return(e=Zr.str(e)?o[e]||(o[e]=To(e,i)):e[Po]||(e[Po]=To(e,i))).displayName=`Animated(${t})`,e};return ti(e,(t,n)=>{Zr.arr(e)&&(n=Do(t)),o[n]=o(t)}),{animated:o}})(['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n='filter'===e.nodeName||e.parentNode&&'filter'===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:s,scrollLeft:a,viewBox:A,...l}=t,c=Object.values(l),u=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:oa[t]||(oa[t]=t.replace(/([A-Z])/g,e=>'-'+e.toLowerCase())));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=ia(t,i[t]);ra.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==r&&(e.className=r),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==A&&e.setAttribute('viewBox',A)},createAnimatedStyle:e=>new fa(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),ga=pa.animated;function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ma.apply(this,arguments)}var va={pointerEvents:'none',position:'absolute',zIndex:10,top:0,left:0},ba=function(e,t){return'translate('+e+'px, '+t+'px)'},ya=f(function(e){var t,n=e.position,r=e.anchor,i=e.children,s=cC(),a=Rx(),A=a.animate,l=a.config,c=iC(),u=c[0],d=c[1],f=o(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&('top'===r?(m-=d.width/2,v-=d.height+14):'right'===r?(m+=14,v-=d.height/2):'bottom'===r?(m-=d.width/2,v+=14):'left'===r?(m-=d.width+14,v-=d.height/2):'center'===r&&(m-=d.width/2,v-=d.height/2),h={transform:ba(m,v)},f.current||(p=!0),f.current=[m,v]);var b=Ys({to:h,config:l,immediate:!A||p}),y=ma({},va,s.tooltip,{transform:null!=(t=b.transform)?t:ba(m,v)});return w(ga.div,{ref:u,style:y,children:i})});ya.displayName='TooltipWrapper';var wa=f(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return w('span',{style:ma({display:'block',width:n,height:n,background:r},void 0===i?{}:i)})}),Ba=f(function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,s=void 0!==o&&o,a=e.color,A=e.renderContent,l=cC(),c=sC(i);if('function'==typeof A)t=A();else{var u=r;void 0!==c&&void 0!==u&&(u=c(u)),t=B('div',{style:l.tooltip.basic,children:[s&&w(wa,{color:a,style:l.tooltip.chip}),void 0!==u?B('span',{children:[n,': ',w('strong',{children:''+u})]}):n]})}return w('div',{style:l.tooltip.container,children:t})}),xa={width:'100%',borderCollapse:'collapse'},Ca=f(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,s=cC();return i.length?(t='function'==typeof o?o():B('div',{children:[n&&n,w('table',{style:ma({},xa,s.tooltip.table),children:w('tbody',{children:i.map(function(e,t){return w('tr',{children:e.map(function(e,t){return w('td',{style:s.tooltip.tableCell,children:e},t)})},t)})})})]}),w('div',{style:s.tooltip.container,children:t})):null});Ca.displayName='TableTooltip';var _a=f(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=cC(),s=Rx(),a=s.animate,A=s.config,l=d(function(){return ma({},o.crosshair.line,{pointerEvents:'none'})},[o.crosshair.line]),c=Ys({x1:t,x2:n,y1:r,y2:i,config:A,immediate:!a});return w(ga.line,ma({},c,{fill:'none',style:l}))});_a.displayName='CrosshairLine';var ja=f(function(e){var t,n,r=e.width,i=e.height,o=e.type,s=e.x,a=e.y;return'cross'===o?(t={x0:s,x1:s,y0:0,y1:i},n={x0:0,x1:r,y0:a,y1:a}):'top-left'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:0,x1:s,y0:a,y1:a}):'top'===o?t={x0:s,x1:s,y0:0,y1:a}:'top-right'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:s,x1:r,y0:a,y1:a}):'right'===o?n={x0:s,x1:r,y0:a,y1:a}:'bottom-right'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:s,x1:r,y0:a,y1:a}):'bottom'===o?t={x0:s,x1:s,y0:a,y1:i}:'bottom-left'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:0,x1:s,y0:a,y1:a}):'left'===o?n={x0:0,x1:s,y0:a,y1:a}:'x'===o?t={x0:s,x1:s,y0:0,y1:i}:'y'===o&&(n={x0:0,x1:r,y0:a,y1:a}),B(x,{children:[t&&w(_a,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&w(_a,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});ja.displayName='Crosshair';var Fa=h({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Ea={isVisible:!1,position:[null,null],content:null,anchor:null},Sa=h(Ea),ka=function(){var e=u(Fa);if(void 0===e)throw new Error('useTooltip must be used within a TooltipProvider');return e},Ua=function(){var e=function(){var e=u(Sa);if(void 0===e)throw new Error('useTooltipState must be used within a TooltipProvider');return e}();return function(e){return e.isVisible}(e)?w(ya,{position:e.position,anchor:e.anchor,children:e.content}):null},Qa=function(e){var t=e.container,r=e.children,i=function(e){var t=n(Ea),r=t[0],i=t[1],o=s(function(e,t,n){var r=t[0],o=t[1];void 0===n&&(n='top'),i({isVisible:!0,position:[r,o],anchor:n,content:e})},[i]),a=s(function(t,n,r){void 0===r&&(r='top');var o=e.current.getBoundingClientRect(),s=e.current.offsetWidth,a=s===o.width?1:s/o.width,A=(n.clientX-o.left)*a,l=(n.clientY-o.top)*a;'left'!==r&&'right'!==r||(r=A<o.width/2?'right':'left'),i({isVisible:!0,position:[A,l],anchor:r,content:t})},[e,i]),A=s(function(){i(Ea)},[i]);return{actions:d(function(){return{showTooltipAt:o,showTooltipFromEvent:a,hideTooltip:A}},[o,a,A]),state:r}}(t),o=i.actions,a=i.state;return w(Fa.Provider,{value:o,children:w(Sa.Provider,{value:a,children:r})})};var La=function(){this.__data__=[],this.size=0};var Oa=function(e,t){return e===t||e!=e&&t!=t},Ia=Oa;var Na=function(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1},Ta=Na,Ma=Array.prototype.splice;var Pa=Na;var Da=Na;var Ra=Na;var Ha=La,za=function(e){var t=this.__data__,n=Ta(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ma.call(t,n,1),--this.size,!0)},Ka=function(e){var t=this.__data__,n=Pa(t,e);return n<0?void 0:t[n][1]},Va=function(e){return Da(this.__data__,e)>-1},qa=function(e,t){var n=this.__data__,r=Ra(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Ga(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ga.prototype.clear=Ha,Ga.prototype.delete=za,Ga.prototype.get=Ka,Ga.prototype.has=Va,Ga.prototype.set=qa;var Wa=Ga,Ya=Wa;var Xa=function(){this.__data__=new Ya,this.size=0};var Ja=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Za=function(e){return this.__data__.get(e)};var $a=function(e){return this.__data__.has(e)},eA='object'==typeof nr&&nr&&nr.Object===Object&&nr,tA=eA,nA='object'==typeof self&&self&&self.Object===Object&&self,rA=tA||nA||Function('return this')(),iA=rA.Symbol,oA=iA,sA=Object.prototype,aA=sA.hasOwnProperty,AA=sA.toString,lA=oA?oA.toStringTag:void 0;var cA=function(e){var t=aA.call(e,lA),n=e[lA];try{e[lA]=void 0;var r=!0}catch(e){}var i=AA.call(e);return r&&(t?e[lA]=n:delete e[lA]),i},uA=Object.prototype.toString;var dA=cA,fA=function(e){return uA.call(e)},hA=iA?iA.toStringTag:void 0;var pA=function(e){return null==e?void 0===e?'[object Undefined]':'[object Null]':hA&&hA in Object(e)?dA(e):fA(e)};var gA=function(e){var t=typeof e;return null!=e&&('object'==t||'function'==t)},mA=pA,vA=gA;var bA,yA=function(e){if(!vA(e))return!1;var t=mA(e);return'[object Function]'==t||'[object GeneratorFunction]'==t||'[object AsyncFunction]'==t||'[object Proxy]'==t},wA=rr(yA),BA=rA['__core-js_shared__'],xA=(bA=/[^.]+$/.exec(BA&&BA.keys&&BA.keys.IE_PROTO||''))?'Symbol(src)_1.'+bA:'';var CA=function(e){return!!xA&&xA in e},_A=Function.prototype.toString;var jA=function(e){if(null!=e){try{return _A.call(e)}catch(e){}try{return e+''}catch(e){}}return''},FA=yA,EA=CA,SA=gA,kA=jA,UA=/^\[object .+?Constructor\]$/,QA=Function.prototype,LA=Object.prototype,OA=QA.toString,IA=LA.hasOwnProperty,NA=RegExp('^'+OA.call(IA).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');var TA=function(e,t){return null==e?void 0:e[t]},MA=function(e){return!(!SA(e)||EA(e))&&(FA(e)?NA:UA).test(kA(e))},PA=TA;var DA=function(e,t){var n=PA(e,t);return MA(n)?n:void 0},RA=DA(rA,'Map'),HA=DA(Object,'create'),zA=HA;var KA=function(){this.__data__=zA?zA(null):{},this.size=0};var VA=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qA=HA,GA=Object.prototype.hasOwnProperty;var WA=function(e){var t=this.__data__;if(qA){var n=t[e];return'__lodash_hash_undefined__'===n?void 0:n}return GA.call(t,e)?t[e]:void 0},YA=HA,XA=Object.prototype.hasOwnProperty;var JA=HA;var ZA=KA,$A=VA,el=WA,tl=function(e){var t=this.__data__;return YA?void 0!==t[e]:XA.call(t,e)},nl=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=JA&&void 0===t?'__lodash_hash_undefined__':t,this};function rl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rl.prototype.clear=ZA,rl.prototype.delete=$A,rl.prototype.get=el,rl.prototype.has=tl,rl.prototype.set=nl;var il=rl,ol=Wa,sl=RA;var al=function(e){var t=typeof e;return'string'==t||'number'==t||'symbol'==t||'boolean'==t?'__proto__'!==e:null===e};var Al=function(e,t){var n=e.__data__;return al(t)?n['string'==typeof t?'string':'hash']:n.map},ll=Al;var cl=Al;var ul=Al;var dl=Al;var fl=function(){this.size=0,this.__data__={hash:new il,map:new(sl||ol),string:new il}},hl=function(e){var t=ll(this,e).delete(e);return this.size-=t?1:0,t},pl=function(e){return cl(this,e).get(e)},gl=function(e){return ul(this,e).has(e)},ml=function(e,t){var n=dl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function vl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vl.prototype.clear=fl,vl.prototype.delete=hl,vl.prototype.get=pl,vl.prototype.has=gl,vl.prototype.set=ml;var bl=vl,yl=Wa,wl=RA,Bl=bl;var xl=Wa,Cl=Xa,_l=Ja,jl=Za,Fl=$a,El=function(e,t){var n=this.__data__;if(n instanceof yl){var r=n.__data__;if(!wl||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Bl(r)}return n.set(e,t),this.size=n.size,this};function Sl(e){var t=this.__data__=new xl(e);this.size=t.size}Sl.prototype.clear=Cl,Sl.prototype.delete=_l,Sl.prototype.get=jl,Sl.prototype.has=Fl,Sl.prototype.set=El;var kl=Sl,Ul=DA,Ql=function(){try{var e=Ul(Object,'defineProperty');return e({},'',{}),e}catch(e){}}(),Ll=Ql;var Ol=function(e,t,n){'__proto__'==t&&Ll?Ll(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Il=Ol,Nl=Oa;var Tl=function(e,t,n){(void 0!==n&&!Nl(e[t],n)||void 0===n&&!(t in e))&&Il(e,t,n)};var Ml=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var A=s[e?a:++i];if(!1===n(o[A],A,o))break}return t}},Pl=Ml(),Dl={exports:{}};!function(e,t){var n=rA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}(Dl,Dl.exports);var Rl=Dl.exports,Hl=rA.Uint8Array,zl=Hl;var Kl=function(e){var t=new e.constructor(e.byteLength);return new zl(t).set(new zl(e)),t},Vl=Kl;var ql=function(e,t){var n=t?Vl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Gl=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Wl=gA,Yl=Object.create,Xl=function(){function e(){}return function(t){if(!Wl(t))return{};if(Yl)return Yl(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Jl=Xl;var Zl=function(e,t){return function(n){return e(t(n))}},$l=Zl(Object.getPrototypeOf,Object),ec=Object.prototype;var tc=function(e){var t=e&&e.constructor;return e===('function'==typeof t&&t.prototype||ec)},nc=Jl,rc=$l,ic=tc;var oc=function(e){return'function'!=typeof e.constructor||ic(e)?{}:nc(rc(e))};var sc=function(e){return null!=e&&'object'==typeof e},ac=pA,Ac=sc;var lc=function(e){return Ac(e)&&'[object Arguments]'==ac(e)},cc=sc,uc=Object.prototype,dc=uc.hasOwnProperty,fc=uc.propertyIsEnumerable,hc=lc(function(){return arguments}())?lc:function(e){return cc(e)&&dc.call(e,'callee')&&!fc.call(e,'callee')},pc=Array.isArray;var gc=function(e){return'number'==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},mc=yA,vc=gc;var bc=function(e){return null!=e&&vc(e.length)&&!mc(e)},yc=bc,wc=sc;var Bc=function(e){return wc(e)&&yc(e)},xc={exports:{}};var Cc=function(){return!1};!function(e,t){var n=rA,r=Cc,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(xc,xc.exports);var _c=xc.exports,jc=pA,Fc=$l,Ec=sc,Sc=Function.prototype,kc=Object.prototype,Uc=Sc.toString,Qc=kc.hasOwnProperty,Lc=Uc.call(Object);var Oc=function(e){if(!Ec(e)||'[object Object]'!=jc(e))return!1;var t=Fc(e);if(null===t)return!0;var n=Qc.call(t,'constructor')&&t.constructor;return'function'==typeof n&&n instanceof n&&Uc.call(n)==Lc},Ic=rr(Oc),Nc=pA,Tc=gc,Mc=sc,Pc={};Pc['[object Float32Array]']=Pc['[object Float64Array]']=Pc['[object Int8Array]']=Pc['[object Int16Array]']=Pc['[object Int32Array]']=Pc['[object Uint8Array]']=Pc['[object Uint8ClampedArray]']=Pc['[object Uint16Array]']=Pc['[object Uint32Array]']=!0,Pc['[object Arguments]']=Pc['[object Array]']=Pc['[object ArrayBuffer]']=Pc['[object Boolean]']=Pc['[object DataView]']=Pc['[object Date]']=Pc['[object Error]']=Pc['[object Function]']=Pc['[object Map]']=Pc['[object Number]']=Pc['[object Object]']=Pc['[object RegExp]']=Pc['[object Set]']=Pc['[object String]']=Pc['[object WeakMap]']=!1;var Dc=function(e){return Mc(e)&&Tc(e.length)&&!!Pc[Nc(e)]};var Rc=function(e){return function(t){return e(t)}},Hc={exports:{}};!function(e,t){var n=eA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require('util').types;return e||o&&o.binding&&o.binding('util')}catch(e){}}();e.exports=s}(Hc,Hc.exports);var zc=Hc.exports,Kc=Dc,Vc=Rc,qc=zc&&zc.isTypedArray,Gc=qc?Vc(qc):Kc;var Wc=function(e,t){if(('constructor'!==t||'function'!=typeof e[t])&&'__proto__'!=t)return e[t]},Yc=Ol,Xc=Oa,Jc=Object.prototype.hasOwnProperty;var Zc=function(e,t,n){var r=e[t];Jc.call(e,t)&&Xc(r,n)&&(void 0!==n||t in e)||Yc(e,t,n)},$c=Zc,eu=Ol;var tu=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],A=r?r(n[a],e[a],a,n,e):void 0;void 0===A&&(A=e[a]),i?eu(n,a,A):$c(n,a,A)}return n};var nu=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},ru=/^(?:0|[1-9]\d*)$/;var iu=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&('number'==n||'symbol'!=n&&ru.test(e))&&e>-1&&e%1==0&&e<t},ou=nu,su=hc,au=pc,Au=_c,lu=iu,cu=Gc,uu=Object.prototype.hasOwnProperty;var du=function(e,t){var n=au(e),r=!n&&su(e),i=!n&&!r&&Au(e),o=!n&&!r&&!i&&cu(e),s=n||r||i||o,a=s?ou(e.length,String):[],A=a.length;for(var l in e)!t&&!uu.call(e,l)||s&&('length'==l||i&&('offset'==l||'parent'==l)||o&&('buffer'==l||'byteLength'==l||'byteOffset'==l)||lu(l,A))||a.push(l);return a};var fu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},hu=gA,pu=tc,gu=fu,mu=Object.prototype.hasOwnProperty;var vu=function(e){if(!hu(e))return gu(e);var t=pu(e),n=[];for(var r in e)('constructor'!=r||!t&&mu.call(e,r))&&n.push(r);return n},bu=du,yu=vu,wu=bc;var Bu=function(e){return wu(e)?bu(e,!0):yu(e)},xu=tu,Cu=Bu;var _u=Tl,ju=Rl,Fu=ql,Eu=Gl,Su=oc,ku=hc,Uu=pc,Qu=Bc,Lu=_c,Ou=yA,Iu=gA,Nu=Oc,Tu=Gc,Mu=Wc,Pu=function(e){return xu(e,Cu(e))};var Du=function(e,t,n,r,i,o,s){var a=Mu(e,n),A=Mu(t,n),l=s.get(A);if(l)_u(e,n,l);else{var c=o?o(a,A,n+'',e,t,s):void 0,u=void 0===c;if(u){var d=Uu(A),f=!d&&Lu(A),h=!d&&!f&&Tu(A);c=A,d||f||h?Uu(a)?c=a:Qu(a)?c=Eu(a):f?(u=!1,c=ju(A,!0)):h?(u=!1,c=Fu(A,!0)):c=[]:Nu(A)||ku(A)?(c=a,ku(a)?c=Pu(a):Iu(a)&&!Ou(a)||(c=Su(A))):u=!1}u&&(s.set(A,c),i(c,A,r,o,s),s.delete(A)),_u(e,n,c)}},Ru=kl,Hu=Tl,zu=Pl,Ku=Du,Vu=gA,qu=Bu,Gu=Wc;var Wu=function e(t,n,r,i,o){t!==n&&zu(n,function(s,a){if(o||(o=new Ru),Vu(s))Ku(t,n,a,r,e,i,o);else{var A=i?i(Gu(t,a),s,a+'',t,n,o):void 0;void 0===A&&(A=s),Hu(t,a,A)}},qu)};var Yu=function(e){return e};var Xu=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Ju=Math.max;var Zu=function(e,t,n){return t=Ju(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Ju(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),Xu(e,this,a)}};var $u=function(e){return function(){return e}},ed=Ql,td=ed?function(e,t){return ed(e,'toString',{configurable:!0,enumerable:!1,value:$u(t),writable:!0})}:Yu,nd=td,rd=Date.now;var id=function(e){var t=0,n=0;return function(){var r=rd(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nd),od=Yu,sd=Zu,ad=id;var Ad=function(e,t){return ad(sd(e,t,od),e+'')},ld=Oa,cd=bc,ud=iu,dd=gA;var fd=function(e,t,n){if(!dd(n))return!1;var r=typeof t;return!!('number'==r?cd(n)&&ud(t,n.length):'string'==r&&t in n)&&ld(n[t],e)},hd=Ad,pd=fd;var gd=function(e){return hd(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&'function'==typeof o?(i--,o):void 0,s&&pd(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t})},md=Wu,vd=gd(function(e,t,n){md(e,t,n)}),bd=rr(vd),yd=pA,wd=sc;var Bd=function(e){return'symbol'==typeof e||wd(e)&&'[object Symbol]'==yd(e)},xd=pc,Cd=Bd,_d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jd=/^\w*$/;var Fd=function(e,t){if(xd(e))return!1;var n=typeof e;return!('number'!=n&&'symbol'!=n&&'boolean'!=n&&null!=e&&!Cd(e))||(jd.test(e)||!_d.test(e)||null!=t&&e in Object(t))},Ed=bl;function Sd(e,t){if('function'!=typeof e||null!=t&&'function'!=typeof t)throw new TypeError('Expected a function');var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Sd.Cache||Ed),n}Sd.Cache=Ed;var kd=Sd;var Ud=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qd=/\\(\\)?/g,Ld=function(e){var t=kd(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(''),e.replace(Ud,function(e,n,r,i){t.push(r?i.replace(Qd,'$1'):n||e)}),t}),Od=Ld;var Id=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Nd=Id,Td=pc,Md=Bd,Pd=iA?iA.prototype:void 0,Dd=Pd?Pd.toString:void 0;var Rd=function e(t){if('string'==typeof t)return t;if(Td(t))return Nd(t,e)+'';if(Md(t))return Dd?Dd.call(t):'';var n=t+'';return'0'==n&&1/t==-1/0?'-0':n},Hd=Rd;var zd=pc,Kd=Fd,Vd=Od,qd=function(e){return null==e?'':Hd(e)};var Gd=function(e,t){return zd(e)?e:Kd(e,t)?[e]:Vd(qd(e))},Wd=Bd;var Yd=function(e){if('string'==typeof e||Wd(e))return e;var t=e+'';return'0'==t&&1/e==-1/0?'-0':t},Xd=Gd,Jd=Yd;var Zd=function(e,t){for(var n=0,r=(t=Xd(t,e)).length;null!=e&&n<r;)e=e[Jd(t[n++])];return n&&n==r?e:void 0},$d=Zd;var ef=function(e,t,n){var r=null==e?void 0:$d(e,t);return void 0===r?n:r},tf=rr(ef),nf=Zc,rf=Gd,of=iu,sf=gA,af=Yd;var Af=function(e,t,n,r){if(!sf(e))return e;for(var i=-1,o=(t=rf(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var A=af(t[i]),l=n;if('__proto__'===A||'constructor'===A||'prototype'===A)return e;if(i!=s){var c=a[A];void 0===(l=r?r(c,A,a):void 0)&&(l=sf(c)?c:of(t[i+1])?[]:{})}nf(a,A,l),a=a[A]}return e},lf=Af;var cf=function(e,t,n){return null==e?e:lf(e,t,n)},uf=rr(cf);function df(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ff(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function hf(){}var pf=.7,gf=1/pf,mf='\\s*([+-]?\\d+)\\s*',vf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*',bf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*',yf=/^#([0-9a-f]{3,8})$/,wf=new RegExp(`^rgb\\(${mf},${mf},${mf}\\)$`),Bf=new RegExp(`^rgb\\(${bf},${bf},${bf}\\)$`),xf=new RegExp(`^rgba\\(${mf},${mf},${mf},${vf}\\)$`),Cf=new RegExp(`^rgba\\(${bf},${bf},${bf},${vf}\\)$`),_f=new RegExp(`^hsl\\(${vf},${bf},${bf}\\)$`),jf=new RegExp(`^hsla\\(${vf},${bf},${bf},${vf}\\)$`),Ff={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};function Ef(){return this.rgb().formatHex()}function Sf(){return this.rgb().formatRgb()}function kf(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=yf.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Uf(t):3===n?new Of(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Qf(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Qf(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=wf.exec(e))?new Of(t[1],t[2],t[3],1):(t=Bf.exec(e))?new Of(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xf.exec(e))?Qf(t[1],t[2],t[3],t[4]):(t=Cf.exec(e))?Qf(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=_f.exec(e))?Df(t[1],t[2]/100,t[3]/100,1):(t=jf.exec(e))?Df(t[1],t[2]/100,t[3]/100,t[4]):Ff.hasOwnProperty(e)?Uf(Ff[e]):'transparent'===e?new Of(NaN,NaN,NaN,0):null}function Uf(e){return new Of(e>>16&255,e>>8&255,255&e,1)}function Qf(e,t,n,r){return r<=0&&(e=t=n=NaN),new Of(e,t,n,r)}function Lf(e,t,n,r){return 1===arguments.length?function(e){return e instanceof hf||(e=kf(e)),e?new Of((e=e.rgb()).r,e.g,e.b,e.opacity):new Of}(e):new Of(e,t,n,null==r?1:r)}function Of(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function If(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}`}function Nf(){const e=Tf(this.opacity);return`${1===e?'rgb(':'rgba('}${Mf(this.r)}, ${Mf(this.g)}, ${Mf(this.b)}${1===e?')':`, ${e})`}`}function Tf(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Mf(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Pf(e){return((e=Mf(e))<16?'0':'')+e.toString(16)}function Df(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hf(e,t,n,r)}function Rf(e){if(e instanceof Hf)return new Hf(e.h,e.s,e.l,e.opacity);if(e instanceof hf||(e=kf(e)),!e)return new Hf;if(e instanceof Hf)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Hf(s,a,A,e.opacity)}function Hf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function zf(e){return(e=(e||0)%360)<0?e+360:e}function Kf(e){return Math.max(0,Math.min(1,e||0))}function Vf(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}df(hf,kf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ef,formatHex:Ef,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rf(this).formatHsl()},formatRgb:Sf,toString:Sf}),df(Of,Lf,ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Of(Mf(this.r),Mf(this.g),Mf(this.b),Tf(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:If,formatHex:If,formatHex8:function(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}${Pf(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Nf,toString:Nf})),df(Hf,function(e,t,n,r){return 1===arguments.length?Rf(e):new Hf(e,t,n,null==r?1:r)},ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Of(Vf(e>=240?e-240:e+120,i,r),Vf(e,i,r),Vf(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Hf(zf(this.h),Kf(this.s),Kf(this.l),Tf(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Tf(this.opacity);return`${1===e?'hsl(':'hsla('}${zf(this.h)}, ${100*Kf(this.s)}%, ${100*Kf(this.l)}%${1===e?')':`, ${e})`}`}}));var qf=e=>()=>e;function Gf(e){return 1===(e=+e)?Wf:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):qf(isNaN(t)?n:t)}}function Wf(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):qf(isNaN(e)?t:e)}!function e(t){var n=Gf(t);function r(e,t){var r=n((e=Lf(e)).r,(t=Lf(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=Wf(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var Yf,Xf=(Yf=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),s=new Array(r);for(t=0;t<r;++t)n=Lf(e[t]),i[t]=n.r||0,o[t]=n.g||0,s[t]=n.b||0;return i=Yf(i),o=Yf(o),s=Yf(s),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=s(e),n+''}});function Jf(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Zf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$f=new RegExp(Zf.source,'g');var eh=pA,th=pc,nh=sc;var rh=rr(function(e){return'string'==typeof e||!th(e)&&nh(e)&&'[object String]'==eh(e)});var ih=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},oh=rr(ih);function sh(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ah(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)<0?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>sh(e(t),n)}(e)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);const s=r(e,n,i,o-1);return s>i&&t(e[s-1],n)>-t(e[s],n)?s-1:s},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}const Ah=ah(sh).right;ah(function(e){return null===e?NaN:+e}).center;var lh=Ah,ch=Math.sqrt(50),uh=Math.sqrt(10),dh=Math.sqrt(2);function fh(e,t,n){var r,i,o,s,a=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=hh(e,t,n))||!isFinite(s))return[];if(s>0){let n=Math.round(e/s),r=Math.round(t/s);for(n*s<e&&++n,r*s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)*s}else{s=-s;let n=Math.round(e*s),r=Math.round(t*s);for(n/s<e&&++n,r/s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)/s}return r&&o.reverse(),o}function hh(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ch?10:o>=uh?5:o>=dh?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ch?10:o>=uh?5:o>=dh?2:1)}function ph(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ch?i*=10:o>=uh?i*=5:o>=dh&&(i*=2),t<e?-i:i}function gh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const mh=Symbol('implicit');function vh(){var e=new Map,t=[],n=[],r=mh;function i(i){var o=i+'',s=e.get(o);if(!s){if(r!==mh)return r;e.set(o,s=t.push(i))}return n[(s-1)%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+'';e.has(n)||e.set(n,t.push(r))}return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return vh(t,n).unknown(r)},gh.apply(i,arguments),i}function bh(){var e,t,n=vh().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,A=0,l=0,c=.5;function u(){var n=r().length,u=s<o,d=u?s:o,f=u?o:s;e=(f-d)/Math.max(1,n-A+2*l),a&&(e=Math.floor(e)),d+=(f-d-e*(n-A))*c,t=e*(1-A),a&&(d=Math.round(d),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return d+e*t});return i(u?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),u()):r()},n.range=function(e){return arguments.length?([o,s]=e,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(e){return[o,s]=e,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,u()):a},n.padding=function(e){return arguments.length?(A=Math.min(1,l=+e),u()):A},n.paddingInner=function(e){return arguments.length?(A=Math.min(1,e),u()):A},n.paddingOuter=function(e){return arguments.length?(l=+e,u()):l},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),u()):c},n.copy=function(){return bh(r(),[o,s]).round(a).paddingInner(A).paddingOuter(l).align(c)},gh.apply(u(),arguments)}function yh(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return yh(t())},e}function wh(){return yh(bh.apply(null,arguments).paddingInner(1))}function Bh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function xh(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Ch(){}var _h=.7,jh=1/_h,Fh='\\s*([+-]?\\d+)\\s*',Eh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',Sh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',kh=/^#([0-9a-f]{3,8})$/,Uh=new RegExp('^rgb\\('+[Fh,Fh,Fh]+'\\)$'),Qh=new RegExp('^rgb\\('+[Sh,Sh,Sh]+'\\)$'),Lh=new RegExp('^rgba\\('+[Fh,Fh,Fh,Eh]+'\\)$'),Oh=new RegExp('^rgba\\('+[Sh,Sh,Sh,Eh]+'\\)$'),Ih=new RegExp('^hsl\\('+[Eh,Sh,Sh]+'\\)$'),Nh=new RegExp('^hsla\\('+[Eh,Sh,Sh,Eh]+'\\)$'),Th={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};function Mh(){return this.rgb().formatHex()}function Ph(){return this.rgb().formatRgb()}function Dh(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=kh.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Rh(t):3===n?new Vh(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Hh(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Hh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Uh.exec(e))?new Vh(t[1],t[2],t[3],1):(t=Qh.exec(e))?new Vh(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Lh.exec(e))?Hh(t[1],t[2],t[3],t[4]):(t=Oh.exec(e))?Hh(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ih.exec(e))?Yh(t[1],t[2]/100,t[3]/100,1):(t=Nh.exec(e))?Yh(t[1],t[2]/100,t[3]/100,t[4]):Th.hasOwnProperty(e)?Rh(Th[e]):'transparent'===e?new Vh(NaN,NaN,NaN,0):null}function Rh(e){return new Vh(e>>16&255,e>>8&255,255&e,1)}function Hh(e,t,n,r){return r<=0&&(e=t=n=NaN),new Vh(e,t,n,r)}function zh(e){return e instanceof Ch||(e=Dh(e)),e?new Vh((e=e.rgb()).r,e.g,e.b,e.opacity):new Vh}function Kh(e,t,n,r){return 1===arguments.length?zh(e):new Vh(e,t,n,null==r?1:r)}function Vh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qh(){return'#'+Wh(this.r)+Wh(this.g)+Wh(this.b)}function Gh(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'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))+(1===e?')':', '+e+')')}function Wh(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function Yh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Jh(e,t,n,r)}function Xh(e){if(e instanceof Jh)return new Jh(e.h,e.s,e.l,e.opacity);if(e instanceof Ch||(e=Dh(e)),!e)return new Jh;if(e instanceof Jh)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Jh(s,a,A,e.opacity)}function Jh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Zh(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Bh(Ch,Dh,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Mh,formatHex:Mh,formatHsl:function(){return Xh(this).formatHsl()},formatRgb:Ph,toString:Ph}),Bh(Vh,Kh,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Vh(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Vh(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:qh,formatHex:qh,formatRgb:Gh,toString:Gh})),Bh(Jh,function(e,t,n,r){return 1===arguments.length?Xh(e):new Jh(e,t,n,null==r?1:r)},xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Jh(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Jh(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Vh(Zh(e>=240?e-240:e+120,i,r),Zh(e,i,r),Zh(e<120?e+240:e-120,i,r),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(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'hsl(':'hsla(')+(this.h||0)+', '+100*(this.s||0)+'%, '+100*(this.l||0)+'%'+(1===e?')':', '+e+')')}}));const $h=Math.PI/180,ep=180/Math.PI;var tp=-.14861,np=1.78277,rp=-.29227,ip=-.90649,op=1.97294,sp=op*ip,ap=op*np,Ap=np*rp-ip*tp;function lp(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof cp)return new cp(e.h,e.s,e.l,e.opacity);e instanceof Vh||(e=zh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Ap*r+sp*t-ap*n)/-5.9615122912,o=r-i,s=(op*(n-i)-rp*o)/ip,a=Math.sqrt(s*s+o*o)/(op*i*(1-i)),A=a?Math.atan2(s,o)*ep-120:NaN;return new cp(A<0?A+360:A,a,i,e.opacity)}(e):new cp(e,t,n,null==r?1:r)}function cp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Bh(cp,lp,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new cp(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new cp(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*$h,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Vh(255*(t+n*(tp*r+np*i)),255*(t+n*(rp*r+ip*i)),255*(t+n*(op*r)),this.opacity)}}));var up=e=>()=>e;function dp(e,t){return function(n){return e+n*t}}function fp(e){return 1===(e=+e)?hp:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):up(isNaN(t)?n:t)}}function hp(e,t){var n=t-e;return n?dp(e,n):up(isNaN(e)?t:e)}var pp=function e(t){var n=fp(t);function r(e,t){var r=n((e=Kh(e)).r,(t=Kh(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=hp(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var gp=function(e){return function(t){var n,r,i=t.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Kh(t[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=e(o),s=e(s),a=e(a),r.opacity=1,function(e){return r.r=o(e),r.g=s(e),r.b=a(e),r+''}}}(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}});function mp(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function vp(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=_p(e[n],t[n]);for(;n<r;++n)s[n]=t[n];return function(e){for(n=0;n<i;++n)s[n]=o[n](e);return s}}function bp(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function yp(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function wp(e,t){var n,r={},i={};for(n in null!==e&&'object'==typeof e||(e={}),null!==t&&'object'==typeof t||(t={}),t)n in e?r[n]=_p(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Bp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xp=new RegExp(Bp.source,'g');function Cp(e,t){var n,r,i,o=Bp.lastIndex=xp.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Bp.exec(e))&&(r=xp.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:yp(n,r)})),o=xp.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}function _p(e,t){var n,r=typeof t;return null==t||'boolean'===r?up(t):('number'===r?yp:'string'===r?(n=Dh(t))?(t=n,pp):Cp:t instanceof Dh?pp:t instanceof Date?bp:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?mp:Array.isArray(t)?vp:'function'!=typeof t.valueOf&&'function'!=typeof t.toString||isNaN(t)?wp:yp)(e,t)}function jp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Fp(e){return function t(n){function r(t,r){var i=e((t=lp(t)).h,(r=lp(r)).h),o=hp(t.s,r.s),s=hp(t.l,r.l),a=hp(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=s(Math.pow(e,n)),t.opacity=a(e),t+''}}return n=+n,r.gamma=t,r}(1)}Fp(function(e,t){var n=t-e;return n?dp(e,n>180||n<-180?n-360*Math.round(n/360):n):up(isNaN(e)?t:e)});var Ep=Fp(hp);function Sp(e){return+e}var kp=[0,1];function Up(e){return e}function Qp(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Lp(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=Qp(i,r),o=n(s,o)):(r=Qp(r,i),o=n(o,s)),function(e){return o(r(e))}}function Op(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=Qp(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(t){var n=lh(e,t,1,r)-1;return o[n](i[n](t))}}function Ip(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Np(){var e,t,n,r,i,o,s=kp,a=kp,A=_p,l=Up;function c(){var e=Math.min(s.length,a.length);return l!==Up&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(s[0],s[e-1])),r=e>2?Op:Lp,i=o=null,u}function u(t){return null==t||isNaN(t=+t)?n:(i||(i=r(s.map(e),a,A)))(e(l(t)))}return u.invert=function(n){return l(t((o||(o=r(a,s.map(e),yp)))(n)))},u.domain=function(e){return arguments.length?(s=Array.from(e,Sp),c()):s.slice()},u.range=function(e){return arguments.length?(a=Array.from(e),c()):a.slice()},u.rangeRound=function(e){return a=Array.from(e),A=jp,c()},u.clamp=function(e){return arguments.length?(l=!!e||Up,c()):l!==Up},u.interpolate=function(e){return arguments.length?(A=e,c()):A},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,c()}}function Tp(){return Np()(Up,Up)}function Mp(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf('e'))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Pp(e){return(e=Mp(Math.abs(e)))?e[1]:NaN}var Dp,Rp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hp(e){if(!(t=Rp.exec(e)))throw new Error('invalid format: '+e);var t;return new zp({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]})}function zp(e){this.fill=void 0===e.fill?' ':e.fill+'',this.align=void 0===e.align?'>':e.align+'',this.sign=void 0===e.sign?'-':e.sign+'',this.symbol=void 0===e.symbol?'':e.symbol+'',this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?'':e.type+''}function Kp(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Hp.prototype=zp.prototype,zp.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?'0':'')+(void 0===this.width?'':Math.max(1,0|this.width))+(this.comma?',':'')+(void 0===this.precision?'':'.'+Math.max(0,0|this.precision))+(this.trim?'~':'')+this.type};var Vp={'%':(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+'',d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Kp(100*e,t),r:Kp,s:function(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(Dp=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+Mp(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function qp(e){return e}var Gp,Wp,Yp,Xp=Array.prototype.map,Jp=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function Zp(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?qp:(t=Xp.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?qp:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Xp.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'−':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Hp(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):Vp[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=Vp[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?Jp[8+Dp/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Hp(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3))),i=Math.pow(10,-r),o=Jp[8+r/3];return function(e){return n(i*e)+o}}}}function $p(e,t,n,r){var i,o=ph(e,t,n);switch((r=Hp(null==r?',f':r)).type){case's':var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3)))-Pp(Math.abs(e)))}(o,s))||(r.precision=i),Yp(r,s);case'':case'e':case'g':case'p':case'r':null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pp(t)-Pp(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-('e'===r.type));break;case'f':case'%':null!=r.precision||isNaN(i=function(e){return Math.max(0,-Pp(Math.abs(e)))}(o))||(r.precision=i-2*('%'===r.type))}return Wp(r)}function eg(e){var t=e.domain;return e.ticks=function(e){var n=t();return fh(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return $p(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),s=0,a=o.length-1,A=o[s],l=o[a],c=10;for(l<A&&(i=A,A=l,l=i,i=s,s=a,a=i);c-- >0;){if((i=hh(A,l,n))===r)return o[s]=A,o[a]=l,t(o);if(i>0)A=Math.floor(A/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;A=Math.ceil(A*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function tg(){var e=Tp();return e.copy=function(){return Ip(e,tg())},gh.apply(e,arguments),eg(e)}function ng(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],s=e[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),e[r]=t.floor(o),e[i]=t.ceil(s),e}function rg(e){return Math.log(e)}function ig(e){return Math.exp(e)}function og(e){return-Math.log(-e)}function sg(e){return-Math.exp(-e)}function ag(e){return isFinite(e)?+('1e'+e):e<0?0:e}function Ag(e){return function(t){return-e(-t)}}function lg(e){var t,n,r=e(rg,ig),i=r.domain,o=10;function s(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?ag:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Ag(t),n=Ag(n),e(og,sg)):e(rg,ig),r}return r.base=function(e){return arguments.length?(o=+e,s()):o},r.domain=function(e){return arguments.length?(i(e),s()):i()},r.ticks=function(e){var r,s=i(),a=s[0],A=s[s.length-1];(r=A<a)&&(d=a,a=A,A=d);var l,c,u,d=t(a),f=t(A),h=null==e?10:+e,p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1,l=n(d);c<o;++c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1,l=n(d);c>=1;--c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}2*p.length<h&&(p=fh(a,A,h))}else p=fh(d,f,Math.min(f-d,h)).map(n);return r?p.reverse():p},r.tickFormat=function(e,i){if(null==i&&(i=10===o?'.0e':','),'function'!=typeof i&&(i=Wp(i)),e===1/0)return i;null==e&&(e=10);var s=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=s?i(e):''}},r.nice=function(){return i(ng(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function cg(){var e=lg(Np()).domain([1,10]);return e.copy=function(){return Ip(e,cg()).base(e.base())},gh.apply(e,arguments),e}function ug(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function dg(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function fg(){var e=function(e){var t=1,n=e(ug(t),dg(t));return n.constant=function(n){return arguments.length?e(ug(t=+n),dg(t)):t},eg(n)}(Np());return e.copy=function(){return Ip(e,fg()).constant(e.constant())},gh.apply(e,arguments)}Gp=Zp({thousands:',',grouping:[3],currency:['$','']}),Wp=Gp.format,Yp=Gp.formatPrefix;var hg=new Date,pg=new Date;function gg(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return gg(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return hg.setTime(+t),pg.setTime(+r),e(hg),e(pg),Math.floor(n(hg,pg))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var mg=gg(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});mg.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?gg(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):mg:null};var vg=mg;mg.range;const bg=1e3,yg=6e4,wg=36e5,Bg=864e5,xg=6048e5,Cg=2592e6,_g=31536e6;var jg=gg(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*bg)},function(e,t){return(t-e)/bg},function(e){return e.getUTCSeconds()}),Fg=jg;jg.range;var Eg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getMinutes()}),Sg=Eg;Eg.range;var kg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg-e.getMinutes()*yg)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getHours()}),Ug=kg;kg.range;var Qg=gg(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/Bg,e=>e.getDate()-1),Lg=Qg;function Og(e){return gg(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/xg})}Qg.range;var Ig=Og(0),Ng=Og(1),Tg=Og(2),Mg=Og(3),Pg=Og(4),Dg=Og(5),Rg=Og(6);Ig.range,Ng.range,Tg.range,Mg.range,Pg.range,Dg.range,Rg.range;var Hg=gg(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()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),zg=Hg;Hg.range;var Kg=gg(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()});Kg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Vg=Kg;Kg.range;var qg=gg(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getUTCMinutes()}),Gg=qg;qg.range;var Wg=gg(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getUTCHours()}),Yg=Wg;Wg.range;var Xg=gg(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/Bg},function(e){return e.getUTCDate()-1}),Jg=Xg;function Zg(e){return gg(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/xg})}Xg.range;var $g=Zg(0),em=Zg(1),tm=Zg(2),nm=Zg(3),rm=Zg(4),im=Zg(5),om=Zg(6);$g.range,em.range,tm.range,nm.range,rm.range,im.range,om.range;var sm=gg(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()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),am=sm;sm.range;var Am=gg(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()});Am.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var lm=Am;function cm(e,t,n,r,i,o){const s=[[Fg,1,bg],[Fg,5,5e3],[Fg,15,15e3],[Fg,30,3e4],[o,1,yg],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,wg],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Bg],[r,2,1728e5],[n,1,xg],[t,1,Cg],[t,3,7776e6],[e,1,_g]];function a(t,n,r){const i=Math.abs(n-t)/r,o=ah(([,,e])=>e).right(s,i);if(o===s.length)return e.every(ph(t/_g,n/_g,r));if(0===o)return vg.every(Math.max(ph(t,n,r),1));const[a,A]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(A)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&'function'==typeof n.range?n:a(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},a]}Am.range;const[um,dm]=cm(lm,am,$g,Jg,Yg,Gg),[fm,hm]=cm(Vg,zg,Ig,Lg,Ug,Sg);function pm(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 gm(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 mm(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var vm,bm,ym,wm,Bm,xm={'-':'',_:' ',0:'0'},Cm=/^\s*\d+/,_m=/^%/,jm=/[\\^$*+?|[\]().{}]/g;function Fm(e,t,n){var r=e<0?'-':'',i=(r?-e:e)+'',o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Em(e){return e.replace(jm,'\\$&')}function Sm(e){return new RegExp('^(?:'+e.map(Em).join('|')+')','i')}function km(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Um(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Om(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Im(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Nm(e,t,n){var r=Cm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Tm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mm(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||'00')),n+r[0].length):-1}function Pm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Rm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function zm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Km(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Vm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function qm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gm(e,t,n){var r=Cm.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Wm(e,t,n){var r=_m.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ym(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Xm(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Jm(e,t){return Fm(e.getDate(),t,2)}function Zm(e,t){return Fm(e.getHours(),t,2)}function $m(e,t){return Fm(e.getHours()%12||12,t,2)}function ev(e,t){return Fm(1+Lg.count(Vg(e),e),t,3)}function tv(e,t){return Fm(e.getMilliseconds(),t,3)}function nv(e,t){return tv(e,t)+'000'}function rv(e,t){return Fm(e.getMonth()+1,t,2)}function iv(e,t){return Fm(e.getMinutes(),t,2)}function ov(e,t){return Fm(e.getSeconds(),t,2)}function sv(e){var t=e.getDay();return 0===t?7:t}function av(e,t){return Fm(Ig.count(Vg(e)-1,e),t,2)}function Av(e){var t=e.getDay();return t>=4||0===t?Pg(e):Pg.ceil(e)}function lv(e,t){return e=Av(e),Fm(Pg.count(Vg(e),e)+(4===Vg(e).getDay()),t,2)}function cv(e){return e.getDay()}function uv(e,t){return Fm(Ng.count(Vg(e)-1,e),t,2)}function dv(e,t){return Fm(e.getFullYear()%100,t,2)}function fv(e,t){return Fm((e=Av(e)).getFullYear()%100,t,2)}function hv(e,t){return Fm(e.getFullYear()%1e4,t,4)}function pv(e,t){var n=e.getDay();return Fm((e=n>=4||0===n?Pg(e):Pg.ceil(e)).getFullYear()%1e4,t,4)}function gv(e){var t=e.getTimezoneOffset();return(t>0?'-':(t*=-1,'+'))+Fm(t/60|0,'0',2)+Fm(t%60,'0',2)}function mv(e,t){return Fm(e.getUTCDate(),t,2)}function vv(e,t){return Fm(e.getUTCHours(),t,2)}function bv(e,t){return Fm(e.getUTCHours()%12||12,t,2)}function yv(e,t){return Fm(1+Jg.count(lm(e),e),t,3)}function wv(e,t){return Fm(e.getUTCMilliseconds(),t,3)}function Bv(e,t){return wv(e,t)+'000'}function xv(e,t){return Fm(e.getUTCMonth()+1,t,2)}function Cv(e,t){return Fm(e.getUTCMinutes(),t,2)}function _v(e,t){return Fm(e.getUTCSeconds(),t,2)}function jv(e){var t=e.getUTCDay();return 0===t?7:t}function Fv(e,t){return Fm($g.count(lm(e)-1,e),t,2)}function Ev(e){var t=e.getUTCDay();return t>=4||0===t?rm(e):rm.ceil(e)}function Sv(e,t){return e=Ev(e),Fm(rm.count(lm(e),e)+(4===lm(e).getUTCDay()),t,2)}function kv(e){return e.getUTCDay()}function Uv(e,t){return Fm(em.count(lm(e)-1,e),t,2)}function Qv(e,t){return Fm(e.getUTCFullYear()%100,t,2)}function Lv(e,t){return Fm((e=Ev(e)).getUTCFullYear()%100,t,2)}function Ov(e,t){return Fm(e.getUTCFullYear()%1e4,t,4)}function Iv(e,t){var n=e.getUTCDay();return Fm((e=n>=4||0===n?rm(e):rm.ceil(e)).getUTCFullYear()%1e4,t,4)}function Nv(){return'+0000'}function Tv(){return'%'}function Mv(e){return+e}function Pv(e){return Math.floor(+e/1e3)}function Dv(e){return new Date(e)}function Rv(e){return e instanceof Date?+e:+new Date(+e)}function Hv(e,t,n,r,i,o,s,a,A,l){var c=Tp(),u=c.invert,d=c.domain,f=l('.%L'),h=l(':%S'),p=l('%I:%M'),g=l('%I %p'),m=l('%a %d'),v=l('%b %d'),b=l('%B'),y=l('%Y');function w(e){return(A(e)<e?f:a(e)<e?h:s(e)<e?p:o(e)<e?g:r(e)<e?i(e)<e?m:v:n(e)<e?b:y)(e)}return c.invert=function(e){return new Date(u(e))},c.domain=function(e){return arguments.length?d(Array.from(e,Rv)):d().map(Dv)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?w:l(t)},c.nice=function(e){var n=d();return e&&'function'==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(ng(n,e)):c},c.copy=function(){return Ip(c,Hv(e,t,n,r,i,o,s,a,A,l))},c}function zv(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}!function(e){vm=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,A=e.shortMonths,l=Sm(i),c=km(i),u=Sm(o),d=km(o),f=Sm(s),h=km(s),p=Sm(a),g=km(a),m=Sm(A),v=km(A),b={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return A[e.getMonth()]},B:function(e){return a[e.getMonth()]},c:null,d:Jm,e:Jm,f:nv,g:fv,G:pv,H:Zm,I:$m,j:ev,L:tv,m:rv,M:iv,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Mv,s:Pv,S:ov,u:sv,U:av,V:lv,w:cv,W:uv,x:null,X:null,y:dv,Y:hv,Z:gv,'%':Tv},y={a:function(e){return s[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return A[e.getUTCMonth()]},B:function(e){return a[e.getUTCMonth()]},c:null,d:mv,e:mv,f:Bv,g:Lv,G:Iv,H:vv,I:bv,j:yv,L:wv,m:xv,M:Cv,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Mv,s:Pv,S:_v,u:jv,U:Fv,V:Sv,w:kv,W:Uv,x:null,X:null,y:Qv,Y:Ov,Z:Nv,'%':Tv},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Rm,e:Rm,f:Gm,g:Tm,G:Nm,H:zm,I:zm,j:Hm,L:qm,m:Dm,M:Km,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:Pm,Q:Ym,s:Xm,S:Vm,u:Qm,U:Lm,V:Om,w:Um,W:Im,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Tm,Y:Nm,Z:Mm,'%':Wm};function B(e,t){return function(n){var r,i,o,s=[],a=-1,A=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++a<l;)37===e.charCodeAt(a)&&(s.push(e.slice(A,a)),null!=(i=xm[r=e.charAt(++a)])?r=e.charAt(++a):i='e'===r?' ':'0',(o=t[r])&&(r=o(n,i)),s.push(r),A=a+1);return s.push(e.slice(A,a)),s.join('')}}function x(e,t){return function(n){var r,i,o=mm(1900,void 0,1);if(C(o,e,n+='',0)!=n.length)return null;if('Q'in o)return new Date(o.Q);if('s'in o)return new Date(1e3*o.s+('L'in o?o.L:0));if(t&&!('Z'in o)&&(o.Z=0),'p'in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m='q'in o?o.q:0),'V'in o){if(o.V<1||o.V>53)return null;'w'in o||(o.w=1),'Z'in o?(i=(r=gm(mm(o.y,0,1))).getUTCDay(),r=i>4||0===i?em.ceil(r):em(r),r=Jg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=pm(mm(o.y,0,1))).getDay(),r=i>4||0===i?Ng.ceil(r):Ng(r),r=Lg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else('W'in o||'U'in o)&&('w'in o||(o.w='u'in o?o.u%7:'W'in o?1:0),i='Z'in o?gm(mm(o.y,0,1)).getUTCDay():pm(mm(o.y,0,1)).getDay(),o.m=0,o.d='W'in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return'Z'in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,gm(o)):pm(o)}}function C(e,t,n,r){for(var i,o,s=0,a=t.length,A=n.length;s<a;){if(r>=A)return-1;if(37===(i=t.charCodeAt(s++))){if(i=t.charAt(s++),!(o=w[i in xm?t.charAt(s++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=B(n,b),b.X=B(r,b),b.c=B(t,b),y.x=B(n,y),y.X=B(r,y),y.c=B(t,y),{format:function(e){var t=B(e+='',b);return t.toString=function(){return e},t},parse:function(e){var t=x(e+='',!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=B(e+='',y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+='',!0);return t.toString=function(){return e},t}}}(e),bm=vm.format,ym=vm.parse,wm=vm.utcFormat,Bm=vm.utcParse}({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']});zv('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),zv('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),zv('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),zv('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),zv('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),zv('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),zv('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),zv('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3');var Kv=zv('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),Vv=e=>Xf(e[e.length-1]),qv=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(zv);Vv(qv);var Gv=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(zv);Vv(Gv);var Wv=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(zv);Vv(Wv);var Yv=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(zv);Vv(Yv);var Xv=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(zv);Vv(Xv);var Jv=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(zv);Vv(Jv);var Zv=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(zv);Vv(Zv);var $v=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(zv);Vv($v);var eb=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(zv);Vv(eb);var tb=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(zv);Vv(tb);var nb=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(zv);Vv(nb);var rb=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(zv);Vv(rb);var ib=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(zv);Vv(ib);var ob=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(zv);Vv(ob);var sb=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(zv);Vv(sb);var ab=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(zv);Vv(ab);var Ab=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(zv);Vv(Ab);var lb=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(zv);Vv(lb);var cb=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(zv);Vv(cb);var ub=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(zv);Vv(ub);var db=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(zv);Vv(db);var fb=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(zv);Vv(fb);var hb=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(zv);Vv(hb);var pb=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(zv);Vv(pb);var gb=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(zv);Vv(gb);var mb=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(zv);Vv(mb);var vb=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(zv);Vv(vb);var bb=bl,yb=function(e){return this.__data__.set(e,'__lodash_hash_undefined__'),this},wb=function(e){return this.__data__.has(e)};function Bb(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new bb;++t<n;)this.add(e[t])}Bb.prototype.add=Bb.prototype.push=yb,Bb.prototype.has=wb;var xb=Bb;var Cb=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},_b=function(e){return e!=e},jb=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var Fb=function(e,t,n){return t==t?jb(e,t,n):Cb(e,_b,n)};var Eb=function(e,t){return!!(null==e?0:e.length)&&Fb(e,t,0)>-1};var Sb=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var kb=function(e,t){return e.has(t)},Ub=xb,Qb=Eb,Lb=Sb,Ob=Id,Ib=Rc,Nb=kb;var Tb=function(e,t,n,r){var i=-1,o=Qb,s=!0,a=e.length,A=[],l=t.length;if(!a)return A;n&&(t=Ob(t,Ib(n))),r?(o=Lb,s=!1):t.length>=200&&(o=Nb,s=!1,t=new Ub(t));e:for(;++i<a;){var c=e[i],u=null==n?c:n(c);if(c=r||0!==c?c:0,s&&u==u){for(var d=l;d--;)if(t[d]===u)continue e;A.push(c)}else o(t,u,r)||A.push(c)}return A},Mb=Bc,Pb=rr(Ad(function(e,t){return Mb(e)?Tb(e,t):[]})),Db=Math.PI,Rb=2*Db,Hb=1e-6,zb=Rb-Hb;function Kb(){this._x0=this._y0=this._x1=this._y1=null,this._=''}function Vb(){return new Kb}function qb(e){return function(){return e}}Kb.prototype=Vb.prototype={constructor:Kb,moveTo:function(e,t){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')},lineTo:function(e,t){this._+='L'+(this._x1=+e)+','+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+='Q'+ +e+','+ +t+','+(this._x1=+n)+','+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+='C'+ +e+','+ +t+','+ +n+','+ +r+','+(this._x1=+i)+','+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,s=this._y1,a=n-e,A=r-t,l=o-e,c=s-t,u=l*l+c*c;if(i<0)throw new Error('negative radius: '+i);if(null===this._x1)this._+='M'+(this._x1=e)+','+(this._y1=t);else if(u>Hb)if(Math.abs(c*a-A*l)>Hb&&i){var d=n-o,f=r-s,h=a*a+A*A,p=d*d+f*f,g=Math.sqrt(h),m=Math.sqrt(u),v=i*Math.tan((Db-Math.acos((h+u-p)/(2*g*m)))/2),b=v/m,y=v/g;Math.abs(b-1)>Hb&&(this._+='L'+(e+b*l)+','+(t+b*c)),this._+='A'+i+','+i+',0,0,'+ +(c*d>l*f)+','+(this._x1=e+y*a)+','+(this._y1=t+y*A)}else this._+='L'+(this._x1=e)+','+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var s=(n=+n)*Math.cos(r),a=n*Math.sin(r),A=e+s,l=t+a,c=1^o,u=o?r-i:i-r;if(n<0)throw new Error('negative radius: '+n);null===this._x1?this._+='M'+A+','+l:(Math.abs(this._x1-A)>Hb||Math.abs(this._y1-l)>Hb)&&(this._+='L'+A+','+l),n&&(u<0&&(u=u%Rb+Rb),u>zb?this._+='A'+n+','+n+',0,1,'+c+','+(e-s)+','+(t-a)+'A'+n+','+n+',0,1,'+c+','+(this._x1=A)+','+(this._y1=l):u>Hb&&(this._+='A'+n+','+n+',0,'+ +(u>=Db)+','+c+','+(this._x1=e+n*Math.cos(i))+','+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)+'h'+ +n+'v'+ +r+'h'+-n+'Z'},toString:function(){return this._}};var Gb=Math.abs,Wb=Math.atan2,Yb=Math.cos,Xb=Math.max,Jb=Math.min,Zb=Math.sin,$b=Math.sqrt,ey=1e-12,ty=Math.PI,ny=ty/2,ry=2*ty;function iy(e){return e>=1?ny:e<=-1?-ny:Math.asin(e)}function oy(e){return e.innerRadius}function sy(e){return e.outerRadius}function ay(e){return e.startAngle}function Ay(e){return e.endAngle}function ly(e){return e&&e.padAngle}function cy(e,t,n,r,i,o,s){var a=e-n,A=t-r,l=(s?o:-o)/$b(a*a+A*A),c=l*A,u=-l*a,d=e+c,f=t+u,h=n+c,p=r+u,g=(d+h)/2,m=(f+p)/2,v=h-d,b=p-f,y=v*v+b*b,w=i-o,B=d*p-h*f,x=(b<0?-1:1)*$b(Xb(0,w*w*y-B*B)),C=(B*b-v*x)/y,_=(-B*v-b*x)/y,j=(B*b+v*x)/y,F=(-B*v+b*x)/y,E=C-g,S=_-m,k=j-g,U=F-m;return E*E+S*S>k*k+U*U&&(C=j,_=F),{cx:C,cy:_,x01:-c,y01:-u,x11:C*(i/w-1),y11:_*(i/w-1)}}function uy(){var e=oy,t=sy,n=qb(0),r=null,i=ay,o=Ay,s=ly,a=null;function A(){var A,l,c=+e.apply(this,arguments),u=+t.apply(this,arguments),d=i.apply(this,arguments)-ny,f=o.apply(this,arguments)-ny,h=Gb(f-d),p=f>d;if(a||(a=A=Vb()),u<c&&(l=u,u=c,c=l),u>ey)if(h>ry-ey)a.moveTo(u*Yb(d),u*Zb(d)),a.arc(0,0,u,d,f,!p),c>ey&&(a.moveTo(c*Yb(f),c*Zb(f)),a.arc(0,0,c,f,d,p));else{var g,m,v=d,b=f,y=d,w=f,B=h,x=h,C=s.apply(this,arguments)/2,_=C>ey&&(r?+r.apply(this,arguments):$b(c*c+u*u)),j=Jb(Gb(u-c)/2,+n.apply(this,arguments)),F=j,E=j;if(_>ey){var S=iy(_/c*Zb(C)),k=iy(_/u*Zb(C));(B-=2*S)>ey?(y+=S*=p?1:-1,w-=S):(B=0,y=w=(d+f)/2),(x-=2*k)>ey?(v+=k*=p?1:-1,b-=k):(x=0,v=b=(d+f)/2)}var U=u*Yb(v),Q=u*Zb(v),L=c*Yb(w),O=c*Zb(w);if(j>ey){var I,N=u*Yb(b),T=u*Zb(b),M=c*Yb(y),P=c*Zb(y);if(h<ty&&(I=function(e,t,n,r,i,o,s,a){var A=n-e,l=r-t,c=s-i,u=a-o,d=u*A-c*l;if(!(d*d<ey))return[e+(d=(c*(t-o)-u*(e-i))/d)*A,t+d*l]}(U,Q,M,P,N,T,L,O))){var D=U-I[0],R=Q-I[1],H=N-I[0],z=T-I[1],K=1/Zb(function(e){return e>1?0:e<-1?ty:Math.acos(e)}((D*H+R*z)/($b(D*D+R*R)*$b(H*H+z*z)))/2),V=$b(I[0]*I[0]+I[1]*I[1]);F=Jb(j,(c-V)/(K-1)),E=Jb(j,(u-V)/(K+1))}}x>ey?E>ey?(g=cy(M,P,U,Q,u,E,p),m=cy(N,T,L,O,u,E,p),a.moveTo(g.cx+g.x01,g.cy+g.y01),E<j?a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,u,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),!p),a.arc(m.cx,m.cy,E,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):(a.moveTo(U,Q),a.arc(0,0,u,v,b,!p)):a.moveTo(U,Q),c>ey&&B>ey?F>ey?(g=cy(L,O,N,T,c,-F,p),m=cy(U,Q,M,P,c,-F,p),a.lineTo(g.cx+g.x01,g.cy+g.y01),F<j?a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,c,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),p),a.arc(m.cx,m.cy,F,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):a.arc(0,0,c,w,y,p):a.lineTo(L,O)}else a.moveTo(0,0);if(a.closePath(),A)return a=null,A+''||null}return A.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-ty/2;return[Yb(r)*n,Zb(r)*n]},A.innerRadius=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.outerRadius=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),A):t},A.cornerRadius=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.padRadius=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.startAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),A):i},A.endAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),A):o},A.padAngle=function(e){return arguments.length?(s='function'==typeof e?e:qb(+e),A):s},A.context=function(e){return arguments.length?(a=null==e?null:e,A):a},A}function dy(e){this._context=e}function fy(e){return new dy(e)}function hy(e){return e[0]}function py(e){return e[1]}function gy(){var e=hy,t=py,n=qb(!0),r=null,i=fy,o=null;function s(s){var a,A,l,c=s.length,u=!1;for(null==r&&(o=i(l=Vb())),a=0;a<=c;++a)!(a<c&&n(A=s[a],a,s))===u&&((u=!u)?o.lineStart():o.lineEnd()),u&&o.point(+e(A,a,s),+t(A,a,s));if(l)return o=null,l+''||null}return s.x=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.y=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),s):t},s.defined=function(e){return arguments.length?(n='function'==typeof e?e:qb(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function my(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function vy(e){return e}dy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var by=Array.prototype.slice;function yy(){}function wy(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function By(e){this._context=e}function xy(e){this._context=e}function Cy(e){this._context=e}function _y(e,t){this._basis=new By(e),this._beta=t}By.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wy(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},xy.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Cy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_y.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],s=e[n]-i,a=t[n]-o,A=-1;++A<=n;)r=A/n,this._basis.point(this._beta*e[A]+(1-this._beta)*(i+r*s),this._beta*t[A]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var jy=function e(t){function n(e){return 1===t?new By(e):new _y(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Fy(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Ey(e,t){this._context=e,this._k=(1-t)/6}Ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Fy(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Sy=function e(t){function n(e){return new Ey(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ky(e,t){this._context=e,this._k=(1-t)/6}ky.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Uy=function e(t){function n(e){return new ky(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Qy(e,t){this._context=e,this._k=(1-t)/6}Qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ly=function e(t){function n(e){return new Qy(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Oy(e,t,n){var r=e._x1,i=e._y1,o=e._x2,s=e._y2;if(e._l01_a>ey){var a=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,A=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*a-e._x0*e._l12_2a+e._x2*e._l01_2a)/A,i=(i*a-e._y0*e._l12_2a+e._y2*e._l01_2a)/A}if(e._l23_a>ey){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,s=(s*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,s,e._x2,e._y2)}function Iy(e,t){this._context=e,this._alpha=t}Iy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ny=function e(t){function n(e){return t?new Iy(e,t):new Ey(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ty(e,t){this._context=e,this._alpha=t}Ty.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var My=function e(t){function n(e){return t?new Ty(e,t):new ky(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Py(e,t){this._context=e,this._alpha=t}Py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Dy=function e(t){function n(e){return t?new Py(e,t):new Qy(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ry(e){this._context=e}function Hy(e){return e<0?-1:1}function zy(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),s=(n-e._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Hy(o)+Hy(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Ky(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Vy(e,t,n){var r=e._x0,i=e._y0,o=e._x1,s=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,s-a*n,o,s)}function qy(e){this._context=e}function Gy(e){this._context=new Wy(e)}function Wy(e){this._context=e}function Yy(e){this._context=e}function Xy(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,s[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,s[t]-=n*s[t-1];for(i[r-1]=s[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(s[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function Jy(e,t){this._context=e,this._t=t}function Zy(e,t){if((i=e.length)>1)for(var n,r,i,o=1,s=e[t[0]],a=s.length;o<i;++o)for(r=s,s=e[t[o]],n=0;n<a;++n)s[n][1]+=s[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function $y(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function ew(e,t){return e[t]}function tw(e,t){if((a=e.length)>0)for(var n,r,i,o,s,a,A=0,l=e[t[0]].length;A<l;++A)for(o=s=0,n=0;n<a;++n)(i=(r=e[t[n]][A])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function nw(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}function rw(e){var t=e.map(iw);return $y(e).sort(function(e,n){return t[e]-t[n]})}function iw(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}function ow(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf('e'))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Ry.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Vy(this,this._t0,Ky(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Vy(this,Ky(this,n=zy(this,e,t)),n);break;default:Vy(this,this._t0,n=zy(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Gy.prototype=Object.create(qy.prototype)).point=function(e,t){qy.prototype.point.call(this,t,e)},Wy.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Yy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Xy(e),i=Xy(t),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Jy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var sw,aw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Aw(e){if(!(t=aw.exec(e)))throw new Error('invalid format: '+e);var t;return new lw({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]})}function lw(e){this.fill=void 0===e.fill?' ':e.fill+'',this.align=void 0===e.align?'>':e.align+'',this.sign=void 0===e.sign?'-':e.sign+'',this.symbol=void 0===e.symbol?'':e.symbol+'',this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?'':e.type+''}function cw(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Aw.prototype=lw.prototype,lw.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?'0':'')+(void 0===this.width?'':Math.max(1,0|this.width))+(this.comma?',':'')+(void 0===this.precision?'':'.'+Math.max(0,0|this.precision))+(this.trim?'~':'')+this.type};var uw={'%':function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+''},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},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 cw(100*e,t)},r:cw,s:function(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(sw=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+ow(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function dw(e){return e}var fw,hw,pw=Array.prototype.map,gw=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function mw(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?dw:(t=pw.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?dw:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(pw.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'-':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Aw(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):uw[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=uw[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?gw[8+sw/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Aw(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=ow(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=gw[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){fw=mw(e),hw=fw.format,fw.formatPrefix}({decimal:'.',thousands:',',grouping:[3],currency:['$',''],minus:'-'});var vw=Zd,bw=Af,yw=Gd;var ww=function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=vw(e,s);n(a,s)&&bw(o,yw(s,e),a)}return o};var Bw=function(e,t){return null!=e&&t in Object(e)},xw=Gd,Cw=hc,_w=pc,jw=iu,Fw=gc,Ew=Yd;var Sw=function(e,t,n){for(var r=-1,i=(t=xw(t,e)).length,o=!1;++r<i;){var s=Ew(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Fw(i)&&jw(s,i)&&(_w(e)||Cw(e))},kw=Bw,Uw=Sw;var Qw=function(e,t){return null!=e&&Uw(e,t,kw)},Lw=ww,Ow=Qw;var Iw=function(e,t){return Lw(e,t,function(t,n){return Ow(e,n)})};var Nw=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Tw=hc,Mw=pc,Pw=iA?iA.isConcatSpreadable:void 0;var Dw=Nw,Rw=function(e){return Mw(e)||Tw(e)||!!(Pw&&e&&e[Pw])};var Hw=function e(t,n,r,i,o){var s=-1,a=t.length;for(r||(r=Rw),o||(o=[]);++s<a;){var A=t[s];n>0&&r(A)?n>1?e(A,n-1,r,i,o):Dw(o,A):i||(o[o.length]=A)}return o},zw=Hw;var Kw=function(e){return(null==e?0:e.length)?zw(e,1):[]},Vw=Zu,qw=id;var Gw=function(e){return qw(Vw(e,void 0,Kw),e+'')},Ww=Iw,Yw=Gw(function(e,t){return null==e?{}:Ww(e,t)}),Xw=rr(Yw);var Jw=xb,Zw=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},$w=kb;var eB=function(e,t,n,r,i,o){var s=1&n,a=e.length,A=t.length;if(a!=A&&!(s&&A>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,f=2&n?new Jw:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var g=s?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Zw(t,function(e,t){if(!$w(f,t)&&(h===e||i(h,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var tB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n};var nB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n},rB=Hl,iB=Oa,oB=eB,sB=tB,aB=nB,AB=iA?iA.prototype:void 0,lB=AB?AB.valueOf:void 0;var cB=function(e,t,n,r,i,o,s){switch(n){case'[object DataView]':if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case'[object ArrayBuffer]':return!(e.byteLength!=t.byteLength||!o(new rB(e),new rB(t)));case'[object Boolean]':case'[object Date]':case'[object Number]':return iB(+e,+t);case'[object Error]':return e.name==t.name&&e.message==t.message;case'[object RegExp]':case'[object String]':return e==t+'';case'[object Map]':var a=sB;case'[object Set]':var A=1&r;if(a||(a=aB),e.size!=t.size&&!A)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var c=oB(a(e),a(t),r,i,o,s);return s.delete(e),c;case'[object Symbol]':if(lB)return lB.call(e)==lB.call(t)}return!1},uB=Nw,dB=pc;var fB=function(e,t,n){var r=t(e);return dB(e)?r:uB(r,n(e))};var hB=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var pB=function(){return[]},gB=hB,mB=pB,vB=Object.prototype.propertyIsEnumerable,bB=Object.getOwnPropertySymbols,yB=bB?function(e){return null==e?[]:(e=Object(e),gB(bB(e),function(t){return vB.call(e,t)}))}:mB,wB=yB,BB=Zl(Object.keys,Object),xB=tc,CB=BB,_B=Object.prototype.hasOwnProperty;var jB=function(e){if(!xB(e))return CB(e);var t=[];for(var n in Object(e))_B.call(e,n)&&'constructor'!=n&&t.push(n);return t},FB=du,EB=jB,SB=bc;var kB=function(e){return SB(e)?FB(e):EB(e)},UB=fB,QB=wB,LB=kB;var OB=function(e){return UB(e,LB,QB)},IB=OB,NB=Object.prototype.hasOwnProperty;var TB=function(e,t,n,r,i,o){var s=1&n,a=IB(e),A=a.length;if(A!=IB(t).length&&!s)return!1;for(var l=A;l--;){var c=a[l];if(!(s?c in t:NB.call(t,c)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<A;){var p=e[c=a[l]],g=t[c];if(r)var m=s?r(g,p,c,t,e,o):r(p,g,c,e,t,o);if(!(void 0===m?p===g||i(p,g,n,r,o):m)){f=!1;break}h||(h='constructor'==c)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!('constructor'in e)||!('constructor'in t)||'function'==typeof v&&v instanceof v&&'function'==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f},MB=DA(rA,'DataView'),PB=DA(rA,'Promise'),DB=DA(rA,'Set'),RB=MB,HB=RA,zB=PB,KB=DB,VB=DA(rA,'WeakMap'),qB=pA,GB=jA,WB='[object Map]',YB='[object Promise]',XB='[object Set]',JB='[object WeakMap]',ZB='[object DataView]',$B=GB(RB),ex=GB(HB),tx=GB(zB),nx=GB(KB),rx=GB(VB),ix=qB;(RB&&ix(new RB(new ArrayBuffer(1)))!=ZB||HB&&ix(new HB)!=WB||zB&&ix(zB.resolve())!=YB||KB&&ix(new KB)!=XB||VB&&ix(new VB)!=JB)&&(ix=function(e){var t=qB(e),n='[object Object]'==t?e.constructor:void 0,r=n?GB(n):'';if(r)switch(r){case $B:return ZB;case ex:return WB;case tx:return YB;case nx:return XB;case rx:return JB}return t});var ox=ix,sx=kl,ax=eB,Ax=cB,lx=TB,cx=ox,ux=pc,dx=_c,fx=Gc,hx='[object Arguments]',px='[object Array]',gx='[object Object]',mx=Object.prototype.hasOwnProperty;var vx=function(e,t,n,r,i,o){var s=ux(e),a=ux(t),A=s?px:cx(e),l=a?px:cx(t),c=(A=A==hx?gx:A)==gx,u=(l=l==hx?gx:l)==gx,d=A==l;if(d&&dx(e)){if(!dx(t))return!1;s=!0,c=!1}if(d&&!c)return o||(o=new sx),s||fx(e)?ax(e,t,n,r,i,o):Ax(e,t,A,n,r,i,o);if(!(1&n)){var f=c&&mx.call(e,'__wrapped__'),h=u&&mx.call(t,'__wrapped__');if(f||h){var p=f?e.value():e,g=h?t.value():t;return o||(o=new sx),i(p,g,n,r,o)}}return!!d&&(o||(o=new sx),lx(e,t,n,r,i,o))},bx=vx,yx=sc;var wx=function e(t,n,r,i,o){return t===n||(null==t||null==n||!yx(t)&&!yx(n)?t!=t&&n!=n:bx(t,n,r,i,e,o))},Bx=wx;var xx=rr(function(e,t){return Bx(e,t)});function Cx(){return Cx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cx.apply(this,arguments)}function _x(e,t){return _x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_x(e,t)}function jx(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Fx={fill:kr.string,fontSize:kr.number,fontFamily:kr.string},Ex=kr.shape({domain:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}).isRequired,ticks:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}).isRequired,legend:kr.shape({text:kr.shape(Cx({},Fx)).isRequired}).isRequired}),Sx=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),kx=kr.shape({hidden:kr.shape({symbol:kr.shape({fill:kr.string.isRequired,opacity:kr.number}).isRequired,text:kr.shape(Cx({},Fx,{opacity:kr.number})).isRequired}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}),Ux=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Qx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Lx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Ox=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),Ix=kr.shape({text:kr.shape(Cx({},Fx,{outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired})).isRequired,link:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,outline:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,symbol:kr.shape({fill:kr.string.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired});kr.shape({background:kr.string.isRequired,fontFamily:kr.string.isRequired,fontSize:kr.number.isRequired,textColor:kr.string.isRequired,axis:Ex.isRequired,grid:Sx.isRequired,legends:kx.isRequired,labels:Ux.isRequired,dots:Qx.isRequired,markers:Lx,crosshair:Ox.isRequired,annotations:Ix.isRequired});var Nx={background:'transparent',text:{fontFamily:'sans-serif',fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'transparent',strokeWidth:1}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{hidden:{symbol:{fill:'#333333',opacity:.6},text:{fill:'#333333',opacity:.6}},text:{},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:'#000000',lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:'white',color:'inherit',fontSize:'inherit',borderRadius:'2px',boxShadow:'0 1px 2px rgba(0, 0, 0, 0.25)',padding:'5px 9px'},basic:{whiteSpace:'pre',display:'flex',alignItems:'center'},chip:{marginRight:7},table:{},tableCell:{padding:'3px 5px'},tableCellValue:{fontWeight:'bold'}},crosshair:{line:{stroke:'#000000',strokeWidth:1,strokeOpacity:.75,strokeDasharray:'6 6'}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{fill:'none',stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}}},Tx=['axis.ticks.text','axis.legend.text','legends.title.text','legends.text','legends.ticks.text','legends.title.text','labels.text','dots.text','markers.text','annotations.text'],Mx=h(),Px=function(e){var t=e.children,n=e.animate,r=e.config,i=d(function(){var e=rh(r)?ts[r]:r;return{animate:n,config:e}},[n,r]);return w(Mx.Provider,{value:i,children:t})},Dx={animate:kr.bool,motionConfig:kr.oneOfType([kr.oneOf(Object.keys(ts)),kr.shape({mass:kr.number,tension:kr.number,friction:kr.number,clamp:kr.bool,precision:kr.number,velocity:kr.number,duration:kr.number,easing:kr.func})])};Px.propTypes={children:kr.node.isRequired,animate:Dx.animate,config:Dx.motionConfig};Px.defaultProps={animate:!0,config:'default'};var Rx=function(){return u(Mx)},Hx=function(e){var t=Rx(),n=t.animate,i=t.config,s=function(e){var t=o();return r(function(){t.current=e},[e]),t.current}(e),a=d(function(){return function(e,t){var n,r,i,o=Zf.lastIndex=$f.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Zf.exec(e))&&(r=$f.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:Jf(n,r)})),o=$f.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}(s,e)},[s,e]),A=Ys({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!n}).value;return na(A,a)},zx={nivo:['#d76445','#f47560','#e8c1a0','#97e3d5','#61cdbb','#00b0a7'],BrBG:oh(qv),PRGn:oh(Gv),PiYG:oh(Wv),PuOr:oh(Yv),RdBu:oh(Xv),RdGy:oh(Jv),RdYlBu:oh(Zv),RdYlGn:oh($v),spectral:oh(eb),blues:oh(fb),greens:oh(hb),greys:oh(pb),oranges:oh(vb),purples:oh(gb),reds:oh(mb),BuGn:oh(tb),BuPu:oh(nb),GnBu:oh(rb),OrRd:oh(ib),PuBuGn:oh(ob),PuBu:oh(sb),PuRd:oh(ab),RdPu:oh(Ab),YlGnBu:oh(lb),YlGn:oh(cb),YlOrBr:oh(ub),YlOrRd:oh(db)},Kx=Object.keys(zx);oh(qv),oh(Gv),oh(Wv),oh(Yv),oh(Xv),oh(Jv),oh(Zv),oh($v),oh(eb),oh(fb),oh(hb),oh(pb),oh(vb),oh(gb),oh(mb),oh(tb),oh(nb),oh(rb),oh(ib),oh(ob),oh(sb),oh(ab),oh(Ab),oh(lb),oh(cb),oh(ub),oh(db),kr.oneOfType([kr.oneOf(Kx),kr.func,kr.arrayOf(kr.string)]);var Vx={basis:function(e){return new By(e)},basisClosed:function(e){return new xy(e)},basisOpen:function(e){return new Cy(e)},bundle:jy,cardinal:Sy,cardinalClosed:Uy,cardinalOpen:Ly,catmullRom:Ny,catmullRomClosed:My,catmullRomOpen:Dy,linear:fy,linearClosed:function(e){return new Ry(e)},monotoneX:function(e){return new qy(e)},monotoneY:function(e){return new Gy(e)},natural:function(e){return new Yy(e)},step:function(e){return new Jy(e,.5)},stepAfter:function(e){return new Jy(e,1)},stepBefore:function(e){return new Jy(e,0)}},qx=Object.keys(Vx);kr.oneOf(qx),qx.filter(function(e){return e.endsWith('Closed')}),Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed');var Gx=Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed'),Wx=kr.oneOf(Gx),Yx=function(e){if(!Vx[e])throw new TypeError('\''+e+'\', is not a valid curve interpolator identifier.');return Vx[e]},Xx={defs:kr.arrayOf(kr.shape({id:kr.string.isRequired})).isRequired,fill:kr.arrayOf(kr.shape({id:kr.string.isRequired,match:kr.oneOfType([kr.oneOf(['*']),kr.object,kr.func]).isRequired})).isRequired},Jx={ascending:rw,descending:function(e){return rw(e).reverse()},insideOut:function(e){var t,n,r=e.length,i=e.map(iw),o=function(e){var t=e.map(nw);return $y(e).sort(function(e,n){return t[e]-t[n]})}(e),s=0,a=0,A=[],l=[];for(t=0;t<r;++t)n=o[t],s<a?(s+=i[n],A.push(n)):(a+=i[n],l.push(n));return l.reverse().concat(A)},none:$y,reverse:function(e){return $y(e).reverse()}},Zx=Object.keys(Jx);kr.oneOf(Zx);var $x={expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,s=e[0].length;o<s;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Zy(e,t)}},diverging:tw,none:Zy,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var s=0,a=0;s<n;++s)a+=e[s][r][1]||0;i[r][1]+=i[r][0]=-a/2}Zy(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,s=1;s<r;++s){for(var a=0,A=0,l=0;a<i;++a){for(var c=e[t[a]],u=c[s][1]||0,d=(u-(c[s-1][1]||0))/2,f=0;f<a;++f){var h=e[t[f]];d+=(h[s][1]||0)-(h[s-1][1]||0)}A+=u,l+=d*u}n[s-1][1]+=n[s-1][0]=o,A&&(o-=l/A)}n[s-1][1]+=n[s-1][0]=o,Zy(e,t)}}},eC=Object.keys($x);kr.oneOf(eC),kr.shape({top:kr.number,right:kr.number,bottom:kr.number,left:kr.number}).isRequired;var tC=kr.oneOf(['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity']);vh(Kv);var nC={top:0,right:0,bottom:0,left:0},rC=function(e,t,n){return void 0===n&&(n={}),d(function(){var r=Cx({},nC,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},iC=function(){var e=o(null),t=n({left:0,top:0,width:0,height:0}),i=t[0],s=t[1],a=n(function(){return'undefined'==typeof ResizeObserver?null:new ResizeObserver(function(e){var t=e[0];return s(t.contentRect)})})[0];return r(function(){return e.current&&null!==a&&a.observe(e.current),function(){null!==a&&a.disconnect()}},[]),[e,i]},oC=function(e){return d(function(){return function(e,t){var n=bd({},e,t);return Tx.forEach(function(e){void 0===tf(n,e+'.fontFamily')&&uf(n,e+'.fontFamily',n.text.fontFamily),void 0===tf(n,e+'.fontSize')&&uf(n,e+'.fontSize',n.text.fontSize),void 0===tf(n,e+'.fill')&&uf(n,e+'.fill',n.text.fill),void 0===tf(n,e+'.outlineWidth')&&uf(n,e+'.outlineWidth',n.text.outlineWidth),void 0===tf(n,e+'.outlineColor')&&uf(n,e+'.outlineColor',n.text.outlineColor)}),n}(Nx,e)},[e])},sC=function(e){return d(function(){return function(e){return'function'==typeof e?e:'string'==typeof e?0===e.indexOf('time:')?bm(e.slice('5')):hw(e):function(e){return''+e}}(e)},[e])},aC=h(),AC={},lC=function(e){var t=e.theme,n=void 0===t?AC:t,r=e.children,i=oC(n);return w(aC.Provider,{value:i,children:r})};lC.propTypes={children:kr.node.isRequired,theme:kr.object};var cC=function(){return u(aC)},uC=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?A(r,{},t):t};uC.propTypes={children:kr.node.isRequired,condition:kr.bool.isRequired,wrapper:kr.element.isRequired};var dC={position:'relative'},fC=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,s=e.isInteractive,a=void 0===s||s,A=e.animate,l=e.motionConfig,c=o(null);return w(lC,{theme:n,children:w(Px,{animate:A,config:l,children:w(Qa,{container:c,children:B(uC,{condition:i,wrapper:w('div',{style:dC,ref:c}),children:[t,a&&w(Ua,{})]})})})})};fC.propTypes={children:kr.element.isRequired,isInteractive:kr.bool,renderWrapper:kr.bool,theme:kr.object,animate:kr.bool,motionConfig:kr.string},kr.func.isRequired,kr.bool,kr.bool,kr.object.isRequired,kr.bool.isRequired,kr.string;var hC=function(e){var t=e.children,n=iC(),r=n[0],i=n[1],o=i.width>0&&i.height>0;return w('div',{ref:r,style:{width:'100%',height:'100%'},children:o&&t({width:i.width,height:i.height})})};hC.propTypes={children:kr.func.isRequired};var pC=['id','colors'],gC=function(e){var t=e.id,n=e.colors,r=jx(e,pC);return w('linearGradient',Cx({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return w('stop',{offset:t+'%',stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};gC.propTypes={id:kr.string.isRequired,colors:kr.arrayOf(kr.shape({offset:kr.number.isRequired,color:kr.string.isRequired,opacity:kr.number})).isRequired,gradientTransform:kr.string};var mC={linearGradient:gC},vC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=i/2,l=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('circle',{cx:l+A,cy:l+A,r:A,fill:r}),s&&w('circle',{cx:1.5*o+i+A,cy:1.5*o+i+A,r:A,fill:r})]})});vC.displayName='PatternDots',vC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},vC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var bC=function(e){return e*Math.PI/180},yC=function(e){return 180*e/Math.PI},wC=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},BC={svg:{align:{left:'start',center:'middle',right:'end',start:'start',middle:'middle',end:'end'},baseline:{top:'text-before-edge',center:'central',bottom:'alphabetic'}},canvas:{align:{left:'left',center:'center',right:'right',start:'left',middle:'center',end:'right'},baseline:{top:'top',center:'middle',bottom:'bottom'}}},xC=f(function(e){var t=e.id,n=e.spacing,r=e.rotation,i=e.background,o=e.color,s=e.lineWidth,a=Math.round(r)%360,A=Math.abs(n);a>180?a-=360:a>90?a-=180:a<-180?a+=360:a<-90&&(a+=180);var l,c=A,u=A;return 0===a?l='\n M 0 0 L '+c+' 0\n M 0 '+u+' L '+c+' '+u+'\n ':90===a?l='\n M 0 0 L 0 '+u+'\n M '+c+' 0 L '+c+' '+u+'\n ':(c=Math.abs(A/Math.sin(bC(a))),u=A/Math.sin(bC(90-a)),l=a>0?'\n M 0 '+-u+' L '+2*c+' '+u+'\n M '+-c+' '+-u+' L '+c+' '+u+'\n M '+-c+' 0 L '+c+' '+2*u+'\n ':'\n M '+-c+' '+u+' L '+c+' '+-u+'\n M '+-c+' '+2*u+' L '+2*c+' '+-u+'\n M 0 '+2*u+' L '+2*c+' 0\n '),B('pattern',{id:t,width:c,height:u,patternUnits:'userSpaceOnUse',children:[w('rect',{width:c,height:u,fill:i,stroke:'rgba(255, 0, 0, 0.1)',strokeWidth:0}),w('path',{d:l,strokeWidth:s,stroke:o,strokeLinecap:'square'})]})});xC.displayName='PatternLines',xC.propTypes={id:kr.string.isRequired,spacing:kr.number.isRequired,rotation:kr.number.isRequired,background:kr.string.isRequired,color:kr.string.isRequired,lineWidth:kr.number.isRequired},xC.defaultProps={spacing:5,rotation:0,color:'#000000',background:'#ffffff',lineWidth:2};var CC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('rect',{x:A,y:A,width:i,height:i,fill:r}),s&&w('rect',{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:r})]})});CC.displayName='PatternSquares',CC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},CC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var _C={patternDots:vC,patternLines:xC,patternSquares:CC},jC=['type'],FC=Cx({},mC,_C),EC=function(e){var t=e.defs;return!t||t.length<1?null:w('defs',{'aria-hidden':!0,children:t.map(function(e){var t=e.type,n=jx(e,jC);return FC[t]?p(FC[t],Cx({key:n.id},n)):null})})};EC.propTypes={defs:kr.arrayOf(kr.shape({type:kr.oneOf(Object.keys(FC)).isRequired,id:kr.string.isRequired}))};var SC=f(EC),kC=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,s=e.role,a=e.ariaLabel,A=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.isFocusable,u=cC();return B('svg',{xmlns:'http://www.w3.org/2000/svg',width:t,height:n,role:s,'aria-label':a,'aria-labelledby':A,'aria-describedby':l,focusable:c,tabIndex:c?0:void 0,children:[w(SC,{defs:i}),w('rect',{width:t,height:n,fill:u.background}),w('g',{transform:'translate('+r.left+','+r.top+')',children:o})]})};kC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.shape({top:kr.number.isRequired,left:kr.number.isRequired}).isRequired,defs:kr.array,children:kr.oneOfType([kr.arrayOf(kr.node),kr.node]).isRequired,role:kr.string,isFocusable:kr.bool,ariaLabel:kr.string,ariaLabelledBy:kr.string,ariaDescribedBy:kr.string};var UC=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return w('circle',{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:'none'}})};UC.propTypes={size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired};var QC=f(UC),LC=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?QC:r,o=e.size,s=e.datum,a=e.color,A=e.borderWidth,l=e.borderColor,c=e.label,u=e.labelTextAnchor,d=void 0===u?'middle':u,f=e.labelYOffset,h=void 0===f?-12:f,g=cC(),m=Rx(),v=m.animate,b=Ys({transform:'translate('+t+', '+n+')',config:m.config,immediate:!v});return B(ga.g,{transform:b.transform,style:{pointerEvents:'none'},children:[p(i,{size:o,color:a,datum:s,borderWidth:A,borderColor:l}),c&&w('text',{textAnchor:d,y:h,style:g.dots.text,children:c})]})};LC.propTypes={x:kr.number.isRequired,y:kr.number.isRequired,datum:kr.object.isRequired,size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired,symbol:kr.oneOfType([kr.func,kr.object]),label:kr.oneOfType([kr.string,kr.number]),labelTextAnchor:kr.oneOf(['start','middle','end']),labelYOffset:kr.number};var OC=f(LC),IC=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,s=e.lineStyle,a=e.textStyle,A=e.legend,l=e.legendPosition,c=e.legendOffsetX,u=e.legendOffsetY,d=e.legendOrientation,f=cC(),h=0,p=0,g=0,m=0;'y'===r?(g=i(o),p=t):(h=i(o),m=n);var v=null;if(A){var b=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,s=e.orientation,a=0,A=0,l='vertical'===s?-90:0,c='start';if('x'===e.axis)switch(r){case'top-left':a=-i,A=o,c='end';break;case'top':A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=i,A=o,c='horizontal'===s?'start':'end';break;case'right':a=i,A=n/2,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=i,A=n-o,c='start';break;case'bottom':A=n+o,c='horizontal'===s?'middle':'end';break;case'bottom-left':A=n-o,a=-i,c='horizontal'===s?'end':'start';break;case'left':a=-i,A=n/2,c='horizontal'===s?'end':'middle'}else switch(r){case'top-left':a=i,A=-o,c='start';break;case'top':a=t/2,A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=t-i,A=-o,c='horizontal'===s?'end':'start';break;case'right':a=t+i,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=t-i,A=o,c='end';break;case'bottom':a=t/2,A=o,c='horizontal'===s?'middle':'end';break;case'bottom-left':a=i,A=o,c='horizontal'===s?'start':'end';break;case'left':a=-i,c='horizontal'===s?'end':'middle'}return{x:a,y:A,rotation:l,textAnchor:c}}({axis:r,width:t,height:n,position:l,offsetX:c,offsetY:u,orientation:d});v=w('text',{transform:'translate('+b.x+', '+b.y+') rotate('+b.rotation+')',textAnchor:b.textAnchor,dominantBaseline:'central',style:a,children:A})}return B('g',{transform:'translate('+h+', '+g+')',children:[w('line',{x1:0,x2:p,y1:0,y2:m,stroke:f.markers.lineColor,strokeWidth:f.markers.lineStrokeWidth,style:s}),v]})};IC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,axis:kr.oneOf(['x','y']).isRequired,scale:kr.func.isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object,legend:kr.string,legendPosition:kr.oneOf(['top-left','top','top-right','right','bottom-right','bottom','bottom-left','left']),legendOffsetX:kr.number.isRequired,legendOffsetY:kr.number.isRequired,legendOrientation:kr.oneOf(['horizontal','vertical']).isRequired},IC.defaultProps={legendPosition:'top-right',legendOffsetX:14,legendOffsetY:14,legendOrientation:'horizontal'};var NC=f(IC),TC=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return w(NC,Cx({},e,{width:n,height:r,scale:'y'===e.axis?o:i}),t)}):null};TC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,xScale:kr.func.isRequired,yScale:kr.func.isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object}))};var MC=f(TC),PC=['theme','renderWrapper','animate','motionConfig'],DC=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,_x(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,s=jx(t,PC);return w(fC,{theme:n,renderWrapper:r,isInteractive:s.isInteractive,animate:i,motionConfig:o,children:w(e,Cx({},s))})},i}(g)},RC=function(e){return wA(e)?e:function(t){return tf(t,e)}},HC=function(e){return d(function(){return RC(e)},[e])},zC=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},KC=function(e,t){var n,r=t.clientX,i=t.clientY,o=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}).width===o.width?1:n.width/o.width;return[(r-o.left)*s,(i-o.top)*s]},VC=Object.keys(mC),qC=Object.keys(_C),GC=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,s=i.colorKey,a=void 0===s?'color':s,A=i.targetKey,l=void 0===A?'fill':A,c=[],u={};return e.length&&t.length&&(c=[].concat(e),t.forEach(function(t){for(var r=function(){var r=n[i],s=r.id;if(function(e,t,n){if('*'===e)return!0;if(wA(e))return e(t);if(Ic(e)){var r=n?tf(t,n):t;return xx(Xw(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var A=e.find(function(e){return e.id===s});if(A)if(qC.includes(A.type))if('inherit'===A.background||'inherit'===A.color){var d=tf(t,a),f=A.background,h=A.color,p=s;'inherit'===A.background&&(p=p+'.bg.'+d,f=d),'inherit'===A.color&&(p=p+'.fg.'+d,h=d),uf(t,l,'url(#'+p+')'),u[p]||(c.push(Cx({},A,{id:p,background:f,color:h})),u[p]=1)}else uf(t,l,'url(#'+s+')');else if(VC.includes(A.type))if(A.colors.map(function(e){return e.color}).includes('inherit')){var g=tf(t,a),m=s,v=Cx({},A,{colors:A.colors.map(function(e,t){return'inherit'!==e.color?e:(m=m+'.'+t+'.'+g,Cx({},e,{color:'inherit'===e.color?g:e.color}))})});v.id=m,uf(t,l,'url(#'+m+')'),u[m]||(c.push(v),u[m]=1)}else uf(t,l,'url(#'+s+')');return'break'}},i=0;i<n.length&&'break'!==r();i++);})),c};var WC=DB,YC=function(){},XC=WC&&1/nB(new WC([,-0]))[1]==1/0?function(e){return new WC(e)}:YC,JC=xb,ZC=Eb,$C=Sb,e_=kb,t_=XC,n_=nB;var r_=function(e,t,n){var r=-1,i=ZC,o=e.length,s=!0,a=[],A=a;if(n)s=!1,i=$C;else if(o>=200){var l=t?null:t_(e);if(l)return n_(l);s=!1,i=e_,A=new JC}else A=t?[]:a;e:for(;++r<o;){var c=e[r],u=t?t(c):c;if(c=n||0!==c?c:0,s&&u==u){for(var d=A.length;d--;)if(A[d]===u)continue e;t&&A.push(u),a.push(c)}else i(A,u,n)||(A!==a&&A.push(u),a.push(c))}return a},i_=r_;var o_=rr(function(e){return e&&e.length?i_(e):[]}),s_=kl,a_=wx;var A_=function(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var A=(a=n[i])[0],l=e[A],c=a[1];if(s&&a[2]){if(void 0===l&&!(A in e))return!1}else{var u=new s_;if(r)var d=r(l,c,A,e,t,u);if(!(void 0===d?a_(c,l,3,r,u):d))return!1}}return!0},l_=gA;var c_=function(e){return e==e&&!l_(e)},u_=c_,d_=kB;var f_=function(e){for(var t=d_(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,u_(i)]}return t};var h_=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},p_=A_,g_=f_,m_=h_;var v_=function(e){var t=g_(e);return 1==t.length&&t[0][2]?m_(t[0][0],t[0][1]):function(n){return n===e||p_(n,e,t)}},b_=wx,y_=ef,w_=Qw,B_=Fd,x_=c_,C_=h_,__=Yd;var j_=function(e,t){return B_(e)&&x_(t)?C_(__(e),t):function(n){var r=y_(n,e);return void 0===r&&r===t?w_(n,e):b_(t,r,3)}};var F_=function(e){return function(t){return null==t?void 0:t[e]}},E_=Zd;var S_=function(e){return function(t){return E_(t,e)}},k_=F_,U_=S_,Q_=Fd,L_=Yd;var O_=function(e){return Q_(e)?k_(L_(e)):U_(e)},I_=v_,N_=j_,T_=Yu,M_=pc,P_=O_;var D_=function(e){return'function'==typeof e?e:null==e?T_:'object'==typeof e?M_(e)?N_(e[0],e[1]):I_(e):P_(e)},R_=D_,H_=r_;var z_=rr(function(e,t){return e&&e.length?H_(e,R_(t)):[]}),K_=Pl,V_=kB;var q_=function(e,t){return e&&K_(e,t,V_)},G_=bc;var W_=function(e,t){return function(n,r){if(null==n)return n;if(!G_(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}(q_),Y_=W_,X_=bc;var J_=Bd;var Z_=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=J_(e),s=void 0!==t,a=null===t,A=t==t,l=J_(t);if(!a&&!l&&!o&&e>t||o&&s&&A&&!a&&!l||r&&s&&A||!n&&A||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!A)return-1}return 0};var $_=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var A=Z_(i[r],o[r]);if(A)return r>=a?A:A*('desc'==n[r]?-1:1)}return e.index-t.index},ej=Id,tj=Zd,nj=D_,rj=function(e,t){var n=-1,r=X_(e)?Array(e.length):[];return Y_(e,function(e,i,o){r[++n]=t(e,i,o)}),r},ij=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},oj=Rc,sj=$_,aj=Yu,Aj=pc;var lj=function(e,t,n){t=t.length?ej(t,function(e){return Aj(e)?function(t){return tj(t,1===e.length?e[0]:e)}:e}):[aj];var r=-1;t=ej(t,oj(nj));var i=rj(e,function(e,n,i){return{criteria:ej(t,function(t){return t(e)}),index:++r,value:e}});return ij(i,function(e,t){return sj(e,t,n)})},cj=Hw,uj=lj,dj=fd,fj=rr(Ad(function(e,t){if(null==e)return[];var n=t.length;return n>1&&dj(e,t[0],t[1])?t=[]:n>2&&dj(t[0],t[1],t[2])&&(t=[t[0]]),uj(e,cj(t,1),[])})),hj=pA,pj=sc;var gj=function(e){return pj(e)&&'[object Date]'==hj(e)},mj=Rc,vj=zc&&zc.isDate,bj=rr(vj?mj(vj):gj),yj=new Date,wj=new Date;function Bj(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return Bj(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return yj.setTime(+t),wj.setTime(+r),e(yj),e(wj),Math.floor(n(yj,wj))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var xj=Bj(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});xj.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Bj(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):xj:null};var Cj=xj;xj.range;var _j=1e3,jj=6e4,Fj=36e5,Ej=6048e5,Sj=Bj(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*_j)},function(e,t){return(t-e)/_j},function(e){return e.getUTCSeconds()}),kj=Sj;Sj.range;var Uj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getMinutes()}),Qj=Uj;Uj.range;var Lj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j-e.getMinutes()*jj)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getHours()}),Oj=Lj;function Ij(e){return Bj(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*jj)/Ej})}Lj.range;var Nj=Ij(0),Tj=Ij(1),Mj=Ij(2),Pj=Ij(3),Dj=Ij(4),Rj=Ij(5),Hj=Ij(6);Nj.range,Tj.range,Mj.range,Pj.range,Dj.range,Rj.range,Hj.range;var zj=Bj(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()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Kj=zj;zj.range;var Vj=Bj(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()});Vj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var qj=Vj;Vj.range;var Gj=Bj(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getUTCMinutes()}),Wj=Gj;Gj.range;var Yj=Bj(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getUTCHours()}),Xj=Yj;function Jj(e){return Bj(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Ej})}Yj.range;var Zj=Jj(0),$j=Jj(1),eF=Jj(2),tF=Jj(3),nF=Jj(4),rF=Jj(5),iF=Jj(6);Zj.range,$j.range,eF.range,tF.range,nF.range,rF.range,iF.range;var oF=Bj(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()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),sF=oF;oF.range;var aF=Bj(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()});aF.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var AF=aF;function lF(){return lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lF.apply(this,arguments)}aF.range;var cF=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],uF={millisecond:[],second:cF.slice(0,1),minute:cF.slice(0,2),hour:cF.slice(0,3),day:cF.slice(0,4),month:cF.slice(0,5),year:cF.slice(0,6)},dF=function(e){var t=e.format,n=void 0===t?'native':t,r=e.precision,i=void 0===r?'millisecond':r,o=e.useUTC,s=void 0===o||o,a=function(e){return function(t){return uF[e].forEach(function(e){e(t)}),t}}(i);return function(e){if(void 0===e)return e;if('native'===n||e instanceof Date)return a(e);var t=s?Bm(n):ym(n);return a(t(e))}},fF=function(e,t,n,r){var i,o,s,a,A=e.min,l=void 0===A?0:A,c=e.max,u=void 0===c?'auto':c,d=e.stacked,f=void 0!==d&&d,h=e.reverse,p=void 0!==h&&h,g=e.clamp,m=void 0!==g&&g,v=e.nice,b=void 0!==v&&v;i='auto'===l?!0===f?null!=(o=t.minStacked)?o:0:t.min:l,s='auto'===u?!0===f?null!=(a=t.maxStacked)?a:0:t.max:u;var y=tg().rangeRound('x'===r?[0,n]:[n,0]).domain(p?[s,i]:[i,s]).clamp(m);return!0===b?y.nice():'number'==typeof b&&y.nice(b),hF(y,f)},hF=function(e,t){void 0===t&&(t=!1);var n=e;return n.type='linear',n.stacked=t,n},pF=function(e){var t=e;return t.type='band',t},gF=function(e,t,n){var r,i,o=e.format,s=void 0===o?'native':o,a=e.precision,A=void 0===a?'millisecond':a,l=e.min,c=void 0===l?'auto':l,u=e.max,d=void 0===u?'auto':u,f=e.useUTC,h=void 0===f||f,p=e.nice,g=void 0!==p&&p,m=dF({format:s,precision:A,useUTC:h});r='auto'===c?m(t.min):'native'!==s?m(c):c,i='auto'===d?m(t.max):'native'!==s?m(d):d;var v=h?function(){return gh.apply(Hv(um,dm,lm,am,$g,Jg,Yg,Gg,Fg,wm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return gh.apply(Hv(fm,hm,Vg,zg,Ig,Lg,Ug,Sg,Fg,bm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===g?v.nice():'object'!=typeof g&&'number'!=typeof g||v.nice(g);var b=v;return b.type='time',b.useUTC=h,b},mF=function(e,t,n,r){var i,o=e.base,s=void 0===o?10:o,a=e.min,A=void 0===a?'auto':a,l=e.max,c=void 0===l?'auto':l;if(t.all.some(function(e){return 0===e}))throw new Error('a log scale domain must not include or cross zero');var u,d,f=!1;if(t.all.filter(function(e){return null!=e}).forEach(function(e){f||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(f=!0))}),f)throw new Error('a log scale domain must be strictly-positive or strictly-negative');u='auto'===A?t.min:A,d='auto'===c?t.max:c;var h=cg().domain([u,d]).rangeRound('x'===r?[0,n]:[n,0]).base(s).nice();return h.type='log',h},vF=function(e,t){return e===t},bF=function(e,t){return e.getTime()===t.getTime()};function yF(e,t,n,r){switch(e.type){case'linear':return fF(e,t,n,r);case'point':return function(e,t,n){var r=wh().range([0,n]).domain(t.all);return r.type='point',r}(0,t,n);case'band':return function(e,t,n,r){var i=e.round,o=void 0===i||i,s=bh().range('x'===r?[0,n]:[n,0]).domain(t.all).round(o);return pF(s)}(e,t,n,r);case'time':return gF(e,t,n);case'log':return mF(e,t,n,r);case'symlog':return function(e,t,n,r){var i,o,s=e.constant,a=void 0===s?1:s,A=e.min,l=void 0===A?'auto':A,c=e.max,u=void 0===c?'auto':c,d=e.reverse,f=void 0!==d&&d;i='auto'===l?t.min:l,o='auto'===u?t.max:u;var h=fg().constant(a).rangeRound('x'===r?[0,n]:[n,0]).nice();!0===f?h.domain([o,i]):h.domain([i,o]);var p=h;return p.type='symlog',p}(e,t,n,r);default:throw new Error('invalid scale spec')}}var wF=function(e,t,n){var r;if('stacked'in n&&n.stacked){var i=e.data['x'===t?'xStacked':'yStacked'];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},BF=function(e,t,n){return{x:xF(e,'x',t),y:xF(e,'y',n)}},xF=function(e,t,n,r){var i=void 0===r?{}:r,o=i.getValue,s=void 0===o?function(e){return e.data[t]}:o,a=i.setValue,A=void 0===a?function(e,n){e.data[t]=n}:a;if('linear'===n.type)e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,parseFloat(String(t)))})});else if('time'===n.type&&'native'!==n.format){var l=dF(n);e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,l(t))})})}var c=[];switch(e.forEach(function(e){e.data.forEach(function(e){c.push(s(e))})}),n.type){case'linear':var u=fj(o_(c).filter(function(e){return null!==e}),function(e){return e});return{all:u,min:Math.min.apply(Math,u),max:Math.max.apply(Math,u)};case'time':var d=z_(c,function(e){return e.getTime()}).slice(0).sort(function(e,t){return t.getTime()-e.getTime()}).reverse();return{all:d,min:d[0],max:oh(d)};default:var f=o_(c);return{all:f,min:f[0],max:oh(f)}}},CF=function(e,t,n){var r=function(e){return'x'===e?'y':'x'}(e),i=[];t[r].all.forEach(function(t){var o=bj(t)?bF:vF,s=[];n.forEach(function(n){var a=n.data.find(function(e){return o(e.data[r],t)}),A=null,l=null;if(void 0!==a){if(null!==(A=a.data[e])){var c=oh(s);void 0===c?l=A:null!==c&&(l=c+A)}a.data['x'===e?'xStacked':'yStacked']=l}s.push(l),null!==l&&i.push(l)})}),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},_F=function(e,t){return CF('x',e,t)},jF=function(e,t){return CF('y',e,t)},FF=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},EF={millisecond:[Cj,Cj],second:[kj,kj],minute:[Qj,Wj],hour:[Oj,Xj],day:[Bj(function(e){return e.setHours(0,0,0,0)},function(e,t){return e.setDate(e.getDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)}),Bj(function(e){return e.setUTCHours(0,0,0,0)},function(e,t){return e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)})],week:[Nj,Zj],sunday:[Nj,Zj],monday:[Tj,$j],tuesday:[Mj,eF],wednesday:[Pj,tF],thursday:[Dj,nF],friday:[Rj,rF],saturday:[Hj,iF],month:[Kj,sF],year:[qj,AF]},SF=Object.keys(EF),kF=new RegExp('^every\\s*(\\d+)?\\s*('+SF.join('|')+')s?$','i'),UF=function(e,t){if(Array.isArray(t))return t;if('string'==typeof t&&'useUTC'in e){var n=t.match(kF);if(n){var r=n[1],i=n[2],o=EF[i][e.useUTC?1:0];if('day'===i){var s,a,A=e.domain(),l=A[0],c=A[1],u=new Date(c);return u.setDate(u.getDate()+1),null!=(s=null==(a=o.every(Number(null!=r?r:1)))?void 0:a.range(l,u))?s:[]}if(void 0===r)return e.ticks(o);var d=o.every(Number(r));if(d)return e.ticks(d)}throw new Error('Invalid tickValues: '+t)}if('ticks'in e){if(void 0===t)return e.ticks();if('number'==typeof(f=t)&&isFinite(f)&&Math.floor(f)===f)return e.ticks(t)}var f;return e.domain()};function QF(){return QF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QF.apply(this,arguments)}var LF=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,s=e.tickSize,a=e.tickPadding,A=e.tickRotation,l=e.truncateTickAt,c=e.engine,u=void 0===c?'svg':c,d=UF(r,o),f=BC[u],h='bandwidth'in r?FF(r):r,p={lineX:0,lineY:0},g={textX:0,textY:0},m='object'==typeof document&&'rtl'===document.dir,v=f.align.center,b=f.baseline.center;return'x'===n?(t=function(e){var t;return{x:null!=(t=h(e))?t:0,y:0}},p.lineY=s*('after'===i?1:-1),g.textY=(s+a)*('after'===i?1:-1),b='after'===i?f.baseline.top:f.baseline.bottom,0===A?v=f.align.center:'after'===i&&A<0||'before'===i&&A>0?(v=f.align[m?'left':'right'],b=f.baseline.center):('after'===i&&A>0||'before'===i&&A<0)&&(v=f.align[m?'right':'left'],b=f.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=h(e))?t:0}},p.lineX=s*('after'===i?1:-1),g.textX=(s+a)*('after'===i?1:-1),v='after'===i?f.align.left:f.align.right),{ticks:d.map(function(e){var n='string'==typeof e?function(e){var t=String(e).length;return l&&l>0&&t>l?''+String(e).slice(0,l).concat('...'):''+e}(e):e;return QF({key:e instanceof Date?''+e.valueOf():''+e,value:n},t(e),p,g)}),textAlign:v,textBaseline:b}},OF=function(e,t){if(void 0===e||'function'==typeof e)return e;if('time'===t.type){var n=bm(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return hw(e)},IF=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,s=e.values,a=(t=s,(Array.isArray(t)?s:void 0)||UF(i,s)),A='bandwidth'in i?FF(i):i,l='x'===o?a.map(function(e){var t,n;return{key:e instanceof Date?''+e.valueOf():''+e,x1:null!=(t=A(e))?t:0,x2:null!=(n=A(e))?n:0,y1:0,y2:r}}):a.map(function(e){var t,r;return{key:e instanceof Date?''+e.valueOf():''+e,x1:0,x2:n,y1:null!=(t=A(e))?t:0,y2:null!=(r=A(e))?r:0}});return l},NF=f(function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,s=e.onClick,a=e.textBaseline,A=e.textAnchor,l=e.animatedProps,c=cC(),u=c.axis.ticks.line,f=c.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=d(function(){var e={opacity:l.opacity};return s?{style:QF({},e,{cursor:'pointer'}),onClick:function(e){return s(e,h)}}:{style:e}},[l.opacity,s,h]);return B(ga.g,QF({transform:l.transform},p,{children:[w('line',{x1:0,x2:i,y1:0,y2:o,style:u}),f.outlineWidth>0&&w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,strokeWidth:2*f.outlineWidth,stroke:f.outlineColor,strokeLinejoin:'round',children:''+h}),w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,children:''+h})]}))}),TF=f(function(t){var n=t.axis,r=t.scale,i=t.x,o=void 0===i?0:i,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,f=t.tickSize,h=void 0===f?5:f,p=t.tickPadding,g=void 0===p?5:p,m=t.tickRotation,v=void 0===m?0:m,b=t.format,y=t.renderTick,C=void 0===y?NF:y,_=t.truncateTickAt,j=t.legend,F=t.legendPosition,E=void 0===F?'end':F,S=t.legendOffset,k=void 0===S?0:S,U=t.onClick,Q=t.ariaHidden,L=cC(),O=L.axis.legend.text,I=d(function(){return OF(b,r)},[b,r]),N=LF({axis:n,scale:r,ticksPosition:c,tickValues:u,tickSize:h,tickPadding:g,tickRotation:v,truncateTickAt:_}),T=N.ticks,M=N.textAlign,P=N.textBaseline,D=null;if(void 0!==j){var R,H=0,z=0,K=0;'y'===n?(K=-90,H=k,'start'===E?(R='start',z=l):'middle'===E?(R='middle',z=l/2):'end'===E&&(R='end')):(z=k,'start'===E?R='start':'middle'===E?(R='middle',H=l/2):'end'===E&&(R='end',H=l)),D=B(x,{children:[O.outlineWidth>0&&w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),strokeWidth:2*O.outlineWidth,stroke:O.outlineColor,strokeLinejoin:'round',children:j}),w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),children:j})]})}var V=Rx(),q=V.animate,G=V.config,W=Ys({transform:'translate('+o+','+A+')',lineX2:'x'===n?l:0,lineY2:'x'===n?0:l,config:G,immediate:!q}),Y=s(function(e){return{opacity:1,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),X=s(function(e){return{opacity:0,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),J=Xs(T,{keys:function(e){return e.key},initial:Y,from:X,enter:Y,update:Y,leave:{opacity:0},config:G,immediate:!q});return B(ga.g,{transform:W.transform,'aria-hidden':Q,children:[J(function(t,n,r,i){return e.createElement(C,QF({tickIndex:i,format:I,rotate:v,textBaseline:P,textAnchor:M,truncateTickAt:_,animatedProps:t},n,U?{onClick:U}:{}))}),w(ga.line,{style:L.axis.domain.line,x1:0,x2:W.lineX2,y1:0,y2:W.lineY2}),D]})}),MF={ticksPosition:kr.oneOf(['before','after']),tickValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])),kr.string]),rotateOnTickLength:kr.shape({angle:kr.number,length:kr.number}),tickSize:kr.number,tickPadding:kr.number,tickRotation:kr.number,format:kr.oneOfType([kr.func,kr.string]),renderTick:kr.func,legend:kr.node,legendPosition:kr.oneOf(['start','middle','end']),legendOffset:kr.number,ariaHidden:kr.bool},PF=kr.shape(MF),DF=['top','right','bottom','left'],RF=f(function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return w(x,{children:DF.map(function(e){var s=o[e];if(!s)return null;var a='top'===e||'bottom'===e;return w(TF,QF({},s,{axis:a?'x':'y',x:'right'===e?r:0,y:'bottom'===e?i:0,scale:a?t:n,length:a?r:i,ticksPosition:'top'===e||'left'===e?'before':'after',truncateTickAt:s.truncateTickAt}),e)})})}),HF=f(function(e){var t=e.animatedProps,n=cC();return w(ga.line,QF({},t,n.grid.line))}),zF=f(function(e){var t=e.lines,n=Rx(),r=n.animate,i=Xs(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return w('g',{children:i(function(e,t){return p(HF,QF({},t,{key:t.key,animatedProps:e}))})})}),KF=f(function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,s=e.yValues,a=d(function(){return!!r&&IF({width:t,height:n,scale:r,axis:'x',values:o})},[r,o,t,n]),A=d(function(){return!!i&&IF({width:t,height:n,scale:i,axis:'y',values:s})},[n,t,i,s]);return B(x,{children:[a&&w(zF,{lines:a}),A&&w(zF,{lines:A})]})}),VF=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,s=t.top,a=t.right,A=t.bottom,l=t.left,c=t.theme,u={top:s,right:a,bottom:A,left:l};DF.forEach(function(t){var s=u[t];if(!s)return null;var a='top'===t||'bottom'===t,A='top'===t||'left'===t?'before':'after',l=a?n:r,d=OF(s.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,s=void 0===o?0:o,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,d=t.tickSize,f=void 0===d?5:d,h=t.tickPadding,p=void 0===h?5:h,g=t.tickRotation,m=void 0===g?0:g,v=t.format,b=t.legend,y=t.legendPosition,w=void 0===y?'end':y,B=t.legendOffset,x=void 0===B?0:B,C=t.theme,_=LF({axis:r,scale:i,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,engine:'canvas'}),j=_.ticks,F=_.textAlign,E=_.textBaseline;e.save(),e.translate(s,A),e.textAlign=F,e.textBaseline=E;var S=C.axis.ticks.text;e.font=(S.fontWeight?S.fontWeight+' ':'')+S.fontSize+'px '+S.fontFamily,(null!=(n=C.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.domain.line.strokeWidth),e.lineCap='square',C.axis.domain.line.stroke&&(e.strokeStyle=C.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo('x'===r?l:0,'x'===r?0:l),e.stroke());var k='function'==typeof v?v:function(e){return''+e};if(j.forEach(function(t){var n;(null!=(n=C.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.ticks.line.strokeWidth),e.lineCap='square',C.axis.ticks.line.stroke&&(e.strokeStyle=C.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=k(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(bC(m)),S.outlineWidth>0&&(e.strokeStyle=S.outlineColor,e.lineWidth=2*S.outlineWidth,e.lineJoin='round',e.strokeText(''+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=S.fill),e.fillText(''+r,0,0),e.restore()}),void 0!==b){var U=0,Q=0,L=0,O='center';'y'===r?(L=-90,U=x,'start'===w?(O='start',Q=l):'middle'===w?(O='center',Q=l/2):'end'===w&&(O='end')):(Q=x,'start'===w?O='start':'middle'===w?(O='center',U=l/2):'end'===w&&(O='end',U=l)),e.translate(U,Q),e.rotate(bC(L)),e.font=(C.axis.legend.text.fontWeight?C.axis.legend.text.fontWeight+' ':'')+C.axis.legend.text.fontSize+'px '+C.axis.legend.text.fontFamily,C.axis.legend.text.fill&&(e.fillStyle=C.axis.legend.text.fill),e.textAlign=O,e.textBaseline='middle',e.fillText(b,0,0)}e.restore()}(e,QF({},s,{axis:a?'x':'y',x:'right'===t?i:0,y:'bottom'===t?o:0,scale:l,format:d,length:a?i:o,ticksPosition:A,theme:c}))})},qF=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,s=t.values;IF({width:n,height:r,scale:i,axis:o,values:s}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})},GF=W_;var WF=hB,YF=function(e,t){var n=[];return GF(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n},XF=D_,JF=pc;var ZF=rr(function(e,t){return(JF(e)?WF:YF)(e,XF(t))}),$F=pA,eE=sc;var tE=rr(function(e){return'number'==typeof e||eE(e)&&'[object Number]'==$F(e)});var nE=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},rE=tu,iE=kB;var oE=function(e,t){return e&&rE(t,iE(t),e)},sE=tu,aE=Bu;var AE=function(e,t){return e&&sE(t,aE(t),e)},lE=tu,cE=wB;var uE=function(e,t){return lE(e,cE(e),t)},dE=Nw,fE=$l,hE=wB,pE=pB,gE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)dE(t,hE(e)),e=fE(e);return t}:pE,mE=tu,vE=gE;var bE=function(e,t){return mE(e,vE(e),t)},yE=fB,wE=gE,BE=Bu;var xE=function(e){return yE(e,BE,wE)},CE=Object.prototype.hasOwnProperty;var _E=function(e){var t=e.length,n=new e.constructor(t);return t&&'string'==typeof e[0]&&CE.call(e,'index')&&(n.index=e.index,n.input=e.input),n},jE=Kl;var FE=function(e,t){var n=t?jE(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},EE=/\w*$/;var SE=function(e){var t=new e.constructor(e.source,EE.exec(e));return t.lastIndex=e.lastIndex,t},kE=iA?iA.prototype:void 0,UE=kE?kE.valueOf:void 0;var QE=Kl,LE=FE,OE=SE,IE=function(e){return UE?Object(UE.call(e)):{}},NE=ql;var TE=function(e,t,n){var r=e.constructor;switch(t){case'[object ArrayBuffer]':return QE(e);case'[object Boolean]':case'[object Date]':return new r(+e);case'[object DataView]':return LE(e,n);case'[object Float32Array]':case'[object Float64Array]':case'[object Int8Array]':case'[object Int16Array]':case'[object Int32Array]':case'[object Uint8Array]':case'[object Uint8ClampedArray]':case'[object Uint16Array]':case'[object Uint32Array]':return NE(e,n);case'[object Map]':case'[object Set]':return new r;case'[object Number]':case'[object String]':return new r(e);case'[object RegExp]':return OE(e);case'[object Symbol]':return IE(e)}},ME=ox,PE=sc;var DE=function(e){return PE(e)&&'[object Map]'==ME(e)},RE=Rc,HE=zc&&zc.isMap,zE=HE?RE(HE):DE,KE=ox,VE=sc;var qE=function(e){return VE(e)&&'[object Set]'==KE(e)},GE=Rc,WE=zc&&zc.isSet,YE=WE?GE(WE):qE,XE=kl,JE=nE,ZE=Zc,$E=oE,eS=AE,tS=Rl,nS=Gl,rS=uE,iS=bE,oS=OB,sS=xE,aS=ox,AS=_E,lS=TE,cS=oc,uS=pc,dS=_c,fS=zE,hS=gA,pS=YE,gS=kB,mS=Bu,vS='[object Arguments]',bS='[object Function]',yS='[object Object]',wS={};wS[vS]=wS['[object Array]']=wS['[object ArrayBuffer]']=wS['[object DataView]']=wS['[object Boolean]']=wS['[object Date]']=wS['[object Float32Array]']=wS['[object Float64Array]']=wS['[object Int8Array]']=wS['[object Int16Array]']=wS['[object Int32Array]']=wS['[object Map]']=wS['[object Number]']=wS[yS]=wS['[object RegExp]']=wS['[object Set]']=wS['[object String]']=wS['[object Symbol]']=wS['[object Uint8Array]']=wS['[object Uint8ClampedArray]']=wS['[object Uint16Array]']=wS['[object Uint32Array]']=!0,wS['[object Error]']=wS[bS]=wS['[object WeakMap]']=!1;var BS=function e(t,n,r,i,o,s){var a,A=1&n,l=2&n,c=4&n;if(r&&(a=o?r(t,i,o,s):r(t)),void 0!==a)return a;if(!hS(t))return t;var u=uS(t);if(u){if(a=AS(t),!A)return nS(t,a)}else{var d=aS(t),f=d==bS||'[object GeneratorFunction]'==d;if(dS(t))return tS(t,A);if(d==yS||d==vS||f&&!o){if(a=l||f?{}:cS(t),!A)return l?iS(t,eS(a,t)):rS(t,$E(a,t))}else{if(!wS[d])return o?t:{};a=lS(t,d,A)}}s||(s=new XE);var h=s.get(t);if(h)return h;s.set(t,a),pS(t)?t.forEach(function(i){a.add(e(i,n,r,i,t,s))}):fS(t)&&t.forEach(function(i,o){a.set(o,e(i,n,r,o,t,s))});var p=u?void 0:(c?l?sS:oS:l?mS:gS)(t);return JE(p||t,function(i,o){p&&(i=t[o=i]),ZE(a,o,e(i,n,r,o,t,s))}),a};var xS=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},CS=Zd,_S=xS;var jS=function(e,t){return t.length<2?e:CS(e,_S(t,0,-1))},FS=Gd,ES=ih,SS=jS,kS=Yd,US=Object.prototype.hasOwnProperty;var QS=function(e,t){var n=-1,r=(t=FS(t,e)).length;if(!r)return!0;for(var i=null==e||'object'!=typeof e&&'function'!=typeof e;++n<r;){var o=t[n];if('string'==typeof o){if('__proto__'===o&&!US.call(e,'__proto__'))return!1;if('constructor'===o&&n+1<r&&'string'==typeof t[n+1]&&'prototype'===t[n+1]){if(i&&0===n)continue;return!1}}}var s=SS(e,t);return null==s||delete s[kS(ES(t))]},LS=Oc;var OS=Id,IS=BS,NS=QS,TS=Gd,MS=tu,PS=function(e){return LS(e)?void 0:e},DS=xE,RS=Gw(function(e,t){var n={};if(null==e)return n;var r=!1;t=OS(t,function(t){return t=TS(t,e),r||(r=t.length>1),t}),MS(e,DS(e),n),r&&(n=IS(n,7,PS));for(var i=t.length;i--;)NS(n,t[i]);return n}),HS=rr(RS);function zS(){return zS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zS.apply(this,arguments)}var KS=4,VS=120,qS=8,GS=function(e){return'circle'===e.type},WS=function(e){return'dot'===e.type},YS=function(e){return'rect'===e.type},XS=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,s=e.noteY,a=e.noteWidth,A=void 0===a?VS:a,l=e.noteTextOffset,c=void 0===l?qS:l;if(tE(o))t=r+o;else{if(void 0===o.abs)throw new Error('noteX should be either a number or an object containing an \'abs\' property');t=o.abs}if(tE(s))n=i+s;else{if(void 0===s.abs)throw new Error('noteY should be either a number or an object containing an \'abs\' property');n=s.abs}var u=r,d=i,f=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(yC(i))}(r,i,t,n);if(GS(e)){var h=wC(bC(f),e.size/2);u+=h.x,d+=h.y}if(YS(e)){var p=Math.round((f+90)/45)%8;0===p&&(d-=e.height/2),1===p&&(u+=e.width/2,d-=e.height/2),2===p&&(u+=e.width/2),3===p&&(u+=e.width/2,d+=e.height/2),4===p&&(d+=e.height/2),5===p&&(u-=e.width/2,d+=e.height/2),6===p&&(u-=e.width/2),7===p&&(u-=e.width/2,d-=e.height/2)}var g=t,m=t;return(f+90)%360>180?(g-=A,m-=A):m+=A,{points:[[u,d],[t,n],[m,n]],text:[g,n-c],angle:f+90}},JS=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return d(function(){return function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce(function(e,n){var o=n.offset||0;return[].concat(e,ZF(t,n.match).map(function(e){var t=r(e),s=i(e);return(GS(n)||YS(n))&&(s.size=s.size+2*o,s.width=s.width+2*o,s.height=s.height+2*o),zS({},HS(n,['match','offset']),t,s,{size:n.size||s.size,datum:e})}))},[])}({data:t,annotations:n,getPosition:r,getDimensions:i})},[t,n,r,i])},ZS=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=cC(),s=Rx(),a=s.animate,A=Ys({x:n,y:r,config:s.config,immediate:!a});return'function'==typeof i?p(i,{x:n,y:r,datum:t}):B(x,{children:[o.annotations.text.outlineWidth>0&&w(ga.text,{x:A.x,y:A.y,style:zS({},o.annotations.text,{strokeLinejoin:'round',strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),w(ga.text,{x:A.x,y:A.y,style:HS(o.annotations.text,['outlineWidth','outlineColor']),children:i})]})},$S=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=cC(),o=d(function(){var e=t[0];return t.slice(1).reduce(function(e,t){return e+' L'+t[0]+','+t[1]},'M'+e[0]+','+e[1])},[t]),s=Hx(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var a=zS({},i.annotations.link);return r&&(a.strokeLinecap='square',a.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,a.stroke=i.annotations.link.outlineColor,a.opacity=i.annotations.link.outlineOpacity),w(ga.path,{fill:'none',d:s,style:a})},ek=function(e){var t=e.x,n=e.y,r=e.size,i=cC(),o=Rx(),s=o.animate,a=Ys({x:t,y:n,radius:r/2,config:o.config,immediate:!s});return B(x,{children:[i.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:zS({},i.annotations.outline,{fill:'none',strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:i.annotations.outline})]})},tk=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?KS:r,o=cC(),s=Rx(),a=s.animate,A=Ys({x:t,y:n,radius:i/2,config:s.config,immediate:!a});return B(x,{children:[o.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:zS({},o.annotations.outline,{fill:'none',strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:o.annotations.symbol})]})},nk=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.borderRadius,s=void 0===o?6:o,a=cC(),A=Rx(),l=A.animate,c=Ys({x:t-r/2,y:n-i/2,width:r,height:i,config:A.config,immediate:!l});return B(x,{children:[a.annotations.outline.outlineWidth>0&&w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:zS({},a.annotations.outline,{fill:'none',strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:a.annotations.outline})]})},rk=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return d(function(){return XS(e)},[e])}(e);if(!function(e){var t=typeof e;return a(e)||'string'===t||'function'===t||'object'===t}(i))throw new Error('note should be a valid react element');return B(x,{children:[w($S,{points:o.points,isOutline:!0}),GS(e)&&w(ek,{x:n,y:r,size:e.size}),WS(e)&&w(tk,{x:n,y:r,size:e.size}),YS(e)&&w(nk,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),w($S,{points:o.points}),w(ZS,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},ik=function(e,t){t.forEach(function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)})};function ok(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}var sk=ok('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),ak=ok('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),Ak=ok('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),lk=ok('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),ck=ok('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),uk=ok('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),dk=ok('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),fk=ok('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3'),hk=ok('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),pk=e=>gp(e[e.length-1]),gk=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(ok),mk=pk(gk),vk=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(ok),bk=pk(vk),yk=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(ok),wk=pk(yk),Bk=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(ok),xk=pk(Bk),Ck=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(ok),_k=pk(Ck),jk=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(ok),Fk=pk(jk),Ek=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(ok),Sk=pk(Ek),kk=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(ok),Uk=pk(kk),Qk=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(ok),Lk=pk(Qk),Ok=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(ok),Ik=pk(Ok),Nk=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(ok),Tk=pk(Nk),Mk=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(ok),Pk=pk(Mk),Dk=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(ok),Rk=pk(Dk),Hk=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(ok),zk=pk(Hk),Kk=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(ok),Vk=pk(Kk),qk=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(ok),Gk=pk(qk),Wk=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(ok),Yk=pk(Wk),Xk=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(ok),Jk=pk(Xk),Zk=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(ok),$k=pk(Zk),eU=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(ok),tU=pk(eU),nU=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(ok),rU=pk(nU),iU=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(ok),oU=pk(iU),sU=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(ok),aU=pk(sU),AU=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(ok),lU=pk(AU),cU=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(ok),uU=pk(cU),dU=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(ok),fU=pk(dU),hU=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(ok),pU=pk(hU);function gU(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function mU(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vU(){}var bU=.7,yU=1/bU,wU='\\s*([+-]?\\d+)\\s*',BU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',xU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',CU=/^#([0-9a-f]{3,8})$/,_U=new RegExp('^rgb\\('+[wU,wU,wU]+'\\)$'),jU=new RegExp('^rgb\\('+[xU,xU,xU]+'\\)$'),FU=new RegExp('^rgba\\('+[wU,wU,wU,BU]+'\\)$'),EU=new RegExp('^rgba\\('+[xU,xU,xU,BU]+'\\)$'),SU=new RegExp('^hsl\\('+[BU,xU,xU]+'\\)$'),kU=new RegExp('^hsla\\('+[BU,xU,xU,BU]+'\\)$'),UU={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};function QU(){return this.rgb().formatHex()}function LU(){return this.rgb().formatRgb()}function OU(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=CU.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?IU(t):3===n?new PU(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?NU(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?NU(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=_U.exec(e))?new PU(t[1],t[2],t[3],1):(t=jU.exec(e))?new PU(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=FU.exec(e))?NU(t[1],t[2],t[3],t[4]):(t=EU.exec(e))?NU(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=SU.exec(e))?zU(t[1],t[2]/100,t[3]/100,1):(t=kU.exec(e))?zU(t[1],t[2]/100,t[3]/100,t[4]):UU.hasOwnProperty(e)?IU(UU[e]):'transparent'===e?new PU(NaN,NaN,NaN,0):null}function IU(e){return new PU(e>>16&255,e>>8&255,255&e,1)}function NU(e,t,n,r){return r<=0&&(e=t=n=NaN),new PU(e,t,n,r)}function TU(e){return e instanceof vU||(e=OU(e)),e?new PU((e=e.rgb()).r,e.g,e.b,e.opacity):new PU}function MU(e,t,n,r){return 1===arguments.length?TU(e):new PU(e,t,n,null==r?1:r)}function PU(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function DU(){return'#'+HU(this.r)+HU(this.g)+HU(this.b)}function RU(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'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))+(1===e?')':', '+e+')')}function HU(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function zU(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new VU(e,t,n,r)}function KU(e){if(e instanceof VU)return new VU(e.h,e.s,e.l,e.opacity);if(e instanceof vU||(e=OU(e)),!e)return new VU;if(e instanceof VU)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new VU(s,a,A,e.opacity)}function VU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function qU(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}gU(vU,OU,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:QU,formatHex:QU,formatHsl:function(){return KU(this).formatHsl()},formatRgb:LU,toString:LU}),gU(PU,MU,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new PU(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new PU(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:DU,formatHex:DU,formatRgb:RU,toString:RU})),gU(VU,function(e,t,n,r){return 1===arguments.length?KU(e):new VU(e,t,n,null==r?1:r)},mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new VU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new VU(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new PU(qU(e>=240?e-240:e+120,i,r),qU(e,i,r),qU(e<120?e+240:e-120,i,r),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(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?'hsl(':'hsla(')+(this.h||0)+', '+100*(this.s||0)+'%, '+100*(this.l||0)+'%'+(1===e?')':', '+e+')')}}));const GU=Math.PI/180,WU=180/Math.PI;var YU=-.14861,XU=1.78277,JU=-.29227,ZU=-.90649,$U=1.97294,eQ=$U*ZU,tQ=$U*XU,nQ=XU*JU-ZU*YU;function rQ(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof iQ)return new iQ(e.h,e.s,e.l,e.opacity);e instanceof PU||(e=TU(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(nQ*r+eQ*t-tQ*n)/-5.9615122912,o=r-i,s=($U*(n-i)-JU*o)/ZU,a=Math.sqrt(s*s+o*o)/($U*i*(1-i)),A=a?Math.atan2(s,o)*WU-120:NaN;return new iQ(A<0?A+360:A,a,i,e.opacity)}(e):new iQ(e,t,n,null==r?1:r)}function iQ(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}gU(iQ,rQ,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*GU,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new PU(255*(t+n*(YU*r+XU*i)),255*(t+n*(JU*r+ZU*i)),255*(t+n*($U*r)),this.opacity)}}));var oQ=Ep(rQ(300,.5,0),rQ(-240,.5,1)),sQ=Ep(rQ(-100,.75,.35),rQ(80,1.5,.8)),aQ=Ep(rQ(260,.75,.35),rQ(80,1.5,.8)),AQ=rQ();var lQ=MU(),cQ=Math.PI/3,uQ=2*Math.PI/3;function dQ(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var fQ=dQ(ok('44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725')),hQ=dQ(ok('00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf')),pQ=dQ(ok('00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4')),gQ=dQ(ok('0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921'));function mQ(){return mQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mQ.apply(this,arguments)}function vQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bQ={nivo:['#e8c1a0','#f47560','#f1e15b','#e8a838','#61cdbb','#97e3d5'],category10:sk,accent:ak,dark2:Ak,paired:lk,pastel1:ck,pastel2:uk,set1:dk,set2:fk,set3:hk},yQ=Object.keys(bQ),wQ={brown_blueGreen:gk,purpleRed_green:vk,pink_yellowGreen:yk,purple_orange:Bk,red_blue:Ck,red_grey:jk,red_yellow_blue:Ek,red_yellow_green:kk,spectral:Qk},BQ=Object.keys(wQ),xQ={brown_blueGreen:mk,purpleRed_green:bk,pink_yellowGreen:wk,purple_orange:xk,red_blue:_k,red_grey:Fk,red_yellow_blue:Sk,red_yellow_green:Uk,spectral:Lk},CQ={blues:iU,greens:sU,greys:AU,oranges:hU,purples:cU,reds:dU,blue_green:Ok,blue_purple:Nk,green_blue:Mk,orange_red:Dk,purple_blue_green:Hk,purple_blue:Kk,purple_red:qk,red_purple:Wk,yellow_green_blue:Xk,yellow_green:Zk,yellow_orange_brown:eU,yellow_orange_red:nU},_Q=Object.keys(CQ),jQ={blues:oU,greens:aU,greys:lU,oranges:pU,purples:uU,reds:fU,turbo:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+', '+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+', '+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+')'},viridis:fQ,inferno:pQ,magma:hQ,plasma:gQ,cividis:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+', '+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+', '+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+')'},warm:sQ,cool:aQ,cubehelixDefault:oQ,blue_green:Ik,blue_purple:Tk,green_blue:Pk,orange_red:Rk,purple_blue_green:zk,purple_blue:Vk,purple_red:Gk,red_purple:Yk,yellow_green_blue:Jk,yellow_green:$k,yellow_orange_brown:tU,yellow_orange_red:rU},FQ=mQ({},bQ,wQ,CQ),EQ=Object.keys(FQ),SQ={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return AQ.h=360*e-100,AQ.s=1.5-1.5*t,AQ.l=.8-.9*t,AQ+''},sinebow:function(e){var t;return e=(.5-e)*Math.PI,lQ.r=255*(t=Math.sin(e))*t,lQ.g=255*(t=Math.sin(e+cQ))*t,lQ.b=255*(t=Math.sin(e+uQ))*t,lQ+''}};mQ({},xQ,jQ,SQ);var kQ=function(e,t){if('function'==typeof e)return e;if(Ic(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error('Unable to use color from theme as no theme was provided');var n=tf(t,e.theme);if(void 0===n)throw new Error('Color from theme is undefined at path: \''+e.theme+'\'');return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return tf(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],s=function(){var e=i.value,t=e[0],n=e[1];if('brighter'===t)o.push(function(e){return e.brighter(n)});else if('darker'===t)o.push(function(e){return e.darker(n)});else{if('opacity'!==t)throw new Error('Invalid color modifier: \''+t+'\', must be one of: \'brighter\', \'darker\', \'opacity\'');o.push(function(e){return e.opacity=n,e})}},a=function(e,t){var n='undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if('string'==typeof e)return vQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return'Object'===n&&e.constructor&&(n=e.constructor.name),'Map'===n||'Set'===n?Array.from(e):'Arguments'===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vQ(e,t):void 0}}(e))||t&&e&&'number'==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}(e.modifiers);!(i=a()).done;)s();return 0===o.length?r:function(e){return o.reduce(function(e,t){return t(e)},Lf(r(e))).toString()}}return r}throw new Error('Invalid color spec, you should either specify \'theme\' or \'from\' when using a config object')}return function(){return e}},UQ=function(e,t){return d(function(){return kQ(e,t)},[e,t])},QQ=kr.oneOfType([kr.func,kr.arrayOf(kr.string),kr.shape({scheme:kr.oneOf(EQ).isRequired,size:kr.number}),kr.shape({datum:kr.string.isRequired}),kr.string]);kr.oneOfType([kr.string,kr.func,kr.shape({theme:kr.string.isRequired}),kr.shape({from:kr.string.isRequired,modifiers:kr.arrayOf(kr.array)})]);var LQ=function(e,t){if('function'==typeof e)return e;var n='function'==typeof t?t:function(e){return tf(e,t)};if(Array.isArray(e)){var r=vh(e),i=function(e){return r(n(e))};return i.scale=r,i}if(Ic(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return tf(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return yQ.includes(e)}(e.scheme)){var o=vh(FQ[e.scheme]),s=function(e){return o(n(e))};return s.scale=o,s}if(function(e){return BQ.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error('Invalid size \''+e.size+'\' for diverging color scheme \''+e.scheme+'\', must be between 3~11');var a=vh(FQ[e.scheme][e.size||11]),A=function(e){return a(n(e))};return A.scale=a,A}if(function(e){return _Q.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error('Invalid size \''+e.size+'\' for sequential color scheme \''+e.scheme+'\', must be between 3~9');var l=vh(FQ[e.scheme][e.size||9]),c=function(e){return l(n(e))};return c.scale=l,c}}throw new Error('Invalid colors, when using an object, you should either pass a \'datum\' or a \'scheme\' property')}return function(){return e}},OQ=function(e,t){return d(function(){return LQ(e,t)},[e,t])};function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IQ.apply(this,arguments)}var NQ={top:0,right:0,bottom:0,left:0},TQ=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,s=e.itemWidth,a=e.itemHeight;if('number'!=typeof i&&('object'!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error('Invalid property padding, must be one of: number, object');var A='number'==typeof i?{top:i,right:i,bottom:i,left:i}:IQ({},NQ,i),l=A.left+A.right,c=A.top+A.bottom,u=s+l,d=a+c,f=(o-1)*r;return'row'===n?u=s*o+f+l:'column'===n&&(d=a*o+f+c),{width:u,height:d,padding:A}},MQ=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,s=e.width,a=e.height,A=n,l=r;switch(t){case'top':A+=(i-s)/2;break;case'top-right':A+=i-s;break;case'right':A+=i-s,l+=(o-a)/2;break;case'bottom-right':A+=i-s,l+=o-a;break;case'bottom':A+=(i-s)/2,l+=o-a;break;case'bottom-left':l+=o-a;break;case'left':l+=(o-a)/2;break;case'center':A+=(i-s)/2,l+=(o-a)/2}return{x:A,y:l}},PQ=function(e){var t,n,r,i,o,s,a=e.direction,A=e.justify,l=e.symbolSize,c=e.symbolSpacing,u=e.width,d=e.height;switch(a){case'left-to-right':t=0,n=(d-l)/2,i=d/2,s='central',A?(r=u,o='end'):(r=l+c,o='start');break;case'right-to-left':t=u-l,n=(d-l)/2,i=d/2,s='central',A?(r=0,o='start'):(r=u-l-c,o='end');break;case'top-to-bottom':t=(u-l)/2,n=0,r=u/2,o='middle',A?(i=d,s='alphabetic'):(i=l+c,s='text-before-edge');break;case'bottom-to-top':t=(u-l)/2,n=d-l,r=u/2,o='middle',A?(i=0,s='text-before-edge'):(i=d-l-c,s='alphabetic')}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:s}},DQ={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('circle',{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+.8*r+' '+r/2+'\n L'+r/2+' '+r+'\n L'+.2*r+' '+r/2+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('rect',{x:t,y:n,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,width:r,height:r,style:{pointerEvents:'none'}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+r+' '+r+'\n L0 '+r+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})}},RQ=function(t){var r,i,o,a,A,l,c,u,d,f,h,p=t.x,g=t.y,m=t.width,v=t.height,b=t.data,y=t.direction,x=void 0===y?'left-to-right':y,C=t.justify,_=void 0!==C&&C,j=t.textColor,F=t.background,E=void 0===F?'transparent':F,S=t.opacity,k=void 0===S?1:S,U=t.symbolShape,Q=void 0===U?'square':U,L=t.symbolSize,O=void 0===L?16:L,I=t.symbolSpacing,N=void 0===I?8:I,T=t.symbolBorderWidth,M=void 0===T?0:T,P=t.symbolBorderColor,D=void 0===P?'transparent':P,R=t.onClick,H=t.onMouseEnter,z=t.onMouseLeave,K=t.toggleSerie,V=t.effects,q=n({}),G=q[0],W=q[1],Y=cC(),X=s(function(e){if(V){var t=V.filter(function(e){return'hover'===e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==H||H(b,e)},[H,b,V]),J=s(function(e){if(V){var t=V.filter(function(e){return'hover'!==e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==z||z(b,e)},[z,b,V]),Z=PQ({direction:x,justify:_,symbolSize:null!=(r=G.symbolSize)?r:O,symbolSpacing:N,width:m,height:v}),$=Z.symbolX,ee=Z.symbolY,te=Z.labelX,ne=Z.labelY,re=Z.labelAnchor,ie=Z.labelAlignment,oe=[R,H,z,K].some(function(e){return void 0!==e}),se='function'==typeof Q?Q:DQ[Q];return B('g',{transform:'translate('+p+','+g+')',style:{opacity:null!=(i=G.itemOpacity)?i:k},children:[w('rect',{width:m,height:v,fill:null!=(o=G.itemBackground)?o:E,style:{cursor:oe?'pointer':'auto'},onClick:function(e){null==R||R(b,e),null==K||K(b.id)},onMouseEnter:X,onMouseLeave:J}),e.createElement(se,IQ({id:b.id,x:$,y:ee,size:null!=(a=G.symbolSize)?a:O,fill:null!=(A=null!=(l=b.fill)?l:b.color)?A:'black',borderWidth:null!=(c=G.symbolBorderWidth)?c:M,borderColor:null!=(u=G.symbolBorderColor)?u:D},b.hidden?Y.legends.hidden.symbol:void 0)),w('text',{textAnchor:re,style:IQ({},Y.legends.text,{fill:null!=(d=null!=(f=null!=(h=G.itemTextColor)?h:j)?f:Y.legends.text.fill)?d:'black',dominantBaseline:ie,pointerEvents:'none',userSelect:'none'},b.hidden?Y.legends.hidden.text:void 0),x:te,y:ne,children:b.label})]})},HQ=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,s=void 0===o?0:o,a=e.justify,A=e.effects,l=e.itemWidth,c=e.itemHeight,u=e.itemDirection,d=void 0===u?'left-to-right':u,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemTextColor,g=e.itemBackground,m=void 0===g?'transparent':g,v=e.itemOpacity,b=void 0===v?1:v,y=e.symbolShape,B=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,_=e.symbolBorderColor,j=e.onClick,F=e.onMouseEnter,E=e.onMouseLeave,S=e.toggleSerie,k=TQ({itemCount:t.length,itemWidth:l,itemHeight:c,itemsSpacing:h,direction:i,padding:s}).padding,U='row'===i?l+h:0,Q='column'===i?c+h:0;return w('g',{transform:'translate('+n+','+r+')',children:t.map(function(e,t){return w(RQ,{data:e,x:t*U+k.left,y:t*Q+k.top,width:l,height:c,direction:d,justify:a,effects:A,textColor:p,background:m,opacity:b,symbolShape:y,symbolSize:B,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:_,onClick:j,onMouseEnter:F,onMouseLeave:E,toggleSerie:S},t)})})},zQ=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,s=e.translateY,a=void 0===s?0:s,A=e.anchor,l=e.direction,c=e.padding,u=void 0===c?0:c,d=e.justify,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemWidth,g=e.itemHeight,m=e.itemDirection,v=e.itemTextColor,b=e.itemBackground,y=e.itemOpacity,B=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,_=e.symbolBorderWidth,j=e.symbolBorderColor,F=e.onClick,E=e.onMouseEnter,S=e.onMouseLeave,k=e.toggleSerie,U=e.effects,Q=TQ({itemCount:t.length,itemsSpacing:h,itemWidth:p,itemHeight:g,direction:l,padding:u}),L=Q.width,O=Q.height,I=MQ({anchor:A,translateX:o,translateY:a,containerWidth:n,containerHeight:r,width:L,height:O}),N=I.x,T=I.y;return w(HQ,{data:t,x:N,y:T,direction:l,padding:u,justify:d,effects:U,itemsSpacing:h,itemWidth:p,itemHeight:g,itemDirection:m,itemTextColor:v,itemBackground:b,itemOpacity:y,symbolShape:B,symbolSize:x,symbolSpacing:C,symbolBorderWidth:_,symbolBorderColor:j,onClick:F,onMouseEnter:E,onMouseLeave:S,toggleSerie:'boolean'==typeof k?void 0:k})},KQ={start:'left',middle:'center',end:'right'},VQ=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,s=void 0===o?0:o,a=t.translateY,A=void 0===a?0:a,l=t.anchor,c=t.direction,u=t.padding,d=void 0===u?0:u,f=t.justify,h=void 0!==f&&f,p=t.itemsSpacing,g=void 0===p?0:p,m=t.itemWidth,v=t.itemHeight,b=t.itemDirection,y=void 0===b?'left-to-right':b,w=t.itemTextColor,B=t.symbolSize,x=void 0===B?16:B,C=t.symbolSpacing,_=void 0===C?8:C,j=t.theme,F=TQ({itemCount:n.length,itemWidth:m,itemHeight:v,itemsSpacing:g,direction:c,padding:d}),E=F.width,S=F.height,k=F.padding,U=MQ({anchor:l,translateX:s,translateY:A,containerWidth:r,containerHeight:i,width:E,height:S}),Q=U.x,L=U.y,O='row'===c?m+g:0,I='column'===c?v+g:0;e.save(),e.translate(Q,L),e.font=j.legends.text.fontSize+'px '+(j.legends.text.fontFamily||'sans-serif'),n.forEach(function(t,n){var r,i,o=n*O+k.left,s=n*I+k.top,a=PQ({direction:y,justify:h,symbolSize:x,symbolSpacing:_,width:m,height:v}),A=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:'black',e.fillRect(o+A,s+l,x,x),e.textAlign=KQ[d],'central'===f&&(e.textBaseline='middle'),e.fillStyle=null!=(i=null!=w?w:j.legends.text.fill)?i:'black',e.fillText(String(t.label),o+c,s+u)}),e.restore()},qQ={data:kr.arrayOf(kr.object),anchor:kr.oneOf(['top','top-right','right','bottom-right','bottom','bottom-left','left','top-left','center']).isRequired,translateX:kr.number,translateY:kr.number,direction:kr.oneOf(['row','column']).isRequired,itemsSpacing:kr.number,itemWidth:kr.number.isRequired,itemHeight:kr.number.isRequired,itemDirection:kr.oneOf(['left-to-right','right-to-left','top-to-bottom','bottom-to-top']),itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolShape:kr.oneOfType([kr.oneOf(['circle','diamond','square','triangle']),kr.func]),symbolSize:kr.number,symbolSpacing:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string,onClick:kr.func,onMouseEnter:kr.func,onMouseLeave:kr.func,effects:kr.arrayOf(kr.shape({on:kr.oneOfType([kr.oneOf(['hover'])]).isRequired,style:kr.shape({itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolSize:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string}).isRequired}))};function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(this,arguments)}function WQ(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var YQ,XQ=function(e){var t=e.bars,n=e.annotations,r=JS({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return w(x,{children:r.map(function(e,t){return w(rk,GQ({},e),t)})})},JQ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return w(x,{children:r.map(function(e,r){var o,s=e[0],a=e[1];return w(zQ,GQ({},s,{containerWidth:t,containerHeight:n,data:null!=(o=s.data)?o:a,toggleSerie:s.toggleSerie&&'keys'===s.dataFrom?i:void 0}),r)})})},ZQ=['data'],$Q=['color','label'],eL={indexBy:'id',keys:['value'],groupMode:'stacked',layout:'vertical',reverse:!1,minValue:'auto',maxValue:'auto',valueScale:{type:'linear'},indexScale:{type:'band',round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:'formattedValue',labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:'theme',theme:'labels.text.fill'},colorBy:'id',colors:{scheme:'nivo'},borderRadius:0,borderWidth:0,borderColor:{from:'color'},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=WQ(e,$Q);return w(Ba,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+' - '+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[]},tL=GQ({},eL,{layers:['grid','axes','bars','markers','legends','annotations'],barComponent:function(e){var t,n=e.bar,r=n.data,i=WQ(n,ZQ),o=e.style,a=o.borderColor,A=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,f=o.labelX,h=o.labelY,g=o.transform,m=o.width,v=e.borderRadius,b=e.borderWidth,y=e.label,x=e.shouldRenderLabel,C=e.isInteractive,_=e.onClick,j=e.onMouseEnter,F=e.onMouseLeave,E=e.tooltip,S=e.isFocusable,k=e.ariaLabel,U=e.ariaLabelledBy,Q=e.ariaDescribedBy,L=cC(),O=ka(),I=O.showTooltipFromEvent,N=O.showTooltipAt,T=O.hideTooltip,M=d(function(){return function(){return p(E,GQ({},i,r))}},[E,i,r]),P=s(function(e){null==_||_(GQ({color:i.color},r),e)},[i,r,_]),D=s(function(e){return I(M(),e)},[I,M]),R=s(function(e){null==j||j(r,e),I(M(),e)},[r,j,I,M]),H=s(function(e){null==F||F(r,e),T()},[r,T,F]),z=s(function(){N(M(),[i.absX+i.width/2,i.absY])},[N,M,i]),K=s(function(){T()},[T]);return B(ga.g,{transform:g,children:[w(ga.rect,{width:na(m,function(e){return Math.max(e,0)}),height:na(l,function(e){return Math.max(e,0)}),rx:v,ry:v,fill:null!=(t=r.fill)?t:A,strokeWidth:b,stroke:a,focusable:S,tabIndex:S?0:void 0,'aria-label':k?k(r):void 0,'aria-labelledby':U?U(r):void 0,'aria-describedby':Q?Q(r):void 0,onMouseEnter:C?R:void 0,onMouseMove:C?D:void 0,onMouseLeave:C?H:void 0,onClick:C?P:void 0,onFocus:C&&S?z:void 0,onBlur:C&&S?K:void 0}),x&&w(ga.text,{x:f,y:h,textAnchor:'middle',dominantBaseline:'central',fillOpacity:u,style:GQ({},L.labels.text,{pointerEvents:'none',fill:c}),children:y})]})},defs:[],fill:[],animate:!0,motionConfig:'default',role:'img',isFocusable:!1}),nL=GQ({},eL,{layers:['grid','axes','bars','legends','annotations'],pixelRatio:'undefined'!=typeof window&&null!=(YQ=window.devicePixelRatio)?YQ:1}),rL=function(e,t,n,r,i,o){return yF(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},iL=function(e,t){return e.map(function(e){return GQ({},t.reduce(function(e,t){return e[t]=null,e},{}),e)})},oL=function(e){return Object.keys(e).reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},{})},sL=function(e){return[e,Number(e)]},aL=['layout','minValue','maxValue','reverse','width','height','padding','innerPadding','valueScale','indexScale','hiddenIds'],AL=function(e,t){return e>t},lL=function(e,t){return e<t},cL=function(e,t){return Array.from(' '.repeat(t-e),function(t,n){return e+n})},uL=function(e){return AL(e,0)?0:e},dL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getColor,a=e.getIndex,A=e.getTooltipLabel,l=e.innerPadding,c=void 0===l?0:l,u=e.keys,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return u.forEach(function(e,n){return cL(0,d.domain().length).forEach(function(l){var u,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=a(i[l]),C=(null!=(u=d(x))?u:0)+t*n+c*n,_=p(v=B,0)?null!=(b=f(v))?b:0:r,j=function(e,t){var n;return p(e,0)?r-t:(null!=(n=f(e))?n:0)-r}(B,_),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:t,height:j,color:s(F),label:A(F)})})}),m},fL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getIndex,a=e.getColor,A=e.getTooltipLabel,l=e.keys,c=e.innerPadding,u=void 0===c?0:c,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return l.forEach(function(e,n){return cL(0,f.domain().length).forEach(function(l){var c,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=s(i[l]),C=p(v=B,0)?r:null!=(b=d(v))?b:0,_=(null!=(c=f(x))?c:0)+t*n+u*n,j=function(e,t){var n;return p(e,0)?(null!=(n=d(e))?n:0)-r:r-t}(B,C),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:j,height:t,color:a(F),label:A(F)})})}),m},hL=function(e){var t,n,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.innerPadding,d=void 0===u?0:u,f=e.valueScale,h=e.indexScale,p=e.hiddenIds,g=void 0===p?[]:p,m=WQ(e,aL),v=m.keys.filter(function(e){return!g.includes(e)}),b=iL(m.data,v),y='vertical'===r?['y','x',a]:['x','y',A],w=y[0],B=y[1],x=y[2],C=rL(b,m.getIndex,c,h,x,B),_=GQ({max:o,min:i,reverse:s},f),j='auto'===_.min?uL:function(e){return e},F=b.reduce(function(e,t){return[].concat(e,v.map(function(e){return t[e]}))},[]).filter(Boolean),E=yF(_,{all:F,min:j(Math.min.apply(Math,F)),max:(n=Math.max.apply(Math,F),isFinite(n)?n:0)},'x'===w?a:A,w),S='vertical'===r?[C,E]:[E,C],k=S[0],U=S[1],Q=(C.bandwidth()-d*(v.length-1))/v.length,L=[GQ({},m,{data:b,keys:v,innerPadding:d,xScale:k,yScale:U}),Q,_.reverse,null!=(t=E(0))?t:0];return{xScale:k,yScale:U,bars:Q>0?'vertical'===r?dL.apply(void 0,L):fL.apply(void 0,L):[]}},pL=['data','layout','minValue','maxValue','reverse','width','height','padding','valueScale','indexScale','hiddenIds'],gL=function e(t){var n;return t.some(Array.isArray)?e((n=[]).concat.apply(n,t)):t},mL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return l.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=l(o(g.data)))?h:0,v=(null!=(p=function(e){return c(e[n?0:1])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=c(e[n?1:0]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:m,y:v,absX:u.left+m,absY:u.top+v,width:t,height:b,color:i(x),label:s(x)})})}),d},vL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return c.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=c(o(g.data)))?h:0,v=(null!=(p=function(e){return l(e[n?1:0])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=l(e[n?0:1]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:v,y:m,absX:u.left+v,absY:u.top+m,width:b,height:t,color:i(x),label:s(x)})})}),d},bL=function(e){var t,n=e.data,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.valueScale,d=e.indexScale,f=e.hiddenIds,h=void 0===f?[]:f,p=WQ(e,pL),g=p.keys.filter(function(e){return!h.includes(e)}),m=function(){var e=qb([]),t=$y,n=Zy,r=ew;function i(i){var o,s,a=e.apply(this,arguments),A=i.length,l=a.length,c=new Array(l);for(o=0;o<l;++o){for(var u,d=a[o],f=c[o]=new Array(A),h=0;h<A;++h)f[h]=u=[0,+r(i[h],d,h,i)],u.data=i[h];f.key=d}for(o=0,s=t(c);o<l;++o)c[s[o]].index=o;return n(c,s),c}return i.keys=function(t){return arguments.length?(e='function'==typeof t?t:qb(by.call(t)),i):e},i.value=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?$y:'function'==typeof e?e:qb(by.call(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Zy:e,i):n},i}().keys(g).offset(tw)(iL(n,g)),v='vertical'===r?['y','x',a]:['x','y',A],b=v[0],y=v[1],w=v[2],B=rL(n,p.getIndex,c,d,w,y),x=GQ({max:o,min:i,reverse:s},u),C=(t=gL(m),'log'===u.type?t.filter(function(e){return 0!==e}):t),_=yF(x,{all:C,min:Math.min.apply(Math,C),max:Math.max.apply(Math,C)},'x'===b?a:A,b),j='vertical'===r?[B,_]:[_,B],F=j[0],E=j[1],S=p.innerPadding>0?p.innerPadding:0,k=B.bandwidth(),U=[GQ({},p,{innerPadding:S,stackedData:m,xScale:F,yScale:E}),k,x.reverse];return{xScale:F,yScale:E,bars:k>0?'vertical'===r?mL.apply(void 0,U):vL.apply(void 0,U):[]}},yL=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,s=e.legendLabel,a=e.reverse,A=RC(null!=s?s:'indexes'===r?'indexValue':'id');return'indexes'===r?function(e,t,n){var r=z_(e.map(function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:'',label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:'#000'}}),function(e){return e.id});return'horizontal'===t&&r.reverse(),r}(t,o,A):function(e,t,n,r,i,o){var s=z_(e.map(function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:'#000'}}),function(e){return e.id});return('vertical'===t&&'stacked'===r&&'column'===n&&!0!==i||'horizontal'===t&&'stacked'===r&&!0===i)&&s.reverse(),s}(t,o,n,i,a,A)},wL=function(e){var t=e.indexBy,r=void 0===t?eL.indexBy:t,i=e.keys,o=void 0===i?eL.keys:i,a=e.label,A=void 0===a?eL.label:a,l=e.tooltipLabel,c=void 0===l?eL.tooltipLabel:l,u=e.valueFormat,f=e.colors,h=void 0===f?eL.colors:f,p=e.colorBy,g=void 0===p?eL.colorBy:p,m=e.borderColor,v=void 0===m?eL.borderColor:m,b=e.labelTextColor,y=void 0===b?eL.labelTextColor:b,w=e.groupMode,B=void 0===w?eL.groupMode:w,x=e.layout,C=void 0===x?eL.layout:x,_=e.reverse,j=void 0===_?eL.reverse:_,F=e.data,E=e.minValue,S=void 0===E?eL.minValue:E,k=e.maxValue,U=void 0===k?eL.maxValue:k,Q=e.margin,L=e.width,O=e.height,I=e.padding,N=void 0===I?eL.padding:I,T=e.innerPadding,M=void 0===T?eL.innerPadding:T,P=e.valueScale,D=void 0===P?eL.valueScale:P,R=e.indexScale,H=void 0===R?eL.indexScale:R,z=e.initialHiddenIds,K=void 0===z?eL.initialHiddenIds:z,V=e.enableLabel,q=void 0===V?eL.enableLabel:V,G=e.labelSkipWidth,W=void 0===G?eL.labelSkipWidth:G,Y=e.labelSkipHeight,X=void 0===Y?eL.labelSkipHeight:Y,J=e.legends,Z=void 0===J?eL.legends:J,$=e.legendLabel,ee=n(null!=K?K:[]),te=ee[0],ne=ee[1],re=s(function(e){ne(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),ie=HC(r),oe=HC(A),se=HC(c),ae=sC(u),Ae=cC(),le=OQ(h,g),ce=UQ(v,Ae),ue=UQ(y,Ae),de=('grouped'===B?hL:bL)({layout:C,reverse:j,data:F,getIndex:ie,keys:o,minValue:S,maxValue:U,width:L,height:O,getColor:le,padding:N,innerPadding:M,valueScale:D,indexScale:H,hiddenIds:te,formatValue:ae,getTooltipLabel:se,margin:Q}),fe=de.bars,he=de.xScale,pe=de.yScale,ge=d(function(){return fe.filter(function(e){return null!==e.data.value}).map(function(e,t){return GQ({},e,{index:t})})},[fe]),me=s(function(e){var t=e.width,n=e.height;return!(!q||W>0&&t<W||X>0&&n<X)},[q,W,X]),ve=d(function(){return o.map(function(e){var t=fe.find(function(t){return t.data.id===e});return GQ({},t,{data:GQ({id:e},null==t?void 0:t.data,{hidden:te.includes(e)})})})},[te,o,fe]),be=d(function(){return Z.map(function(e){return[e,yL({bars:'keys'===e.dataFrom?ve:fe,direction:e.direction,from:e.dataFrom,groupMode:B,layout:C,legendLabel:$,reverse:j})]})},[Z,ve,fe,B,C,$,j]);return{bars:fe,barsWithValue:ge,xScale:he,yScale:pe,getIndex:ie,getLabel:oe,getTooltipLabel:se,formatValue:ae,getColor:le,getBorderColor:ce,getLabelColor:ue,shouldRenderBarLabel:me,hiddenIds:te,toggleSerie:re,legendsWithData:be}},BL=['isInteractive','animate','motionConfig','theme','renderWrapper'],xL=function(e){var t=e.data,n=e.indexBy,r=e.keys,i=e.margin,o=e.width,s=e.height,a=e.groupMode,A=e.layout,l=e.reverse,c=e.minValue,u=e.maxValue,f=e.valueScale,h=e.indexScale,g=e.padding,v=e.innerPadding,b=e.axisTop,y=e.axisRight,B=e.axisBottom,x=void 0===B?tL.axisBottom:B,C=e.axisLeft,_=void 0===C?tL.axisLeft:C,j=e.enableGridX,F=void 0===j?tL.enableGridX:j,E=e.enableGridY,S=void 0===E?tL.enableGridY:E,k=e.gridXValues,U=e.gridYValues,Q=e.layers,L=void 0===Q?tL.layers:Q,O=e.barComponent,I=void 0===O?tL.barComponent:O,N=e.enableLabel,T=void 0===N?tL.enableLabel:N,M=e.label,P=e.labelSkipWidth,D=void 0===P?tL.labelSkipWidth:P,R=e.labelSkipHeight,H=void 0===R?tL.labelSkipHeight:R,z=e.labelTextColor,K=e.markers,V=void 0===K?tL.markers:K,q=e.colorBy,G=e.colors,W=e.defs,Y=void 0===W?tL.defs:W,X=e.fill,J=void 0===X?tL.fill:X,Z=e.borderRadius,$=void 0===Z?tL.borderRadius:Z,ee=e.borderWidth,te=void 0===ee?tL.borderWidth:ee,ne=e.borderColor,re=e.annotations,ie=void 0===re?tL.annotations:re,oe=e.legendLabel,se=e.tooltipLabel,ae=e.valueFormat,Ae=e.isInteractive,le=void 0===Ae?tL.isInteractive:Ae,ce=e.tooltip,ue=void 0===ce?tL.tooltip:ce,de=e.onClick,fe=e.onMouseEnter,he=e.onMouseLeave,pe=e.legends,ge=e.role,me=void 0===ge?tL.role:ge,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,we=e.isFocusable,Be=void 0===we?tL.isFocusable:we,xe=e.barAriaLabel,Ce=e.barAriaLabelledBy,_e=e.barAriaDescribedBy,je=e.initialHiddenIds,Fe=Rx(),Ee=Fe.animate,Se=Fe.config,ke=rC(o,s,i),Ue=ke.outerWidth,Qe=ke.outerHeight,Le=ke.margin,Oe=ke.innerWidth,Ie=ke.innerHeight,Ne=wL({indexBy:n,label:M,tooltipLabel:se,valueFormat:ae,colors:G,colorBy:q,borderColor:ne,labelTextColor:z,groupMode:a,layout:A,reverse:l,data:t,keys:r,minValue:c,maxValue:u,margin:Le,width:Oe,height:Ie,padding:g,innerPadding:v,valueScale:f,indexScale:h,enableLabel:T,labelSkipWidth:D,labelSkipHeight:H,legends:pe,legendLabel:oe,initialHiddenIds:je}),Te=Ne.bars,Me=Ne.barsWithValue,Pe=Ne.xScale,De=Ne.yScale,Re=Ne.getLabel,He=Ne.getTooltipLabel,ze=Ne.getBorderColor,Ke=Ne.getLabelColor,Ve=Ne.shouldRenderBarLabel,qe=Ne.toggleSerie,Ge=Ne.legendsWithData,We=Xs(Me,{keys:function(e){return e.key},from:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},enter:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},update:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},leave:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:0,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{labelX:0,labelY:e.height/2,height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},config:Se,immediate:!Ee,initial:Ee?void 0:null}),Ye=d(function(){return{borderRadius:$,borderWidth:te,enableLabel:T,isInteractive:le,labelSkipWidth:D,labelSkipHeight:H,onClick:de,onMouseEnter:fe,onMouseLeave:he,getTooltipLabel:He,tooltip:ue,isFocusable:Be,ariaLabel:xe,ariaLabelledBy:Ce,ariaDescribedBy:_e}},[$,te,T,He,le,H,D,de,fe,he,ue,Be,xe,Ce,_e]),Xe=GC(Y,Te,J,{dataKey:'data',targetKey:'data.fill'}),Je={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null};L.includes('annotations')&&(Je.annotations=w(XQ,{bars:Te,annotations:ie},'annotations')),L.includes('axes')&&(Je.axes=w(RF,{xScale:Pe,yScale:De,width:Oe,height:Ie,top:b,right:y,bottom:x,left:_},'axes')),L.includes('bars')&&(Je.bars=w(m,{children:We(function(e,t){return p(I,GQ({},Ye,{bar:t,style:e,shouldRenderLabel:Ve(t),label:Re(t.data)}))})},'bars')),L.includes('grid')&&(Je.grid=w(KF,{width:Oe,height:Ie,xScale:F?Pe:null,yScale:S?De:null,xValues:k,yValues:U},'grid')),L.includes('legends')&&(Je.legends=w(JQ,{width:Oe,height:Ie,legends:Ge,toggleSerie:qe},'legends')),L.includes('markers')&&(Je.markers=w(MC,{markers:V,width:Oe,height:Ie,xScale:Pe,yScale:De},'markers'));var Ze=d(function(){return GQ({},Ye,{margin:Le,width:o,height:s,innerWidth:Oe,innerHeight:Ie,bars:Te,legendData:Ge,enableLabel:T,xScale:Pe,yScale:De,tooltip:ue,getTooltipLabel:He,onClick:de,onMouseEnter:fe,onMouseLeave:he})},[Ye,Le,o,s,Oe,Ie,Te,Ge,T,Pe,De,ue,He,de,fe,he]);return w(kC,{width:Ue,height:Qe,margin:Le,defs:Xe,role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,isFocusable:Be,children:L.map(function(e,t){var n;return'function'==typeof e?w(m,{children:p(e,Ze)},t):null!=(n=null==Je?void 0:Je[e])?n:null})})},CL=function(e){var t=e.isInteractive,n=void 0===t?tL.isInteractive:t,r=e.animate,i=void 0===r?tL.animate:r,o=e.motionConfig,s=void 0===o?tL.motionConfig:o,a=e.theme,A=e.renderWrapper,l=WQ(e,BL);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(xL,GQ({isInteractive:n},l))})},_L=['isInteractive','renderWrapper','theme'],jL=function(e,t,n,r){return e.find(function(e){return zC(e.x+t.left,e.y+t.top,e.width,e.height,n,r)})},FL=function(e){var t=e.data,n=e.indexBy,i=e.keys,a=e.margin,A=e.width,l=e.height,c=e.groupMode,u=e.layout,f=e.reverse,h=e.minValue,g=e.maxValue,m=e.valueScale,v=e.indexScale,b=e.padding,y=e.innerPadding,B=e.axisTop,x=e.axisRight,C=e.axisBottom,_=void 0===C?nL.axisBottom:C,j=e.axisLeft,F=void 0===j?nL.axisLeft:j,E=e.enableGridX,S=void 0===E?nL.enableGridX:E,k=e.enableGridY,U=void 0===k?nL.enableGridY:k,Q=e.gridXValues,L=e.gridYValues,O=e.layers,I=void 0===O?nL.layers:O,N=e.renderBar,T=void 0===N?function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,s=n.x,a=n.y,A=t.borderColor,l=t.borderRadius,c=t.borderWidth,u=t.label,d=t.labelColor,f=t.shouldRenderLabel;if(e.fillStyle=r,c>0&&(e.strokeStyle=A,e.lineWidth=c),e.beginPath(),l>0){var h=Math.min(l,i);e.moveTo(s+h,a),e.lineTo(s+o-h,a),e.quadraticCurveTo(s+o,a,s+o,a+h),e.lineTo(s+o,a+i-h),e.quadraticCurveTo(s+o,a+i,s+o-h,a+i),e.lineTo(s+h,a+i),e.quadraticCurveTo(s,a+i,s,a+i-h),e.lineTo(s,a+h),e.quadraticCurveTo(s,a,s+h,a),e.closePath()}else e.rect(s,a,o,i);e.fill(),c>0&&e.stroke(),f&&(e.textBaseline='middle',e.textAlign='center',e.fillStyle=d,e.fillText(u,s+o/2,a+i/2))}:N,M=e.enableLabel,P=void 0===M?nL.enableLabel:M,D=e.label,R=e.labelSkipWidth,H=void 0===R?nL.labelSkipWidth:R,z=e.labelSkipHeight,K=void 0===z?nL.labelSkipHeight:z,V=e.labelTextColor,q=e.colorBy,G=e.colors,W=e.borderRadius,Y=void 0===W?nL.borderRadius:W,X=e.borderWidth,J=void 0===X?nL.borderWidth:X,Z=e.borderColor,$=e.annotations,ee=void 0===$?nL.annotations:$,te=e.legendLabel,ne=e.tooltipLabel,re=e.valueFormat,ie=e.isInteractive,oe=void 0===ie?nL.isInteractive:ie,se=e.tooltip,ae=void 0===se?nL.tooltip:se,Ae=e.onClick,le=e.onMouseEnter,ce=e.onMouseLeave,ue=e.legends,de=e.pixelRatio,fe=void 0===de?nL.pixelRatio:de,he=e.canvasRef,pe=o(null),ge=cC(),me=rC(A,l,a),ve=me.margin,be=me.innerWidth,ye=me.innerHeight,we=me.outerWidth,Be=me.outerHeight,xe=wL({indexBy:n,label:D,tooltipLabel:ne,valueFormat:re,colors:G,colorBy:q,borderColor:Z,labelTextColor:V,groupMode:c,layout:u,reverse:f,data:t,keys:i,minValue:h,maxValue:g,margin:ve,width:be,height:ye,padding:b,innerPadding:y,valueScale:m,indexScale:v,enableLabel:P,labelSkipWidth:H,labelSkipHeight:K,legends:ue,legendLabel:te}),Ce=xe.bars,_e=xe.barsWithValue,je=xe.xScale,Fe=xe.yScale,Ee=xe.getLabel,Se=xe.getTooltipLabel,ke=xe.getBorderColor,Ue=xe.getLabelColor,Qe=xe.shouldRenderBarLabel,Le=xe.legendsWithData,Oe=ka(),Ie=Oe.showTooltipFromEvent,Ne=Oe.hideTooltip,Te=function(e){var t=e.annotations;return d(function(){return t.map(function(e){return zS({},e,{computed:XS(zS({},e))})})},[t])}({annotations:JS({data:Ce,annotations:ee,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Me=d(function(){return{borderRadius:Y,borderWidth:J,isInteractive:oe,isFocusable:!1,labelSkipWidth:H,labelSkipHeight:K,margin:ve,width:A,height:l,innerWidth:be,innerHeight:ye,bars:Ce,legendData:Le,enableLabel:P,xScale:je,yScale:Fe,tooltip:ae,getTooltipLabel:Se,onClick:Ae,onMouseEnter:le,onMouseLeave:ce}},[Y,J,oe,H,K,ve,A,l,be,ye,Ce,Le,P,je,Fe,ae,Se,Ae,le,ce]);r(function(){var e,t=null==(e=pe.current)?void 0:e.getContext('2d');pe.current&&t&&(pe.current.width=we*fe,pe.current.height=Be*fe,t.scale(fe,fe),t.fillStyle=ge.background,t.fillRect(0,0,we,Be),t.translate(ve.left,ve.top),I.forEach(function(e){'grid'===e?'number'==typeof ge.grid.line.strokeWidth&&ge.grid.line.strokeWidth>0&&(t.lineWidth=ge.grid.line.strokeWidth,t.strokeStyle=ge.grid.line.stroke,S&&qF(t,{width:A,height:l,scale:je,axis:'x',values:Q}),U&&qF(t,{width:A,height:l,scale:Fe,axis:'y',values:L})):'axes'===e?VF(t,{xScale:je,yScale:Fe,width:be,height:ye,top:B,right:x,bottom:_,left:F,theme:ge}):'bars'===e?_e.forEach(function(e){T(t,{bar:e,borderColor:ke(e),borderRadius:Y,borderWidth:J,label:Ee(e.data),labelColor:Ue(e),shouldRenderLabel:Qe(e)})}):'legends'===e?Le.forEach(function(e){var n=e[0],r=e[1];VQ(t,GQ({},n,{data:r,containerWidth:be,containerHeight:ye,theme:ge}))}):'annotations'===e?function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach(function(t){if(!function(e){var t=typeof e;return'string'===t||'function'===t}(t.note))throw new Error('note is invalid for canvas implementation');r.annotations.link.outlineWidth>0&&(e.lineCap='square',e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),e.lineCap='butt'),GS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),GS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),YS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),'function'==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+'px '+r.annotations.text.fontFamily,e.textAlign='left',e.textBaseline='alphabetic',e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin='round',e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin='miter'),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))}),e.restore())}(t,{annotations:Te,theme:ge}):'function'==typeof e&&e(t,Me)}),t.save())},[_,F,x,B,_e,Y,J,Te,S,U,ke,Ee,Ue,Q,L,c,l,ye,be,Me,I,u,Le,ve.left,ve.top,Be,we,fe,T,je,Fe,f,Qe,ge,A]);var Pe=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i?(Ie(p(ae,GQ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),'mouseenter'===e.type&&(null==le||le(i.data,e))):Ne()}},[Ne,ve,le,Ce,Ie,ae]),De=s(function(e){if(Ce&&pe.current){Ne();var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);i&&(null==ce||ce(i.data,e))}},[Ne,ve,ce,Ce]),Re=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i&&(null==Ae||Ae(GQ({},i.data,{color:i.color}),e))}},[ve,Ae,Ce]);return w('canvas',{ref:function(e){pe.current=e,he&&'current'in he&&(he.current=e)},width:we*fe,height:Be*fe,style:{width:we,height:Be,cursor:oe?'auto':'normal'},onMouseEnter:oe?Pe:void 0,onMouseMove:oe?Pe:void 0,onMouseLeave:oe?De:void 0,onClick:oe?Re:void 0})},EL=c(function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=WQ(e,_L);return w(fC,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:w(FL,GQ({},o,{canvasRef:t}))})}),SL=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(CL,GQ({width:n,height:r},e))}})};c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(EL,GQ({width:r,height:i},e,{ref:t}))}})});var kL={background:'#ffffff',text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},UL={background:'#121b37',text:{fontSize:11,fill:'#000000',outlineWidth:0,outlineColor:'#000000'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12,fill:'#000000'},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},QL=function(e){var t=parseFloat(e);return isNaN(t)?e:Number.isInteger(t)?t:t.toFixed(3)},LL=function(e){return e.length>10?e.substring(0,10)+'...':e},OL=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return e.x_data.map(function(t,r){var i,o;return(i={})[e.x_label]=t,i[e.y_category_label[0]]=null!==(o=n[r])&&void 0!==o?o:0,i})}return e.x_data.map(function(t,n){var r,i=((r={})[e.x_label]=t,r);return e.y_category_label.forEach(function(t,r){var o,s;i[t]=null!==(s=null===(o=e.y_data[n])||void 0===o?void 0:o[r])&&void 0!==s?s:0}),i})}(n),i=u(dJ).isDarkMode;return t.createElement(SL,{data:r,keys:n.y_category_label,indexBy:n.x_label,groupMode:'grouped',margin:{top:50,right:60,bottom:80,left:60},padding:.4,valueScale:{type:'linear'},colors:{scheme:'nivo'},animate:!0,enableLabel:!1,axisTop:null,axisRight:null,axisLeft:{tickSize:3,tickPadding:3,tickRotation:0,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,format:function(e){return e>=1e9?''.concat((e/1e9).toFixed(1),'B'):e>=1e6?''.concat((e/1e6).toFixed(1),'M'):e>=1e3?''.concat((e/1e3).toFixed(1),'K'):e.toString()}},axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},legends:[{dataFrom:'keys',anchor:'top',direction:'row',justify:!1,translateX:0,translateY:-30,itemsSpacing:2,itemWidth:100,itemHeight:20,itemDirection:'left-to-right',itemOpacity:.85,symbolSize:20,effects:[{on:'hover',style:{itemOpacity:1}}]}],theme:i?UL:kL})};function IL(){return IL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IL.apply(this,arguments)}var NL={pointerEvents:'none'},TL=function(e){var t=e.label,n=e.style,r=cC();return w(ga.g,{transform:n.transform,opacity:n.progress,style:NL,children:w(ga.text,{textAnchor:'middle',dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})})},ML=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},PL={startAngle:{enter:function(e){return IL({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return IL({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return IL({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return IL({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return IL({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},DL=function(e,t){return d(function(){var n=PL[e];return{enter:function(e){return IL({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return IL({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return IL({progress:0},n.leave(e.arc),t?t.leave(e):{})}}},[e,t])},RL=function(e){return function(t,n,r,i){return na([t,n,r,i],function(t,n,r,i){var o=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return wC(n,r)}({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return'translate('+o.x+','+o.y+')'})}},HL=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,s=e.skipAngle,a=e.textColor,A=e.component,l=void 0===A?TL:A,c=HC(i),u=cC(),f=UQ(a,u),h=d(function(){return n.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=s})},[n,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n='innerRadius');var i=Rx(),o=i.animate,s=i.config,a=DL(n,r);return{transition:Xs(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:s,immediate:!o}),interpolate:RL(t)}}(h,o,r),m=g.transition,v=g.interpolate,b=l;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,label:c(t),style:IL({},e,{transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:f(t)})})})})},zL=function(e){var t=e.label,n=e.style,r=cC();return B(ga.g,{opacity:n.opacity,children:[w(ga.path,{fill:'none',stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),w(ga.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})]})},KL=function(e,t,n,r){var i,o,s=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),a=wC(s,e.outerRadius+t),A=wC(s,e.outerRadius+t+n);return s<Math.PI/2||s>1.5*Math.PI?(i='after',o={x:A.x+r,y:A.y}):(i='before',o={x:A.x-r,y:A.y}),{side:i,points:[a,A,o]}},VL=gy().x(function(e){return e.x}).y(function(e){return e.y}),qL=function(e,t,n,r,i,o,s){return na([e,t,n,r,i,o,s],function(e,t,n,r,i,o,s){var a=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s).points;return VL(a)})},GL=function(e,t,n,r){return na([e,t,n,r],function(e,t,n,r){return function(e){var t=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?'start':'end'}({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r})})},WL=function(e,t,n,r,i,o,s,a){return na([e,t,n,r,i,o,s,a],function(e,t,n,r,i,o,s,a){var A=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s),l=A.points,c=A.side,u=l[2];return'before'===c?u.x-=a:u.x+=a,'translate('+u.x+','+u.y+')'})},YL=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,s=e.skipAngle,a=void 0===s?0:s,A=e.textOffset,l=e.linkColor,c=e.textColor,u=Rx(),f=u.animate,h=u.config,p=cC(),g=UQ(l,p),m=UQ(c,p),v=function(e,t){return d(function(){return function(e,t){return e.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=t})}(e,t)},[e,t])}(t,a),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,s=e.getTextColor;return d(function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:s(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}}}},[n,r,i,o,s,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:A,getLinkColor:g,getTextColor:m});return{transition:Xs(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:qL,interpolateTextAnchor:GL,interpolateTextPosition:WL}},XL=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,s=e.diagonalLength,a=e.straightLength,A=e.strokeWidth,l=e.textOffset,c=e.textColor,u=e.linkColor,d=e.component,f=void 0===d?zL:d,h=HC(r),g=YL({data:n,skipAngle:i,offset:o,diagonalLength:s,straightLength:a,textOffset:l,linkColor:u,textColor:c}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,B=f;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(B,{key:t.id,datum:t,label:h(t),style:IL({},e,{thickness:A,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})})})},JL=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,A=s(function(e){return null==r?void 0:r(t,e)},[r,t]),l=s(function(e){return null==i?void 0:i(t,e)},[i,t]),c=s(function(e){return null==o?void 0:o(t,e)},[o,t]),u=s(function(e){return null==a?void 0:a(t,e)},[a,t]);return w(ga.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?A:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0})},ZL=function(e,t,n,r,i){return na([e,t,n,r],function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})})},$L=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.onClick,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.transitionMode,u=e.component,d=void 0===u?JL:u,f=cC(),h=UQ(o,f),g=function(e,t,n){void 0===t&&(t='innerRadius');var r=Rx(),i=r.animate,o=r.config,s=DL(t,n);return{transition:Xs(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!i}),interpolate:ZL}}(n,c,{enter:function(e){return{opacity:0,color:e.color,borderColor:h(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:h(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:h(e)}}}),m=g.transition,v=g.interpolate,b=d;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,style:IL({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:s,onMouseEnter:a,onMouseMove:A,onMouseLeave:l})})})},eO=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return d(function(){return uy().innerRadius(function(e){return e.innerRadius}).outerRadius(function(e){return e.outerRadius}).cornerRadius(r).padAngle(o)},[r,o])};function tO(){return tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tO.apply(this,arguments)}function nO(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var rO,iO,oO,sO,aO=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return w(x,{children:r.map(function(e,r){var s;return w(zQ,tO({},e,{containerWidth:t,containerHeight:n,data:null!=(s=e.data)?s:i,toggleSerie:e.toggleSerie?o:void 0}),r)})})},AO={id:'id',value:'value',sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:['arcs','arcLinkLabels','arcLabels','legends'],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:'color',modifiers:[['darker',1]]},enableArcLabels:!0,arcLabel:'formattedValue',arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:'labels.text.fill'},enableArcLinkLabels:!0,arcLinkLabel:'id',arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:'labels.text.fill'},arcLinkLabelsColor:{theme:'axis.ticks.line.stroke'},colors:{scheme:'nivo'},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:'gentle',transitionMode:'innerRadius',tooltip:function(e){var t=e.datum;return w(Ba,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:'img',pixelRatio:'undefined'!=typeof window&&null!=(rO=window.devicePixelRatio)?rO:1},lO=['points'],cO=function(e){var t=e.data,n=e.startAngle,i=e.endAngle,s=e.innerRadius,a=e.outerRadius,A=e.padAngle,l=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,h=e.hiddenIds,p=e.forwardLegendData,g=d(function(){var e=function(){var e=vy,t=my,n=null,r=qb(0),i=qb(ry),o=qb(0);function s(s){var a,A,l,c,u,d=s.length,f=0,h=new Array(d),p=new Array(d),g=+r.apply(this,arguments),m=Math.min(ry,Math.max(-ry,i.apply(this,arguments)-g)),v=Math.min(Math.abs(m)/d,o.apply(this,arguments)),b=v*(m<0?-1:1);for(a=0;a<d;++a)(u=p[h[a]=a]=+e(s[a],a,s))>0&&(f+=u);for(null!=t?h.sort(function(e,n){return t(p[e],p[n])}):null!=n&&h.sort(function(e,t){return n(s[e],s[t])}),a=0,l=f?(m-d*b)/f:0;a<d;++a,g=c)A=h[a],c=g+((u=p[A])>0?u*l:0)+b,p[A]={data:s[A],index:a,value:u,startAngle:g,endAngle:c,padAngle:v};return p}return s.value=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.sortValues=function(e){return arguments.length?(t=e,n=null,s):t},s.sort=function(e){return arguments.length?(n=e,t=null,s):n},s.startAngle=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),s):r},s.endAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),s):i},s.padAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),s):o},s}().value(function(e){return e.value}).startAngle(bC(n)).endAngle(bC(i)).padAngle(bC(A));return l||e.sortValues(null),e},[n,i,A,l]),m=d(function(){var e=t.filter(function(e){return!h.includes(e.id)});return{dataWithArc:g(e).map(function(e){var t=Math.abs(e.endAngle-e.startAngle);return tO({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:c===e.data.id?s-u:s,outerRadius:c===e.data.id?a+f:a,thickness:a-s,padAngle:e.padAngle,angle:t,angleDeg:yC(t)}})}),legendData:t.map(function(e){return{id:e.id,label:e.label,color:e.color,hidden:h.includes(e.id),data:e}})}},[g,t,h,c,s,u,a,f]),v=m.legendData,b=o(p);return r(function(){'function'==typeof b.current&&b.current(v)},[b,v]),m},uO=function(e){var t=e.data,r=e.width,i=e.height,o=e.innerRadius,a=void 0===o?AO.innerRadius:o,A=e.startAngle,l=void 0===A?AO.startAngle:A,c=e.endAngle,u=void 0===c?AO.endAngle:c,f=e.padAngle,h=void 0===f?AO.padAngle:f,p=e.sortByValue,g=void 0===p?AO.sortByValue:p,m=e.cornerRadius,v=void 0===m?AO.cornerRadius:m,b=e.fit,y=void 0===b?AO.fit:b,w=e.activeInnerRadiusOffset,B=void 0===w?AO.activeInnerRadiusOffset:w,x=e.activeOuterRadiusOffset,C=void 0===x?AO.activeOuterRadiusOffset:x,_=e.activeId,j=e.onActiveIdChange,F=e.defaultActiveId,E=e.forwardLegendData,S=function(e){var t=e.activeId,r=e.onActiveIdChange,i=e.defaultActiveId,o=void 0!==t,a=n(o||void 0===i?null:i),A=a[0],l=a[1];return{activeId:o?t:A,setActiveId:s(function(e){r&&r(e),o||l(e)},[o,r,l])}}({activeId:_,onActiveIdChange:j,defaultActiveId:F}),k=S.activeId,U=S.setActiveId,Q=n([]),L=Q[0],O=Q[1],I=d(function(){var e,t=Math.min(r,i)/2,n=t*Math.min(a,1),o=r/2,s=i/2;if(y){var A=function(e,t,n,r,i,o){void 0===o&&(o=!0);var s=[],a=wC(bC(r),n);s.push([a.x,a.y]);var A=wC(bC(i),n);s.push([A.x,A.y]);for(var l=Math.round(Math.min(r,i));l<=Math.round(Math.max(r,i));l++)if(l%90==0){var c=wC(bC(l),n);s.push([c.x,c.y])}s=s.map(function(n){var r=n[0],i=n[1];return[e+r,t+i]}),o&&s.push([e,t]);var u=s.map(function(e){return e[0]}),d=s.map(function(e){return e[1]}),f=Math.min.apply(Math,u),h=Math.max.apply(Math,u),p=Math.min.apply(Math,d);return{points:s,x:f,y:p,width:h-f,height:Math.max.apply(Math,d)-p}}(o,s,t,l-90,u-90),c=A.points,d=nO(A,lO),f=Math.min(r/d.width,i/d.height),h={width:d.width*f,height:d.height*f};h.x=(r-h.width)/2,h.y=(i-h.height)/2,o=(o-d.x)/d.width*d.width*f+h.x,s=(s-d.y)/d.height*d.height*f+h.y,e={box:d,ratio:f,points:c},t*=f,n*=f}return{centerX:o,centerY:s,radius:t,innerRadius:n,debug:e}},[r,i,a,l,u,y]),N=cO({data:t,startAngle:l,endAngle:u,innerRadius:I.innerRadius,outerRadius:I.radius,padAngle:h,sortByValue:g,activeId:k,activeInnerRadiusOffset:B,activeOuterRadiusOffset:C,hiddenIds:L,forwardLegendData:E}),T=s(function(e){O(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]);return tO({arcGenerator:eO({cornerRadius:v,padAngle:bC(h)}),activeId:k,setActiveId:U,toggleSerie:T},N,I)},dO=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.isInteractive,a=e.onClick,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.setActiveId,f=e.tooltip,h=e.transitionMode,g=ka(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=d(function(){if(s)return function(e,t){null==a||a(e,t)}},[s,a]),y=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),u(e.id),null==A||A(e,t)}},[s,m,u,A,f]),B=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),null==l||l(e,t)}},[s,m,l,f]),x=d(function(){if(s)return function(e,t){v(),u(null),null==c||c(e,t)}},[s,v,u,c]);return w($L,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:b,onMouseEnter:y,onMouseMove:B,onMouseLeave:x})},fO=['isInteractive','animate','motionConfig','theme','renderWrapper'],hO=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.sortByValue,A=void 0===a?AO.sortByValue:a,l=e.layers,c=void 0===l?AO.layers:l,u=e.startAngle,f=void 0===u?AO.startAngle:u,h=e.endAngle,g=void 0===h?AO.endAngle:h,v=e.padAngle,b=void 0===v?AO.padAngle:v,y=e.fit,B=void 0===y?AO.fit:y,x=e.innerRadius,C=void 0===x?AO.innerRadius:x,_=e.cornerRadius,j=void 0===_?AO.cornerRadius:_,F=e.activeInnerRadiusOffset,E=void 0===F?AO.activeInnerRadiusOffset:F,S=e.activeOuterRadiusOffset,k=void 0===S?AO.activeOuterRadiusOffset:S,U=e.width,Q=e.height,L=e.margin,O=e.colors,I=void 0===O?AO.colors:O,N=e.borderWidth,T=void 0===N?AO.borderWidth:N,M=e.borderColor,P=void 0===M?AO.borderColor:M,D=e.enableArcLabels,R=void 0===D?AO.enableArcLabels:D,H=e.arcLabel,z=void 0===H?AO.arcLabel:H,K=e.arcLabelsSkipAngle,V=void 0===K?AO.arcLabelsSkipAngle:K,q=e.arcLabelsTextColor,G=void 0===q?AO.arcLabelsTextColor:q,W=e.arcLabelsRadiusOffset,Y=void 0===W?AO.arcLabelsRadiusOffset:W,X=e.arcLabelsComponent,J=e.enableArcLinkLabels,Z=void 0===J?AO.enableArcLinkLabels:J,$=e.arcLinkLabel,ee=void 0===$?AO.arcLinkLabel:$,te=e.arcLinkLabelsSkipAngle,ne=void 0===te?AO.arcLinkLabelsSkipAngle:te,re=e.arcLinkLabelsOffset,ie=void 0===re?AO.arcLinkLabelsOffset:re,oe=e.arcLinkLabelsDiagonalLength,se=void 0===oe?AO.arcLinkLabelsDiagonalLength:oe,ae=e.arcLinkLabelsStraightLength,Ae=void 0===ae?AO.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?AO.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?AO.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?AO.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?AO.arcLinkLabelsColor:pe,me=e.arcLinkLabelComponent,ve=e.defs,be=void 0===ve?AO.defs:ve,ye=e.fill,we=void 0===ye?AO.fill:ye,Be=e.isInteractive,xe=void 0===Be?AO.isInteractive:Be,Ce=e.onClick,_e=e.onMouseEnter,je=e.onMouseMove,Fe=e.onMouseLeave,Ee=e.tooltip,Se=void 0===Ee?AO.tooltip:Ee,ke=e.activeId,Ue=e.onActiveIdChange,Qe=e.defaultActiveId,Le=e.transitionMode,Oe=void 0===Le?AO.transitionMode:Le,Ie=e.legends,Ne=void 0===Ie?AO.legends:Ie,Te=e.forwardLegendData,Me=e.role,Pe=void 0===Me?AO.role:Me,De=rC(U,Q,L),Re=De.outerWidth,He=De.outerHeight,ze=De.margin,Ke=De.innerWidth,Ve=De.innerHeight,qe=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.colors,A=void 0===a?AO.colors:a,l=HC(r),c=HC(o),u=sC(s),f=OQ(A,'id');return d(function(){return t.map(function(e){var t,n=l(e),r=c(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:u(r),data:e};return tO({},i,{color:f(i)})})},[t,l,c,u,f])}({data:t,id:r,value:o,valueFormat:s,colors:I}),Ge=uO({data:qe,width:Ke,height:Ve,fit:B,innerRadius:C,startAngle:f,endAngle:g,padAngle:b,sortByValue:A,cornerRadius:j,activeInnerRadiusOffset:E,activeOuterRadiusOffset:k,activeId:ke,onActiveIdChange:Ue,defaultActiveId:Qe,forwardLegendData:Te}),We=Ge.dataWithArc,Ye=Ge.legendData,Xe=Ge.arcGenerator,Je=Ge.centerX,Ze=Ge.centerY,$e=Ge.radius,et=Ge.innerRadius,tt=Ge.setActiveId,nt=Ge.toggleSerie,rt=GC(be,We,we),it={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};c.includes('arcs')&&(it.arcs=w(dO,{center:[Je,Ze],data:We,arcGenerator:Xe,borderWidth:T,borderColor:P,isInteractive:xe,onClick:Ce,onMouseEnter:_e,onMouseMove:je,onMouseLeave:Fe,setActiveId:tt,tooltip:Se,transitionMode:Oe},'arcs')),Z&&c.includes('arcLinkLabels')&&(it.arcLinkLabels=w(XL,{center:[Je,Ze],data:We,label:ee,skipAngle:ne,offset:ie,diagonalLength:se,straightLength:Ae,strokeWidth:ce,textOffset:de,textColor:he,linkColor:ge,component:me},'arcLinkLabels')),R&&c.includes('arcLabels')&&(it.arcLabels=w(HL,{center:[Je,Ze],data:We,label:z,radiusOffset:Y,skipAngle:V,textColor:G,transitionMode:Oe,component:X},'arcLabels')),Ne.length>0&&c.includes('legends')&&(it.legends=w(aO,{width:Ke,height:Ve,data:Ye,legends:Ne,toggleSerie:nt},'legends'));var ot=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,s=e.innerRadius;return d(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:s}},[t,n,r,i,o,s])}({dataWithArc:We,arcGenerator:Xe,centerX:Je,centerY:Ze,radius:$e,innerRadius:et});return w(kC,{width:Re,height:He,margin:ze,defs:rt,role:Pe,children:c.map(function(e,t){return void 0!==it[e]?it[e]:'function'==typeof e?w(m,{children:p(e,ot)},t):null})})},pO=function(e){var t=e.isInteractive,n=void 0===t?AO.isInteractive:t,r=e.animate,i=void 0===r?AO.animate:r,o=e.motionConfig,s=void 0===o?AO.motionConfig:o,a=e.theme,A=e.renderWrapper,l=nO(e,fO);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(hO,tO({isInteractive:n},l))})},gO=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(pO,tO({width:n,height:r},e))}})},mO=Nt.div(iO||(iO=Pe(['\n vu-flex\n vu-items-center\n vu-p-1\n '],['\n vu-flex\n vu-items-center\n vu-p-1\n ']))),vO=Nt.div(oO||(oO=Pe(['\n vu-h-3\n vu-w-3\n vu-mr-1\n '],['\n vu-h-3\n vu-w-3\n vu-mr-1\n ']))),bO=Nt.strong(sO||(sO=Pe(['\n vu-ml-1\n '],['\n vu-ml-1\n ']))),yO=function(e){var n=e.isDarkMode,r=e.color,i=e.label,o=e.unit,s=e.value;return t.createElement(mO,{style:Oe({},n?UL.tooltip.container:kL.tooltip.container)},t.createElement(vO,{style:{backgroundColor:r}}),i,':',t.createElement(bO,null,s,' ',o))},wO=function(e){var n=function(e){var t;return(null===(t=e.labels)||void 0===t?void 0:t.map(function(t,n){var r,i,o=null!==(i=null===(r=e.values)||void 0===r?void 0:r[n])&&void 0!==i?i:0,s=QL(o.toString());return{id:t,value:parseFloat(s.toString()),unit:e.data_unit}}))||[]}(e.chartData),r=u(dJ).isDarkMode;return t.createElement(gO,{data:n,margin:{top:40,right:80,bottom:80,left:80},padAngle:.7,cornerRadius:3,activeOuterRadiusOffset:8,colors:{scheme:'nivo'},borderWidth:1,borderColor:{from:'color',modifiers:[['darker',.2]]},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:'#333333',arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:'color'},arcLabelsSkipAngle:10,arcLabelsTextColor:{from:'color',modifiers:[['darker',2]]},tooltip:function(e){var n=e.datum,i=n.color,o=n.data,s=n.value,a=n.label;return t.createElement(yO,{isDarkMode:r,color:i,label:a,unit:o.unit,value:s})},arcLabel:function(e){return''.concat(e.value,' ').concat(e.data.unit)},defs:[{id:'dots',type:'patternDots',background:'inherit',color:'rgba(255, 255, 255, 0.3)',size:4,padding:1,stagger:!0},{id:'lines',type:'patternLines',background:'inherit',color:'rgba(255, 255, 255, 0.3)',rotation:-45,lineWidth:6,spacing:10}],legends:[{anchor:'right',direction:'column',justify:!1,translateX:24,translateY:0,itemsSpacing:12,itemWidth:100,itemHeight:18,itemTextColor:'#999',itemDirection:'left-to-right',itemOpacity:1,symbolSize:18,symbolShape:'circle',effects:[{on:'hover',style:{itemTextColor:'#000'}}]}],theme:r?UL:kL})};const BO=Math.pow(2,-52),xO=new Uint32Array(512);class CO{static from(e,t=QO,n=LO){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new CO(i)}constructor(e){const t=e.length>>1;if(t>0&&'number'!=typeof e[0])throw new Error('Expected coords to contain numbers.');this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let s=1/0,a=1/0,A=-1/0,l=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<s&&(s=n),r<a&&(a=r),n>A&&(A=n),r>l&&(l=r),this._ids[t]=t}const c=(s+A)/2,u=(a+l)/2;let d,f,h,p=1/0;for(let t=0;t<o;t++){const n=_O(c,u,e[2*t],e[2*t+1]);n<p&&(d=t,p=n)}const g=e[2*d],m=e[2*d+1];p=1/0;for(let t=0;t<o;t++){if(t===d)continue;const n=_O(g,m,e[2*t],e[2*t+1]);n<p&&n>0&&(f=t,p=n)}let v=e[2*f],b=e[2*f+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===f)continue;const n=SO(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(h=t,y=n)}let w=e[2*h],B=e[2*h+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];kO(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e];this._dists[i]>r&&(t[n++]=i,r=this._dists[i])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(FO(g,m,v,b,w,B)){const e=f,t=v,n=b;f=h,v=w,b=B,h=e,w=t,B=n}const x=function(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=e+(l*c-a*u)*d,h=t+(s*u-A*c)*d;return{x:f,y:h}}(g,m,v,b,w,B);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=_O(e[2*t],e[2*t+1],x.x,x.y);kO(this._ids,this._dists,0,o-1),this._hullStart=d;let C=3;n[d]=t[h]=f,n[f]=t[d]=h,n[h]=t[f]=d,r[d]=0,r[f]=1,r[h]=2,i.fill(-1),i[this._hashKey(g,m)]=d,i[this._hashKey(v,b)]=f,i[this._hashKey(w,B)]=h,this.trianglesLen=0,this._addTriangle(d,f,h,-1,-1,-1);for(let o,s,a=0;a<this._ids.length;a++){const A=this._ids[a],l=e[2*A],c=e[2*A+1];if(a>0&&Math.abs(l-o)<=BO&&Math.abs(c-s)<=BO)continue;if(o=l,s=c,A===d||A===f||A===h)continue;let u=0;for(let e=0,t=this._hashKey(l,c);e<this._hashSize&&(u=i[(t+e)%this._hashSize],-1===u||u===n[u]);e++);u=t[u];let p,g=u;for(;p=n[g],!FO(l,c,e[2*g],e[2*g+1],e[2*p],e[2*p+1]);)if(g=p,g===u){g=-1;break}if(-1===g)continue;let m=this._addTriangle(g,A,n[g],-1,-1,r[g]);r[A]=this._legalize(m+2),r[g]=m,C++;let v=n[g];for(;p=n[v],FO(l,c,e[2*v],e[2*v+1],e[2*p],e[2*p+1]);)m=this._addTriangle(v,A,p,r[A],-1,r[v]),r[A]=this._legalize(m+2),n[v]=v,C--,v=p;if(g===u)for(;p=t[g],FO(l,c,e[2*p],e[2*p+1],e[2*g],e[2*g+1]);)m=this._addTriangle(p,A,g,-1,r[g],r[p]),this._legalize(m+2),r[p]=m,n[g]=g,C--,g=p;this._hullStart=t[A]=g,n[g]=t[v]=A,n[A]=v,i[this._hashKey(l,c)]=A,i[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const s=n[e],a=e-e%3;if(o=a+(e+2)%3,-1===s){if(0===i)break;e=xO[--i];continue}const A=s-s%3,l=a+(e+1)%3,c=A+(s+2)%3,u=t[o],d=t[e],f=t[l],h=t[c];if(EO(r[2*u],r[2*u+1],r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1])){t[e]=h,t[s]=u;const r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(s,n[o]),this._link(o,c);const a=A+(s+1)%3;i<xO.length&&(xO[i++]=a)}else{if(0===i)break;e=xO[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const s=this.trianglesLen;return this._triangles[s]=e,this._triangles[s+1]=t,this._triangles[s+2]=n,this._link(s,r),this._link(s+1,i),this._link(s+2,o),this.trianglesLen+=3,s}}function _O(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function jO(e,t,n,r,i,o){const s=(r-t)*(i-e),a=(n-e)*(o-t);return Math.abs(s-a)>=33306690738754716e-32*Math.abs(s+a)?s-a:0}function FO(e,t,n,r,i,o){return(jO(i,o,e,t,n,r)||jO(e,t,n,r,i,o)||jO(n,r,i,o,e,t))<0}function EO(e,t,n,r,i,o,s,a){const A=e-s,l=t-a,c=n-s,u=r-a,d=i-s,f=o-a,h=c*c+u*u,p=d*d+f*f;return A*(u*p-h*f)-l*(c*p-h*d)+(A*A+l*l)*(c*f-u*d)<0}function SO(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=(l*c-a*u)*d,h=(s*u-A*c)*d;return f*f+h*h}function kO(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let s=i-1;for(;s>=n&&t[e[s]]>o;)e[s+1]=e[s--];e[s+1]=r}else{let i=n+1,o=r;UO(e,n+r>>1,i),t[e[n]]>t[e[r]]&&UO(e,n,r),t[e[i]]>t[e[r]]&&UO(e,i,r),t[e[n]]>t[e[i]]&&UO(e,n,i);const s=e[i],a=t[s];for(;;){do{i++}while(t[e[i]]<a);do{o--}while(t[e[o]]>a);if(o<i)break;UO(e,i,o)}e[n+1]=e[o],e[o]=s,r-i+1>=o-n?(kO(e,t,i,r),kO(e,t,n,o-1)):(kO(e,t,n,o-1),kO(e,t,i,r))}}function UO(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function QO(e){return e[0]}function LO(e){return e[1]}const OO=1e-6;class IO{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=''}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error('negative radius');null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>OO||Math.abs(this._y1-i)>OO)&&(this._+='L'+r+','+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class NO{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class TO{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error('invalid bounds');this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t,r,o=0,s=0,a=n.length;o<a;o+=3,s+=2){const a=2*n[o],A=2*n[o+1],l=2*n[o+2],c=e[a],u=e[a+1],d=e[A],f=e[A+1],h=e[l],p=e[l+1],g=d-c,m=f-u,v=h-c,b=p-u,y=g*g+m*m,w=v*v+b*b,B=2*(g*b-m*v);if(B)if(Math.abs(B)<1e-8)t=(c+h)/2,r=(u+p)/2;else{const e=1/B;t=c+(b*y-m*w)*e,r=u+(g*w-v*y)*e}else t=(c+h)/2-1e8*b,r=(u+p)/2+1e8*v;i[s]=t,i[s+1]=r}let o,s,a,A=t[t.length-1],l=4*A,c=e[2*A],u=e[2*A+1];r.fill(0);for(let n=0;n<t.length;++n)A=t[n],o=l,s=c,a=u,l=4*A,c=e[2*A],u=e[2*A+1],r[o+2]=r[l]=a-u,r[o+3]=r[l+1]=c-s}render(e){const t=null==e?e=new IO:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:s}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),s=2*Math.floor(r/3),a=o[i],A=o[i+1],l=o[s],c=o[s+1];this._renderSegment(a,A,l,c,e)}let a,A=i[i.length-1];for(let t=0;t<i.length;++t){a=A,A=i[t];const n=2*Math.floor(r[A]/3),l=o[n],c=o[n+1],u=4*a,d=this._project(l,c,s[u+2],s[u+3]);d&&this._renderSegment(l,c,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new IO:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new IO:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new NO;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const s=this._regioncode(e,t),a=this._regioncode(n,r);0===s&&0===a?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,s,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,s=e.length;o<s;o+=2)if(t[r]==e[o]&&t[r+1]==e[o+1]&&t[(r+2)%i]==e[(o+s-2)%s]&&t[(r+3)%i]==e[(o+s-1)%s]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const s=[];let a=o;do{const n=Math.floor(a/3);if(s.push(t[2*n],t[2*n+1]),a=a%3==2?a-2:a+1,i[a]!==e)break;a=r[a]}while(a!==o&&-1!==a);return s}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t)}_clipFinite(e,t){const n=t.length;let r,i,o,s,a,A=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c);for(let d=0;d<n;d+=2)if(r=l,i=c,l=t[d],c=t[d+1],o=u,u=this._regioncode(l,c),0===o&&0===u)s=a,a=0,A?A.push(l,c):A=[l,c];else{let t,n,d,f,h;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,d,f,h]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[f,h,n,d]=t,s=a,a=this._edgecode(n,d),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(n,d):A=[n,d]}s=a,a=this._edgecode(f,h),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(f,h):A=[f,h]}if(A)s=a,a=this._edgecode(A[0],A[1]),s&&a&&this._edge(e,s,a,A,A.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return A}_clipSegment(e,t,n,r,i,o){for(;;){if(0===i&&0===o)return[e,t,n,r];if(i&o)return null;let s,a,A=i||o;8&A?(s=e+(n-e)*(this.ymax-t)/(r-t),a=this.ymax):4&A?(s=e+(n-e)*(this.ymin-t)/(r-t),a=this.ymin):2&A?(a=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(a=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=a,i=this._regioncode(e,t)):(n=s,r=a,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let s,a=Array.from(t);if((s=this._project(a[0],a[1],n,r))&&a.unshift(s[0],s[1]),(s=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(s[0],s[1]),a=this._clipFinite(e,a))for(let t,n=0,r=a.length,i=this._edgecode(a[r-2],a[r-1]);n<r;n+=2)t=i,i=this._edgecode(a[n],a[n+1]),t&&i&&(n=this._edge(e,t,i,a,n),r=a.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}if(r.length>4)for(let e=0;e<r.length;e+=2){const t=(e+2)%r.length,n=(e+4)%r.length;(r[e]===r[t]&&r[t]===r[n]||r[e+1]===r[t+1]&&r[t+1]===r[n+1])&&(r.splice(t,2),e-=2)}return i}_project(e,t,n,r){let i,o,s,a=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<a&&(s=this.ymin,o=e+(a=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<a&&(s=this.ymax,o=e+(a=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<a&&(o=this.xmax,s=t+(a=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<a&&(o=this.xmin,s=t+(a=i)*r)}return[o,s]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}}const MO=2*Math.PI,PO=Math.pow;function DO(e){return e[0]}function RO(e){return e[1]}function HO(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class zO{static from(e,t=DO,n=RO,r){return new zO('length'in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let s=0;s<i;++s){const i=e[s];o[2*s]=t.call(r,i,s,e),o[2*s+1]=n.call(r,i,s,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new CO(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=HO(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new CO(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),s=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)s[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],this.triangles[1]=r[1],this.triangles[2]=r[1],o[r[0]]=1,2===r.length&&(o[r[1]]=0))}voronoi(e){return new TO(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:s}=this;if(s){const t=s.indexOf(e);return t>0&&(yield s[t-1]),void(t<s.length-1&&(yield s[t+1]))}const a=t[e];if(-1===a)return;let A=a,l=-1;do{if(yield l=o[A],A=A%3==2?A-2:A+1,o[A]!==e)return;if(A=i[A],-1===A){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(A!==a)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:s,triangles:a,points:A}=this;if(-1===r[e]||!A.length)return(e+1)%(A.length>>1);let l=e,c=PO(t-A[2*e],2)+PO(n-A[2*e+1],2);const u=r[e];let d=u;do{let r=a[d];const u=PO(t-A[2*r],2)+PO(n-A[2*r+1],2);if(u<c&&(c=u,l=r),d=d%3==2?d-2:d+1,a[d]!==e)break;if(d=s[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&PO(t-A[2*d],2)+PO(n-A[2*d+1],2)<c)return d;break}}while(d!==u);return l}render(e){const t=null==e?e=new IO:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const s=2*i[t],a=2*i[o];e.moveTo(n[s],n[s+1]),e.lineTo(n[a],n[a+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t=2){const n=null==e?e=new IO:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,MO)}return n&&n.value()}renderHull(e){const t=null==e?e=new IO:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new NO;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new IO:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],s=2*i[e+1],a=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[s],r[s+1]),t.lineTo(r[a],r[a+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new NO;return this.renderTriangle(e,t),t.value()}}var KO=function(e){return'function'==typeof e?e:function(t){return t[e]}},VO=function(e){var t=e.points,n=e.x,r=e.y,i=e.width,o=e.height,s=e.debug,a=d(function(){return function(e){var t=e.points,n=e.x,r=void 0===n?'x':n,i=e.y,o=void 0===i?'y':i,s=KO(r),a=KO(o);return t.map(function(e){return[s(e),a(e)]})}({points:t,x:n,y:r})},[t,n,r]);return d(function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.debug,o=zO.from(t),s=i?o.voronoi([0,0,n,r]):void 0;return{delaunay:o,voronoi:s}}({points:a,width:i,height:o,debug:s})},[a,i,o,s])},qO=function(e){var t=e.nodes,r=e.width,i=e.height,a=e.x,A=e.y,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,h=e.debug,p=o(null),g=n(null),m=g[0],v=g[1],b=VO({points:t,x:a,y:A,width:r,height:i,debug:h}),y=b.delaunay,C=b.voronoi,_=d(function(){if(h&&C)return C.render()},[h,C]),j=s(function(e){if(!p.current)return[null,null];var n=KC(p.current,e),r=n[0],i=n[1],o=y.find(r,i);return[o,void 0!==o?t[o]:null]},[p,y]),F=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==l||l(r,e))},[j,v,l]),E=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==c||c(r,e))},[j,v,c]),S=s(function(e){if(v(null),u){var n=void 0;null!==m&&(n=t[m]),n&&u(n,e)}},[v,m,u,t]),k=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==f||f(r,e))},[j,v,f]);return B('g',{ref:p,children:[h&&C&&B(x,{children:[w('path',{d:_,stroke:'red',strokeWidth:1,opacity:.75}),null!==m&&w('path',{fill:'pink',opacity:.35,d:C.renderCell(m)})]}),w('rect',{width:r,height:i,fill:'red',opacity:0,style:{cursor:'auto'},onMouseEnter:F,onMouseMove:E,onMouseLeave:S,onClick:k})]})};function GO(){return GO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GO.apply(this,arguments)}var WO=function(e){var t=e.point;return w(Ba,{id:B('span',{children:['x: ',w('strong',{children:t.data.xFormatted}),', y:',' ',w('strong',{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})};WO.propTypes={point:kr.object.isRequired};var YO=f(WO),XO=function(e){var t=e.slice,n=e.axis,r=cC(),i='x'===n?'y':'x';return w(Ca,{rows:t.points.map(function(e){return[w(wa,{color:e.serieColor,style:r.tooltip.chip},'chip'),e.serieId,w('span',{style:r.tooltip.tableCellValue,children:e.data[i+'Formatted']},'value')]})})};XO.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired};var JO=f(XO),ZO={data:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,data:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]),y:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])})).isRequired})).isRequired,xScale:kr.object.isRequired,xFormat:kr.oneOfType([kr.func,kr.string]),yScale:kr.object.isRequired,yFormat:kr.oneOfType([kr.func,kr.string]),layers:kr.arrayOf(kr.oneOfType([kr.oneOf(['grid','markers','axes','areas','crosshair','lines','slices','points','mesh','legends']),kr.func])).isRequired,curve:Wx.isRequired,axisTop:PF,axisRight:PF,axisBottom:PF,axisLeft:PF,enableGridX:kr.bool.isRequired,enableGridY:kr.bool.isRequired,gridXValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),gridYValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),enablePoints:kr.bool.isRequired,pointSymbol:kr.func,pointSize:kr.number.isRequired,pointColor:kr.any.isRequired,pointBorderWidth:kr.number.isRequired,pointBorderColor:kr.any.isRequired,enablePointLabel:kr.bool.isRequired,pointLabel:kr.oneOfType([kr.string,kr.func]).isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,style:kr.object})),colors:QQ.isRequired,enableArea:kr.bool.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,areaBaselineValue:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineWidth:kr.number.isRequired,legends:kr.arrayOf(kr.shape(qQ)).isRequired,isInteractive:kr.bool.isRequired,debugMesh:kr.bool.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableSlices:kr.oneOf(['x','y',!1]).isRequired,debugSlices:kr.bool.isRequired,sliceTooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableCrosshair:kr.bool.isRequired,crosshairType:kr.string.isRequired},$O=GO({},ZO,{enablePointLabel:kr.bool.isRequired,role:kr.string.isRequired,useMesh:kr.bool.isRequired},Dx,Xx),eI=GO({pixelRatio:kr.number.isRequired},ZO),tI={curve:'linear',xScale:{type:'point'},yScale:{type:'linear',min:0,max:'auto'},layers:['grid','markers','axes','areas','crosshair','lines','points','slices','mesh','legends'],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:'color'},pointBorderWidth:0,pointBorderColor:{theme:'background'},enablePointLabel:!1,pointLabel:'yFormatted',colors:{scheme:'nivo'},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:'normal',lineWidth:2,legends:[],isInteractive:!0,tooltip:YO,enableSlices:!1,debugSlices:!1,sliceTooltip:JO,debugMesh:!1,enableCrosshair:!0,crosshairType:'bottom-left'},nI=GO({},tI,{enablePointLabel:!1,useMesh:!1,animate:!0,motionConfig:'gentle',defs:[],fill:[],role:'img'}),rI=GO({},tI,{pixelRatio:'undefined'!=typeof window&&window.devicePixelRatio||1}),iI=function(e){var t=e.curve;return d(function(){return gy().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y(function(e){return e.y}).curve(Yx(t))},[t])},oI=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return d(function(){return function(){var e=hy,t=null,n=qb(0),r=py,i=qb(!0),o=null,s=fy,a=null;function A(A){var l,c,u,d,f,h=A.length,p=!1,g=new Array(h),m=new Array(h);for(null==o&&(a=s(f=Vb())),l=0;l<=h;++l){if(!(l<h&&i(d=A[l],l,A))===p)if(p=!p)c=l,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),u=l-1;u>=c;--u)a.point(g[u],m[u]);a.lineEnd(),a.areaEnd()}p&&(g[l]=+e(d,l,A),m[l]=+n(d,l,A),a.point(t?+t(d,l,A):g[l],r?+r(d,l,A):m[l]))}if(f)return a=null,f+''||null}function l(){return gy().defined(i).curve(s).context(o)}return A.x=function(n){return arguments.length?(e='function'==typeof n?n:qb(+n),t=null,A):e},A.x0=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.x1=function(e){return arguments.length?(t=null==e?null:'function'==typeof e?e:qb(+e),A):t},A.y=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),r=null,A):n},A.y0=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.y1=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.lineX0=A.lineY0=function(){return l().x(e).y(n)},A.lineY1=function(){return l().x(e).y(r)},A.lineX1=function(){return l().x(t).y(n)},A.defined=function(e){return arguments.length?(i='function'==typeof e?e:qb(!!e),A):i},A.curve=function(e){return arguments.length?(s=e,null!=o&&(a=s(o)),A):s},A.context=function(e){return arguments.length?(null==e?o=a=null:a=s(o=e),A):o},A}().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(Yx(t)).y0(n(r))},[t,n,r])},sI=function(e){var t=e.data,r=e.xScale,i=void 0===r?nI.xScale:r,o=e.xFormat,a=e.yScale,A=void 0===a?nI.yScale:a,l=e.yFormat,c=e.width,u=e.height,f=e.colors,h=void 0===f?nI.colors:f,p=e.curve,g=void 0===p?nI.curve:p,m=e.areaBaselineValue,v=void 0===m?nI.areaBaselineValue:m,b=e.pointColor,y=void 0===b?nI.pointColor:b,w=e.pointBorderColor,B=void 0===w?nI.pointBorderColor:w,x=e.enableSlices,C=void 0===x?nI.enableSlicesTooltip:x,_=sC(o),j=sC(l),F=OQ(h,'id'),E=cC(),S=UQ(y,E),k=UQ(B,E),U=n([]),Q=U[0],L=U[1],O=d(function(){return function(e,t,n,r,i){var o=e.map(function(e){return function(e){return lF({},e,{data:e.data.map(function(e){return{data:lF({},e)}})})}(e)}),s=BF(o,t,n);'stacked'in t&&!0===t.stacked&&_F(s,o),'stacked'in n&&!0===n.stacked&&jF(s,o);var a=yF(t,s.x,r,'x'),A=yF(n,s.y,i,'y'),l=o.map(function(e){return lF({},e,{data:e.data.map(function(e){return lF({},e,{position:{x:wF(e,'x',a),y:wF(e,'y',A)}})})})});return lF({},s,{series:l,xScale:a,yScale:A})}(t.filter(function(e){return-1===Q.indexOf(e.id)}),i,A,c,u)},[t,Q,i,A,c,u]),I=O.xScale,N=O.yScale,T=O.series,M=d(function(){var e=t.map(function(e){return{id:e.id,label:e.id,color:F(e)}}),n=e.map(function(e){return GO({},T.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return Boolean(e.id)});return{legendData:e.map(function(e){return GO({},e,{hidden:!n.find(function(t){return t.id===e.id})})}).reverse(),series:n}},[t,T,F]),P=M.legendData,D=M.series,R=s(function(e){L(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),H=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return d(function(){return t.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(s,a){var A={id:t.id+'.'+a,index:e.length+a,serieId:t.id,serieColor:t.color,x:s.position.x,y:s.position.y};return A.color=n(t),A.borderColor=r(A),A.data=GO({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)}),A}))},[])},[t,n,r,i,o])}({series:D,getPointColor:S,getPointBorderColor:k,formatX:_,formatY:j}),z=function(e){var t=e.enableSlices,n=e.points,r=e.width,i=e.height;return d(function(){if(!1===t)return[];if('x'===t){var e=new Map;return n.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s=e[0],a=e[1],A=n[t-1],l=n[t+1];return{id:s,x0:o=A?s-(s-A[0])/2:s,x:s,y0:0,y:0,width:l?s-o+(l[0]-s)/2:r-o,height:i,points:a.reverse()}})}if('y'===t){var o=new Map;return n.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s,a=e[0],A=e[1],l=n[t-1],c=n[t+1];return o=l?a-(a-l[0])/2:a,s=c?a-o+(c[0]-a)/2:i-o,{id:a,x0:0,x:0,y0:o,y:a,width:r,height:s,points:A.reverse()}})}},[t,n])}({enableSlices:C,points:H,width:c,height:u});return{legendData:P,toggleSerie:R,lineGenerator:iI({curve:g}),areaGenerator:oI({curve:g,yScale:N,areaBaselineValue:v}),getColor:F,series:D,xScale:I,yScale:N,slices:z,points:H}},aI=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,s=Rx(),a=s.animate,A=s.config,l=Hx(o),c=Ys({color:r,config:A,immediate:!a});return w(ga.path,{d:l,fill:i||c.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})};aI.propTypes={areaBlendMode:tC.isRequired,areaOpacity:kr.number.isRequired,color:kr.string,fill:kr.string,path:kr.string.isRequired};var AI=function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode,i=e.lines.slice(0).reverse();return w('g',{children:i.map(function(e){return w(aI,GO({path:t(e.data.map(function(e){return e.position}))},GO({areaOpacity:n,areaBlendMode:r},e)),e.id)})})};AI.propTypes={areaGenerator:kr.func.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,lines:kr.arrayOf(kr.object).isRequired};var lI=f(AI),cI=function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=d(function(){return t(n)},[t,n]),s=Hx(o);return w(ga.path,{d:s,fill:'none',strokeWidth:i,stroke:r})};cI.propTypes={points:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.string,kr.number]),y:kr.oneOfType([kr.string,kr.number])})),lineGenerator:kr.func.isRequired,color:kr.string.isRequired,thickness:kr.number.isRequired};var uI=f(cI),dI=function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,i=e.data,o=e.color;return w(uI,{id:t,points:i.map(function(e){return e.position}),lineGenerator:n,color:o,thickness:r},t)})};dI.propTypes={lines:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,color:kr.string.isRequired,data:kr.arrayOf(kr.shape({data:kr.shape({x:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)]),y:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)])}).isRequired,position:kr.shape({x:kr.number,y:kr.number}).isRequired})).isRequired})).isRequired,lineWidth:kr.number.isRequired,lineGenerator:kr.func.isRequired};var fI=f(dI),hI=function(e){var t=e.slice,n=e.axis,r=e.debug,i=e.tooltip,o=e.isCurrent,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick,d=ka(),f=d.showTooltipFromEvent,h=d.hideTooltip,g=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),a(t),A&&A(t,e)},[f,i,t,A]),m=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),l&&l(t,e)},[f,i,t,l]),v=s(function(e){h(),a(null),c&&c(t,e)},[h,t,c]),b=s(function(e){u&&u(t,e)},[t,u]);return w('rect',{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:'red',strokeWidth:r?1:0,strokeOpacity:.75,fill:'red',fillOpacity:o&&r?.35:0,onMouseEnter:g,onMouseMove:m,onMouseLeave:v,onClick:b,'data-testid':'slice-'+t.id})};hI.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]),isCurrent:kr.bool.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var pI=f(hI),gI=function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,s=e.current,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick;return t.map(function(e){return w(pI,{slice:e,axis:n,debug:r,height:i,tooltip:o,setCurrent:a,isCurrent:null!==s&&s.id===e.id,onMouseEnter:A,onMouseMove:l,onMouseLeave:c,onClick:u},e.id)})};gI.propTypes={slices:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,x:kr.number.isRequired,y:kr.number.isRequired,points:kr.arrayOf(kr.object).isRequired})).isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,current:kr.object,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var mI=f(gI),vI=function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,s=e.label,a=e.labelYOffset,A=cC(),l=function(e,t){var n,r=wA(e)?e:function(t){return tf(t,e)};return t&&(n=wA(t)?t:hw(t)),n?function(e){return n(r(e))}:r}(s),c=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?l(e.data):null}});return w('g',{children:c.map(function(e){return w(OC,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:a,theme:A},e.id)})})};vI.propTypes={points:kr.arrayOf(kr.object),symbol:kr.func,size:kr.number.isRequired,color:kr.func.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.func.isRequired,enableLabel:kr.bool.isRequired,label:kr.oneOfType([kr.string,kr.func]).isRequired,labelYOffset:kr.number};var bI=f(vI),yI=function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.tooltip,d=e.debug,f=ka(),h=f.showTooltipAt,g=f.hideTooltip,m=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),a&&a(e,t)},[o,h,u,a,i]),v=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),A&&A(e,t)},[o,h,u,A]),b=s(function(e,t){g(),o(null),l&&l(e,t)},[g,o,l]),y=s(function(e,t){c&&c(e,t)},[c]);return w(qO,{nodes:t,width:n,height:r,onMouseEnter:m,onMouseMove:v,onMouseLeave:b,onClick:y,debug:d})};yI.propTypes={points:kr.arrayOf(kr.object).isRequired,width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.object.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,debug:kr.bool.isRequired};var wI=f(yI),BI=function(e){var t=e.data,r=e.xScale,i=e.xFormat,o=e.yScale,s=e.yFormat,a=e.layers,A=e.curve,l=e.areaBaselineValue,c=e.colors,u=e.margin,d=e.width,f=e.height,h=e.axisTop,p=e.axisRight,g=e.axisBottom,v=e.axisLeft,b=e.enableGridX,y=e.enableGridY,B=e.gridXValues,x=e.gridYValues,C=e.lineWidth,_=e.enableArea,j=e.areaOpacity,F=e.areaBlendMode,E=e.enablePoints,S=e.pointSymbol,k=e.pointSize,U=e.pointColor,Q=e.pointBorderWidth,L=e.pointBorderColor,O=e.enablePointLabel,I=e.pointLabel,N=e.pointLabelYOffset,T=e.defs,M=e.fill,P=e.markers,D=e.legends,R=e.isInteractive,H=e.useMesh,z=e.debugMesh,K=e.onMouseEnter,V=e.onMouseMove,q=e.onMouseLeave,G=e.onClick,W=e.tooltip,Y=e.enableSlices,X=e.debugSlices,J=e.sliceTooltip,Z=e.enableCrosshair,$=e.crosshairType,ee=e.role,te=rC(d,f,u),ne=te.margin,re=te.innerWidth,ie=te.innerHeight,oe=te.outerWidth,se=te.outerHeight,ae=sI({data:t,xScale:r,xFormat:i,yScale:o,yFormat:s,width:re,height:ie,colors:c,curve:A,areaBaselineValue:l,pointColor:U,pointBorderColor:L,enableSlices:Y}),Ae=ae.legendData,le=ae.toggleSerie,ce=ae.lineGenerator,ue=ae.areaGenerator,de=ae.series,fe=ae.xScale,he=ae.yScale,pe=ae.slices,ge=ae.points,me=cC(),ve=UQ(U,me),be=UQ(L,me),ye=n(null),we=ye[0],Be=ye[1],xe=n(null),Ce=xe[0],_e=xe[1],je={grid:w(KF,{theme:me,width:re,height:ie,xScale:b?fe:null,yScale:y?he:null,xValues:B,yValues:x},'grid'),markers:w(MC,{markers:P,width:re,height:ie,xScale:fe,yScale:he,theme:me},'markers'),axes:w(RF,{xScale:fe,yScale:he,width:re,height:ie,theme:me,top:h,right:p,bottom:g,left:v},'axes'),areas:null,lines:w(fI,{lines:de,lineGenerator:ce,lineWidth:C},'lines'),slices:null,points:null,crosshair:null,mesh:null,legends:D.map(function(e,t){return w(zQ,GO({},e,{containerWidth:re,containerHeight:ie,data:e.data||Ae,theme:me,toggleSerie:e.toggleSerie?le:void 0}),'legend.'+t)})},Fe=GC(T,de,M);return _&&(je.areas=w(lI,{areaGenerator:ue,areaOpacity:j,areaBlendMode:F,lines:de},'areas')),R&&!1!==Y&&(je.slices=w(mI,{slices:pe,axis:Y,debug:X,height:ie,tooltip:J,current:Ce,setCurrent:_e,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G},'slices')),E&&(je.points=w(bI,{points:ge,symbol:S,size:k,color:ve,borderWidth:Q,borderColor:be,enableLabel:O,label:I,labelYOffset:N},'points')),R&&Z&&(null!==we&&(je.crosshair=w(ja,{width:re,height:ie,x:we.x,y:we.y,type:$},'crosshair')),null!==Ce&&(je.crosshair=w(ja,{width:re,height:ie,x:Ce.x,y:Ce.y,type:Y},'crosshair'))),R&&H&&!1===Y&&(je.mesh=w(wI,{points:ge,width:re,height:ie,margin:ne,current:we,setCurrent:Be,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G,tooltip:W,debug:z},'mesh')),w(kC,{defs:Fe,width:oe,height:se,margin:ne,role:ee,children:a.map(function(t,n){return'function'==typeof t?w(m,{children:t(GO({},e,{innerWidth:re,innerHeight:ie,series:de,slices:pe,points:ge,xScale:fe,yScale:he,lineGenerator:ce,areaGenerator:ue,currentPoint:we,setCurrentPoint:Be,currentSlice:Ce,setCurrentSlice:_e}))},n):je[t]})})};BI.propTypes=$O,BI.defaultProps=nI;var xI=DC(BI),CI=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(xI,GO({width:n,height:r},e))}})},_I=function(e){var t=e.width,i=e.height,a=e.margin,A=e.pixelRatio,l=e.data,c=e.xScale,u=e.xFormat,d=e.yScale,f=e.yFormat,h=e.curve,g=e.layers,m=e.colors,v=e.lineWidth,b=e.enableArea,y=e.areaBaselineValue,B=e.areaOpacity,x=e.enablePoints,C=e.pointSize,_=e.pointColor,j=e.pointBorderWidth,F=e.pointBorderColor,E=e.enableGridX,S=e.gridXValues,k=e.enableGridY,U=e.gridYValues,Q=e.axisTop,L=e.axisRight,O=e.axisBottom,I=e.axisLeft,N=e.legends,T=e.isInteractive,M=e.debugMesh,P=e.onMouseLeave,D=e.onClick,R=e.tooltip,H=e.canvasRef,z=o(null),K=rC(t,i,a),V=K.margin,q=K.innerWidth,G=K.innerHeight,W=K.outerWidth,Y=K.outerHeight,X=cC(),J=n(null),Z=J[0],$=J[1],ee=sI({data:l,xScale:c,xFormat:u,yScale:d,yFormat:f,width:q,height:G,colors:m,curve:h,areaBaselineValue:y,pointColor:_,pointBorderColor:F}),te=ee.lineGenerator,ne=ee.areaGenerator,re=ee.series,ie=ee.xScale,oe=ee.yScale,se=ee.points,ae=VO({points:se,width:q,height:G,debug:M}),Ae=ae.delaunay,le=ae.voronoi;r(function(){H&&(H.current=z.current),z.current.width=W*A,z.current.height=Y*A;var e=z.current.getContext('2d');e.scale(A,A),e.fillStyle=X.background,e.fillRect(0,0,W,Y),e.translate(V.left,V.top),g.forEach(function(t){if('function'==typeof t&&t({ctx:e,innerWidth:q,innerHeight:G,series:re,points:se,xScale:ie,yScale:oe,lineWidth:v,lineGenerator:te,areaGenerator:ne,currentPoint:Z,setCurrentPoint:$}),'grid'===t&&X.grid.line.strokeWidth>0&&(e.lineWidth=X.grid.line.strokeWidth,e.strokeStyle=X.grid.line.stroke,E&&qF(e,{width:q,height:G,scale:ie,axis:'x',values:S}),k&&qF(e,{width:q,height:G,scale:oe,axis:'y',values:U})),'axes'===t&&VF(e,{xScale:ie,yScale:oe,width:q,height:G,top:Q,right:L,bottom:O,left:I,theme:X}),'areas'===t&&!0===b&&(e.save(),e.globalAlpha=B,ne.context(e),re.forEach(function(t){e.fillStyle=t.color,e.beginPath(),ne(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),'lines'===t&&(te.context(e),re.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=v,e.beginPath(),te(t.data.map(function(e){return e.position})),e.stroke()})),'points'===t&&!0===x&&C>0&&se.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,C/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())}),'mesh'===t&&!0===M&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle='red',e.lineWidth=1,e.stroke(),e.restore()}(e,le),Z&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle='red',e.fill(),e.restore()}(e,le,Z.index)),'legends'===t){var n=re.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();N.forEach(function(t){VQ(e,GO({},t,{data:t.data||n,containerWidth:q,containerHeight:G,theme:X}))})}})},[z,W,Y,g,X,te,re,ie,oe,E,S,k,U,Q,L,O,I,N,se,x,C,Z]);var ce=s(function(e){var t=KC(z.current,e),n=t[0],r=t[1];if(!zC(V.left,V.top,q,G,n,r))return null;var i=Ae.find(n-V.left,r-V.top);return se[i]},[z,V,q,G,Ae]),ue=ka(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=s(function(e){var t=ce(e);$(t),t?de(p(R,{point:t}),e):fe()},[ce,$,de,fe,R]),pe=s(function(e){fe(),$(null),Z&&P&&P(Z,e)},[fe,$,P]),ge=s(function(e){if(D){var t=ce(e);t&&D(t,e)}},[ce,D]);return w('canvas',{ref:z,width:W*A,height:Y*A,style:{width:W,height:Y,cursor:T?'auto':'normal'},onMouseEnter:T?he:void 0,onMouseMove:T?he:void 0,onMouseLeave:T?pe:void 0,onClick:T?ge:void 0})};_I.propTypes=eI,_I.defaultProps=rI;var jI=DC(_I),FI=c(function(e,t){return w(jI,GO({},e,{canvasRef:t}))});c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(FI,GO({width:r,height:i},e,{ref:t}))}})});var EI,SI,kI,UI=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return[{id:e.y_category_label[0],data:e.x_data.map(function(e,t){var r;return{x:e,y:null!==(r=n[t])&&void 0!==r?r:0}})}]}return e.y_category_label.map(function(t,n){return{id:t,data:e.x_data.map(function(t,r){var i,o;return{x:t,y:null!==(o=null===(i=e.y_data[r])||void 0===i?void 0:i[n])&&void 0!==o?o:0}})}})}(n),i=u(dJ).isDarkMode;return t.createElement(CI,{data:r,margin:{top:50,right:60,bottom:80,left:60},xScale:{type:'point'},yScale:{type:'linear',min:'auto',max:'auto',stacked:!0,reverse:!1},yFormat:' >-.2f',axisTop:null,axisRight:null,axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},axisLeft:{tickSize:5,tickPadding:5,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,tickRotation:0},pointSize:10,pointColor:{theme:'background'},pointBorderWidth:2,pointBorderColor:{from:'serieColor'},pointLabelYOffset:-12,useMesh:!0,legends:[{anchor:'top',direction:'row',justify:!1,translateX:12,translateY:-30,itemsSpacing:0,itemDirection:'left-to-right',itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:'circle',symbolBorderColor:'rgba(0, 0, 0, .5)',effects:[{on:'hover',style:{itemBackground:'rgba(0, 0, 0, .03)',itemOpacity:1}}]}],theme:i?UL:kL})},QI=function(e){var n=e.handleClickDownloadConversation;return t.createElement(Mn,null,t.createElement(En,{$fill:'outline',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m21%2C13.58c-.55%2C0-1%2C.45-1%2C1v4.42c0%2C.55-.45%2C1-1%2C1H5c-.55%2C0-1-.45-1-1v-4.42c0-.55-.45-1-1-1s-1%2C.45-1%2C1v4.42c0%2C1.65%2C1.35%2C3%2C3%2C3h14c1.65%2C0%2C3-1.35%2C3-3v-4.42c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22m11.29%2C16.71c.09.09.2.17.33.22.12.05.25.08.38.08s.26-.03.38-.08c.12-.05.23-.12.33-.22l4-4c.39-.39.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-2.29%2C2.29V3c0-.55-.45-1-1-1s-1%2C.45-1%2C1v10.59l-2.29-2.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4%2C4Z%22%2F%3E%3C%2Fsvg%3E',onClick:n},'Download Conversation'))},LI=function e(t){function n(e,t,r){var i,o={};if(Array.isArray(e))return e.concat(t);for(i in e)o[r?i.toLowerCase():i]=e[i];for(i in t){var s=r?i.toLowerCase():i,a=t[i];o[s]=s in o&&'object'==typeof a?n(o[s],a,'headers'==s):a}return o}function r(e,r,i,o,s){var a='string'!=typeof e?(r=e).url:e,A={config:r},l=n(t,r),c={};o=o||l.data,(l.transformRequest||[]).map(function(e){o=e(o,l.headers)||o}),l.auth&&(c.authorization=l.auth),o&&'object'==typeof o&&'function'!=typeof o.append&&'function'!=typeof o.text&&(o=JSON.stringify(o),c['content-type']='application/json');try{c[l.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp('(^|; )'+l.xsrfCookieName+'=([^;]*)'))[2])}catch(e){}return l.baseURL&&(a=a.replace(/^(?!.*\/\/)\/?/,l.baseURL+'/')),l.params&&(a+=(~a.indexOf('?')?'&':'?')+(l.paramsSerializer?l.paramsSerializer(l.params):new URLSearchParams(l.params))),(l.fetch||fetch)(a,{method:(i||l.method||'get').toUpperCase(),body:o,headers:n(l.headers,c,!0),credentials:l.withCredentials?'include':s}).then(function(e){for(var t in e)'function'!=typeof e[t]&&(A[t]=e[t]);return'stream'==l.responseType?(A.data=e.body,A):e[l.responseType||'text']().then(function(e){A.data=e,A.data=JSON.parse(e)}).catch(Object).then(function(){return(l.validateStatus?l.validateStatus(e.status):e.ok)?A:Promise.reject(A)})})}return t=t||{},r.request=r,r.get=function(e,t){return r(e,t,'get')},r.delete=function(e,t){return r(e,t,'delete')},r.head=function(e,t){return r(e,t,'head')},r.options=function(e,t){return r(e,t,'options')},r.post=function(e,t,n){return r(e,n,'post',t)},r.put=function(e,t,n){return r(e,n,'put',t)},r.patch=function(e,t,n){return r(e,n,'patch',t)},r.all=Promise.all.bind(Promise),r.spread=function(e){return e.apply.bind(e,e)},r.CancelToken='function'==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}(),OI=LI.create(),II=function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:return[4,OI.post('/ved/chats/',{session_title:''})];case 1:return[2,e.sent().data]}})})},NI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.delete('/ved/chats/'.concat(e,'/'))];case 1:return[2,t.sent().data]}})})},TI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.post('/ved/chats/'.concat(e.sessionID,'/feedback'),Oe({message_id:e.message_id,is_liked:e.is_liked},!1===e.is_liked&&{reason:e.reason,comment:e.comment}))];case 1:return[2,t.sent().data]}})})},MI=Nt.div(EI||(EI=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n']))),PI=Nt.div(SI||(SI=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),DI=Nt.div(kI||(kI=Pe(['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n']))),RI={},HI={};Object.defineProperty(HI,'__esModule',{value:!0}),HI.createAnimation=void 0;HI.createAnimation=function(e,t,n){var r='react-spinners-'.concat(e,'-').concat(n);if('undefined'==typeof window||!window.document)return r;var i=document.createElement('style');document.head.appendChild(i);var o=i.sheet,s='\n @keyframes '.concat(r,' {\n ').concat(t,'\n }\n ');return o&&o.insertRule(s,0),r};var zI={};Object.defineProperty(zI,'__esModule',{value:!0}),zI.cssValue=zI.parseLengthAndUnit=void 0;var KI={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,'%':!0};function VI(e){if('number'==typeof e)return{value:e,unit:'px'};var t,n=(e.match(/^[0-9.]*/)||'').toString();t=n.includes('.')?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||'').toString();return KI[r]?{value:t,unit:r}:{value:t,unit:'px'}}zI.parseLengthAndUnit=VI,zI.cssValue=function(e){var t=VI(e);return''.concat(t.value).concat(t.unit)};var qI=nr&&nr.__assign||function(){return qI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qI.apply(this,arguments)},GI=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),WI=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),YI=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&GI(t,e,n);return WI(t,e),t},XI=nr&&nr.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&'function'==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(RI,'__esModule',{value:!0});var JI=YI(t),ZI=zI,$I=(0,HI.createAnimation)('SyncLoader','33% {transform: translateY(10px)}\n 66% {transform: translateY(-10px)}\n 100% {transform: translateY(0)}','sync');var eN=RI.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?15:l,u=e.margin,d=void 0===u?2:u,f=XI(e,['loading','color','speedMultiplier','cssOverride','size','margin']),h=qI({display:'inherit'},A),p=function(e){return{backgroundColor:i,width:(0,ZI.cssValue)(c),height:(0,ZI.cssValue)(c),margin:(0,ZI.cssValue)(d),borderRadius:'100%',display:'inline-block',animation:''.concat($I,' ').concat(.6/s,'s ').concat(.07*e,'s infinite ease-in-out'),animationFillMode:'both'}};return n?JI.createElement('span',qI({style:h},f),JI.createElement('span',{style:p(1)}),JI.createElement('span',{style:p(2)}),JI.createElement('span',{style:p(3)})):null};const tN=t.createContext({}),nN=!0;function rN({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:o,direction:s,duration:a,enableAnimation:A=true,customHighlightBackground:l}){const c={};return'rtl'===s&&(c['--animation-direction']='reverse'),'number'==typeof a&&(c['--animation-duration']=`${a}s`),A||(c['--pseudo-element-display']='none'),'string'!=typeof n&&'number'!=typeof n||(c.width=n),'string'!=typeof r&&'number'!=typeof r||(c.height=r),'string'!=typeof i&&'number'!=typeof i||(c.borderRadius=i),o&&(c.borderRadius='50%'),void 0!==e&&(c['--base-color']=e),void 0!==t&&(c['--highlight-color']=t),'string'==typeof l&&(c['--custom-highlight-background']=l),c}function iN({count:e=1,wrapper:n,className:r,containerClassName:i,containerTestId:o,circle:s=!1,style:a,...A}){var l,c,u;const d=t.useContext(tN),f={...A};for(const[e,t]of Object.entries(A))void 0===t&&delete f[e];const h={...d,...f,circle:s},p={...a,...rN(h)};let g='react-loading-skeleton';r&&(g+=` ${r}`);const m=null!==(l=h.inline)&&void 0!==l&&l,v=[],b=Math.ceil(e);for(let n=0;n<b;n++){let r=p;if(b>e&&n===b-1){const t=null!==(c=r.width)&&void 0!==c?c:'100%',n=e%1,i='number'==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:i}}const i=t.createElement('span',{className:g,style:r,key:n},'‌');m?v.push(i):v.push(t.createElement(t.Fragment,{key:n},i,t.createElement('br',null)))}return t.createElement('span',{className:i,'data-testid':o,'aria-live':'polite','aria-busy':null!==(u=h.enableAnimation)&&void 0!==u?u:nN},n?v.map((e,r)=>t.createElement(n,{key:r},e)):v)}j('@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: \' \';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n');var oN=function(){var e=u(dJ).isDarkMode,n=d(function(){return[60,55,50,45].map(function(n,r){return t.createElement(iN,{key:r,width:''.concat(n,'%'),baseColor:e?'#7B7E92':'#ebebeb',highlightColor:e?'#4B5168':'#f5f5f5'})})},[]);return t.createElement(MI,null,t.createElement(PI,null,t.createElement(eN,{color:e?'#CCCCDC':'#000',size:4,'aria-label':'Loading Spinner'}),t.createElement(DI,null,t.createElement('p',null,'Generating Response'),n)))},sN={},aN=nr&&nr.__assign||function(){return aN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aN.apply(this,arguments)},AN=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),lN=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),cN=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&AN(t,e,n);return lN(t,e),t},uN=nr&&nr.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&'function'==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(sN,'__esModule',{value:!0});var dN=cN(t),fN=zI,hN=(0,HI.createAnimation)('ClipLoader','0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}','clip');var pN,gN,mN,vN,bN,yN=sN.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?35:l,u=uN(e,['loading','color','speedMultiplier','cssOverride','size']),d=aN({background:'transparent !important',width:(0,fN.cssValue)(c),height:(0,fN.cssValue)(c),borderRadius:'100%',border:'2px solid',borderTopColor:i,borderBottomColor:'transparent',borderLeftColor:i,borderRightColor:i,display:'inline-block',animation:''.concat(hN,' ').concat(.75/s,'s 0s infinite linear'),animationFillMode:'both'},A);return n?dN.createElement('span',aN({style:d},u)):null},wN=Nt.div(pN||(pN=Pe(['\n vu-text-start\n'],['\n vu-text-start\n']))),BN=Nt.div(gN||(gN=Pe(['\n vu-text-3xl vu-font-bold\n'],['\n vu-text-3xl vu-font-bold\n']))),xN=Nt.div(mN||(mN=Pe(['\n vu-text-md\n'],['\n vu-text-md\n']))),CN=Nt.div(vN||(vN=Pe(['\n vu-opacity-60\n'],['\n vu-opacity-60\n']))),_N=Nt.ul(bN||(bN=Pe(['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n'],['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n']))),jN=function(){return t.createElement(wN,null,t.createElement(BN,null,'Hi, I\'m ',t.createElement(Fn,{inline:!0,svg:qn,size:48})),t.createElement(xN,null,t.createElement(CN,null,'Your assistant for incident analysis and insights.'),t.createElement('div',{className:'vu-mt-4'},'I can help you with:'),t.createElement(_N,null,t.createElement('li',null,'Incident listing and summaries.'),t.createElement('li',null,'Understanding what happened, when, and why.'),t.createElement('li',null,'Probable Root Causes and Recommended actions.')),t.createElement(CN,null,'Ask away!')))},FN=Nt.div(SN||(SN=Pe(['\n vu-flex\n'],['\n vu-flex\n']))),EN=Nt.div(kN||(kN=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Nt.div(UN||(UN=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Nt.div(QN||(QN=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var SN,kN,UN,QN,LN,ON,IN,NN,TN,MN,PN,DN,RN,HN=Nt.div(LN||(LN=Pe(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),zN=Nt.div(ON||(ON=Pe(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),function(e){return e.$isOpen?'vu-flex':'vu-hidden'}),KN=Nt.div(IN||(IN=Pe(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),VN=Nt.div(NN||(NN=Pe(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),qN=Nt.div(TN||(TN=Pe(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),GN=Nt.div(MN||(MN=Pe(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),WN=Nt.div(PN||(PN=Pe(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),YN=Nt.button(DN||(DN=Pe(['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n'],['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n']))),XN=Nt.a(RN||(RN=Pe(['\n vu-underline\n vu-text-blue-600\n'],['\n vu-underline\n vu-text-blue-600\n'])));Nt.div(JN||(JN=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'])));var JN,ZN,$N=Nt.div(ZN||(ZN=Pe(['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'],['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'])));let eT,tT,nT,rT={data:''},iT=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,oT=/\/\*[^]*?\*\/| +/g,sT=/\n+/g,aT=(e,t)=>{let n='',r='',i='';for(let o in e){let s=e[o];'@'==o[0]?'i'==o[1]?n=o+' '+s+';':r+='f'==o[1]?aT(s,o):o+'{'+aT(s,'k'==o[1]?'':t)+'}':'object'==typeof s?r+=aT(s,t?t.replace(/([^,])+/g,e=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+' '+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,'-$&').toLowerCase(),i+=aT.p?aT.p(o,s):o+':'+s+';')}return n+(t&&i?t+'{'+i+'}':i)+r},AT={},lT=e=>{if('object'==typeof e){let t='';for(let n in e)t+=n+lT(e[n]);return t}return e},cT=(e,t,n,r,i)=>{let o=lT(e),s=AT[o]||(AT[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return'go'+n})(o));if(!AT[s]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=iT.exec(e.replace(oT,''));)t[4]?r.shift():t[3]?(n=t[3].replace(sT,' ').trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(sT,' ').trim();return r[0]})(e);AT[s]=aT(i?{['@keyframes '+s]:t}:t,n?'':'.'+s)}let a=n&&AT.g?AT.g:null;return n&&(AT.g=AT[s]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(AT[s],t,r,a),s};function uT(e){let t=this||{},n=e.call?e(t.p):e;return cT(n.unshift?n.raw?((e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?'.'+t:e&&'object'==typeof e?e.props?'':aT(e,''):!1===e?'':e}return e+r+(null==o?'':o)},''))(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,(e=>{if('object'==typeof window){let t=(e?e.querySelector('#_goober'):window._goober)||Object.assign(document.createElement('style'),{innerHTML:' ',id:'_goober'});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||rT})(t.target),t.g,t.o,t.k)}uT.bind({g:1});let dT=uT.bind({k:1});function fT(e,t){let n=this||{};return function(){let r=arguments;function i(o,s){let a=Object.assign({},o),A=a.className||i.className;n.p=Object.assign({theme:tT&&tT()},a),n.o=/ *go\d+/.test(A),a.className=uT.apply(n,r)+(A?' '+A:''),t&&(a.ref=s);let l=e;return e[0]&&(l=a.as||e,delete a.as),nT&&l[0]&&nT(a),eT(l,a)}return t?t(i):i}}var hT=(e,t)=>(e=>'function'==typeof e)(e)?e(t):e,pT=(()=>{let e=0;return()=>(++e).toString()})(),gT=(()=>{let e;return()=>{if(void 0===e&&typeof window<'u'){let t=matchMedia('(prefers-reduced-motion: reduce)');e=!t||t.matches}return e}})(),mT='default',vT=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return vT(e,{type:e.toasts.find(e=>e.id===r.id)?1:0,toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},bT=[],yT={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},wT={},BT=(e,t=mT)=>{wT[t]=vT(wT[t]||yT,e),bT.forEach(([e,n])=>{e===t&&n(wT[t])})},xT=e=>Object.keys(wT).forEach(t=>BT(e,t)),CT=(e=mT)=>t=>{BT(t,e)},_T={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},jT=e=>(t,n)=>{let r=((e,t='blank',n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:'status','aria-live':'polite'},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||pT()}))(t,e,n);return CT(r.toasterId||(e=>Object.keys(wT).find(t=>wT[t].toasts.some(t=>t.id===e)))(r.id))({type:2,toast:r}),r.id},FT=(e,t)=>jT('blank')(e,t);FT.error=jT('error'),FT.success=jT('success'),FT.loading=jT('loading'),FT.custom=jT('custom'),FT.dismiss=(e,t)=>{let n={type:3,toastId:e};t?CT(t)(n):xT(n)},FT.dismissAll=e=>FT.dismiss(void 0,e),FT.remove=(e,t)=>{let n={type:4,toastId:e};t?CT(t)(n):xT(n)},FT.removeAll=e=>FT.remove(void 0,e),FT.promise=(e,t,n)=>{let r=FT.loading(t.loading,{...n,...null==n?void 0:n.loading});return'function'==typeof e&&(e=e()),e.then(e=>{let i=t.success?hT(t.success,e):void 0;return i?FT.success(i,{id:r,...n,...null==n?void 0:n.success}):FT.dismiss(r),e}).catch(e=>{let i=t.error?hT(t.error,e):void 0;i?FT.error(i,{id:r,...n,...null==n?void 0:n.error}):FT.dismiss(r)}),e};var ET=(e,t='default')=>{let{toasts:i,pausedAt:a}=((e={},t=mT)=>{let[i,s]=n(wT[t]||yT),a=o(wT[t]);r(()=>(a.current!==wT[t]&&s(wT[t]),bT.push([t,s]),()=>{let e=bT.findIndex(([e])=>e===t);e>-1&&bT.splice(e,1)}),[t]);let A=i.toasts.map(t=>{var n,r,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||_T[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...i,toasts:A}})(e,t),A=o(new Map).current,l=s((e,t=1e3)=>{if(A.has(e))return;let n=setTimeout(()=>{A.delete(e),c({type:4,toastId:e})},t);A.set(e,n)},[]);r(()=>{if(a)return;let e=Date.now(),n=i.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(!(r<0))return setTimeout(()=>FT.dismiss(n.id,t),r);n.visible&&FT.dismiss(n.id)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[i,a,t]);let c=s(CT(t),[t]),u=s(()=>{c({type:5,time:Date.now()})},[c]),d=s((e,t)=>{c({type:1,toast:{id:e,height:t}})},[c]),f=s(()=>{a&&c({type:6,time:Date.now()})},[a,c]),h=s((e,t)=>{let{reverseOrder:n=!1,gutter:r=8,defaultPosition:o}=t||{},s=i.filter(t=>(t.position||o)===(e.position||o)&&t.height),a=s.findIndex(t=>t.id===e.id),A=s.filter((e,t)=>t<a&&e.visible).length;return s.filter(e=>e.visible).slice(...n?[A+1]:[0,A]).reduce((e,t)=>e+(t.height||0)+r,0)},[i]);return r(()=>{i.forEach(e=>{if(e.dismissed)l(e.id,e.removeDelay);else{let t=A.get(e.id);t&&(clearTimeout(t),A.delete(e.id))}})},[i,l]),{toasts:i,handlers:{updateHeight:d,startPause:u,endPause:f,calculateOffset:h}}},ST=dT`
15
+ from {
16
+ transform: scale(0) rotate(45deg);
17
+ opacity: 0;
18
+ }
19
+ to {
20
+ transform: scale(1) rotate(45deg);
21
+ opacity: 1;
22
+ }`,kT=dT`
23
+ from {
24
+ transform: scale(0);
25
+ opacity: 0;
26
+ }
27
+ to {
28
+ transform: scale(1);
29
+ opacity: 1;
30
+ }`,UT=dT`
31
+ from {
32
+ transform: scale(0) rotate(90deg);
33
+ opacity: 0;
34
+ }
35
+ to {
36
+ transform: scale(1) rotate(90deg);
37
+ opacity: 1;
38
+ }`,QT=fT('div')`
39
+ width: 20px;
40
+ opacity: 0;
41
+ height: 20px;
42
+ border-radius: 10px;
43
+ background: ${e=>e.primary||'#ff4b4b'};
44
+ position: relative;
45
+ transform: rotate(45deg);
46
+
47
+ animation: ${ST} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
48
+ forwards;
49
+ animation-delay: 100ms;
50
+
51
+ &:after,
52
+ &:before {
53
+ content: '';
54
+ animation: ${kT} 0.15s ease-out forwards;
55
+ animation-delay: 150ms;
56
+ position: absolute;
57
+ border-radius: 3px;
58
+ opacity: 0;
59
+ background: ${e=>e.secondary||'#fff'};
60
+ bottom: 9px;
61
+ left: 4px;
62
+ height: 2px;
63
+ width: 12px;
64
+ }
65
+
66
+ &:before {
67
+ animation: ${UT} 0.15s ease-out forwards;
68
+ animation-delay: 180ms;
69
+ transform: rotate(90deg);
70
+ }
71
+ `,LT=dT`
72
+ from {
73
+ transform: rotate(0deg);
74
+ }
75
+ to {
76
+ transform: rotate(360deg);
77
+ }
78
+ `,OT=fT('div')`
79
+ width: 12px;
80
+ height: 12px;
81
+ box-sizing: border-box;
82
+ border: 2px solid;
83
+ border-radius: 100%;
84
+ border-color: ${e=>e.secondary||'#e0e0e0'};
85
+ border-right-color: ${e=>e.primary||'#616161'};
86
+ animation: ${LT} 1s linear infinite;
87
+ `,IT=dT`
88
+ from {
89
+ transform: scale(0) rotate(45deg);
90
+ opacity: 0;
91
+ }
92
+ to {
93
+ transform: scale(1) rotate(45deg);
94
+ opacity: 1;
95
+ }`,NT=dT`
96
+ 0% {
97
+ height: 0;
98
+ width: 0;
99
+ opacity: 0;
100
+ }
101
+ 40% {
102
+ height: 0;
103
+ width: 6px;
104
+ opacity: 1;
105
+ }
106
+ 100% {
107
+ opacity: 1;
108
+ height: 10px;
109
+ }`,TT=fT('div')`
110
+ width: 20px;
111
+ opacity: 0;
112
+ height: 20px;
113
+ border-radius: 10px;
114
+ background: ${e=>e.primary||'#61d345'};
115
+ position: relative;
116
+ transform: rotate(45deg);
117
+
118
+ animation: ${IT} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
119
+ forwards;
120
+ animation-delay: 100ms;
121
+ &:after {
122
+ content: '';
123
+ box-sizing: border-box;
124
+ animation: ${NT} 0.2s ease-out forwards;
125
+ opacity: 0;
126
+ animation-delay: 200ms;
127
+ position: absolute;
128
+ border-right: 2px solid;
129
+ border-bottom: 2px solid;
130
+ border-color: ${e=>e.secondary||'#fff'};
131
+ bottom: 6px;
132
+ left: 6px;
133
+ height: 10px;
134
+ width: 6px;
135
+ }
136
+ `,MT=fT('div')`
137
+ position: absolute;
138
+ `,PT=fT('div')`
139
+ position: relative;
140
+ display: flex;
141
+ justify-content: center;
142
+ align-items: center;
143
+ min-width: 20px;
144
+ min-height: 20px;
145
+ `,DT=dT`
146
+ from {
147
+ transform: scale(0.6);
148
+ opacity: 0.4;
149
+ }
150
+ to {
151
+ transform: scale(1);
152
+ opacity: 1;
153
+ }`,RT=fT('div')`
154
+ position: relative;
155
+ transform: scale(0.6);
156
+ opacity: 0.4;
157
+ min-width: 20px;
158
+ animation: ${DT} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
159
+ forwards;
160
+ `,HT=({toast:t})=>{let{icon:n,type:r,iconTheme:i}=t;return void 0!==n?'string'==typeof n?e.createElement(RT,null,n):n:'blank'===r?null:e.createElement(PT,null,e.createElement(OT,{...i}),'loading'!==r&&e.createElement(MT,null,'error'===r?e.createElement(QT,{...i}):e.createElement(TT,{...i})))},zT=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,KT=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,VT=fT('div')`
161
+ display: flex;
162
+ align-items: center;
163
+ background: #fff;
164
+ color: #363636;
165
+ line-height: 1.3;
166
+ will-change: transform;
167
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
168
+ max-width: 350px;
169
+ pointer-events: auto;
170
+ padding: 8px 10px;
171
+ border-radius: 8px;
172
+ `,qT=fT('div')`
173
+ display: flex;
174
+ justify-content: center;
175
+ margin: 4px 10px;
176
+ color: inherit;
177
+ flex: 1 1 auto;
178
+ white-space: pre-line;
179
+ `,GT=e.memo(({toast:t,position:n,style:r,children:i})=>{let o=t.height?((e,t)=>{let n=e.includes('top')?1:-1,[r,i]=gT()?['0%{opacity:0;} 100%{opacity:1;}','0%{opacity:1;} 100%{opacity:0;}']:[zT(n),KT(n)];return{animation:t?`${dT(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${dT(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(t.position||n||'top-center',t.visible):{opacity:0},s=e.createElement(HT,{toast:t}),a=e.createElement(qT,{...t.ariaProps},hT(t.message,t));return e.createElement(VT,{className:t.className,style:{...o,...r,...t.style}},'function'==typeof i?i({icon:s,message:a}):e.createElement(e.Fragment,null,s,a))});!function(e,t,n,r){aT.p=t,eT=e,tT=n,nT=r}(e.createElement);var WT=({id:t,className:n,style:r,onHeightUpdate:i,children:o})=>{let s=e.useCallback(e=>{if(e){let n=()=>{let n=e.getBoundingClientRect().height;i(t,n)};n(),new MutationObserver(n).observe(e,{subtree:!0,childList:!0,characterData:!0})}},[t,i]);return e.createElement('div',{ref:s,className:n,style:r},o)},YT=uT`
180
+ z-index: 9999;
181
+ > * {
182
+ pointer-events: auto;
183
+ }
184
+ `,XT=({reverseOrder:t,position:n='top-center',toastOptions:r,gutter:i,children:o,toasterId:s,containerStyle:a,containerClassName:A})=>{let{toasts:l,handlers:c}=ET(r,s);return e.createElement('div',{'data-rht-toaster':s||'',style:{position:'fixed',zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:'none',...a},className:A,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(r=>{let s=r.position||n,a=((e,t)=>{let n=e.includes('top'),r=n?{top:0}:{bottom:0},i=e.includes('center')?{justifyContent:'center'}:e.includes('right')?{justifyContent:'flex-end'}:{};return{left:0,right:0,display:'flex',position:'absolute',transition:gT()?void 0:'all 230ms cubic-bezier(.21,1.02,.73,1)',transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}})(s,c.calculateOffset(r,{reverseOrder:t,gutter:i,defaultPosition:n}));return e.createElement(WT,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?YT:'',style:a},'custom'===r.type?hT(r.message,r):o?o(r):e.createElement(GT,{toast:r,position:s}))}))},JT=FT;function ZT(){var e=C();return d(function(){return new URLSearchParams(e.search)},[e.search])}var $T={incident_analysis:'Incident'};function eM(e){var t=e.sessionID,n=e.startChat,i=e.setConversation,o=e.setQuestion,s=ZT(),a=function(){var e=_(),t=C();return function(){var n=new URLSearchParams(t.search);n.delete('ved_context_object'),n.delete('ved_chat_question'),n.delete('ved_chat_autosend'),n.delete('ved_chat_open'),n.delete('ved_entry_point'),e.replace({pathname:t.pathname,search:n.toString()})}}();r(function(){var e=s.get('ved_context_object'),t=s.get('ved_chat_question'),r=s.get('ved_chat_autosend'),A=e?'Failed to load '.concat($T[e],' context : You may continue the chat with Ved and add any necessary details manually.'):'Failed to load context : You may continue the chat with Ved and add any necessary details manually.';if(t){var l;try{l=decodeURIComponent(t)}catch(e){return void JT.error(A)}a(),o(l),'true'===r&&(n(l),i(function(e){return Me(Me([],e,!0),[{from:'query',text:l}],!1)}),o(''))}else e&&JT.error(A)},[t])}function tM(e){var t=this,r=e.url,i=e.headers,a=void 0===i?{}:i,A=e.onComplete,l=e.onError,c=n(''),u=c[0],d=c[1],f=n(),h=f[0],p=f[1],g=n(),m=g[0],v=g[1],b=n([]),y=b[0],w=b[1],B=n([]),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=o(''),S=o(),k=o(),U=o([]),Q=o([]),L=o(null),O=o(0),I=o(null),N=s(function(){I.current&&(clearTimeout(I.current),I.current=null),d(E.current),O.current=Date.now()},[]),T=s(function(){var e=Date.now(),t=e-O.current;t>=30?(d(E.current),O.current=e):I.current||(I.current=setTimeout(function(){d(E.current),O.current=Date.now(),I.current=null},30-t))},[]),M=s(function(){var e;N(),null===(e=L.current)||void 0===e||e.abort(),L.current=null,F(!1)},[N]),P=function(e){C(function(t){var n=e(t);return Q.current=n,n})},D=s(function(e){return Ne(t,void 0,void 0,function(){var t,n,i,o,s,c,u,f,h,g,m,b,y,B,x,_,j,D,R;return Te(this,function(H){switch(H.label){case 0:I.current&&(clearTimeout(I.current),I.current=null),null===(j=L.current)||void 0===j||j.abort(),F(!0),C([]),d(''),w([]),p(void 0),v(void 0),Q.current=[],E.current='',U.current=[],S.current=void 0,k.current=void 0,O.current=0,t=new AbortController,L.current=t,H.label=1;case 1:return H.trys.push([1,6,7,8]),[4,fetch(r,{method:'POST',body:e,headers:a,signal:t.signal})];case 2:if(!(n=H.sent()).ok||!n.body)throw new Error('Stream failed: '.concat(n.status));i=n.body.getReader(),o=new TextDecoder,s='',H.label=3;case 3:return[4,i.read()];case 4:if(c=H.sent(),u=c.done,f=c.value,u)return[3,5];for(s+=o.decode(f,{stream:!0}),h=s.split('\n\n'),s=null!==(D=h.pop())&&void 0!==D?D:'',g=function(e){var t=function(e){for(var t='',n='',r='',i='',o=0,s=e.split('\n');o<s.length;o++){var a=s[o];a.startsWith('event:')?t=a.slice(6).trim():a.startsWith('data:')?n+=a.slice(5).trim():a.startsWith('description:')?r+=a.slice(12).trim():a.startsWith('id:')&&(i=a.slice(3).trim())}return{event:t,data:n,description:r,id:i}}(e),n=t.event,r=t.data,i=t.description,o=t.id;switch(n){case'tool_start':P(function(e){return Me(Me([],e,!0),[{id:Number(o),description:i,status:'running'}],!1)});break;case'tool_end':P(function(e){var t,n=null===(t=Me([],e,!0).map(function(e,t){return{t:e,i:t}}).reverse().find(function(e){return'running'===e.t.status}))||void 0===t?void 0:t.i;if(void 0===n)return e;var r=Me([],e,!0);return r[n]=Oe(Oe({},r[n]),{status:'completed',description:i}),r});break;case'answer_chunk':var s=JSON.parse(r).chunk;E.current+=s,T();break;case'answer_end':var a=JSON.parse(r);E.current=a.content,N();break;case'chart_end':a=JSON.parse(r);var c=null!==(R=a.chart_config_list)&&void 0!==R?R:[];w(c),U.current=c;break;case'sources_end':a=JSON.parse(r);p(a.sources),S.current=a.sources;break;case'explainability_end':a=JSON.parse(r);v(a.explainability),k.current=a.explainability;break;case'response_stream_end':a=JSON.parse(r);N();var u={answerHtml:a.answer,sourcesHtml:a.sources,charts:a.chart_config_list,tools:Q.current,explainabilityHtml:a.explainability,messageId:a.message_id};return null==A||A(u),M(),{value:void 0};case'error':var d=r;try{d='string'==typeof(a=JSON.parse(r))?a:a.message}catch(e){}var f=new Error(d);return null==l||l(f,{answerHtml:E.current,sourcesHtml:S.current,charts:U.current,tools:Q.current,explainabilityHtml:k.current}),M(),{value:void 0}}},m=0,b=h;m<b.length;m++)if(y=b[m],'object'==typeof(B=g(y)))return[2,B.value];return[3,3];case 5:return[3,8];case 6:return x=H.sent(),_=x.name,null==l||l(x,void 0,'AbortError'===_?'AbortError':'Error'),[3,8];case 7:return N(),F(!1),[7];case 8:return[2]}})})},[r,a,M,A,l,T,N]);return{answerHtml:u,tools:x,sourcesHtml:h,explainabilityHtml:m,charts:y,isStreaming:j,start:D,stop:M}}var nM,rM,iM,oM=Nt.div(nM||(nM=Pe(['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n'],['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n']))),sM=Nt.div(rM||(rM=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),aM=Nt.div(iM||(iM=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n']))),AM=function(e){var n=e.question;return t.createElement(oM,null,t.createElement(sM,null,t.createElement('div',null,t.createElement(Fn,{svg:'data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Group%206054%22%3E%3Cg%20id%3D%22Group%206038%22%3E%3Cg%20id%3D%22Group%206016%22%3E%3Cg%20id%3D%22Group%205999%22%3E%3Cpath%20id%3D%22Path%203219%22%20d%3D%22M16%203C18.5712%203%2021.0846%203.76244%2023.2224%205.19089C25.3602%206.61935%2027.0265%208.64967%2028.0104%2011.0251C28.9944%2013.4006%2029.2518%2016.0144%2028.7502%2018.5362C28.2486%2021.0579%2027.0105%2023.3743%2025.1924%2025.1924C23.3743%2027.0105%2021.0579%2028.2486%2018.5362%2028.7502C16.0144%2029.2518%2013.4006%2028.9944%2011.0251%2028.0104C8.64967%2027.0265%206.61935%2025.3602%205.19089%2023.2224C3.76244%2021.0846%203%2018.5712%203%2016C3%2012.5522%204.36964%209.24558%206.80761%206.80761C9.24558%204.36964%2012.5522%203%2016%203Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20id%3D%22Path%203220%22%20d%3D%22M15.7617%2015.4619C15.4452%2015.473%2015.1296%2015.4204%2014.8338%2015.3071C14.538%2015.1938%2014.268%2015.0222%2014.0399%2014.8025C13.6064%2014.3494%2013.3645%2013.7465%2013.3645%2013.1195C13.3645%2012.4924%2013.6064%2011.8896%2014.0399%2011.4365C14.5139%2011.014%2015.1268%2010.7806%2015.7617%2010.7806C16.3967%2010.7806%2017.0095%2011.014%2017.4836%2011.4365C17.9171%2011.8896%2018.159%2012.4924%2018.159%2013.1195C18.159%2013.7465%2017.9171%2014.3494%2017.4836%2014.8025C17.2555%2015.0222%2016.9855%2015.1938%2016.6897%2015.3071C16.3939%2015.4204%2016.0783%2015.473%2015.7617%2015.4619ZM11.1749%2020.847C11.0656%2020.8491%2010.9569%2020.8291%2010.8555%2020.7882C10.754%2020.7473%2010.6618%2020.6864%2010.5845%2020.6091C10.5062%2020.535%2010.4442%2020.4455%2010.4024%2020.3462C10.3606%2020.2469%2010.3399%2020.14%2010.3417%2020.0322V19.5068C10.3342%2019.1518%2010.4426%2018.8041%2010.6505%2018.5162C10.8571%2018.2341%2011.1336%2018.0105%2011.4527%2017.8675C12.1625%2017.5543%2012.8986%2017.3044%2013.6524%2017.1207C14.3433%2016.9553%2015.0513%2016.8712%2015.7617%2016.8701C16.471%2016.8711%2017.1775%2016.9572%2017.8663%2017.1265C18.6167%2017.3136%2019.3508%2017.5615%2020.0611%2017.8675C20.3845%2018.0083%2020.6649%2018.2321%2020.8739%2018.5162C21.0819%2018.8041%2021.1903%2019.1518%2021.1828%2019.5068V20.0322C21.1845%2020.14%2021.1638%2020.2469%2021.122%2020.3462C21.0802%2020.4455%2021.0182%2020.535%2020.94%2020.6091C20.8626%2020.6864%2020.7704%2020.7473%2020.669%2020.7882C20.5675%2020.8291%2020.4589%2020.8491%2020.3495%2020.847H11.1749Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:32})),t.createElement(aM,null,n)))},lM=Nt.div(dM||(dM=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n']))),cM=Nt.div(fM||(fM=Pe(['\n vu-flex\n vu-gap-x-3\n vu-w-full\n'],['\n vu-flex\n vu-gap-x-3\n vu-w-full\n']))),uM=Nt.div(hM||(hM=Pe(['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'],['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'])));Nt.div(pM||(pM=Pe(['\n vu-flex\n vu-justify-end\n vu-text-xs\n'],['\n vu-flex\n vu-justify-end\n vu-text-xs\n'])));var dM,fM,hM,pM,gM,mM,vM,bM,yM,wM,BM,xM,CM,_M=Nt.div(gM||(gM=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n']))),jM=Nt.div(mM||(mM=Pe(['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n'],['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n']))),FM=Nt.div(vM||(vM=Pe(['\n vu-text-red-500\n'],['\n vu-text-red-500\n']))),EM=Nt.div(bM||(bM=Pe(['\n vu-opacity-60\n vu-self-center\n'],['\n vu-opacity-60\n vu-self-center\n']))),SM=Nt.span(yM||(yM=Pe(['\n vu-text-sm\n'],['\n vu-text-sm\n']))),kM=Nt.div(wM||(wM=Pe(['\n vu-text-sm vu-font-semibold\n'],['\n vu-text-sm vu-font-semibold\n']))),UM=Nt.div(BM||(BM=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n']))),QM=Nt.p(xM||(xM=Pe(['\n vu-text-center\n vu-font-medium\n vu-m-0\n'],['\n vu-text-center\n vu-font-medium\n vu-m-0\n']))),LM=Nt.p(CM||(CM=Pe(['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n'],['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n']))),OM=function(e){var n=e.title,r=e.value;return t.createElement(UM,null,t.createElement(LM,null,QL(r)),t.createElement(QM,null,n))},IM=function(e){var n,r,i,o,s,a=e.type,A=e.chartData;switch(a){case'line':return t.createElement(UI,{chartData:A});case'bar':return t.createElement(OL,{chartData:A});case'pie':return t.createElement(wO,{chartData:A});case'single_stat':var l=A;return t.createElement(OM,{title:null!==(r=null===(n=l.labels)||void 0===n?void 0:n[0])&&void 0!==r?r:'',value:null!==(s=null===(o=null===(i=l.values)||void 0===i?void 0:i[0])||void 0===o?void 0:o.toString())&&void 0!==s?s:''});default:return t.createElement('div',null,'Chart Type Not Found.')}};const NM=Math.min,TM=Math.max,MM=Math.round,PM=Math.floor,DM=e=>({x:e,y:e}),RM={left:'right',right:'left',bottom:'top',top:'bottom'};function HM(e,t,n){return TM(e,NM(t,n))}function zM(e,t){return'function'==typeof e?e(t):e}function KM(e){return e.split('-')[0]}function VM(e){return e.split('-')[1]}function qM(e){return'x'===e?'y':'x'}function GM(e){return'y'===e?'height':'width'}function WM(e){const t=e[0];return't'===t||'b'===t?'y':'x'}function YM(e){return qM(WM(e))}function XM(e){return e.includes('start')?e.replace('start','end'):e.replace('end','start')}const JM=['left','right'],ZM=['right','left'],$M=['top','bottom'],eP=['bottom','top'];function tP(e,t,n,r){const i=VM(e);let o=function(e,t,n){switch(e){case'top':case'bottom':return n?t?ZM:JM:t?JM:ZM;case'left':case'right':return t?$M:eP;default:return[]}}(KM(e),'start'===n,r);return i&&(o=o.map(e=>e+'-'+i),t&&(o=o.concat(o.map(XM)))),o}function nP(e){const t=KM(e);return RM[t]+e.slice(t.length)}function rP(e){return'number'!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function iP(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function oP(e,t,n){let{reference:r,floating:i}=e;const o=WM(t),s=YM(t),a=GM(s),A=KM(t),l='y'===o,c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let f;switch(A){case'top':f={x:c,y:r.y-i.height};break;case'bottom':f={x:c,y:r.y+r.height};break;case'right':f={x:r.x+r.width,y:u};break;case'left':f={x:r.x-i.width,y:u};break;default:f={x:r.x,y:r.y}}switch(VM(t)){case'start':f[s]-=d*(n&&l?-1:1);break;case'end':f[s]+=d*(n&&l?-1:1)}return f}async function sP(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:A}=e,{boundary:l='clippingAncestors',rootBoundary:c='viewport',elementContext:u='floating',altBoundary:d=!1,padding:f=0}=zM(t,e),h=rP(f),p=a[d?'floating'===u?'reference':'floating':u],g=iP(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:A})),m='floating'===u?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},y=iP(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:A}):m);return{top:(g.top-y.top+h.top)/b.y,bottom:(y.bottom-g.bottom+h.bottom)/b.y,left:(g.left-y.left+h.left)/b.x,right:(y.right-g.right+h.right)/b.x}}const aP=new Set(['left','top']);function AP(){return'undefined'!=typeof window}function lP(e){return dP(e)?(e.nodeName||'').toLowerCase():'#document'}function cP(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function uP(e){var t;return null==(t=(dP(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function dP(e){return!!AP()&&(e instanceof Node||e instanceof cP(e).Node)}function fP(e){return!!AP()&&(e instanceof Element||e instanceof cP(e).Element)}function hP(e){return!!AP()&&(e instanceof HTMLElement||e instanceof cP(e).HTMLElement)}function pP(e){return!(!AP()||'undefined'==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof cP(e).ShadowRoot)}function gP(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=jP(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&'inline'!==i&&'contents'!==i}function mP(e){return/^(table|td|th)$/.test(lP(e))}function vP(e){try{if(e.matches(':popover-open'))return!0}catch(e){}try{return e.matches(':modal')}catch(e){return!1}}const bP=/transform|translate|scale|rotate|perspective|filter/,yP=/paint|layout|strict|content/,wP=e=>!!e&&'none'!==e;let BP;function xP(e){const t=fP(e)?jP(e):e;return wP(t.transform)||wP(t.translate)||wP(t.scale)||wP(t.rotate)||wP(t.perspective)||!CP()&&(wP(t.backdropFilter)||wP(t.filter))||bP.test(t.willChange||'')||yP.test(t.contain||'')}function CP(){return null==BP&&(BP='undefined'!=typeof CSS&&CSS.supports&&CSS.supports('-webkit-backdrop-filter','none')),BP}function _P(e){return/^(html|body|#document)$/.test(lP(e))}function jP(e){return cP(e).getComputedStyle(e)}function FP(e){return fP(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function EP(e){if('html'===lP(e))return e;const t=e.assignedSlot||e.parentNode||pP(e)&&e.host||uP(e);return pP(t)?t.host:t}function SP(e){const t=EP(e);return _P(t)?e.ownerDocument?e.ownerDocument.body:e.body:hP(t)&&gP(t)?t:SP(t)}function kP(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=SP(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=cP(i);if(o){const e=UP(s);return t.concat(s,s.visualViewport||[],gP(i)?i:[],e&&n?kP(e):[])}return t.concat(i,kP(i,[],n))}function UP(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function QP(e){const t=jP(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=hP(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=MM(n)!==o||MM(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function LP(e){return fP(e)?e:e.contextElement}function OP(e){const t=LP(e);if(!hP(t))return DM(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=QP(t);let s=(o?MM(n.width):n.width)/r,a=(o?MM(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const IP=DM(0);function NP(e){const t=cP(e);return CP()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:IP}function TP(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=LP(e);let s=DM(1);t&&(r?fP(r)&&(s=OP(r)):s=OP(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==cP(e))&&t}(o,n,r)?NP(o):DM(0);let A=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,u=i.height/s.y;if(o){const e=cP(o),t=r&&fP(r)?cP(r):r;let n=e,i=UP(n);for(;i&&r&&t!==n;){const e=OP(i),t=i.getBoundingClientRect(),r=jP(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;A*=e.x,l*=e.y,c*=e.x,u*=e.y,A+=o,l+=s,n=cP(i),i=UP(n)}}return iP({width:c,height:u,x:A,y:l})}function MP(e,t){const n=FP(e).scrollLeft;return t?t.left+n:TP(uP(e)).left+n}function PP(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-MP(e,n),y:n.top+t.scrollTop}}function DP(e,t,n){let r;if('viewport'===t)r=function(e,t){const n=cP(e),r=uP(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,A=0;if(i){o=i.width,s=i.height;const e=CP();(!e||e&&'fixed'===t)&&(a=i.offsetLeft,A=i.offsetTop)}const l=MP(r);if(l<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i='CSS1Compat'===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:A}}(e,n);else if('document'===t)r=function(e){const t=uP(e),n=FP(e),r=e.ownerDocument.body,i=TM(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=TM(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+MP(e);const a=-n.scrollTop;return'rtl'===jP(r).direction&&(s+=TM(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(uP(e));else if(fP(t))r=function(e,t){const n=TP(e,!0,'fixed'===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=hP(e)?OP(e):DM(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=NP(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return iP(r)}function RP(e,t){const n=EP(e);return!(n===t||!fP(n)||_P(n))&&('fixed'===jP(n).position||RP(n,t))}function HP(e,t,n){const r=hP(t),i=uP(t),o='fixed'===n,s=TP(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const A=DM(0);function l(){A.x=MP(i)}if(r||!r&&!o)if(('body'!==lP(t)||gP(i))&&(a=FP(t)),r){const e=TP(t,!0,o,t);A.x=e.x+t.clientLeft,A.y=e.y+t.clientTop}else i&&l();o&&!r&&i&&l();const c=!i||r||o?DM(0):PP(i,a);return{x:s.left+a.scrollLeft-A.x-c.x,y:s.top+a.scrollTop-A.y-c.y,width:s.width,height:s.height}}function zP(e){return'static'===jP(e).position}function KP(e,t){if(!hP(e)||'fixed'===jP(e).position)return null;if(t)return t(e);let n=e.offsetParent;return uP(e)===n&&(n=n.ownerDocument.body),n}function VP(e,t){const n=cP(e);if(vP(e))return n;if(!hP(e)){let t=EP(e);for(;t&&!_P(t);){if(fP(t)&&!zP(t))return t;t=EP(t)}return n}let r=KP(e,t);for(;r&&mP(r)&&zP(r);)r=KP(r,t);return r&&_P(r)&&zP(r)&&!xP(r)?n:r||function(e){let t=EP(e);for(;hP(t)&&!_P(t);){if(xP(t))return t;if(vP(t))return null;t=EP(t)}return null}(e)||n}const qP={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o='fixed'===i,s=uP(r),a=!!t&&vP(t.floating);if(r===s||a&&o)return n;let A={scrollLeft:0,scrollTop:0},l=DM(1);const c=DM(0),u=hP(r);if((u||!u&&!o)&&(('body'!==lP(r)||gP(s))&&(A=FP(r)),u)){const e=TP(r);l=OP(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!s||u||o?DM(0):PP(s,A);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-A.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-A.scrollTop*l.y+c.y+d.y}},getDocumentElement:uP,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...'clippingAncestors'===n?vP(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=kP(e,[],!1).filter(e=>fP(e)&&'body'!==lP(e)),i=null;const o='fixed'===jP(e).position;let s=o?EP(e):e;for(;fP(s)&&!_P(s);){const t=jP(s),n=xP(s);n||'fixed'!==t.position||(i=null),(o?!n&&!i:!n&&'static'===t.position&&i&&('absolute'===i.position||'fixed'===i.position)||gP(s)&&!n&&RP(e,s))?r=r.filter(e=>e!==s):i=t,s=EP(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=DP(t,o[0],i);let a=s.top,A=s.right,l=s.bottom,c=s.left;for(let e=1;e<o.length;e++){const n=DP(t,o[e],i);a=TM(n.top,a),A=NM(n.right,A),l=NM(n.bottom,l),c=TM(n.left,c)}return{width:A-c,height:l-a,x:c,y:a}},getOffsetParent:VP,getElementRects:async function(e){const t=this.getOffsetParent||VP,n=this.getDimensions,r=await n(e.floating);return{reference:HP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=QP(e);return{width:t,height:n}},getScale:OP,isElement:fP,isRTL:function(e){return'rtl'===jP(e).direction}};function GP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function WP(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s='function'==typeof ResizeObserver,layoutShift:a='function'==typeof IntersectionObserver,animationFrame:A=!1}=r,l=LP(e),c=i||o?[...l?kP(l):[],...t?kP(t):[]]:[];c.forEach(e=>{i&&e.addEventListener('scroll',n,{passive:!0}),o&&e.addEventListener('resize',n)});const u=l&&a?function(e,t){let n,r=null;const i=uP(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,A){void 0===a&&(a=!1),void 0===A&&(A=1),o();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:f}=l;if(a||t(),!d||!f)return;const h={rootMargin:-PM(u)+'px '+-PM(i.clientWidth-(c+d))+'px '+-PM(i.clientHeight-(u+f))+'px '+-PM(c)+'px',threshold:TM(0,NM(1,A))||1};let p=!0;function g(t){const r=t[0].intersectionRatio;if(r!==A){if(!p)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||GP(l,e.getBoundingClientRect())||s(),p=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(l,n):null;let d,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),l&&!A&&h.observe(l),t&&h.observe(t));let p=A?TP(e):null;return A&&function t(){const r=TP(e);p&&!GP(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener('scroll',n),o&&e.removeEventListener('resize',n)}),null==u||u(),null==(e=h)||e.disconnect(),h=null,A&&cancelAnimationFrame(d)}}const YP=function(e){return void 0===e&&(e=0),{name:'offset',options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,A=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=KM(n),a=VM(n),A='y'===WM(n),l=aP.has(s)?-1:1,c=o&&A?-1:1,u=zM(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}='number'==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&'number'==typeof h&&(f='end'===a?-1*h:h),A?{x:f*c,y:d*l}:{x:d*l,y:f*c}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+A.x,y:o+A.y,data:{...A,placement:s}}}}},XP=function(e){return void 0===e&&(e={}),{name:'shift',options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:A={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=zM(e,t),c={x:n,y:r},u=await o.detectOverflow(t,l),d=WM(KM(i)),f=qM(d);let h=c[f],p=c[d];if(s){const e='y'===f?'bottom':'right';h=HM(h+u['y'===f?'top':'left'],h,h-u[e])}if(a){const e='y'===d?'bottom':'right';p=HM(p+u['y'===d?'top':'left'],p,p-u[e])}const g=A.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[d]:a}}}}}},JP=function(e){return void 0===e&&(e={}),{name:'flip',options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:A,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f='bestFit',fallbackAxisSideDirection:h='none',flipAlignment:p=!0,...g}=zM(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=KM(i),v=WM(a),b=KM(a)===a,y=await(null==A.isRTL?void 0:A.isRTL(l.floating)),w=d||(b||!p?[nP(a)]:function(e){const t=nP(e);return[XM(e),t,XM(t)]}(a)),B='none'!==h;!d&&B&&w.push(...tP(a,p,h,y));const x=[a,...w],C=await A.detectOverflow(t,g),_=[];let j=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&_.push(C[m]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=VM(e),i=YM(e),o=GM(i);let s='x'===i?r===(n?'end':'start')?'right':'left':'start'===r?'bottom':'top';return t.reference[o]>t.floating[o]&&(s=nP(s)),[s,nP(s)]}(i,s,y);_.push(C[e[0]],C[e[1]])}if(j=[...j,{placement:i,overflows:_}],!_.every(e=>e<=0)){var F,E;const e=((null==(F=o.flip)?void 0:F.index)||0)+1,t=x[e];if(t){if(!('alignment'===u&&v!==WM(t))||j.every(e=>WM(e.placement)!==v||e.overflows[0]>0))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(E=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:E.placement;if(!n)switch(f){case'bestFit':{var S;const e=null==(S=j.filter(e=>{if(B){const t=WM(e.placement);return t===v||'y'===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case'initialPlacement':n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},ZP=e=>({name:'arrow',options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:A}=t,{element:l,padding:c=0}=zM(e,t)||{};if(null==l)return{};const u=rP(c),d={x:n,y:r},f=YM(i),h=GM(f),p=await s.getDimensions(l),g='y'===f,m=g?'top':'left',v=g?'bottom':'right',b=g?'clientHeight':'clientWidth',y=o.reference[h]+o.reference[f]-d[f]-o.floating[h],w=d[f]-o.reference[f],B=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let x=B?B[b]:0;x&&await(null==s.isElement?void 0:s.isElement(B))||(x=a.floating[b]||o.floating[h]);const C=y/2-w/2,_=x/2-p[h]/2-1,j=NM(u[m],_),F=NM(u[v],_),E=j,S=x-p[h]-F,k=x/2-p[h]/2+C,U=HM(E,k,S),Q=!A.arrow&&null!=VM(i)&&k!==U&&o.reference[h]/2-(k<E?j:F)-p[h]/2<0,L=Q?k<E?k-E:k-S:0;return{[f]:d[f]+L,data:{[f]:U,centerOffset:k-U-L,...Q&&{alignmentOffset:L}},reset:Q}}}),$P=(e,t,n)=>{const r=new Map,i={platform:qP,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r='bottom',strategy:i='absolute',middleware:o=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:sP},A=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=oP(l,r,A),d=r,f=0;const h={};for(let n=0;n<o.length;n++){const p=o[n];if(!p)continue;const{name:g,fn:m}=p,{x:v,y:b,data:y,reset:w}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,u=null!=b?b:u,h[g]={...h[g],...y},w&&f<50&&(f++,'object'==typeof w&&(w.placement&&(d=w.placement),w.rects&&(l=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:c,y:u}=oP(l,d,A))),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var eD,tD={exports:{}};
185
+ /*!
186
+ Copyright (c) 2018 Jed Watson.
187
+ Licensed under the MIT License (MIT), see
188
+ http://jedwatson.github.io/classnames
189
+ */eD=tD,function(){var e={}.hasOwnProperty;function t(){for(var e='',t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=r(e,n(i)))}return e}function n(n){if('string'==typeof n||'number'==typeof n)return n;if('object'!=typeof n)return'';if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes('[native code]'))return n.toString();var i='';for(var o in n)e.call(n,o)&&n[o]&&(i=r(i,o));return i}function r(e,t){return t?e?e+' '+t:e+t:e}eD.exports?(t.default=t,eD.exports=t):window.classNames=t}();var nD=rr(tD.exports);
190
+ /*
191
+ * React Tooltip
192
+ * {@link https://github.com/ReactTooltip/react-tooltip}
193
+ * @copyright ReactTooltip Team
194
+ * @license MIT
195
+ */
196
+ const rD={core:!1,base:!1};function iD({css:e,id:t='react-tooltip-base-styles',type:n='base',ref:r}){var i,o;if(!e||'undefined'==typeof document||rD[n])return;if('core'===n&&'undefined'!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if('base'!==n&&'undefined'!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;'core'===n&&(t='react-tooltip-core-styles'),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName('head')[0],A=document.createElement('style');A.id=t,A.type='text/css','top'===s&&a.firstChild?a.insertBefore(A,a.firstChild):a.appendChild(A),A.styleSheet?A.styleSheet.cssText=e:A.appendChild(document.createTextNode(e)),rD[n]=!0}const oD=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r='top',offset:i=10,strategy:o='absolute',middlewares:s=[YP(Number(i)),JP({fallbackAxisSideDirection:'start'}),XP({padding:5})],border:a,arrowSize:A=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push(ZP({element:n,padding:5})),$P(e,t,{placement:r,strategy:o,middleware:l}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var i,o;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},u=null!==(o={top:'bottom',right:'left',bottom:'top',left:'right'}[n.split('-')[0]])&&void 0!==o?o:'bottom',d=a&&{borderBottom:a,borderRight:a};let f=0;if(a){const e=`${a}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:'',top:null!=c?`${c}px`:'',right:'',bottom:'',...d,[u]:`-${A/2+f}px`},place:n}})):$P(e,t,{placement:'bottom',strategy:o,middleware:l}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}))},sD=(e,t)=>!('CSS'in window&&'supports'in window.CSS)||window.CSS.supports(e,t),aD=(e,t,n)=>{let r=null;const i=function(...i){const o=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},AD=e=>null!==e&&!Array.isArray(e)&&'object'==typeof e,lD=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>lD(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!AD(e)||!AD(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>lD(e[n],t[n]))},cD=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return['overflow','overflow-x','overflow-y'].some(e=>{const n=t.getPropertyValue(e);return'auto'===n||'scroll'===n})},uD=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(cD(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},dD='undefined'!=typeof window?l:r,fD=e=>{e.current&&(clearTimeout(e.current),e.current=null)},hD={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},pD=h({getTooltipData:()=>hD});function gD(e='DEFAULT_TOOLTIP_ID'){return u(pD).getTooltipData(e)}var mD={tooltip:'core-styles-module_tooltip__3vRRp',fixed:'core-styles-module_fixed__pcSol',arrow:'core-styles-module_arrow__cvMwQ',noArrow:'core-styles-module_noArrow__xock6',clickable:'core-styles-module_clickable__ZuTTB',show:'core-styles-module_show__Nt9eE',closing:'core-styles-module_closing__sGnxF'},vD={tooltip:'styles-module_tooltip__mnnfp',arrow:'styles-module_arrow__K0L3T',dark:'styles-module_dark__xNqje',light:'styles-module_light__Z6W-X',success:'styles-module_success__A2AKt',warning:'styles-module_warning__SCK0X',error:'styles-module_error__JvumD',info:'styles-module_info__BWdHW'};const bD=({forwardRef:e,id:i,className:a,classNameArrow:A,variant:l='dark',anchorId:c,anchorSelect:u,place:d='top',offset:f=10,events:h=['hover'],openOnClick:p=!1,positionStrategy:g='absolute',middlewares:m,wrapper:b,delayShow:y=0,delayHide:w=0,float:B=!1,hidden:x=!1,noArrow:C=!1,clickable:_=!1,closeOnEsc:j=!1,closeOnScroll:F=!1,closeOnResize:E=!1,openEvents:S,closeEvents:k,globalCloseEvents:U,imperativeModeOnly:Q,style:L,position:O,afterShow:I,afterHide:N,disableTooltip:T,content:M,contentWrapperRef:P,isOpen:D,defaultIsOpen:R=!1,setIsOpen:H,previousActiveAnchor:z,activeAnchor:K,setActiveAnchor:V,border:q,opacity:G,arrowColor:W,arrowSize:Y=8,role:X='tooltip'})=>{var J;const Z=o(null),$=o(null),ee=o(null),te=o(null),ne=o(null),[re,ie]=n({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[oe,se]=n(!1),[ae,Ae]=n(!1),[le,ce]=n(null),ue=o(!1),de=o(null),{anchorRefs:fe,setActiveAnchor:he}=gD(i),pe=o(!1),[ge,me]=n([]),ve=o(!1),be=p||h.includes('click'),ye=be||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),we=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&be&&Object.assign(we,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Be=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&be&&Object.assign(Be,{mouseleave:!1,blur:!1,mouseout:!1});const xe=U?{...U}:{escape:j||!1,scroll:F||!1,resize:E||!1,clickOutsideAnchor:ye||!1};Q&&(Object.assign(we,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Be,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),dD(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Ce=e=>{ve.current&&(e&&Ae(!0),setTimeout(()=>{ve.current&&(null==H||H(e),void 0===D&&se(e))},10))};r(()=>{if(i){if(oe){t(z);const n=e(K),r=[...new Set([...n,i])].filter(Boolean).join(' ');null==K||K.setAttribute('aria-describedby',r)}else t(K);return()=>{t(K),t(z)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute('aria-describedby'))||void 0===t?void 0:t.split(' '))||[]}function t(t){const n=e(t).filter(e=>e!==i);n.length?null==t||t.setAttribute('aria-describedby',n.join(' ')):null==t||t.removeAttribute('aria-describedby')}},[K,oe,i,z]),r(()=>{if(void 0===D)return()=>null;D&&Ae(!0);const e=setTimeout(()=>{se(D)},10);return()=>{clearTimeout(e)}},[D]),r(()=>{if(oe!==ue.current)if(fD(ne),ue.current=oe,oe)null==I||I();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue('--rt-transition-show-delay').match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*('ms'===n?1:1e3)})();ne.current=setTimeout(()=>{Ae(!1),ce(null),null==N||N()},e+25)}},[oe]);const _e=e=>{ie(t=>lD(t,e)?t:e)},je=(e=y)=>{fD(ee),ae?Ce(!0):ee.current=setTimeout(()=>{Ce(!0)},e)},Fe=(e=w)=>{fD(te),te.current=setTimeout(()=>{pe.current||Ce(!1)},e)},Ee=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void he({current:null});y?je():Ce(!0),V(n),he({current:n}),fD(te)},Se=()=>{_?Fe(w||100):w?Fe():Ce(!1),fD(ee)},ke=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};oD({place:null!==(n=null==le?void 0:le.place)&&void 0!==n?n:d,offset:f,elementReference:r,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{_e(e)})},Ue=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};ke(n),de.current=n},Qe=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${c}']`),...ge].some(e=>null==e?void 0:e.contains(n))||(Ce(!1),fD(ee)))},Le=aD(Ee,50,!0),Oe=aD(Se,50,!0),Ie=e=>{Oe.cancel(),Le(e)},Ne=()=>{Le.cancel(),Oe()},Te=s(()=>{var e,t;const n=null!==(e=null==le?void 0:le.position)&&void 0!==e?e:O;n?ke(n):B?de.current&&ke(de.current):(null==K?void 0:K.isConnected)&&oD({place:null!==(t=null==le?void 0:le.place)&&void 0!==t?t:d,offset:f,elementReference:K,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{ve.current&&_e(e)})},[oe,K,M,L,d,null==le?void 0:le.place,f,g,O,null==le?void 0:le.position,B,Y]);r(()=>{var e,t;const n=new Set(fe);ge.forEach(e=>{(null==T?void 0:T(e))||n.add({current:e})});const r=document.querySelector(`[id='${c}']`);r&&!(null==T?void 0:T(r))&&n.add({current:r});const i=()=>{Ce(!1)},o=uD(K),s=uD(Z.current);xe.scroll&&(window.addEventListener('scroll',i),null==o||o.addEventListener('scroll',i),null==s||s.addEventListener('scroll',i));let a=null;xe.resize?window.addEventListener('resize',i):K&&Z.current&&(a=WP(K,Z.current,Te,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const A=e=>{'Escape'===e.key&&Ce(!1)};xe.escape&&window.addEventListener('keydown',A),xe.clickOutsideAnchor&&window.addEventListener('click',Qe);const l=[],u=e=>Boolean((null==e?void 0:e.target)&&(null==K?void 0:K.contains(e.target))),d=e=>{oe&&u(e)||Ee(e)},f=e=>{oe&&u(e)&&Se()},h=['mouseover','mouseout','mouseenter','mouseleave','focus','blur'],p=['click','dblclick','mousedown','mouseup'];Object.entries(we).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ie}):p.includes(e)&&l.push({event:e,listener:d}))}),Object.entries(Be).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ne}):p.includes(e)&&l.push({event:e,listener:f}))}),B&&l.push({event:'pointermove',listener:Ue});const g=()=>{pe.current=!0},m=()=>{pe.current=!1,Se()},v=_&&(Be.mouseout||Be.mouseleave);return v&&(null===(e=Z.current)||void 0===e||e.addEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.addEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;xe.scroll&&(window.removeEventListener('scroll',i),null==o||o.removeEventListener('scroll',i),null==s||s.removeEventListener('scroll',i)),xe.resize?window.removeEventListener('resize',i):null==a||a(),xe.clickOutsideAnchor&&window.removeEventListener('click',Qe),xe.escape&&window.removeEventListener('keydown',A),v&&(null===(e=Z.current)||void 0===e||e.removeEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.removeEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[K,Te,ae,fe,ge,S,k,U,be,y,w]),r(()=>{var e,t;let n=null!==(t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u)&&void 0!==t?t:'';!n&&i&&(n=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`);const r=new MutationObserver(e=>{const t=[],r=[];e.forEach(e=>{if('attributes'===e.type&&'data-tooltip-id'===e.attributeName&&(e.target.getAttribute('data-tooltip-id')===i?t.push(e.target):e.oldValue===i&&r.push(e.target)),'childList'===e.type){if(K){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{r.push(...t.filter(e=>e.matches(n))),r.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,K))&&(Ae(!1),Ce(!1),V(null),fD(ee),fD(te),!0)})}if(n)try{const r=[...e.addedNodes].filter(e=>1===e.nodeType);t.push(...r.filter(e=>e.matches(n))),t.push(...r.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}}}),(t.length||r.length)&&me(e=>[...e.filter(e=>!r.includes(e)),...t])});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:['data-tooltip-id'],attributeOldValue:!0}),()=>{r.disconnect()}},[i,u,null==le?void 0:le.anchorSelect,K]),r(()=>{Te()},[Te]),r(()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Te())});return e.observe(P.current),()=>{e.disconnect()}},[M,null==P?void 0:P.current]),r(()=>{var e;const t=document.querySelector(`[id='${c}']`),n=[...ge,t];K&&n.includes(K)||V(null!==(e=ge[0])&&void 0!==e?e:t)},[c,ge,K]),r(()=>(R&&Ce(!0),()=>{fD(ee),fD(te)}),[]),r(()=>{var e;let t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u;if(!t&&i&&(t=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`),t)try{const e=Array.from(document.querySelectorAll(t));me(e)}catch(e){me([])}},[i,u,null==le?void 0:le.anchorSelect]),r(()=>{ee.current&&(fD(ee),je(y))},[y]);const Me=null!==(J=null==le?void 0:le.content)&&void 0!==J?J:M,Pe=oe&&Object.keys(re.tooltipStyles).length>0;return v(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(e){return}ce(null!=e?e:null),(null==e?void 0:e.delay)?je(e.delay):Ce(!0)},close:e=>{(null==e?void 0:e.delay)?Fe(e.delay):Ce(!1)},activeAnchor:K,place:re.place,isOpen:Boolean(ae&&!x&&Me&&Pe)})),ae&&!x&&Me?t.createElement(b,{id:i,role:X,className:nD('react-tooltip',mD.tooltip,vD.tooltip,vD[l],a,`react-tooltip__place-${re.place}`,mD[Pe?'show':'closing'],Pe?'react-tooltip__show':'react-tooltip__closing','fixed'===g&&mD.fixed,_&&mD.clickable),onTransitionEnd:e=>{fD(ne),oe||'opacity'!==e.propertyName||(Ae(!1),ce(null),null==N||N())},style:{...L,...re.tooltipStyles,opacity:void 0!==G&&Pe?G:void 0},ref:Z},Me,t.createElement(b,{className:nD('react-tooltip-arrow',mD.arrow,vD.arrow,A,C&&mD.noArrow),style:{...re.tooltipArrowStyles,background:W?`linear-gradient(to right bottom, transparent 50%, ${W} 50%)`:void 0,'--rt-arrow-size':`${Y}px`},ref:$})):null},yD=({content:e})=>t.createElement('span',{dangerouslySetInnerHTML:{__html:e}}),wD=t.forwardRef(({id:e,anchorId:i,anchorSelect:s,content:a,html:A,render:l,className:c,classNameArrow:u,variant:d='dark',place:f='top',offset:h=10,wrapper:p='div',children:g=null,events:m=['hover'],openOnClick:v=!1,positionStrategy:b='absolute',middlewares:y,delayShow:w=0,delayHide:B=0,float:x=!1,hidden:C=!1,noArrow:_=!1,clickable:j=!1,closeOnEsc:F=!1,closeOnScroll:E=!1,closeOnResize:S=!1,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L=!1,style:O,position:I,isOpen:N,defaultIsOpen:T=!1,disableStyleInjection:M=!1,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,role:G='tooltip'},W)=>{const[Y,X]=n(a),[J,Z]=n(A),[$,ee]=n(f),[te,ne]=n(d),[re,ie]=n(h),[oe,se]=n(w),[ae,Ae]=n(B),[le,ce]=n(x),[ue,de]=n(C),[fe,he]=n(p),[pe,ge]=n(m),[me,ve]=n(b),[be,ye]=n(null),[we,Be]=n(null),xe=o(null),Ce=o(M),{anchorRefs:_e,activeAnchor:je}=gD(e),Fe=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith('data-tooltip-')&&(t[n.replace(/^data-tooltip-/,'')]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),Ee=e=>{const t={place:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:f)},content:e=>{X(null!=e?e:a)},html:e=>{Z(null!=e?e:A)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:d)},offset:e=>{ie(null===e?h:Number(e))},wrapper:e=>{var t;he(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(' ');ge(null!=t?t:m)},'position-strategy':e=>{var t;ve(null!==(t=e)&&void 0!==t?t:b)},'delay-show':e=>{se(null===e?w:Number(e))},'delay-hide':e=>{Ae(null===e?B:Number(e))},float:e=>{ce(null===e?x:'true'===e)},hidden:e=>{de(null===e?C:'true'===e)},'class-name':e=>{ye(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};r(()=>{X(a)},[a]),r(()=>{Z(A)},[A]),r(()=>{ee(f)},[f]),r(()=>{ne(d)},[d]),r(()=>{ie(h)},[h]),r(()=>{se(w)},[w]),r(()=>{Ae(B)},[B]),r(()=>{ce(x)},[x]),r(()=>{de(C)},[C]),r(()=>{ve(b)},[b]),r(()=>{Ce.current},[M]),r(()=>{'undefined'!=typeof window&&window.dispatchEvent(new CustomEvent('react-tooltip-inject-styles',{detail:{disableCore:'core'===M,disableBase:M}}))},[]),r(()=>{var t;const n=new Set(_e);let r=s;if(!r&&e&&(r=`[data-tooltip-id='${e.replace(/'/g,'\\\'')}']`),r)try{document.querySelectorAll(r).forEach(e=>{n.add({current:e})})}catch(t){}const o=document.querySelector(`[id='${i}']`);if(o&&n.add({current:o}),!n.size)return()=>null;const a=null!==(t=null!=we?we:o)&&void 0!==t?t:je.current,A=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||'attributes'!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith('data-tooltip-')))return;const n=Fe(a);Ee(n)})}),l={attributes:!0,childList:!1,subtree:!1};if(a){const e=Fe(a);Ee(e),A.observe(a,l)}return()=>{A.disconnect()}},[_e,je,we,i,s]),r(()=>{null==O||O.border,P&&sD('border',`${P}`),null==O||O.opacity,D&&sD('opacity',`${D}`)},[]);let Se=g;const ke=o(null);if(l){const e=l({content:(null==we?void 0:we.getAttribute('data-tooltip-content'))||Y||null,activeAnchor:we});Se=e?t.createElement('div',{ref:ke,className:'react-tooltip-content-wrapper'},e):null}else Y&&(Se=Y);J&&(Se=t.createElement(yD,{content:J}));const Ue={forwardRef:W,id:e,anchorId:i,anchorSelect:s,className:nD(c,be),classNameArrow:u,content:Se,contentWrapperRef:ke,place:$,variant:te,offset:re,wrapper:fe,events:pe,openOnClick:v,positionStrategy:me,middlewares:y,delayShow:oe,delayHide:ae,float:le,hidden:ue,noArrow:_,clickable:j,closeOnEsc:F,closeOnScroll:E,closeOnResize:S,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L,style:O,position:I,isOpen:N,defaultIsOpen:T,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,activeAnchor:we,previousActiveAnchor:xe.current,setActiveAnchor:e=>{Be(t=>((null==e?void 0:e.isSameNode(t))||(xe.current=t),e))},role:G};return t.createElement(bD,{...Ue})});'undefined'!=typeof window&&window.addEventListener('react-tooltip-inject-styles',e=>{e.detail.disableCore||iD({css:':root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}',type:'core'}),e.detail.disableBase||iD({css:'\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*=\'react-tooltip__place-top\']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*=\'react-tooltip__place-right\']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*=\'react-tooltip__place-bottom\']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*=\'react-tooltip__place-left\']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}',type:'base'})});var BD={exports:{}},xD={},CD={exports:{}},_D={},jD={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll('*'),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)};
197
+ /*!
198
+ * Adapted from jQuery UI core
199
+ *
200
+ * http://jqueryui.com
201
+ *
202
+ * Copyright 2014 jQuery Foundation and other contributors
203
+ * Released under the MIT license.
204
+ * http://jquery.org/license
205
+ *
206
+ * http://api.jqueryui.com/category/ui-core/
207
+ */
208
+ var n='none',r='contents',i=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),o=i.getPropertyValue('display');return t?o!==r&&function(e,t){return'visible'!==t.getPropertyValue('overflow')||e.scrollWidth<=0&&e.scrollHeight<=0}(e,i):o===n}catch(e){return!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(i.test(n)&&!e.disabled||'a'===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute('tabindex');null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(jD,jD.exports);var FD=jD.exports;Object.defineProperty(_D,'__esModule',{value:!0}),_D.resetState=function(){kD=[]},_D.log=function(){'production'!==process.env.NODE_ENV&&kD.forEach(function(e){})},_D.handleBlur=LD,_D.handleFocus=OD,_D.markForFocusLater=function(){kD.push(document.activeElement)},_D.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return void(0!==kD.length&&kD.pop().focus({preventScroll:e}))}catch(e){}},_D.popWithoutFocus=function(){kD.length>0&&kD.pop()},_D.setupScopedFocus=function(e){UD=e,window.addEventListener?(window.addEventListener('blur',LD,!1),document.addEventListener('focus',OD,!0)):(window.attachEvent('onBlur',LD),document.attachEvent('onFocus',OD))},_D.teardownScopedFocus=function(){UD=null,window.addEventListener?(window.removeEventListener('blur',LD),document.removeEventListener('focus',OD)):(window.detachEvent('onBlur',LD),document.detachEvent('onFocus',OD))};var ED,SD=(ED=FD)&&ED.__esModule?ED:{default:ED};var kD=[],UD=null,QD=!1;function LD(){QD=!0}function OD(){if(QD){if(QD=!1,!UD)return;setTimeout(function(){UD.contains(document.activeElement)||((0,SD.default)(UD)[0]||UD).focus()},0)}}var ID={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function(e,t){var i=(0,n.default)(e);if(!i.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=i[0],A=i[i.length-1],l=r();if(e===l){if(!s)return;o=A}A!==l||s||(o=a);a===l&&s&&(o=A);if(o)return t.preventDefault(),void o.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||'Chrome'==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=i.indexOf(l);u>-1&&(u+=s?-1:1);if(o=i[u],void 0===o)return t.preventDefault(),void(o=s?A:a).focus();t.preventDefault(),o.focus()};var n=function(e){return e&&e.__esModule?e:{default:e}}(FD);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(ID,ID.exports);var ND=ID.exports,TD={},MD=function(){};if('production'!==process.env.NODE_ENV){var PD=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var i=0,o='Warning: '+e.replace(/%s/g,function(){return t[i++]});try{throw new Error(o)}catch(e){}};MD=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error('`warning(condition, format, ...args)` requires a warning message argument');e||PD.apply(null,[t].concat(n))}}var DD=MD,RD={},HD={exports:{}};
209
+ /*!
210
+ Copyright (c) 2015 Jed Watson.
211
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
212
+ All rights reserved.
213
+ */
214
+ !function(e){!function(){var t=!('undefined'==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:'undefined'!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()}(HD);var zD=HD.exports;Object.defineProperty(RD,'__esModule',{value:!0}),RD.canUseDOM=RD.SafeNodeList=RD.SafeHTMLCollection=void 0;var KD=function(e){return e&&e.__esModule?e:{default:e}}(zD);var VD=KD.default,qD=VD.canUseDOM?window.HTMLElement:{};RD.SafeHTMLCollection=VD.canUseDOM?window.HTMLCollection:{},RD.SafeNodeList=VD.canUseDOM?window.NodeList:{},RD.canUseDOM=VD.canUseDOM,RD.default=qD,Object.defineProperty(TD,'__esModule',{value:!0}),TD.resetState=function(){YD&&(YD.removeAttribute?YD.removeAttribute('aria-hidden'):null!=YD.length?YD.forEach(function(e){return e.removeAttribute('aria-hidden')}):document.querySelectorAll(YD).forEach(function(e){return e.removeAttribute('aria-hidden')}));YD=null},TD.log=function(){if('production'!==process.env.NODE_ENV);},TD.assertNodeList=XD,TD.setElement=function(e){var t=e;if('string'==typeof t&&WD.canUseDOM){var n=document.querySelectorAll(t);XD(n,t),t=n}return YD=t||YD},TD.validateElement=JD,TD.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=JD(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute('aria-hidden','true')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},TD.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=JD(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute('aria-hidden')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},TD.documentNotReadyOrSSRTesting=function(){YD=null};var GD=function(e){return e&&e.__esModule?e:{default:e}}(DD),WD=RD;var YD=null;function XD(e,t){if(!e||!e.length)throw new Error('react-modal: No elements were found for selector '+t+'.')}function JD(e){var t=e||YD;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,GD.default)(!1,['react-modal: App element is not defined.','Please use `Modal.setAppElement(el)` or set `appElement={el}`.','This is needed so screen readers don\'t see main content','when modal is opened. It is not recommended, but you can opt-out','by setting `ariaHideApp={false}`.'].join(' ')),[])}var ZD={};Object.defineProperty(ZD,'__esModule',{value:!0}),ZD.resetState=function(){var e=document.getElementsByTagName('html')[0];for(var t in $D)tR(e,$D[t]);var n=document.body;for(var r in eR)tR(n,eR[r]);$D={},eR={}},ZD.log=function(){if('production'!==process.env.NODE_ENV){var e=document.getElementsByTagName('html')[0].className;for(var t in $D)' '+t+' '+$D[t]+'\n ';for(var n in'\n\ndoc.body ('+(e=document.body.className)+'):\n ',eR)' '+n+' '+eR[n]+'\n ';0}};var $D={},eR={};function tR(e,t){e.classList.remove(t)}ZD.add=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?$D:eR,void t.split(' ').forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),n.add(e)});var n,r},ZD.remove=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?$D:eR,void t.split(' ').forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&n.remove(e)});var n,r};var nR={};Object.defineProperty(nR,'__esModule',{value:!0}),nR.log=function(){iR.openInstances.forEach(function(e){})},nR.resetState=function(){iR=new rR};var rR=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit('register')):process.env.NODE_ENV},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit('deregister')):process.env.NODE_ENV},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},iR=new rR;nR.default=iR;var oR={};Object.defineProperty(oR,'__esModule',{value:!0}),oR.resetState=function(){for(var e=[aR,AR],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}aR=AR=null,lR=[]},oR.log=function(){for(var e=[aR,AR],t=0;t<e.length;t++);};var sR=function(e){return e&&e.__esModule?e:{default:e}}(nR);var aR=void 0,AR=void 0,lR=[];function cR(){0!==lR.length?lR[lR.length-1].focusContent():process.env.NODE_ENV}sR.default.subscribe(function(e,t){aR||AR||((aR=document.createElement('div')).setAttribute('data-react-modal-body-trap',''),aR.style.position='absolute',aR.style.opacity='0',aR.setAttribute('tabindex','0'),aR.addEventListener('focus',cR),(AR=aR.cloneNode()).addEventListener('focus',cR)),(lR=t).length>0?(document.body.firstChild!==aR&&document.body.insertBefore(aR,document.body.firstChild),document.body.lastChild!==AR&&document.body.appendChild(AR)):(aR.parentElement&&aR.parentElement.removeChild(aR),AR.parentElement&&AR.parentElement.removeChild(AR))}),function(e,n){Object.defineProperty(n,'__esModule',{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t,a=g(Sr),A=p(_D),l=g(ND),c=p(TD),u=p(ZD),d=RD,f=g(d),h=g(nR);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var m={overlay:'ReactModal__Overlay',content:'ReactModal__Content'},v=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,t);var n=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;o&&u.remove(a.body,o),i&&u.remove(a.getElementsByTagName('html')[0],i),r&&v>0&&0===(v-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(A.returnFocus(n.props.preventScroll),A.teardownScopedFocus()):A.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(A.setupScopedFocus(n.node),A.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return'Tab'===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return'Escape'===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r='object'===(void 0===t?'undefined':i(t))?t:{base:m[e],afterOpen:m[e]+'--after-open',beforeClose:m[e]+'--before-close'},o=r.base;return n.state.afterOpen&&(o=o+' '+r.afterOpen),n.state.beforeClose&&(o=o+' '+r.beforeClose),'string'==typeof t&&t?o+' '+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+'-'+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if('function'!=typeof t&&null!==t)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)}(t,e),o(t,[{key:'componentDidMount',value:function(){this.props.isOpen&&this.open()}},{key:'componentDidUpdate',value:function(e,t){'production'!==process.env.NODE_ENV&&(e.bodyOpenClassName,this.props.bodyOpenClassName,e.htmlOpenClassName,this.props.htmlOpenClassName),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:'componentWillUnmount',value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:'beforeOpen',value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,s=o&&o().ownerDocument||document;i&&u.add(s.body,i),r&&u.add(s.getElementsByTagName('html')[0],r),n&&(v+=1,c.hide(t)),h.default.register(this)}},{key:'render',value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,s=e.children,a=n?{}:o.content,A=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName('overlay',i),style:r({},A,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName('content',n),tabIndex:'-1',onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,'aria-label':this.props.contentLabel},this.attributesFromObject('aria',r({modal:!0},this.props.aria)),this.attributesFromObject('data',this.props.data||{}),{'data-testid':this.props.testId}),u=this.props.contentElement(c,s);return this.props.overlayElement(l,u)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(d.SafeHTMLCollection),a.default.instanceOf(d.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=b,e.exports=n.default}(CD,CD.exports);var uR=CD.exports;function dR(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function fR(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function hR(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}dR.__suppressDeprecationWarning=!0,fR.__suppressDeprecationWarning=!0,hR.__suppressDeprecationWarning=!0;var pR=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error('Can only polyfill class components');if('function'!=typeof e.getDerivedStateFromProps&&'function'!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if('function'==typeof t.componentWillMount?n='componentWillMount':'function'==typeof t.UNSAFE_componentWillMount&&(n='UNSAFE_componentWillMount'),'function'==typeof t.componentWillReceiveProps?r='componentWillReceiveProps':'function'==typeof t.UNSAFE_componentWillReceiveProps&&(r='UNSAFE_componentWillReceiveProps'),'function'==typeof t.componentWillUpdate?i='componentWillUpdate':'function'==typeof t.UNSAFE_componentWillUpdate&&(i='UNSAFE_componentWillUpdate'),null!==n||null!==r||null!==i){var o=e.displayName||e.name,s='function'==typeof e.getDerivedStateFromProps?'getDerivedStateFromProps()':'getSnapshotBeforeUpdate()';throw Error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n'+o+' uses '+s+' but also contains the following legacy lifecycles:'+(null!==n?'\n '+n:'')+(null!==r?'\n '+r:'')+(null!==i?'\n '+i:'')+'\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks')}if('function'==typeof e.getDerivedStateFromProps&&(t.componentWillMount=dR,t.componentWillReceiveProps=fR),'function'==typeof t.getSnapshotBeforeUpdate){if('function'!=typeof t.componentDidUpdate)throw new Error('Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype');t.componentWillUpdate=hR;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,r)}}return e}}),gR=ir(pR);Object.defineProperty(xD,'__esModule',{value:!0}),xD.bodyOpenClassName=xD.portalClassName=void 0;var mR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vR=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),bR=t,yR=ER(bR),wR=ER(b),BR=ER(Sr),xR=ER(uR),CR=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(TD),_R=RD,jR=ER(_R),FR=gR;function ER(e){return e&&e.__esModule?e:{default:e}}function SR(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}var kR=xD.portalClassName='ReactModalPortal',UR=xD.bodyOpenClassName='ReactModal__Body--open',QR=_R.canUseDOM&&void 0!==wR.default.createPortal,LR=function(e){return document.createElement(e)},OR=function(){return QR?wR.default.createPortal:wR.default.unstable_renderSubtreeIntoContainer};function IR(e){return e()}var NR=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=SR(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.removePortal=function(){!QR&&wR.default.unmountComponentAtNode(r.node);var e=IR(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=OR()(r,yR.default.createElement(xR.default,mR({defaultStyles:e.defaultStyles},t)),r.node);r.portalRef(n)},SR(r,n)}return function(e,t){if('function'!=typeof t&&null!==t)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)}(e,bR.Component),vR(e,[{key:'componentDidMount',value:function(){_R.canUseDOM&&(QR||(this.node=LR('div')),this.node.className=this.props.portalClassName,IR(this.props.parentSelector).appendChild(this.node),!QR&&this.renderPortal(this.props))}},{key:'getSnapshotBeforeUpdate',value:function(e){return{prevParent:IR(e.parentSelector),nextParent:IR(this.props.parentSelector)}}},{key:'componentDidUpdate',value:function(e,t,n){if(_R.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||i)&&!QR&&this.renderPortal(this.props)}}},{key:'componentWillUnmount',value:function(){if(_R.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:'render',value:function(){return _R.canUseDOM&&QR?(!this.node&&QR&&(this.node=LR('div')),OR()(yR.default.createElement(xR.default,mR({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:'setAppElement',value:function(e){CR.setElement(e)}}]),e}();NR.propTypes={isOpen:BR.default.bool.isRequired,style:BR.default.shape({content:BR.default.object,overlay:BR.default.object}),portalClassName:BR.default.string,bodyOpenClassName:BR.default.string,htmlOpenClassName:BR.default.string,className:BR.default.oneOfType([BR.default.string,BR.default.shape({base:BR.default.string.isRequired,afterOpen:BR.default.string.isRequired,beforeClose:BR.default.string.isRequired})]),overlayClassName:BR.default.oneOfType([BR.default.string,BR.default.shape({base:BR.default.string.isRequired,afterOpen:BR.default.string.isRequired,beforeClose:BR.default.string.isRequired})]),appElement:BR.default.oneOfType([BR.default.instanceOf(jR.default),BR.default.instanceOf(_R.SafeHTMLCollection),BR.default.instanceOf(_R.SafeNodeList),BR.default.arrayOf(BR.default.instanceOf(jR.default))]),onAfterOpen:BR.default.func,onRequestClose:BR.default.func,closeTimeoutMS:BR.default.number,ariaHideApp:BR.default.bool,shouldFocusAfterRender:BR.default.bool,shouldCloseOnOverlayClick:BR.default.bool,shouldReturnFocusAfterClose:BR.default.bool,preventScroll:BR.default.bool,parentSelector:BR.default.func,aria:BR.default.object,data:BR.default.object,role:BR.default.string,contentLabel:BR.default.string,shouldCloseOnEsc:BR.default.bool,overlayRef:BR.default.func,contentRef:BR.default.func,id:BR.default.string,overlayElement:BR.default.func,contentElement:BR.default.func},NR.defaultProps={isOpen:!1,portalClassName:kR,bodyOpenClassName:UR,role:'dialog',ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return yR.default.createElement('div',e,t)},contentElement:function(e,t){return yR.default.createElement('div',e,t)}},NR.defaultStyles={overlay:{position:'fixed',top:0,left:0,right:0,bottom:0,backgroundColor:'rgba(255, 255, 255, 0.75)'},content:{position:'absolute',top:'40px',left:'40px',right:'40px',bottom:'40px',border:'1px solid #ccc',background:'#fff',overflow:'auto',WebkitOverflowScrolling:'touch',borderRadius:'4px',outline:'none',padding:'20px'}},(0,FR.polyfill)(NR),'production'!==process.env.NODE_ENV&&(NR.setCreateHTMLElement=function(e){return LR=e}),xD.default=NR,function(e,t){Object.defineProperty(t,'__esModule',{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(xD);t.default=n.default,e.exports=t.default}(BD,BD.exports);var TR,MR,PR,DR,RR,HR,zR,KR,VR=rr(BD.exports),qR=function(e){var n=e.label,r=e.isOpen,i=e.onToggle,o=e.children,s=e.className;return t.createElement('div',{className:'vu-w-full '.concat(null!=s?s:'')},t.createElement('button',{type:'button',onClick:i,className:'vu-w-full vu-flex vu-items-center vu-gap-2 vu-py-2','aria-expanded':r},t.createElement(Fn,{size:16,svg:r?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.31%2C8.48c-.39-.39-1.02-.39-1.41%2C0l-4.93%2C4.93-4.86-4.86c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l5.57%2C5.57c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.01-.01%2C.01-.03%2C.03-.04%2C.01-.01%2C.03-.01%2C.04-.03l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.52%2C11.33s-.03-.01-.04-.03c-.01-.01-.01-.03-.03-.04l-5.57-5.57c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4.93%2C4.93-4.86%2C4.86c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E'}),t.createElement('span',{className:'vu-text-xs vu-font-normal'},n)),t.createElement('div',{className:'vu-transition-[max-height,opacity] vu-duration-300 vu-ease-in-out '.concat(r?'vu-max-h-52 vu-opacity-100':'vu-max-h-0 vu-opacity-0',' vu-overflow-hidden vu-border-l vu-mx-3.5')},t.createElement('div',{className:'vu-max-h-52 '.concat(r?'vu-overflow-y-auto':'vu-overflow-hidden')},t.createElement('div',{className:'vu-px-4 vu-py-2 vu-text-xs'},o))))},GR=Nt.div(TR||(TR=Pe(['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n'],['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n']))),WR=Nt.h4(MR||(MR=Pe(['\n vu-m-0\n vu-font-normal\n vu-text-lg\n'],['\n vu-m-0\n vu-font-normal\n vu-text-lg\n']))),YR=Nt.div(PR||(PR=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-gap-2\n']))),XR=Nt.label(DR||(DR=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),JR=Nt.hr(RR||(RR=Pe(['\n vu-my-4\n vu-border\n vu-opacity-20\n'],['\n vu-my-4\n vu-border\n vu-opacity-20\n']))),ZR=Nt.textarea(HR||(HR=Pe(['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n'],['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n']))),$R=Nt.div(zR||(zR=Pe(['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n'],['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n']))),eH=Nt.div(KR||(KR=Pe(['\n vu-m-6\n'],['\n vu-m-6\n']))),tH=['Misunderstood query','Out of context','Incomplete response','Incorrect data','Unclear response','Slow response','Inappropriate response','Other'],nH=function(e){var n=e.closeModal,r=e.handleFeedback,i=function(e){var t=new FormData(e.currentTarget),i=t.getAll('feedback'),o=t.get('details');r({isLiked:!1,comments:o,reason:i}),n()};return t.createElement('form',{onSubmit:function(e){e.preventDefault(),i(e)},onKeyDown:function(e){'TEXTAREA'!==e.target.tagName||'Enter'!==e.key||e.shiftKey||(e.preventDefault(),i(e))}},t.createElement(GR,null,t.createElement(WR,null,'Share additional feedback'),t.createElement(Sn,{name:'back',icon:Gn,onClick:n})),t.createElement(eH,null,t.createElement(YR,null,tH.map(function(e){return t.createElement(XR,{key:e},t.createElement('input',{type:'checkbox',className:'vu-mr-2',name:'feedback',value:e}),t.createElement('span',null,e))})),t.createElement(JR,null),t.createElement(ZR,{placeholder:'Share more details (optional)',name:'details',rows:6}),t.createElement($R,null,t.createElement(En,{$fill:'outline',onClick:n},'Cancel'),t.createElement(En,null,'Submit'))))};
215
+ /*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */
216
+ const{entries:rH,setPrototypeOf:iH,isFrozen:oH,getPrototypeOf:sH,getOwnPropertyDescriptor:aH}=Object;let{freeze:AH,seal:lH,create:cH}=Object,{apply:uH,construct:dH}='undefined'!=typeof Reflect&&Reflect;AH||(AH=function(e){return e}),lH||(lH=function(e){return e}),uH||(uH=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),dH||(dH=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const fH=EH(Array.prototype.forEach),hH=EH(Array.prototype.lastIndexOf),pH=EH(Array.prototype.pop),gH=EH(Array.prototype.push),mH=EH(Array.prototype.splice),vH=EH(String.prototype.toLowerCase),bH=EH(String.prototype.toString),yH=EH(String.prototype.match),wH=EH(String.prototype.replace),BH=EH(String.prototype.indexOf),xH=EH(String.prototype.trim),CH=EH(Object.prototype.hasOwnProperty),_H=EH(RegExp.prototype.test),jH=(FH=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return dH(FH,t)});var FH;function EH(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return uH(e,t,r)}}function SH(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vH;iH&&iH(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(oH(t)||(t[r]=e),i=e)}e[i]=!0}return e}function kH(e){for(let t=0;t<e.length;t++){CH(e,t)||(e[t]=null)}return e}function UH(e){const t=cH(null);for(const[n,r]of rH(e)){CH(e,n)&&(Array.isArray(r)?t[n]=kH(r):r&&'object'==typeof r&&r.constructor===Object?t[n]=UH(r):t[n]=r)}return t}function QH(e,t){for(;null!==e;){const n=aH(e,t);if(n){if(n.get)return EH(n.get);if('function'==typeof n.value)return EH(n.value)}e=sH(e)}return function(){return null}}const LH=AH(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),OH=AH(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),IH=AH(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),NH=AH(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),TH=AH(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),MH=AH(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),PH=AH(['#text']),DH=AH(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),RH=AH(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),HH=AH(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),zH=AH(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),KH=lH(/\{\{[\w\W]*|[\w\W]*\}\}/gm),VH=lH(/<%[\w\W]*|[\w\W]*%>/gm),qH=lH(/\$\{[\w\W]*/gm),GH=lH(/^data-[\-\w.\u00B7-\uFFFF]+$/),WH=lH(/^aria-[\-\w]+$/),YH=lH(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),XH=lH(/^(?:\w+script|data):/i),JH=lH(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ZH=lH(/^html$/i),$H=lH(/^[a-z][.\w]*(-[.\w]+)+$/i);var ez=Object.freeze({__proto__:null,ARIA_ATTR:WH,ATTR_WHITESPACE:JH,CUSTOM_ELEMENT:$H,DATA_ATTR:GH,DOCTYPE_NAME:ZH,ERB_EXPR:VH,IS_ALLOWED_URI:YH,IS_SCRIPT_OR_DATA:XH,MUSTACHE_EXPR:KH,TMPLIT_EXPR:qH});const tz=1,nz=3,rz=7,iz=8,oz=9,sz=function(){return'undefined'==typeof window?null:window};var az=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sz();const n=t=>e(t);if(n.version='3.3.2',n.removed=[],!t||!t.document||t.document.nodeType!==oz||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:A,Element:l,NodeFilter:c,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,p=l.prototype,g=QH(p,'cloneNode'),m=QH(p,'remove'),v=QH(p,'nextSibling'),b=QH(p,'childNodes'),y=QH(p,'parentNode');if('function'==typeof a){const e=r.createElement('template');e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,B='';const{implementation:x,createNodeIterator:C,createDocumentFragment:_,getElementsByTagName:j}=r,{importNode:F}=i;let E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof rH&&'function'==typeof y&&x&&void 0!==x.createHTMLDocument;const{MUSTACHE_EXPR:S,ERB_EXPR:k,TMPLIT_EXPR:U,DATA_ATTR:Q,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:N}=ez;let{IS_ALLOWED_URI:T}=ez,M=null;const P=SH({},[...LH,...OH,...IH,...TH,...PH]);let D=null;const R=SH({},[...DH,...RH,...HH,...zH]);let H=Object.seal(cH(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,K=null;const V=Object.seal(cH(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,G=!0,W=!1,Y=!0,X=!1,J=!0,Z=!1,$=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,se=!0,ae=!1,Ae={},le=null;const ce=SH({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let ue=null;const de=SH({},['audio','video','img','source','image','track']);let fe=null;const he=SH({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),pe='http://www.w3.org/1998/Math/MathML',ge='http://www.w3.org/2000/svg',me='http://www.w3.org/1999/xhtml';let ve=me,be=!1,ye=null;const we=SH({},[pe,ge,me],bH);let Be=SH({},['mi','mo','mn','ms','mtext']),xe=SH({},['annotation-xml']);const Ce=SH({},['title','style','font','a','script']);let _e=null;const je=['application/xhtml+xml','text/html'];let Fe=null,Ee=null;const Se=r.createElement('form'),ke=function(e){return e instanceof RegExp||e instanceof Function},Ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&'object'==typeof e||(e={}),e=UH(e),_e=-1===je.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,Fe='application/xhtml+xml'===_e?bH:vH,M=CH(e,'ALLOWED_TAGS')?SH({},e.ALLOWED_TAGS,Fe):P,D=CH(e,'ALLOWED_ATTR')?SH({},e.ALLOWED_ATTR,Fe):R,ye=CH(e,'ALLOWED_NAMESPACES')?SH({},e.ALLOWED_NAMESPACES,bH):we,fe=CH(e,'ADD_URI_SAFE_ATTR')?SH(UH(he),e.ADD_URI_SAFE_ATTR,Fe):he,ue=CH(e,'ADD_DATA_URI_TAGS')?SH(UH(de),e.ADD_DATA_URI_TAGS,Fe):de,le=CH(e,'FORBID_CONTENTS')?SH({},e.FORBID_CONTENTS,Fe):ce,z=CH(e,'FORBID_TAGS')?SH({},e.FORBID_TAGS,Fe):UH({}),K=CH(e,'FORBID_ATTR')?SH({},e.FORBID_ATTR,Fe):UH({}),Ae=!!CH(e,'USE_PROFILES')&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,T=e.ALLOWED_URI_REGEXP||YH,ve=e.NAMESPACE||me,Be=e.MATHML_TEXT_INTEGRATION_POINTS||Be,xe=e.HTML_INTEGRATION_POINTS||xe,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ne&&(te=!0),Ae&&(M=SH({},PH),D=cH(null),!0===Ae.html&&(SH(M,LH),SH(D,DH)),!0===Ae.svg&&(SH(M,OH),SH(D,RH),SH(D,zH)),!0===Ae.svgFilters&&(SH(M,IH),SH(D,RH),SH(D,zH)),!0===Ae.mathMl&&(SH(M,TH),SH(D,HH),SH(D,zH))),CH(e,'ADD_TAGS')||(V.tagCheck=null),CH(e,'ADD_ATTR')||(V.attributeCheck=null),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?V.tagCheck=e.ADD_TAGS:(M===P&&(M=UH(M)),SH(M,e.ADD_TAGS,Fe))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?V.attributeCheck=e.ADD_ATTR:(D===R&&(D=UH(D)),SH(D,e.ADD_ATTR,Fe))),e.ADD_URI_SAFE_ATTR&&SH(fe,e.ADD_URI_SAFE_ATTR,Fe),e.FORBID_CONTENTS&&(le===ce&&(le=UH(le)),SH(le,e.FORBID_CONTENTS,Fe)),e.ADD_FORBID_CONTENTS&&(le===ce&&(le=UH(le)),SH(le,e.ADD_FORBID_CONTENTS,Fe)),se&&(M['#text']=!0),Z&&SH(M,['html','head','body']),M.table&&(SH(M,['tbody']),delete z.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw jH('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw jH('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,B=w.createHTML('')}else void 0===w&&(w=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(h,o)),null!==w&&'string'==typeof B&&(B=w.createHTML(''));AH&&AH(e),Ee=e}},Qe=SH({},[...OH,...IH,...NH]),Le=SH({},[...TH,...MH]),Oe=function(e){gH(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){m(e)}},Ie=function(e,t){try{gH(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){gH(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(te||ne)try{Oe(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e='<remove></remove>'+e;else{const t=yH(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===_e&&ve===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const i=w?w.createHTML(e):e;if(ve===me)try{t=(new f).parseFromString(i,_e)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(ve,'template',null);try{t.documentElement.innerHTML=be?B:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ve===me?j.call(t,Z?'html':'body')[0]:Z?t.documentElement:o},Te=function(e){return C.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof d&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof u)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},Pe=function(e){return'function'==typeof A&&e instanceof A};function De(e,t,r){fH(e,e=>{e.call(n,t,r,Ee)})}const Re=function(e){let t=null;if(De(E.beforeSanitizeElements,e,null),Me(e))return Oe(e),!0;const r=Fe(e.nodeName);if(De(E.uponSanitizeElement,e,{tagName:r,allowedTags:M}),J&&e.hasChildNodes()&&!Pe(e.firstElementChild)&&_H(/<[/\w!]/g,e.innerHTML)&&_H(/<[/\w!]/g,e.textContent))return Oe(e),!0;if(e.nodeType===rz)return Oe(e),!0;if(J&&e.nodeType===iz&&_H(/<[/\w]/g,e.data))return Oe(e),!0;if(!(V.tagCheck instanceof Function&&V.tagCheck(r))&&(!M[r]||z[r])){if(!z[r]&&ze(r)){if(H.tagNameCheck instanceof RegExp&&_H(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(se&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Oe(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:'template'});const n=vH(e.tagName),r=vH(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===me?'svg'===n:t.namespaceURI===pe?'svg'===n&&('annotation-xml'===r||Be[r]):Boolean(Qe[n]):e.namespaceURI===pe?t.namespaceURI===me?'math'===n:t.namespaceURI===ge?'math'===n&&xe[r]:Boolean(Le[n]):e.namespaceURI===me?!(t.namespaceURI===ge&&!xe[r])&&!(t.namespaceURI===pe&&!Be[r])&&!Le[n]&&(Ce[n]||!Qe[n]):!('application/xhtml+xml'!==_e||!ye[e.namespaceURI]))}(e)?(Oe(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!_H(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===nz&&(t=e.textContent,fH([S,k,U],e=>{t=wH(t,e,' ')}),e.textContent!==t&&(gH(n.removed,{element:e.cloneNode()}),e.textContent=t)),De(E.afterSanitizeElements,e,null),!1):(Oe(e),!0)},He=function(e,t,n){if(K[t])return!1;if(ie&&('id'===t||'name'===t)&&(n in r||n in Se))return!1;if(G&&!K[t]&&_H(Q,t));else if(q&&_H(L,t));else if(V.attributeCheck instanceof Function&&V.attributeCheck(t,e));else if(!D[t]||K[t]){if(!(ze(e)&&(H.tagNameCheck instanceof RegExp&&_H(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&_H(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||'is'===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&_H(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(fe[t]);else if(_H(T,wH(n,I,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==BH(n,'data:')||!ue[e]){if(W&&!_H(O,wH(n,I,'')));else if(n)return!1}else;return!0},ze=function(e){return'annotation-xml'!==e&&yH(e,N)},Ke=function(e){De(E.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:D,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=Fe(s),c=A;let u='value'===s?c:xH(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,De(E.uponSanitizeAttribute,e,r),u=r.attrValue,!oe||'id'!==l&&'name'!==l||(Ie(s,e),u='user-content-'+u),J&&_H(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){Ie(s,e);continue}if('attributename'===l&&yH(u,'href')){Ie(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(s,e);continue}if(!Y&&_H(/\/>/i,u)){Ie(s,e);continue}X&&fH([S,k,U],e=>{u=wH(u,e,' ')});const d=Fe(e.nodeName);if(He(d,l,u)){if(w&&'object'==typeof h&&'function'==typeof h.getAttributeType)if(a);else switch(h.getAttributeType(d,l)){case'TrustedHTML':u=w.createHTML(u);break;case'TrustedScriptURL':u=w.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Me(e)?Oe(e):pH(n.removed)}catch(t){Ie(s,e)}}else Ie(s,e)}De(E.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const r=Te(t);for(De(E.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)De(E.uponSanitizeShadowNode,n,null),Re(n),Ke(n),n.content instanceof s&&e(n.content);De(E.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(be=!e,be&&(e='\x3c!--\x3e'),'string'!=typeof e&&!Pe(e)){if('function'!=typeof e.toString)throw jH('toString is not a function');if('string'!=typeof(e=e.toString()))throw jH('dirty is not a string, aborting')}if(!n.isSupported)return e;if($||Ue(t),n.removed=[],'string'==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Fe(e.nodeName);if(!M[t]||z[t])throw jH('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof A)r=Ne('\x3c!----\x3e'),o=r.ownerDocument.importNode(e,!0),o.nodeType===tz&&'BODY'===o.nodeName||'HTML'===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!Z&&-1===e.indexOf('<'))return w&&re?w.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?B:''}r&&ee&&Oe(r.firstChild);const c=Te(ae?e:r);for(;a=c.nextNode();)Re(a),Ke(a),a.content instanceof s&&Ve(a.content);if(ae)return e;if(te){if(ne)for(l=_.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(D.shadowroot||D.shadowrootmode)&&(l=F.call(i,l,!0)),l}let u=Z?r.outerHTML:r.innerHTML;return Z&&M['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_H(ZH,r.ownerDocument.doctype.name)&&(u='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+u),X&&fH([S,k,U],e=>{u=wH(u,e,' ')}),w&&re?w.createHTML(u):u},n.setConfig=function(){Ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$=!0},n.clearConfig=function(){Ee=null,$=!1},n.isValidAttribute=function(e,t,n){Ee||Ue({});const r=Fe(e),i=Fe(t);return He(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&gH(E[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=hH(E[e],t);return-1===n?void 0:mH(E[e],n,1)[0]}return pH(E[e])},n.removeHooks=function(e){E[e]=[]},n.removeAllHooks=function(){E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),Az=function(e){var n=e.html,r=e.className,i=void 0===r?'vu-prose vu-prose-sm max-w-none dark:vu-prose-invert vu-break-words':r,o=d(function(){return az.sanitize(n,{FORBID_TAGS:['html','head','body','script','iframe','object','embed','form','input','button'],FORBID_ATTR:['style','onclick','onload','onerror','onmouseover'],ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.\-:]|$))/i})},[n]);return t.createElement('div',{className:i,dangerouslySetInnerHTML:{__html:o}})},lz=function(e){var n=e.tools;return t.createElement('ul',{className:'vu-m-0 vu-px-4'},n.map(function(e){return t.createElement('li',{key:e.id},'running'===e.status?'⏳':'✅',' ',e.description)}))},cz=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Class extends value '+String(t)+' is not a constructor or null');function n(){this.constructor=e}Le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){},n.prototype.render=function(){var e;return this.state.hasError?null!==(e=this.props.fallback)&&void 0!==e?e:t.createElement('div',{className:'vu-text-sm vu-text-center'},'⚠️ Unable to render chart'):this.props.children},n}(t.Component),uz={content:{top:'50%',left:'50%',right:'auto',bottom:'auto',marginRight:'-50%',transform:'translate(-50%, -50%)',padding:0,width:'492px'},overlay:{zIndex:9999}},dz=function(e){var r=e.response,i=e.onError,s=void 0!==i&&i,a=e.chatID,A=e.isLiked,l=e.type,c=e.sessionID,u=e.isLastResponse,d=o(null),f=n(A),h=f[0],p=f[1],g=t.useState(!1),m=g[0],v=g[1],b=n(!1),y=b[0],w=b[1],B=n(!1),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=r.answer,S=r.chartConfigList,k=r.explainability,U=r.sources,Q=r.error,L=r.tools,O=ke({mutationFn:TI,onMutate:function(e){return Ne(void 0,void 0,void 0,function(){var t;return Te(this,function(n){return t=h,p(e.is_liked),[2,{previousLike:t}]})})},onError:function(e,t,n){void 0!==(null==n?void 0:n.previousLike)&&p(n.previousLike),JT.error(e.data['error-string'])}}),I=function(e){void 0!==a&&O.mutate(Oe({is_liked:e.isLiked,message_id:a,sessionID:c},!1===e.isLiked&&{comment:e.comments,reason:e.reason}))},N=function(){v(!1)};return t.createElement(t.Fragment,null,t.createElement(lM,null,u&&L&&L.length>0&&t.createElement(qR,{label:L[L.length-1].description,isOpen:y,onToggle:function(){return w(!y)},className:'hide-in-pdf'},t.createElement(lz,{tools:L})),t.createElement('div',null,t.createElement(cM,null,t.createElement(Fn,{svg:qn,size:32}),t.createElement(_M,{ref:d},t.createElement(Az,{html:E}),Q&&t.createElement(FM,null,Q)),!s&&t.createElement(jM,null,t.createElement(Sn,{onClick:function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:if(!d.current)return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(d.current.innerText)];case 2:return e.sent(),F(!0),setTimeout(function(){return F(!1)},1200),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},icon:'data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.4%2C20.82H11.2A2.42%2C2.42%2C0%2C0%2C1%2C8.78%2C18.4V11.2A2.42%2C2.42%2C0%2C0%2C1%2C11.2%2C8.78h7.2a2.42%2C2.42%2C0%2C0%2C1%2C2.42%2C2.42v7.2A2.42%2C2.42%2C0%2C0%2C1%2C18.4%2C20.82Zm-7.2-10.4a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h7.2a.78.78%2C0%2C0%2C0%2C.78-.78V11.2a.78.78%2C0%2C0%2C0-.78-.78Z%22%2F%3E%3Cpath%20d%3D%22M6.4%2C15.22H5.6A2.42%2C2.42%2C0%2C0%2C1%2C3.18%2C12.8V5.6A2.42%2C2.42%2C0%2C0%2C1%2C5.6%2C3.18h7.2A2.42%2C2.42%2C0%2C0%2C1%2C15.22%2C5.6v.8a.82.82%2C0%2C1%2C1-1.64%2C0V5.6a.78.78%2C0%2C0%2C0-.78-.78H5.6a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h.8a.82.82%2C0%2C0%2C1%2C0%2C1.64Z%22%2F%3E%3C%2Fsvg%3E',className:'hide-in-pdf','data-tooltip-id':'tooltip-btns','data-tooltip-content':j?'Copied!':'Copy'}),l&&'answer'===l&&t.createElement(t.Fragment,null,t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.66%2C20.18H3.56c-.98%2C0-1.78-.8-1.78-1.78v-7.82c0-.98%2C.8-1.78%2C1.78-1.78h3.61l3.26-6.52c.18-.36%2C.55-.59%2C.95-.59%2C2.16%2C0%2C3.91%2C1.75%2C3.91%2C3.91v1.07h4.43c1.37%2C0%2C2.49%2C1.12%2C2.49%2C2.49%2C0%2C.1%2C0%2C.21-.02%2C.31l-1.07%2C8.54c-.15%2C1.24-1.22%2C2.18-2.47%2C2.18Zm-9.77-2.13h9.77c.18%2C0%2C.33-.13%2C.35-.31l1.07-8.54c0-.24-.16-.4-.35-.4h-5.5c-.59%2C0-1.07-.48-1.07-1.07v-2.13c0-.77-.49-1.42-1.17-1.67l-3.1%2C6.19v7.93Zm-4.98%2C0h2.85v-7.11H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Like',disabled:O.isLoading,iconColor:void 0!==h&&!0===h?'vu-fill-green-500':void 0,onClick:function(){return I({isLiked:!0!==h||null})}}),t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.38%2C22.31c-.4%2C0-.77-.23-.95-.59l-3.26-6.52H3.56c-.98%2C0-1.78-.8-1.78-1.78V5.6c0-.98%2C.8-1.78%2C1.78-1.78h15.1c1.25%2C0%2C2.32%2C.94%2C2.47%2C2.18l1.07%2C8.54c.01%2C.1%2C.02%2C.21%2C.02%2C.31%2C0%2C1.37-1.12%2C2.49-2.49%2C2.49h-4.43v1.07c0%2C2.16-1.75%2C3.91-3.91%2C3.91Zm-2.49-8.43l3.1%2C6.19c.68-.25%2C1.17-.9%2C1.17-1.67v-2.13c0-.59%2C.48-1.07%2C1.07-1.07h5.5c.2%2C0%2C.36-.16%2C.36-.36l-1.07-8.58c-.02-.18-.17-.31-.35-.31H8.89v7.93Zm-4.98-.81h2.85V5.95H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Dislike',disabled:O.isLoading,iconColor:void 0!==h&&!1===h?'vu-fill-rose-500':void 0,onClick:function(){return O.isLoading?null:!1===h?I({isLiked:null}):v(!0)}})))),S&&S.length>0&&S.map(function(e,n){return t.createElement(cz,{key:n},t.createElement(kM,null,e.chart_title),t.createElement(uM,null,t.createElement(IM,{type:e.chart_type,chartData:e})))})),(U||k)&&t.createElement(qR,{label:'Sources & Reasoning',isOpen:x,onToggle:function(){return C(!x)},className:'hide-in-pdf'},U&&t.createElement(Az,{html:U}),k&&t.createElement(Az,{html:k})),t.createElement(wD,{id:'tooltip-btns',place:'right'}),u&&t.createElement(EM,null,t.createElement(Fn,{className:'vu-mr-1',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2C22c-5.51%2C0-10-4.49-10-10S6.49%2C2%2C12%2C2s10%2C4.49%2C10%2C10-4.49%2C10-10%2C10Zm0-18c-4.41%2C0-8%2C3.59-8%2C8s3.59%2C8%2C8%2C8%2C8-3.59%2C8-8-3.59-8-8-8Z%22%2F%3E%3Cg%3E%3Cpath%20d%3D%22M11.98%2C17.36c-.55%2C0-1-.45-1-1v-5.08c0-.55%2C.45-1%2C1-1s1%2C.45%2C1%2C1v5.08c0%2C.55-.45%2C1-1%2C1Z%22%2F%3E%3Cpath%20d%3D%22M11.98%2C9.21c-.26%2C0-.52-.11-.71-.29-.18-.19-.29-.44-.29-.71s.11-.52%2C.29-.71c.38-.37%2C1.05-.37%2C1.42%2C0%2C.18%2C.19%2C.29%2C.45%2C.29%2C.71s-.11%2C.52-.29%2C.71c-.19%2C.18-.44%2C.29-.71%2C.29Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:14,inline:!0}),t.createElement(SM,null,'AI-generated responses may not always be accurate.'))),t.createElement(VR,{isOpen:m,onRequestClose:N,style:uz,contentLabel:'Feedback Modal'},t.createElement(nH,{closeModal:N,handleFeedback:I})))},fz=t.memo(function(e){var n=e.messages,r=e.sessionID;return t.createElement(t.Fragment,null,n.map(function(e,i){var o=i===n.length-1;return'user'===e.from||'query'===e.from?t.createElement(AM,{key:i,question:e.text}):t.createElement(dz,{key:i,response:{answer:e.text,sources:e.sources,chartConfigList:e.chartConfigList,explainability:e.explainability,error:e.error,tools:e.tools},chatID:null==e?void 0:e.chatID,onError:'error'===e.from,isLiked:e.isLiked,type:e.textType,sessionID:r,isLastResponse:o})}))}),hz={exports:{}},pz=function(e,t){return pz=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},pz(e,t)};function gz(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Class extends value '+String(t)+' is not a constructor or null');function n(){this.constructor=e}pz(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var mz=function(){return mz=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},mz.apply(this,arguments)};function vz(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function bz(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError('Generator is already executing.');for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}for(var yz=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),wz=function(e,t){return yz.fromClientRect(e,t.getBoundingClientRect())},Bz=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},xz=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},Cz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_z='undefined'==typeof Uint8Array?[]:new Uint8Array(256),jz=0;jz<64;jz++)_z[Cz.charCodeAt(jz)]=jz;for(var Fz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Ez='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Sz=0;Sz<64;Sz++)Ez[Fz.charCodeAt(Sz)]=Sz;for(var kz=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Uz=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Qz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Lz='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Oz=0;Oz<64;Oz++)Lz[Qz.charCodeAt(Oz)]=Oz;var Iz=10,Nz=13,Tz=15,Mz=17,Pz=18,Dz=19,Rz=20,Hz=21,zz=22,Kz=24,Vz=25,qz=26,Gz=27,Wz=28,Yz=30,Xz=32,Jz=33,Zz=34,$z=35,eK=37,tK=38,nK=39,rK=40,iK=42,oK=[9001,65288],sK='×',aK='÷',AK=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=Ez[e.charCodeAt(t)],r=Ez[e.charCodeAt(t+1)],i=Ez[e.charCodeAt(t+2)],o=Ez[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=kz(r,12,n[4]/2),o=2===n[5]?kz(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new Uz(n[0],n[1],n[2],n[3],i,o)}('KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=='),lK=[Yz,36],cK=[1,2,3,5],uK=[Iz,8],dK=[Gz,qz],fK=cK.concat(uK),hK=[tK,nK,rK,Zz,$z],pK=[Tz,Nz],gK=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((A=r[++o])===t)return!0;if(A!==Iz)break}if(i===Iz)for(o=n;o>0;){var s=r[--o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s)for(var a=n;a<=r.length;){var A;if((A=r[++a])===t)return!0;if(A!==Iz)break}if(s!==Iz)break}return!1},mK=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==Iz)return r;n--}return 0},vK=function(e,t,n,r,i){if(0===n[r])return sK;var o=r-1;if(Array.isArray(i)&&!0===i[o])return sK;var s=o-1,a=o+1,A=t[o],l=s>=0?t[s]:0,c=t[a];if(2===A&&3===c)return sK;if(-1!==cK.indexOf(A))return'!';if(-1!==cK.indexOf(c))return sK;if(-1!==uK.indexOf(c))return sK;if(8===mK(o,t))return aK;if(11===AK.get(e[o]))return sK;if((A===Xz||A===Jz)&&11===AK.get(e[a]))return sK;if(7===A||7===c)return sK;if(9===A)return sK;if(-1===[Iz,Nz,Tz].indexOf(A)&&9===c)return sK;if(-1!==[Mz,Pz,Dz,Kz,Wz].indexOf(c))return sK;if(mK(o,t)===zz)return sK;if(gK(23,zz,o,t))return sK;if(gK([Mz,Pz],Hz,o,t))return sK;if(gK(12,12,o,t))return sK;if(A===Iz)return aK;if(23===A||23===c)return sK;if(16===c||16===A)return aK;if(-1!==[Nz,Tz,Hz].indexOf(c)||14===A)return sK;if(36===l&&-1!==pK.indexOf(A))return sK;if(A===Wz&&36===c)return sK;if(c===Rz)return sK;if(-1!==lK.indexOf(c)&&A===Vz||-1!==lK.indexOf(A)&&c===Vz)return sK;if(A===Gz&&-1!==[eK,Xz,Jz].indexOf(c)||-1!==[eK,Xz,Jz].indexOf(A)&&c===qz)return sK;if(-1!==lK.indexOf(A)&&-1!==dK.indexOf(c)||-1!==dK.indexOf(A)&&-1!==lK.indexOf(c))return sK;if(-1!==[Gz,qz].indexOf(A)&&(c===Vz||-1!==[zz,Tz].indexOf(c)&&t[a+1]===Vz)||-1!==[zz,Tz].indexOf(A)&&c===Vz||A===Vz&&-1!==[Vz,Wz,Kz].indexOf(c))return sK;if(-1!==[Vz,Wz,Kz,Mz,Pz].indexOf(c))for(var u=o;u>=0;){if((d=t[u])===Vz)return sK;if(-1===[Wz,Kz].indexOf(d))break;u--}if(-1!==[Gz,qz].indexOf(c))for(u=-1!==[Mz,Pz].indexOf(A)?s:o;u>=0;){var d;if((d=t[u])===Vz)return sK;if(-1===[Wz,Kz].indexOf(d))break;u--}if(tK===A&&-1!==[tK,nK,Zz,$z].indexOf(c)||-1!==[nK,Zz].indexOf(A)&&-1!==[nK,rK].indexOf(c)||-1!==[rK,$z].indexOf(A)&&c===rK)return sK;if(-1!==hK.indexOf(A)&&-1!==[Rz,qz].indexOf(c)||-1!==hK.indexOf(c)&&A===Gz)return sK;if(-1!==lK.indexOf(A)&&-1!==lK.indexOf(c))return sK;if(A===Kz&&-1!==lK.indexOf(c))return sK;if(-1!==lK.concat(Vz).indexOf(A)&&c===zz&&-1===oK.indexOf(e[a])||-1!==lK.concat(Vz).indexOf(c)&&A===Pz)return sK;if(41===A&&41===c){for(var f=n[o],h=1;f>0&&41===t[--f];)h++;if(h%2!=0)return sK}return A===Xz&&c===Jz?sK:aK},bK=function(e,t){t||(t={lineBreak:'normal',wordBreak:'normal'});var n=function(e,t){void 0===t&&(t='strict');var n=[],r=[],i=[];return e.forEach(function(e,o){var s=AK.get(e);if(s>50?(i.push(!0),s-=50):i.push(!1),-1!==['normal','auto','loose'].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===s||11===s){if(0===o)return r.push(o),n.push(Yz);var a=n[o-1];return-1===fK.indexOf(a)?(r.push(r[o-1]),n.push(a)):(r.push(o),n.push(Yz))}return r.push(o),31===s?n.push('strict'===t?Hz:eK):s===iK||29===s?n.push(Yz):43===s?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(eK):n.push(Yz):void n.push(s)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];'break-all'!==t.wordBreak&&'break-word'!==t.wordBreak||(i=i.map(function(e){return-1!==[Vz,Yz,iK].indexOf(e)?eK:e}));var s='keep-all'===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0;return[r,i,s]},yK=function(){function e(e,t,n,r){this.codePoints=e,this.required='!'===t,this.start=n,this.end=r}return e.prototype.slice=function(){return xz.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),wK=45,BK=43,xK=-1,CK=function(e){return e>=48&&e<=57},_K=function(e){return CK(e)||e>=65&&e<=70||e>=97&&e<=102},jK=function(e){return 10===e||9===e||32===e},FK=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},EK=function(e){return FK(e)||CK(e)||e===wK},SK=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},kK=function(e,t){return 92===e&&10!==t},UK=function(e,t,n){return e===wK?FK(t)||kK(t,n):!!FK(e)||!(92!==e||!kK(e,t))},QK=function(e,t,n){return e===BK||e===wK?!!CK(t)||46===t&&CK(n):CK(46===e?t:e)},LK=function(e){var t=0,n=1;e[t]!==BK&&e[t]!==wK||(e[t]===wK&&(n=-1),t++);for(var r=[];CK(e[t]);)r.push(e[t++]);var i=r.length?parseInt(xz.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];CK(e[t]);)o.push(e[t++]);var s=o.length,a=s?parseInt(xz.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var A=1;e[t]!==BK&&e[t]!==wK||(e[t]===wK&&(A=-1),t++);for(var l=[];CK(e[t]);)l.push(e[t++]);var c=l.length?parseInt(xz.apply(void 0,l),10):0;return n*(i+a*Math.pow(10,-s))*Math.pow(10,A*c)},OK={type:2},IK={type:3},NK={type:4},TK={type:13},MK={type:8},PK={type:21},DK={type:9},RK={type:10},HK={type:11},zK={type:12},KK={type:14},VK={type:23},qK={type:1},GK={type:25},WK={type:24},YK={type:26},XK={type:27},JK={type:28},ZK={type:29},$K={type:31},eV={type:32},tV=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(Bz(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==eV;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(EK(t)||kK(n,r)){var i=UK(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),TK;break;case 39:return this.consumeStringToken(39);case 40:return OK;case 41:return IK;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),KK;break;case BK:if(QK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return NK;case wK:var o=e,s=this.peekCodePoint(0),a=this.peekCodePoint(1);if(QK(o,s,a))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(UK(o,s,a))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===wK&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),WK;break;case 46:if(QK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(42===A&&47===(A=this.consumeCodePoint()))return this.consumeToken();if(A===xK)return this.consumeToken()}break;case 58:return YK;case 59:return XK;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===wK&&this.peekCodePoint(2)===wK)return this.consumeCodePoint(),this.consumeCodePoint(),GK;break;case 64:var l=this.peekCodePoint(0),c=this.peekCodePoint(1),u=this.peekCodePoint(2);if(UK(l,c,u))return{type:7,value:this.consumeName()};break;case 91:return JK;case 92:if(kK(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return ZK;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),MK;break;case 123:return HK;case 125:return zK;case 117:case 85:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==BK||!_K(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),DK;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),PK;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),RK;break;case xK:return eV}return jK(e)?(this.consumeWhiteSpace(),$K):CK(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):FK(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:xz(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();_K(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(xz.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(xz.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(xz.apply(void 0,e),16);if(this.peekCodePoint(0)===wK&&_K(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];_K(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(xz.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return'url'===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xK)return{type:22,value:''};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xK||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),VK)}for(;;){var r=this.consumeCodePoint();if(r===xK||41===r)return{type:22,value:xz.apply(void 0,e)};if(jK(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xK||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:xz.apply(void 0,e)}):(this.consumeBadUrlRemnants(),VK);if(34===r||39===r||40===r||SK(r))return this.consumeBadUrlRemnants(),VK;if(92===r){if(!kK(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),VK;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;jK(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===xK)return;kK(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t='';e>0;){var n=Math.min(5e4,e);t+=xz.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t='',n=0;;){var r=this._value[n];if(r===xK||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),qK;if(92===r){var i=this._value[n+1];i!==xK&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):kK(r,i)&&(t+=this.consumeStringSlice(n),t+=xz(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==BK&&n!==wK||e.push(this.consumeCodePoint());CK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&CK(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;CK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((r===BK||r===wK)&&CK(i)||CK(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;CK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[LK(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return UK(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(_K(e)){for(var t=xz(e);_K(this.peekCodePoint(0))&&t.length<6;)t+=xz(this.consumeCodePoint());jK(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===xK?65533:e},e.prototype.consumeName=function(){for(var e='';;){var t=this.consumeCodePoint();if(EK(t))e+=xz(t);else{if(!kK(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=xz(this.consumeEscapedCodePoint())}}},e}(),nV=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new tV;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError('Error parsing CSS component value, unexpected EOF');this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError('Error parsing CSS component value, multiple values found when expecting only one')},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||uV(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?eV:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),rV=function(e){return 15===e.type},iV=function(e){return 17===e.type},oV=function(e){return 20===e.type},sV=function(e){return 0===e.type},aV=function(e,t){return oV(e)&&e.value===t},AV=function(e){return 31!==e.type},lV=function(e){return 31!==e.type&&4!==e.type},cV=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error('Error parsing function args, zero tokens for arg');return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},uV=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},dV=function(e){return 17===e.type||15===e.type},fV=function(e){return 16===e.type||dV(e)},hV=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},pV={type:17,number:0,flags:4},gV={type:16,number:50,flags:4},mV={type:16,number:100,flags:4},vV=function(e,t,n){var r=e[0],i=e[1];return[bV(r,t),bV(void 0!==i?i:r,n)]},bV=function(e,t){if(16===e.type)return e.number/100*t;if(rV(e))switch(e.unit){case'rem':case'em':return 16*e.number;default:return e.number}return e.number},yV='grad',wV='turn',BV=function(e,t){if(15===t.type)switch(t.unit){case'deg':return Math.PI*t.number/180;case yV:return Math.PI/200*t.number;case'rad':return t.number;case wV:return 2*Math.PI*t.number}throw new Error('Unsupported angle type')},xV=function(e){return 15===e.type&&('deg'===e.unit||e.unit===yV||'rad'===e.unit||e.unit===wV)},CV=function(e){switch(e.filter(oV).map(function(e){return e.value}).join(' ')){case'to bottom right':case'to right bottom':case'left top':case'top left':return[pV,pV];case'to top':case'bottom':return _V(0);case'to bottom left':case'to left bottom':case'right top':case'top right':return[pV,mV];case'to right':case'left':return _V(90);case'to top left':case'to left top':case'right bottom':case'bottom right':return[mV,mV];case'to bottom':case'top':return _V(180);case'to top right':case'to right top':case'left bottom':case'bottom left':return[mV,pV];case'to left':case'right':return _V(270)}return 0},_V=function(e){return Math.PI*e/180},jV=function(e,t){if(18===t.type){var n=OV[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return SV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var s=t.value.substring(3,4);return SV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return SV(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),s=t.value.substring(6,8);return SV(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(20===t.type){var a=NV[t.value.toUpperCase()];if(void 0!==a)return a}return NV.TRANSPARENT},FV=function(e){return!(255&e)},EV=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?'rgba('+i+','+r+','+n+','+t/255+')':'rgb('+i+','+r+','+n+')'},SV=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},kV=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},UV=function(e,t){var n=t.filter(lV);if(3===n.length){var r=n.map(kV),i=r[0],o=r[1],s=r[2];return SV(i,o,s,1)}if(4===n.length){var a=n.map(kV),A=(i=a[0],o=a[1],s=a[2],a[3]);return SV(i,o,s,A)}return 0};function QV(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var LV=function(e,t){var n=t.filter(lV),r=n[0],i=n[1],o=n[2],s=n[3],a=(17===r.type?_V(r.number):BV(e,r))/(2*Math.PI),A=fV(i)?i.number/100:0,l=fV(o)?o.number/100:0,c=void 0!==s&&fV(s)?bV(s,1):1;if(0===A)return SV(255*l,255*l,255*l,1);var u=l<=.5?l*(A+1):l+A-l*A,d=2*l-u,f=QV(d,u,a+1/3),h=QV(d,u,a),p=QV(d,u,a-1/3);return SV(255*f,255*h,255*p,c)},OV={hsl:LV,hsla:LV,rgb:UV,rgba:UV},IV=function(e,t){return jV(e,nV.create(t).parseComponentValue())},NV={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},TV={name:'background-clip',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(oV(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},MV={name:'background-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},PV=function(e,t){var n=jV(e,t[0]),r=t[1];return r&&fV(r)?{color:n,stop:r}:{color:n,stop:null}},DV=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=pV),null===r.stop&&(r.stop=mV);for(var i=[],o=0,s=0;s<e.length;s++){var a=e[s].stop;if(null!==a){var A=bV(a,t);A>o?i.push(A):i.push(o),o=A}else i.push(null)}var l=null;for(s=0;s<i.length;s++){var c=i[s];if(null===c)null===l&&(l=s);else if(null!==l){for(var u=s-l,d=(c-i[l-1])/(u+1),f=1;f<=u;f++)i[l+f-1]=d*f;l=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},RV=function(e,t,n){var r='number'==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=bV(e[0],t)-r,s=i-bV(e[1],n);return(Math.atan2(s,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,s=n/2,a=i/2,A=Math.sin(r-Math.PI/2)*a,l=Math.cos(r-Math.PI/2)*a;return[i,o-l,o+l,s-A,s+A]},HV=function(e,t){return Math.sqrt(e*e+t*t)},zV=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],s=t[1],a=HV(n-o,r-s);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},KV=function(e,t){var n=_V(180),r=[];return cV(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==['top','left','right','bottom'].indexOf(o.value))return void(n=CV(t));if(xV(o))return void(n=(BV(e,o)+_V(270))%_V(360))}var s=PV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},VV='closest-side',qV='farthest-side',GV='closest-corner',WV='farthest-corner',YV='circle',XV='ellipse',JV='cover',ZV='contain',$V=function(e,t){var n=0,r=3,i=[],o=[];return cV(t).forEach(function(t,s){var a=!0;if(0===s?a=t.reduce(function(e,t){if(oV(t))switch(t.value){case'center':return o.push(gV),!1;case'top':case'left':return o.push(pV),!1;case'right':case'bottom':return o.push(mV),!1}else if(fV(t)||dV(t))return o.push(t),!1;return e},a):1===s&&(a=t.reduce(function(e,t){if(oV(t))switch(t.value){case YV:return n=0,!1;case XV:return n=1,!1;case ZV:case VV:return r=0,!1;case qV:return r=1,!1;case GV:return r=2,!1;case JV:case WV:return r=3,!1}else if(dV(t)||fV(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)),a){var A=PV(e,t);i.push(A)}}),{size:r,shape:n,stops:i,position:o,type:2}},eq=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=nq[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error('Unsupported image type '+t.type)};var tq,nq={'linear-gradient':function(e,t){var n=_V(180),r=[];return cV(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&'to'===o.value)return void(n=CV(t));if(xV(o))return void(n=BV(e,o))}var s=PV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},'-moz-linear-gradient':KV,'-ms-linear-gradient':KV,'-o-linear-gradient':KV,'-webkit-linear-gradient':KV,'radial-gradient':function(e,t){var n=0,r=3,i=[],o=[];return cV(t).forEach(function(t,s){var a=!0;if(0===s){var A=!1;a=t.reduce(function(e,t){if(A)if(oV(t))switch(t.value){case'center':return o.push(gV),e;case'top':case'left':return o.push(pV),e;case'right':case'bottom':return o.push(mV),e}else(fV(t)||dV(t))&&o.push(t);else if(oV(t))switch(t.value){case YV:return n=0,!1;case XV:return n=1,!1;case'at':return A=!0,!1;case VV:return r=0,!1;case JV:case qV:return r=1,!1;case ZV:case GV:return r=2,!1;case WV:return r=3,!1}else if(dV(t)||fV(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)}if(a){var l=PV(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},'-moz-radial-gradient':$V,'-ms-radial-gradient':$V,'-o-radial-gradient':$V,'-webkit-radial-gradient':$V,'-webkit-gradient':function(e,t){var n=_V(180),r=[],i=1;return cV(t).forEach(function(t,n){var o=t[0];if(0===n){if(oV(o)&&'linear'===o.value)return void(i=1);if(oV(o)&&'radial'===o.value)return void(i=2)}if(18===o.type)if('from'===o.name){var s=jV(e,o.values[0]);r.push({stop:pV,color:s})}else if('to'===o.name){s=jV(e,o.values[0]);r.push({stop:mV,color:s})}else if('color-stop'===o.name){var a=o.values.filter(lV);if(2===a.length){s=jV(e,a[1]);var A=a[0];iV(A)&&r.push({stop:{type:16,number:100*A.number,flags:A.flags},color:s})}}}),1===i?{angle:(n+_V(180))%_V(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},rq={name:'background-image',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t.filter(function(e){return lV(e)&&function(e){return!(20===e.type&&'none'===e.value||18===e.type&&!nq[e.name])}(e)}).map(function(t){return eq(e,t)})}},iq={name:'background-origin',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(oV(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},oq={name:'background-position',initialValue:'0% 0%',type:1,prefix:!1,parse:function(e,t){return cV(t).map(function(e){return e.filter(fV)}).map(hV)}},sq={name:'background-repeat',initialValue:'repeat',prefix:!1,type:1,parse:function(e,t){return cV(t).map(function(e){return e.filter(oV).map(function(e){return e.value}).join(' ')}).map(aq)}},aq=function(e){switch(e){case'no-repeat':return 1;case'repeat-x':case'repeat no-repeat':return 2;case'repeat-y':case'no-repeat repeat':return 3;default:return 0}};!function(e){e.AUTO='auto',e.CONTAIN='contain',e.COVER='cover'}(tq||(tq={}));var Aq,lq={name:'background-size',initialValue:'0',prefix:!1,type:1,parse:function(e,t){return cV(t).map(function(e){return e.filter(cq)})}},cq=function(e){return oV(e)||fV(e)},uq=function(e){return{name:'border-'+e+'-color',initialValue:'transparent',prefix:!1,type:3,format:'color'}},dq=uq('top'),fq=uq('right'),hq=uq('bottom'),pq=uq('left'),gq=function(e){return{name:'border-radius-'+e,initialValue:'0 0',prefix:!1,type:1,parse:function(e,t){return hV(t.filter(fV))}}},mq=gq('top-left'),vq=gq('top-right'),bq=gq('bottom-right'),yq=gq('bottom-left'),wq=function(e){return{name:'border-'+e+'-style',initialValue:'solid',prefix:!1,type:2,parse:function(e,t){switch(t){case'none':return 0;case'dashed':return 2;case'dotted':return 3;case'double':return 4}return 1}}},Bq=wq('top'),xq=wq('right'),Cq=wq('bottom'),_q=wq('left'),jq=function(e){return{name:'border-'+e+'-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return rV(t)?t.number:0}}},Fq=jq('top'),Eq=jq('right'),Sq=jq('bottom'),kq=jq('left'),Uq={name:'color',initialValue:'transparent',prefix:!1,type:3,format:'color'},Qq={name:'direction',initialValue:'ltr',prefix:!1,type:2,parse:function(e,t){return'rtl'===t?1:0}},Lq={name:'display',initialValue:'inline-block',prefix:!1,type:1,parse:function(e,t){return t.filter(oV).reduce(function(e,t){return e|Oq(t.value)},0)}},Oq=function(e){switch(e){case'block':case'-webkit-box':return 2;case'inline':return 4;case'run-in':return 8;case'flow':return 16;case'flow-root':return 32;case'table':return 64;case'flex':case'-webkit-flex':return 128;case'grid':case'-ms-grid':return 256;case'ruby':return 512;case'subgrid':return 1024;case'list-item':return 2048;case'table-row-group':return 4096;case'table-header-group':return 8192;case'table-footer-group':return 16384;case'table-row':return 32768;case'table-cell':return 65536;case'table-column-group':return 131072;case'table-column':return 262144;case'table-caption':return 524288;case'ruby-base':return 1048576;case'ruby-text':return 2097152;case'ruby-base-container':return 4194304;case'ruby-text-container':return 8388608;case'contents':return 16777216;case'inline-block':return 33554432;case'inline-list-item':return 67108864;case'inline-table':return 134217728;case'inline-flex':return 268435456;case'inline-grid':return 536870912}return 0},Iq={name:'float',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'left':return 1;case'right':return 2;case'inline-start':return 3;case'inline-end':return 4}return 0}},Nq={name:'letter-spacing',initialValue:'0',prefix:!1,type:0,parse:function(e,t){return 20===t.type&&'normal'===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL='normal',e.STRICT='strict'}(Aq||(Aq={}));var Tq,Mq={name:'line-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'strict'===t?Aq.STRICT:Aq.NORMAL}},Pq={name:'line-height',initialValue:'normal',prefix:!1,type:4},Dq=function(e,t){return oV(e)&&'normal'===e.value?1.2*t:17===e.type?t*e.number:fV(e)?bV(e,t):t},Rq={name:'list-style-image',initialValue:'none',type:0,prefix:!1,parse:function(e,t){return 20===t.type&&'none'===t.value?null:eq(e,t)}},Hq={name:'list-style-position',initialValue:'outside',prefix:!1,type:2,parse:function(e,t){return'inside'===t?0:1}},zq={name:'list-style-type',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'disc':return 0;case'circle':return 1;case'square':return 2;case'decimal':return 3;case'cjk-decimal':return 4;case'decimal-leading-zero':return 5;case'lower-roman':return 6;case'upper-roman':return 7;case'lower-greek':return 8;case'lower-alpha':return 9;case'upper-alpha':return 10;case'arabic-indic':return 11;case'armenian':return 12;case'bengali':return 13;case'cambodian':return 14;case'cjk-earthly-branch':return 15;case'cjk-heavenly-stem':return 16;case'cjk-ideographic':return 17;case'devanagari':return 18;case'ethiopic-numeric':return 19;case'georgian':return 20;case'gujarati':return 21;case'gurmukhi':case'hebrew':return 22;case'hiragana':return 23;case'hiragana-iroha':return 24;case'japanese-formal':return 25;case'japanese-informal':return 26;case'kannada':return 27;case'katakana':return 28;case'katakana-iroha':return 29;case'khmer':return 30;case'korean-hangul-formal':return 31;case'korean-hanja-formal':return 32;case'korean-hanja-informal':return 33;case'lao':return 34;case'lower-armenian':return 35;case'malayalam':return 36;case'mongolian':return 37;case'myanmar':return 38;case'oriya':return 39;case'persian':return 40;case'simp-chinese-formal':return 41;case'simp-chinese-informal':return 42;case'tamil':return 43;case'telugu':return 44;case'thai':return 45;case'tibetan':return 46;case'trad-chinese-formal':return 47;case'trad-chinese-informal':return 48;case'upper-armenian':return 49;case'disclosure-open':return 50;case'disclosure-closed':return 51;default:return-1}}},Kq=function(e){return{name:'margin-'+e,initialValue:'0',prefix:!1,type:4}},Vq=Kq('top'),qq=Kq('right'),Gq=Kq('bottom'),Wq=Kq('left'),Yq={name:'overflow',initialValue:'visible',prefix:!1,type:1,parse:function(e,t){return t.filter(oV).map(function(e){switch(e.value){case'hidden':return 1;case'scroll':return 2;case'clip':return 3;case'auto':return 4;default:return 0}})}},Xq={name:'overflow-wrap',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'break-word'===t?'break-word':'normal'}},Jq=function(e){return{name:'padding-'+e,initialValue:'0',prefix:!1,type:3,format:'length-percentage'}},Zq=Jq('top'),$q=Jq('right'),eG=Jq('bottom'),tG=Jq('left'),nG={name:'text-align',initialValue:'left',prefix:!1,type:2,parse:function(e,t){switch(t){case'right':return 2;case'center':case'justify':return 1;default:return 0}}},rG={name:'position',initialValue:'static',prefix:!1,type:2,parse:function(e,t){switch(t){case'relative':return 1;case'absolute':return 2;case'fixed':return 3;case'sticky':return 4}return 0}},iG={name:'text-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&aV(t[0],'none')?[]:cV(t).map(function(t){for(var n={color:NV.TRANSPARENT,offsetX:pV,offsetY:pV,blur:pV},r=0,i=0;i<t.length;i++){var o=t[i];dV(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=jV(e,o)}return n})}},oG={name:'text-transform',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'uppercase':return 2;case'lowercase':return 1;case'capitalize':return 3}return 0}},sG={name:'transform',initialValue:'none',prefix:!0,type:0,parse:function(e,t){if(20===t.type&&'none'===t.value)return null;if(18===t.type){var n=aG[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},aG={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],a=t[13];return t[14],t[15],16===t.length?[n,r,i,o,s,a]:null}},AG={type:16,number:50,flags:4},lG=[AG,AG],cG={name:'transform-origin',initialValue:'50% 50%',prefix:!0,type:1,parse:function(e,t){var n=t.filter(fV);return 2!==n.length?lG:[n[0],n[1]]}},uG={name:'visible',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'hidden':return 1;case'collapse':return 2;default:return 0}}};!function(e){e.NORMAL='normal',e.BREAK_ALL='break-all',e.KEEP_ALL='keep-all'}(Tq||(Tq={}));for(var dG={name:'word-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'break-all':return Tq.BREAK_ALL;case'keep-all':return Tq.KEEP_ALL;default:return Tq.NORMAL}}},fG={name:'z-index',initialValue:'auto',prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(iV(t))return{auto:!1,order:t.number};throw new Error('Invalid z-index number parsed')}},hG=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case's':return 1e3*t.number;case'ms':return t.number}throw new Error('Unsupported time type')},pG={name:'opacity',initialValue:'1',type:0,prefix:!1,parse:function(e,t){return iV(t)?t.number:1}},gG={name:'text-decoration-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},mG={name:'text-decoration-line',initialValue:'none',prefix:!1,type:1,parse:function(e,t){return t.filter(oV).map(function(e){switch(e.value){case'underline':return 1;case'overline':return 2;case'line-through':return 3;case'none':return 4}return 0}).filter(function(e){return 0!==e})}},vG={name:'font-family',initialValue:'',prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(' ')),n.length=0}}),n.length&&r.push(n.join(' ')),r.map(function(e){return-1===e.indexOf(' ')?e:'\''+e+'\''})}},bG={name:'font-size',initialValue:'0',prefix:!1,type:3,format:'length'},yG={name:'font-weight',initialValue:'normal',type:0,prefix:!1,parse:function(e,t){return iV(t)?t.number:oV(t)&&'bold'===t.value?700:400}},wG={name:'font-variant',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return t.filter(oV).map(function(e){return e.value})}},BG={name:'font-style',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'oblique':return'oblique';case'italic':return'italic';default:return'normal'}}},xG=function(e,t){return 0!==(e&t)},CG={name:'content',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t}},_G={name:'counter-increment',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;for(var r=[],i=t.filter(AV),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(20===s.type){var A=a&&iV(a)?a.number:1;r.push({counter:s.value,increment:A})}}return r}},jG={name:'counter-reset',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(AV),i=0;i<r.length;i++){var o=r[i],s=r[i+1];if(oV(o)&&'none'!==o.value){var a=s&&iV(s)?s.number:0;n.push({counter:o.value,reset:a})}}return n}},FG={name:'duration',initialValue:'0s',prefix:!1,type:1,parse:function(e,t){return t.filter(rV).map(function(t){return hG(e,t)})}},EG={name:'quotes',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;var r=[],i=t.filter(sV);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;r.push({open:s,close:a})}return r}},SG=function(e,t,n){if(!e)return'';var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:''},kG={name:'box-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&aV(t[0],'none')?[]:cV(t).map(function(t){for(var n={color:255,offsetX:pV,offsetY:pV,blur:pV,spread:pV,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];aV(o,'inset')?n.inset=!0:dV(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=jV(e,o)}return n})}},UG={name:'paint-order',initialValue:'normal',prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(oV).forEach(function(e){switch(e.value){case'stroke':n.push(1);break;case'fill':n.push(0);break;case'markers':n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},QG={name:'-webkit-text-stroke-color',initialValue:'currentcolor',prefix:!1,type:3,format:'color'},LG={name:'-webkit-text-stroke-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return rV(t)?t.number:0}},OG=function(){function e(e,t){var n,r;this.animationDuration=TG(e,FG,t.animationDuration),this.backgroundClip=TG(e,TV,t.backgroundClip),this.backgroundColor=TG(e,MV,t.backgroundColor),this.backgroundImage=TG(e,rq,t.backgroundImage),this.backgroundOrigin=TG(e,iq,t.backgroundOrigin),this.backgroundPosition=TG(e,oq,t.backgroundPosition),this.backgroundRepeat=TG(e,sq,t.backgroundRepeat),this.backgroundSize=TG(e,lq,t.backgroundSize),this.borderTopColor=TG(e,dq,t.borderTopColor),this.borderRightColor=TG(e,fq,t.borderRightColor),this.borderBottomColor=TG(e,hq,t.borderBottomColor),this.borderLeftColor=TG(e,pq,t.borderLeftColor),this.borderTopLeftRadius=TG(e,mq,t.borderTopLeftRadius),this.borderTopRightRadius=TG(e,vq,t.borderTopRightRadius),this.borderBottomRightRadius=TG(e,bq,t.borderBottomRightRadius),this.borderBottomLeftRadius=TG(e,yq,t.borderBottomLeftRadius),this.borderTopStyle=TG(e,Bq,t.borderTopStyle),this.borderRightStyle=TG(e,xq,t.borderRightStyle),this.borderBottomStyle=TG(e,Cq,t.borderBottomStyle),this.borderLeftStyle=TG(e,_q,t.borderLeftStyle),this.borderTopWidth=TG(e,Fq,t.borderTopWidth),this.borderRightWidth=TG(e,Eq,t.borderRightWidth),this.borderBottomWidth=TG(e,Sq,t.borderBottomWidth),this.borderLeftWidth=TG(e,kq,t.borderLeftWidth),this.boxShadow=TG(e,kG,t.boxShadow),this.color=TG(e,Uq,t.color),this.direction=TG(e,Qq,t.direction),this.display=TG(e,Lq,t.display),this.float=TG(e,Iq,t.cssFloat),this.fontFamily=TG(e,vG,t.fontFamily),this.fontSize=TG(e,bG,t.fontSize),this.fontStyle=TG(e,BG,t.fontStyle),this.fontVariant=TG(e,wG,t.fontVariant),this.fontWeight=TG(e,yG,t.fontWeight),this.letterSpacing=TG(e,Nq,t.letterSpacing),this.lineBreak=TG(e,Mq,t.lineBreak),this.lineHeight=TG(e,Pq,t.lineHeight),this.listStyleImage=TG(e,Rq,t.listStyleImage),this.listStylePosition=TG(e,Hq,t.listStylePosition),this.listStyleType=TG(e,zq,t.listStyleType),this.marginTop=TG(e,Vq,t.marginTop),this.marginRight=TG(e,qq,t.marginRight),this.marginBottom=TG(e,Gq,t.marginBottom),this.marginLeft=TG(e,Wq,t.marginLeft),this.opacity=TG(e,pG,t.opacity);var i=TG(e,Yq,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=TG(e,Xq,t.overflowWrap),this.paddingTop=TG(e,Zq,t.paddingTop),this.paddingRight=TG(e,$q,t.paddingRight),this.paddingBottom=TG(e,eG,t.paddingBottom),this.paddingLeft=TG(e,tG,t.paddingLeft),this.paintOrder=TG(e,UG,t.paintOrder),this.position=TG(e,rG,t.position),this.textAlign=TG(e,nG,t.textAlign),this.textDecorationColor=TG(e,gG,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=TG(e,mG,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=TG(e,iG,t.textShadow),this.textTransform=TG(e,oG,t.textTransform),this.transform=TG(e,sG,t.transform),this.transformOrigin=TG(e,cG,t.transformOrigin),this.visibility=TG(e,uG,t.visibility),this.webkitTextStrokeColor=TG(e,QG,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=TG(e,LG,t.webkitTextStrokeWidth),this.wordBreak=TG(e,dG,t.wordBreak),this.zIndex=TG(e,fG,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return FV(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return xG(this.display,4)||xG(this.display,33554432)||xG(this.display,268435456)||xG(this.display,536870912)||xG(this.display,67108864)||xG(this.display,134217728)},e}(),IG=function(e,t){this.content=TG(e,CG,t.content),this.quotes=TG(e,EG,t.quotes)},NG=function(e,t){this.counterIncrement=TG(e,_G,t.counterIncrement),this.counterReset=TG(e,jG,t.counterReset)},TG=function(e,t,n){var r=new tV,i=null!=n?n.toString():t.initialValue;r.write(i);var o=new nV(r.read());switch(t.type){case 2:var s=o.parseComponentValue();return t.parse(e,oV(s)?s.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case'angle':return BV(e,o.parseComponentValue());case'color':return jV(e,o.parseComponentValue());case'image':return eq(e,o.parseComponentValue());case'length':var a=o.parseComponentValue();return dV(a)?a:pV;case'length-percentage':var A=o.parseComponentValue();return fV(A)?A:pV;case'time':return hG(e,o.parseComponentValue())}}},MG=function(e,t){var n=function(e){switch(e.getAttribute('data-html2canvas-debug')){case'all':return 1;case'clone':return 2;case'parse':return 3;case'render':return 4;default:return 0}}(e);return 1===n||t===n},PG=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,MG(t,3),this.styles=new OG(e,window.getComputedStyle(t,null)),zW(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration='0s'),null!==this.styles.transform&&(t.style.transform='none')),this.bounds=wz(this.context,t),MG(t,4)&&(this.flags|=16)},DG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',RG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),HG=0;HG<64;HG++)RG[DG.charCodeAt(HG)]=HG;for(var zG=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},KG=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),VG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',qG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),GG=0;GG<64;GG++)qG[VG.charCodeAt(GG)]=GG;var WG,YG=8,XG=9,JG=11,ZG=12,$G=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},eW=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=RG[e.charCodeAt(t)],r=RG[e.charCodeAt(t+1)],i=RG[e.charCodeAt(t+2)],o=RG[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=zG(r,12,n[4]/2),o=2===n[5]?zG(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new KG(n[0],n[1],n[2],n[3],i,o)}('AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA='),tW='×',nW=function(e){return eW.get(e)},rW=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],s=t[n];if(2===o&&3===s)return tW;if(2===o||3===o||4===o)return'÷';if(2===s||3===s||4===s)return'÷';if(o===YG&&-1!==[YG,XG,JG,ZG].indexOf(s))return tW;if(!(o!==JG&&o!==XG||s!==XG&&10!==s))return tW;if((o===ZG||10===o)&&10===s)return tW;if(13===s||5===s)return tW;if(7===s)return tW;if(1===o)return tW;if(13===o&&14===s){for(;5===i;)i=t[--r];if(14===i)return tW}if(15===o&&15===s){for(var a=0;15===i;)a++,i=t[--r];if(a%2==0)return tW}return'÷'},iW=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(nW);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=tW;r<n&&(e=rW(0,o,++r))===tW;);if(e!==tW||r===n){var s=$G.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},oW=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},sW=function(e,t,n,r,i){var o='http://www.w3.org/2000/svg',s=document.createElementNS(o,'svg'),a=document.createElementNS(o,'foreignObject');return s.setAttributeNS(null,'width',e.toString()),s.setAttributeNS(null,'height',t.toString()),a.setAttributeNS(null,'width','100%'),a.setAttributeNS(null,'height','100%'),a.setAttributeNS(null,'x',n.toString()),a.setAttributeNS(null,'y',r.toString()),a.setAttributeNS(null,'externalResourcesRequired','true'),s.appendChild(a),a.appendChild(i),s},aW=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},AW={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement('boundtest');n.style.height='123px',n.style.display='block',e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(AW,'SUPPORT_RANGE_BOUNDS',{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=AW.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement('boundtest');t.style.width='50px',t.style.display='block',t.style.fontSize='12px',t.style.letterSpacing='0px',t.style.wordSpacing='0px',e.body.appendChild(t);var n=e.createRange();t.innerHTML='function'==typeof''.repeat?'&#128104;'.repeat(10):'';var r=t.firstChild,i=Bz(r.data).map(function(e){return xz(e)}),o=0,s={},a=i.every(function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var a=i.x>s.x||i.y>s.y;return s=i,0===t||a});return e.body.removeChild(t),a}(document);return Object.defineProperty(AW,'SUPPORT_WORD_BREAKING',{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement('canvas'),r=n.getContext('2d');if(!r)return!1;t.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\'></svg>';try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(AW,'SUPPORT_SVG_DRAWING',{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e='function'==typeof Array.from&&'function'==typeof window.fetch?function(e){var t=e.createElement('canvas'),n=100;t.width=n,t.height=n;var r=t.getContext('2d');if(!r)return Promise.reject(!1);r.fillStyle='rgb(0, 255, 0)',r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var s=sW(n,n,0,0,i);return r.fillStyle='red',r.fillRect(0,0,n,n),aW(s).then(function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle='red',r.fillRect(0,0,n,n);var s=e.createElement('div');return s.style.backgroundImage='url('+o+')',s.style.height=n+'px',oW(i)?aW(sW(n,n,0,0,s)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),oW(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(AW,'SUPPORT_FOREIGNOBJECT_DRAWING',{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(AW,'SUPPORT_CORS_IMAGES',{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e='string'==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(AW,'SUPPORT_RESPONSE_TYPE',{value:e}),e},get SUPPORT_CORS_XHR(){var e='withCredentials'in new XMLHttpRequest;return Object.defineProperty(AW,'SUPPORT_CORS_XHR',{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!('undefined'==typeof Intl||!Intl.Segmenter);return Object.defineProperty(AW,'SUPPORT_NATIVE_TEXT_SEGMENTATION',{value:e}),e}},lW=function(e,t){this.text=e,this.bounds=t},cW=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement('html2canvaswrapper');r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=wz(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return yz.EMPTY},uW=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error('Node has no owner document');var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},dW=function(e){if(AW.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:'grapheme'});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=iW(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},fW=function(e,t){return 0!==t.letterSpacing?dW(e):function(e,t){if(AW.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:'word'});return Array.from(n.segment(e)).map(function(e){return e.segment})}return pW(e,t)}(e,t)},hW=[32,160,4961,65792,65793,4153,4241],pW=function(e,t){for(var n,r=function(e,t){var n=Bz(e),r=bK(n,t),i=r[0],o=r[1],s=r[2],a=n.length,A=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};for(var e=sK;l<a&&(e=vK(n,o,i,++l,s))===sK;);if(e!==sK||l===a){var t=new yK(n,e,A,l);return A=l,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:'break-word'===t.overflowWrap?'break-word':t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=Bz(e),r='';t.forEach(function(e){-1===hW.indexOf(e)?r+=xz(e):(r.length&&i.push(r),i.push(xz(e)),r='')}),r.length&&i.push(r)}};!(n=r.next()).done;)o();return i},gW=function(e,t,n){this.text=mW(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var i=fW(t,n),o=[],s=0;return i.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(AW.SUPPORT_RANGE_BOUNDS){var i=uW(r,s,t.length).getClientRects();if(i.length>1){var a=dW(t),A=0;a.forEach(function(t){o.push(new lW(t,yz.fromDOMRectList(e,uW(r,A+s,t.length).getClientRects()))),A+=t.length})}else o.push(new lW(t,yz.fromDOMRectList(e,i)))}else{var l=r.splitText(t.length);o.push(new lW(t,cW(e,r))),r=l}else AW.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length}),o}(e,this.text,n,t)},mW=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(vW,bW);case 2:return e.toUpperCase();default:return e}},vW=/(^|\s|:|-|\(|\))([a-z])/g,bW=function(e,t,n){return e.length>0?t+n.toUpperCase():e},yW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return gz(t,e),t}(PG),wW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return gz(t,e),t}(PG),BW=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=wz(t,n);return n.setAttribute('width',o.width+'px'),n.setAttribute('height',o.height+'px'),r.svg='data:image/svg+xml,'+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return gz(t,e),t}(PG),xW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return gz(t,e),t}(PG),CW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed='boolean'==typeof n.reversed&&!0===n.reversed,r}return gz(t,e),t}(PG),_W=[{type:15,flags:0,unit:'px',number:3}],jW=[{type:16,flags:0,number:50}],FW='checkbox',EW='radio',SW='password',kW=707406591,UW=function(e){function t(t,n){var r,i,o,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(r=n).type===SW?new Array(r.value.length+1).join('•'):r.value).length?r.placeholder||'':i,s.type!==FW&&s.type!==EW||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(o=s.bounds).width>o.height?new yz(o.left+(o.width-o.height)/2,o.top,o.height,o.height):o.width<o.height?new yz(o.left,o.top+(o.height-o.width)/2,o.width,o.width):o),s.type){case FW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=_W;break;case EW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=jW}return s}return gz(t,e),t}(PG),QW=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||'',r}return gz(t,e),t}(PG),LW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return gz(t,e),t}(PG),OW=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=MW(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?IV(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):NV.TRANSPARENT,o=n.contentWindow.document.body?IV(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):NV.TRANSPARENT;r.backgroundColor=FV(i)?FV(o)?r.styles.backgroundColor:o:i}}catch(e){}return r}return gz(t,e),t}(PG),IW=['OL','UL','MENU'],NW=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,RW(i)&&i.data.trim().length>0)n.textNodes.push(new gW(e,i,n.styles));else if(HW(i))if(rY(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return NW(e,t,n,r)});else{var s=TW(e,i);s.styles.isVisible()&&(PW(i,s,r)?s.flags|=4:DW(s.styles)&&(s.flags|=2),-1!==IW.indexOf(i.tagName)&&(s.flags|=8),n.elements.push(s),i.slot,i.shadowRoot?NW(e,i.shadowRoot,s,r):tY(i)||WW(i)||nY(i)||NW(e,i,s,r))}},TW=function(e,t){return ZW(t)?new yW(e,t):XW(t)?new wW(e,t):WW(t)?new BW(e,t):VW(t)?new xW(e,t):qW(t)?new CW(e,t):GW(t)?new UW(e,t):nY(t)?new QW(e,t):tY(t)?new LW(e,t):$W(t)?new OW(e,t):new PG(e,t)},MW=function(e,t){var n=TW(e,t);return n.flags|=4,NW(e,t,n,n),n},PW=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||YW(e)&&n.styles.isTransparent()},DW=function(e){return e.isPositioned()||e.isFloating()},RW=function(e){return e.nodeType===Node.TEXT_NODE},HW=function(e){return e.nodeType===Node.ELEMENT_NODE},zW=function(e){return HW(e)&&void 0!==e.style&&!KW(e)},KW=function(e){return'object'==typeof e.className},VW=function(e){return'LI'===e.tagName},qW=function(e){return'OL'===e.tagName},GW=function(e){return'INPUT'===e.tagName},WW=function(e){return'svg'===e.tagName},YW=function(e){return'BODY'===e.tagName},XW=function(e){return'CANVAS'===e.tagName},JW=function(e){return'VIDEO'===e.tagName},ZW=function(e){return'IMG'===e.tagName},$W=function(e){return'IFRAME'===e.tagName},eY=function(e){return'STYLE'===e.tagName},tY=function(e){return'TEXTAREA'===e.tagName},nY=function(e){return'SELECT'===e.tagName},rY=function(e){return'SLOT'===e.tagName},iY=function(e){return e.tagName.indexOf('-')>0},oY=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),sY={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:['M','CM','D','CD','C','XC','L','XL','X','IX','V','IV','I']},aY={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['Ք','Փ','Ւ','Ց','Ր','Տ','Վ','Ս','Ռ','Ջ','Պ','Չ','Ո','Շ','Ն','Յ','Մ','Ճ','Ղ','Ձ','Հ','Կ','Ծ','Խ','Լ','Ի','Ժ','Թ','Ը','Է','Զ','Ե','Դ','Գ','Բ','Ա']},AY={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:['י׳','ט׳','ח׳','ז׳','ו׳','ה׳','ד׳','ג׳','ב׳','א׳','ת','ש','ר','ק','צ','פ','ע','ס','נ','מ','ל','כ','יט','יח','יז','טז','טו','י','ט','ח','ז','ו','ה','ד','ג','ב','א']},lY={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['ჵ','ჰ','ჯ','ჴ','ხ','ჭ','წ','ძ','ც','ჩ','შ','ყ','ღ','ქ','ფ','ჳ','ტ','ს','რ','ჟ','პ','ო','ჲ','ნ','მ','ლ','კ','ი','თ','ჱ','ზ','ვ','ე','დ','გ','ბ','ა']},cY=function(e,t,n,r,i,o){return e<t||e>n?bY(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},'')+o},uY=function(e,t,n,r){var i='';do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},dY=function(e,t,n,r,i){var o=n-t+1;return(e<0?'-':'')+(uY(Math.abs(e),o,r,function(e){return xz(Math.floor(e%o)+t)})+i)},fY=function(e,t,n){void 0===n&&(n='. ');var r=t.length;return uY(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},hY=function(e,t,n,r,i,o){if(e<-9999||e>9999)return bY(e,4,i.length>0);var s=Math.abs(e),a=i;if(0===s)return t[0]+a;for(var A=0;s>0&&A<=4;A++){var l=s%10;0===l&&xG(o,1)&&''!==a?a=t[l]+a:l>1||1===l&&0===A||1===l&&1===A&&xG(o,2)||1===l&&1===A&&xG(o,4)&&e>100||1===l&&A>1&&xG(o,8)?a=t[l]+(A>0?n[A-1]:'')+a:1===l&&A>0&&(a=n[A-1]+a),s=Math.floor(s/10)}return(e<0?r:'')+a},pY='十百千萬',gY='拾佰仟萬',mY='マイナス',vY='마이너스',bY=function(e,t,n){var r=n?'. ':'',i=n?'、':'',o=n?', ':'',s=n?' ':'';switch(t){case 0:return'•'+s;case 1:return'◦'+s;case 2:return'◾'+s;case 5:var a=dY(e,48,57,!0,r);return a.length<4?'0'+a:a;case 4:return fY(e,'〇一二三四五六七八九',i);case 6:return cY(e,1,3999,sY,3,r).toLowerCase();case 7:return cY(e,1,3999,sY,3,r);case 8:return dY(e,945,969,!1,r);case 9:return dY(e,97,122,!1,r);case 10:return dY(e,65,90,!1,r);case 11:return dY(e,1632,1641,!0,r);case 12:case 49:return cY(e,1,9999,aY,3,r);case 35:return cY(e,1,9999,aY,3,r).toLowerCase();case 13:return dY(e,2534,2543,!0,r);case 14:case 30:return dY(e,6112,6121,!0,r);case 15:return fY(e,'子丑寅卯辰巳午未申酉戌亥',i);case 16:return fY(e,'甲乙丙丁戊己庚辛壬癸',i);case 17:case 48:return hY(e,'零一二三四五六七八九',pY,'負',i,14);case 47:return hY(e,'零壹貳參肆伍陸柒捌玖',gY,'負',i,15);case 42:return hY(e,'零一二三四五六七八九',pY,'负',i,14);case 41:return hY(e,'零壹贰叁肆伍陆柒捌玖',gY,'负',i,15);case 26:return hY(e,'〇一二三四五六七八九','十百千万',mY,i,0);case 25:return hY(e,'零壱弐参四伍六七八九','拾百千万',mY,i,7);case 31:return hY(e,'영일이삼사오육칠팔구','십백천만',vY,o,7);case 33:return hY(e,'零一二三四五六七八九','十百千萬',vY,o,0);case 32:return hY(e,'零壹貳參四五六七八九','拾百千',vY,o,7);case 18:return dY(e,2406,2415,!0,r);case 20:return cY(e,1,19999,lY,3,r);case 21:return dY(e,2790,2799,!0,r);case 22:return dY(e,2662,2671,!0,r);case 22:return cY(e,1,10999,AY,3,r);case 23:return fY(e,'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん');case 24:return fY(e,'いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす');case 27:return dY(e,3302,3311,!0,r);case 28:return fY(e,'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン',i);case 29:return fY(e,'イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス',i);case 34:return dY(e,3792,3801,!0,r);case 37:return dY(e,6160,6169,!0,r);case 38:return dY(e,4160,4169,!0,r);case 39:return dY(e,2918,2927,!0,r);case 40:return dY(e,1776,1785,!0,r);case 43:return dY(e,3046,3055,!0,r);case 44:return dY(e,3174,3183,!0,r);case 45:return dY(e,3664,3673,!0,r);case 46:return dY(e,3872,3881,!0,r);default:return dY(e,48,57,!0,r)}},yY='data-html2canvas-ignore',wY=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new oY,this.quoteDepth=0,!t.ownerDocument)throw new Error('Cloned element does not have an owner document');this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=xY(e,t);if(!r.contentWindow)return Promise.reject('Unable to find iframe window');var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,s=r.contentWindow,a=s.document,A=jY(r).then(function(){return vz(n,void 0,void 0,function(){var e,n;return bz(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(UY),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn('Unable to restore scroll position for cloned document'),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject('Error finding the '+this.referenceElement.nodeName+' in the cloned document')]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,_Y(a)]:[3,4];case 3:i.sent(),i.label=4;case 4:return'function'==typeof e?[2,Promise.resolve().then(function(){return e(a,n)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write(SY(document.doctype)+'<html></html>'),kY(this.referenceElement.ownerDocument,i,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),A},e.prototype.createElementClone=function(e){if(MG(e,2),XW(e))return this.createCanvasClone(e);if(JW(e))return this.createVideoClone(e);if(eY(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ZW(t)&&(ZW(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=''),'lazy'===t.loading&&(t.loading='eager')),iY(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement('html2canvascustomelement');return EY(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&'string'==typeof t.cssText?e+t.cssText:e},''),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error('Unable to access cssRules property',e),'SecurityError'!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement('img');try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info('Unable to inline canvas contents, canvas is tainted',e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext('2d'),o=r.getContext('2d');if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext('webgl2'))&&void 0!==t?t:e.getContext('webgl');if(s){var a=s.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn('Unable to clone WebGL context as it has preserveDrawingBuffer=false',e)}o.drawImage(e,0,0)}return r}catch(t){this.context.logger.info('Unable to clone canvas as it is tainted',e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement('canvas');t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext('2d');try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info('Unable to clone video as it is tainted',e)}var r=e.ownerDocument.createElement('canvas');return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){HW(t)&&('SCRIPT'===t.tagName||t.hasAttribute(yY)||'function'==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&HW(t)&&eY(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(HW(i)&&rY(i)&&'function'==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(RW(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&HW(e)&&(zW(e)||KW(e))){var r=this.createElementClone(e);r.style.transitionProperty='none';var i=n.getComputedStyle(e),o=n.getComputedStyle(e,':before'),s=n.getComputedStyle(e,':after');this.referenceElement===e&&zW(r)&&(this.clonedReferenceElement=r),YW(r)&&IY(r);var a=this.counters.parse(new NG(this.context,i)),A=this.resolvePseudoContent(e,r,o,WG.BEFORE);iY(e)&&(t=!0),JW(e)||this.cloneChildNodes(e,r,t),A&&r.insertBefore(A,r.firstChild);var l=this.resolvePseudoContent(e,r,s,WG.AFTER);return l&&r.appendChild(l),this.counters.pop(a),(i&&(this.options.copyStyles||KW(e))&&!$W(e)||t)&&EY(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(tY(e)||nY(e))&&(tY(r)||nY(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,s=t.ownerDocument;if(s&&o&&'none'!==o&&'-moz-alt-content'!==o&&'none'!==n.display){this.counters.parse(new NG(this.context,n));var a=new IG(this.context,n),A=s.createElement('html2canvaspseudoelement');EY(n,A),a.content.forEach(function(t){if(0===t.type)A.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement('img');n.src=t.value,n.style.opacity='1',A.appendChild(n)}else if(18===t.type){if('attr'===t.name){var r=t.values.filter(oV);r.length&&A.appendChild(s.createTextNode(e.getAttribute(r[0].value)||''))}else if('counter'===t.name){var o=t.values.filter(lV),l=o[0],c=o[1];if(l&&oV(l)){var u=i.counters.getCounterValue(l.value),d=c&&oV(c)?zq.parse(i.context,c.value):3;A.appendChild(s.createTextNode(bY(u,d,!1)))}}else if('counters'===t.name){var f=t.values.filter(lV),h=(l=f[0],f[1]);c=f[2];if(l&&oV(l)){var p=i.counters.getCounterValues(l.value),g=c&&oV(c)?zq.parse(i.context,c.value):3,m=h&&0===h.type?h.value:'',v=p.map(function(e){return bY(e,g,!1)}).join(m);A.appendChild(s.createTextNode(v))}}}else if(20===t.type)switch(t.value){case'open-quote':A.appendChild(s.createTextNode(SG(a.quotes,i.quoteDepth++,!0)));break;case'close-quote':A.appendChild(s.createTextNode(SG(a.quotes,--i.quoteDepth,!1)));break;default:A.appendChild(s.createTextNode(t.value))}}),A.className=QY+' '+LY;var l=r===WG.BEFORE?' '+QY:' '+LY;return KW(t)?t.className.baseValue+=l:t.className+=l,A}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]='BEFORE',e[e.AFTER=1]='AFTER'}(WG||(WG={}));var BY,xY=function(e,t){var n=e.createElement('iframe');return n.className='html2canvas-container',n.style.visibility='hidden',n.style.position='fixed',n.style.left='-10000px',n.style.top='0px',n.style.border='0',n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling='no',n.setAttribute(yY,'true'),e.body.appendChild(n),n},CY=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},_Y=function(e){return Promise.all([].slice.call(e.images,0).map(CY))},jY=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n('No window assigned for iframe');var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&'complete'===i.readyState&&(clearInterval(n),t(e))},50)}})},FY=['all','d','content'],EY=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===FY.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},SY=function(e){var t='';return e&&(t+='<!DOCTYPE ',e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+='>'),t},kY=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},UY=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},QY='___html2canvas___pseudoelement_before',LY='___html2canvas___pseudoelement_after',OY='{\n content: "" !important;\n display: none !important;\n}',IY=function(e){NY(e,'.'+QY+':before'+OY+'\n .'+LY+':after'+OY)},NY=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement('style');r.textContent=t,e.appendChild(r)}},TY=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):'about:blank'},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement('a'),e._origin=e.getOrigin(t.location.href)},e._origin='about:blank',e}(),MY=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:VY(e)||HY(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return vz(this,void 0,void 0,function(){var t,n,r,i,o=this;return bz(this,function(s){switch(s.label){case 0:return t=TY.isSameOrigin(e),n=!zY(e)&&!0===this._options.useCORS&&AW.SUPPORT_CORS_IMAGES&&!t,r=!zY(e)&&!t&&!VY(e)&&'string'==typeof this._options.proxy&&AW.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||zY(e)||VY(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug('Added image '+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(KY(i)||n)&&(r.crossOrigin='anonymous'),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),o._options.imageTimeout>0&&setTimeout(function(){return t('Timed out ('+o._options.imageTimeout+'ms) loading image')},o._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error('No proxy defined');var r=e.substring(0,256);return new Promise(function(i,o){var s=AW.SUPPORT_RESPONSE_TYPE?'blob':'text',a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if('text'===s)i(a.response);else{var e=new FileReader;e.addEventListener('load',function(){return i(e.result)},!1),e.addEventListener('error',function(e){return o(e)},!1),e.readAsDataURL(a.response)}else o('Failed to proxy resource '+r+' with status code '+a.status)},a.onerror=o;var A=n.indexOf('?')>-1?'&':'?';if(a.open('GET',''+n+A+'url='+encodeURIComponent(e)+'&responseType='+s),'text'!==s&&a instanceof XMLHttpRequest&&(a.responseType=s),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o('Timed out ('+l+'ms) proxying '+r)}}a.send()})},e}(),PY=/^data:image\/svg\+xml/i,DY=/^data:image\/.*;base64,/i,RY=/^data:image\/.*/i,HY=function(e){return AW.SUPPORT_SVG_DRAWING||!qY(e)},zY=function(e){return RY.test(e)},KY=function(e){return DY.test(e)},VY=function(e){return'blob'===e.substr(0,4)},qY=function(e){return'svg'===e.substr(-3).toLowerCase()||PY.test(e)},GY=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),WY=function(e,t,n){return new GY(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},YY=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=WY(this.start,this.startControl,t),i=WY(this.startControl,this.endControl,t),o=WY(this.endControl,this.end,t),s=WY(r,i,t),a=WY(i,o,t),A=WY(s,a,t);return n?new e(this.start,r,s,A):new e(A,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),XY=function(e){return 1===e.type},JY=function(e){var t=e.styles,n=e.bounds,r=vV(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],s=vV(t.borderTopRightRadius,n.width,n.height),a=s[0],A=s[1],l=vV(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=vV(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((i+a)/n.width),p.push((f+c)/n.width),p.push((o+h)/n.height),p.push((A+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,o/=g,a/=g,A/=g,c/=g,u/=g,f/=g,h/=g);var m=n.width-a,v=n.height-u,b=n.width-c,y=n.height-h,w=t.borderTopWidth,B=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,_=bV(t.paddingTop,e.bounds.width),j=bV(t.paddingRight,e.bounds.width),F=bV(t.paddingBottom,e.bounds.width),E=bV(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?ZY(n.left+C/3,n.top+w/3,i-C/3,o-w/3,BY.TOP_LEFT):new GY(n.left+C/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?ZY(n.left+m,n.top+w/3,a-B/3,A-w/3,BY.TOP_RIGHT):new GY(n.left+n.width-B/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?ZY(n.left+b,n.top+v,c-B/3,u-x/3,BY.BOTTOM_RIGHT):new GY(n.left+n.width-B/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?ZY(n.left+C/3,n.top+y,f-C/3,h-x/3,BY.BOTTOM_LEFT):new GY(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?ZY(n.left+2*C/3,n.top+2*w/3,i-2*C/3,o-2*w/3,BY.TOP_LEFT):new GY(n.left+2*C/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?ZY(n.left+m,n.top+2*w/3,a-2*B/3,A-2*w/3,BY.TOP_RIGHT):new GY(n.left+n.width-2*B/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?ZY(n.left+b,n.top+v,c-2*B/3,u-2*x/3,BY.BOTTOM_RIGHT):new GY(n.left+n.width-2*B/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?ZY(n.left+2*C/3,n.top+y,f-2*C/3,h-2*x/3,BY.BOTTOM_LEFT):new GY(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?ZY(n.left+C/2,n.top+w/2,i-C/2,o-w/2,BY.TOP_LEFT):new GY(n.left+C/2,n.top+w/2),this.topRightBorderStroke=i>0||o>0?ZY(n.left+m,n.top+w/2,a-B/2,A-w/2,BY.TOP_RIGHT):new GY(n.left+n.width-B/2,n.top+w/2),this.bottomRightBorderStroke=c>0||u>0?ZY(n.left+b,n.top+v,c-B/2,u-x/2,BY.BOTTOM_RIGHT):new GY(n.left+n.width-B/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||h>0?ZY(n.left+C/2,n.top+y,f-C/2,h-x/2,BY.BOTTOM_LEFT):new GY(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?ZY(n.left,n.top,i,o,BY.TOP_LEFT):new GY(n.left,n.top),this.topRightBorderBox=a>0||A>0?ZY(n.left+m,n.top,a,A,BY.TOP_RIGHT):new GY(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?ZY(n.left+b,n.top+v,c,u,BY.BOTTOM_RIGHT):new GY(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?ZY(n.left,n.top+y,f,h,BY.BOTTOM_LEFT):new GY(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?ZY(n.left+C,n.top+w,Math.max(0,i-C),Math.max(0,o-w),BY.TOP_LEFT):new GY(n.left+C,n.top+w),this.topRightPaddingBox=a>0||A>0?ZY(n.left+Math.min(m,n.width-B),n.top+w,m>n.width+B?0:Math.max(0,a-B),Math.max(0,A-w),BY.TOP_RIGHT):new GY(n.left+n.width-B,n.top+w),this.bottomRightPaddingBox=c>0||u>0?ZY(n.left+Math.min(b,n.width-C),n.top+Math.min(v,n.height-x),Math.max(0,c-B),Math.max(0,u-x),BY.BOTTOM_RIGHT):new GY(n.left+n.width-B,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||h>0?ZY(n.left+C,n.top+Math.min(y,n.height-x),Math.max(0,f-C),Math.max(0,h-x),BY.BOTTOM_LEFT):new GY(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?ZY(n.left+C+E,n.top+w+_,Math.max(0,i-(C+E)),Math.max(0,o-(w+_)),BY.TOP_LEFT):new GY(n.left+C+E,n.top+w+_),this.topRightContentBox=a>0||A>0?ZY(n.left+Math.min(m,n.width+C+E),n.top+w+_,m>n.width+C+E?0:a-C+E,A-(w+_),BY.TOP_RIGHT):new GY(n.left+n.width-(B+j),n.top+w+_),this.bottomRightContentBox=c>0||u>0?ZY(n.left+Math.min(b,n.width-(C+E)),n.top+Math.min(v,n.height+w+_),Math.max(0,c-(B+j)),u-(x+F),BY.BOTTOM_RIGHT):new GY(n.left+n.width-(B+j),n.top+n.height-(x+F)),this.bottomLeftContentBox=f>0||h>0?ZY(n.left+C+E,n.top+y,Math.max(0,f-(C+E)),h-(x+F),BY.BOTTOM_LEFT):new GY(n.left+C+E,n.top+n.height-(x+F))};!function(e){e[e.TOP_LEFT=0]='TOP_LEFT',e[e.TOP_RIGHT=1]='TOP_RIGHT',e[e.BOTTOM_RIGHT=2]='BOTTOM_RIGHT',e[e.BOTTOM_LEFT=3]='BOTTOM_LEFT'}(BY||(BY={}));var ZY=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,s=n*o,a=r*o,A=e+n,l=t+r;switch(i){case BY.TOP_LEFT:return new YY(new GY(e,l),new GY(e,l-a),new GY(A-s,t),new GY(A,t));case BY.TOP_RIGHT:return new YY(new GY(e,t),new GY(e+s,t),new GY(A,l-a),new GY(A,l));case BY.BOTTOM_RIGHT:return new YY(new GY(A,t),new GY(A,t+a),new GY(e+s,l),new GY(e,l));case BY.BOTTOM_LEFT:default:return new YY(new GY(A,l),new GY(A-s,l),new GY(e,t+a),new GY(e,t))}},$Y=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},eX=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},tX=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},nX=function(e,t){this.path=e,this.target=t,this.type=1},rX=function(e){this.opacity=e,this.type=2,this.target=6},iX=function(e){return 1===e.type},oX=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},sX=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},aX=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new JY(this.container),this.container.styles.opacity<1&&this.effects.push(new rX(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new tX(n,r,i))}if(0!==this.container.styles.overflowX){var o=$Y(this.curves),s=eX(this.curves);oX(o,s)?this.effects.push(new nX(o,6)):(this.effects.push(new nX(o,2)),this.effects.push(new nX(s,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!iX(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=$Y(n.curves),s=eX(n.curves);oX(o,s)||r.unshift(new nX(s,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return xG(t.target,e)})},e}(),AX=function(e,t,n,r){e.container.elements.forEach(function(i){var o=xG(i.flags,4),s=xG(i.flags,2),a=new aX(i,e);xG(i.styles.display,2048)&&r.push(a);var A=xG(i.flags,8)?[]:r;if(o||s){var l=o||i.styles.isPositioned()?n:t,c=new sX(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),l.negativeZIndex.splice(d,0,c)}else if(u>0){var f=0;l.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);AX(a,c,o?c:n,A)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),AX(a,t,n,A);xG(i.flags,8)&&lX(i,A)})},lX=function(e,t){for(var n=e instanceof CW?e.start:1,r=e instanceof CW&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof xW&&'number'==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=bY(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},cX=function(e,t){switch(t){case 0:return dX(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return dX(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return dX(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return dX(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},uX=function(e,t){var n=[];return XY(e)?n.push(e.subdivide(.5,!1)):n.push(e),XY(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},dX=function(e,t,n,r){var i=[];return XY(e)?i.push(e.subdivide(.5,!1)):i.push(e),XY(n)?i.push(n.subdivide(.5,!0)):i.push(n),XY(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),XY(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},fX=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},hX=function(e){var t=e.styles,n=e.bounds,r=bV(t.paddingLeft,n.width),i=bV(t.paddingRight,n.width),o=bV(t.paddingTop,n.width),s=bV(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+s))},pX=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?hX(t):fX(t)}(bX(e.styles.backgroundOrigin,t),e),i=function(e,t){return 0===e?t.bounds:2===e?hX(t):fX(t)}(bX(e.styles.backgroundClip,t),e),o=vX(bX(e.styles.backgroundSize,t),n,r),s=o[0],a=o[1],A=vV(bX(e.styles.backgroundPosition,t),r.width-s,r.height-a);return[yX(bX(e.styles.backgroundRepeat,t),A,o,r,i),Math.round(r.left+A[0]),Math.round(r.top+A[1]),s,a]},gX=function(e){return oV(e)&&e.value===tq.AUTO},mX=function(e){return'number'==typeof e},vX=function(e,t,n){var r=t[0],i=t[1],o=t[2],s=e[0],a=e[1];if(!s)return[0,0];if(fV(s)&&a&&fV(a))return[bV(s,n.width),bV(a,n.height)];var A=mX(o);if(oV(s)&&(s.value===tq.CONTAIN||s.value===tq.COVER))return mX(o)?n.width/n.height<o!=(s.value===tq.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var l=mX(r),c=mX(i),u=l||c;if(gX(s)&&(!a||gX(a)))return l&&c?[r,i]:A||u?u&&A?[l?r:i*o,c?i:r/o]:[l?r:n.width,c?i:n.height]:[n.width,n.height];if(A){var d=0,f=0;return fV(s)?d=bV(s,n.width):fV(a)&&(f=bV(a,n.height)),gX(s)?d=f*o:a&&!gX(a)||(f=d/o),[d,f]}var h=null,p=null;if(fV(s)?h=bV(s,n.width):a&&fV(a)&&(p=bV(a,n.height)),null===h||a&&!gX(a)||(p=l&&c?h/r*i:n.height),null!==p&&gX(s)&&(h=l&&c?p/i*r:n.width),null!==h&&null!==p)return[h,p];throw new Error('Unable to calculate background-size for element')},bX=function(e,t){var n=e[t];return void 0===n?e[0]:n},yX=function(e,t,n,r,i){var o=t[0],s=t[1],a=n[0],A=n[1];switch(e){case 2:return[new GY(Math.round(r.left),Math.round(r.top+s)),new GY(Math.round(r.left+r.width),Math.round(r.top+s)),new GY(Math.round(r.left+r.width),Math.round(A+r.top+s)),new GY(Math.round(r.left),Math.round(A+r.top+s))];case 3:return[new GY(Math.round(r.left+o),Math.round(r.top)),new GY(Math.round(r.left+o+a),Math.round(r.top)),new GY(Math.round(r.left+o+a),Math.round(r.height+r.top)),new GY(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new GY(Math.round(r.left+o),Math.round(r.top+s)),new GY(Math.round(r.left+o+a),Math.round(r.top+s)),new GY(Math.round(r.left+o+a),Math.round(r.top+s+A)),new GY(Math.round(r.left+o),Math.round(r.top+s+A))];default:return[new GY(Math.round(i.left),Math.round(i.top)),new GY(Math.round(i.left+i.width),Math.round(i.top)),new GY(Math.round(i.left+i.width),Math.round(i.height+i.top)),new GY(Math.round(i.left),Math.round(i.height+i.top))]}},wX='Hidden Text',BX=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement('div'),r=this._document.createElement('img'),i=this._document.createElement('span'),o=this._document.body;n.style.visibility='hidden',n.style.fontFamily=e,n.style.fontSize=t,n.style.margin='0',n.style.padding='0',n.style.whiteSpace='nowrap',o.appendChild(n),r.src='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',r.width=1,r.height=1,r.style.margin='0',r.style.padding='0',r.style.verticalAlign='baseline',i.style.fontFamily=e,i.style.fontSize=t,i.style.margin='0',i.style.padding='0',i.appendChild(this._document.createTextNode(wX)),n.appendChild(i),n.appendChild(r);var s=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(wX)),n.style.lineHeight='normal',r.style.verticalAlign='super';var a=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:s,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+' '+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),xX=function(e,t){this.context=e,this.options=t},CX=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px'),r.fontMetrics=new BX(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline='bottom',r._activeEffects=[],r.context.logger.debug('Canvas renderer initialized ('+n.width+'x'+n.height+') with scale '+n.scale),r}return gz(t,e),t.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},t.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),iX(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return vz(this,void 0,void 0,function(){return bz(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return vz(this,void 0,void 0,function(){return bz(this,function(t){switch(t.label){case 0:return xG(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):dW(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},t.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return'normal'===e||'small-caps'===e}).join(''),n=SX(e.fontFamily).join(', '),r=rV(e.fontSize)?''+e.fontSize.number+e.fontSize.unit:e.fontSize.number+'px';return[[e.fontStyle,t,e.fontWeight,r,n].join(' '),n,r]},t.prototype.renderTextNode=function(e,t){return vz(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c=this;return bz(this,function(u){return n=this.createFontStyle(t),r=n[0],i=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?'rtl':'ltr',this.ctx.textAlign='left',this.ctx.textBaseline='alphabetic',s=this.fontMetrics.getMetrics(i,o),a=s.baseline,A=s.middle,l=t.paintOrder,e.textBounds.forEach(function(e){l.forEach(function(n){switch(n){case 0:c.ctx.fillStyle=EV(t.color),c.renderTextWithLetterSpacing(e,t.letterSpacing,a);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){c.ctx.shadowColor=EV(n.color),c.ctx.shadowOffsetX=n.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=n.offsetY.number*c.options.scale,c.ctx.shadowBlur=n.blur.number,c.renderTextWithLetterSpacing(e,t.letterSpacing,a)}),c.ctx.shadowColor='',c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),t.textDecorationLine.length&&(c.ctx.fillStyle=EV(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+a),e.bounds.width,1);break;case 2:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:c.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+A),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(c.ctx.strokeStyle=EV(t.webkitTextStrokeColor),c.ctx.lineWidth=t.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?'miter':'round',c.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+a)),c.ctx.strokeStyle='',c.ctx.lineWidth=0,c.ctx.lineJoin='miter'}})}),[2]})})},t.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=hX(e),i=eX(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return vz(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b;return bz(this,function(y){switch(y.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,o=0,s=n.textNodes,y.label=1;case 1:return o<s.length?(a=s[o],[4,this.renderTextNode(a,i)]):[3,4];case 2:y.sent(),y.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof yW))return[3,8];y.label=5;case 5:return y.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,8];case 7:return y.sent(),this.context.logger.error('Error loading image '+n.src),[3,8];case 8:if(n instanceof wW&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof BW))return[3,12];y.label=9;case 9:return y.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,12];case 11:return y.sent(),this.context.logger.error('Error loading svg '+n.svg.substring(0,255)),[3,12];case 12:return n instanceof OW&&n.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree)]:[3,14];case 13:A=y.sent(),n.width&&n.height&&this.ctx.drawImage(A,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),y.label=14;case 14:if(n instanceof UW&&(l=Math.min(n.bounds.width,n.bounds.height),n.type===FW?n.checked&&(this.ctx.save(),this.path([new GY(n.bounds.left+.39363*l,n.bounds.top+.79*l),new GY(n.bounds.left+.16*l,n.bounds.top+.5549*l),new GY(n.bounds.left+.27347*l,n.bounds.top+.44071*l),new GY(n.bounds.left+.39694*l,n.bounds.top+.5649*l),new GY(n.bounds.left+.72983*l,n.bounds.top+.23*l),new GY(n.bounds.left+.84*l,n.bounds.top+.34085*l),new GY(n.bounds.left+.39363*l,n.bounds.top+.79*l)]),this.ctx.fillStyle=EV(kW),this.ctx.fill(),this.ctx.restore()):n.type===EW&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+l/2,n.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=EV(kW),this.ctx.fill(),this.ctx.restore())),_X(n)&&n.value.length){switch(c=this.createFontStyle(i),v=c[0],u=c[1],d=this.fontMetrics.getMetrics(v,u).baseline,this.ctx.font=v,this.ctx.fillStyle=EV(i.color),this.ctx.textBaseline='alphabetic',this.ctx.textAlign=FX(n.styles.textAlign),b=hX(n),f=0,n.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width}h=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new GY(b.left,b.top),new GY(b.left+b.width,b.top),new GY(b.left+b.width,b.top+b.height),new GY(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new lW(n.value,h),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline='alphabetic',this.ctx.textAlign='left'}if(!xG(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if(0!==(p=n.styles.listStyleImage).type)return[3,18];g=void 0,m=p.url,y.label=15;case 15:return y.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return g=y.sent(),this.ctx.drawImage(g,n.bounds.left-(g.width+10),n.bounds.top),[3,18];case 17:return y.sent(),this.context.logger.error('Error loading list-style-image '+m),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==n.styles.listStyleType&&(v=this.createFontStyle(i)[0],this.ctx.font=v,this.ctx.fillStyle=EV(i.color),this.ctx.textBaseline='middle',this.ctx.textAlign='right',b=new yz(n.bounds.left,n.bounds.top+bV(n.styles.paddingTop,n.bounds.width),n.bounds.width,Dq(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new lW(e.listValue,b),i.letterSpacing,Dq(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline='bottom',this.ctx.textAlign='left'),y.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return vz(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l,c,u,d,f,h,p;return bz(this,function(g){switch(g.label){case 0:return xG(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:g.sent(),t=0,n=e.negativeZIndex,g.label=2;case 2:return t<n.length?(p=n[t],[4,this.renderStack(p)]):[3,5];case 3:g.sent(),g.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:g.sent(),r=0,i=e.nonInlineLevel,g.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:g.sent(),g.label=9;case 9:return r++,[3,7];case 10:o=0,s=e.nonPositionedFloats,g.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:g.sent(),g.label=13;case 13:return o++,[3,11];case 14:a=0,A=e.nonPositionedInlineLevel,g.label=15;case 15:return a<A.length?(p=A[a],[4,this.renderStack(p)]):[3,18];case 16:g.sent(),g.label=17;case 17:return a++,[3,15];case 18:l=0,c=e.inlineLevel,g.label=19;case 19:return l<c.length?(p=c[l],[4,this.renderNode(p)]):[3,22];case 20:g.sent(),g.label=21;case 21:return l++,[3,19];case 22:u=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,g.label=23;case 23:return u<d.length?(p=d[u],[4,this.renderStack(p)]):[3,26];case 24:g.sent(),g.label=25;case 25:return u++,[3,23];case 26:f=0,h=e.positiveZIndex,g.label=27;case 27:return f<h.length?(p=h[f],[4,this.renderStack(p)]):[3,30];case 28:g.sent(),g.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=XY(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),XY(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},t.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},t.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement('canvas');return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext('2d').drawImage(e,0,0,e.width,e.height,0,0,t,n),i},t.prototype.renderBackgroundImage=function(e){return vz(this,void 0,void 0,function(){var t,n,r,i,o,s;return bz(this,function(a){switch(a.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O;return bz(this,function(I){switch(I.label){case 0:if(0!==n.type)return[3,5];i=void 0,o=n.url,I.label=1;case 1:return I.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return i=I.sent(),[3,4];case 3:return I.sent(),r.context.logger.error('Error loading background-image '+o),[3,4];case 4:return i&&(s=pX(e,t,[i.width,i.height,i.width/i.height]),b=s[0],_=s[1],j=s[2],B=s[3],x=s[4],m=r.ctx.createPattern(r.resizeImage(i,B,x),'repeat'),r.renderRepeat(b,m,_,j)),[3,6];case 5:1===n.type?(a=pX(e,t,[null,null,null]),b=a[0],_=a[1],j=a[2],B=a[3],x=a[4],A=RV(n.angle,B,x),l=A[0],c=A[1],u=A[2],d=A[3],f=A[4],(h=document.createElement('canvas')).width=B,h.height=x,p=h.getContext('2d'),g=p.createLinearGradient(c,d,u,f),DV(n.stops,l).forEach(function(e){return g.addColorStop(e.stop,EV(e.color))}),p.fillStyle=g,p.fillRect(0,0,B,x),B>0&&x>0&&(m=r.ctx.createPattern(h,'repeat'),r.renderRepeat(b,m,_,j))):function(e){return 2===e.type}(n)&&(v=pX(e,t,[null,null,null]),b=v[0],y=v[1],w=v[2],B=v[3],x=v[4],C=0===n.position.length?[gV]:n.position,_=bV(C[0],B),j=bV(C[C.length-1],x),F=function(e,t,n,r,i){var o=0,s=0;switch(e.size){case 0:0===e.shape?o=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=s=Math.min(HV(t,n),HV(t,n-i),HV(t-r,n),HV(t-r,n-i));else if(1===e.shape){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),A=zV(r,i,t,n,!0),l=A[0],c=A[1];s=a*(o=HV(l-t,(c-n)/a))}break;case 1:0===e.shape?o=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=s=Math.max(HV(t,n),HV(t,n-i),HV(t-r,n),HV(t-r,n-i));else if(1===e.shape){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var u=zV(r,i,t,n,!1);l=u[0],c=u[1],s=a*(o=HV(l-t,(c-n)/a))}}return Array.isArray(e.size)&&(o=bV(e.size[0],r),s=2===e.size.length?bV(e.size[1],i):o),[o,s]}(n,_,j,B,x),E=F[0],S=F[1],E>0&&S>0&&(k=r.ctx.createRadialGradient(y+_,w+j,0,y+_,w+j,E),DV(n.stops,2*E).forEach(function(e){return k.addColorStop(e.stop,EV(e.color))}),r.path(b),r.ctx.fillStyle=k,E!==S?(U=e.bounds.left+.5*e.bounds.width,Q=e.bounds.top+.5*e.bounds.height,O=1/(L=S/E),r.ctx.save(),r.ctx.translate(U,Q),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-U,-Q),r.ctx.fillRect(y,O*(w-Q)+Q,B,x*O),r.ctx.restore()):r.ctx.fill())),I.label=6;case 6:return t--,[2]}})},r=this,i=0,o=e.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<o.length?(s=o[i],[5,n(s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,t,n){return vz(this,void 0,void 0,function(){return bz(this,function(r){return this.path(cX(n,t)),this.ctx.fillStyle=EV(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,t,n,r){return vz(this,void 0,void 0,function(){var i,o;return bz(this,function(s){switch(s.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return s.sent(),[2];case 2:return i=function(e,t){switch(t){case 0:return dX(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return dX(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return dX(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return dX(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(r,n),this.path(i),this.ctx.fillStyle=EV(e),this.ctx.fill(),o=function(e,t){switch(t){case 0:return dX(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return dX(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return dX(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return dX(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(r,n),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return vz(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l=this;return bz(this,function(c){switch(c.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!FV(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=jX(bX(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),FV(t.backgroundColor)||(this.ctx.fillStyle=EV(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){l.ctx.save();var n=$Y(e.curves),r=t.inset?0:1e4,i=function(e,t,n,r,i){return e.map(function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e})}(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(l.path(n),l.ctx.clip(),l.mask(i)):(l.mask(n),l.ctx.clip(),l.path(i)),l.ctx.shadowOffsetX=t.offsetX.number+r,l.ctx.shadowOffsetY=t.offsetY.number,l.ctx.shadowColor=EV(t.color),l.ctx.shadowBlur=t.blur.number,l.ctx.fillStyle=t.inset?EV(t.color):'rgba(0,0,0,1)',l.ctx.fill(),l.ctx.restore()}),c.label=2;case 2:o=0,s=0,a=r,c.label=3;case 3:return s<a.length?0!==(A=a[s]).style&&!FV(A.color)&&A.width>0?2!==A.style?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,2)]:[3,11]:[3,13];case 4:return c.sent(),[3,11];case 5:return 3!==A.style?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,3)];case 6:return c.sent(),[3,11];case 7:return 4!==A.style?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,o,e.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,o,e.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,t,n,r,i){return vz(this,void 0,void 0,function(){var o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y;return bz(this,function(w){return this.ctx.save(),o=function(e,t){switch(t){case 0:return uX(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return uX(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return uX(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return uX(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(r,n),s=cX(r,n),2===i&&(this.path(s),this.ctx.clip()),XY(s[0])?(a=s[0].start.x,A=s[0].start.y):(a=s[0].x,A=s[0].y),XY(s[1])?(l=s[1].end.x,c=s[1].end.y):(l=s[1].x,c=s[1].y),u=0===n||2===n?Math.abs(a-l):Math.abs(A-c),this.ctx.beginPath(),3===i?this.formatPath(o):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===i&&(d=t,f=t),h=!0,u<=2*d?h=!1:u<=2*d+f?(d*=p=u/(2*d+f),f*=p):(g=Math.floor((u+f)/(d+f)),m=(u-g*d)/(g-1),f=(v=(u-(g+1)*d)/g)<=0||Math.abs(f-m)<Math.abs(f-v)?m:v),h&&(3===i?this.ctx.setLineDash([0,d+f]):this.ctx.setLineDash([d,f])),3===i?(this.ctx.lineCap='round',this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=EV(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(XY(s[0])&&(b=s[3],y=s[0],this.ctx.beginPath(),this.formatPath([new GY(b.end.x,b.end.y),new GY(y.start.x,y.start.y)]),this.ctx.stroke()),XY(s[1])&&(b=s[1],y=s[2],this.ctx.beginPath(),this.formatPath([new GY(b.end.x,b.end.y),new GY(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return vz(this,void 0,void 0,function(){var t;return bz(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=EV(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(e){var t=new aX(e,null),n=new sX(t),r=[];return AX(t,n,n,r),lX(t.container,r),n}(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(xX),_X=function(e){return e instanceof LW||(e instanceof QW||e instanceof UW&&e.type!==EW&&e.type!==FW)},jX=function(e,t){switch(e){case 0:return $Y(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return eX(t)}},FX=function(e){switch(e){case 1:return'center';case 2:return'right';default:return'left'}},EX=['-apple-system','system-ui'],SX=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===EX.indexOf(e)}):e},kX=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px',r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug('EXPERIMENTAL ForeignObject renderer initialized ('+n.width+'x'+n.height+' at '+n.x+','+n.y+') with scale '+n.scale),r}return gz(t,e),t.prototype.render=function(e){return vz(this,void 0,void 0,function(){var t,n;return bz(this,function(r){switch(r.label){case 0:return t=sW(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,UX(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=EV(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(xX),UX=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},QX=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&'undefined'!=typeof window&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),LX=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName='#'+e.instanceCount++,this.logger=new QX({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new MY(this,t)}return e.instanceCount=1,e}();'undefined'!=typeof window&&TY.setContext(window);var OX,IX=function(e,t){return vz(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O,I,N,T,M,P;return bz(this,function(D){switch(D.label){case 0:if(!e||'object'!=typeof e)return[2,Promise.reject('Invalid element provided as first argument')];if(!(n=e.ownerDocument))throw new Error('Element is not attached to a Document');if(!(r=n.defaultView))throw new Error('Document is not attached to a Window');return i={allowTaint:null!==(x=t.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(C=t.imageTimeout)&&void 0!==C?C:15e3,proxy:t.proxy,useCORS:null!==(_=t.useCORS)&&void 0!==_&&_},o=mz({logging:null===(j=t.logging)||void 0===j||j,cache:t.cache},i),s={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:r.innerWidth,windowHeight:null!==(E=t.windowHeight)&&void 0!==E?E:r.innerHeight,scrollX:null!==(S=t.scrollX)&&void 0!==S?S:r.pageXOffset,scrollY:null!==(k=t.scrollY)&&void 0!==k?k:r.pageYOffset},a=new yz(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),A=new LX(o,a),l=null!==(U=t.foreignObjectRendering)&&void 0!==U&&U,c={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},A.logger.debug('Starting document clone with size '+a.width+'x'+a.height+' scrolled to '+-a.left+','+-a.top),u=new wY(A,e,c),(d=u.clonedReferenceElement)?[4,u.toIFrame(n,a)]:[2,Promise.reject('Unable to find element in cloned iframe')];case 1:return f=D.sent(),h=YW(d)||'HTML'===d.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error('Unable to get document size');var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new yz(0,0,r,i)}(d.ownerDocument):wz(A,d),p=h.width,g=h.height,m=h.left,v=h.top,b=NX(A,d,t.backgroundColor),y={canvas:t.canvas,backgroundColor:b,scale:null!==(O=null!==(L=t.scale)&&void 0!==L?L:r.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(I=t.x)&&void 0!==I?I:0)+m,y:(null!==(N=t.y)&&void 0!==N?N:0)+v,width:null!==(T=t.width)&&void 0!==T?T:Math.ceil(p),height:null!==(M=t.height)&&void 0!==M?M:Math.ceil(g)},l?(A.logger.debug('Document cloned, using foreign object rendering'),[4,new kX(A,y).render(d)]):[3,3];case 2:return w=D.sent(),[3,5];case 3:return A.logger.debug('Document cloned, element located at '+m+','+v+' with size '+p+'x'+g+' using computed rendering'),A.logger.debug('Starting DOM parsing'),B=MW(A,d),b===B.styles.backgroundColor&&(B.styles.backgroundColor=NV.TRANSPARENT),A.logger.debug('Starting renderer for element at '+y.x+','+y.y+' with size '+y.width+'x'+y.height),[4,new CX(A,y).render(B)];case 4:w=D.sent(),D.label=5;case 5:return(null===(P=t.removeContainer)||void 0===P||P)&&(wY.destroy(f)||A.logger.error('Cannot detach cloned iframe as it is not in the DOM anymore')),A.logger.debug('Finished rendering'),[2,w]}})})},NX=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?IV(e,getComputedStyle(r.documentElement).backgroundColor):NV.TRANSPARENT,o=r.body?IV(e,getComputedStyle(r.body).backgroundColor):NV.TRANSPARENT,s='string'==typeof n?IV(e,n):null===n?NV.TRANSPARENT:4294967295;return t===r.documentElement?FV(i)?FV(o)?s:o:i:s};self,OX=function(e){return function(){var t,n,r={'./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js':
15
217
  /*!*********************************************************************!*\
16
218
  !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
17
219
  \*********************************************************************/function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{default:function(){return r}})},'./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js':
@@ -842,9 +1044,9 @@ object-assign
842
1044
  \****************************************************/function(e,t,n){n(/*! ../modules/web.set-interval */'./node_modules/core-js/modules/web.set-interval.js'),n(/*! ../modules/web.set-timeout */'./node_modules/core-js/modules/web.set-timeout.js')},'./node_modules/dompurify/dist/purify.es.mjs':
843
1045
  /*!***************************************************!*\
844
1046
  !*** ./node_modules/dompurify/dist/purify.es.mjs ***!
845
- \***************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return ae}});
1047
+ \***************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return se}});
846
1048
  /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
847
- const{entries:r,setPrototypeOf:i,isFrozen:o,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:A,seal:l,create:c}=Object,{apply:u,construct:d}='undefined'!=typeof Reflect&&Reflect;A||(A=function(e){return e}),l||(l=function(e){return e}),u||(u=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),d||(d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const f=E(Array.prototype.forEach),h=E(Array.prototype.lastIndexOf),p=E(Array.prototype.pop),g=E(Array.prototype.push),m=E(Array.prototype.splice),v=E(String.prototype.toLowerCase),b=E(String.prototype.toString),y=E(String.prototype.match),w=E(String.prototype.replace),B=E(String.prototype.indexOf),x=E(String.prototype.trim),C=E(Object.prototype.hasOwnProperty),_=E(RegExp.prototype.test),j=(F=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(F,t)});var F;function E(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return u(e,t,r)}}function S(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;i&&i(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(o(t)||(t[r]=e),i=e)}e[i]=!0}return e}function k(e){for(let t=0;t<e.length;t++)C(e,t)||(e[t]=null);return e}function U(e){const t=c(null);for(const[n,i]of r(e))C(e,n)&&(Array.isArray(i)?t[n]=k(i):i&&'object'==typeof i&&i.constructor===Object?t[n]=U(i):t[n]=i);return t}function Q(e,t){for(;null!==e;){const n=a(e,t);if(n){if(n.get)return E(n.get);if('function'==typeof n.value)return E(n.value)}e=s(e)}return function(){return null}}const L=A(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),O=A(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),I=A(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),N=A(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),T=A(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),M=A(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),P=A(['#text']),D=A(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),R=A(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),H=A(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),z=A(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),K=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=l(/<%[\w\W]*|[\w\W]*%>/gm),q=l(/\$\{[\w\W]*/gm),G=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=l(/^aria-[\-\w]+$/),Y=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=l(/^(?:\w+script|data):/i),J=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=l(/^html$/i),$=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:$,DATA_ATTR:G,DOCTYPE_NAME:Z,ERB_EXPR:V,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:K,TMPLIT_EXPR:q});const te=1,ne=3,re=7,ie=8,oe=9,se=function(){return'undefined'==typeof window?null:window};var ae=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se();const n=t=>e(t);if(n.version='3.3.1',n.removed=[],!t||!t.document||t.document.nodeType!==oe||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const o=i,s=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:u,Element:d,NodeFilter:F,NamedNodeMap:E=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:k,DOMParser:K,trustedTypes:V}=t,q=d.prototype,G=Q(q,'cloneNode'),W=Q(q,'remove'),X=Q(q,'nextSibling'),J=Q(q,'childNodes'),$=Q(q,'parentNode');if('function'==typeof l){const e=i.createElement('template');e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let ae,Ae='';const{implementation:le,createNodeIterator:ce,createDocumentFragment:ue,getElementsByTagName:de}=i,{importNode:fe}=o;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof r&&'function'==typeof $&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:pe,ERB_EXPR:ge,TMPLIT_EXPR:me,DATA_ATTR:ve,ARIA_ATTR:be,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:we,CUSTOM_ELEMENT:Be}=ee;let{IS_ALLOWED_URI:xe}=ee,Ce=null;const _e=S({},[...L,...O,...I,...T,...P]);let je=null;const Fe=S({},[...D,...R,...H,...z]);let Ee=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,ke=null;const Ue=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qe=!0,Le=!0,Oe=!1,Ie=!0,Ne=!1,Te=!0,Me=!1,Pe=!1,De=!1,Re=!1,He=!1,ze=!1,Ke=!0,Ve=!1,qe=!0,Ge=!1,We={},Ye=null;const Xe=S({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let Je=null;const Ze=S({},['audio','video','img','source','image','track']);let $e=null;const et=S({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),tt='http://www.w3.org/1998/Math/MathML',nt='http://www.w3.org/2000/svg',rt='http://www.w3.org/1999/xhtml';let it=rt,ot=!1,st=null;const at=S({},[tt,nt,rt],b);let At=S({},['mi','mo','mn','ms','mtext']),lt=S({},['annotation-xml']);const ct=S({},['title','style','font','a','script']);let ut=null;const dt=['application/xhtml+xml','text/html'];let ft=null,ht=null;const pt=i.createElement('form'),gt=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&'object'==typeof e||(e={}),e=U(e),ut=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,ft='application/xhtml+xml'===ut?b:v,Ce=C(e,'ALLOWED_TAGS')?S({},e.ALLOWED_TAGS,ft):_e,je=C(e,'ALLOWED_ATTR')?S({},e.ALLOWED_ATTR,ft):Fe,st=C(e,'ALLOWED_NAMESPACES')?S({},e.ALLOWED_NAMESPACES,b):at,$e=C(e,'ADD_URI_SAFE_ATTR')?S(U(et),e.ADD_URI_SAFE_ATTR,ft):et,Je=C(e,'ADD_DATA_URI_TAGS')?S(U(Ze),e.ADD_DATA_URI_TAGS,ft):Ze,Ye=C(e,'FORBID_CONTENTS')?S({},e.FORBID_CONTENTS,ft):Xe,Se=C(e,'FORBID_TAGS')?S({},e.FORBID_TAGS,ft):U({}),ke=C(e,'FORBID_ATTR')?S({},e.FORBID_ATTR,ft):U({}),We=!!C(e,'USE_PROFILES')&&e.USE_PROFILES,Qe=!1!==e.ALLOW_ARIA_ATTR,Le=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ne=e.SAFE_FOR_TEMPLATES||!1,Te=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ke=!1!==e.SANITIZE_DOM,Ve=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||Y,it=e.NAMESPACE||rt,At=e.MATHML_TEXT_INTEGRATION_POINTS||At,lt=e.HTML_INTEGRATION_POINTS||lt,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&gt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&gt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(Le=!1),He&&(Re=!0),We&&(Ce=S({},P),je=[],!0===We.html&&(S(Ce,L),S(je,D)),!0===We.svg&&(S(Ce,O),S(je,R),S(je,z)),!0===We.svgFilters&&(S(Ce,I),S(je,R),S(je,z)),!0===We.mathMl&&(S(Ce,T),S(je,H),S(je,z))),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?Ue.tagCheck=e.ADD_TAGS:(Ce===_e&&(Ce=U(Ce)),S(Ce,e.ADD_TAGS,ft))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?Ue.attributeCheck=e.ADD_ATTR:(je===Fe&&(je=U(je)),S(je,e.ADD_ATTR,ft))),e.ADD_URI_SAFE_ATTR&&S($e,e.ADD_URI_SAFE_ATTR,ft),e.FORBID_CONTENTS&&(Ye===Xe&&(Ye=U(Ye)),S(Ye,e.FORBID_CONTENTS,ft)),e.ADD_FORBID_CONTENTS&&(Ye===Xe&&(Ye=U(Ye)),S(Ye,e.ADD_FORBID_CONTENTS,ft)),qe&&(Ce['#text']=!0),Me&&S(Ce,['html','head','body']),Ce.table&&(S(Ce,['tbody']),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ae=e.TRUSTED_TYPES_POLICY,Ae=ae.createHTML('')}else void 0===ae&&(ae=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(V,s)),null!==ae&&'string'==typeof Ae&&(Ae=ae.createHTML(''));A&&A(e),ht=e}},vt=S({},[...O,...I,...N]),bt=S({},[...T,...M]),yt=function(e){g(n.removed,{element:e});try{$(e).removeChild(e)}catch(t){W(e)}},wt=function(e,t){try{g(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(Re||He)try{yt(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Bt=function(e){let t=null,n=null;if(De)e='<remove></remove>'+e;else{const t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===ut&&it===rt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const r=ae?ae.createHTML(e):e;if(it===rt)try{t=(new K).parseFromString(r,ut)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(it,'template',null);try{t.documentElement.innerHTML=ot?Ae:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),it===rt?de.call(t,Me?'html':'body')[0]:Me?t.documentElement:o},xt=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},Ct=function(e){return e instanceof k&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof E)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},_t=function(e){return'function'==typeof u&&e instanceof u};function jt(e,t,r){f(e,e=>{e.call(n,t,r,ht)})}const Ft=function(e){let t=null;if(jt(he.beforeSanitizeElements,e,null),Ct(e))return yt(e),!0;const r=ft(e.nodeName);if(jt(he.uponSanitizeElement,e,{tagName:r,allowedTags:Ce}),Te&&e.hasChildNodes()&&!_t(e.firstElementChild)&&_(/<[/\w!]/g,e.innerHTML)&&_(/<[/\w!]/g,e.textContent))return yt(e),!0;if(e.nodeType===re)return yt(e),!0;if(Te&&e.nodeType===ie&&_(/<[/\w]/g,e.data))return yt(e),!0;if(!(Ue.tagCheck instanceof Function&&Ue.tagCheck(r))&&(!Ce[r]||Se[r])){if(!Se[r]&&St(r)){if(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,r))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))return!1}if(qe&&!Ye[r]){const t=$(e)||e.parentNode,n=J(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=G(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,X(e))}}return yt(e),!0}return e instanceof d&&!function(e){let t=$(e);t&&t.tagName||(t={namespaceURI:it,tagName:'template'});const n=v(e.tagName),r=v(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===rt?'svg'===n:t.namespaceURI===tt?'svg'===n&&('annotation-xml'===r||At[r]):Boolean(vt[n]):e.namespaceURI===tt?t.namespaceURI===rt?'math'===n:t.namespaceURI===nt?'math'===n&&lt[r]:Boolean(bt[n]):e.namespaceURI===rt?!(t.namespaceURI===nt&&!lt[r])&&!(t.namespaceURI===tt&&!At[r])&&!bt[n]&&(ct[n]||!vt[n]):!('application/xhtml+xml'!==ut||!st[e.namespaceURI]))}(e)?(yt(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne&&e.nodeType===ne&&(t=e.textContent,f([pe,ge,me],e=>{t=w(t,e,' ')}),e.textContent!==t&&(g(n.removed,{element:e.cloneNode()}),e.textContent=t)),jt(he.afterSanitizeElements,e,null),!1):(yt(e),!0)},Et=function(e,t,n){if(Ke&&('id'===t||'name'===t)&&(n in i||n in pt))return!1;if(Le&&!ke[t]&&_(ve,t));else if(Qe&&_(be,t));else if(Ue.attributeCheck instanceof Function&&Ue.attributeCheck(t,e));else if(!je[t]||ke[t]){if(!(St(e)&&(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&_(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t,e))||'is'===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,n)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))))return!1}else if($e[t]);else if(_(xe,w(n,we,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==B(n,'data:')||!Je[e])if(Oe&&!_(ye,w(n,we,'')));else if(n)return!1;return!0},St=function(e){return'annotation-xml'!==e&&y(e,Be)},kt=function(e){jt(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ct(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:je,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=ft(s),c=A;let u='value'===s?c:x(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,jt(he.uponSanitizeAttribute,e,r),u=r.attrValue,!Ve||'id'!==l&&'name'!==l||(wt(s,e),u='user-content-'+u),Te&&_(/((--!?|])>)|<\/(style|title|textarea)/i,u)){wt(s,e);continue}if('attributename'===l&&y(u,'href')){wt(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){wt(s,e);continue}if(!Ie&&_(/\/>/i,u)){wt(s,e);continue}Ne&&f([pe,ge,me],e=>{u=w(u,e,' ')});const d=ft(e.nodeName);if(Et(d,l,u)){if(ae&&'object'==typeof V&&'function'==typeof V.getAttributeType)if(a);else switch(V.getAttributeType(d,l)){case'TrustedHTML':u=ae.createHTML(u);break;case'TrustedScriptURL':u=ae.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Ct(e)?yt(e):p(n.removed)}catch(t){wt(s,e)}}else wt(s,e)}jt(he.afterSanitizeAttributes,e,null)},Ut=function e(t){let n=null;const r=xt(t);for(jt(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)jt(he.uponSanitizeShadowNode,n,null),Ft(n),kt(n),n.content instanceof a&&e(n.content);jt(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,A=null;if(ot=!e,ot&&(e='\x3c!--\x3e'),'string'!=typeof e&&!_t(e)){if('function'!=typeof e.toString)throw j('toString is not a function');if('string'!=typeof(e=e.toString()))throw j('dirty is not a string, aborting')}if(!n.isSupported)return e;if(Pe||mt(t),n.removed=[],'string'==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=ft(e.nodeName);if(!Ce[t]||Se[t])throw j('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof u)r=Bt('\x3c!----\x3e'),i=r.ownerDocument.importNode(e,!0),i.nodeType===te&&'BODY'===i.nodeName||'HTML'===i.nodeName?r=i:r.appendChild(i);else{if(!Re&&!Ne&&!Me&&-1===e.indexOf('<'))return ae&&ze?ae.createHTML(e):e;if(r=Bt(e),!r)return Re?null:ze?Ae:''}r&&De&&yt(r.firstChild);const l=xt(Ge?e:r);for(;s=l.nextNode();)Ft(s),kt(s),s.content instanceof a&&Ut(s.content);if(Ge)return e;if(Re){if(He)for(A=ue.call(r.ownerDocument);r.firstChild;)A.appendChild(r.firstChild);else A=r;return(je.shadowroot||je.shadowrootmode)&&(A=fe.call(o,A,!0)),A}let c=Me?r.outerHTML:r.innerHTML;return Me&&Ce['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_(Z,r.ownerDocument.doctype.name)&&(c='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+c),Ne&&f([pe,ge,me],e=>{c=w(c,e,' ')}),ae&&ze?ae.createHTML(c):c},n.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},n.clearConfig=function(){ht=null,Pe=!1},n.isValidAttribute=function(e,t,n){ht||mt({});const r=ft(e),i=ft(t);return Et(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&g(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=h(he[e],t);return-1===n?void 0:m(he[e],n,1)[0]}return p(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},'./node_modules/fast-png/lib-esm/PngDecoder.js':
1049
+ const{entries:r,setPrototypeOf:i,isFrozen:o,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:A,seal:l,create:c}=Object,{apply:u,construct:d}='undefined'!=typeof Reflect&&Reflect;A||(A=function(e){return e}),l||(l=function(e){return e}),u||(u=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),d||(d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const f=F(Array.prototype.forEach),h=F(Array.prototype.lastIndexOf),p=F(Array.prototype.pop),g=F(Array.prototype.push),m=F(Array.prototype.splice),v=F(String.prototype.toLowerCase),b=F(String.prototype.toString),y=F(String.prototype.match),w=F(String.prototype.replace),B=F(String.prototype.indexOf),x=F(String.prototype.trim),C=F(Object.prototype.hasOwnProperty),_=F(RegExp.prototype.test),j=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(e,n)}}(TypeError);function F(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return u(e,t,r)}}function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;i&&i(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(o(t)||(t[r]=e),i=e)}e[i]=!0}return e}function S(e){for(let t=0;t<e.length;t++)C(e,t)||(e[t]=null);return e}function k(e){const t=c(null);for(const[n,i]of r(e))C(e,n)&&(Array.isArray(i)?t[n]=S(i):i&&'object'==typeof i&&i.constructor===Object?t[n]=k(i):t[n]=i);return t}function U(e,t){for(;null!==e;){const n=a(e,t);if(n){if(n.get)return F(n.get);if('function'==typeof n.value)return F(n.value)}e=s(e)}return function(){return null}}const Q=A(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),L=A(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),O=A(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),I=A(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),N=A(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),T=A(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),M=A(['#text']),P=A(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),D=A(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),R=A(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),H=A(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),z=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=l(/<%[\w\W]*|[\w\W]*%>/gm),V=l(/\$\{[\w\W]*/gm),q=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=l(/^aria-[\-\w]+$/),W=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=l(/^(?:\w+script|data):/i),X=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=l(/^html$/i),Z=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:Z,DATA_ATTR:q,DOCTYPE_NAME:J,ERB_EXPR:K,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:z,TMPLIT_EXPR:V});const ee=1,te=3,ne=7,re=8,ie=9,oe=function(){return'undefined'==typeof window?null:window};var se=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe();const n=t=>e(t);if(n.version='3.3.1',n.removed=[],!t||!t.document||t.document.nodeType!==ie||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const o=i,s=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:u,Element:d,NodeFilter:F,NamedNodeMap:S=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:z,DOMParser:K,trustedTypes:V}=t,q=d.prototype,G=U(q,'cloneNode'),Y=U(q,'remove'),X=U(q,'nextSibling'),Z=U(q,'childNodes'),se=U(q,'parentNode');if('function'==typeof l){const e=i.createElement('template');e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let ae,Ae='';const{implementation:le,createNodeIterator:ce,createDocumentFragment:ue,getElementsByTagName:de}=i,{importNode:fe}=o;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof r&&'function'==typeof se&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:pe,ERB_EXPR:ge,TMPLIT_EXPR:me,DATA_ATTR:ve,ARIA_ATTR:be,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:we,CUSTOM_ELEMENT:Be}=$;let{IS_ALLOWED_URI:xe}=$,Ce=null;const _e=E({},[...Q,...L,...O,...N,...M]);let je=null;const Fe=E({},[...P,...D,...R,...H]);let Ee=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,ke=null;const Ue=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qe=!0,Le=!0,Oe=!1,Ie=!0,Ne=!1,Te=!0,Me=!1,Pe=!1,De=!1,Re=!1,He=!1,ze=!1,Ke=!0,Ve=!1,qe=!0,Ge=!1,We={},Ye=null;const Xe=E({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let Je=null;const Ze=E({},['audio','video','img','source','image','track']);let $e=null;const et=E({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),tt='http://www.w3.org/1998/Math/MathML',nt='http://www.w3.org/2000/svg',rt='http://www.w3.org/1999/xhtml';let it=rt,ot=!1,st=null;const at=E({},[tt,nt,rt],b);let At=E({},['mi','mo','mn','ms','mtext']),lt=E({},['annotation-xml']);const ct=E({},['title','style','font','a','script']);let ut=null;const dt=['application/xhtml+xml','text/html'];let ft=null,ht=null;const pt=i.createElement('form'),gt=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&'object'==typeof e||(e={}),e=k(e),ut=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,ft='application/xhtml+xml'===ut?b:v,Ce=C(e,'ALLOWED_TAGS')?E({},e.ALLOWED_TAGS,ft):_e,je=C(e,'ALLOWED_ATTR')?E({},e.ALLOWED_ATTR,ft):Fe,st=C(e,'ALLOWED_NAMESPACES')?E({},e.ALLOWED_NAMESPACES,b):at,$e=C(e,'ADD_URI_SAFE_ATTR')?E(k(et),e.ADD_URI_SAFE_ATTR,ft):et,Je=C(e,'ADD_DATA_URI_TAGS')?E(k(Ze),e.ADD_DATA_URI_TAGS,ft):Ze,Ye=C(e,'FORBID_CONTENTS')?E({},e.FORBID_CONTENTS,ft):Xe,Se=C(e,'FORBID_TAGS')?E({},e.FORBID_TAGS,ft):k({}),ke=C(e,'FORBID_ATTR')?E({},e.FORBID_ATTR,ft):k({}),We=!!C(e,'USE_PROFILES')&&e.USE_PROFILES,Qe=!1!==e.ALLOW_ARIA_ATTR,Le=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ne=e.SAFE_FOR_TEMPLATES||!1,Te=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ke=!1!==e.SANITIZE_DOM,Ve=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||W,it=e.NAMESPACE||rt,At=e.MATHML_TEXT_INTEGRATION_POINTS||At,lt=e.HTML_INTEGRATION_POINTS||lt,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&gt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&gt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(Le=!1),He&&(Re=!0),We&&(Ce=E({},M),je=[],!0===We.html&&(E(Ce,Q),E(je,P)),!0===We.svg&&(E(Ce,L),E(je,D),E(je,H)),!0===We.svgFilters&&(E(Ce,O),E(je,D),E(je,H)),!0===We.mathMl&&(E(Ce,N),E(je,R),E(je,H))),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?Ue.tagCheck=e.ADD_TAGS:(Ce===_e&&(Ce=k(Ce)),E(Ce,e.ADD_TAGS,ft))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?Ue.attributeCheck=e.ADD_ATTR:(je===Fe&&(je=k(je)),E(je,e.ADD_ATTR,ft))),e.ADD_URI_SAFE_ATTR&&E($e,e.ADD_URI_SAFE_ATTR,ft),e.FORBID_CONTENTS&&(Ye===Xe&&(Ye=k(Ye)),E(Ye,e.FORBID_CONTENTS,ft)),e.ADD_FORBID_CONTENTS&&(Ye===Xe&&(Ye=k(Ye)),E(Ye,e.ADD_FORBID_CONTENTS,ft)),qe&&(Ce['#text']=!0),Me&&E(Ce,['html','head','body']),Ce.table&&(E(Ce,['tbody']),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ae=e.TRUSTED_TYPES_POLICY,Ae=ae.createHTML('')}else void 0===ae&&(ae=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(V,s)),null!==ae&&'string'==typeof Ae&&(Ae=ae.createHTML(''));A&&A(e),ht=e}},vt=E({},[...L,...O,...I]),bt=E({},[...N,...T]),yt=function(e){g(n.removed,{element:e});try{se(e).removeChild(e)}catch(t){Y(e)}},wt=function(e,t){try{g(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(Re||He)try{yt(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Bt=function(e){let t=null,n=null;if(De)e='<remove></remove>'+e;else{const t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===ut&&it===rt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const r=ae?ae.createHTML(e):e;if(it===rt)try{t=(new K).parseFromString(r,ut)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(it,'template',null);try{t.documentElement.innerHTML=ot?Ae:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),it===rt?de.call(t,Me?'html':'body')[0]:Me?t.documentElement:o},xt=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},Ct=function(e){return e instanceof z&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof S)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},_t=function(e){return'function'==typeof u&&e instanceof u};function jt(e,t,r){f(e,e=>{e.call(n,t,r,ht)})}const Ft=function(e){let t=null;if(jt(he.beforeSanitizeElements,e,null),Ct(e))return yt(e),!0;const r=ft(e.nodeName);if(jt(he.uponSanitizeElement,e,{tagName:r,allowedTags:Ce}),Te&&e.hasChildNodes()&&!_t(e.firstElementChild)&&_(/<[/\w!]/g,e.innerHTML)&&_(/<[/\w!]/g,e.textContent))return yt(e),!0;if(e.nodeType===ne)return yt(e),!0;if(Te&&e.nodeType===re&&_(/<[/\w]/g,e.data))return yt(e),!0;if(!(Ue.tagCheck instanceof Function&&Ue.tagCheck(r))&&(!Ce[r]||Se[r])){if(!Se[r]&&St(r)){if(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,r))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))return!1}if(qe&&!Ye[r]){const t=se(e)||e.parentNode,n=Z(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=G(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,X(e))}}return yt(e),!0}return e instanceof d&&!function(e){let t=se(e);t&&t.tagName||(t={namespaceURI:it,tagName:'template'});const n=v(e.tagName),r=v(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===rt?'svg'===n:t.namespaceURI===tt?'svg'===n&&('annotation-xml'===r||At[r]):Boolean(vt[n]):e.namespaceURI===tt?t.namespaceURI===rt?'math'===n:t.namespaceURI===nt?'math'===n&&lt[r]:Boolean(bt[n]):e.namespaceURI===rt?!(t.namespaceURI===nt&&!lt[r])&&!(t.namespaceURI===tt&&!At[r])&&!bt[n]&&(ct[n]||!vt[n]):!('application/xhtml+xml'!==ut||!st[e.namespaceURI]))}(e)?(yt(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne&&e.nodeType===te&&(t=e.textContent,f([pe,ge,me],e=>{t=w(t,e,' ')}),e.textContent!==t&&(g(n.removed,{element:e.cloneNode()}),e.textContent=t)),jt(he.afterSanitizeElements,e,null),!1):(yt(e),!0)},Et=function(e,t,n){if(Ke&&('id'===t||'name'===t)&&(n in i||n in pt))return!1;if(Le&&!ke[t]&&_(ve,t));else if(Qe&&_(be,t));else if(Ue.attributeCheck instanceof Function&&Ue.attributeCheck(t,e));else if(!je[t]||ke[t]){if(!(St(e)&&(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&_(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t,e))||'is'===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&_(Ee.tagNameCheck,n)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))))return!1}else if($e[t]);else if(_(xe,w(n,we,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==B(n,'data:')||!Je[e])if(Oe&&!_(ye,w(n,we,'')));else if(n)return!1;return!0},St=function(e){return'annotation-xml'!==e&&y(e,Be)},kt=function(e){jt(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ct(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:je,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=ft(s),c=A;let u='value'===s?c:x(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,jt(he.uponSanitizeAttribute,e,r),u=r.attrValue,!Ve||'id'!==l&&'name'!==l||(wt(s,e),u='user-content-'+u),Te&&_(/((--!?|])>)|<\/(style|title|textarea)/i,u)){wt(s,e);continue}if('attributename'===l&&y(u,'href')){wt(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){wt(s,e);continue}if(!Ie&&_(/\/>/i,u)){wt(s,e);continue}Ne&&f([pe,ge,me],e=>{u=w(u,e,' ')});const d=ft(e.nodeName);if(Et(d,l,u)){if(ae&&'object'==typeof V&&'function'==typeof V.getAttributeType)if(a);else switch(V.getAttributeType(d,l)){case'TrustedHTML':u=ae.createHTML(u);break;case'TrustedScriptURL':u=ae.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Ct(e)?yt(e):p(n.removed)}catch(t){wt(s,e)}}else wt(s,e)}jt(he.afterSanitizeAttributes,e,null)},Ut=function e(t){let n=null;const r=xt(t);for(jt(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)jt(he.uponSanitizeShadowNode,n,null),Ft(n),kt(n),n.content instanceof a&&e(n.content);jt(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,A=null;if(ot=!e,ot&&(e='\x3c!--\x3e'),'string'!=typeof e&&!_t(e)){if('function'!=typeof e.toString)throw j('toString is not a function');if('string'!=typeof(e=e.toString()))throw j('dirty is not a string, aborting')}if(!n.isSupported)return e;if(Pe||mt(t),n.removed=[],'string'==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=ft(e.nodeName);if(!Ce[t]||Se[t])throw j('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof u)r=Bt('\x3c!----\x3e'),i=r.ownerDocument.importNode(e,!0),i.nodeType===ee&&'BODY'===i.nodeName||'HTML'===i.nodeName?r=i:r.appendChild(i);else{if(!Re&&!Ne&&!Me&&-1===e.indexOf('<'))return ae&&ze?ae.createHTML(e):e;if(r=Bt(e),!r)return Re?null:ze?Ae:''}r&&De&&yt(r.firstChild);const l=xt(Ge?e:r);for(;s=l.nextNode();)Ft(s),kt(s),s.content instanceof a&&Ut(s.content);if(Ge)return e;if(Re){if(He)for(A=ue.call(r.ownerDocument);r.firstChild;)A.appendChild(r.firstChild);else A=r;return(je.shadowroot||je.shadowrootmode)&&(A=fe.call(o,A,!0)),A}let c=Me?r.outerHTML:r.innerHTML;return Me&&Ce['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_(J,r.ownerDocument.doctype.name)&&(c='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+c),Ne&&f([pe,ge,me],e=>{c=w(c,e,' ')}),ae&&ze?ae.createHTML(c):c},n.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},n.clearConfig=function(){ht=null,Pe=!1},n.isValidAttribute=function(e,t,n){ht||mt({});const r=ft(e),i=ft(t);return Et(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&g(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=h(he[e],t);return-1===n?void 0:m(he[e],n,1)[0]}return p(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},'./node_modules/fast-png/lib-esm/PngDecoder.js':
848
1050
  /*!*****************************************************!*\
849
1051
  !*** ./node_modules/fast-png/lib-esm/PngDecoder.js ***!
850
1052
  \*****************************************************/function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var r=n(/*! iobuffer */'./node_modules/iobuffer/lib-esm/IOBuffer.js'),i=n(/*! pako */'./node_modules/pako/dist/pako.esm.mjs'),o=n(/*! ./helpers/crc */'./node_modules/fast-png/lib-esm/helpers/crc.js'),s=n(/*! ./helpers/decodeInterlaceAdam7 */'./node_modules/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js'),a=n(/*! ./helpers/decodeInterlaceNull */'./node_modules/fast-png/lib-esm/helpers/decodeInterlaceNull.js'),A=n(/*! ./helpers/signature */'./node_modules/fast-png/lib-esm/helpers/signature.js'),l=n(/*! ./helpers/text */'./node_modules/fast-png/lib-esm/helpers/text.js'),c=n(/*! ./internalTypes */'./node_modules/fast-png/lib-esm/internalTypes.js');class u extends r.IOBuffer{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);const{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new i.Inflate,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=c.CompressionMethod.UNKNOWN,this._filterMethod=c.FilterMethod.UNKNOWN,this._interlaceMethod=c.InterlaceMethod.UNKNOWN,this._colorType=c.ColorType.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for((0,A.checkSignature)(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for((0,A.checkSignature)(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const n=this.offset;switch(t){case'IHDR':this.decodeIHDR();break;case'PLTE':this.decodePLTE(e);break;case'IDAT':this.decodeIDAT(e);break;case'IEND':this._end=!0;break;case'tRNS':this.decodetRNS(e);break;case'iCCP':this.decodeiCCP(e);break;case l.textChunkName:(0,l.decodetEXt)(this._png.text,this,e);break;case'pHYs':this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,o.checkCrc)(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const n=this.offset;switch('fdAT'!==t&&'IDAT'!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case'acTL':this.decodeACTL();break;case'fcTL':this.decodeFCTL();break;case'fdAT':this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,o.checkCrc)(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw new Error(`invalid bit depth: ${e}`);return e}(this.readUint8());const t=this.readUint8();let n;switch(this._colorType=t,t){case c.ColorType.GREYSCALE:n=1;break;case c.ColorType.TRUECOLOUR:n=3;break;case c.ColorType.INDEXED_COLOUR:n=1;break;case c.ColorType.GREYSCALE_ALPHA:n=2;break;case c.ColorType.TRUECOLOUR_ALPHA:n=4;break;case c.ColorType.UNKNOWN:default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==c.CompressionMethod.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let e=0;e<t;e++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case c.ColorType.GREYSCALE:case c.ColorType.TRUECOLOUR:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case c.ColorType.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}case c.ColorType.UNKNOWN:case c.ColorType.GREYSCALE_ALPHA:case c.ColorType.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=(0,l.readKeyword)(this),n=this.readUint8();if(n!==c.CompressionMethod.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${n}`);const r=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:(0,i.inflate)(r)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=(0,a.decodeInterlaceNull)({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===n.xOffset&&0===n.yOffset&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{const r=this._apng.frames.at(e-1);this.disposeFrame(n,r,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case c.DisposeOpType.NONE:break;case c.DisposeOpType.BACKGROUND:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){const i=(t*e.width+r)*this._png.channels;for(let e=0;e<this._png.channels;e++)n.data[i+e]=0}break;case c.DisposeOpType.PREVIOUS:n.data.set(t.data);break;default:throw new Error('Unknown disposeOp')}}addFrameDataToCanvas(e,t){const n=1<<this._png.depth,r=(e,n)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case c.BlendOpType.SOURCE:for(let n=0;n<t.height;n++)for(let i=0;i<t.width;i++){const{index:o,frameIndex:s}=r(n,i);for(let n=0;n<this._png.channels;n++)e.data[o+n]=t.data[s+n]}break;case c.BlendOpType.OVER:for(let i=0;i<t.height;i++)for(let o=0;o<t.width;o++){const{index:s,frameIndex:a}=r(i,o);for(let r=0;r<this._png.channels;r++){const i=t.data[a+this._png.channels-1]/n,o=r%(this._png.channels-1)==0?1:t.data[a+r],A=Math.floor(i*o+(1-i)*e.data[s+r]);e.data[s+r]+=A}}break;default:throw new Error('Unknown blendOp')}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==c.FilterMethod.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===c.InterlaceMethod.NO_INTERLACE)this._png.data=(0,a.decodeInterlaceNull)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(this._interlaceMethod!==c.InterlaceMethod.ADAM7)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=(0,s.decodeInterlaceAdam7)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:c.DisposeOpType.NONE,blendOp:c.BlendOpType.SOURCE,data:e}),this._inflator=new i.Inflate,this._writingDataChunks=!1}}},'./node_modules/fast-png/lib-esm/PngEncoder.js':
@@ -1219,206 +1421,4 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr
1219
1421
  /*!**********************!*\
1220
1422
  !*** ./src/index.js ***!
1221
1423
  \**********************/
1222
- o.r(s);var e=o(/*! ./worker.js */'./src/worker.js');o(/*! ./plugin/jspdf-plugin.js */'./src/plugin/jspdf-plugin.js'),o(/*! ./plugin/pagebreaks.js */'./src/plugin/pagebreaks.js'),o(/*! ./plugin/hyperlinks.js */'./src/plugin/hyperlinks.js');var t=function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r};t.Worker=e.default,s.default=t}(),s=s.default}()};var Xz=rr(FN.exports=Gz(ir(Object.freeze({__proto__:null,default:function(e,t){return void 0===t&&(t={}),Wz(e,t)}})))),Jz=Nt.div($z||($z=Pe(['\n vu-flex\n'],['\n vu-flex\n']))),Zz=Nt.div(eK||(eK=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Nt.div(tK||(tK=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Nt.div(nK||(nK=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var $z,eK,tK,nK,rK,iK,oK,sK,aK,AK,lK,cK,uK,dK=Nt.div(rK||(rK=Pe(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),fK=Nt.div(iK||(iK=Pe(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),function(e){return e.$isOpen?'vu-flex':'vu-hidden'}),hK=Nt.div(oK||(oK=Pe(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),pK=Nt.div(sK||(sK=Pe(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),gK=Nt.div(aK||(aK=Pe(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),mK=Nt.div(AK||(AK=Pe(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),vK=Nt.div(lK||(lK=Pe(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),bK=Nt.button(cK||(cK=Pe(['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n'],['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n']))),yK=Nt.a(uK||(uK=Pe(['\n vu-underline\n vu-text-blue-600\n'],['\n vu-underline\n vu-text-blue-600\n'])));Nt.div(wK||(wK=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'])));var wK,BK,xK=Nt.div(BK||(BK=Pe(['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'],['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'])));let CK,_K,jK,FK={data:''},EK=e=>{if('object'==typeof window){let t=(e?e.querySelector('#_goober'):window._goober)||Object.assign(document.createElement('style'),{innerHTML:' ',id:'_goober'});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||FK},SK=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,kK=/\/\*[^]*?\*\/| +/g,UK=/\n+/g,QK=(e,t)=>{let n='',r='',i='';for(let o in e){let s=e[o];'@'==o[0]?'i'==o[1]?n=o+' '+s+';':r+='f'==o[1]?QK(s,o):o+'{'+QK(s,'k'==o[1]?'':t)+'}':'object'==typeof s?r+=QK(s,t?t.replace(/([^,])+/g,e=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+' '+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,'-$&').toLowerCase(),i+=QK.p?QK.p(o,s):o+':'+s+';')}return n+(t&&i?t+'{'+i+'}':i)+r},LK={},OK=e=>{if('object'==typeof e){let t='';for(let n in e)t+=n+OK(e[n]);return t}return e},IK=(e,t,n,r,i)=>{let o=OK(e),s=LK[o]||(LK[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return'go'+n})(o));if(!LK[s]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=SK.exec(e.replace(kK,''));)t[4]?r.shift():t[3]?(n=t[3].replace(UK,' ').trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(UK,' ').trim();return r[0]})(e);LK[s]=QK(i?{['@keyframes '+s]:t}:t,n?'':'.'+s)}let a=n&&LK.g?LK.g:null;return n&&(LK.g=LK[s]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(LK[s],t,r,a),s};function NK(e){let t=this||{},n=e.call?e(t.p):e;return IK(n.unshift?n.raw?((e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?'.'+t:e&&'object'==typeof e?e.props?'':QK(e,''):!1===e?'':e}return e+r+(null==o?'':o)},''))(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,EK(t.target),t.g,t.o,t.k)}NK.bind({g:1});let TK=NK.bind({k:1});function MK(e,t){let n=this||{};return function(){let r=arguments;function i(o,s){let a=Object.assign({},o),A=a.className||i.className;n.p=Object.assign({theme:_K&&_K()},a),n.o=/ *go\d+/.test(A),a.className=NK.apply(n,r)+(A?' '+A:''),t&&(a.ref=s);let l=e;return e[0]&&(l=a.as||e,delete a.as),jK&&l[0]&&jK(a),CK(l,a)}return t?t(i):i}}var PK=(e,t)=>(e=>'function'==typeof e)(e)?e(t):e,DK=(()=>{let e=0;return()=>(++e).toString()})(),RK=(()=>{let e;return()=>{if(void 0===e&&typeof window<'u'){let t=matchMedia('(prefers-reduced-motion: reduce)');e=!t||t.matches}return e}})(),HK='default',zK=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return zK(e,{type:e.toasts.find(e=>e.id===r.id)?1:0,toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},KK=[],VK={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},qK={},GK=(e,t=HK)=>{qK[t]=zK(qK[t]||VK,e),KK.forEach(([e,n])=>{e===t&&n(qK[t])})},WK=e=>Object.keys(qK).forEach(t=>GK(e,t)),YK=(e=HK)=>t=>{GK(t,e)},XK={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},JK=e=>(t,n)=>{let r=((e,t='blank',n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:'status','aria-live':'polite'},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||DK()}))(t,e,n);return YK(r.toasterId||(e=>Object.keys(qK).find(t=>qK[t].toasts.some(t=>t.id===e)))(r.id))({type:2,toast:r}),r.id},ZK=(e,t)=>JK('blank')(e,t);ZK.error=JK('error'),ZK.success=JK('success'),ZK.loading=JK('loading'),ZK.custom=JK('custom'),ZK.dismiss=(e,t)=>{let n={type:3,toastId:e};t?YK(t)(n):WK(n)},ZK.dismissAll=e=>ZK.dismiss(void 0,e),ZK.remove=(e,t)=>{let n={type:4,toastId:e};t?YK(t)(n):WK(n)},ZK.removeAll=e=>ZK.remove(void 0,e),ZK.promise=(e,t,n)=>{let r=ZK.loading(t.loading,{...n,...null==n?void 0:n.loading});return'function'==typeof e&&(e=e()),e.then(e=>{let i=t.success?PK(t.success,e):void 0;return i?ZK.success(i,{id:r,...n,...null==n?void 0:n.success}):ZK.dismiss(r),e}).catch(e=>{let i=t.error?PK(t.error,e):void 0;i?ZK.error(i,{id:r,...n,...null==n?void 0:n.error}):ZK.dismiss(r)}),e};var $K=(e,t='default')=>{let{toasts:i,pausedAt:a}=((e={},t=HK)=>{let[i,s]=n(qK[t]||VK),a=o(qK[t]);r(()=>(a.current!==qK[t]&&s(qK[t]),KK.push([t,s]),()=>{let e=KK.findIndex(([e])=>e===t);e>-1&&KK.splice(e,1)}),[t]);let A=i.toasts.map(t=>{var n,r,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||XK[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...i,toasts:A}})(e,t),A=o(new Map).current,l=s((e,t=1e3)=>{if(A.has(e))return;let n=setTimeout(()=>{A.delete(e),c({type:4,toastId:e})},t);A.set(e,n)},[]);r(()=>{if(a)return;let e=Date.now(),n=i.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(!(r<0))return setTimeout(()=>ZK.dismiss(n.id,t),r);n.visible&&ZK.dismiss(n.id)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[i,a,t]);let c=s(YK(t),[t]),u=s(()=>{c({type:5,time:Date.now()})},[c]),d=s((e,t)=>{c({type:1,toast:{id:e,height:t}})},[c]),f=s(()=>{a&&c({type:6,time:Date.now()})},[a,c]),h=s((e,t)=>{let{reverseOrder:n=!1,gutter:r=8,defaultPosition:o}=t||{},s=i.filter(t=>(t.position||o)===(e.position||o)&&t.height),a=s.findIndex(t=>t.id===e.id),A=s.filter((e,t)=>t<a&&e.visible).length;return s.filter(e=>e.visible).slice(...n?[A+1]:[0,A]).reduce((e,t)=>e+(t.height||0)+r,0)},[i]);return r(()=>{i.forEach(e=>{if(e.dismissed)l(e.id,e.removeDelay);else{let t=A.get(e.id);t&&(clearTimeout(t),A.delete(e.id))}})},[i,l]),{toasts:i,handlers:{updateHeight:d,startPause:u,endPause:f,calculateOffset:h}}},eV=TK`
1223
- from {
1224
- transform: scale(0) rotate(45deg);
1225
- opacity: 0;
1226
- }
1227
- to {
1228
- transform: scale(1) rotate(45deg);
1229
- opacity: 1;
1230
- }`,tV=TK`
1231
- from {
1232
- transform: scale(0);
1233
- opacity: 0;
1234
- }
1235
- to {
1236
- transform: scale(1);
1237
- opacity: 1;
1238
- }`,nV=TK`
1239
- from {
1240
- transform: scale(0) rotate(90deg);
1241
- opacity: 0;
1242
- }
1243
- to {
1244
- transform: scale(1) rotate(90deg);
1245
- opacity: 1;
1246
- }`,rV=MK('div')`
1247
- width: 20px;
1248
- opacity: 0;
1249
- height: 20px;
1250
- border-radius: 10px;
1251
- background: ${e=>e.primary||'#ff4b4b'};
1252
- position: relative;
1253
- transform: rotate(45deg);
1254
-
1255
- animation: ${eV} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1256
- forwards;
1257
- animation-delay: 100ms;
1258
-
1259
- &:after,
1260
- &:before {
1261
- content: '';
1262
- animation: ${tV} 0.15s ease-out forwards;
1263
- animation-delay: 150ms;
1264
- position: absolute;
1265
- border-radius: 3px;
1266
- opacity: 0;
1267
- background: ${e=>e.secondary||'#fff'};
1268
- bottom: 9px;
1269
- left: 4px;
1270
- height: 2px;
1271
- width: 12px;
1272
- }
1273
-
1274
- &:before {
1275
- animation: ${nV} 0.15s ease-out forwards;
1276
- animation-delay: 180ms;
1277
- transform: rotate(90deg);
1278
- }
1279
- `,iV=TK`
1280
- from {
1281
- transform: rotate(0deg);
1282
- }
1283
- to {
1284
- transform: rotate(360deg);
1285
- }
1286
- `,oV=MK('div')`
1287
- width: 12px;
1288
- height: 12px;
1289
- box-sizing: border-box;
1290
- border: 2px solid;
1291
- border-radius: 100%;
1292
- border-color: ${e=>e.secondary||'#e0e0e0'};
1293
- border-right-color: ${e=>e.primary||'#616161'};
1294
- animation: ${iV} 1s linear infinite;
1295
- `,sV=TK`
1296
- from {
1297
- transform: scale(0) rotate(45deg);
1298
- opacity: 0;
1299
- }
1300
- to {
1301
- transform: scale(1) rotate(45deg);
1302
- opacity: 1;
1303
- }`,aV=TK`
1304
- 0% {
1305
- height: 0;
1306
- width: 0;
1307
- opacity: 0;
1308
- }
1309
- 40% {
1310
- height: 0;
1311
- width: 6px;
1312
- opacity: 1;
1313
- }
1314
- 100% {
1315
- opacity: 1;
1316
- height: 10px;
1317
- }`,AV=MK('div')`
1318
- width: 20px;
1319
- opacity: 0;
1320
- height: 20px;
1321
- border-radius: 10px;
1322
- background: ${e=>e.primary||'#61d345'};
1323
- position: relative;
1324
- transform: rotate(45deg);
1325
-
1326
- animation: ${sV} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1327
- forwards;
1328
- animation-delay: 100ms;
1329
- &:after {
1330
- content: '';
1331
- box-sizing: border-box;
1332
- animation: ${aV} 0.2s ease-out forwards;
1333
- opacity: 0;
1334
- animation-delay: 200ms;
1335
- position: absolute;
1336
- border-right: 2px solid;
1337
- border-bottom: 2px solid;
1338
- border-color: ${e=>e.secondary||'#fff'};
1339
- bottom: 6px;
1340
- left: 6px;
1341
- height: 10px;
1342
- width: 6px;
1343
- }
1344
- `,lV=MK('div')`
1345
- position: absolute;
1346
- `,cV=MK('div')`
1347
- position: relative;
1348
- display: flex;
1349
- justify-content: center;
1350
- align-items: center;
1351
- min-width: 20px;
1352
- min-height: 20px;
1353
- `,uV=TK`
1354
- from {
1355
- transform: scale(0.6);
1356
- opacity: 0.4;
1357
- }
1358
- to {
1359
- transform: scale(1);
1360
- opacity: 1;
1361
- }`,dV=MK('div')`
1362
- position: relative;
1363
- transform: scale(0.6);
1364
- opacity: 0.4;
1365
- min-width: 20px;
1366
- animation: ${uV} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1367
- forwards;
1368
- `,fV=({toast:t})=>{let{icon:n,type:r,iconTheme:i}=t;return void 0!==n?'string'==typeof n?e.createElement(dV,null,n):n:'blank'===r?null:e.createElement(cV,null,e.createElement(oV,{...i}),'loading'!==r&&e.createElement(lV,null,'error'===r?e.createElement(rV,{...i}):e.createElement(AV,{...i})))},hV=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,pV=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,gV=MK('div')`
1369
- display: flex;
1370
- align-items: center;
1371
- background: #fff;
1372
- color: #363636;
1373
- line-height: 1.3;
1374
- will-change: transform;
1375
- box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
1376
- max-width: 350px;
1377
- pointer-events: auto;
1378
- padding: 8px 10px;
1379
- border-radius: 8px;
1380
- `,mV=MK('div')`
1381
- display: flex;
1382
- justify-content: center;
1383
- margin: 4px 10px;
1384
- color: inherit;
1385
- flex: 1 1 auto;
1386
- white-space: pre-line;
1387
- `,vV=e.memo(({toast:t,position:n,style:r,children:i})=>{let o=t.height?((e,t)=>{let n=e.includes('top')?1:-1,[r,i]=RK()?['0%{opacity:0;} 100%{opacity:1;}','0%{opacity:1;} 100%{opacity:0;}']:[hV(n),pV(n)];return{animation:t?`${TK(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${TK(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(t.position||n||'top-center',t.visible):{opacity:0},s=e.createElement(fV,{toast:t}),a=e.createElement(mV,{...t.ariaProps},PK(t.message,t));return e.createElement(gV,{className:t.className,style:{...o,...r,...t.style}},'function'==typeof i?i({icon:s,message:a}):e.createElement(e.Fragment,null,s,a))});!function(e,t,n,r){QK.p=t,CK=e,_K=n,jK=r}(e.createElement);var bV=({id:t,className:n,style:r,onHeightUpdate:i,children:o})=>{let s=e.useCallback(e=>{if(e){let n=()=>{let n=e.getBoundingClientRect().height;i(t,n)};n(),new MutationObserver(n).observe(e,{subtree:!0,childList:!0,characterData:!0})}},[t,i]);return e.createElement('div',{ref:s,className:n,style:r},o)},yV=NK`
1388
- z-index: 9999;
1389
- > * {
1390
- pointer-events: auto;
1391
- }
1392
- `,wV=({reverseOrder:t,position:n='top-center',toastOptions:r,gutter:i,children:o,toasterId:s,containerStyle:a,containerClassName:A})=>{let{toasts:l,handlers:c}=$K(r,s);return e.createElement('div',{'data-rht-toaster':s||'',style:{position:'fixed',zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:'none',...a},className:A,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(r=>{let s=r.position||n,a=((e,t)=>{let n=e.includes('top'),r=n?{top:0}:{bottom:0},i=e.includes('center')?{justifyContent:'center'}:e.includes('right')?{justifyContent:'flex-end'}:{};return{left:0,right:0,display:'flex',position:'absolute',transition:RK()?void 0:'all 230ms cubic-bezier(.21,1.02,.73,1)',transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}})(s,c.calculateOffset(r,{reverseOrder:t,gutter:i,defaultPosition:n}));return e.createElement(bV,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?yV:'',style:a},'custom'===r.type?PK(r.message,r):o?o(r):e.createElement(vV,{toast:r,position:s}))}))},BV=ZK;function xV(){var e=C();return d(function(){return new URLSearchParams(e.search)},[e.search])}var CV={incident_analysis:'Incident'};function _V(e){var t=e.sessionID,n=e.startChat,i=e.setConversation,o=e.setQuestion,s=xV(),a=function(){var e=_(),t=C();return function(){var n=new URLSearchParams(t.search);n.delete('ved_context_object'),n.delete('ved_chat_question'),n.delete('ved_chat_autosend'),n.delete('ved_chat_open'),n.delete('ved_entry_point'),e.replace({pathname:t.pathname,search:n.toString()})}}();r(function(){var e=s.get('ved_context_object'),t=s.get('ved_chat_question'),r=s.get('ved_chat_autosend'),A=e?'Failed to load '.concat(CV[e],' context : You may continue the chat with Ved and add any necessary details manually.'):'Failed to load context : You may continue the chat with Ved and add any necessary details manually.';if(t){var l;try{l=decodeURIComponent(t)}catch(e){return void BV.error(A)}a(),o(l),'true'===r&&(n(l),i(function(e){return Me(Me([],e,!0),[{from:'query',text:l}],!1)}),o(''))}else e&&BV.error(A)},[t])}var jV=function(e){return new Promise(function(t,n){var r=new Image;r.crossOrigin='anonymous',r.onload=function(){var e=document.createElement('canvas');e.width=r.width,e.height=r.height;var i=e.getContext('2d');i?(i.drawImage(r,0,0),t(e.toDataURL('image/png'))):n(new Error('Failed to get canvas context'))},r.onerror=function(){return n(new Error('Failed to load image: '.concat(e)))},r.src=e})},FV=function(e,t){return void 0===t&&(t=50),e.length>t?e.slice(0,t)+'...':e};function EV(e){var t=this,r=e.url,i=e.headers,a=void 0===i?{}:i,A=e.onComplete,l=e.onError,c=n(''),u=c[0],d=c[1],f=n(),h=f[0],p=f[1],g=n(),m=g[0],v=g[1],b=n([]),y=b[0],w=b[1],B=n([]),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=o(''),S=o(),k=o(),U=o([]),Q=o([]),L=o(null),O=o(0),I=o(null),N=s(function(){I.current&&(clearTimeout(I.current),I.current=null),d(E.current),O.current=Date.now()},[]),T=s(function(){var e=Date.now(),t=e-O.current;t>=30?(d(E.current),O.current=e):I.current||(I.current=setTimeout(function(){d(E.current),O.current=Date.now(),I.current=null},30-t))},[]),M=s(function(){var e;N(),null===(e=L.current)||void 0===e||e.abort(),L.current=null,F(!1)},[N]),P=function(e){C(function(t){var n=e(t);return Q.current=n,n})},D=s(function(e){return Ne(t,void 0,void 0,function(){var t,n,i,o,s,c,u,f,h,g,m,b,y,B,x,_,j,D,R;return Te(this,function(H){switch(H.label){case 0:I.current&&(clearTimeout(I.current),I.current=null),null===(j=L.current)||void 0===j||j.abort(),F(!0),C([]),d(''),w([]),p(void 0),v(void 0),Q.current=[],E.current='',U.current=[],S.current=void 0,k.current=void 0,O.current=0,t=new AbortController,L.current=t,H.label=1;case 1:return H.trys.push([1,6,7,8]),[4,fetch(r,{method:'POST',body:e,headers:a,signal:t.signal})];case 2:if(!(n=H.sent()).ok||!n.body)throw new Error('Stream failed: '.concat(n.status));i=n.body.getReader(),o=new TextDecoder,s='',H.label=3;case 3:return[4,i.read()];case 4:if(c=H.sent(),u=c.done,f=c.value,u)return[3,5];for(s+=o.decode(f,{stream:!0}),h=s.split('\n\n'),s=null!==(D=h.pop())&&void 0!==D?D:'',g=function(e){var t=function(e){for(var t='',n='',r='',i='',o=0,s=e.split('\n');o<s.length;o++){var a=s[o];a.startsWith('event:')?t=a.slice(6).trim():a.startsWith('data:')?n+=a.slice(5).trim():a.startsWith('description:')?r+=a.slice(12).trim():a.startsWith('id:')&&(i=a.slice(3).trim())}return{event:t,data:n,description:r,id:i}}(e),n=t.event,r=t.data,i=t.description,o=t.id;switch(n){case'tool_start':P(function(e){return Me(Me([],e,!0),[{id:Number(o),description:i,status:'running'}],!1)});break;case'tool_end':P(function(e){var t,n=null===(t=Me([],e,!0).map(function(e,t){return{t:e,i:t}}).reverse().find(function(e){return'running'===e.t.status}))||void 0===t?void 0:t.i;if(void 0===n)return e;var r=Me([],e,!0);return r[n]=Oe(Oe({},r[n]),{status:'completed',description:i}),r});break;case'answer_chunk':var s=JSON.parse(r).chunk;E.current+=s,T();break;case'answer_end':var a=JSON.parse(r);E.current=a,N();break;case'chart_end':a=JSON.parse(r);var c=null!==(R=a.chart_config_list)&&void 0!==R?R:[];w(c),U.current=c;break;case'sources_end':a=JSON.parse(r);p(a.sources),S.current=a.sources;break;case'explainability_end':a=JSON.parse(r);v(a.explainability),k.current=a.explainability;break;case'response_stream_end':a=JSON.parse(r);N();var u={answerHtml:a.answer,sourcesHtml:a.sources,charts:a.chart_config_list,tools:Q.current,explainabilityHtml:a.explainability,messageId:a.message_id};return null==A||A(u),M(),{value:void 0};case'error':var d=r;try{d='string'==typeof(a=JSON.parse(r))?a:a.message}catch(e){}var f=new Error(d);return null==l||l(f,{answerHtml:E.current,sourcesHtml:S.current,charts:U.current,tools:Q.current,explainabilityHtml:k.current}),M(),{value:void 0}}},m=0,b=h;m<b.length;m++)if(y=b[m],'object'==typeof(B=g(y)))return[2,B.value];return[3,3];case 5:return[3,8];case 6:return x=H.sent(),_=x.name,null==l||l(x,void 0,'AbortError'===_?'AbortError':'Error'),[3,8];case 7:return N(),F(!1),[7];case 8:return[2]}})})},[r,a,M,A,l,T,N]);return{answerHtml:u,tools:x,sourcesHtml:h,explainabilityHtml:m,charts:y,isStreaming:j,start:D,stop:M}}var SV,kV,UV,QV=Nt.div(SV||(SV=Pe(['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n'],['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n']))),LV=Nt.div(kV||(kV=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),OV=Nt.div(UV||(UV=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n']))),IV=function(e){var n=e.question;return t.createElement(QV,null,t.createElement(LV,null,t.createElement('div',null,t.createElement(Fn,{svg:'data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Group%206054%22%3E%3Cg%20id%3D%22Group%206038%22%3E%3Cg%20id%3D%22Group%206016%22%3E%3Cg%20id%3D%22Group%205999%22%3E%3Cpath%20id%3D%22Path%203219%22%20d%3D%22M16%203C18.5712%203%2021.0846%203.76244%2023.2224%205.19089C25.3602%206.61935%2027.0265%208.64967%2028.0104%2011.0251C28.9944%2013.4006%2029.2518%2016.0144%2028.7502%2018.5362C28.2486%2021.0579%2027.0105%2023.3743%2025.1924%2025.1924C23.3743%2027.0105%2021.0579%2028.2486%2018.5362%2028.7502C16.0144%2029.2518%2013.4006%2028.9944%2011.0251%2028.0104C8.64967%2027.0265%206.61935%2025.3602%205.19089%2023.2224C3.76244%2021.0846%203%2018.5712%203%2016C3%2012.5522%204.36964%209.24558%206.80761%206.80761C9.24558%204.36964%2012.5522%203%2016%203Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20id%3D%22Path%203220%22%20d%3D%22M15.7617%2015.4619C15.4452%2015.473%2015.1296%2015.4204%2014.8338%2015.3071C14.538%2015.1938%2014.268%2015.0222%2014.0399%2014.8025C13.6064%2014.3494%2013.3645%2013.7465%2013.3645%2013.1195C13.3645%2012.4924%2013.6064%2011.8896%2014.0399%2011.4365C14.5139%2011.014%2015.1268%2010.7806%2015.7617%2010.7806C16.3967%2010.7806%2017.0095%2011.014%2017.4836%2011.4365C17.9171%2011.8896%2018.159%2012.4924%2018.159%2013.1195C18.159%2013.7465%2017.9171%2014.3494%2017.4836%2014.8025C17.2555%2015.0222%2016.9855%2015.1938%2016.6897%2015.3071C16.3939%2015.4204%2016.0783%2015.473%2015.7617%2015.4619ZM11.1749%2020.847C11.0656%2020.8491%2010.9569%2020.8291%2010.8555%2020.7882C10.754%2020.7473%2010.6618%2020.6864%2010.5845%2020.6091C10.5062%2020.535%2010.4442%2020.4455%2010.4024%2020.3462C10.3606%2020.2469%2010.3399%2020.14%2010.3417%2020.0322V19.5068C10.3342%2019.1518%2010.4426%2018.8041%2010.6505%2018.5162C10.8571%2018.2341%2011.1336%2018.0105%2011.4527%2017.8675C12.1625%2017.5543%2012.8986%2017.3044%2013.6524%2017.1207C14.3433%2016.9553%2015.0513%2016.8712%2015.7617%2016.8701C16.471%2016.8711%2017.1775%2016.9572%2017.8663%2017.1265C18.6167%2017.3136%2019.3508%2017.5615%2020.0611%2017.8675C20.3845%2018.0083%2020.6649%2018.2321%2020.8739%2018.5162C21.0819%2018.8041%2021.1903%2019.1518%2021.1828%2019.5068V20.0322C21.1845%2020.14%2021.1638%2020.2469%2021.122%2020.3462C21.0802%2020.4455%2021.0182%2020.535%2020.94%2020.6091C20.8626%2020.6864%2020.7704%2020.7473%2020.669%2020.7882C20.5675%2020.8291%2020.4589%2020.8491%2020.3495%2020.847H11.1749Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:32})),t.createElement(OV,null,n)))},NV=Nt.div(PV||(PV=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n']))),TV=Nt.div(DV||(DV=Pe(['\n vu-flex\n vu-gap-x-3\n vu-w-full\n'],['\n vu-flex\n vu-gap-x-3\n vu-w-full\n']))),MV=Nt.div(RV||(RV=Pe(['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'],['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'])));Nt.div(HV||(HV=Pe(['\n vu-flex\n vu-justify-end\n vu-text-xs\n'],['\n vu-flex\n vu-justify-end\n vu-text-xs\n'])));var PV,DV,RV,HV,zV,KV,VV,qV,GV,WV,YV,XV,JV,ZV=Nt.div(zV||(zV=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n']))),$V=Nt.div(KV||(KV=Pe(['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n'],['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n']))),eq=Nt.div(VV||(VV=Pe(['\n vu-text-red-500\n'],['\n vu-text-red-500\n']))),tq=Nt.div(qV||(qV=Pe(['\n vu-opacity-60\n vu-self-center\n'],['\n vu-opacity-60\n vu-self-center\n']))),nq=Nt.span(GV||(GV=Pe(['\n vu-text-sm\n'],['\n vu-text-sm\n']))),rq=Nt.div(WV||(WV=Pe(['\n vu-text-sm vu-font-semibold\n'],['\n vu-text-sm vu-font-semibold\n']))),iq=Nt.div(YV||(YV=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n']))),oq=Nt.p(XV||(XV=Pe(['\n vu-text-center\n vu-font-medium\n vu-m-0\n'],['\n vu-text-center\n vu-font-medium\n vu-m-0\n']))),sq=Nt.p(JV||(JV=Pe(['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n'],['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n']))),aq=function(e){var n=e.title,r=e.value;return t.createElement(iq,null,t.createElement(sq,null,QL(r)),t.createElement(oq,null,n))},Aq=function(e){var n,r,i,o,s,a=e.type,A=e.chartData;switch(a){case'line':return t.createElement(UI,{chartData:A});case'bar':return t.createElement(OL,{chartData:A});case'pie':return t.createElement(wO,{chartData:A});case'single_stat':var l=A;return t.createElement(aq,{title:null!==(r=null===(n=l.labels)||void 0===n?void 0:n[0])&&void 0!==r?r:'',value:null!==(s=null===(o=null===(i=l.values)||void 0===i?void 0:i[0])||void 0===o?void 0:o.toString())&&void 0!==s?s:''});default:return t.createElement('div',null,'Chart Type Not Found.')}};const lq=Math.min,cq=Math.max,uq=Math.round,dq=Math.floor,fq=e=>({x:e,y:e}),hq={left:'right',right:'left',bottom:'top',top:'bottom'},pq={start:'end',end:'start'};function gq(e,t,n){return cq(e,lq(t,n))}function mq(e,t){return'function'==typeof e?e(t):e}function vq(e){return e.split('-')[0]}function bq(e){return e.split('-')[1]}function yq(e){return'x'===e?'y':'x'}function wq(e){return'y'===e?'height':'width'}const Bq=new Set(['top','bottom']);function xq(e){return Bq.has(vq(e))?'y':'x'}function Cq(e){return yq(xq(e))}function _q(e){return e.replace(/start|end/g,e=>pq[e])}const jq=['left','right'],Fq=['right','left'],Eq=['top','bottom'],Sq=['bottom','top'];function kq(e,t,n,r){const i=bq(e);let o=function(e,t,n){switch(e){case'top':case'bottom':return n?t?Fq:jq:t?jq:Fq;case'left':case'right':return t?Eq:Sq;default:return[]}}(vq(e),'start'===n,r);return i&&(o=o.map(e=>e+'-'+i),t&&(o=o.concat(o.map(_q)))),o}function Uq(e){return e.replace(/left|right|bottom|top/g,e=>hq[e])}function Qq(e){return'number'!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Lq(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Oq(e,t,n){let{reference:r,floating:i}=e;const o=xq(t),s=Cq(t),a=wq(s),A=vq(t),l='y'===o,c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let f;switch(A){case'top':f={x:c,y:r.y-i.height};break;case'bottom':f={x:c,y:r.y+r.height};break;case'right':f={x:r.x+r.width,y:u};break;case'left':f={x:r.x-i.width,y:u};break;default:f={x:r.x,y:r.y}}switch(bq(t)){case'start':f[s]-=d*(n&&l?-1:1);break;case'end':f[s]+=d*(n&&l?-1:1)}return f}async function Iq(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:A}=e,{boundary:l='clippingAncestors',rootBoundary:c='viewport',elementContext:u='floating',altBoundary:d=!1,padding:f=0}=mq(t,e),h=Qq(f),p=a[d?'floating'===u?'reference':'floating':u],g=Lq(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:A})),m='floating'===u?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},y=Lq(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:A}):m);return{top:(g.top-y.top+h.top)/b.y,bottom:(y.bottom-g.bottom+h.bottom)/b.y,left:(g.left-y.left+h.left)/b.x,right:(y.right-g.right+h.right)/b.x}}const Nq=new Set(['left','top']);function Tq(){return'undefined'!=typeof window}function Mq(e){return Rq(e)?(e.nodeName||'').toLowerCase():'#document'}function Pq(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Dq(e){var t;return null==(t=(Rq(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rq(e){return!!Tq()&&(e instanceof Node||e instanceof Pq(e).Node)}function Hq(e){return!!Tq()&&(e instanceof Element||e instanceof Pq(e).Element)}function zq(e){return!!Tq()&&(e instanceof HTMLElement||e instanceof Pq(e).HTMLElement)}function Kq(e){return!(!Tq()||'undefined'==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Pq(e).ShadowRoot)}const Vq=new Set(['inline','contents']);function qq(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=iG(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Vq.has(i)}const Gq=new Set(['table','td','th']);function Wq(e){return Gq.has(Mq(e))}const Yq=[':popover-open',':modal'];function Xq(e){return Yq.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Jq=['transform','translate','scale','rotate','perspective'],Zq=['transform','translate','scale','rotate','perspective','filter'],$q=['paint','layout','strict','content'];function eG(e){const t=tG(),n=Hq(e)?iG(e):e;return Jq.some(e=>!!n[e]&&'none'!==n[e])||!!n.containerType&&'normal'!==n.containerType||!t&&!!n.backdropFilter&&'none'!==n.backdropFilter||!t&&!!n.filter&&'none'!==n.filter||Zq.some(e=>(n.willChange||'').includes(e))||$q.some(e=>(n.contain||'').includes(e))}function tG(){return!('undefined'==typeof CSS||!CSS.supports)&&CSS.supports('-webkit-backdrop-filter','none')}const nG=new Set(['html','body','#document']);function rG(e){return nG.has(Mq(e))}function iG(e){return Pq(e).getComputedStyle(e)}function oG(e){return Hq(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sG(e){if('html'===Mq(e))return e;const t=e.assignedSlot||e.parentNode||Kq(e)&&e.host||Dq(e);return Kq(t)?t.host:t}function aG(e){const t=sG(e);return rG(t)?e.ownerDocument?e.ownerDocument.body:e.body:zq(t)&&qq(t)?t:aG(t)}function AG(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=aG(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=Pq(i);if(o){const e=lG(s);return t.concat(s,s.visualViewport||[],qq(i)?i:[],e&&n?AG(e):[])}return t.concat(i,AG(i,[],n))}function lG(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cG(e){const t=iG(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=zq(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=uq(n)!==o||uq(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function uG(e){return Hq(e)?e:e.contextElement}function dG(e){const t=uG(e);if(!zq(t))return fq(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=cG(t);let s=(o?uq(n.width):n.width)/r,a=(o?uq(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const fG=fq(0);function hG(e){const t=Pq(e);return tG()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:fG}function pG(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=uG(e);let s=fq(1);t&&(r?Hq(r)&&(s=dG(r)):s=dG(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Pq(e))&&t}(o,n,r)?hG(o):fq(0);let A=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,u=i.height/s.y;if(o){const e=Pq(o),t=r&&Hq(r)?Pq(r):r;let n=e,i=lG(n);for(;i&&r&&t!==n;){const e=dG(i),t=i.getBoundingClientRect(),r=iG(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;A*=e.x,l*=e.y,c*=e.x,u*=e.y,A+=o,l+=s,n=Pq(i),i=lG(n)}}return Lq({width:c,height:u,x:A,y:l})}function gG(e,t){const n=oG(e).scrollLeft;return t?t.left+n:pG(Dq(e)).left+n}function mG(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-gG(e,n),y:n.top+t.scrollTop}}const vG=new Set(['absolute','fixed']);function bG(e,t,n){let r;if('viewport'===t)r=function(e,t){const n=Pq(e),r=Dq(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,A=0;if(i){o=i.width,s=i.height;const e=tG();(!e||e&&'fixed'===t)&&(a=i.offsetLeft,A=i.offsetTop)}const l=gG(r);if(l<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i='CSS1Compat'===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:A}}(e,n);else if('document'===t)r=function(e){const t=Dq(e),n=oG(e),r=e.ownerDocument.body,i=cq(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=cq(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+gG(e);const a=-n.scrollTop;return'rtl'===iG(r).direction&&(s+=cq(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(Dq(e));else if(Hq(t))r=function(e,t){const n=pG(e,!0,'fixed'===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=zq(e)?dG(e):fq(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=hG(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Lq(r)}function yG(e,t){const n=sG(e);return!(n===t||!Hq(n)||rG(n))&&('fixed'===iG(n).position||yG(n,t))}function wG(e,t,n){const r=zq(t),i=Dq(t),o='fixed'===n,s=pG(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const A=fq(0);function l(){A.x=gG(i)}if(r||!r&&!o)if(('body'!==Mq(t)||qq(i))&&(a=oG(t)),r){const e=pG(t,!0,o,t);A.x=e.x+t.clientLeft,A.y=e.y+t.clientTop}else i&&l();o&&!r&&i&&l();const c=!i||r||o?fq(0):mG(i,a);return{x:s.left+a.scrollLeft-A.x-c.x,y:s.top+a.scrollTop-A.y-c.y,width:s.width,height:s.height}}function BG(e){return'static'===iG(e).position}function xG(e,t){if(!zq(e)||'fixed'===iG(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Dq(e)===n&&(n=n.ownerDocument.body),n}function CG(e,t){const n=Pq(e);if(Xq(e))return n;if(!zq(e)){let t=sG(e);for(;t&&!rG(t);){if(Hq(t)&&!BG(t))return t;t=sG(t)}return n}let r=xG(e,t);for(;r&&Wq(r)&&BG(r);)r=xG(r,t);return r&&rG(r)&&BG(r)&&!eG(r)?n:r||function(e){let t=sG(e);for(;zq(t)&&!rG(t);){if(eG(t))return t;if(Xq(t))return null;t=sG(t)}return null}(e)||n}const _G={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o='fixed'===i,s=Dq(r),a=!!t&&Xq(t.floating);if(r===s||a&&o)return n;let A={scrollLeft:0,scrollTop:0},l=fq(1);const c=fq(0),u=zq(r);if((u||!u&&!o)&&(('body'!==Mq(r)||qq(s))&&(A=oG(r)),zq(r))){const e=pG(r);l=dG(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!s||u||o?fq(0):mG(s,A);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-A.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-A.scrollTop*l.y+c.y+d.y}},getDocumentElement:Dq,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...'clippingAncestors'===n?Xq(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=AG(e,[],!1).filter(e=>Hq(e)&&'body'!==Mq(e)),i=null;const o='fixed'===iG(e).position;let s=o?sG(e):e;for(;Hq(s)&&!rG(s);){const t=iG(s),n=eG(s);n||'fixed'!==t.position||(i=null),(o?!n&&!i:!n&&'static'===t.position&&i&&vG.has(i.position)||qq(s)&&!n&&yG(e,s))?r=r.filter(e=>e!==s):i=t,s=sG(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=bG(t,n,i);return e.top=cq(r.top,e.top),e.right=lq(r.right,e.right),e.bottom=lq(r.bottom,e.bottom),e.left=cq(r.left,e.left),e},bG(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:CG,getElementRects:async function(e){const t=this.getOffsetParent||CG,n=this.getDimensions,r=await n(e.floating);return{reference:wG(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=cG(e);return{width:t,height:n}},getScale:dG,isElement:Hq,isRTL:function(e){return'rtl'===iG(e).direction}};function jG(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FG(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s='function'==typeof ResizeObserver,layoutShift:a='function'==typeof IntersectionObserver,animationFrame:A=!1}=r,l=uG(e),c=i||o?[...l?AG(l):[],...AG(t)]:[];c.forEach(e=>{i&&e.addEventListener('scroll',n,{passive:!0}),o&&e.addEventListener('resize',n)});const u=l&&a?function(e,t){let n,r=null;const i=Dq(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,A){void 0===a&&(a=!1),void 0===A&&(A=1),o();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:f}=l;if(a||t(),!d||!f)return;const h={rootMargin:-dq(u)+'px '+-dq(i.clientWidth-(c+d))+'px '+-dq(i.clientHeight-(u+f))+'px '+-dq(c)+'px',threshold:cq(0,lq(1,A))||1};let p=!0;function g(t){const r=t[0].intersectionRatio;if(r!==A){if(!p)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||jG(l,e.getBoundingClientRect())||s(),p=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(l,n):null;let d,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),l&&!A&&h.observe(l),h.observe(t));let p=A?pG(e):null;return A&&function t(){const r=pG(e);p&&!jG(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener('scroll',n),o&&e.removeEventListener('resize',n)}),null==u||u(),null==(e=h)||e.disconnect(),h=null,A&&cancelAnimationFrame(d)}}const EG=function(e){return void 0===e&&(e=0),{name:'offset',options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,A=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=vq(n),a=bq(n),A='y'===xq(n),l=Nq.has(s)?-1:1,c=o&&A?-1:1,u=mq(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}='number'==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&'number'==typeof h&&(f='end'===a?-1*h:h),A?{x:f*c,y:d*l}:{x:d*l,y:f*c}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+A.x,y:o+A.y,data:{...A,placement:s}}}}},SG=function(e){return void 0===e&&(e={}),{name:'shift',options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:A={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=mq(e,t),c={x:n,y:r},u=await o.detectOverflow(t,l),d=xq(vq(i)),f=yq(d);let h=c[f],p=c[d];if(s){const e='y'===f?'bottom':'right';h=gq(h+u['y'===f?'top':'left'],h,h-u[e])}if(a){const e='y'===d?'bottom':'right';p=gq(p+u['y'===d?'top':'left'],p,p-u[e])}const g=A.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[d]:a}}}}}},kG=function(e){return void 0===e&&(e={}),{name:'flip',options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:A,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f='bestFit',fallbackAxisSideDirection:h='none',flipAlignment:p=!0,...g}=mq(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=vq(i),v=xq(a),b=vq(a)===a,y=await(null==A.isRTL?void 0:A.isRTL(l.floating)),w=d||(b||!p?[Uq(a)]:function(e){const t=Uq(e);return[_q(e),t,_q(t)]}(a)),B='none'!==h;!d&&B&&w.push(...kq(a,p,h,y));const x=[a,...w],C=await A.detectOverflow(t,g),_=[];let j=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&_.push(C[m]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=bq(e),i=Cq(e),o=wq(i);let s='x'===i?r===(n?'end':'start')?'right':'left':'start'===r?'bottom':'top';return t.reference[o]>t.floating[o]&&(s=Uq(s)),[s,Uq(s)]}(i,s,y);_.push(C[e[0]],C[e[1]])}if(j=[...j,{placement:i,overflows:_}],!_.every(e=>e<=0)){var F,E;const e=((null==(F=o.flip)?void 0:F.index)||0)+1,t=x[e];if(t){if(!('alignment'===u&&v!==xq(t))||j.every(e=>xq(e.placement)!==v||e.overflows[0]>0))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(E=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:E.placement;if(!n)switch(f){case'bestFit':{var S;const e=null==(S=j.filter(e=>{if(B){const t=xq(e.placement);return t===v||'y'===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case'initialPlacement':n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},UG=e=>({name:'arrow',options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:A}=t,{element:l,padding:c=0}=mq(e,t)||{};if(null==l)return{};const u=Qq(c),d={x:n,y:r},f=Cq(i),h=wq(f),p=await s.getDimensions(l),g='y'===f,m=g?'top':'left',v=g?'bottom':'right',b=g?'clientHeight':'clientWidth',y=o.reference[h]+o.reference[f]-d[f]-o.floating[h],w=d[f]-o.reference[f],B=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let x=B?B[b]:0;x&&await(null==s.isElement?void 0:s.isElement(B))||(x=a.floating[b]||o.floating[h]);const C=y/2-w/2,_=x/2-p[h]/2-1,j=lq(u[m],_),F=lq(u[v],_),E=j,S=x-p[h]-F,k=x/2-p[h]/2+C,U=gq(E,k,S),Q=!A.arrow&&null!=bq(i)&&k!==U&&o.reference[h]/2-(k<E?j:F)-p[h]/2<0,L=Q?k<E?k-E:k-S:0;return{[f]:d[f]+L,data:{[f]:U,centerOffset:k-U-L,...Q&&{alignmentOffset:L}},reset:Q}}}),QG=(e,t,n)=>{const r=new Map,i={platform:_G,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r='bottom',strategy:i='absolute',middleware:o=[],platform:s}=n,a=o.filter(Boolean),A=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=Oq(l,r,A),d=r,f={},h=0;for(let n=0;n<a.length;n++){var p;const{name:o,fn:g}=a[n],{x:m,y:v,data:b,reset:y}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:f,rects:l,platform:{...s,detectOverflow:null!=(p=s.detectOverflow)?p:Iq},elements:{reference:e,floating:t}});c=null!=m?m:c,u=null!=v?v:u,f={...f,[o]:{...f[o],...b}},y&&h<=50&&(h++,'object'==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:u}=Oq(l,d,A))),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};var LG,OG={exports:{}};
1393
- /*!
1394
- Copyright (c) 2018 Jed Watson.
1395
- Licensed under the MIT License (MIT), see
1396
- http://jedwatson.github.io/classnames
1397
- */LG=OG,function(){var e={}.hasOwnProperty;function t(){for(var e='',t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=r(e,n(i)))}return e}function n(n){if('string'==typeof n||'number'==typeof n)return n;if('object'!=typeof n)return'';if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes('[native code]'))return n.toString();var i='';for(var o in n)e.call(n,o)&&n[o]&&(i=r(i,o));return i}function r(e,t){return t?e?e+' '+t:e+t:e}LG.exports?(t.default=t,LG.exports=t):window.classNames=t}();var IG=rr(OG.exports);
1398
- /*
1399
- * React Tooltip
1400
- * {@link https://github.com/ReactTooltip/react-tooltip}
1401
- * @copyright ReactTooltip Team
1402
- * @license MIT
1403
- */
1404
- const NG={core:!1,base:!1};function TG({css:e,id:t='react-tooltip-base-styles',type:n='base',ref:r}){var i,o;if(!e||'undefined'==typeof document||NG[n])return;if('core'===n&&'undefined'!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if('base'!==n&&'undefined'!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;'core'===n&&(t='react-tooltip-core-styles'),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName('head')[0],A=document.createElement('style');A.id=t,A.type='text/css','top'===s&&a.firstChild?a.insertBefore(A,a.firstChild):a.appendChild(A),A.styleSheet?A.styleSheet.cssText=e:A.appendChild(document.createTextNode(e)),NG[n]=!0}const MG=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r='top',offset:i=10,strategy:o='absolute',middlewares:s=[EG(Number(i)),kG({fallbackAxisSideDirection:'start'}),SG({padding:5})],border:a,arrowSize:A=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push(UG({element:n,padding:5})),QG(e,t,{placement:r,strategy:o,middleware:l}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var i,o;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},u=null!==(o={top:'bottom',right:'left',bottom:'top',left:'right'}[n.split('-')[0]])&&void 0!==o?o:'bottom',d=a&&{borderBottom:a,borderRight:a};let f=0;if(a){const e=`${a}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:'',top:null!=c?`${c}px`:'',right:'',bottom:'',...d,[u]:`-${A/2+f}px`},place:n}})):QG(e,t,{placement:'bottom',strategy:o,middleware:l}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}))},PG=(e,t)=>!('CSS'in window&&'supports'in window.CSS)||window.CSS.supports(e,t),DG=(e,t,n)=>{let r=null;const i=function(...i){const o=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},RG=e=>null!==e&&!Array.isArray(e)&&'object'==typeof e,HG=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>HG(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!RG(e)||!RG(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>HG(e[n],t[n]))},zG=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return['overflow','overflow-x','overflow-y'].some(e=>{const n=t.getPropertyValue(e);return'auto'===n||'scroll'===n})},KG=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(zG(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},VG='undefined'!=typeof window?l:r,qG=e=>{e.current&&(clearTimeout(e.current),e.current=null)},GG={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},WG=h({getTooltipData:()=>GG});function YG(e='DEFAULT_TOOLTIP_ID'){return u(WG).getTooltipData(e)}var XG={tooltip:'core-styles-module_tooltip__3vRRp',fixed:'core-styles-module_fixed__pcSol',arrow:'core-styles-module_arrow__cvMwQ',noArrow:'core-styles-module_noArrow__xock6',clickable:'core-styles-module_clickable__ZuTTB',show:'core-styles-module_show__Nt9eE',closing:'core-styles-module_closing__sGnxF'},JG={tooltip:'styles-module_tooltip__mnnfp',arrow:'styles-module_arrow__K0L3T',dark:'styles-module_dark__xNqje',light:'styles-module_light__Z6W-X',success:'styles-module_success__A2AKt',warning:'styles-module_warning__SCK0X',error:'styles-module_error__JvumD',info:'styles-module_info__BWdHW'};const ZG=({forwardRef:e,id:i,className:a,classNameArrow:A,variant:l='dark',anchorId:c,anchorSelect:u,place:d='top',offset:f=10,events:h=['hover'],openOnClick:p=!1,positionStrategy:g='absolute',middlewares:m,wrapper:b,delayShow:y=0,delayHide:w=0,float:B=!1,hidden:x=!1,noArrow:C=!1,clickable:_=!1,closeOnEsc:j=!1,closeOnScroll:F=!1,closeOnResize:E=!1,openEvents:S,closeEvents:k,globalCloseEvents:U,imperativeModeOnly:Q,style:L,position:O,afterShow:I,afterHide:N,disableTooltip:T,content:M,contentWrapperRef:P,isOpen:D,defaultIsOpen:R=!1,setIsOpen:H,previousActiveAnchor:z,activeAnchor:K,setActiveAnchor:V,border:q,opacity:G,arrowColor:W,arrowSize:Y=8,role:X='tooltip'})=>{var J;const Z=o(null),$=o(null),ee=o(null),te=o(null),ne=o(null),[re,ie]=n({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[oe,se]=n(!1),[ae,Ae]=n(!1),[le,ce]=n(null),ue=o(!1),de=o(null),{anchorRefs:fe,setActiveAnchor:he}=YG(i),pe=o(!1),[ge,me]=n([]),ve=o(!1),be=p||h.includes('click'),ye=be||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),we=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&be&&Object.assign(we,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Be=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&be&&Object.assign(Be,{mouseleave:!1,blur:!1,mouseout:!1});const xe=U?{...U}:{escape:j||!1,scroll:F||!1,resize:E||!1,clickOutsideAnchor:ye||!1};Q&&(Object.assign(we,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Be,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),VG(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Ce=e=>{ve.current&&(e&&Ae(!0),setTimeout(()=>{ve.current&&(null==H||H(e),void 0===D&&se(e))},10))};r(()=>{if(i){if(oe){t(z);const n=e(K),r=[...new Set([...n,i])].filter(Boolean).join(' ');null==K||K.setAttribute('aria-describedby',r)}else t(K);return()=>{t(K),t(z)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute('aria-describedby'))||void 0===t?void 0:t.split(' '))||[]}function t(t){const n=e(t).filter(e=>e!==i);n.length?null==t||t.setAttribute('aria-describedby',n.join(' ')):null==t||t.removeAttribute('aria-describedby')}},[K,oe,i,z]),r(()=>{if(void 0===D)return()=>null;D&&Ae(!0);const e=setTimeout(()=>{se(D)},10);return()=>{clearTimeout(e)}},[D]),r(()=>{if(oe!==ue.current)if(qG(ne),ue.current=oe,oe)null==I||I();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue('--rt-transition-show-delay').match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*('ms'===n?1:1e3)})();ne.current=setTimeout(()=>{Ae(!1),ce(null),null==N||N()},e+25)}},[oe]);const _e=e=>{ie(t=>HG(t,e)?t:e)},je=(e=y)=>{qG(ee),ae?Ce(!0):ee.current=setTimeout(()=>{Ce(!0)},e)},Fe=(e=w)=>{qG(te),te.current=setTimeout(()=>{pe.current||Ce(!1)},e)},Ee=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void he({current:null});y?je():Ce(!0),V(n),he({current:n}),qG(te)},Se=()=>{_?Fe(w||100):w?Fe():Ce(!1),qG(ee)},ke=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};MG({place:null!==(n=null==le?void 0:le.place)&&void 0!==n?n:d,offset:f,elementReference:r,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{_e(e)})},Ue=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};ke(n),de.current=n},Qe=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${c}']`),...ge].some(e=>null==e?void 0:e.contains(n))||(Ce(!1),qG(ee)))},Le=DG(Ee,50,!0),Oe=DG(Se,50,!0),Ie=e=>{Oe.cancel(),Le(e)},Ne=()=>{Le.cancel(),Oe()},Te=s(()=>{var e,t;const n=null!==(e=null==le?void 0:le.position)&&void 0!==e?e:O;n?ke(n):B?de.current&&ke(de.current):(null==K?void 0:K.isConnected)&&MG({place:null!==(t=null==le?void 0:le.place)&&void 0!==t?t:d,offset:f,elementReference:K,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{ve.current&&_e(e)})},[oe,K,M,L,d,null==le?void 0:le.place,f,g,O,null==le?void 0:le.position,B,Y]);r(()=>{var e,t;const n=new Set(fe);ge.forEach(e=>{(null==T?void 0:T(e))||n.add({current:e})});const r=document.querySelector(`[id='${c}']`);r&&!(null==T?void 0:T(r))&&n.add({current:r});const i=()=>{Ce(!1)},o=KG(K),s=KG(Z.current);xe.scroll&&(window.addEventListener('scroll',i),null==o||o.addEventListener('scroll',i),null==s||s.addEventListener('scroll',i));let a=null;xe.resize?window.addEventListener('resize',i):K&&Z.current&&(a=FG(K,Z.current,Te,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const A=e=>{'Escape'===e.key&&Ce(!1)};xe.escape&&window.addEventListener('keydown',A),xe.clickOutsideAnchor&&window.addEventListener('click',Qe);const l=[],u=e=>Boolean((null==e?void 0:e.target)&&(null==K?void 0:K.contains(e.target))),d=e=>{oe&&u(e)||Ee(e)},f=e=>{oe&&u(e)&&Se()},h=['mouseover','mouseout','mouseenter','mouseleave','focus','blur'],p=['click','dblclick','mousedown','mouseup'];Object.entries(we).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ie}):p.includes(e)&&l.push({event:e,listener:d}))}),Object.entries(Be).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ne}):p.includes(e)&&l.push({event:e,listener:f}))}),B&&l.push({event:'pointermove',listener:Ue});const g=()=>{pe.current=!0},m=()=>{pe.current=!1,Se()},v=_&&(Be.mouseout||Be.mouseleave);return v&&(null===(e=Z.current)||void 0===e||e.addEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.addEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;xe.scroll&&(window.removeEventListener('scroll',i),null==o||o.removeEventListener('scroll',i),null==s||s.removeEventListener('scroll',i)),xe.resize?window.removeEventListener('resize',i):null==a||a(),xe.clickOutsideAnchor&&window.removeEventListener('click',Qe),xe.escape&&window.removeEventListener('keydown',A),v&&(null===(e=Z.current)||void 0===e||e.removeEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.removeEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[K,Te,ae,fe,ge,S,k,U,be,y,w]),r(()=>{var e,t;let n=null!==(t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u)&&void 0!==t?t:'';!n&&i&&(n=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`);const r=new MutationObserver(e=>{const t=[],r=[];e.forEach(e=>{if('attributes'===e.type&&'data-tooltip-id'===e.attributeName&&(e.target.getAttribute('data-tooltip-id')===i?t.push(e.target):e.oldValue===i&&r.push(e.target)),'childList'===e.type){if(K){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{r.push(...t.filter(e=>e.matches(n))),r.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,K))&&(Ae(!1),Ce(!1),V(null),qG(ee),qG(te),!0)})}if(n)try{const r=[...e.addedNodes].filter(e=>1===e.nodeType);t.push(...r.filter(e=>e.matches(n))),t.push(...r.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}}}),(t.length||r.length)&&me(e=>[...e.filter(e=>!r.includes(e)),...t])});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:['data-tooltip-id'],attributeOldValue:!0}),()=>{r.disconnect()}},[i,u,null==le?void 0:le.anchorSelect,K]),r(()=>{Te()},[Te]),r(()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Te())});return e.observe(P.current),()=>{e.disconnect()}},[M,null==P?void 0:P.current]),r(()=>{var e;const t=document.querySelector(`[id='${c}']`),n=[...ge,t];K&&n.includes(K)||V(null!==(e=ge[0])&&void 0!==e?e:t)},[c,ge,K]),r(()=>(R&&Ce(!0),()=>{qG(ee),qG(te)}),[]),r(()=>{var e;let t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u;if(!t&&i&&(t=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`),t)try{const e=Array.from(document.querySelectorAll(t));me(e)}catch(e){me([])}},[i,u,null==le?void 0:le.anchorSelect]),r(()=>{ee.current&&(qG(ee),je(y))},[y]);const Me=null!==(J=null==le?void 0:le.content)&&void 0!==J?J:M,Pe=oe&&Object.keys(re.tooltipStyles).length>0;return v(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(e){return}ce(null!=e?e:null),(null==e?void 0:e.delay)?je(e.delay):Ce(!0)},close:e=>{(null==e?void 0:e.delay)?Fe(e.delay):Ce(!1)},activeAnchor:K,place:re.place,isOpen:Boolean(ae&&!x&&Me&&Pe)})),ae&&!x&&Me?t.createElement(b,{id:i,role:X,className:IG('react-tooltip',XG.tooltip,JG.tooltip,JG[l],a,`react-tooltip__place-${re.place}`,XG[Pe?'show':'closing'],Pe?'react-tooltip__show':'react-tooltip__closing','fixed'===g&&XG.fixed,_&&XG.clickable),onTransitionEnd:e=>{qG(ne),oe||'opacity'!==e.propertyName||(Ae(!1),ce(null),null==N||N())},style:{...L,...re.tooltipStyles,opacity:void 0!==G&&Pe?G:void 0},ref:Z},Me,t.createElement(b,{className:IG('react-tooltip-arrow',XG.arrow,JG.arrow,A,C&&XG.noArrow),style:{...re.tooltipArrowStyles,background:W?`linear-gradient(to right bottom, transparent 50%, ${W} 50%)`:void 0,'--rt-arrow-size':`${Y}px`},ref:$})):null},$G=({content:e})=>t.createElement('span',{dangerouslySetInnerHTML:{__html:e}}),eW=t.forwardRef(({id:e,anchorId:i,anchorSelect:s,content:a,html:A,render:l,className:c,classNameArrow:u,variant:d='dark',place:f='top',offset:h=10,wrapper:p='div',children:g=null,events:m=['hover'],openOnClick:v=!1,positionStrategy:b='absolute',middlewares:y,delayShow:w=0,delayHide:B=0,float:x=!1,hidden:C=!1,noArrow:_=!1,clickable:j=!1,closeOnEsc:F=!1,closeOnScroll:E=!1,closeOnResize:S=!1,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L=!1,style:O,position:I,isOpen:N,defaultIsOpen:T=!1,disableStyleInjection:M=!1,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,role:G='tooltip'},W)=>{const[Y,X]=n(a),[J,Z]=n(A),[$,ee]=n(f),[te,ne]=n(d),[re,ie]=n(h),[oe,se]=n(w),[ae,Ae]=n(B),[le,ce]=n(x),[ue,de]=n(C),[fe,he]=n(p),[pe,ge]=n(m),[me,ve]=n(b),[be,ye]=n(null),[we,Be]=n(null),xe=o(null),Ce=o(M),{anchorRefs:_e,activeAnchor:je}=YG(e),Fe=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith('data-tooltip-')&&(t[n.replace(/^data-tooltip-/,'')]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),Ee=e=>{const t={place:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:f)},content:e=>{X(null!=e?e:a)},html:e=>{Z(null!=e?e:A)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:d)},offset:e=>{ie(null===e?h:Number(e))},wrapper:e=>{var t;he(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(' ');ge(null!=t?t:m)},'position-strategy':e=>{var t;ve(null!==(t=e)&&void 0!==t?t:b)},'delay-show':e=>{se(null===e?w:Number(e))},'delay-hide':e=>{Ae(null===e?B:Number(e))},float:e=>{ce(null===e?x:'true'===e)},hidden:e=>{de(null===e?C:'true'===e)},'class-name':e=>{ye(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};r(()=>{X(a)},[a]),r(()=>{Z(A)},[A]),r(()=>{ee(f)},[f]),r(()=>{ne(d)},[d]),r(()=>{ie(h)},[h]),r(()=>{se(w)},[w]),r(()=>{Ae(B)},[B]),r(()=>{ce(x)},[x]),r(()=>{de(C)},[C]),r(()=>{ve(b)},[b]),r(()=>{Ce.current},[M]),r(()=>{'undefined'!=typeof window&&window.dispatchEvent(new CustomEvent('react-tooltip-inject-styles',{detail:{disableCore:'core'===M,disableBase:M}}))},[]),r(()=>{var t;const n=new Set(_e);let r=s;if(!r&&e&&(r=`[data-tooltip-id='${e.replace(/'/g,'\\\'')}']`),r)try{document.querySelectorAll(r).forEach(e=>{n.add({current:e})})}catch(t){}const o=document.querySelector(`[id='${i}']`);if(o&&n.add({current:o}),!n.size)return()=>null;const a=null!==(t=null!=we?we:o)&&void 0!==t?t:je.current,A=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||'attributes'!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith('data-tooltip-')))return;const n=Fe(a);Ee(n)})}),l={attributes:!0,childList:!1,subtree:!1};if(a){const e=Fe(a);Ee(e),A.observe(a,l)}return()=>{A.disconnect()}},[_e,je,we,i,s]),r(()=>{null==O||O.border,P&&PG('border',`${P}`),null==O||O.opacity,D&&PG('opacity',`${D}`)},[]);let Se=g;const ke=o(null);if(l){const e=l({content:(null==we?void 0:we.getAttribute('data-tooltip-content'))||Y||null,activeAnchor:we});Se=e?t.createElement('div',{ref:ke,className:'react-tooltip-content-wrapper'},e):null}else Y&&(Se=Y);J&&(Se=t.createElement($G,{content:J}));const Ue={forwardRef:W,id:e,anchorId:i,anchorSelect:s,className:IG(c,be),classNameArrow:u,content:Se,contentWrapperRef:ke,place:$,variant:te,offset:re,wrapper:fe,events:pe,openOnClick:v,positionStrategy:me,middlewares:y,delayShow:oe,delayHide:ae,float:le,hidden:ue,noArrow:_,clickable:j,closeOnEsc:F,closeOnScroll:E,closeOnResize:S,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L,style:O,position:I,isOpen:N,defaultIsOpen:T,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,activeAnchor:we,previousActiveAnchor:xe.current,setActiveAnchor:e=>{Be(t=>((null==e?void 0:e.isSameNode(t))||(xe.current=t),e))},role:G};return t.createElement(ZG,{...Ue})});'undefined'!=typeof window&&window.addEventListener('react-tooltip-inject-styles',e=>{e.detail.disableCore||TG({css:':root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}',type:'core'}),e.detail.disableBase||TG({css:'\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*=\'react-tooltip__place-top\']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*=\'react-tooltip__place-right\']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*=\'react-tooltip__place-bottom\']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*=\'react-tooltip__place-left\']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}',type:'base'})});var tW={exports:{}},nW={},rW={exports:{}},iW={},oW={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll('*'),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)};
1405
- /*!
1406
- * Adapted from jQuery UI core
1407
- *
1408
- * http://jqueryui.com
1409
- *
1410
- * Copyright 2014 jQuery Foundation and other contributors
1411
- * Released under the MIT license.
1412
- * http://jquery.org/license
1413
- *
1414
- * http://api.jqueryui.com/category/ui-core/
1415
- */
1416
- var n='none',r='contents',i=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),o=i.getPropertyValue('display');return t?o!==r&&function(e,t){return'visible'!==t.getPropertyValue('overflow')||e.scrollWidth<=0&&e.scrollHeight<=0}(e,i):o===n}catch(e){return!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(i.test(n)&&!e.disabled||'a'===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute('tabindex');null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(oW,oW.exports);var sW=oW.exports;Object.defineProperty(iW,'__esModule',{value:!0}),iW.resetState=function(){lW=[]},iW.log=function(){'production'!==process.env.NODE_ENV&&lW.forEach(function(e){})},iW.handleBlur=dW,iW.handleFocus=fW,iW.markForFocusLater=function(){lW.push(document.activeElement)},iW.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return void(0!==lW.length&&lW.pop().focus({preventScroll:e}))}catch(e){}},iW.popWithoutFocus=function(){lW.length>0&&lW.pop()},iW.setupScopedFocus=function(e){cW=e,window.addEventListener?(window.addEventListener('blur',dW,!1),document.addEventListener('focus',fW,!0)):(window.attachEvent('onBlur',dW),document.attachEvent('onFocus',fW))},iW.teardownScopedFocus=function(){cW=null,window.addEventListener?(window.removeEventListener('blur',dW),document.removeEventListener('focus',fW)):(window.detachEvent('onBlur',dW),document.detachEvent('onFocus',fW))};var aW,AW=(aW=sW)&&aW.__esModule?aW:{default:aW};var lW=[],cW=null,uW=!1;function dW(){uW=!0}function fW(){if(uW){if(uW=!1,!cW)return;setTimeout(function(){cW.contains(document.activeElement)||((0,AW.default)(cW)[0]||cW).focus()},0)}}var hW={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function(e,t){var i=(0,n.default)(e);if(!i.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=i[0],A=i[i.length-1],l=r();if(e===l){if(!s)return;o=A}A!==l||s||(o=a);a===l&&s&&(o=A);if(o)return t.preventDefault(),void o.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||'Chrome'==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=i.indexOf(l);u>-1&&(u+=s?-1:1);if(o=i[u],void 0===o)return t.preventDefault(),void(o=s?A:a).focus();t.preventDefault(),o.focus()};var n=function(e){return e&&e.__esModule?e:{default:e}}(sW);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(hW,hW.exports);var pW=hW.exports,gW={},mW=function(){};if('production'!==process.env.NODE_ENV){var vW=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var i=0,o='Warning: '+e.replace(/%s/g,function(){return t[i++]});try{throw new Error(o)}catch(e){}};mW=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error('`warning(condition, format, ...args)` requires a warning message argument');e||vW.apply(null,[t].concat(n))}}var bW=mW,yW={},wW={exports:{}};
1417
- /*!
1418
- Copyright (c) 2015 Jed Watson.
1419
- Based on code that is Copyright 2013-2015, Facebook, Inc.
1420
- All rights reserved.
1421
- */
1422
- !function(e){!function(){var t=!('undefined'==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:'undefined'!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()}(wW);var BW=wW.exports;Object.defineProperty(yW,'__esModule',{value:!0}),yW.canUseDOM=yW.SafeNodeList=yW.SafeHTMLCollection=void 0;var xW=function(e){return e&&e.__esModule?e:{default:e}}(BW);var CW=xW.default,_W=CW.canUseDOM?window.HTMLElement:{};yW.SafeHTMLCollection=CW.canUseDOM?window.HTMLCollection:{},yW.SafeNodeList=CW.canUseDOM?window.NodeList:{},yW.canUseDOM=CW.canUseDOM,yW.default=_W,Object.defineProperty(gW,'__esModule',{value:!0}),gW.resetState=function(){EW&&(EW.removeAttribute?EW.removeAttribute('aria-hidden'):null!=EW.length?EW.forEach(function(e){return e.removeAttribute('aria-hidden')}):document.querySelectorAll(EW).forEach(function(e){return e.removeAttribute('aria-hidden')}));EW=null},gW.log=function(){if('production'!==process.env.NODE_ENV);},gW.assertNodeList=SW,gW.setElement=function(e){var t=e;if('string'==typeof t&&FW.canUseDOM){var n=document.querySelectorAll(t);SW(n,t),t=n}return EW=t||EW},gW.validateElement=kW,gW.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=kW(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute('aria-hidden','true')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},gW.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=kW(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute('aria-hidden')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},gW.documentNotReadyOrSSRTesting=function(){EW=null};var jW=function(e){return e&&e.__esModule?e:{default:e}}(bW),FW=yW;var EW=null;function SW(e,t){if(!e||!e.length)throw new Error('react-modal: No elements were found for selector '+t+'.')}function kW(e){var t=e||EW;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,jW.default)(!1,['react-modal: App element is not defined.','Please use `Modal.setAppElement(el)` or set `appElement={el}`.','This is needed so screen readers don\'t see main content','when modal is opened. It is not recommended, but you can opt-out','by setting `ariaHideApp={false}`.'].join(' ')),[])}var UW={};Object.defineProperty(UW,'__esModule',{value:!0}),UW.resetState=function(){var e=document.getElementsByTagName('html')[0];for(var t in QW)OW(e,QW[t]);var n=document.body;for(var r in LW)OW(n,LW[r]);QW={},LW={}},UW.log=function(){if('production'!==process.env.NODE_ENV){var e=document.getElementsByTagName('html')[0].className;for(var t in QW)' '+t+' '+QW[t]+'\n ';for(var n in'\n\ndoc.body ('+(e=document.body.className)+'):\n ',LW)' '+n+' '+LW[n]+'\n ';0}};var QW={},LW={};function OW(e,t){e.classList.remove(t)}UW.add=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?QW:LW,void t.split(' ').forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),n.add(e)});var n,r},UW.remove=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?QW:LW,void t.split(' ').forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&n.remove(e)});var n,r};var IW={};Object.defineProperty(IW,'__esModule',{value:!0}),IW.log=function(){TW.openInstances.forEach(function(e){})},IW.resetState=function(){TW=new NW};var NW=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit('register')):process.env.NODE_ENV},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit('deregister')):process.env.NODE_ENV},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},TW=new NW;IW.default=TW;var MW={};Object.defineProperty(MW,'__esModule',{value:!0}),MW.resetState=function(){for(var e=[DW,RW],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}DW=RW=null,HW=[]},MW.log=function(){for(var e=[DW,RW],t=0;t<e.length;t++);};var PW=function(e){return e&&e.__esModule?e:{default:e}}(IW);var DW=void 0,RW=void 0,HW=[];function zW(){0!==HW.length?HW[HW.length-1].focusContent():process.env.NODE_ENV}PW.default.subscribe(function(e,t){DW||RW||((DW=document.createElement('div')).setAttribute('data-react-modal-body-trap',''),DW.style.position='absolute',DW.style.opacity='0',DW.setAttribute('tabindex','0'),DW.addEventListener('focus',zW),(RW=DW.cloneNode()).addEventListener('focus',zW)),(HW=t).length>0?(document.body.firstChild!==DW&&document.body.insertBefore(DW,document.body.firstChild),document.body.lastChild!==RW&&document.body.appendChild(RW)):(DW.parentElement&&DW.parentElement.removeChild(DW),RW.parentElement&&RW.parentElement.removeChild(RW))}),function(e,n){Object.defineProperty(n,'__esModule',{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t,a=g(Sr),A=p(iW),l=g(pW),c=p(gW),u=p(UW),d=yW,f=g(d),h=g(IW);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var m={overlay:'ReactModal__Overlay',content:'ReactModal__Content'},v=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,t);var n=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;o&&u.remove(a.body,o),i&&u.remove(a.getElementsByTagName('html')[0],i),r&&v>0&&0===(v-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(A.returnFocus(n.props.preventScroll),A.teardownScopedFocus()):A.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(A.setupScopedFocus(n.node),A.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return'Tab'===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return'Escape'===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r='object'===(void 0===t?'undefined':i(t))?t:{base:m[e],afterOpen:m[e]+'--after-open',beforeClose:m[e]+'--before-close'},o=r.base;return n.state.afterOpen&&(o=o+' '+r.afterOpen),n.state.beforeClose&&(o=o+' '+r.beforeClose),'string'==typeof t&&t?o+' '+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+'-'+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if('function'!=typeof t&&null!==t)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)}(t,e),o(t,[{key:'componentDidMount',value:function(){this.props.isOpen&&this.open()}},{key:'componentDidUpdate',value:function(e,t){'production'!==process.env.NODE_ENV&&(e.bodyOpenClassName,this.props.bodyOpenClassName,e.htmlOpenClassName,this.props.htmlOpenClassName),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:'componentWillUnmount',value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:'beforeOpen',value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,s=o&&o().ownerDocument||document;i&&u.add(s.body,i),r&&u.add(s.getElementsByTagName('html')[0],r),n&&(v+=1,c.hide(t)),h.default.register(this)}},{key:'render',value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,s=e.children,a=n?{}:o.content,A=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName('overlay',i),style:r({},A,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName('content',n),tabIndex:'-1',onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,'aria-label':this.props.contentLabel},this.attributesFromObject('aria',r({modal:!0},this.props.aria)),this.attributesFromObject('data',this.props.data||{}),{'data-testid':this.props.testId}),u=this.props.contentElement(c,s);return this.props.overlayElement(l,u)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(d.SafeHTMLCollection),a.default.instanceOf(d.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=b,e.exports=n.default}(rW,rW.exports);var KW=rW.exports;function VW(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function qW(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function GW(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}VW.__suppressDeprecationWarning=!0,qW.__suppressDeprecationWarning=!0,GW.__suppressDeprecationWarning=!0;var WW=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error('Can only polyfill class components');if('function'!=typeof e.getDerivedStateFromProps&&'function'!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if('function'==typeof t.componentWillMount?n='componentWillMount':'function'==typeof t.UNSAFE_componentWillMount&&(n='UNSAFE_componentWillMount'),'function'==typeof t.componentWillReceiveProps?r='componentWillReceiveProps':'function'==typeof t.UNSAFE_componentWillReceiveProps&&(r='UNSAFE_componentWillReceiveProps'),'function'==typeof t.componentWillUpdate?i='componentWillUpdate':'function'==typeof t.UNSAFE_componentWillUpdate&&(i='UNSAFE_componentWillUpdate'),null!==n||null!==r||null!==i){var o=e.displayName||e.name,s='function'==typeof e.getDerivedStateFromProps?'getDerivedStateFromProps()':'getSnapshotBeforeUpdate()';throw Error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n'+o+' uses '+s+' but also contains the following legacy lifecycles:'+(null!==n?'\n '+n:'')+(null!==r?'\n '+r:'')+(null!==i?'\n '+i:'')+'\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks')}if('function'==typeof e.getDerivedStateFromProps&&(t.componentWillMount=VW,t.componentWillReceiveProps=qW),'function'==typeof t.getSnapshotBeforeUpdate){if('function'!=typeof t.componentDidUpdate)throw new Error('Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype');t.componentWillUpdate=GW;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,r)}}return e}}),YW=ir(WW);Object.defineProperty(nW,'__esModule',{value:!0}),nW.bodyOpenClassName=nW.portalClassName=void 0;var XW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JW=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ZW=t,$W=aY(ZW),eY=aY(b),tY=aY(Sr),nY=aY(KW),rY=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(gW),iY=yW,oY=aY(iY),sY=YW;function aY(e){return e&&e.__esModule?e:{default:e}}function AY(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}var lY=nW.portalClassName='ReactModalPortal',cY=nW.bodyOpenClassName='ReactModal__Body--open',uY=iY.canUseDOM&&void 0!==eY.default.createPortal,dY=function(e){return document.createElement(e)},fY=function(){return uY?eY.default.createPortal:eY.default.unstable_renderSubtreeIntoContainer};function hY(e){return e()}var pY=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=AY(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.removePortal=function(){!uY&&eY.default.unmountComponentAtNode(r.node);var e=hY(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=fY()(r,$W.default.createElement(nY.default,XW({defaultStyles:e.defaultStyles},t)),r.node);r.portalRef(n)},AY(r,n)}return function(e,t){if('function'!=typeof t&&null!==t)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)}(e,ZW.Component),JW(e,[{key:'componentDidMount',value:function(){iY.canUseDOM&&(uY||(this.node=dY('div')),this.node.className=this.props.portalClassName,hY(this.props.parentSelector).appendChild(this.node),!uY&&this.renderPortal(this.props))}},{key:'getSnapshotBeforeUpdate',value:function(e){return{prevParent:hY(e.parentSelector),nextParent:hY(this.props.parentSelector)}}},{key:'componentDidUpdate',value:function(e,t,n){if(iY.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||i)&&!uY&&this.renderPortal(this.props)}}},{key:'componentWillUnmount',value:function(){if(iY.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:'render',value:function(){return iY.canUseDOM&&uY?(!this.node&&uY&&(this.node=dY('div')),fY()($W.default.createElement(nY.default,XW({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:'setAppElement',value:function(e){rY.setElement(e)}}]),e}();pY.propTypes={isOpen:tY.default.bool.isRequired,style:tY.default.shape({content:tY.default.object,overlay:tY.default.object}),portalClassName:tY.default.string,bodyOpenClassName:tY.default.string,htmlOpenClassName:tY.default.string,className:tY.default.oneOfType([tY.default.string,tY.default.shape({base:tY.default.string.isRequired,afterOpen:tY.default.string.isRequired,beforeClose:tY.default.string.isRequired})]),overlayClassName:tY.default.oneOfType([tY.default.string,tY.default.shape({base:tY.default.string.isRequired,afterOpen:tY.default.string.isRequired,beforeClose:tY.default.string.isRequired})]),appElement:tY.default.oneOfType([tY.default.instanceOf(oY.default),tY.default.instanceOf(iY.SafeHTMLCollection),tY.default.instanceOf(iY.SafeNodeList),tY.default.arrayOf(tY.default.instanceOf(oY.default))]),onAfterOpen:tY.default.func,onRequestClose:tY.default.func,closeTimeoutMS:tY.default.number,ariaHideApp:tY.default.bool,shouldFocusAfterRender:tY.default.bool,shouldCloseOnOverlayClick:tY.default.bool,shouldReturnFocusAfterClose:tY.default.bool,preventScroll:tY.default.bool,parentSelector:tY.default.func,aria:tY.default.object,data:tY.default.object,role:tY.default.string,contentLabel:tY.default.string,shouldCloseOnEsc:tY.default.bool,overlayRef:tY.default.func,contentRef:tY.default.func,id:tY.default.string,overlayElement:tY.default.func,contentElement:tY.default.func},pY.defaultProps={isOpen:!1,portalClassName:lY,bodyOpenClassName:cY,role:'dialog',ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return $W.default.createElement('div',e,t)},contentElement:function(e,t){return $W.default.createElement('div',e,t)}},pY.defaultStyles={overlay:{position:'fixed',top:0,left:0,right:0,bottom:0,backgroundColor:'rgba(255, 255, 255, 0.75)'},content:{position:'absolute',top:'40px',left:'40px',right:'40px',bottom:'40px',border:'1px solid #ccc',background:'#fff',overflow:'auto',WebkitOverflowScrolling:'touch',borderRadius:'4px',outline:'none',padding:'20px'}},(0,sY.polyfill)(pY),'production'!==process.env.NODE_ENV&&(pY.setCreateHTMLElement=function(e){return dY=e}),nW.default=pY,function(e,t){Object.defineProperty(t,'__esModule',{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(nW);t.default=n.default,e.exports=t.default}(tW,tW.exports);var gY,mY,vY,bY,yY,wY,BY,xY,CY=rr(tW.exports),_Y=function(e){var n=e.label,r=e.isOpen,i=e.onToggle,o=e.children,s=e.className;return t.createElement('div',{className:'vu-w-full '.concat(null!=s?s:'')},t.createElement('button',{type:'button',onClick:i,className:'vu-w-full vu-flex vu-items-center vu-gap-2 vu-py-2','aria-expanded':r},t.createElement(Fn,{size:16,svg:r?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.31%2C8.48c-.39-.39-1.02-.39-1.41%2C0l-4.93%2C4.93-4.86-4.86c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l5.57%2C5.57c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.01-.01%2C.01-.03%2C.03-.04%2C.01-.01%2C.03-.01%2C.04-.03l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.52%2C11.33s-.03-.01-.04-.03c-.01-.01-.01-.03-.03-.04l-5.57-5.57c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4.93%2C4.93-4.86%2C4.86c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E'}),t.createElement('span',{className:'vu-font-medium'},n)),t.createElement('div',{className:'vu-transition-[max-height,opacity] vu-duration-300 vu-ease-in-out '.concat(r?'vu-max-h-52 vu-opacity-100':'vu-max-h-0 vu-opacity-0',' vu-overflow-hidden vu-border-l vu-mx-3.5')},t.createElement('div',{className:'vu-max-h-52 '.concat(r?'vu-overflow-y-auto':'vu-overflow-hidden')},t.createElement('div',{className:'vu-px-4 vu-py-2 vu-text-xs'},o))))},jY=Nt.div(gY||(gY=Pe(['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n'],['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n']))),FY=Nt.h4(mY||(mY=Pe(['\n vu-m-0\n vu-font-normal\n vu-text-lg\n'],['\n vu-m-0\n vu-font-normal\n vu-text-lg\n']))),EY=Nt.div(vY||(vY=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-gap-2\n']))),SY=Nt.label(bY||(bY=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),kY=Nt.hr(yY||(yY=Pe(['\n vu-my-4\n vu-border\n vu-opacity-20\n'],['\n vu-my-4\n vu-border\n vu-opacity-20\n']))),UY=Nt.textarea(wY||(wY=Pe(['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n'],['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n']))),QY=Nt.div(BY||(BY=Pe(['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n'],['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n']))),LY=Nt.div(xY||(xY=Pe(['\n vu-m-6\n'],['\n vu-m-6\n']))),OY=['Misunderstood query','Out of context','Incomplete response','Incorrect data','Unclear response','Slow response','Inappropriate response','Other'],IY=function(e){var n=e.closeModal,r=e.handleFeedback,i=function(e){var t=new FormData(e.currentTarget),i=t.getAll('feedback'),o=t.get('details');r({isLiked:!1,comments:o,reason:i}),n()};return t.createElement('form',{onSubmit:function(e){e.preventDefault(),i(e)},onKeyDown:function(e){'TEXTAREA'!==e.target.tagName||'Enter'!==e.key||e.shiftKey||(e.preventDefault(),i(e))}},t.createElement(jY,null,t.createElement(FY,null,'Share additional feedback'),t.createElement(Sn,{name:'back',icon:Gn,onClick:n})),t.createElement(LY,null,t.createElement(EY,null,OY.map(function(e){return t.createElement(SY,{key:e},t.createElement('input',{type:'checkbox',className:'vu-mr-2',name:'feedback',value:e}),t.createElement('span',null,e))})),t.createElement(kY,null),t.createElement(UY,{placeholder:'Share more details (optional)',name:'details',rows:6}),t.createElement(QY,null,t.createElement(En,{$fill:'outline',onClick:n},'Cancel'),t.createElement(En,null,'Submit'))))};
1423
- /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
1424
- const{entries:NY,setPrototypeOf:TY,isFrozen:MY,getPrototypeOf:PY,getOwnPropertyDescriptor:DY}=Object;let{freeze:RY,seal:HY,create:zY}=Object,{apply:KY,construct:VY}='undefined'!=typeof Reflect&&Reflect;RY||(RY=function(e){return e}),HY||(HY=function(e){return e}),KY||(KY=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),VY||(VY=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const qY=aX(Array.prototype.forEach),GY=aX(Array.prototype.lastIndexOf),WY=aX(Array.prototype.pop),YY=aX(Array.prototype.push),XY=aX(Array.prototype.splice),JY=aX(String.prototype.toLowerCase),ZY=aX(String.prototype.toString),$Y=aX(String.prototype.match),eX=aX(String.prototype.replace),tX=aX(String.prototype.indexOf),nX=aX(String.prototype.trim),rX=aX(Object.prototype.hasOwnProperty),iX=aX(RegExp.prototype.test),oX=(sX=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return VY(sX,t)});var sX;function aX(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return KY(e,t,r)}}function AX(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:JY;TY&&TY(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(MY(t)||(t[r]=e),i=e)}e[i]=!0}return e}function lX(e){for(let t=0;t<e.length;t++){rX(e,t)||(e[t]=null)}return e}function cX(e){const t=zY(null);for(const[n,r]of NY(e)){rX(e,n)&&(Array.isArray(r)?t[n]=lX(r):r&&'object'==typeof r&&r.constructor===Object?t[n]=cX(r):t[n]=r)}return t}function uX(e,t){for(;null!==e;){const n=DY(e,t);if(n){if(n.get)return aX(n.get);if('function'==typeof n.value)return aX(n.value)}e=PY(e)}return function(){return null}}const dX=RY(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),fX=RY(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),hX=RY(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),pX=RY(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),gX=RY(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),mX=RY(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),vX=RY(['#text']),bX=RY(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),yX=RY(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),wX=RY(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),BX=RY(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),xX=HY(/\{\{[\w\W]*|[\w\W]*\}\}/gm),CX=HY(/<%[\w\W]*|[\w\W]*%>/gm),_X=HY(/\$\{[\w\W]*/gm),jX=HY(/^data-[\-\w.\u00B7-\uFFFF]+$/),FX=HY(/^aria-[\-\w]+$/),EX=HY(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),SX=HY(/^(?:\w+script|data):/i),kX=HY(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),UX=HY(/^html$/i),QX=HY(/^[a-z][.\w]*(-[.\w]+)+$/i);var LX=Object.freeze({__proto__:null,ARIA_ATTR:FX,ATTR_WHITESPACE:kX,CUSTOM_ELEMENT:QX,DATA_ATTR:jX,DOCTYPE_NAME:UX,ERB_EXPR:CX,IS_ALLOWED_URI:EX,IS_SCRIPT_OR_DATA:SX,MUSTACHE_EXPR:xX,TMPLIT_EXPR:_X});const OX=1,IX=3,NX=7,TX=8,MX=9,PX=function(){return'undefined'==typeof window?null:window};var DX,RX,HX,zX,KX,VX,qX,GX=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:PX();const n=t=>e(t);if(n.version='3.3.1',n.removed=[],!t||!t.document||t.document.nodeType!==MX||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:A,Element:l,NodeFilter:c,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,p=l.prototype,g=uX(p,'cloneNode'),m=uX(p,'remove'),v=uX(p,'nextSibling'),b=uX(p,'childNodes'),y=uX(p,'parentNode');if('function'==typeof a){const e=r.createElement('template');e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,B='';const{implementation:x,createNodeIterator:C,createDocumentFragment:_,getElementsByTagName:j}=r,{importNode:F}=i;let E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof NY&&'function'==typeof y&&x&&void 0!==x.createHTMLDocument;const{MUSTACHE_EXPR:S,ERB_EXPR:k,TMPLIT_EXPR:U,DATA_ATTR:Q,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:N}=LX;let{IS_ALLOWED_URI:T}=LX,M=null;const P=AX({},[...dX,...fX,...hX,...gX,...vX]);let D=null;const R=AX({},[...bX,...yX,...wX,...BX]);let H=Object.seal(zY(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,K=null;const V=Object.seal(zY(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,G=!0,W=!1,Y=!0,X=!1,J=!0,Z=!1,$=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,se=!0,ae=!1,Ae={},le=null;const ce=AX({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let ue=null;const de=AX({},['audio','video','img','source','image','track']);let fe=null;const he=AX({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),pe='http://www.w3.org/1998/Math/MathML',ge='http://www.w3.org/2000/svg',me='http://www.w3.org/1999/xhtml';let ve=me,be=!1,ye=null;const we=AX({},[pe,ge,me],ZY);let Be=AX({},['mi','mo','mn','ms','mtext']),xe=AX({},['annotation-xml']);const Ce=AX({},['title','style','font','a','script']);let _e=null;const je=['application/xhtml+xml','text/html'];let Fe=null,Ee=null;const Se=r.createElement('form'),ke=function(e){return e instanceof RegExp||e instanceof Function},Ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&'object'==typeof e||(e={}),e=cX(e),_e=-1===je.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,Fe='application/xhtml+xml'===_e?ZY:JY,M=rX(e,'ALLOWED_TAGS')?AX({},e.ALLOWED_TAGS,Fe):P,D=rX(e,'ALLOWED_ATTR')?AX({},e.ALLOWED_ATTR,Fe):R,ye=rX(e,'ALLOWED_NAMESPACES')?AX({},e.ALLOWED_NAMESPACES,ZY):we,fe=rX(e,'ADD_URI_SAFE_ATTR')?AX(cX(he),e.ADD_URI_SAFE_ATTR,Fe):he,ue=rX(e,'ADD_DATA_URI_TAGS')?AX(cX(de),e.ADD_DATA_URI_TAGS,Fe):de,le=rX(e,'FORBID_CONTENTS')?AX({},e.FORBID_CONTENTS,Fe):ce,z=rX(e,'FORBID_TAGS')?AX({},e.FORBID_TAGS,Fe):cX({}),K=rX(e,'FORBID_ATTR')?AX({},e.FORBID_ATTR,Fe):cX({}),Ae=!!rX(e,'USE_PROFILES')&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,T=e.ALLOWED_URI_REGEXP||EX,ve=e.NAMESPACE||me,Be=e.MATHML_TEXT_INTEGRATION_POINTS||Be,xe=e.HTML_INTEGRATION_POINTS||xe,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ne&&(te=!0),Ae&&(M=AX({},vX),D=[],!0===Ae.html&&(AX(M,dX),AX(D,bX)),!0===Ae.svg&&(AX(M,fX),AX(D,yX),AX(D,BX)),!0===Ae.svgFilters&&(AX(M,hX),AX(D,yX),AX(D,BX)),!0===Ae.mathMl&&(AX(M,gX),AX(D,wX),AX(D,BX))),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?V.tagCheck=e.ADD_TAGS:(M===P&&(M=cX(M)),AX(M,e.ADD_TAGS,Fe))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?V.attributeCheck=e.ADD_ATTR:(D===R&&(D=cX(D)),AX(D,e.ADD_ATTR,Fe))),e.ADD_URI_SAFE_ATTR&&AX(fe,e.ADD_URI_SAFE_ATTR,Fe),e.FORBID_CONTENTS&&(le===ce&&(le=cX(le)),AX(le,e.FORBID_CONTENTS,Fe)),e.ADD_FORBID_CONTENTS&&(le===ce&&(le=cX(le)),AX(le,e.ADD_FORBID_CONTENTS,Fe)),se&&(M['#text']=!0),Z&&AX(M,['html','head','body']),M.table&&(AX(M,['tbody']),delete z.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw oX('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw oX('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,B=w.createHTML('')}else void 0===w&&(w=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(h,o)),null!==w&&'string'==typeof B&&(B=w.createHTML(''));RY&&RY(e),Ee=e}},Qe=AX({},[...fX,...hX,...pX]),Le=AX({},[...gX,...mX]),Oe=function(e){YY(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){m(e)}},Ie=function(e,t){try{YY(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){YY(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(te||ne)try{Oe(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e='<remove></remove>'+e;else{const t=$Y(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===_e&&ve===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const i=w?w.createHTML(e):e;if(ve===me)try{t=(new f).parseFromString(i,_e)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(ve,'template',null);try{t.documentElement.innerHTML=be?B:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ve===me?j.call(t,Z?'html':'body')[0]:Z?t.documentElement:o},Te=function(e){return C.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof d&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof u)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},Pe=function(e){return'function'==typeof A&&e instanceof A};function De(e,t,r){qY(e,e=>{e.call(n,t,r,Ee)})}const Re=function(e){let t=null;if(De(E.beforeSanitizeElements,e,null),Me(e))return Oe(e),!0;const r=Fe(e.nodeName);if(De(E.uponSanitizeElement,e,{tagName:r,allowedTags:M}),J&&e.hasChildNodes()&&!Pe(e.firstElementChild)&&iX(/<[/\w!]/g,e.innerHTML)&&iX(/<[/\w!]/g,e.textContent))return Oe(e),!0;if(e.nodeType===NX)return Oe(e),!0;if(J&&e.nodeType===TX&&iX(/<[/\w]/g,e.data))return Oe(e),!0;if(!(V.tagCheck instanceof Function&&V.tagCheck(r))&&(!M[r]||z[r])){if(!z[r]&&ze(r)){if(H.tagNameCheck instanceof RegExp&&iX(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(se&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Oe(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:'template'});const n=JY(e.tagName),r=JY(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===me?'svg'===n:t.namespaceURI===pe?'svg'===n&&('annotation-xml'===r||Be[r]):Boolean(Qe[n]):e.namespaceURI===pe?t.namespaceURI===me?'math'===n:t.namespaceURI===ge?'math'===n&&xe[r]:Boolean(Le[n]):e.namespaceURI===me?!(t.namespaceURI===ge&&!xe[r])&&!(t.namespaceURI===pe&&!Be[r])&&!Le[n]&&(Ce[n]||!Qe[n]):!('application/xhtml+xml'!==_e||!ye[e.namespaceURI]))}(e)?(Oe(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!iX(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===IX&&(t=e.textContent,qY([S,k,U],e=>{t=eX(t,e,' ')}),e.textContent!==t&&(YY(n.removed,{element:e.cloneNode()}),e.textContent=t)),De(E.afterSanitizeElements,e,null),!1):(Oe(e),!0)},He=function(e,t,n){if(ie&&('id'===t||'name'===t)&&(n in r||n in Se))return!1;if(G&&!K[t]&&iX(Q,t));else if(q&&iX(L,t));else if(V.attributeCheck instanceof Function&&V.attributeCheck(t,e));else if(!D[t]||K[t]){if(!(ze(e)&&(H.tagNameCheck instanceof RegExp&&iX(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&iX(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||'is'===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&iX(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(fe[t]);else if(iX(T,eX(n,I,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==tX(n,'data:')||!ue[e]){if(W&&!iX(O,eX(n,I,'')));else if(n)return!1}else;return!0},ze=function(e){return'annotation-xml'!==e&&$Y(e,N)},Ke=function(e){De(E.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:D,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=Fe(s),c=A;let u='value'===s?c:nX(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,De(E.uponSanitizeAttribute,e,r),u=r.attrValue,!oe||'id'!==l&&'name'!==l||(Ie(s,e),u='user-content-'+u),J&&iX(/((--!?|])>)|<\/(style|title|textarea)/i,u)){Ie(s,e);continue}if('attributename'===l&&$Y(u,'href')){Ie(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(s,e);continue}if(!Y&&iX(/\/>/i,u)){Ie(s,e);continue}X&&qY([S,k,U],e=>{u=eX(u,e,' ')});const d=Fe(e.nodeName);if(He(d,l,u)){if(w&&'object'==typeof h&&'function'==typeof h.getAttributeType)if(a);else switch(h.getAttributeType(d,l)){case'TrustedHTML':u=w.createHTML(u);break;case'TrustedScriptURL':u=w.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Me(e)?Oe(e):WY(n.removed)}catch(t){Ie(s,e)}}else Ie(s,e)}De(E.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const r=Te(t);for(De(E.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)De(E.uponSanitizeShadowNode,n,null),Re(n),Ke(n),n.content instanceof s&&e(n.content);De(E.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(be=!e,be&&(e='\x3c!--\x3e'),'string'!=typeof e&&!Pe(e)){if('function'!=typeof e.toString)throw oX('toString is not a function');if('string'!=typeof(e=e.toString()))throw oX('dirty is not a string, aborting')}if(!n.isSupported)return e;if($||Ue(t),n.removed=[],'string'==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Fe(e.nodeName);if(!M[t]||z[t])throw oX('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof A)r=Ne('\x3c!----\x3e'),o=r.ownerDocument.importNode(e,!0),o.nodeType===OX&&'BODY'===o.nodeName||'HTML'===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!Z&&-1===e.indexOf('<'))return w&&re?w.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?B:''}r&&ee&&Oe(r.firstChild);const c=Te(ae?e:r);for(;a=c.nextNode();)Re(a),Ke(a),a.content instanceof s&&Ve(a.content);if(ae)return e;if(te){if(ne)for(l=_.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(D.shadowroot||D.shadowrootmode)&&(l=F.call(i,l,!0)),l}let u=Z?r.outerHTML:r.innerHTML;return Z&&M['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&iX(UX,r.ownerDocument.doctype.name)&&(u='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+u),X&&qY([S,k,U],e=>{u=eX(u,e,' ')}),w&&re?w.createHTML(u):u},n.setConfig=function(){Ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$=!0},n.clearConfig=function(){Ee=null,$=!1},n.isValidAttribute=function(e,t,n){Ee||Ue({});const r=Fe(e),i=Fe(t);return He(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&YY(E[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=GY(E[e],t);return-1===n?void 0:XY(E[e],n,1)[0]}return WY(E[e])},n.removeHooks=function(e){E[e]=[]},n.removeAllHooks=function(){E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),WX=function(e){var n=e.html,r=e.className,i=void 0===r?'vu-prose vu-prose-sm max-w-none dark:vu-prose-invert vu-break-words':r,o=d(function(){return GX.sanitize(n,{FORBID_TAGS:['html','head','body','script','iframe','object','embed','form','input','button'],FORBID_ATTR:['style','onclick','onload','onerror','onmouseover'],ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.\-:]|$))/i})},[n]);return t.createElement('div',{className:i,dangerouslySetInnerHTML:{__html:o}})},YX=function(e){var n=e.tools;return t.createElement('ul',{className:'vu-m-0 vu-px-4'},n.map(function(e){return t.createElement('li',{key:e.id},'running'===e.status?'⏳':'✅',' ',e.description)}))},XX=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Class extends value '+String(t)+' is not a constructor or null');function n(){this.constructor=e}Le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){},n.prototype.render=function(){var e;return this.state.hasError?null!==(e=this.props.fallback)&&void 0!==e?e:t.createElement('div',{className:'vu-text-sm vu-text-center'},'⚠️ Unable to render chart'):this.props.children},n}(t.Component),JX={content:{top:'50%',left:'50%',right:'auto',bottom:'auto',marginRight:'-50%',transform:'translate(-50%, -50%)',padding:0,width:'492px'},overlay:{zIndex:9999}},ZX=function(e){var r=e.response,i=e.onError,s=void 0!==i&&i,a=e.chatID,A=e.isLiked,l=e.type,c=e.sessionID,u=e.isLastResponse,d=o(null),f=n(A),h=f[0],p=f[1],g=t.useState(!1),m=g[0],v=g[1],b=n(!1),y=b[0],w=b[1],B=n(!1),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=r.answer,S=r.chartConfigList,k=r.explainability,U=r.sources,Q=r.error,L=r.tools,O=ke({mutationFn:TI,onMutate:function(e){return Ne(void 0,void 0,void 0,function(){var t;return Te(this,function(n){return t=h,p(e.is_liked),[2,{previousLike:t}]})})},onError:function(e,t,n){void 0!==(null==n?void 0:n.previousLike)&&p(n.previousLike),BV.error(e.data['error-string'])}}),I=function(e){void 0!==a&&O.mutate(Oe({is_liked:e.isLiked,message_id:a,sessionID:c},!1===e.isLiked&&{comment:e.comments,reason:e.reason}))},N=function(){v(!1)};return t.createElement(t.Fragment,null,t.createElement(NV,null,u&&L&&L.length>0&&t.createElement(_Y,{label:L[L.length-1].description,isOpen:y,onToggle:function(){return w(!y)},className:'hide-in-pdf'},t.createElement(YX,{tools:L})),t.createElement('div',null,t.createElement(TV,null,t.createElement(Fn,{svg:qn,size:32}),t.createElement(ZV,{ref:d},t.createElement(WX,{html:E}),Q&&t.createElement(eq,null,Q)),!s&&t.createElement($V,null,t.createElement(Sn,{onClick:function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:if(!d.current)return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(d.current.innerText)];case 2:return e.sent(),F(!0),setTimeout(function(){return F(!1)},1200),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},icon:'data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.4%2C20.82H11.2A2.42%2C2.42%2C0%2C0%2C1%2C8.78%2C18.4V11.2A2.42%2C2.42%2C0%2C0%2C1%2C11.2%2C8.78h7.2a2.42%2C2.42%2C0%2C0%2C1%2C2.42%2C2.42v7.2A2.42%2C2.42%2C0%2C0%2C1%2C18.4%2C20.82Zm-7.2-10.4a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h7.2a.78.78%2C0%2C0%2C0%2C.78-.78V11.2a.78.78%2C0%2C0%2C0-.78-.78Z%22%2F%3E%3Cpath%20d%3D%22M6.4%2C15.22H5.6A2.42%2C2.42%2C0%2C0%2C1%2C3.18%2C12.8V5.6A2.42%2C2.42%2C0%2C0%2C1%2C5.6%2C3.18h7.2A2.42%2C2.42%2C0%2C0%2C1%2C15.22%2C5.6v.8a.82.82%2C0%2C1%2C1-1.64%2C0V5.6a.78.78%2C0%2C0%2C0-.78-.78H5.6a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h.8a.82.82%2C0%2C0%2C1%2C0%2C1.64Z%22%2F%3E%3C%2Fsvg%3E',className:'hide-in-pdf','data-tooltip-id':'tooltip-btns','data-tooltip-content':j?'Copied!':'Copy'}),l&&'answer'===l&&t.createElement(t.Fragment,null,t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.66%2C20.18H3.56c-.98%2C0-1.78-.8-1.78-1.78v-7.82c0-.98%2C.8-1.78%2C1.78-1.78h3.61l3.26-6.52c.18-.36%2C.55-.59%2C.95-.59%2C2.16%2C0%2C3.91%2C1.75%2C3.91%2C3.91v1.07h4.43c1.37%2C0%2C2.49%2C1.12%2C2.49%2C2.49%2C0%2C.1%2C0%2C.21-.02%2C.31l-1.07%2C8.54c-.15%2C1.24-1.22%2C2.18-2.47%2C2.18Zm-9.77-2.13h9.77c.18%2C0%2C.33-.13%2C.35-.31l1.07-8.54c0-.24-.16-.4-.35-.4h-5.5c-.59%2C0-1.07-.48-1.07-1.07v-2.13c0-.77-.49-1.42-1.17-1.67l-3.1%2C6.19v7.93Zm-4.98%2C0h2.85v-7.11H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Like',disabled:O.isLoading,iconColor:void 0!==h&&!0===h?'vu-fill-green-500':void 0,onClick:function(){return I({isLiked:!0!==h||null})}}),t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.38%2C22.31c-.4%2C0-.77-.23-.95-.59l-3.26-6.52H3.56c-.98%2C0-1.78-.8-1.78-1.78V5.6c0-.98%2C.8-1.78%2C1.78-1.78h15.1c1.25%2C0%2C2.32%2C.94%2C2.47%2C2.18l1.07%2C8.54c.01%2C.1%2C.02%2C.21%2C.02%2C.31%2C0%2C1.37-1.12%2C2.49-2.49%2C2.49h-4.43v1.07c0%2C2.16-1.75%2C3.91-3.91%2C3.91Zm-2.49-8.43l3.1%2C6.19c.68-.25%2C1.17-.9%2C1.17-1.67v-2.13c0-.59%2C.48-1.07%2C1.07-1.07h5.5c.2%2C0%2C.36-.16%2C.36-.36l-1.07-8.58c-.02-.18-.17-.31-.35-.31H8.89v7.93Zm-4.98-.81h2.85V5.95H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Dislike',disabled:O.isLoading,iconColor:void 0!==h&&!1===h?'vu-fill-rose-500':void 0,onClick:function(){return O.isLoading?null:!1===h?I({isLiked:null}):v(!0)}})))),S&&S.length>0&&S.map(function(e,n){return t.createElement(XX,{key:n},t.createElement(rq,null,e.chart_title),t.createElement(MV,null,t.createElement(Aq,{type:e.chart_type,chartData:e})))})),(U||k)&&t.createElement(_Y,{label:'Sources & Reasoning',isOpen:x,onToggle:function(){return C(!x)},className:'hide-in-pdf'},U&&t.createElement(WX,{html:U}),k&&t.createElement(WX,{html:k})),t.createElement(eW,{id:'tooltip-btns',place:'right'}),u&&t.createElement(tq,null,t.createElement(Fn,{className:'vu-mr-1',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2C22c-5.51%2C0-10-4.49-10-10S6.49%2C2%2C12%2C2s10%2C4.49%2C10%2C10-4.49%2C10-10%2C10Zm0-18c-4.41%2C0-8%2C3.59-8%2C8s3.59%2C8%2C8%2C8%2C8-3.59%2C8-8-3.59-8-8-8Z%22%2F%3E%3Cg%3E%3Cpath%20d%3D%22M11.98%2C17.36c-.55%2C0-1-.45-1-1v-5.08c0-.55%2C.45-1%2C1-1s1%2C.45%2C1%2C1v5.08c0%2C.55-.45%2C1-1%2C1Z%22%2F%3E%3Cpath%20d%3D%22M11.98%2C9.21c-.26%2C0-.52-.11-.71-.29-.18-.19-.29-.44-.29-.71s.11-.52%2C.29-.71c.38-.37%2C1.05-.37%2C1.42%2C0%2C.18%2C.19%2C.29%2C.45%2C.29%2C.71s-.11%2C.52-.29%2C.71c-.19%2C.18-.44%2C.29-.71%2C.29Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:14,inline:!0}),t.createElement(nq,null,'AI-generated responses may not always be accurate.'))),t.createElement(CY,{isOpen:m,onRequestClose:N,style:JX,contentLabel:'Feedback Modal'},t.createElement(IY,{closeModal:N,handleFeedback:I})))},$X=t.memo(function(e){var n=e.messages,r=e.sessionID;return t.createElement(t.Fragment,null,n.map(function(e,i){var o=i===n.length-1;return'user'===e.from||'query'===e.from?t.createElement(IV,{key:i,question:e.text}):t.createElement(ZX,{key:i,response:{answer:e.text,sources:e.sources,chartConfigList:e.chartConfigList,explainability:e.explainability,error:e.error,tools:e.tools},chatID:null==e?void 0:e.chatID,onError:'error'===e.from,isLiked:e.isLiked,type:e.textType,sessionID:r,isLastResponse:o})}))}),eJ=function(e){var i=e.sessionID,s=e.sessionTitle,a=e.isNew,A=e.handleSetConversationInfo,l=e.handleClickNewChat,c=e.authToken,u=n(''),f=u[0],h=u[1],p=n([]),g=p[0],m=p[1],v=n(0),b=v[0],y=v[1],w=o(null),B=o(null),x=Qe({queryKey:['conversations',i],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/'.concat(e,'/messages'))];case 1:return[2,t.sent().data]}})})}(i)},enabled:!1,onSuccess:function(e){var t=[];e.messages.map(function(e){var n;t.push({from:'user',text:e.user_query}),t.push(Oe(Oe({from:'bot',text:e.answer,textType:'answer',chartConfigList:e.chart_config_list,chatID:e.message_id},void 0!==(null===(n=e.feedback)||void 0===n?void 0:n.is_liked)&&{isLiked:e.feedback.is_liked}),{sources:e.sources,explainability:e.explainability}))}),m(t),y(e.message_count)},onError:function(e){}}),C=x.isLoading,_=x.status,j=x.refetch;r(function(){m([]),h(''),j()},[i]);var F=EV({url:'/vuSmartMaps/api/1/bu/1/ved/chats/'.concat(i,'/questions/stream'),headers:{'Content-Type':'application/json',Authorization:c},onComplete:function(e){var t=e.answerHtml,n=e.tools,r=void 0===n?[]:n,o=e.sourcesHtml,l=e.explainabilityHtml,c=e.charts,u=e.messageId,d=Me([],r,!0);r.length>0&&d.push({id:r[(null==r?void 0:r.length)-1].id+1,description:'Response Generated',status:'completed'}),m(function(e){return Me(Me([],e,!0),[{from:'bot',text:t,textType:'answer',tools:d,sources:o,explainability:l,chartConfigList:null!=c?c:[],chatID:u}],!1)}),h(''),a&&A({sessionID:i,isNew:!1,sessionTitle:s})},onError:function(e,t,n){return m(function(r){var i;return Me(Me([],r,!0),[{from:'error',text:null!==(i=null==t?void 0:t.answerHtml)&&void 0!==i?i:'',textType:'answer',error:'AbortError'===n?'Request aborted by user.':e.message}],!1)})}}),E=F.answerHtml,S=F.sourcesHtml,k=F.explainabilityHtml,U=F.charts,Q=F.tools,L=F.start,O=F.stop,I=F.isStreaming,N=function(e){L(JSON.stringify({question:e,attachments:[{type:'string',id:'string',value:'string'}],tools:[{name:'string',type:'string'}],context:[{type:'string',value:'string'}],options:{reasoningLevel:'string'}}))};_V({startChat:N,sessionID:i,setConversation:m,setQuestion:h});var T=d(function(){return I?0===E.length&&0===Q.length?null:{from:'bot',text:E,textType:'answer',tools:Q,sources:S,explainability:k,chartConfigList:null!=U?U:[],chatID:void 0}:null},[I,E,Q,S,k,U]),M=d(function(){return T?Me(Me([],g,!0),[T],!1):g},[g,T]);if('loading'===_)return t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(yN,{color:'#000',loading:C,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}));if('error'===_)return t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.');var P=I&&0===E.length&&0===Q.length;return t.createElement(t.Fragment,null,t.createElement(In,{ref:w},0===M.length?t.createElement(On,null,t.createElement(jN,null)):t.createElement(Ln,null,t.createElement(Tn,{ref:B},t.createElement($X,{messages:M,sessionID:i})),P&&t.createElement(oN,null),!I&&t.createElement(QI,{handleClickDownloadConversation:function(){return Ne(void 0,void 0,void 0,function(){var e,t,n,r,i,o,a,A,l,c,u,d,f,h,p,g;return Te(this,function(m){switch(m.label){case 0:if(!(e=B.current))return[2];(t=document.createElement('div')).className='pdf-overlay',document.body.appendChild(t),e.classList.add('pdf-container'),m.label=1;case 1:return m.trys.push([1,,4,5]),[4,Promise.all([jV('ac7f5bc129d3fa7c.png'),jV('9e6a28cb422bfd48.png')])];case 2:return n=m.sent(),r=n[0],i=n[1],[4,(o=Xz().from(e).set({margin:[20,10,10,10],filename:'conversation-'.concat(Date.now(),'.pdf'),html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:'mm',format:'a4',orientation:'portrait'},pagebreak:{mode:['avoid-all','css','legacy']}})).toPdf().get('pdf')];case 3:for(a=m.sent(),A=a.internal.getNumberOfPages(),l=a.internal.pageSize.getWidth(),c=a.internal.pageSize.getHeight(),u=function(e,t){void 0===e&&(e=600),void 0===t&&(t=4);var n=document.createElement('canvas');n.width=e,n.height=t;var r=n.getContext('2d');if(!r)return'';var i=r.createLinearGradient(0,0,0,t);return i.addColorStop(0,'#932E8A'),i.addColorStop(.25,'#C21E73'),i.addColorStop(.5,'#E02531'),i.addColorStop(.75,'#E76427'),i.addColorStop(1,'#F59E20'),r.fillStyle=i,r.fillRect(0,0,e,t),n.toDataURL('image/png')}(),d=1;d<=A;d++)a.setPage(d),a.addImage(r,'PNG',10,4,42,10),a.addImage(i,'PNG',l-13-10,4,13,10),a.setFontSize(12),a.setFont('heebo','bold'),a.text(FV(s),l/2,8,{align:'center'}),a.setFontSize(9),a.setFont('heebo','normal'),a.text('Downloaded at '.concat((new Date).toLocaleString()),l/2,12,{align:'center'}),a.addImage(u,'PNG',0,16,l,.8),h=(f=c-10)+6,a.addImage(u,'PNG',0,f,l,.8),a.setFontSize(8),a.setFont('heebo','normal'),p='Powered by vuSmartMaps™ from',g=a.getStringUnitWidth(p)*a.internal.getFontSize()/a.internal.scaleFactor,a.text(p,10,h),a.addImage(r,'PNG',10+g+2,h-5+2,18,5);return o.save(),[3,5];case 4:return e.classList.remove('pdf-container'),t.classList.add('fade-out'),setTimeout(function(){return t.remove()},150),[7];case 5:return[2]}})})}}))),20===b?t.createElement(xK,null,'Chat limit reached! Start a',t.createElement(bK,{onClick:l},'new chat'),', but the previous context won\'t carry over.'):t.createElement(Nn,null,t.createElement(Hn,{value:f,icon:I?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19.07%2C4.93c-1.89-1.89-4.4-2.93-7.07-2.93s-5.18%2C1.04-7.07%2C2.93c-1.89%2C1.89-2.93%2C4.4-2.93%2C7.07%2C0%2C2.67%2C1.04%2C5.18%2C2.93%2C7.07%2C1.89%2C1.89%2C4.4%2C2.93%2C7.07%2C2.93s5.18-1.04%2C7.07-2.93c3.9-3.9%2C3.9-10.24%2C0-14.14ZM4%2C12c0-2.14%2C.83-4.15%2C2.34-5.66s3.52-2.34%2C5.66-2.34c1.8%2C0%2C3.5%2C.6%2C4.9%2C1.68L5.68%2C16.9c-1.09-1.4-1.68-3.1-1.68-4.9Zm13.66%2C5.66c-1.51%2C1.51-3.52%2C2.34-5.66%2C2.34-1.8%2C0-3.5-.6-4.9-1.69L18.31%2C7.1c2.44%2C3.14%2C2.22%2C7.68-.66%2C10.56Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20width%3D%2224%22%20%20height%3D%2224%22%20%20viewBox%3D%220%200%2024%2024%22%20%20fill%3D%22none%22%20%20stroke%3D%22currentColor%22%20%20stroke-width%3D%222%22%20%20stroke-linecap%3D%22round%22%20%20stroke-linejoin%3D%22round%22%3E%20%20%3Cline%20x1%3D%2222%22%20y1%3D%222%22%20x2%3D%2211%22%20y2%3D%2213%22%20%2F%3E%20%20%3Cpolygon%20points%3D%2222%202%2015%2022%2011%2013%202%209%2022%202%22%20%2F%3E%3C%2Fsvg%3E',placeholder:'Enter Question Here',onChange:function(e){return h(e.target.value)},onClickTextAreaButton:I?O:function(){0!==f.length&&(m(function(e){return Me(Me([],e,!0),[{from:'user',text:f,textType:'question'}],!1)}),N(f),h(''))},disableTextAreaButton:!I&&0===f.length})))},tJ=Nt.div(DX||(DX=Pe(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),nJ=Nt.div(RX||(RX=Pe(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),rJ=Nt.div(HX||(HX=Pe(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'}),iJ=Nt.div(zX||(zX=Pe(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),oJ=Nt.span(KX||(KX=Pe(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),sJ=Nt.div(VX||(VX=Pe(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),aJ=Nt(eW)(qX||(qX=Pe(['\n vu-z-10\n'],['\n vu-z-10\n'])));var AJ,lJ,cJ,uJ,dJ=function(e){var i=e.handleSetConversationInfo,o=e.searchQuery,s=e.currentConversationInfo,a=n([]),A=a[0],l=a[1],c=_e(),u=Qe({queryKey:['conversations'],queryFn:function(){return void 0===e&&(e=!0),Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/?pagination='.concat(e))];case 1:return[2,t.sent().data]}})});var e},enabled:!1}),d=u.isLoading,f=u.status,h=u.data,p=u.refetch;r(function(){var e,t=function(e,t){return e.filter(function(e){return e.session_title.toLowerCase().includes(t.toLowerCase())})}(null!==(e=null==h?void 0:h.results)&&void 0!==e?e:[],o);l(t)},[h,o]),r(function(){p()},[s]);var g=ke({mutationFn:NI,onSuccess:function(e,t){c.invalidateQueries(['conversations',t]),i(),c.invalidateQueries('conversations')}});return'loading'===f?t.createElement(vK,null,t.createElement(yN,{color:'#000',loading:d,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===f?t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.'):t.createElement(tJ,null,t.createElement('div',null,'Recent Conversations'),t.createElement(nJ,null,null==A?void 0:A.filter(function(e){return 0!==e.session_title.length}).map(function(e,n){return t.createElement(rJ,{key:n,isSelected:(null==s?void 0:s.sessionID)===e.session_id,onClick:function(){return i({sessionID:e.session_id,isNew:!1,sessionTitle:e.session_title})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.session_title},t.createElement(iJ,null,t.createElement(oJ,null,t.createElement(Fn,{svg:Yn})),t.createElement(sJ,null,e.session_title)),(null==s?void 0:s.sessionID)===e.session_id&&t.createElement(oJ,null,t.createElement(Sn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.session_id)}})))})),t.createElement(aJ,{id:'question-tooltip'}))},fJ=function(){return t.createElement(t.Fragment,null,t.createElement(er,{className:'vu-font-medium'},'The Ved Feature has not been integrated into your environment.'),t.createElement('p',{className:'vu-text-xl'},'Please contact ',t.createElement(yK,null,'support@vunetsystems.com'),' for assistance.'))},hJ=function(e){var r=e.handleClickBackBtn,i=e.authToken,o=n(),s=o[0],a=o[1],A=n(!1),l=A[0],c=A[1],u=n(''),d=u[0],f=u[1],h=Qe({queryKey:'sessionID',queryFn:II,enabled:!s,retry:!1,onSuccess:function(e){a({sessionID:e.session_id,isNew:!0,sessionTitle:''})}}),p=function(e){a(e||void 0)},g=function(){a(void 0),h.refetch()};return t.createElement(t.Fragment,null,t.createElement(Xn,{getNewChatId:h.refetch,handleClickBackBtn:r,openSideBar:c}),h.isLoading||h.isError?t.createElement(t.Fragment,null,h.isError?t.createElement(tr,{errorHeading:'Oops!',errorInfo:t.createElement(fJ,null)}):t.createElement(vK,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(dK,{style:{height:'calc(100% - 5rem)'}},t.createElement(fK,{$isOpen:l},t.createElement(hK,null,t.createElement(Sn,{icon:Gn,iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(pK,null,t.createElement(gK,null,t.createElement(Zz,null,t.createElement(Qn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return f(e.target.value)}}),t.createElement(dJ,{currentConversationInfo:s,handleSetConversationInfo:p,searchQuery:d})),t.createElement(Jz,null,t.createElement(En,{$fullWidth:!0,icon:Wn,iconColor:'vu-fill-white',onClick:g,disabled:h.isLoading},'New Chat'))))),t.createElement(mK,null,(null==s?void 0:s.sessionID)?t.createElement(t.Fragment,null,t.createElement(eJ,{handleSetConversationInfo:p,sessionID:s.sessionID,sessionTitle:s.sessionTitle,isNew:s.isNew,handleClickNewChat:g,authToken:i})):t.createElement(vK,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},pJ=Nt.div(AJ||(AJ=Pe(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),gJ=Nt.div(lJ||(lJ=Pe(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),mJ=Nt.div(cJ||(cJ=Pe(['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'],['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'])),function(e){return e.$isMinimized?'vu-bottom-24 -vu-right-8 -vu-rotate-45':'vu-bottom-20 vu-right-5 vu-rotate-0'}),vJ=Nt(Sn)(uJ||(uJ=Pe(['\n vu-pt-2\n'],['\n vu-pt-2\n']))),bJ=new fe,yJ=h({isDarkMode:!1}),wJ=function(e){var r=e.token,i=e.baseURL,o=e.darkMode,s=void 0!==o&&o,a=e.handleClickBackBtn,A=n(s)[0];return r&&i?(OI.defaults.baseURL=i,OI.defaults.auth='Bearer '.concat(r),t.createElement(yJ.Provider,{value:{isDarkMode:A}},t.createElement(je,{client:bJ},t.createElement(pJ,{className:A?'vu-dark':''},t.createElement(gJ,null,t.createElement(hJ,{handleClickBackBtn:function(){return a(!1)},authToken:'Bearer '.concat(r)}),t.createElement(wV,{position:'top-right'})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},BJ=function(e){var i=e.token,o=e.baseURL,s=e.darkMode,a=void 0===s||s,A=n(!1),l=A[0],c=A[1],u=n(!1),d=u[0],f=u[1],h=xV();return r(function(){var e=h.get('ved_chat_open');'true'===e?c(!0):'false'===e&&c(!1)},[h]),r(function(){var e=function(e){'Escape'===e.key&&c(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}},[c]),t.createElement('div',null,t.createElement(mJ,{$isMinimized:d},t.createElement(Sn,{icon:d?'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2194%29%22%2F%3E%3Cpath%20d%3D%22M7.93967%206.62908H6.66191V8.08352H6.07193V6.62908H4.79102V6.08327H6.07193V4.73926H6.66191V6.08327H7.93967V6.62908Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2194%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2193%29%22%2F%3E%3Cpath%20d%3D%22M4.79102%206.63427V5.68652H7.63424V6.63427H4.79102Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2193%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return f(function(e){return!e})}}),t.createElement(vJ,{size:64,icon:'data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%228%22%20width%3D%2264%22%20height%3D%2249%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_824_2190%29%22%2F%3E%3Cpath%20d%3D%22M7%2022.0107C8.33054%2022.0154%209.66322%2022.0131%2010.9938%2022.0107C13.1385%2028.9994%2015.2853%2035.9903%2017.4172%2042.9836C16.0909%2042.9976%2014.7647%2042.9743%2013.4406%2042.9999C11.2509%2036.0206%209.134%2029.011%207%2022.0107Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.1836%2022.0118C21.5184%2022.0118%2022.8532%2022.0072%2024.1902%2022.0118C22.2876%2028.209%2020.4086%2034.4154%2018.4845%2040.6055C17.7646%2038.4568%2017.1347%2036.2755%2016.4727%2034.1081C17.7261%2030.0807%2018.9302%2026.0369%2020.1836%2022.0118Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8603%2022.0088L26.9717%2022.0251C28.4008%2022.2812%2029.8513%2022.1438%2031.2933%2022.2439C31.3575%2023.3008%2031.3532%2024.3624%2031.274%2025.417C29.7913%2025.4915%2028.3022%2025.3611%2026.8281%2025.5567C26.8945%2024.374%2026.8581%2023.1914%2026.8603%2022.0088Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8647%2042.9874C26.8733%2041.7698%2026.839%2040.5499%2026.8904%2039.3301C28.3666%2039.3673%2029.845%2039.3394%2031.3234%2039.3487C31.3234%2040.5616%2031.3255%2041.7745%2031.3298%2042.9897C29.8407%2042.9897%2028.3516%2042.9897%2026.8647%2042.9874Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.9717%2022.0263C31.0061%2021.9798%2035.0406%2022.0077%2039.0751%2022.0147C39.0708%2023.2183%2039.0901%2024.4242%2039.0601%2025.6301C35.7669%2025.6231%2032.4759%2025.6371%2029.185%2025.6277C28.3986%2025.6161%2027.608%2025.6836%2026.8281%2025.5579C28.3022%2025.3623%2029.7913%2025.4927%2031.274%2025.4182C31.3532%2024.3636%2031.3575%2023.3021%2031.2933%2022.2452C29.8513%2022.1451%2028.4008%2022.2824%2026.9717%2022.0263Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4379%2022.0183C44.2355%2022.0044%2046.031%2022.0044%2047.8286%2022.0276C47.8329%2023.2172%2047.82%2024.4092%2047.7836%2025.5988C46.001%2025.5545%2044.2184%2025.5964%2042.4357%2025.5732C42.4336%2024.3882%2042.4315%2023.2033%2042.4379%2022.0183Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4361%2039.3898C44.3408%2039.3712%2046.2434%2039.4224%2048.1482%2039.3525C48.2982%2040.5538%2048.2896%2041.7713%2048.1182%2042.9679C46.2241%2043.0075%2044.3301%2042.9842%2042.4361%2042.9865C42.4339%2041.7876%2042.4318%2040.5887%2042.4361%2039.3898Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M47.8243%2022.0283C49.4891%2022.1075%2051.1281%2022.5777%2052.6001%2023.4251L52.5979%2023.467C52.4544%2025.1804%2052.6344%2026.9055%2052.418%2028.6142C51.4559%2026.8193%2049.6712%2025.7228%2047.7793%2025.5995C47.8157%2024.4099%2047.8286%2023.2179%2047.8243%2022.0283Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M52.5939%2023.4668C54.9358%2024.8543%2056.4548%2027.5547%2056.8448%2030.3856C57.2197%2033.0884%2056.9519%2036.0054%2055.6128%2038.3706C54.8736%2039.7232%2053.7766%2040.8034%2052.5404%2041.5995C52.4568%2039.8931%2052.6689%2038.1681%2052.3711%2036.478C53.451%2034.0289%2053.4038%2031.0817%2052.4139%2028.614C52.6303%2026.9052%2052.4504%2025.1802%2052.5939%2023.4668Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8574%2030.6728C30.3927%2030.6682%2033.9279%2030.6658%2037.4632%2030.6705C37.4632%2031.8764%2037.461%2033.0823%2037.4653%2034.2882C33.9686%2034.2859%2030.4698%2034.3208%2026.9753%2034.2696C28.5436%2033.9739%2030.142%2034.1509%2031.7254%2034.0438C31.7789%2032.9938%2031.7725%2031.9416%2031.7082%2030.8917C30.0949%2030.8288%2028.4815%2030.8614%2026.8681%2030.8125L26.8574%2030.6728Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8658%2030.8125C28.4792%2030.8614%2030.0925%2030.8288%2031.7059%2030.8917C31.7702%2031.9416%2031.7766%2032.9938%2031.723%2034.0438C30.1397%2034.1508%2028.5413%2033.9739%2026.9729%2034.2696L26.8594%2034.2859C26.8701%2033.1265%2026.8637%2031.9695%2026.8658%2030.8125Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M48.1372%2039.3247C49.8641%2039.1454%2051.4754%2038.1048%2052.371%2036.4775C52.6688%2038.1677%2052.4567%2039.8927%2052.5402%2041.5991C51.1733%2042.4%2049.652%2042.8376%2048.1094%2042.968C48.2808%2041.7714%2048.2894%2040.5539%2048.1394%2039.3526L48.1372%2039.3247Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.3203%2039.3477C32.7451%2039.3454%2034.1699%2039.3477%2035.5969%2039.3477C35.6119%2040.5606%2035.6076%2041.7735%2035.5862%2042.9887C34.1656%2042.9887%2032.7451%2042.9887%2031.3267%2042.9887C31.3224%2041.7735%2031.3203%2040.5606%2031.3203%2039.3477Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M35.6064%2039.3482C36.7634%2039.3459%2037.9225%2039.3459%2039.0817%2039.3505C39.0817%2040.5634%2039.0817%2041.774%2039.0817%2042.9869C37.9204%2042.9915%2036.757%2042.9892%2035.5957%2042.9892C35.6171%2041.774%2035.6214%2040.5611%2035.6064%2039.3482Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2245.1173%22%20cy%3D%2232.6875%22%20rx%3D%222.45906%22%20ry%3D%222.67187%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2190%22%20x1%3D%22-5.82857%22%20y1%3D%2230.6824%22%20x2%3D%2265.86%22%20y2%3D%2233.0575%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return c(!0)}})),l&&t.createElement(wJ,{token:i,baseURL:o,handleClickBackBtn:c,darkMode:a}))};export{wJ as VuChat,yJ as VuChatContext,BJ as VuIconComponent};
1424
+ o.r(s);var e=o(/*! ./worker.js */'./src/worker.js');o(/*! ./plugin/jspdf-plugin.js */'./src/plugin/jspdf-plugin.js'),o(/*! ./plugin/pagebreaks.js */'./src/plugin/pagebreaks.js'),o(/*! ./plugin/hyperlinks.js */'./src/plugin/hyperlinks.js');var t=function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r};t.Worker=e.default,s.default=t}(),s=s.default}()};var TX,MX,PX,DX,RX,HX,zX,KX=rr(hz.exports=OX(ir(Object.freeze({__proto__:null,default:function(e,t){return void 0===t&&(t={}),IX(e,t)}})))),VX=function(e,t){return void 0===t&&(t=50),e.length>t?e.slice(0,t)+'...':e},qX=function(e){var i=e.sessionID,s=e.sessionTitle,a=e.isNew,A=e.handleSetConversationInfo,l=e.handleClickNewChat,c=e.authToken,u=n(''),f=u[0],h=u[1],p=n([]),g=p[0],m=p[1],v=n(0),b=v[0],y=v[1],w=o(null),B=o(null),x=o(null),C=Qe({queryKey:['conversations',i],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/'.concat(e,'/messages'))];case 1:return[2,t.sent().data]}})})}(i)},enabled:!1,onSuccess:function(e){var t=[];e.messages.map(function(e){var n;t.push({from:'user',text:e.user_query}),t.push(Oe(Oe({from:'bot',text:e.answer,textType:'answer',chartConfigList:e.chart_config_list,chatID:e.message_id},void 0!==(null===(n=e.feedback)||void 0===n?void 0:n.is_liked)&&{isLiked:e.feedback.is_liked}),{sources:e.sources,explainability:e.explainability}))}),m(t),y(e.message_count)},onError:function(e){}}),_=C.isLoading,j=C.status,F=C.refetch;r(function(){m([]),h(''),F()},[i]);var E=tM({url:'/vuSmartMaps/api/1/bu/1/ved/chats/'.concat(i,'/questions/stream'),headers:{'Content-Type':'application/json',Authorization:c},onComplete:function(e){var t=e.answerHtml,n=e.tools,r=void 0===n?[]:n,o=e.sourcesHtml,l=e.explainabilityHtml,c=e.charts,u=e.messageId,d=Me([],r,!0);r.length>0&&d.push({id:r[(null==r?void 0:r.length)-1].id+1,description:'Response Generated',status:'completed'}),m(function(e){return Me(Me([],e,!0),[{from:'bot',text:t,textType:'answer',tools:d,sources:o,explainability:l,chartConfigList:null!=c?c:[],chatID:u}],!1)}),h(''),a&&A({sessionID:i,isNew:!1,sessionTitle:s})},onError:function(e,t,n){return m(function(r){var i;return Me(Me([],r,!0),[{from:'error',text:null!==(i=null==t?void 0:t.answerHtml)&&void 0!==i?i:'',textType:'answer',error:'AbortError'===n?'Request aborted by user.':e.message}],!1)})}}),S=E.answerHtml,k=E.sourcesHtml,U=E.explainabilityHtml,Q=E.charts,L=E.tools,O=E.start,I=E.stop,N=E.isStreaming,T=function(e){O(JSON.stringify({question:e,attachments:[{type:'string',id:'string',value:'string'}],tools:[{name:'string',type:'string'}],context:[{type:'string',value:'string'}],options:{reasoningLevel:'string'}}))};eM({startChat:T,sessionID:i,setConversation:m,setQuestion:h});var M=d(function(){return N?0===S.length&&0===L.length?null:{from:'bot',text:S,textType:'answer',tools:L,sources:k,explainability:U,chartConfigList:null!=Q?Q:[],chatID:void 0}:null},[N,S,L,k,U,Q]),P=d(function(){return M?Me(Me([],g,!0),[M],!1):g},[g,M]),D=N&&0===S.length&&0===L.length;return r(function(){D&&x.current&&x.current.scrollIntoView({behavior:'smooth'})},[D]),'loading'===j?t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(yN,{color:'#000',loading:_,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===j?t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.'):t.createElement(t.Fragment,null,t.createElement(In,{ref:w},0===P.length?t.createElement(On,null,t.createElement(jN,null)):t.createElement(Ln,null,t.createElement(Tn,{ref:B},t.createElement(fz,{messages:P,sessionID:i})),D&&t.createElement(oN,null),t.createElement('div',{ref:x}),!N&&t.createElement(QI,{handleClickDownloadConversation:function(){return function(e,t){return Ne(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d;return Te(this,function(f){switch(f.label){case 0:if(!(n=e.current))return[2];(r=document.createElement('div')).className='pdf-overlay',document.body.appendChild(r),n.classList.add('pdf-container'),f.label=1;case 1:return f.trys.push([1,,3,4]),[4,(i=KX().from(n).set({margin:[20,10,10,10],filename:'conversation-'.concat(Date.now(),'.pdf'),html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:'mm',format:'a4',orientation:'portrait'},pagebreak:{mode:['avoid-all','css','legacy']}})).toPdf().get('pdf')];case 2:for(o=f.sent(),s=o.internal.getNumberOfPages(),a=o.internal.pageSize.getWidth(),A=o.internal.pageSize.getHeight(),l=1;l<=s;l++)o.setPage(l),o.setFontSize(16),o.setFont('heebo','bold'),o.text('VuNet',10,10),o.text('VED',a-10,10,{align:'right'}),o.setFontSize(12),o.setFont('heebo','bold'),o.text(VX(t),a/2,8,{align:'center'}),o.setFontSize(9),o.setFont('heebo','normal'),o.text('Downloaded at '.concat((new Date).toLocaleString()),a/2,13,{align:'center'}),c=A-8,o.setFontSize(10),o.setFont('heebo','normal'),u='Powered by vuSmartMaps™ from',o.text(u,10,c),d=o.getStringUnitWidth(u)*o.internal.getFontSize()/o.internal.scaleFactor,o.setFont('heebo','bold'),o.text('VuNet',10+d+1,c);return i.save(),[3,4];case 3:return n.classList.remove('pdf-container'),r.classList.add('fade-out'),setTimeout(function(){return r.remove()},150),[7];case 4:return[2]}})})}(B,s)}}))),20===b?t.createElement($N,null,'Chat limit reached! Start a',t.createElement(YN,{onClick:l},'new chat'),', but the previous context won\'t carry over.'):t.createElement(Nn,null,t.createElement(Hn,{value:f,icon:N?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19.07%2C4.93c-1.89-1.89-4.4-2.93-7.07-2.93s-5.18%2C1.04-7.07%2C2.93c-1.89%2C1.89-2.93%2C4.4-2.93%2C7.07%2C0%2C2.67%2C1.04%2C5.18%2C2.93%2C7.07%2C1.89%2C1.89%2C4.4%2C2.93%2C7.07%2C2.93s5.18-1.04%2C7.07-2.93c3.9-3.9%2C3.9-10.24%2C0-14.14ZM4%2C12c0-2.14%2C.83-4.15%2C2.34-5.66s3.52-2.34%2C5.66-2.34c1.8%2C0%2C3.5%2C.6%2C4.9%2C1.68L5.68%2C16.9c-1.09-1.4-1.68-3.1-1.68-4.9Zm13.66%2C5.66c-1.51%2C1.51-3.52%2C2.34-5.66%2C2.34-1.8%2C0-3.5-.6-4.9-1.69L18.31%2C7.1c2.44%2C3.14%2C2.22%2C7.68-.66%2C10.56Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20width%3D%2224%22%20%20height%3D%2224%22%20%20viewBox%3D%220%200%2024%2024%22%20%20fill%3D%22none%22%20%20stroke%3D%22currentColor%22%20%20stroke-width%3D%222%22%20%20stroke-linecap%3D%22round%22%20%20stroke-linejoin%3D%22round%22%3E%20%20%3Cline%20x1%3D%2222%22%20y1%3D%222%22%20x2%3D%2211%22%20y2%3D%2213%22%20%2F%3E%20%20%3Cpolygon%20points%3D%2222%202%2015%2022%2011%2013%202%209%2022%202%22%20%2F%3E%3C%2Fsvg%3E',placeholder:'Enter Question Here',onChange:function(e){return h(e.target.value)},onClickTextAreaButton:N?I:function(){0!==f.length&&(m(function(e){return Me(Me([],e,!0),[{from:'user',text:f,textType:'question'}],!1)}),T(f),h(''))},disableTextAreaButton:!N&&0===f.length})))},GX=Nt.div(TX||(TX=Pe(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),WX=Nt.div(MX||(MX=Pe(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),YX=Nt.div(PX||(PX=Pe(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'}),XX=Nt.div(DX||(DX=Pe(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),JX=Nt.span(RX||(RX=Pe(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),ZX=Nt.div(HX||(HX=Pe(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),$X=Nt(wD)(zX||(zX=Pe(['\n vu-z-10\n'],['\n vu-z-10\n'])));var eJ,tJ,nJ,rJ,iJ=function(e){var i=e.handleSetConversationInfo,o=e.searchQuery,s=e.currentConversationInfo,a=n([]),A=a[0],l=a[1],c=_e(),u=Qe({queryKey:['conversations'],queryFn:function(){return void 0===e&&(e=!0),Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/?pagination='.concat(e))];case 1:return[2,t.sent().data]}})});var e},enabled:!1}),d=u.isLoading,f=u.status,h=u.data,p=u.refetch;r(function(){var e,t=function(e,t){return e.filter(function(e){return e.session_title.toLowerCase().includes(t.toLowerCase())})}(null!==(e=null==h?void 0:h.results)&&void 0!==e?e:[],o);l(t)},[h,o]),r(function(){p()},[s]);var g=ke({mutationFn:NI,onSuccess:function(e,t){c.invalidateQueries(['conversations',t]),i(),c.invalidateQueries('conversations')}});return'loading'===f?t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:d,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===f?t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.'):t.createElement(GX,null,t.createElement('div',null,'Recent Conversations'),t.createElement(WX,null,null==A?void 0:A.filter(function(e){return 0!==e.session_title.length}).map(function(e,n){return t.createElement(YX,{key:n,isSelected:(null==s?void 0:s.sessionID)===e.session_id,onClick:function(){return i({sessionID:e.session_id,isNew:!1,sessionTitle:e.session_title})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.session_title},t.createElement(XX,null,t.createElement(JX,null,t.createElement(Fn,{svg:Yn})),t.createElement(ZX,null,e.session_title)),(null==s?void 0:s.sessionID)===e.session_id&&t.createElement(JX,null,t.createElement(Sn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.session_id)}})))})),t.createElement($X,{id:'question-tooltip'}))},oJ=function(){return t.createElement(t.Fragment,null,t.createElement(er,{className:'vu-font-medium'},'The Ved Feature has not been integrated into your environment.'),t.createElement('p',{className:'vu-text-xl'},'Please contact ',t.createElement(XN,null,'support@vunetsystems.com'),' for assistance.'))},sJ=function(e){var r=e.handleClickBackBtn,i=e.authToken,o=n(),s=o[0],a=o[1],A=n(!1),l=A[0],c=A[1],u=n(''),d=u[0],f=u[1],h=Qe({queryKey:'sessionID',queryFn:II,enabled:!s,retry:!1,onSuccess:function(e){a({sessionID:e.session_id,isNew:!0,sessionTitle:''})}}),p=function(e){a(e||void 0)},g=function(){a(void 0),h.refetch()};return t.createElement(t.Fragment,null,t.createElement(Xn,{getNewChatId:h.refetch,handleClickBackBtn:r,openSideBar:c}),h.isLoading||h.isError?t.createElement(t.Fragment,null,h.isError?t.createElement(tr,{errorHeading:'Oops!',errorInfo:t.createElement(oJ,null)}):t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(HN,{style:{height:'calc(100% - 5rem)'}},t.createElement(zN,{$isOpen:l},t.createElement(KN,null,t.createElement(Sn,{icon:Gn,iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(VN,null,t.createElement(qN,null,t.createElement(EN,null,t.createElement(Qn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return f(e.target.value)}}),t.createElement(iJ,{currentConversationInfo:s,handleSetConversationInfo:p,searchQuery:d})),t.createElement(FN,null,t.createElement(En,{$fullWidth:!0,icon:Wn,iconColor:'vu-fill-white',onClick:g,disabled:h.isLoading},'New Chat'))))),t.createElement(GN,null,(null==s?void 0:s.sessionID)?t.createElement(t.Fragment,null,t.createElement(qX,{handleSetConversationInfo:p,sessionID:s.sessionID,sessionTitle:s.sessionTitle,isNew:s.isNew,handleClickNewChat:g,authToken:i})):t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},aJ=Nt.div(eJ||(eJ=Pe(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),AJ=Nt.div(tJ||(tJ=Pe(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),lJ=Nt.div(nJ||(nJ=Pe(['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'],['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'])),function(e){return e.$isMinimized?'vu-bottom-24 -vu-right-8 -vu-rotate-45':'vu-bottom-20 vu-right-5 vu-rotate-0'}),cJ=Nt(Sn)(rJ||(rJ=Pe(['\n vu-pt-2\n'],['\n vu-pt-2\n']))),uJ=new fe,dJ=h({isDarkMode:!1}),fJ=function(e){var r=e.token,i=e.baseURL,o=e.darkMode,s=void 0!==o&&o,a=e.handleClickBackBtn,A=n(s)[0];return r&&i?(OI.defaults.baseURL=i,OI.defaults.auth='Bearer '.concat(r),t.createElement(dJ.Provider,{value:{isDarkMode:A}},t.createElement(je,{client:uJ},t.createElement(aJ,{className:A?'vu-dark':''},t.createElement(AJ,null,t.createElement(sJ,{handleClickBackBtn:function(){return a(!1)},authToken:'Bearer '.concat(r)}),t.createElement(XT,{position:'top-right'})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},hJ=function(e){var i=e.token,o=e.baseURL,s=e.darkMode,a=void 0===s||s,A=n(!1),l=A[0],c=A[1],u=n(!1),d=u[0],f=u[1],h=ZT();return r(function(){var e=h.get('ved_chat_open');'true'===e?c(!0):'false'===e&&c(!1)},[h]),r(function(){var e=function(e){'Escape'===e.key&&c(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}},[c]),t.createElement('div',null,t.createElement(lJ,{$isMinimized:d},t.createElement(Sn,{icon:d?'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2194%29%22%2F%3E%3Cpath%20d%3D%22M7.93967%206.62908H6.66191V8.08352H6.07193V6.62908H4.79102V6.08327H6.07193V4.73926H6.66191V6.08327H7.93967V6.62908Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2194%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2193%29%22%2F%3E%3Cpath%20d%3D%22M4.79102%206.63427V5.68652H7.63424V6.63427H4.79102Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2193%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return f(function(e){return!e})}}),t.createElement(cJ,{size:64,icon:'data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%228%22%20width%3D%2264%22%20height%3D%2249%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_824_2190%29%22%2F%3E%3Cpath%20d%3D%22M7%2022.0107C8.33054%2022.0154%209.66322%2022.0131%2010.9938%2022.0107C13.1385%2028.9994%2015.2853%2035.9903%2017.4172%2042.9836C16.0909%2042.9976%2014.7647%2042.9743%2013.4406%2042.9999C11.2509%2036.0206%209.134%2029.011%207%2022.0107Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.1836%2022.0118C21.5184%2022.0118%2022.8532%2022.0072%2024.1902%2022.0118C22.2876%2028.209%2020.4086%2034.4154%2018.4845%2040.6055C17.7646%2038.4568%2017.1347%2036.2755%2016.4727%2034.1081C17.7261%2030.0807%2018.9302%2026.0369%2020.1836%2022.0118Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8603%2022.0088L26.9717%2022.0251C28.4008%2022.2812%2029.8513%2022.1438%2031.2933%2022.2439C31.3575%2023.3008%2031.3532%2024.3624%2031.274%2025.417C29.7913%2025.4915%2028.3022%2025.3611%2026.8281%2025.5567C26.8945%2024.374%2026.8581%2023.1914%2026.8603%2022.0088Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8647%2042.9874C26.8733%2041.7698%2026.839%2040.5499%2026.8904%2039.3301C28.3666%2039.3673%2029.845%2039.3394%2031.3234%2039.3487C31.3234%2040.5616%2031.3255%2041.7745%2031.3298%2042.9897C29.8407%2042.9897%2028.3516%2042.9897%2026.8647%2042.9874Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.9717%2022.0263C31.0061%2021.9798%2035.0406%2022.0077%2039.0751%2022.0147C39.0708%2023.2183%2039.0901%2024.4242%2039.0601%2025.6301C35.7669%2025.6231%2032.4759%2025.6371%2029.185%2025.6277C28.3986%2025.6161%2027.608%2025.6836%2026.8281%2025.5579C28.3022%2025.3623%2029.7913%2025.4927%2031.274%2025.4182C31.3532%2024.3636%2031.3575%2023.3021%2031.2933%2022.2452C29.8513%2022.1451%2028.4008%2022.2824%2026.9717%2022.0263Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4379%2022.0183C44.2355%2022.0044%2046.031%2022.0044%2047.8286%2022.0276C47.8329%2023.2172%2047.82%2024.4092%2047.7836%2025.5988C46.001%2025.5545%2044.2184%2025.5964%2042.4357%2025.5732C42.4336%2024.3882%2042.4315%2023.2033%2042.4379%2022.0183Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4361%2039.3898C44.3408%2039.3712%2046.2434%2039.4224%2048.1482%2039.3525C48.2982%2040.5538%2048.2896%2041.7713%2048.1182%2042.9679C46.2241%2043.0075%2044.3301%2042.9842%2042.4361%2042.9865C42.4339%2041.7876%2042.4318%2040.5887%2042.4361%2039.3898Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M47.8243%2022.0283C49.4891%2022.1075%2051.1281%2022.5777%2052.6001%2023.4251L52.5979%2023.467C52.4544%2025.1804%2052.6344%2026.9055%2052.418%2028.6142C51.4559%2026.8193%2049.6712%2025.7228%2047.7793%2025.5995C47.8157%2024.4099%2047.8286%2023.2179%2047.8243%2022.0283Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M52.5939%2023.4668C54.9358%2024.8543%2056.4548%2027.5547%2056.8448%2030.3856C57.2197%2033.0884%2056.9519%2036.0054%2055.6128%2038.3706C54.8736%2039.7232%2053.7766%2040.8034%2052.5404%2041.5995C52.4568%2039.8931%2052.6689%2038.1681%2052.3711%2036.478C53.451%2034.0289%2053.4038%2031.0817%2052.4139%2028.614C52.6303%2026.9052%2052.4504%2025.1802%2052.5939%2023.4668Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8574%2030.6728C30.3927%2030.6682%2033.9279%2030.6658%2037.4632%2030.6705C37.4632%2031.8764%2037.461%2033.0823%2037.4653%2034.2882C33.9686%2034.2859%2030.4698%2034.3208%2026.9753%2034.2696C28.5436%2033.9739%2030.142%2034.1509%2031.7254%2034.0438C31.7789%2032.9938%2031.7725%2031.9416%2031.7082%2030.8917C30.0949%2030.8288%2028.4815%2030.8614%2026.8681%2030.8125L26.8574%2030.6728Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8658%2030.8125C28.4792%2030.8614%2030.0925%2030.8288%2031.7059%2030.8917C31.7702%2031.9416%2031.7766%2032.9938%2031.723%2034.0438C30.1397%2034.1508%2028.5413%2033.9739%2026.9729%2034.2696L26.8594%2034.2859C26.8701%2033.1265%2026.8637%2031.9695%2026.8658%2030.8125Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M48.1372%2039.3247C49.8641%2039.1454%2051.4754%2038.1048%2052.371%2036.4775C52.6688%2038.1677%2052.4567%2039.8927%2052.5402%2041.5991C51.1733%2042.4%2049.652%2042.8376%2048.1094%2042.968C48.2808%2041.7714%2048.2894%2040.5539%2048.1394%2039.3526L48.1372%2039.3247Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.3203%2039.3477C32.7451%2039.3454%2034.1699%2039.3477%2035.5969%2039.3477C35.6119%2040.5606%2035.6076%2041.7735%2035.5862%2042.9887C34.1656%2042.9887%2032.7451%2042.9887%2031.3267%2042.9887C31.3224%2041.7735%2031.3203%2040.5606%2031.3203%2039.3477Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M35.6064%2039.3482C36.7634%2039.3459%2037.9225%2039.3459%2039.0817%2039.3505C39.0817%2040.5634%2039.0817%2041.774%2039.0817%2042.9869C37.9204%2042.9915%2036.757%2042.9892%2035.5957%2042.9892C35.6171%2041.774%2035.6214%2040.5611%2035.6064%2039.3482Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2245.1173%22%20cy%3D%2232.6875%22%20rx%3D%222.45906%22%20ry%3D%222.67187%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2190%22%20x1%3D%22-5.82857%22%20y1%3D%2230.6824%22%20x2%3D%2265.86%22%20y2%3D%2233.0575%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return c(!0)}})),l&&t.createElement(fJ,{token:i,baseURL:o,handleClickBackBtn:c,darkMode:a}))};export{fJ as VuChat,dJ as VuChatContext,hJ as VuIconComponent};