@perses-dev/heatmap-chart-plugin 0.2.0
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/LICENSE +201 -0
- package/README.md +23 -0
- package/__mf/css/async/341.2a93d99b.css +1 -0
- package/__mf/css/async/759.2a93d99b.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/HeatMapChart.81916a67.js +5 -0
- package/__mf/js/async/173.c3418567.js +2 -0
- package/__mf/js/async/173.c3418567.js.LICENSE.txt +19 -0
- package/__mf/js/async/293.f3a89fef.js +1 -0
- package/__mf/js/async/469.15f49b0f.js +71 -0
- package/__mf/js/async/469.15f49b0f.js.LICENSE.txt +21 -0
- package/__mf/js/async/482.cd2ab58b.js +83 -0
- package/__mf/js/async/482.cd2ab58b.js.LICENSE.txt +61 -0
- package/__mf/js/async/774.0d1a003f.js +1 -0
- package/__mf/js/async/790.930331af.js +1 -0
- package/__mf/js/async/863.e810bfc4.js +2 -0
- package/__mf/js/async/863.e810bfc4.js.LICENSE.txt +9 -0
- package/__mf/js/async/934.6f607fed.js +2 -0
- package/__mf/js/async/934.6f607fed.js.LICENSE.txt +37 -0
- package/__mf/js/async/964.944e7b15.js +2 -0
- package/__mf/js/async/964.944e7b15.js.LICENSE.txt +9 -0
- package/__mf/js/async/981.75e172bb.js +2 -0
- package/__mf/js/async/981.75e172bb.js.LICENSE.txt +8 -0
- package/__mf/js/async/__federation_expose_HeatMapChart.ab402c3a.js +23 -0
- package/__mf/js/main.24d16ad6.js +5 -0
- package/lib/HeatMapChart.d.ts +8 -0
- package/lib/HeatMapChart.d.ts.map +1 -0
- package/lib/HeatMapChart.js +34 -0
- package/lib/HeatMapChart.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/HeatMapChart.js +40 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/components/HeatMapChart.js +149 -0
- package/lib/cjs/components/HeatMapChartOptionsEditorSettings.js +85 -0
- package/lib/cjs/components/HeatMapChartPanel.js +178 -0
- package/lib/cjs/components/HeatMapTooltip.js +58 -0
- package/lib/cjs/components/index.js +32 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/heat-map-chart-model.js +56 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +47 -0
- package/lib/cjs/setup-tests.js +19 -0
- package/lib/cjs/utils/data-transform.js +34 -0
- package/lib/cjs/utils/get-formatted-axis-label.js +48 -0
- package/lib/cjs/utils/index.js +32 -0
- package/lib/cjs/utils/thresholds.js +22 -0
- package/lib/components/HeatMapChart.d.ts +27 -0
- package/lib/components/HeatMapChart.d.ts.map +1 -0
- package/lib/components/HeatMapChart.js +141 -0
- package/lib/components/HeatMapChart.js.map +1 -0
- package/lib/components/HeatMapChartOptionsEditorSettings.d.ts +4 -0
- package/lib/components/HeatMapChartOptionsEditorSettings.d.ts.map +1 -0
- package/lib/components/HeatMapChartOptionsEditorSettings.js +72 -0
- package/lib/components/HeatMapChartOptionsEditorSettings.js.map +1 -0
- package/lib/components/HeatMapChartPanel.d.ts +7 -0
- package/lib/components/HeatMapChartPanel.d.ts.map +1 -0
- package/lib/components/HeatMapChartPanel.js +165 -0
- package/lib/components/HeatMapChartPanel.js.map +1 -0
- package/lib/components/HeatMapTooltip.d.ts +16 -0
- package/lib/components/HeatMapTooltip.d.ts.map +1 -0
- package/lib/components/HeatMapTooltip.js +50 -0
- package/lib/components/HeatMapTooltip.js.map +1 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +17 -0
- package/lib/components/index.js.map +1 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/heat-map-chart-model.d.ts +27 -0
- package/lib/heat-map-chart-model.d.ts.map +1 -0
- package/lib/heat-map-chart-model.js +30 -0
- package/lib/heat-map-chart-model.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/lib/setup-tests.js.map +1 -0
- package/lib/utils/data-transform.d.ts +5 -0
- package/lib/utils/data-transform.d.ts.map +1 -0
- package/lib/utils/data-transform.js +18 -0
- package/lib/utils/data-transform.js.map +1 -0
- package/lib/utils/get-formatted-axis-label.d.ts +2 -0
- package/lib/utils/get-formatted-axis-label.d.ts.map +1 -0
- package/lib/utils/get-formatted-axis-label.js +41 -0
- package/lib/utils/get-formatted-axis-label.js.map +1 -0
- package/lib/utils/index.d.ts +4 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +17 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/thresholds.d.ts +4 -0
- package/lib/utils/thresholds.d.ts.map +1 -0
- package/lib/utils/thresholds.js +14 -0
- package/lib/utils/thresholds.js.map +1 -0
- package/mf-manifest.json +169 -0
- package/mf-stats.json +202 -0
- package/package.json +52 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
* in the Software without restriction, including without limitation the rights
|
|
7
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
* furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in
|
|
12
|
+
* all copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
* SOFTWARE.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/*!
|
|
24
|
+
* decimal.js v10.5.0
|
|
25
|
+
* An arbitrary-precision Decimal type for JavaScript.
|
|
26
|
+
* https://github.com/MikeMcl/decimal.js
|
|
27
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
28
|
+
* MIT Licence
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @license Fraction.js v4.3.7 31/08/2023
|
|
33
|
+
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
|
|
36
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
37
|
+
**/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 964.944e7b15.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_HeatMapChart=self.chunk_HeatMapChart||[]).push([["964"],{1535:function(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,_={};function m(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,h(S,m.prototype),S.isPureReactComponent=!0;var E=Array.isArray,k=Object.prototype.hasOwnProperty,$={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!w.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:$.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function O(e,t,o){if(null==e)return e;var u=[],a=0;return!function e(t,o,u,a,c){var i,f,s,l=typeof t;("undefined"===l||"boolean"===l)&&(t=null);var p=!1;if(null===t)p=!0;else switch(l){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case r:case n:p=!0}}if(p)return c=c(p=t),t=""===a?"."+j(p,0):a,E(c)?(u="",null!=t&&(u=t.replace(g,"$&/")+"/"),e(c,o,u,"",function(e){return e})):null!=c&&(C(c)&&(i=c,f=u+(!c.key||p&&p.key===c.key?"":(""+c.key).replace(g,"$&/")+"/")+t,c={$$typeof:r,type:i.type,key:f,ref:i.ref,props:i.props,_owner:i._owner}),o.push(c)),1;if(p=0,a=""===a?".":a+":",E(t))for(var d=0;d<t.length;d++){var h=a+j(l=t[d],d);p+=e(l,o,u,h,c)}else if("function"==typeof(h=null===(s=t)||"object"!=typeof s?null:"function"==typeof(s=y&&s[y]||s["@@iterator"])?s:null))for(t=h.call(t),d=0;!(l=t.next()).done;)h=a+j(l=l.value,d++),p+=e(l,o,u,h,c);else if("object"===l)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return p}(e,u,"","",function(e){return t.call(o,e,a++)}),u}function x(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},I={transition:null};function T(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,r){O(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:I,ReactCurrentOwner:$},t.act=T,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=$.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)k.call(t,f)&&!w.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=T,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,r){return P.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,r){return P.current.useReducer(e,t,r)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return P.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},7378:function(e,t,r){e.exports=r(1535)}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 981.75e172bb.js.LICENSE.txt */
|
|
2
|
+
(self.chunk_HeatMapChart=self.chunk_HeatMapChart||[]).push([["981"],{8784:function(n,t,r){n=r.nmd(n),(function(){var e,u="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",f=1/0,a=0/0,c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",s="[object Array]",h="[object Boolean]",p="[object Date]",v="[object Error]",_="[object Function]",g="[object GeneratorFunction]",y="[object Map]",d="[object Number]",b="[object Object]",w="[object Promise]",m="[object RegExp]",x="[object Set]",j="[object String]",A="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",I="[object DataView]",R="[object Float32Array]",z="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",W="[object Uint8Array]",L="[object Uint8ClampedArray]",U="[object Uint16Array]",B="[object Uint32Array]",T=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,D=/(__e\(.*?\)|\b__t\)) \+\n'';/g,M=/&(?:amp|lt|gt|quot|#39);/g,F=/[&<>"']/g,N=RegExp(M.source),P=RegExp(F.source),q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(J.source),Q=/^\s+/,X=/\s/,nn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nt=/\{\n\/\* \[wrapped with (.+)\] \*/,nr=/,? & /,ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nu=/[()=,{}\[\]\/\s]/,ni=/\\(\\)?/g,no=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nf=/\w*$/,na=/^[-+]0x[0-9a-f]+$/i,nc=/^0b[01]+$/i,nl=/^\[object .+?Constructor\]$/,ns=/^0o[0-7]+$/i,nh=/^(?:0|[1-9]\d*)$/,np=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nv=/($^)/,n_=/['\n\r\u2028\u2029\\]/g,ng="\ud800-\udfff",ny="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nd="\\u2700-\\u27bf",nb="a-z\\xdf-\\xf6\\xf8-\\xff",nw="A-Z\\xc0-\\xd6\\xd8-\\xde",nm="\\ufe0e\\ufe0f",nx="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nj="['’]",nA="["+nx+"]",nk="["+ny+"]",nO="["+nb+"]",nI="[^"+ng+nx+"\\d+"+nd+nb+nw+"]",nR="\ud83c[\udffb-\udfff]",nz="[^"+ng+"]",nE="(?:\ud83c[\udde6-\uddff]){2}",nS="[\ud800-\udbff][\udc00-\udfff]",nC="["+nw+"]",nW="\\u200d",nL="(?:"+nO+"|"+nI+")",nU="(?:"+nC+"|"+nI+")",nB="(?:"+nj+"(?:d|ll|m|re|s|t|ve))?",nT="(?:"+nj+"(?:D|LL|M|RE|S|T|VE))?",n$="(?:"+nk+"|"+nR+")?",nD="["+nm+"]?",nM="(?:"+nW+"(?:"+[nz,nE,nS].join("|")+")"+nD+n$+")*",nF=nD+n$+nM,nN="(?:"+["["+nd+"]",nE,nS].join("|")+")"+nF,nP="(?:"+[nz+nk+"?",nk,nE,nS,"["+ng+"]"].join("|")+")",nq=RegExp(nj,"g"),nZ=RegExp(nk,"g"),nK=RegExp(nR+"(?="+nR+")|"+nP+nF,"g"),nV=RegExp([nC+"?"+nO+"+"+nB+"(?="+[nA,nC,"$"].join("|")+")",nU+"+"+nT+"(?="+[nA,nC+nL,"$"].join("|")+")",nC+"?"+nL+"+"+nB,nC+"+"+nT,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",nN].join("|"),"g"),nG=RegExp("["+nW+ng+ny+nm+"]"),nH=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nY=-1,nQ={};nQ[R]=nQ[z]=nQ[E]=nQ[S]=nQ[C]=nQ[W]=nQ[L]=nQ[U]=nQ[B]=!0,nQ[l]=nQ[s]=nQ[O]=nQ[h]=nQ[I]=nQ[p]=nQ[v]=nQ[_]=nQ[y]=nQ[d]=nQ[b]=nQ[m]=nQ[x]=nQ[j]=nQ[k]=!1;var nX={};nX[l]=nX[s]=nX[O]=nX[I]=nX[h]=nX[p]=nX[R]=nX[z]=nX[E]=nX[S]=nX[C]=nX[y]=nX[d]=nX[b]=nX[m]=nX[x]=nX[j]=nX[A]=nX[W]=nX[L]=nX[U]=nX[B]=!0,nX[v]=nX[_]=nX[k]=!1;var n0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n1=parseFloat,n2=parseInt,n3="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,n8="object"==typeof self&&self&&self.Object===Object&&self,n4=n3||n8||Function("return this")(),n6=t&&!t.nodeType&&t,n9=n6&&n&&!n.nodeType&&n,n7=n9&&n9.exports===n6,n5=n7&&n3.process,tn=function(){try{var n=n9&&n9.require&&n9.require("util").types;if(n)return n;return n5&&n5.binding&&n5.binding("util")}catch(n){}}(),tt=tn&&tn.isArrayBuffer,tr=tn&&tn.isDate,te=tn&&tn.isMap,tu=tn&&tn.isRegExp,ti=tn&&tn.isSet,to=tn&&tn.isTypedArray;function tf(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function ta(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function tc(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function tl(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function ts(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function th(n,t){return!!(null==n?0:n.length)&&tx(n,t,0)>-1}function tp(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function tv(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function t_(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function tg(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function ty(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function td(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var tb=tO("length");function tw(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function tm(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return -1}function tx(n,t,r){return t==t?function(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return -1}(n,t,r):tm(n,tA,r)}function tj(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return -1}function tA(n){return n!=n}function tk(n,t){var r=null==n?0:n.length;return r?tz(n,t)/r:a}function tO(n){return function(t){return null==t?e:t[n]}}function tI(n){return function(t){return null==n?e:n[t]}}function tR(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function tz(n,t){for(var r,u=-1,i=n.length;++u<i;){var o=t(n[u]);e!==o&&(r=e===r?o:r+o)}return r}function tE(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function tS(n){return n?n.slice(0,tV(n)+1).replace(Q,""):n}function tC(n){return function(t){return n(t)}}function tW(n,t){return tv(t,function(t){return n[t]})}function tL(n,t){return n.has(t)}function tU(n,t){for(var r=-1,e=n.length;++r<e&&tx(t,n[r],0)>-1;);return r}function tB(n,t){for(var r=n.length;r--&&tx(t,n[r],0)>-1;);return r}var tT=tI({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),t$=tI({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(n){return"\\"+n0[n]}function tM(n){return nG.test(n)}function tF(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function tN(n,t){return function(r){return n(t(r))}}function tP(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var f=n[r];(f===t||f===o)&&(n[r]=o,i[u++]=r)}return i}function tq(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function tZ(n){return tM(n)?function(n){for(var t=nK.lastIndex=0;nK.test(n);)++t;return t}(n):tb(n)}function tK(n){return tM(n)?n.match(nK)||[]:n.split("")}function tV(n){for(var t=n.length;t--&&X.test(n.charAt(t)););return t}var tG=tI({"&":"&","<":"<",">":">",""":'"',"'":"'"}),tH=function n(t){var r,X,ng,ny,nd=(t=null==t?n4:tH.defaults(n4.Object(),t,tH.pick(n4,nJ))).Array,nb=t.Date,nw=t.Error,nm=t.Function,nx=t.Math,nj=t.Object,nA=t.RegExp,nk=t.String,nO=t.TypeError,nI=nd.prototype,nR=nm.prototype,nz=nj.prototype,nE=t["__core-js_shared__"],nS=nR.toString,nC=nz.hasOwnProperty,nW=0,nL=(r=/[^.]+$/.exec(nE&&nE.keys&&nE.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",nU=nz.toString,nB=nS.call(nj),nT=n4._,n$=nA("^"+nS.call(nC).replace(J,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nD=n7?t.Buffer:e,nM=t.Symbol,nF=t.Uint8Array,nN=nD?nD.allocUnsafe:e,nP=tN(nj.getPrototypeOf,nj),nK=nj.create,nG=nz.propertyIsEnumerable,n0=nI.splice,n3=nM?nM.isConcatSpreadable:e,n8=nM?nM.iterator:e,n6=nM?nM.toStringTag:e,n9=function(){try{var n=uh(nj,"defineProperty");return n({},"",{}),n}catch(n){}}(),n5=t.clearTimeout!==n4.clearTimeout&&t.clearTimeout,tn=nb&&nb.now!==n4.Date.now&&nb.now,tb=t.setTimeout!==n4.setTimeout&&t.setTimeout,tI=nx.ceil,tJ=nx.floor,tY=nj.getOwnPropertySymbols,tQ=nD?nD.isBuffer:e,tX=t.isFinite,t0=nI.join,t1=tN(nj.keys,nj),t2=nx.max,t3=nx.min,t8=nb.now,t4=t.parseInt,t6=nx.random,t9=nI.reverse,t7=uh(t,"DataView"),t5=uh(t,"Map"),rn=uh(t,"Promise"),rt=uh(t,"Set"),rr=uh(t,"WeakMap"),re=uh(nj,"create"),ru=rr&&new rr,ri={},ro=uT(t7),rf=uT(t5),ra=uT(rn),rc=uT(rt),rl=uT(rr),rs=nM?nM.prototype:e,rh=rs?rs.valueOf:e,rp=rs?rs.toString:e;function rv(n){if(iG(n)&&!iT(n)&&!(n instanceof rd)){if(n instanceof ry)return n;if(nC.call(n,"__wrapped__"))return u$(n)}return new ry(n)}var r_=function(){function n(){}return function(t){if(!iV(t))return{};if(nK)return nK(t);n.prototype=t;var r=new n;return n.prototype=e,r}}();function rg(){}function ry(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=e}function rd(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function rb(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function rw(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function rm(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function rx(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new rm;++t<r;)this.add(n[t])}function rj(n){var t=this.__data__=new rw(n);this.size=t.size}function rA(n,t){var r=iT(n),e=!r&&iB(n),u=!r&&!e&&iF(n),i=!r&&!e&&!u&&i2(n),o=r||e||u||i,f=o?tE(n.length,nk):[],a=f.length;for(var c in n)(t||nC.call(n,c))&&!(o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ub(c,a)))&&f.push(c);return f}function rk(n){var t=n.length;return t?n[ec(0,t-1)]:e}rv.templateSettings={escape:q,evaluate:Z,interpolate:K,variable:"",imports:{_:rv}},rv.prototype=rg.prototype,rv.prototype.constructor=rv,ry.prototype=r_(rg.prototype),ry.prototype.constructor=ry,rd.prototype=r_(rg.prototype),rd.prototype.constructor=rd,rb.prototype.clear=function(){this.__data__=re?re(null):{},this.size=0},rb.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=!!t,t},rb.prototype.get=function(n){var t=this.__data__;if(re){var r=t[n];return r===i?e:r}return nC.call(t,n)?t[n]:e},rb.prototype.has=function(n){var t=this.__data__;return re?t[n]!==e:nC.call(t,n)},rb.prototype.set=function(n,t){var r=this.__data__;return this.size+=+!this.has(n),r[n]=re&&e===t?i:t,this},rw.prototype.clear=function(){this.__data__=[],this.size=0},rw.prototype.delete=function(n){var t=this.__data__,r=rR(t,n);return!(r<0)&&(r==t.length-1?t.pop():n0.call(t,r,1),--this.size,!0)},rw.prototype.get=function(n){var t=this.__data__,r=rR(t,n);return r<0?e:t[r][1]},rw.prototype.has=function(n){return rR(this.__data__,n)>-1},rw.prototype.set=function(n,t){var r=this.__data__,e=rR(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},rm.prototype.clear=function(){this.size=0,this.__data__={hash:new rb,map:new(t5||rw),string:new rb}},rm.prototype.delete=function(n){var t=ul(this,n).delete(n);return this.size-=!!t,t},rm.prototype.get=function(n){return ul(this,n).get(n)},rm.prototype.has=function(n){return ul(this,n).has(n)},rm.prototype.set=function(n,t){var r=ul(this,n),e=r.size;return r.set(n,t),this.size+=+(r.size!=e),this},rx.prototype.add=rx.prototype.push=function(n){return this.__data__.set(n,i),this},rx.prototype.has=function(n){return this.__data__.has(n)};function rO(n,t,r){(e===r||iW(n[t],r))&&(e!==r||t in n)||rS(n,t,r)}function rI(n,t,r){var u=n[t];nC.call(n,t)&&iW(u,r)&&(e!==r||t in n)||rS(n,t,r)}function rR(n,t){for(var r=n.length;r--;)if(iW(n[r][0],t))return r;return -1}function rz(n,t,r,e){return r$(n,function(n,u,i){t(e,n,r(n),i)}),e}function rE(n,t){return n&&eF(t,ov(t),n)}function rS(n,t,r){"__proto__"==t&&n9?n9(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function rC(n,t){for(var r=-1,u=t.length,i=nd(u),o=null==n;++r<u;)i[r]=o?e:oc(n,t[r]);return i}function rW(n,t,r){return n==n&&(e!==r&&(n=n<=r?n:r),e!==t&&(n=n>=t?n:t)),n}function rL(n,t,r,u,i,o){var f,a=1&t,c=2&t,s=4&t;if(r&&(f=i?r(n,u,i,o):r(n)),e!==f)return f;if(!iV(n))return n;var v=iT(n);if(v){if(k=(w=n).length,T=new w.constructor(k),k&&"string"==typeof w[0]&&nC.call(w,"index")&&(T.index=w.index,T.input=w.input),f=T,!a)return eM(n,f)}else{var w,k,T,$,D,M,F,N,P=u_(n),q=P==_||P==g;if(iF(n))return eL(n,a);if(P==b||P==l||q&&!i){if(f=c||q?{}:uy(n),!a){return c?($=n,D=(N=f)&&eF(n,o_(n),N),eF($,uv($),D)):(M=n,F=rE(f,n),eF(M,up(M),F))}}else{if(!nX[P])return i?n:{};f=function(n,t,r){var e,u,i=n.constructor;switch(t){case O:return eU(n);case h:case p:return new i(+n);case I:return e=r?eU(n.buffer):n.buffer,new n.constructor(e,n.byteOffset,n.byteLength);case R:case z:case E:case S:case C:case W:case L:case U:case B:return eB(n,r);case y:return new i;case d:case j:return new i(n);case m:return(u=new n.constructor(n.source,nf.exec(n))).lastIndex=n.lastIndex,u;case x:return new i;case A:return rh?nj(rh.call(n)):{}}}(n,P,a)}}o||(o=new rj);var Z=o.get(n);if(Z)return Z;o.set(n,f),iX(n)?n.forEach(function(e){f.add(rL(e,t,r,e,n,o))}):iH(n)&&n.forEach(function(e,u){f.set(u,rL(e,t,r,u,n,o))});var K=s?c?ui:uu:c?o_:ov,V=v?e:K(n);return tc(V||n,function(e,u){V&&(e=n[u=e]),rI(f,u,rL(e,t,r,u,n,o))}),f}function rU(n,t,r){var u=r.length;if(null==n)return!u;for(n=nj(n);u--;){var i=r[u],o=t[i],f=n[i];if(e===f&&!(i in n)||!o(f))return!1}return!0}function rB(n,t,r){if("function"!=typeof n)throw new nO(u);return uE(function(){n.apply(e,r)},t)}function rT(n,t,r,e){var u=-1,i=th,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=tv(t,tC(r))),e?(i=tp,o=!1):t.length>=200&&(i=tL,o=!1,t=new rx(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l);if(l=e||0!==l?l:0,o&&s==s){for(var h=c;h--;)if(t[h]===s)continue n;a.push(l)}else i(t,s,e)||a.push(l)}return a}rj.prototype.clear=function(){this.__data__=new rw,this.size=0},rj.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},rj.prototype.get=function(n){return this.__data__.get(n)},rj.prototype.has=function(n){return this.__data__.has(n)},rj.prototype.set=function(n,t){var r=this.__data__;if(r instanceof rw){var e=r.__data__;if(!t5||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new rm(e)}return r.set(n,t),this.size=r.size,this};var r$=eq(rK),rD=eq(rV,!0);function rM(n,t){var r=!0;return r$(n,function(n,e,u){return r=!!t(n,e,u)}),r}function rF(n,t,r){for(var u=-1,i=n.length;++u<i;){var o=n[u],f=t(o);if(null!=f&&(e===a?f==f&&!i1(f):r(f,a)))var a=f,c=o}return c}function rN(n,t){var r=[];return r$(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function rP(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=ud),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?rP(f,t-1,r,e,u):t_(u,f):e||(u[u.length]=f)}return u}var rq=eZ(),rZ=eZ(!0);function rK(n,t){return n&&rq(n,t,ov)}function rV(n,t){return n&&rZ(n,t,ov)}function rG(n,t){return ts(t,function(t){return iq(n[t])})}function rH(n,t){t=eS(t,n);for(var r=0,u=t.length;null!=n&&r<u;)n=n[uB(t[r++])];return r&&r==u?n:e}function rJ(n,t,r){var e=t(n);return iT(n)?e:t_(e,r(n))}function rY(n){var t;return null==n?e===n?"[object Undefined]":"[object Null]":n6&&n6 in nj(n)?function(n){var t=nC.call(n,n6),r=n[n6];try{n[n6]=e;var u=!0}catch(n){}var i=nU.call(n);return u&&(t?n[n6]=r:delete n[n6]),i}(n):(t=n,nU.call(t))}function rQ(n,t){return n>t}function rX(n,t){return null!=n&&nC.call(n,t)}function r0(n,t){return null!=n&&t in nj(n)}function r1(n,t,r){for(var u=r?tp:th,i=n[0].length,o=n.length,f=o,a=nd(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=tv(s,tC(t))),c=t3(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new rx(f&&s):e}s=n[0];var h=-1,p=a[0];n:for(;++h<i&&l.length<c;){var v=s[h],_=t?t(v):v;if(v=r||0!==v?v:0,!(p?tL(p,_):u(l,_,r))){for(f=o;--f;){var g=a[f];if(!(g?tL(g,_):u(n[f],_,r)))continue n}p&&p.push(_),l.push(v)}}return l}function r2(n,t,r){t=eS(t,n);var u=null==(n=uI(n,t))?n:n[uB(uH(t))];return null==u?e:tf(u,n,r)}function r3(n){return iG(n)&&rY(n)==l}function r8(n,t,r,u,i){return n===t||(null!=n&&null!=t&&(iG(n)||iG(t))?function(n,t,r,u,i,o){var f=iT(n),a=iT(t),c=f?s:u_(n),_=a?s:u_(t);c=c==l?b:c,_=_==l?b:_;var g=c==b,w=_==b,k=c==_;if(k&&iF(n)){if(!iF(t))return!1;f=!0,g=!1}if(k&&!g)return o||(o=new rj),f||i2(n)?ur(n,t,r,u,i,o):function(n,t,r,e,u,i,o){switch(r){case I:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)break;n=n.buffer,t=t.buffer;case O:if(n.byteLength!=t.byteLength||!i(new nF(n),new nF(t)))break;return!0;case h:case p:case d:return iW(+n,+t);case v:return n.name==t.name&&n.message==t.message;case m:case j:return n==t+"";case y:var f=tF;case x:var a=1&e;if(f||(f=tq),n.size!=t.size&&!a)break;var c=o.get(n);if(c)return c==t;e|=2,o.set(n,t);var l=ur(f(n),f(t),e,u,i,o);return o.delete(n),l;case A:if(rh)return rh.call(n)==rh.call(t)}return!1}(n,t,c,r,u,i,o);if(!(1&r)){var R=g&&nC.call(n,"__wrapped__"),z=w&&nC.call(t,"__wrapped__");if(R||z){var E=R?n.value():n,S=z?t.value():t;return o||(o=new rj),i(E,S,r,u,o)}}return!!k&&(o||(o=new rj),function(n,t,r,u,i,o){var f=1&r,a=uu(n),c=a.length;if(c!=uu(t).length&&!f)return!1;for(var l=c;l--;){var s=a[l];if(!(f?s in t:nC.call(t,s)))return!1}var h=o.get(n),p=o.get(t);if(h&&p)return h==t&&p==n;var v=!0;o.set(n,t),o.set(t,n);for(var _=f;++l<c;){var g=n[s=a[l]],y=t[s];if(u)var d=f?u(y,g,s,t,n,o):u(g,y,s,n,t,o);if(!(e===d?g===y||i(g,y,r,u,o):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var b=n.constructor,w=t.constructor;b!=w&&"constructor"in n&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(v=!1)}return o.delete(n),o.delete(t),v}(n,t,r,u,i,o))}(n,t,r,u,r8,i):n!=n&&t!=t)}function r4(n,t,r,u){var i=r.length,o=i,f=!u;if(null==n)return!o;for(n=nj(n);i--;){var a=r[i];if(f&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){var c=(a=r[i])[0],l=n[c],s=a[1];if(f&&a[2]){if(e===l&&!(c in n))return!1}else{var h=new rj;if(u)var p=u(l,s,c,n,t,h);if(!(e===p?r8(s,l,3,u,h):p))return!1}}return!0}function r6(n){var t;return!(!iV(n)||(t=n,nL&&nL in t))&&(iq(n)?n$:nl).test(uT(n))}function r9(n){return"function"==typeof n?n:null==n?oM:"object"==typeof n?iT(n)?er(n[0],n[1]):et(n):oH(n)}function r7(n){if(!uA(n))return t1(n);var t=[];for(var r in nj(n))nC.call(n,r)&&"constructor"!=r&&t.push(r);return t}function r5(n,t){return n<t}function en(n,t){var r=-1,e=iD(n)?nd(n.length):[];return r$(n,function(n,u,i){e[++r]=t(n,u,i)}),e}function et(n){var t=us(n);return 1==t.length&&t[0][2]?uk(t[0][0],t[0][1]):function(r){return r===n||r4(r,n,t)}}function er(n,t){var r;return um(n)&&(r=t)==r&&!iV(r)?uk(uB(n),t):function(r){var u=oc(r,n);return e===u&&u===t?ol(r,n):r8(t,u,3)}}function ee(n,t,r,u,i){n!==t&&rq(t,function(o,f){if(i||(i=new rj),iV(o))!function(n,t,r,u,i,o,f){var a=uR(n,r),c=uR(t,r),l=f.get(c);if(l)return rO(n,r,l);var s=o?o(a,c,r+"",n,t,f):e,h=e===s;if(h){var p=iT(c),v=!p&&iF(c),_=!p&&!v&&i2(c);s=c,p||v||_?iT(a)?s=a:iM(a)?s=eM(a):v?(h=!1,s=eL(c,!0)):_?(h=!1,s=eB(c,!0)):s=[]:iY(c)||iB(c)?(s=a,iB(a)?s=on(a):(!iV(a)||iq(a))&&(s=uy(c))):h=!1}h&&(f.set(c,s),i(s,c,u,o,f),f.delete(c)),rO(n,r,s)}(n,t,f,r,ee,u,i);else{var a=u?u(uR(n,f),o,f+"",n,t,i):e;e===a&&(a=o),rO(n,f,a)}},o_)}function eu(n,t){var r=n.length;if(r)return ub(t+=t<0?r:0,r)?n[t]:e}function ei(n,t,r){t=t.length?tv(t,function(n){return iT(n)?function(t){return rH(t,1===n.length?n[0]:n)}:n}):[oM];var e=-1;t=tv(t,tC(uc()));var u=en(n,function(n,r,u){return{criteria:tv(t,function(t){return t(n)}),index:++e,value:n}}),i=u.length;for(u.sort(function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var a=eT(u[e],i[e]);if(a){if(e>=f)return a;return a*("desc"==r[e]?-1:1)}}return n.index-t.index}(n,t,r)});i--;)u[i]=u[i].value;return u}function eo(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=rH(n,o);r(f,o)&&eh(i,eS(o,n),f)}return i}function ef(n,t,r,e){var u=e?tj:tx,i=-1,o=t.length,f=n;for(n===t&&(t=eM(t)),r&&(f=tv(n,tC(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&n0.call(f,a,1),n0.call(n,a,1);return n}function ea(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;ub(u)?n0.call(n,u,1):ej(n,u)}}return n}function ec(n,t){return n+tJ(t6()*(t-n+1))}function el(n,t){var r="";if(!n||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=n),(t=tJ(t/2))&&(n+=n);while(t);return r}function es(n,t){return uS(uO(n,t,oM),n+"")}function eh(n,t,r,u){if(!iV(n))return n;t=eS(t,n);for(var i=-1,o=t.length,f=o-1,a=n;null!=a&&++i<o;){var c=uB(t[i]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)break;if(i!=f){var s=a[c];l=u?u(s,c,a):e,e===l&&(l=iV(s)?s:ub(t[i+1])?[]:{})}rI(a,c,l),a=a[c]}return n}var ep=ru?function(n,t){return ru.set(n,t),n}:oM,ev=n9?function(n,t){return n9(n,"toString",{configurable:!0,enumerable:!1,value:oT(t),writable:!0})}:oM;function e_(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=nd(u);++e<u;)i[e]=n[e+t];return i}function eg(n,t){var r;return r$(n,function(n,e,u){return!(r=t(n,e,u))}),!!r}function ey(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=0x7fffffff){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!i1(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return ed(n,t,oM,r)}function ed(n,t,r,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var f=(t=r(t))!=t,a=null===t,c=i1(t),l=e===t;i<o;){var s=tJ((i+o)/2),h=r(n[s]),p=e!==h,v=null===h,_=h==h,g=i1(h);if(f)var y=u||_;else y=l?_&&(u||p):a?_&&p&&(u||!v):c?_&&p&&!v&&(u||!g):!v&&!g&&(u?h<=t:h<t);y?i=s+1:o=s}return t3(o,0xfffffffe)}function eb(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!iW(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function ew(n){return"number"==typeof n?n:i1(n)?a:+n}function em(n){if("string"==typeof n)return n;if(iT(n))return tv(n,em)+"";if(i1(n))return rp?rp.call(n):"";var t=n+"";return"0"==t&&1/n==-f?"-0":t}function ex(n,t,r){var e=-1,u=th,i=n.length,o=!0,f=[],a=f;if(r)o=!1,u=tp;else if(i>=200){var c=t?null:e6(n);if(c)return tq(c);o=!1,u=tL,a=new rx}else a=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l;if(l=r||0!==l?l:0,o&&s==s){for(var h=a.length;h--;)if(a[h]===s)continue n;t&&a.push(s),f.push(l)}else u(a,s,r)||(a!==f&&a.push(s),f.push(l))}return f}function ej(n,t){return t=eS(t,n),null==(n=uI(n,t))||delete n[uB(uH(t))]}function eA(n,t,r,e){return eh(n,t,r(rH(n,t)),e)}function ek(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?e_(n,e?0:i,e?i+1:u):e_(n,e?i+1:0,e?u:i)}function eO(n,t){var r=n;return r instanceof rd&&(r=r.value()),tg(t,function(n,t){return t.func.apply(t.thisArg,t_([n],t.args))},r)}function eI(n,t,r){var e=n.length;if(e<2)return e?ex(n[0]):[];for(var u=-1,i=nd(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=rT(i[u]||o,n[f],t,r));return ex(rP(i,1),t,r)}function eR(n,t,r){for(var u=-1,i=n.length,o=t.length,f={};++u<i;){var a=u<o?t[u]:e;r(f,n[u],a)}return f}function ez(n){return iM(n)?n:[]}function eE(n){return"function"==typeof n?n:oM}function eS(n,t){return iT(n)?n:um(n,t)?[n]:uU(ot(n))}function eC(n,t,r){var u=n.length;return r=e===r?u:r,!t&&r>=u?n:e_(n,t,r)}var eW=n5||function(n){return n4.clearTimeout(n)};function eL(n,t){if(t)return n.slice();var r=n.length,e=nN?nN(r):new n.constructor(r);return n.copy(e),e}function eU(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eB(n,t){var r=t?eU(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function eT(n,t){if(n!==t){var r=e!==n,u=null===n,i=n==n,o=i1(n),f=e!==t,a=null===t,c=t==t,l=i1(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!r&&c||!i)return 1;if(!u&&!o&&!l&&n<t||l&&r&&i&&!u&&!o||a&&r&&i||!f&&i||!c)return -1}return 0}function e$(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=t2(i-o,0),l=nd(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function eD(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=t2(i-f,0),s=nd(l+c),h=!e;++u<l;)s[u]=n[u];for(var p=u;++a<c;)s[p+a]=t[a];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function eM(n,t){var r=-1,e=n.length;for(t||(t=nd(e));++r<e;)t[r]=n[r];return t}function eF(n,t,r,u){var i=!r;r||(r={});for(var o=-1,f=t.length;++o<f;){var a=t[o],c=u?u(r[a],n[a],a,r,n):e;e===c&&(c=n[a]),i?rS(r,a,c):rI(r,a,c)}return r}function eN(n,t){return function(r,e){var u=iT(r)?ta:rz,i=t?t():{};return u(r,n,uc(e,2),i)}}function eP(n){return es(function(t,r){var u=-1,i=r.length,o=i>1?r[i-1]:e,f=i>2?r[2]:e;for(o=n.length>3&&"function"==typeof o?(i--,o):e,f&&uw(r[0],r[1],f)&&(o=i<3?e:o,i=1),t=nj(t);++u<i;){var a=r[u];a&&n(t,a,u,o)}return t})}function eq(n,t){return function(r,e){if(null==r)return r;if(!iD(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=nj(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function eZ(n){return function(t,r,e){for(var u=-1,i=nj(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function eK(n){return function(t){var r=tM(t=ot(t))?tK(t):e,u=r?r[0]:t.charAt(0),i=r?eC(r,1).join(""):t.slice(1);return u[n]()+i}}function eV(n){return function(t){return tg(oL(oO(t).replace(nq,"")),n,"")}}function eG(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=r_(n.prototype),e=n.apply(r,t);return iV(e)?e:r}}function eH(n){return function(t,r,u){var i=nj(t);if(!iD(t)){var o=uc(r,3);t=ov(t),r=function(n){return o(i[n],n,i)}}var f=n(t,r,u);return f>-1?i[o?t[f]:f]:e}}function eJ(n){return ue(function(t){var r=t.length,i=r,o=ry.prototype.thru;for(n&&t.reverse();i--;){var f=t[i];if("function"!=typeof f)throw new nO(u);if(o&&!a&&"wrapper"==uf(f))var a=new ry([],!0)}for(i=a?i:r;++i<r;){var c=uf(f=t[i]),l="wrapper"==c?uo(f):e;a=l&&ux(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[uf(l[0])].apply(a,l[3]):1==f.length&&ux(f)?a[c]():a.thru(f)}return function(){var n=arguments,e=n[0];if(a&&1==n.length&&iT(e))return a.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}})}function eY(n,t,r,u,i,o,f,a,c,l){var s=128&t,h=1&t,p=2&t,v=24&t,_=512&t,g=p?e:eG(n);function y(){for(var d=arguments.length,b=nd(d),w=d;w--;)b[w]=arguments[w];if(v)var m=ua(y),x=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(b,m);if(u&&(b=e$(b,u,i,v)),o&&(b=eD(b,o,f,v)),d-=x,v&&d<l){var j=tP(b,m);return e8(n,t,eY,y.placeholder,r,b,j,a,c,l-d)}var A=h?r:this,k=p?A[n]:n;return d=b.length,a?b=function(n,t){for(var r=n.length,u=t3(t.length,r),i=eM(n);u--;){var o=t[u];n[u]=ub(o,r)?i[o]:e}return n}(b,a):_&&d>1&&b.reverse(),s&&c<d&&(b.length=c),this&&this!==n4&&this instanceof y&&(k=g||eG(k)),k.apply(A,b)}return y}function eQ(n,t){return function(r,e){var u,i;return u=t(e),i={},rK(r,function(t,r,e){n(i,u(t),r,e)}),i}}function eX(n,t){return function(r,u){var i;if(e===r&&e===u)return t;if(e!==r&&(i=r),e!==u){if(e===i)return u;"string"==typeof r||"string"==typeof u?(r=em(r),u=em(u)):(r=ew(r),u=ew(u)),i=n(r,u)}return i}}function e0(n){return ue(function(t){return t=tv(t,tC(uc())),es(function(r){var e=this;return n(t,function(n){return tf(n,e,r)})})})}function e1(n,t){var r=(t=e===t?" ":em(t)).length;if(r<2)return r?el(t,n):t;var u=el(t,tI(n/tZ(t)));return tM(t)?eC(tK(u),0,n).join(""):u.slice(0,n)}function e2(n){return function(t,r,u){u&&"number"!=typeof u&&uw(t,r,u)&&(r=u=e),t=i6(t),e===r?(r=t,t=0):r=i6(r),u=e===u?t<r?1:-1:i6(u);for(var i=t,o=r,f=u,a=-1,c=t2(tI((o-i)/(f||1)),0),l=nd(c);c--;)l[n?c:++a]=i,i+=f;return l}}function e3(n){return function(t,r){return("string"!=typeof t||"string"!=typeof r)&&(t=i5(t),r=i5(r)),n(t,r)}}function e8(n,t,r,u,i,o,f,a,c,l){var s=8&t,h=s?f:e,p=s?e:f,v=s?o:e,_=s?e:o;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var g=[n,t,i,v,h,_,p,a,c,l],y=r.apply(e,g);return ux(n)&&uz(y,g),y.placeholder=u,uC(y,n,t)}function e4(n){var t=nx[n];return function(n,r){if(n=i5(n),(r=null==r?0:t3(i9(r),292))&&tX(n)){var e=(ot(n)+"e").split("e");return+((e=(ot(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(e[1]-r))}return t(n)}}var e6=rt&&1/tq(new rt([,-0]))[1]==f?function(n){return new rt(n)}:oZ;function e9(n){return function(t){var r,e,u=u_(t);return u==y?tF(t):u==x?(r=-1,e=Array(t.size),t.forEach(function(n){e[++r]=[n,n]}),e):tv(n(t),function(n){return[n,t[n]]})}}function e7(n,t,r,i,f,a,c,l){var s=2&t;if(!s&&"function"!=typeof n)throw new nO(u);var h=i?i.length:0;if(h||(t&=-97,i=f=e),c=e===c?c:t2(i9(c),0),l=e===l?l:i9(l),h-=f?f.length:0,64&t){var p=i,v=f;i=f=e}var _=s?e:uo(n),g=[n,t,r,i,f,p,v,a,c,l];if(_&&function(n,t){var r=n[1],e=t[1],u=r|e,i=u<131,f=128==e&&8==r||128==e&&256==r&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(i||f){1&e&&(n[2]=t[2],u|=1&r?0:4);var a=t[3];if(a){var c=n[3];n[3]=c?e$(c,a,t[4]):a,n[4]=c?tP(n[3],o):t[4]}(a=t[5])&&(c=n[5],n[5]=c?eD(c,a,t[6]):a,n[6]=c?tP(n[5],o):t[6]),(a=t[7])&&(n[7]=a),128&e&&(n[8]=null==n[8]?t[8]:t3(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}}(g,_),n=g[0],t=g[1],r=g[2],i=g[3],f=g[4],(l=g[9]=g[9]===e?s?0:n.length:t2(g[9]-h,0))||!(24&t)||(t&=-25),t&&1!=t)8==t||16==t?R=function(n,t,r){var u=eG(n);function i(){for(var o=arguments.length,f=nd(o),a=o,c=ua(i);a--;)f[a]=arguments[a];var l=o<3&&f[0]!==c&&f[o-1]!==c?[]:tP(f,c);return(o-=l.length)<r?e8(n,t,eY,i.placeholder,e,f,l,e,e,r-o):tf(this&&this!==n4&&this instanceof i?u:n,this,f)}return i}(n,t,l):32!=t&&33!=t||f.length?R=eY.apply(e,g):(y=n,d=t,b=r,w=i,m=1&d,x=eG(y),R=function n(){for(var t=-1,r=arguments.length,e=-1,u=w.length,i=nd(u+r),o=this&&this!==n4&&this instanceof n?x:y;++e<u;)i[e]=w[e];for(;r--;)i[e++]=arguments[++t];return tf(o,m?b:this,i)});else var y,d,b,w,m,x,j,A,k,O,I,R=(j=n,A=t,k=r,O=1&A,I=eG(j),function n(){return(this&&this!==n4&&this instanceof n?I:j).apply(O?k:this,arguments)});return uC((_?ep:uz)(R,g),n,t)}function e5(n,t,r,u){return e===n||iW(n,nz[r])&&!nC.call(u,r)?t:n}function un(n,t,r,u,i,o){return iV(n)&&iV(t)&&(o.set(t,n),ee(n,t,e,un,o),o.delete(t)),n}function ut(n){return iY(n)?e:n}function ur(n,t,r,u,i,o){var f=1&r,a=n.length,c=t.length;if(a!=c&&!(f&&c>a))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new rx:e;for(o.set(n,t),o.set(t,n);++h<a;){var _=n[h],g=t[h];if(u)var y=f?u(g,_,h,t,n,o):u(_,g,h,n,t,o);if(e!==y){if(y)continue;p=!1;break}if(v){if(!td(t,function(n,t){if(!tL(v,t)&&(_===n||i(_,n,r,u,o)))return v.push(t)})){p=!1;break}}else if(!(_===g||i(_,g,r,u,o))){p=!1;break}}return o.delete(n),o.delete(t),p}function ue(n){return uS(uO(n,e,uq),n+"")}function uu(n){return rJ(n,ov,up)}function ui(n){return rJ(n,o_,uv)}var uo=ru?function(n){return ru.get(n)}:oZ;function uf(n){for(var t=n.name+"",r=ri[t],e=nC.call(ri,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function ua(n){return(nC.call(rv,"placeholder")?rv:n).placeholder}function uc(){var n=rv.iteratee||oF;return n=n===oF?r9:n,arguments.length?n(arguments[0],arguments[1]):n}function ul(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function us(n){for(var t=ov(n),r=t.length;r--;){var e,u=t[r],i=n[u];t[r]=[u,i,(e=i)==e&&!iV(e)]}return t}function uh(n,t){var r=null==n?e:n[t];return r6(r)?r:e}var up=tY?function(n){return null==n?[]:ts(tY(n=nj(n)),function(t){return nG.call(n,t)})}:oQ,uv=tY?function(n){for(var t=[];n;)t_(t,up(n)),n=nP(n);return t}:oQ,u_=rY;function ug(n,t,r){t=eS(t,n);for(var e=-1,u=t.length,i=!1;++e<u;){var o=uB(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&iK(u)&&ub(o,u)&&(iT(n)||iB(n))}function uy(n){return"function"!=typeof n.constructor||uA(n)?{}:r_(nP(n))}function ud(n){return iT(n)||iB(n)||!!(n3&&n&&n[n3])}function ub(n,t){var r=typeof n;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==r||"symbol"!=r&&nh.test(n))&&n>-1&&n%1==0&&n<t}function uw(n,t,r){if(!iV(r))return!1;var e=typeof t;return("number"==e?!!(iD(r)&&ub(t,r.length)):"string"==e&&t in r)&&iW(r[t],n)}function um(n,t){if(iT(n))return!1;var r=typeof n;return!!("number"==r||"symbol"==r||"boolean"==r||null==n||i1(n))||G.test(n)||!V.test(n)||null!=t&&n in nj(t)}function ux(n){var t=uf(n),r=rv[t];if("function"!=typeof r||!(t in rd.prototype))return!1;if(n===r)return!0;var e=uo(r);return!!e&&n===e[0]}(t7&&u_(new t7(new ArrayBuffer(1)))!=I||t5&&u_(new t5)!=y||rn&&u_(rn.resolve())!=w||rt&&u_(new rt)!=x||rr&&u_(new rr)!=k)&&(u_=function(n){var t=rY(n),r=t==b?n.constructor:e,u=r?uT(r):"";if(u)switch(u){case ro:return I;case rf:return y;case ra:return w;case rc:return x;case rl:return k}return t});var uj=nE?iq:oX;function uA(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||nz)}function uk(n,t){return function(r){return null!=r&&r[n]===t&&(e!==t||n in nj(r))}}function uO(n,t,r){return t=t2(e===t?n.length-1:t,0),function(){for(var e=arguments,u=-1,i=t2(e.length-t,0),o=nd(i);++u<i;)o[u]=e[t+u];u=-1;for(var f=nd(t+1);++u<t;)f[u]=e[u];return f[t]=r(o),tf(n,this,f)}}function uI(n,t){return t.length<2?n:rH(n,e_(t,0,-1))}function uR(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var uz=uW(ep),uE=tb||function(n,t){return n4.setTimeout(n,t)},uS=uW(ev);function uC(n,t,r){var e,u,i,o=t+"";return uS(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(nn,"{\n/* [wrapped with "+t+"] */\n")}(o,(e=(i=o.match(nt))?i[1].split(nr):[],u=r,tc(c,function(n){var t="_."+n[0];u&n[1]&&!th(e,t)&&e.push(t)}),e.sort())))}function uW(n){var t=0,r=0;return function(){var u=t8(),i=16-(u-r);if(r=u,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(e,arguments)}}function uL(n,t){var r=-1,u=n.length,i=u-1;for(t=e===t?u:t;++r<t;){var o=ec(r,i),f=n[o];n[o]=n[r],n[r]=f}return n.length=t,n}var uU=(ng=(X=iI(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(H,function(n,r,e,u){t.push(e?u.replace(ni,"$1"):r||n)}),t},function(n){return 500===ng.size&&ng.clear(),n})).cache,X);function uB(n){if("string"==typeof n||i1(n))return n;var t=n+"";return"0"==t&&1/n==-f?"-0":t}function uT(n){if(null!=n){try{return nS.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function u$(n){if(n instanceof rd)return n.clone();var t=new ry(n.__wrapped__,n.__chain__);return t.__actions__=eM(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var uD=es(function(n,t){return iM(n)?rT(n,rP(t,1,iM,!0)):[]}),uM=es(function(n,t){var r=uH(t);return iM(r)&&(r=e),iM(n)?rT(n,rP(t,1,iM,!0),uc(r,2)):[]}),uF=es(function(n,t){var r=uH(t);return iM(r)&&(r=e),iM(n)?rT(n,rP(t,1,iM,!0),e,r):[]});function uN(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:i9(r);return u<0&&(u=t2(e+u,0)),tm(n,uc(t,3),u)}function uP(n,t,r){var u=null==n?0:n.length;if(!u)return -1;var i=u-1;return e!==r&&(i=i9(r),i=r<0?t2(u+i,0):t3(i,u-1)),tm(n,uc(t,3),i,!0)}function uq(n){return(null==n?0:n.length)?rP(n,1):[]}function uZ(n){return n&&n.length?n[0]:e}var uK=es(function(n){var t=tv(n,ez);return t.length&&t[0]===n[0]?r1(t):[]}),uV=es(function(n){var t=uH(n),r=tv(n,ez);return t===uH(r)?t=e:r.pop(),r.length&&r[0]===n[0]?r1(r,uc(t,2)):[]}),uG=es(function(n){var t=uH(n),r=tv(n,ez);return(t="function"==typeof t?t:e)&&r.pop(),r.length&&r[0]===n[0]?r1(r,e,t):[]});function uH(n){var t=null==n?0:n.length;return t?n[t-1]:e}var uJ=es(uY);function uY(n,t){return n&&n.length&&t&&t.length?ef(n,t):n}var uQ=ue(function(n,t){var r=null==n?0:n.length,e=rC(n,t);return ea(n,tv(t,function(n){return ub(n,r)?+n:n}).sort(eT)),e});function uX(n){return null==n?n:t9.call(n)}var u0=es(function(n){return ex(rP(n,1,iM,!0))}),u1=es(function(n){var t=uH(n);return iM(t)&&(t=e),ex(rP(n,1,iM,!0),uc(t,2))}),u2=es(function(n){var t=uH(n);return t="function"==typeof t?t:e,ex(rP(n,1,iM,!0),e,t)});function u3(n){if(!(n&&n.length))return[];var t=0;return n=ts(n,function(n){if(iM(n))return t=t2(n.length,t),!0}),tE(t,function(t){return tv(n,tO(t))})}function u8(n,t){if(!(n&&n.length))return[];var r=u3(n);return null==t?r:tv(r,function(n){return tf(t,e,n)})}var u4=es(function(n,t){return iM(n)?rT(n,t):[]}),u6=es(function(n){return eI(ts(n,iM))}),u9=es(function(n){var t=uH(n);return iM(t)&&(t=e),eI(ts(n,iM),uc(t,2))}),u7=es(function(n){var t=uH(n);return t="function"==typeof t?t:e,eI(ts(n,iM),e,t)}),u5=es(u3),it=es(function(n){var t=n.length,r=t>1?n[t-1]:e;return r="function"==typeof r?(n.pop(),r):e,u8(n,r)});function ir(n){var t=rv(n);return t.__chain__=!0,t}function ie(n,t){return t(n)}var iu=ue(function(n){var t=n.length,r=t?n[0]:0,u=this.__wrapped__,i=function(t){return rC(t,n)};return!(t>1)&&!this.__actions__.length&&u instanceof rd&&ub(r)?((u=u.slice(r,+r+ +!!t)).__actions__.push({func:ie,args:[i],thisArg:e}),new ry(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(e),n})):this.thru(i)}),ii=eN(function(n,t,r){nC.call(n,r)?++n[r]:rS(n,r,1)}),io=eH(uN),ia=eH(uP);function ic(n,t){return(iT(n)?tc:r$)(n,uc(t,3))}function il(n,t){return(iT(n)?function(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}:rD)(n,uc(t,3))}var is=eN(function(n,t,r){nC.call(n,r)?n[r].push(t):rS(n,r,[t])}),ih=es(function(n,t,r){var e=-1,u="function"==typeof t,i=iD(n)?nd(n.length):[];return r$(n,function(n){i[++e]=u?tf(t,n,r):r2(n,t,r)}),i}),ip=eN(function(n,t,r){rS(n,r,t)});function iv(n,t){return(iT(n)?tv:en)(n,uc(t,3))}var i_=eN(function(n,t,r){n[+!r].push(t)},function(){return[[],[]]}),ig=es(function(n,t){if(null==n)return[];var r=t.length;return r>1&&uw(n,t[0],t[1])?t=[]:r>2&&uw(t[0],t[1],t[2])&&(t=[t[0]]),ei(n,rP(t,1),[])}),iy=tn||function(){return n4.Date.now()};function id(n,t,r){return t=r?e:t,t=n&&null==t?n.length:t,e7(n,128,e,e,e,e,t)}function ib(n,t){var r;if("function"!=typeof t)throw new nO(u);return n=i9(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=e),r}}var iw=es(function(n,t,r){var e=1;if(r.length){var u=tP(r,ua(iw));e|=32}return e7(n,e,t,r,u)}),im=es(function(n,t,r){var e=3;if(r.length){var u=tP(r,ua(im));e|=32}return e7(t,e,n,r,u)});function ix(n,t,r){t=r?e:t;var u=e7(n,8,e,e,e,e,e,t);return u.placeholder=ix.placeholder,u}function ij(n,t,r){t=r?e:t;var u=e7(n,16,e,e,e,e,e,t);return u.placeholder=ij.placeholder,u}function iA(n,t,r){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new nO(u);function _(t){var r=i,u=o;return i=o=e,s=t,a=n.apply(u,r)}function g(n){var r=n-l,u=n-s;return e===l||r>=t||r<0||p&&u>=f}function y(){var n,r,e,u=iy();if(g(u))return d(u);c=uE(y,(n=u-l,r=u-s,e=t-n,p?t3(e,f-r):e))}function d(n){return(c=e,v&&i)?_(n):(i=o=e,a)}function b(){var n,r=iy(),u=g(r);if(i=arguments,o=this,l=r,u){if(e===c)return s=n=l,c=uE(y,t),h?_(n):a;if(p)return eW(c),c=uE(y,t),_(l)}return e===c&&(c=uE(y,t)),a}return t=i5(t)||0,iV(r)&&(h=!!r.leading,f=(p="maxWait"in r)?t2(i5(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),b.cancel=function(){e!==c&&eW(c),s=0,i=l=o=c=e},b.flush=function(){return e===c?a:d(iy())},b}var ik=es(function(n,t){return rB(n,1,t)}),iO=es(function(n,t,r){return rB(n,i5(t)||0,r)});function iI(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new nO(u);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(iI.Cache||rm),r}function iR(n){if("function"!=typeof n)throw new nO(u);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}iI.Cache=rm;var iz=es(function(n,t){var r=(t=1==t.length&&iT(t[0])?tv(t[0],tC(uc())):tv(rP(t,1),tC(uc()))).length;return es(function(e){for(var u=-1,i=t3(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return tf(n,this,e)})}),iE=es(function(n,t){var r=tP(t,ua(iE));return e7(n,32,e,t,r)}),iS=es(function(n,t){var r=tP(t,ua(iS));return e7(n,64,e,t,r)}),iC=ue(function(n,t){return e7(n,256,e,e,e,t)});function iW(n,t){return n===t||n!=n&&t!=t}var iL=e3(rQ),iU=e3(function(n,t){return n>=t}),iB=r3(function(){return arguments}())?r3:function(n){return iG(n)&&nC.call(n,"callee")&&!nG.call(n,"callee")},iT=nd.isArray,i$=tt?tC(tt):function(n){return iG(n)&&rY(n)==O};function iD(n){return null!=n&&iK(n.length)&&!iq(n)}function iM(n){return iG(n)&&iD(n)}var iF=tQ||oX,iN=tr?tC(tr):function(n){return iG(n)&&rY(n)==p};function iP(n){if(!iG(n))return!1;var t=rY(n);return t==v||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!iY(n)}function iq(n){if(!iV(n))return!1;var t=rY(n);return t==_||t==g||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iZ(n){return"number"==typeof n&&n==i9(n)}function iK(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=0x1fffffffffffff}function iV(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function iG(n){return null!=n&&"object"==typeof n}var iH=te?tC(te):function(n){return iG(n)&&u_(n)==y};function iJ(n){return"number"==typeof n||iG(n)&&rY(n)==d}function iY(n){if(!iG(n)||rY(n)!=b)return!1;var t=nP(n);if(null===t)return!0;var r=nC.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&nS.call(r)==nB}var iQ=tu?tC(tu):function(n){return iG(n)&&rY(n)==m},iX=ti?tC(ti):function(n){return iG(n)&&u_(n)==x};function i0(n){return"string"==typeof n||!iT(n)&&iG(n)&&rY(n)==j}function i1(n){return"symbol"==typeof n||iG(n)&&rY(n)==A}var i2=to?tC(to):function(n){return iG(n)&&iK(n.length)&&!!nQ[rY(n)]},i3=e3(r5),i8=e3(function(n,t){return n<=t});function i4(n){if(!n)return[];if(iD(n))return i0(n)?tK(n):eM(n);if(n8&&n[n8]){for(var t,r=n[n8](),e=[];!(t=r.next()).done;)e.push(t.value);return e}var u=u_(n);return(u==y?tF:u==x?tq:oj)(n)}function i6(n){return n?(n=i5(n))===f||n===-f?(n<0?-1:1)*17976931348623157e292:n==n?n:0:0===n?n:0}function i9(n){var t=i6(n),r=t%1;return t==t?r?t-r:t:0}function i7(n){return n?rW(i9(n),0,0xffffffff):0}function i5(n){if("number"==typeof n)return n;if(i1(n))return a;if(iV(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=iV(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=tS(n);var r=nc.test(n);return r||ns.test(n)?n2(n.slice(2),r?2:8):na.test(n)?a:+n}function on(n){return eF(n,o_(n))}function ot(n){return null==n?"":em(n)}var or=eP(function(n,t){if(uA(t)||iD(t))return void eF(t,ov(t),n);for(var r in t)nC.call(t,r)&&rI(n,r,t[r])}),oe=eP(function(n,t){eF(t,o_(t),n)}),ou=eP(function(n,t,r,e){eF(t,o_(t),n,e)}),oi=eP(function(n,t,r,e){eF(t,ov(t),n,e)}),oo=ue(rC),of=es(function(n,t){n=nj(n);var r=-1,u=t.length,i=u>2?t[2]:e;for(i&&uw(t[0],t[1],i)&&(u=1);++r<u;)for(var o=t[r],f=o_(o),a=-1,c=f.length;++a<c;){var l=f[a],s=n[l];(e===s||iW(s,nz[l])&&!nC.call(n,l))&&(n[l]=o[l])}return n}),oa=es(function(n){return n.push(e,un),tf(oy,e,n)});function oc(n,t,r){var u=null==n?e:rH(n,t);return e===u?r:u}function ol(n,t){return null!=n&&ug(n,t,r0)}var os=eQ(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=nU.call(t)),n[t]=r},oT(oM)),oh=eQ(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=nU.call(t)),nC.call(n,t)?n[t].push(r):n[t]=[r]},uc),op=es(r2);function ov(n){return iD(n)?rA(n):r7(n)}function o_(n){return iD(n)?rA(n,!0):function(n){if(!iV(n)){var t=n,r=[];if(null!=t)for(var e in nj(t))r.push(e);return r}var u=uA(n),i=[];for(var o in n)"constructor"==o&&(u||!nC.call(n,o))||i.push(o);return i}(n)}var og=eP(function(n,t,r){ee(n,t,r)}),oy=eP(function(n,t,r,e){ee(n,t,r,e)}),od=ue(function(n,t){var r={};if(null==n)return r;var e=!1;t=tv(t,function(t){return t=eS(t,n),e||(e=t.length>1),t}),eF(n,ui(n),r),e&&(r=rL(r,7,ut));for(var u=t.length;u--;)ej(r,t[u]);return r}),ob=ue(function(n,t){return null==n?{}:eo(n,t,function(t,r){return ol(n,r)})});function ow(n,t){if(null==n)return{};var r=tv(ui(n),function(n){return[n]});return t=uc(t),eo(n,r,function(n,r){return t(n,r[0])})}var om=e9(ov),ox=e9(o_);function oj(n){return null==n?[]:tW(n,ov(n))}var oA=eV(function(n,t,r){return t=t.toLowerCase(),n+(r?ok(t):t)});function ok(n){return oW(ot(n).toLowerCase())}function oO(n){return(n=ot(n))&&n.replace(np,tT).replace(nZ,"")}var oI=eV(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),oR=eV(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),oz=eK("toLowerCase"),oE=eV(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),oS=eV(function(n,t,r){return n+(r?" ":"")+oW(t)}),oC=eV(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),oW=eK("toUpperCase");function oL(n,t,r){if(n=ot(n),t=r?e:t,e===t){var u;return(u=n,nH.test(u))?n.match(nV)||[]:n.match(ne)||[]}return n.match(t)||[]}var oU=es(function(n,t){try{return tf(n,e,t)}catch(n){return iP(n)?n:new nw(n)}}),oB=ue(function(n,t){return tc(t,function(t){rS(n,t=uB(t),iw(n[t],n))}),n});function oT(n){return function(){return n}}var o$=eJ(),oD=eJ(!0);function oM(n){return n}function oF(n){return r9("function"==typeof n?n:rL(n,1))}var oN=es(function(n,t){return function(r){return r2(r,n,t)}}),oP=es(function(n,t){return function(r){return r2(n,r,t)}});function oq(n,t,r){var e=ov(t),u=rG(t,e);null!=r||iV(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=rG(t,ov(t)));var i=!(iV(r)&&"chain"in r)||!!r.chain,o=iq(n);return tc(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=eM(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,t_([this.value()],arguments))})}),n}function oZ(){}var oK=e0(tv),oV=e0(tl),oG=e0(td);function oH(n){return um(n)?tO(uB(n)):function(t){return rH(t,n)}}var oJ=e2(),oY=e2(!0);function oQ(){return[]}function oX(){return!1}var o0=eX(function(n,t){return n+t},0),o1=e4("ceil"),o2=eX(function(n,t){return n/t},1),o3=e4("floor"),o8=eX(function(n,t){return n*t},1),o4=e4("round"),o6=eX(function(n,t){return n-t},0);return rv.after=function(n,t){if("function"!=typeof t)throw new nO(u);return n=i9(n),function(){if(--n<1)return t.apply(this,arguments)}},rv.ary=id,rv.assign=or,rv.assignIn=oe,rv.assignInWith=ou,rv.assignWith=oi,rv.at=oo,rv.before=ib,rv.bind=iw,rv.bindAll=oB,rv.bindKey=im,rv.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return iT(n)?n:[n]},rv.chain=ir,rv.chunk=function(n,t,r){t=(r?uw(n,t,r):e===t)?1:t2(i9(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=nd(tI(u/t));i<u;)f[o++]=e_(n,i,i+=t);return f},rv.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},rv.concat=function(){var n=arguments.length;if(!n)return[];for(var t=nd(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return t_(iT(r)?eM(r):[r],rP(t,1))},rv.cond=function(n){var t=null==n?0:n.length,r=uc();return n=t?tv(n,function(n){if("function"!=typeof n[1])throw new nO(u);return[r(n[0]),n[1]]}):[],es(function(r){for(var e=-1;++e<t;){var u=n[e];if(tf(u[0],this,r))return tf(u[1],this,r)}})},rv.conforms=function(n){var t,r;return r=ov(t=rL(n,1)),function(n){return rU(n,t,r)}},rv.constant=oT,rv.countBy=ii,rv.create=function(n,t){var r=r_(n);return null==t?r:rE(r,t)},rv.curry=ix,rv.curryRight=ij,rv.debounce=iA,rv.defaults=of,rv.defaultsDeep=oa,rv.defer=ik,rv.delay=iO,rv.difference=uD,rv.differenceBy=uM,rv.differenceWith=uF,rv.drop=function(n,t,r){var u=null==n?0:n.length;return u?e_(n,(t=r||e===t?1:i9(t))<0?0:t,u):[]},rv.dropRight=function(n,t,r){var u=null==n?0:n.length;return u?e_(n,0,(t=u-(t=r||e===t?1:i9(t)))<0?0:t):[]},rv.dropRightWhile=function(n,t){return n&&n.length?ek(n,uc(t,3),!0,!0):[]},rv.dropWhile=function(n,t){return n&&n.length?ek(n,uc(t,3),!0):[]},rv.fill=function(n,t,r,u){var i=null==n?0:n.length;if(!i)return[];r&&"number"!=typeof r&&uw(n,t,r)&&(r=0,u=i);var o=r,f=u,a=n.length;for((o=i9(o))<0&&(o=-o>a?0:a+o),(f=e===f||f>a?a:i9(f))<0&&(f+=a),f=o>f?0:i7(f);o<f;)n[o++]=t;return n},rv.filter=function(n,t){return(iT(n)?ts:rN)(n,uc(t,3))},rv.flatMap=function(n,t){return rP(iv(n,t),1)},rv.flatMapDeep=function(n,t){return rP(iv(n,t),f)},rv.flatMapDepth=function(n,t,r){return r=e===r?1:i9(r),rP(iv(n,t),r)},rv.flatten=uq,rv.flattenDeep=function(n){return(null==n?0:n.length)?rP(n,f):[]},rv.flattenDepth=function(n,t){return(null==n?0:n.length)?rP(n,t=e===t?1:i9(t)):[]},rv.flip=function(n){return e7(n,512)},rv.flow=o$,rv.flowRight=oD,rv.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},rv.functions=function(n){return null==n?[]:rG(n,ov(n))},rv.functionsIn=function(n){return null==n?[]:rG(n,o_(n))},rv.groupBy=is,rv.initial=function(n){return(null==n?0:n.length)?e_(n,0,-1):[]},rv.intersection=uK,rv.intersectionBy=uV,rv.intersectionWith=uG,rv.invert=os,rv.invertBy=oh,rv.invokeMap=ih,rv.iteratee=oF,rv.keyBy=ip,rv.keys=ov,rv.keysIn=o_,rv.map=iv,rv.mapKeys=function(n,t){var r={};return t=uc(t,3),rK(n,function(n,e,u){rS(r,t(n,e,u),n)}),r},rv.mapValues=function(n,t){var r={};return t=uc(t,3),rK(n,function(n,e,u){rS(r,e,t(n,e,u))}),r},rv.matches=function(n){return et(rL(n,1))},rv.matchesProperty=function(n,t){return er(n,rL(t,1))},rv.memoize=iI,rv.merge=og,rv.mergeWith=oy,rv.method=oN,rv.methodOf=oP,rv.mixin=oq,rv.negate=iR,rv.nthArg=function(n){return n=i9(n),es(function(t){return eu(t,n)})},rv.omit=od,rv.omitBy=function(n,t){return ow(n,iR(uc(t)))},rv.once=function(n){return ib(2,n)},rv.orderBy=function(n,t,r,u){return null==n?[]:(iT(t)||(t=null==t?[]:[t]),iT(r=u?e:r)||(r=null==r?[]:[r]),ei(n,t,r))},rv.over=oK,rv.overArgs=iz,rv.overEvery=oV,rv.overSome=oG,rv.partial=iE,rv.partialRight=iS,rv.partition=i_,rv.pick=ob,rv.pickBy=ow,rv.property=oH,rv.propertyOf=function(n){return function(t){return null==n?e:rH(n,t)}},rv.pull=uJ,rv.pullAll=uY,rv.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?ef(n,t,uc(r,2)):n},rv.pullAllWith=function(n,t,r){return n&&n.length&&t&&t.length?ef(n,t,e,r):n},rv.pullAt=uQ,rv.range=oJ,rv.rangeRight=oY,rv.rearg=iC,rv.reject=function(n,t){return(iT(n)?ts:rN)(n,iR(uc(t,3)))},rv.remove=function(n,t){var r=[];if(!(n&&n.length))return r;var e=-1,u=[],i=n.length;for(t=uc(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return ea(n,u),r},rv.rest=function(n,t){if("function"!=typeof n)throw new nO(u);return es(n,t=e===t?t:i9(t))},rv.reverse=uX,rv.sampleSize=function(n,t,r){return t=(r?uw(n,t,r):e===t)?1:i9(t),(iT(n)?function(n,t){return uL(eM(n),rW(t,0,n.length))}:function(n,t){var r=oj(n);return uL(r,rW(t,0,r.length))})(n,t)},rv.set=function(n,t,r){return null==n?n:eh(n,t,r)},rv.setWith=function(n,t,r,u){return u="function"==typeof u?u:e,null==n?n:eh(n,t,r,u)},rv.shuffle=function(n){return(iT(n)?function(n){return uL(eM(n))}:function(n){return uL(oj(n))})(n)},rv.slice=function(n,t,r){var u=null==n?0:n.length;return u?(r&&"number"!=typeof r&&uw(n,t,r)?(t=0,r=u):(t=null==t?0:i9(t),r=e===r?u:i9(r)),e_(n,t,r)):[]},rv.sortBy=ig,rv.sortedUniq=function(n){return n&&n.length?eb(n):[]},rv.sortedUniqBy=function(n,t){return n&&n.length?eb(n,uc(t,2)):[]},rv.split=function(n,t,r){return(r&&"number"!=typeof r&&uw(n,t,r)&&(t=r=e),r=e===r?0xffffffff:r>>>0)?(n=ot(n))&&("string"==typeof t||null!=t&&!iQ(t))&&!(t=em(t))&&tM(n)?eC(tK(n),0,r):n.split(t,r):[]},rv.spread=function(n,t){if("function"!=typeof n)throw new nO(u);return t=null==t?0:t2(i9(t),0),es(function(r){var e=r[t],u=eC(r,0,t);return e&&t_(u,e),tf(n,this,u)})},rv.tail=function(n){var t=null==n?0:n.length;return t?e_(n,1,t):[]},rv.take=function(n,t,r){return n&&n.length?e_(n,0,(t=r||e===t?1:i9(t))<0?0:t):[]},rv.takeRight=function(n,t,r){var u=null==n?0:n.length;return u?e_(n,(t=u-(t=r||e===t?1:i9(t)))<0?0:t,u):[]},rv.takeRightWhile=function(n,t){return n&&n.length?ek(n,uc(t,3),!1,!0):[]},rv.takeWhile=function(n,t){return n&&n.length?ek(n,uc(t,3)):[]},rv.tap=function(n,t){return t(n),n},rv.throttle=function(n,t,r){var e=!0,i=!0;if("function"!=typeof n)throw new nO(u);return iV(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),iA(n,t,{leading:e,maxWait:t,trailing:i})},rv.thru=ie,rv.toArray=i4,rv.toPairs=om,rv.toPairsIn=ox,rv.toPath=function(n){return iT(n)?tv(n,uB):i1(n)?[n]:eM(uU(ot(n)))},rv.toPlainObject=on,rv.transform=function(n,t,r){var e=iT(n),u=e||iF(n)||i2(n);if(t=uc(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:iV(n)&&iq(i)?r_(nP(n)):{}}return(u?tc:rK)(n,function(n,e,u){return t(r,n,e,u)}),r},rv.unary=function(n){return id(n,1)},rv.union=u0,rv.unionBy=u1,rv.unionWith=u2,rv.uniq=function(n){return n&&n.length?ex(n):[]},rv.uniqBy=function(n,t){return n&&n.length?ex(n,uc(t,2)):[]},rv.uniqWith=function(n,t){return t="function"==typeof t?t:e,n&&n.length?ex(n,e,t):[]},rv.unset=function(n,t){return null==n||ej(n,t)},rv.unzip=u3,rv.unzipWith=u8,rv.update=function(n,t,r){return null==n?n:eA(n,t,eE(r))},rv.updateWith=function(n,t,r,u){return u="function"==typeof u?u:e,null==n?n:eA(n,t,eE(r),u)},rv.values=oj,rv.valuesIn=function(n){return null==n?[]:tW(n,o_(n))},rv.without=u4,rv.words=oL,rv.wrap=function(n,t){return iE(eE(t),n)},rv.xor=u6,rv.xorBy=u9,rv.xorWith=u7,rv.zip=u5,rv.zipObject=function(n,t){return eR(n||[],t||[],rI)},rv.zipObjectDeep=function(n,t){return eR(n||[],t||[],eh)},rv.zipWith=it,rv.entries=om,rv.entriesIn=ox,rv.extend=oe,rv.extendWith=ou,oq(rv,rv),rv.add=o0,rv.attempt=oU,rv.camelCase=oA,rv.capitalize=ok,rv.ceil=o1,rv.clamp=function(n,t,r){return e===r&&(r=t,t=e),e!==r&&(r=(r=i5(r))==r?r:0),e!==t&&(t=(t=i5(t))==t?t:0),rW(i5(n),t,r)},rv.clone=function(n){return rL(n,4)},rv.cloneDeep=function(n){return rL(n,5)},rv.cloneDeepWith=function(n,t){return rL(n,5,t="function"==typeof t?t:e)},rv.cloneWith=function(n,t){return rL(n,4,t="function"==typeof t?t:e)},rv.conformsTo=function(n,t){return null==t||rU(n,t,ov(t))},rv.deburr=oO,rv.defaultTo=function(n,t){return null==n||n!=n?t:n},rv.divide=o2,rv.endsWith=function(n,t,r){n=ot(n),t=em(t);var u=n.length,i=r=e===r?u:rW(i9(r),0,u);return(r-=t.length)>=0&&n.slice(r,i)==t},rv.eq=iW,rv.escape=function(n){return(n=ot(n))&&P.test(n)?n.replace(F,t$):n},rv.escapeRegExp=function(n){return(n=ot(n))&&Y.test(n)?n.replace(J,"\\$&"):n},rv.every=function(n,t,r){var u=iT(n)?tl:rM;return r&&uw(n,t,r)&&(t=e),u(n,uc(t,3))},rv.find=io,rv.findIndex=uN,rv.findKey=function(n,t){return tw(n,uc(t,3),rK)},rv.findLast=ia,rv.findLastIndex=uP,rv.findLastKey=function(n,t){return tw(n,uc(t,3),rV)},rv.floor=o3,rv.forEach=ic,rv.forEachRight=il,rv.forIn=function(n,t){return null==n?n:rq(n,uc(t,3),o_)},rv.forInRight=function(n,t){return null==n?n:rZ(n,uc(t,3),o_)},rv.forOwn=function(n,t){return n&&rK(n,uc(t,3))},rv.forOwnRight=function(n,t){return n&&rV(n,uc(t,3))},rv.get=oc,rv.gt=iL,rv.gte=iU,rv.has=function(n,t){return null!=n&&ug(n,t,rX)},rv.hasIn=ol,rv.head=uZ,rv.identity=oM,rv.includes=function(n,t,r,e){n=iD(n)?n:oj(n),r=r&&!e?i9(r):0;var u=n.length;return r<0&&(r=t2(u+r,0)),i0(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&tx(n,t,r)>-1},rv.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:i9(r);return u<0&&(u=t2(e+u,0)),tx(n,t,u)},rv.inRange=function(n,t,r){var u,i,o;return t=i6(t),e===r?(r=t,t=0):r=i6(r),(u=n=i5(n))>=t3(i=t,o=r)&&u<t2(i,o)},rv.invoke=op,rv.isArguments=iB,rv.isArray=iT,rv.isArrayBuffer=i$,rv.isArrayLike=iD,rv.isArrayLikeObject=iM,rv.isBoolean=function(n){return!0===n||!1===n||iG(n)&&rY(n)==h},rv.isBuffer=iF,rv.isDate=iN,rv.isElement=function(n){return iG(n)&&1===n.nodeType&&!iY(n)},rv.isEmpty=function(n){if(null==n)return!0;if(iD(n)&&(iT(n)||"string"==typeof n||"function"==typeof n.splice||iF(n)||i2(n)||iB(n)))return!n.length;var t=u_(n);if(t==y||t==x)return!n.size;if(uA(n))return!r7(n).length;for(var r in n)if(nC.call(n,r))return!1;return!0},rv.isEqual=function(n,t){return r8(n,t)},rv.isEqualWith=function(n,t,r){var u=(r="function"==typeof r?r:e)?r(n,t):e;return e===u?r8(n,t,e,r):!!u},rv.isError=iP,rv.isFinite=function(n){return"number"==typeof n&&tX(n)},rv.isFunction=iq,rv.isInteger=iZ,rv.isLength=iK,rv.isMap=iH,rv.isMatch=function(n,t){return n===t||r4(n,t,us(t))},rv.isMatchWith=function(n,t,r){return r="function"==typeof r?r:e,r4(n,t,us(t),r)},rv.isNaN=function(n){return iJ(n)&&n!=+n},rv.isNative=function(n){if(uj(n))throw new nw("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return r6(n)},rv.isNil=function(n){return null==n},rv.isNull=function(n){return null===n},rv.isNumber=iJ,rv.isObject=iV,rv.isObjectLike=iG,rv.isPlainObject=iY,rv.isRegExp=iQ,rv.isSafeInteger=function(n){return iZ(n)&&n>=-0x1fffffffffffff&&n<=0x1fffffffffffff},rv.isSet=iX,rv.isString=i0,rv.isSymbol=i1,rv.isTypedArray=i2,rv.isUndefined=function(n){return e===n},rv.isWeakMap=function(n){return iG(n)&&u_(n)==k},rv.isWeakSet=function(n){return iG(n)&&"[object WeakSet]"==rY(n)},rv.join=function(n,t){return null==n?"":t0.call(n,t)},rv.kebabCase=oI,rv.last=uH,rv.lastIndexOf=function(n,t,r){var u=null==n?0:n.length;if(!u)return -1;var i=u;return e!==r&&(i=(i=i9(r))<0?t2(u+i,0):t3(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--&&n[e]!==t;);return e}(n,t,i):tm(n,tA,i,!0)},rv.lowerCase=oR,rv.lowerFirst=oz,rv.lt=i3,rv.lte=i8,rv.max=function(n){return n&&n.length?rF(n,oM,rQ):e},rv.maxBy=function(n,t){return n&&n.length?rF(n,uc(t,2),rQ):e},rv.mean=function(n){return tk(n,oM)},rv.meanBy=function(n,t){return tk(n,uc(t,2))},rv.min=function(n){return n&&n.length?rF(n,oM,r5):e},rv.minBy=function(n,t){return n&&n.length?rF(n,uc(t,2),r5):e},rv.stubArray=oQ,rv.stubFalse=oX,rv.stubObject=function(){return{}},rv.stubString=function(){return""},rv.stubTrue=function(){return!0},rv.multiply=o8,rv.nth=function(n,t){return n&&n.length?eu(n,i9(t)):e},rv.noConflict=function(){return n4._===this&&(n4._=nT),this},rv.noop=oZ,rv.now=iy,rv.pad=function(n,t,r){n=ot(n);var e=(t=i9(t))?tZ(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return e1(tJ(u),r)+n+e1(tI(u),r)},rv.padEnd=function(n,t,r){n=ot(n);var e=(t=i9(t))?tZ(n):0;return t&&e<t?n+e1(t-e,r):n},rv.padStart=function(n,t,r){n=ot(n);var e=(t=i9(t))?tZ(n):0;return t&&e<t?e1(t-e,r)+n:n},rv.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t*=1),t4(ot(n).replace(Q,""),t||0)},rv.random=function(n,t,r){if(r&&"boolean"!=typeof r&&uw(n,t,r)&&(t=r=e),e===r&&("boolean"==typeof t?(r=t,t=e):"boolean"==typeof n&&(r=n,n=e)),e===n&&e===t?(n=0,t=1):(n=i6(n),e===t?(t=n,n=0):t=i6(t)),n>t){var u=n;n=t,t=u}if(r||n%1||t%1){var i=t6();return t3(n+i*(t-n+n1("1e-"+((i+"").length-1))),t)}return ec(n,t)},rv.reduce=function(n,t,r){var e=iT(n)?tg:tR,u=arguments.length<3;return e(n,uc(t,4),r,u,r$)},rv.reduceRight=function(n,t,r){var e=iT(n)?ty:tR,u=arguments.length<3;return e(n,uc(t,4),r,u,rD)},rv.repeat=function(n,t,r){return t=(r?uw(n,t,r):e===t)?1:i9(t),el(ot(n),t)},rv.replace=function(){var n=arguments,t=ot(n[0]);return n.length<3?t:t.replace(n[1],n[2])},rv.result=function(n,t,r){t=eS(t,n);var u=-1,i=t.length;for(i||(i=1,n=e);++u<i;){var o=null==n?e:n[uB(t[u])];e===o&&(u=i,o=r),n=iq(o)?o.call(n):o}return n},rv.round=o4,rv.runInContext=n,rv.sample=function(n){return(iT(n)?rk:function(n){return rk(oj(n))})(n)},rv.size=function(n){if(null==n)return 0;if(iD(n))return i0(n)?tZ(n):n.length;var t=u_(n);return t==y||t==x?n.size:r7(n).length},rv.snakeCase=oE,rv.some=function(n,t,r){var u=iT(n)?td:eg;return r&&uw(n,t,r)&&(t=e),u(n,uc(t,3))},rv.sortedIndex=function(n,t){return ey(n,t)},rv.sortedIndexBy=function(n,t,r){return ed(n,t,uc(r,2))},rv.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=ey(n,t);if(e<r&&iW(n[e],t))return e}return -1},rv.sortedLastIndex=function(n,t){return ey(n,t,!0)},rv.sortedLastIndexBy=function(n,t,r){return ed(n,t,uc(r,2),!0)},rv.sortedLastIndexOf=function(n,t){if(null==n?0:n.length){var r=ey(n,t,!0)-1;if(iW(n[r],t))return r}return -1},rv.startCase=oS,rv.startsWith=function(n,t,r){return n=ot(n),r=null==r?0:rW(i9(r),0,n.length),t=em(t),n.slice(r,r+t.length)==t},rv.subtract=o6,rv.sum=function(n){return n&&n.length?tz(n,oM):0},rv.sumBy=function(n,t){return n&&n.length?tz(n,uc(t,2)):0},rv.template=function(n,t,r){var u=rv.templateSettings;r&&uw(n,t,r)&&(t=e),n=ot(n),t=ou({},t,u,e5);var i,o,f=ou({},t.imports,u.imports,e5),a=ov(f),c=tW(f,a),l=0,s=t.interpolate||nv,h="__p += '",p=nA((t.escape||nv).source+"|"+s.source+"|"+(s===K?no:nv).source+"|"+(t.evaluate||nv).source+"|$","g"),v="//# sourceURL="+(nC.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nY+"]")+"\n";n.replace(p,function(t,r,e,u,f,a){return e||(e=u),h+=n.slice(l,a).replace(n_,tD),r&&(i=!0,h+="' +\n__e("+r+") +\n'"),f&&(o=!0,h+="';\n"+f+";\n__p += '"),e&&(h+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),l=a+t.length,t}),h+="';\n";var _=nC.call(t,"variable")&&t.variable;if(_){if(nu.test(_))throw new nw("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(T,""):h).replace($,"$1").replace(D,"$1;"),h="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=oU(function(){return nm(a,v+"return "+h).apply(e,c)});if(g.source=h,iP(g))throw g;return g},rv.times=function(n,t){if((n=i9(n))<1||n>0x1fffffffffffff)return[];var r=0xffffffff,e=t3(n,0xffffffff);t=uc(t),n-=0xffffffff;for(var u=tE(e,t);++r<n;)t(r);return u},rv.toFinite=i6,rv.toInteger=i9,rv.toLength=i7,rv.toLower=function(n){return ot(n).toLowerCase()},rv.toNumber=i5,rv.toSafeInteger=function(n){return n?rW(i9(n),-0x1fffffffffffff,0x1fffffffffffff):0===n?n:0},rv.toString=ot,rv.toUpper=function(n){return ot(n).toUpperCase()},rv.trim=function(n,t,r){if((n=ot(n))&&(r||e===t))return tS(n);if(!n||!(t=em(t)))return n;var u=tK(n),i=tK(t),o=tU(u,i),f=tB(u,i)+1;return eC(u,o,f).join("")},rv.trimEnd=function(n,t,r){if((n=ot(n))&&(r||e===t))return n.slice(0,tV(n)+1);if(!n||!(t=em(t)))return n;var u=tK(n),i=tB(u,tK(t))+1;return eC(u,0,i).join("")},rv.trimStart=function(n,t,r){if((n=ot(n))&&(r||e===t))return n.replace(Q,"");if(!n||!(t=em(t)))return n;var u=tK(n),i=tU(u,tK(t));return eC(u,i).join("")},rv.truncate=function(n,t){var r=30,u="...";if(iV(t)){var i="separator"in t?t.separator:i;r="length"in t?i9(t.length):r,u="omission"in t?em(t.omission):u}var o=(n=ot(n)).length;if(tM(n)){var f=tK(n);o=f.length}if(r>=o)return n;var a=r-tZ(u);if(a<1)return u;var c=f?eC(f,0,a).join(""):n.slice(0,a);if(e===i)return c+u;if(f&&(a+=c.length-a),iQ(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=nA(i.source,ot(nf.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,e===h?a:h)}}else if(n.indexOf(em(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},rv.unescape=function(n){return(n=ot(n))&&N.test(n)?n.replace(M,tG):n},rv.uniqueId=function(n){var t=++nW;return ot(n)+t},rv.upperCase=oC,rv.upperFirst=oW,rv.each=ic,rv.eachRight=il,rv.first=uZ,oq(rv,(ny={},rK(rv,function(n,t){nC.call(rv.prototype,t)||(ny[t]=n)}),ny),{chain:!1}),rv.VERSION="4.17.21",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){rv[n].placeholder=rv}),tc(["drop","take"],function(n,t){rd.prototype[n]=function(r){r=e===r?1:t2(i9(r),0);var u=this.__filtered__&&!t?new rd(this):this.clone();return u.__filtered__?u.__takeCount__=t3(r,u.__takeCount__):u.__views__.push({size:t3(r,0xffffffff),type:n+(u.__dir__<0?"Right":"")}),u},rd.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),tc(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;rd.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:uc(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),tc(["head","last"],function(n,t){var r="take"+(t?"Right":"");rd.prototype[n]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");rd.prototype[n]=function(){return this.__filtered__?new rd(this):this[r](1)}}),rd.prototype.compact=function(){return this.filter(oM)},rd.prototype.find=function(n){return this.filter(n).head()},rd.prototype.findLast=function(n){return this.reverse().find(n)},rd.prototype.invokeMap=es(function(n,t){return"function"==typeof n?new rd(this):this.map(function(r){return r2(r,n,t)})}),rd.prototype.reject=function(n){return this.filter(iR(uc(n)))},rd.prototype.slice=function(n,t){n=i9(n);var r=this;return r.__filtered__&&(n>0||t<0)?new rd(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),e!==t&&(r=(t=i9(t))<0?r.dropRight(-t):r.take(t-n)),r)},rd.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},rd.prototype.toArray=function(){return this.take(0xffffffff)},rK(rd.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=rv[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&(rv.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof rd,c=f[0],l=a||iT(t),s=function(n){var t=i.apply(rv,t_([n],f));return u&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new rd(this);var g=n.apply(t,f);return g.__actions__.push({func:ie,args:[s],thisArg:e}),new ry(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),tc(["pop","push","shift","sort","splice","unshift"],function(n){var t=nI[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);rv.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(iT(u)?u:[],n)}return this[r](function(r){return t.apply(iT(r)?r:[],n)})}}),rK(rd.prototype,function(n,t){var r=rv[t];if(r){var e=r.name+"";nC.call(ri,e)||(ri[e]=[]),ri[e].push({name:t,func:r})}}),ri[eY(e,2).name]=[{name:"wrapper",func:e}],rd.prototype.clone=function(){var n=new rd(this.__wrapped__);return n.__actions__=eM(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=eM(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=eM(this.__views__),n},rd.prototype.reverse=function(){if(this.__filtered__){var n=new rd(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n},rd.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=iT(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=t3(t,n+o);break;case"takeRight":n=t2(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=t3(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return eO(n,this.__actions__);var v=[];n:for(;a--&&h<p;){for(var _=-1,g=n[c+=t];++_<s;){var y=l[_],d=y.iteratee,b=y.type,w=d(g);if(2==b)g=w;else if(!w)if(1==b)continue n;else break n}v[h++]=g}return v},rv.prototype.at=iu,rv.prototype.chain=function(){return ir(this)},rv.prototype.commit=function(){return new ry(this.value(),this.__chain__)},rv.prototype.next=function(){this.__values__===e&&(this.__values__=i4(this.value()));var n=this.__index__>=this.__values__.length,t=n?e:this.__values__[this.__index__++];return{done:n,value:t}},rv.prototype.plant=function(n){for(var t,r=this;r instanceof rg;){var u=u$(r);u.__index__=0,u.__values__=e,t?i.__wrapped__=u:t=u;var i=u;r=r.__wrapped__}return i.__wrapped__=n,t},rv.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof rd){var t=n;return this.__actions__.length&&(t=new rd(this)),(t=t.reverse()).__actions__.push({func:ie,args:[uX],thisArg:e}),new ry(t,this.__chain__)}return this.thru(uX)},rv.prototype.toJSON=rv.prototype.valueOf=rv.prototype.value=function(){return eO(this.__wrapped__,this.__actions__)},rv.prototype.first=rv.prototype.head,n8&&(rv.prototype[n8]=function(){return this}),rv}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(n4._=tH,define(function(){return tH})):n9?((n9.exports=tH)._=tH,n6._=tH):n4._=tH}).call(this)}}]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Lodash <https://lodash.com/>
|
|
4
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
+
* Released under MIT license <https://lodash.com/license>
|
|
6
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
+
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(self.chunk_HeatMapChart=self.chunk_HeatMapChart||[]).push([["378"],{7271:function(e,t,o){o.r(t),o.d(t,{HeatMapChart:()=>F});var a=o(4246),r=o(7895),i=o(5700),n=o(6494),l=o(5409),s=o.n(l);let d={unit:"decimal"};var u=o(5283),h=o(2054),m=o(4538),p=o(1246),c=o(6232),f=o(7835),x=o(4776),g=o(43);(0,c.D)([f.N]);let y=["#313695","#4575b4","#74add1","#abd9e9","#e0f3f8","#ffffbf","#fee090","#fdae61","#f46d43","#d73027","#a50026"];function v(e){let{width:t,height:o,data:r,xAxisCategories:n,yAxisCategories:l,yAxisFormat:s,countFormat:d,countMin:u,countMax:h,timeScale:c,showVisualMap:f}=e,v=(0,i.useChartsTheme)(),F=(0,x.Z)(),{timeZone:M}=(0,i.useTimeZone)(),C=(0,m.useMemo)(()=>{var e;return{tooltip:{appendToBody:!0,formatter:e=>(function(e){let{data:t,label:o,marker:a,xAxisCategories:r,yAxisCategories:n,theme:l,yAxisFormat:s,countFormat:d}=e,[u,h]=t,m=r[u],{formattedDate:c,formattedTime:f}=(0,i.getDateAndTime)(m),x=(0,g.iv)`
|
|
2
|
+
border-bottom: 1px solid ${l.palette.grey[500]};
|
|
3
|
+
padding-bottom: 8px;
|
|
4
|
+
`,y=(0,g.iv)`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding-top: 8px;
|
|
8
|
+
`,v=(0,g.iv)`
|
|
9
|
+
margin-right: 16px;
|
|
10
|
+
`,F=parseFloat(n[h]),M=n[h+1]?parseFloat(n[h+1]):parseFloat(n[h])+parseFloat(n[h])-parseFloat(n[h-1]);return`
|
|
11
|
+
<div>
|
|
12
|
+
<div style="${x.styles}">${c} ${f}</div>
|
|
13
|
+
<div style="${y.styles}">
|
|
14
|
+
<div style="${v.styles}">
|
|
15
|
+
${a}
|
|
16
|
+
<strong>${(0,p.formatValue)(F,s)} - ${(0,p.formatValue)(M,s)}</strong>
|
|
17
|
+
</div>
|
|
18
|
+
<div>
|
|
19
|
+
${(0,p.formatValue)(parseFloat(o),d)}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
`})({data:e.data.value,label:e.data.label,marker:e.marker,xAxisCategories:n,yAxisCategories:l,theme:F,yAxisFormat:s,countFormat:d})},xAxis:{type:"category",data:n,axisLabel:{hideOverlap:!0,formatter:(e=(null==c?void 0:c.rangeMs)??0,function(t){let o=new Date(Number(t));return e>15768e7?(0,i.formatWithTimeZone)(o,"yyy",M):e>63072e6?(0,i.formatWithTimeZone)(o,"MMM yyy",M):e>864e6&&e<1577664e4?(0,i.formatWithTimeZone)(o,"dd.MM",M):e>1728e5&&e<=864e6?(0,i.formatWithTimeZone)(o,"dd.MM HH:mm",M):(0,i.formatWithTimeZone)(o,"HH:mm",M)})}},yAxis:(0,i.getFormattedAxis)({type:"category",data:l},s),visualMap:{show:f??!1,type:"continuous",min:u,max:h,realtime:!1,itemHeight:o-30,itemWidth:10,orient:"vertical",left:"right",top:"center",inRange:{color:y},textStyle:{color:F.palette.text.primary,textBorderColor:F.palette.background.default,textBorderWidth:5}},series:[{name:"Gaussian",type:"heatmap",data:r,emphasis:{itemStyle:{borderColor:"#333",borderWidth:1}},progressive:1e3,animation:!1}]}},[n,null==c?void 0:c.rangeMs,M,l,s,f,u,h,o,F,r,d]),b=(0,m.useMemo)(()=>(0,a.jsx)(i.EChart,{sx:{width:t,height:o,padding:`${v.container.padding.default}px`},option:C,theme:v.echartsTheme}),[v.container.padding.default,v.echartsTheme,o,C,t]);return(0,a.jsx)(a.Fragment,{children:b})}let F={PanelComponent:function(e){let{spec:t,contentDimensions:o,queryResults:r}=e,i=s()({},d,t.yAxisFormat),n=s()({},d,t.countFormat),{data:l,xAxisCategories:c,yAxisCategories:f,countMin:x,countMax:g,timeScale:y}=(0,m.useMemo)(()=>{if(!r||0===r.length||1!=r.length||1!=r[0].data.series.length||void 0===r[0].data.series[0].histograms)return{data:[],xAxisCategories:[],yAxisCategories:[],countMin:0,countMax:0,timeScale:void 0};let e=r[0].data.series[0],t=function(e){let t=e.map(e=>e.data);return(0,p.getCommonTimeScale)(t)}(r),a=function(e){if(!e)return[];let{startMs:t,endMs:o,stepMs:a}=e,r=[];for(let e=t;e<=o;e+=a)r.push(e);return r}(t),i=1/0,n=-1/0,l=1/0,s=-1/0;for(let[t,o]of(null==e?void 0:e.histograms)??[])for(let e of(null==o?void 0:o.buckets)??[]){let[t,o,a,r]=e,d=parseFloat(o),u=parseFloat(a),h=parseFloat(r);d<i&&(i=d),u>n&&(n=u),h<l&&(l=h),h>s&&(s=h)}let d=(null==o?void 0:o.height)??200,u=(n-i)*2/d,h=Array.from({length:Math.ceil(d/2)},(e,t)=>(i+t*u).toFixed(3)),m=[];for(let[t,o]of(null==e?void 0:e.histograms)??[]){let e=a.findIndex(e=>e===1e3*t);for(let t of(null==o?void 0:o.buckets)??[]){let[o,a,r,n]=t,l=Math.floor((parseFloat(a)-i)/u),s=Math.ceil((parseFloat(r)-i)/u);for(let t=0;t<s-l;t++)m.push({value:[e,l+t,parseFloat(n)],label:n})}}return{data:m,xAxisCategories:a,yAxisCategories:h,countMin:l,countMax:s,timeScale:t}},[null==o?void 0:o.height,r]);return r.length>1?(0,a.jsx)(u.Z,{justifyContent:"center",height:"100%",children:(0,a.jsx)(h.Z,{variant:"body2",textAlign:"center",children:"Only one query at a time is supported for now"})}):0===l.length?(0,a.jsx)(u.Z,{justifyContent:"center",height:"100%",children:(0,a.jsx)(h.Z,{variant:"body2",textAlign:"center",children:"No data available (only native histograms are supported for now)"})}):void 0===o?null:(0,a.jsx)(u.Z,{direction:"row",justifyContent:"center",alignItems:"center",children:(0,a.jsx)(v,{width:o.width,height:o.height,data:l,xAxisCategories:c,yAxisCategories:f,yAxisFormat:i,countFormat:n,countMin:x,countMax:g,timeScale:y,showVisualMap:t.showVisualMap})})},supportedQueryTypes:["TimeSeriesQuery"],queryOptions:{mode:"range"},panelOptionsEditorComponents:[{label:"Settings",content:function(e){let{onChange:t,value:o}=e,l=s()({},d,o.yAxisFormat),u=s()({},d,o.countFormat);return(0,a.jsxs)(i.OptionsEditorGrid,{children:[(0,a.jsx)(i.OptionsEditorColumn,{children:(0,a.jsxs)(i.OptionsEditorGroup,{title:"Bucket Count",children:[(0,a.jsx)(i.FormatControls,{value:u,onChange:e=>{t((0,n.produce)(o,t=>{t.countFormat=e}))}}),(0,a.jsx)(i.OptionsEditorControl,{label:"Show Visual Map",control:(0,a.jsx)(r.Z,{checked:!!o.showVisualMap,onChange:(e,a)=>{t((0,n.produce)(o,e=>{e.showVisualMap=a}))}})})]})}),(0,a.jsx)(i.OptionsEditorColumn,{children:(0,a.jsx)(i.OptionsEditorGroup,{title:"Y Axis",children:(0,a.jsx)(i.FormatControls,{value:l,onChange:e=>{t((0,n.produce)(o,t=>{t.yAxisFormat=e}))}})})})]})}}],createInitialOptions:function(){return{yAxisFormat:d,countFormat:d,showVisualMap:!0}}}}}]);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(()=>{var __webpack_modules__={1623:function(e,t){"use strict";let r="RUNTIME-001",n="RUNTIME-002",o="RUNTIME-003",i="RUNTIME-004",a="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",u="RUNTIME-009",h="TYPE-001",f="BUILD-001",d="BUILD-002",p=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},m=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(p(e)),n&&o.push(`Original Error Message:
|
|
2
|
+
${n}`),o.join("\n")};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let y={[r]:"Failed to get remoteEntry exports.",[n]:'The remote entry interface does not contain "init"',[o]:"Failed to get manifest.",[i]:"Failed to locate remote.",[a]:"Invalid loadShareSync function call from bundler runtime",[s]:"Invalid loadShareSync function call from runtime",[l]:"Failed to get remote snapshot.",[c]:"Failed to load script resources.",[u]:"Please call createInstance first."},_={[h]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},E={[f]:"Failed to find expose module.",[d]:"PublicPath is required in prod mode."},v=g({},y,_,E);t.BUILD_001=f,t.BUILD_002=d,t.RUNTIME_001=r,t.RUNTIME_002=n,t.RUNTIME_003=o,t.RUNTIME_004=i,t.RUNTIME_005=a,t.RUNTIME_006=s,t.RUNTIME_007=l,t.RUNTIME_008=c,t.RUNTIME_009=u,t.TYPE_001=h,t.buildDescMap=E,t.errorDescMap=v,t.getShortErrorMsg=m,t.runtimeDescMap=y,t.typeDescMap=_},6023:function(e,t,r){Promise.all([r.e("677"),r.e("179"),r.e("863")]).then(r.bind(r,7102))},4101:function(e,t){"use strict";t.FEDERATION_SUPPORTED_TYPES=["script"]},3144:function(e,t,r){"use strict";var n=r(121),o=r(4101),i=r(5365);function a(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function s(e){let{chunkId:t,promises:r,chunkMapping:n,idToExternalAndNameMapping:s,webpackRequire:l,idToRemoteMap:c}=e;a(l),l.o(n,t)&&n[t].forEach(e=>{let t=l.R;t||(t=[]);let n=s[e],a=c[e];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let u=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
3
|
+
while loading "${n[1]}" from ${n[2]}`),l.m[e]=()=>{throw t},n.p=0},h=(e,t,o,i,a,s)=>{try{let l=e(t,o);if(!l||!l.then)return a(l,i,s);{let e=l.then(e=>a(e,i),u);if(!s)return e;r.push(n.p=e)}}catch(e){u(e)}},f=(e,t,r)=>e?h(l.I,n[0],0,e,d,r):u();var d=(e,r,o)=>h(r.get,n[1],t,0,p,o),p=t=>{n.p=1,l.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=i.decodeName(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=l.federation.instance,r=()=>l.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(n[0])).then(()=>r());return r()}catch(e){u(e)}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?h(m,n[2],0,0,p,1):h(l,n[2],0,0,f,1)})}function l(e){let{chunkId:t,promises:r,chunkMapping:n,installedModules:o,moduleToHandlerMapping:i,webpackRequire:s}=e;a(s),s.o(n,t)&&n[t].forEach(e=>{if(s.o(o,e))return r.push(o[e]);let t=t=>{o[e]=0,s.m[e]=r=>{var n;delete s.c[e];let o=t(),{shareInfo:a}=i[e];if((null==a||null==(n=a.shareConfig)?void 0:n.layer)&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=a.shareConfig.layer)}catch(e){}r.exports=o}},n=t=>{delete o[e],s.m[e]=r=>{throw delete s.c[e],t}};try{let a=s.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:l,getter:c,shareInfo:u}=i[e],h=a.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);h.then?r.push(o[e]=h.then(t).catch(n)):t(h)}catch(e){n(e)}})}function c(e){let{shareScopeName:t,webpackRequire:r,initPromises:n,initTokens:i,initScope:s}=e,l=Array.isArray(t)?t:[t];var c=[],u=function(e){s||(s=[]);let l=r.federation.instance;var c=i[e];if(c||(c=i[e]={from:l.name}),s.indexOf(c)>=0)return;s.push(c);let u=n[e];if(u)return u;var h=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),f=n=>{var o=e=>h("Initialization of sharing external failed: "+e);try{var i=r(n);if(!i)return;var a=n=>n&&n.init&&n.init(r.S[e],s,{shareScopeMap:r.S||{},shareScopeKeys:t});if(i.then)return d.push(i.then(a,o));var l=a(i);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(o))}catch(e){o(e)}};let d=l.initializeSharing(e,{strategy:l.options.shareStrategy,initScope:s,from:"build"});a(r);let p=r.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)f(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(r)}}),d.length)?n[e]=Promise.all(d).then(()=>n[e]=!0):n[e]=!0};return l.forEach(e=>{c.push(u(e))}),Promise.all(c).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function h(e){let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:n,initialConsumes:o}=e;o.forEach(e=>{r.m[e]=o=>{var i;n[e]=0,delete r.c[e];let a=u({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r});if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=t[e];if((null==l||null==(i=l.shareConfig)?void 0:i.layer)&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}})}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions(f({name:t.federation.initOptions.name,remotes:[]},i));let s=null==i?void 0:i.shareScopeKeys,l=null==i?void 0:i.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:s,consumes:l,I:c,S:{},installInitialConsumes:h,initContainerEntry:d},attachShareScopeMap:a,bundlerRuntimeOptions:{}}},5628:function(e,t,r){"use strict";var n=r(3364),o=r(5365),i=r(1623);let a="[ Federation Runtime ]",s=o.createLogger(a);function l(e,t){e||c(t)}function c(e){if(e instanceof Error)throw e.message.startsWith(a)||(e.message=`${a}: ${e.message}`),e;throw Error(`${a}: ${e}`)}function u(e){e instanceof Error&&(e.message.startsWith(a)||(e.message=`${a}: ${e.message}`)),s.warn(e)}function h(e,t){return -1===e.findIndex(e=>e===t)&&e.push(t),e}function f(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function d(e){return void 0!==e.entry}function p(e){return!e.entry.includes(".json")}async function m(e,t){try{return await e()}catch(e){t||u(e);return}}function g(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function _(e){return"[object Object]"===y.call(e)}function E(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function v(e){return Array.isArray(e)?e:[e]}function b(e){let t={url:"",type:"global",globalName:""};return o.isBrowserEnv()||o.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let S=(e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t},R="object"==typeof globalThis?globalThis:window,I=(()=>{try{return document.defaultView}catch(e){return R}})(),N=I;function M(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function $(e,t){return Object.hasOwnProperty.call(e,t)}$(R,"__GLOBAL_LOADING_REMOTE_ENTRY__")||M(R,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let A=R.__GLOBAL_LOADING_REMOTE_ENTRY__;function T(e){var t,r,n,o,i,a,s,l,c,u,h,f;$(e,"__VMOK__")&&!$(e,"__FEDERATION__")&&M(e,"__FEDERATION__",e.__VMOK__),$(e,"__FEDERATION__")||(M(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),M(e,"__VMOK__",e.__FEDERATION__)),null!=(s=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(l=(r=e.__FEDERATION__).__INSTANCES__)||(r.__INSTANCES__=[]),null!=(c=(n=e.__FEDERATION__).moduleInfo)||(n.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(h=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function O(){R.__FEDERATION__.__GLOBAL_PLUGIN__=[],R.__FEDERATION__.__INSTANCES__=[],R.__FEDERATION__.moduleInfo={},R.__FEDERATION__.__SHARE__={},R.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(A).forEach(e=>{delete A[e]})}function w(e){R.__FEDERATION__.__INSTANCES__.push(e)}function k(){return R.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.isDebugMode();t&&(R.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,R.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.18.1")}function D(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let r of Object.keys(e)){let[n,o]=r.split(":"),i=`${n}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}T(R),T(I);let x=()=>I.__FEDERATION__.moduleInfo,L=(e,t)=>{let r=D(t,f(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){let{version:t}=e,r=f(n._object_without_properties_loose(e,["version"])),o=D(I.__FEDERATION__.moduleInfo,r).value;if((null==o?void 0:o.version)===t)return o}},F=e=>L(e,I.__FEDERATION__.moduleInfo),H=(e,t)=>{let r=f(e);return I.__FEDERATION__.moduleInfo[r]=t,I.__FEDERATION__.moduleInfo},j=e=>(I.__FEDERATION__.moduleInfo=n._extends({},I.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete I.__FEDERATION__.moduleInfo[t]}),C=(e,t)=>{let r=t||`__FEDERATION_${e}:custom__`,n=R[r];return{remoteEntryKey:r,entryExports:n}},U=e=>{let{__GLOBAL_PLUGIN__:t}=I.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},G=()=>I.__FEDERATION__.__GLOBAL_PLUGIN__,V=e=>R.__FEDERATION__.__PRELOADED_MAP__.get(e),B=e=>R.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),q="default",W="global",z="[0-9A-Za-z-]+",K=`(?:\\+(${z}(?:\\.${z})*))`,Y="0|[1-9]\\d*",X="[0-9]+",J="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Z=`(?:${X}|${J})`,Q=`(?:-?(${Z}(?:\\.${Z})*))`,ee=`(?:${Y}|${J})`,et=`(?:-(${ee}(?:\\.${ee})*))`,er=`${Y}|x|X|\\*`,en=`[v=\\s]*(${er})(?:\\.(${er})(?:\\.(${er})(?:${et})?${K}?)?)?`,eo=`^\\s*(${en})\\s+-\\s+(${en})\\s*$`,ei=`(${X})\\.(${X})\\.(${X})`,ea=`[v=\\s]*${ei}${Q}?${K}?`,es="((?:<|>)?=?)",el=`(\\s*)${es}\\s*(${ea}|${en})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,eh="(?:\\^)",ef=`(\\s*)${eh}\\s+`,ed="(<|>)?=?\\s*\\*",ep=`^${eh}${en}$`,em=`(${Y})\\.(${Y})\\.(${Y})`,eg=`v?${em}${et}?${K}?`,ey=`^${ec}${en}$`,e_=`^${es}\\s*${en}$`,eE=`^${es}\\s*(${eg})$|^$`,ev="^\\s*>=\\s*0.0.0\\s*$";function eb(e){return new RegExp(e)}function eS(e){return!e||"x"===e.toLowerCase()||"*"===e}function eR(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.reduce((e,t)=>t(e),e)}function eI(e){return e.match(eb(eE))}function eN(e,t,r,n){let o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}function eM(e){return e.replace(eb(eo),(e,t,r,n,o,i,a,s,l,c,u,h)=>(t=eS(r)?"":eS(n)?`>=${r}.0.0`:eS(o)?`>=${r}.${n}.0`:`>=${t}`,s=eS(l)?"":eS(c)?`<${Number(l)+1}.0.0-0`:eS(u)?`<${l}.${Number(c)+1}.0-0`:h?`<=${l}.${c}.${u}-${h}`:`<=${s}`,`${t} ${s}`.trim()))}function e$(e){return e.replace(eb(el),"$1$2$3")}function eA(e){return e.replace(eb(eu),"$1~")}function eT(e){return e.replace(eb(ef),"$1^")}function eO(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(ep),(e,t,r,n,o)=>{if(eS(t))return"";if(eS(r))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(eS(n))if("0"===t)return`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`;else return`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${r}.${n}-${o} <${Number(t)+1}.0.0-0`;else if("0"===r)return`>=${t}.${r}.${n}-${o} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`;if("0"===t)if("0"===r)return`>=${t}.${r}.${n} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`;return`>=${t}.${r}.${n} <${Number(t)+1}.0.0-0`})).join(" ")}function ew(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(ey),(e,t,r,n,o)=>eS(t)?"":eS(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:eS(n)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:o?`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`)).join(" ")}function ek(e){return e.split(/\s+/).map(e=>e.trim().replace(eb(e_),(e,t,r,n,o,i)=>{let a=eS(r),s=a||eS(n),l=s||eS(o);if("="===t&&l&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&l?(s&&(n=0),o=0,">"===t?(t=">=",s?(r=Number(r)+1,n=0):n=Number(n)+1,o=0):"<="===t&&(t="<",s?r=Number(r)+1:n=Number(n)+1),"<"===t&&(i="-0"),`${t+r}.${n}.${o}${i}`):s?`>=${r}.0.0${i} <${Number(r)+1}.0.0-0`:l?`>=${r}.${n}.0${i} <${r}.${Number(n)+1}.0-0`:e})).join(" ")}function eP(e){return e.trim().replace(eb(ed),"")}function eD(e){return e.trim().replace(eb(ev),"")}function ex(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eL(e,t){let{preRelease:r}=e,{preRelease:n}=t;if(void 0===r&&n)return 1;if(r&&void 0===n)return -1;if(void 0===r&&void 0===n)return 0;for(let e=0,t=r.length;e<=t;e++){let t=r[e],o=n[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return ex(t,o)}}return 0}function eF(e,t){return ex(e.major,t.major)||ex(e.minor,t.minor)||ex(e.patch,t.patch)||eL(e,t)}function eH(e,t){return e.version===t.version}function ej(e,t){switch(e.operator){case"":case"=":return eH(e,t);case">":return 0>eF(e,t);case">=":return eH(e,t)||0>eF(e,t);case"<":return eF(e,t)>0;case"<=":return eH(e,t)||eF(e,t)>0;case void 0:return!0;default:return!1}}function eC(e){return eR(eO,ew,ek,eP)(e)}function eU(e){return eR(eM,e$,eA,eT)(e.trim()).split(/\s+/).join(" ")}function eG(e,t){if(!e)return!1;let r=eI(e);if(!r)return!1;let[,n,,o,i,a,s]=r,l={operator:n,version:eN(o,i,a,s),major:o,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};for(let e of t.split("||")){let t=e.trim();if(!t||"*"===t||"x"===t)return!0;try{let e=eU(t);if(!e.trim())return!0;let r=e.split(" ").map(e=>eC(e)).join(" ");if(!r.trim())return!0;let n=r.split(/\s+/).map(e=>eD(e)).filter(Boolean);if(0===n.length)continue;let o=!0;for(let e of n){let t=eI(e);if(!t){o=!1;break}let[,r,,n,i,a,s]=t,c={operator:r,version:eN(n,i,a,s),major:n,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};if(!ej(c,l)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}function eV(e,t,r,o){var i,a,s;let l;return l="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${r}'!`)}),n._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:l,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(i=e.version)?i:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(a=e.scope)?a:"default"],strategy:(null!=(s=e.strategy)?s:o)||"version-first"})}function eB(e,t){let r=t.shared||{},o=t.name,i=Object.keys(r).reduce((e,n)=>{let i=v(r[n]);return e[n]=e[n]||[],i.forEach(r=>{e[n].push(eV(r,o,n,t.shareStrategy))}),e},{}),a=n._extends({},e.shared);return Object.keys(i).forEach(e=>{a[e]?i[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=i[e]}),{shared:a,shareInfos:i}}function eq(e,t){let r=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!eG(r(e),`<=${r(t)}`)}let eW=(e,t)=>{let r=t||function(e,t){return eq(e,t)};return Object.keys(e).reduce((e,t)=>!e||r(e,t)||"0"===e?t:e,0)},ez=e=>!!e.loaded||"function"==typeof e.lib,eK=e=>!!e.loading;function eY(e,t,r){let n=e[t][r],o=function(e,t){return!ez(n[e])&&eq(e,t)};return eW(e[t][r],o)}function eX(e,t,r){let n=e[t][r],o=function(e,t){let r=e=>ez(e)||eK(e);if(r(n[t]))if(r(n[e]))return!!eq(e,t);else return!0;return!r(n[e])&&eq(e,t)};return eW(e[t][r],o)}function eJ(e){return"loaded-first"===e?eX:eY}function eZ(e,t,r,n){if(!e)return;let{shareConfig:o,scope:i=q,strategy:a}=r;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,l=eJ(a)(e,s,t),h=()=>{if(o.singleton){if("string"==typeof i&&!eG(l,i)){let n=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${i})`;o.strictVersion?c(n):u(n)}return e[s][t][l]}if(!1===i||"*"===i||eG(l,i))return e[s][t][l];for(let[r,n]of Object.entries(e[s][t]))if(eG(r,i))return n},f={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:N.__FEDERATION__,resolver:h};return(n.emit(f)||f).resolver()}}function eQ(){return N.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:r,extraOptions:n,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let r=function(e,r){return!ez(t[e])&&eq(e,r)},n=eW(t,r);return t[n]};return Object.assign({},(null!=(t=null==n?void 0:n.resolver)?t:i)(o[r]),null==n?void 0:n.customShareInfo)}function e1(){return"HeatMapChart:0.2.0"}function e2(e,t){for(let r of e){let e=t.startsWith(r.name),n=t.replace(r.name,"");if(e){if(n.startsWith("/"))return{pkgNameOrAlias:r.name,expose:n=`.${n}`,remote:r};else if(""===n)return{pkgNameOrAlias:r.name,expose:".",remote:r}}let o=r.alias&&t.startsWith(r.alias),i=r.alias&&t.replace(r.alias,"");if(r.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:r.alias,expose:i=`.${i}`,remote:r};else if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function e7(e,t){for(let r of e)if(t===r.name||r.alias&&t===r.alias)return r}function e6(e,t){let r=G(),n=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return r.length>0&&r.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{n.forEach(r=>{r.applyPlugin(e,t)})}),e}let e9=".then(callbacks[0]).catch(callbacks[1])";async function e8(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}")${e9}`)([e,n]):import(t).then(e).catch(n)}catch(e){n(e)}})}async function e3(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):Function("callbacks",`System.import("${t}")${e9}`)([e,n])}catch(e){n(e)}})}function e4(e,t,r){let{remoteEntryKey:n,entryExports:o}=C(e,t);return l(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:e,remoteEntryUrl:r,remoteEntryKey:n})),o}async function e5(e){let{name:t,globalName:r,entry:n,loaderHook:a}=e,{entryExports:s}=C(t,r);return s||o.loadScript(n,{attrs:{},createScriptHook:(e,t)=>{let r=a.lifecycle.createScript.emit({url:e,attrs:t});if(r&&(r instanceof HTMLScriptElement||"script"in r||"timeout"in r))return r}}).then(()=>e4(t,r,n)).catch(e=>{throw l(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:t,resourceUrl:n})),e})}async function te(e){let{remoteInfo:t,remoteEntryExports:r,loaderHook:n}=e,{entry:o,entryGlobalName:i,name:a,type:s}=t;switch(s){case"esm":case"module":return e8({entry:o,remoteEntryExports:r});case"system":return e3({entry:o,remoteEntryExports:r});default:return e5({entry:o,globalName:i,name:a,loaderHook:n})}}async function tt(e){let{remoteInfo:t,loaderHook:r}=e,{entry:n,entryGlobalName:i,name:a,type:s}=t,{entryExports:l}=C(a,i);return l||o.loadScriptNode(n,{attrs:{name:a,globalName:i,type:s},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&"url"in n)return n}}}).then(()=>e4(a,i,n)).catch(e=>{throw e})}function tr(e){let{entry:t,name:r}=e;return o.composeKeyWithSeparator(r,t)}async function tn(e){let{origin:t,remoteEntryExports:r,remoteInfo:n}=e,i=tr(n);if(r)return r;if(!A[i]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,a=t.loaderHook;A[i]=e.emit({loaderHook:a,remoteInfo:n,remoteEntryExports:r}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:o.isBrowserEnv())?te({remoteInfo:n,remoteEntryExports:r,loaderHook:a}):tt({remoteInfo:n,loaderHook:a})))}return A[i]}function to(e){return n._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||W,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||q})}function ti(e){return n._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ta(e,t){return t.map(t=>{let r=e7(e,t.nameOrAlias);return l(r,`Unable to preload ${t.nameOrAlias} as it is not included in ${!r&&o.safeToString({remoteInfo:r,remotes:e})}`),{remote:r,preloadConfig:ti(t)}})}function ts(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tl(e,t,r){let n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=r;if(t.options.inBrowser){if(s.forEach(r=>{let{moduleInfo:n}=r,o=t.moduleCache.get(e.name);o?tn({origin:t,remoteInfo:n,remoteEntryExports:o.remoteEntryExports}):tn({origin:t,remoteInfo:n,remoteEntryExports:void 0})}),n){let e={rel:"preload",as:"style"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});i&&document.head.appendChild(n)})}if(n){let e={rel:"preload",as:"script"};a.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let r={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:n,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:r,createScriptHook:(e,r)=>{let n=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:r});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});i&&document.head.appendChild(n)})}}}var tc={global:{Global:N,nativeGlobal:I,resetFederationGlobalInfo:O,setGlobalFederationInstance:w,getGlobalFederationConstructor:k,setGlobalFederationConstructor:P,getInfoWithoutType:D,getGlobalSnapshot:x,getTargetSnapshotInfoByModuleInfo:L,getGlobalSnapshotInfoByModuleInfo:F,setGlobalSnapshotInfoByModuleInfo:H,addGlobalSnapshot:j,getRemoteEntryExports:C,registerGlobalPlugins:U,getGlobalHostPlugins:G,getPreloaded:V,setPreloaded:B},share:{getRegisteredShare:eZ,getGlobalShareScope:eQ},utils:{matchRemoteWithNameAndExpose:e2,preloadAssets:tl,getRemoteInfo:to}};let tu=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tn({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(r){let t=tr(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tn,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:A,uniqueKey:t})}return l(e,`remoteEntryExports is undefined
|
|
4
|
+
${o.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,r,o){let a,{loadFactory:s=!0}=r||{loadFactory:!0},u=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];r.length||r.push("default"),r.forEach(e=>{t[e]||(t[e]={})});let a=t[r[0]],s=[],l={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?r:this.remoteInfo.shareScope||"default"};Object.defineProperty(l,"shareScopeMap",{value:t,enumerable:!1});let h=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:a,remoteEntryInitOptions:l,initScope:s,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==u?void 0:u.init)&&c(i.getShortErrorMsg(i.RUNTIME_002,i.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await u.init(h.shareScope,h.initScope,h.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n._extends({},h,{id:e,remoteSnapshot:o,remoteEntryExports:u}))}this.lib=u,this.inited=!0,(a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:u,expose:t,moduleInfo:this.remoteInfo}))||(a=await u.get(t)),l(a,`${f(this.remoteInfo)} remote don't export ${t}.`);let h=S(this.remoteInfo.name,t),d=this.wraperFactory(a,h);return s?await d():d}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class th{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.remove(r),e.apply(null,o)})}emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.listeners.size>0&&this.listeners.forEach(t=>{e=t(...r)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class tf extends th{emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let o=Array.from(this.listeners);if(o.length>0){let t=0,n=e=>!1!==e&&(t<o.length?Promise.resolve(o[t++].apply(null,r)).then(n):e);e=n()}return Promise.resolve(e)}}function td(e,t){if(!g(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}class tp extends th{emit(e){for(let t of(g(e)||c(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(td(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){u(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=c,this.type=e}}class tm extends th{emit(e){g(e)||c(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(u(t),this.onerror(t),e),o=i=>{if(td(e,i)){if(e=i,r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(e){return n(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=c,this.type=e}}class tg{applyPlugin(e,t){l(_(e),"Plugin configuration is invalid.");let r=e.name;l(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,null==e.apply||e.apply.call(e,t),Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){l(e,"A name is required.");let t=this.registerPlugins[e];l(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function ty(e,t){let r=b(t);r.url||c(`The attribute remoteEntry of ${e.name} must not be undefined.`);let n=o.getResourceUrl(t,r.url);o.isBrowserEnv()||n.startsWith("http")||(n=`https:${n}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=n,e.version=t.version,e.buildVersion=t.buildVersion}function t_(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:o,origin:i,remoteInfo:a,id:s}=e;if(!d(t)||!p(t)){let{remoteSnapshot:l,globalSnapshot:c}=await i.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:s});ty(a,l);let u={remote:t,preloadConfig:{nameOrAlias:r,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},h=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:u,remoteInfo:a,remote:t,remoteSnapshot:l,globalSnapshot:c});return h&&tl(a,i,h,!1),n._extends({},e,{remoteSnapshot:l})}return e}}}function tE(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tv(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,{value:s}=D(e,f(t)),l=a||s;if(l&&!o.isManifestProvider(l)&&(r(l,t,n),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let n=tE(t),o=l.remotesInfo[t];tv(e,{name:n.name,version:o.matchedVersion},r,!1,i,void 0)}}let tb=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tS(e,t,r,n,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:h}=e,{preloadConfig:f}=t,{depsRemote:d}=f;if(tv(n,r,(t,r,n)=>{let i;if(n)i=f;else if(Array.isArray(d)){let e=d.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;i=ti(e)}else{if(!0!==d)return;i=f}let c=o.getResourceUrl(t,b(t).url);c&&l.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],h=ts(i.exposes);if(h.length&&"modules"in t){var p;u=null==t||null==(p=t.modules)?void 0:p.reduce((e,t)=>((null==h?void 0:h.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let r=e.map(e=>o.getResourceUrl(t,e));return i.filter?r.filter(i.filter):r}if(u){let n=u.length;for(let o=0;o<n;o++){let n=u[o],l=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:l,name:r.name,remoteSnapshot:t,preloadConfig:i,remote:r,origin:e}),V(l)||("all"===i.resourceCategory?(a.push(...m(n.assets.css.async)),a.push(...m(n.assets.css.sync)),s.push(...m(n.assets.js.async))):(i.resourceCategory="sync",a.push(...m(n.assets.css.sync))),s.push(...m(n.assets.js.sync)),B(l))}}},!0,{},i),i.shared&&i.shared.length>0){let t=(t,r)=>{let n=eZ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var r;let n=null==(r=h.shared)?void 0:r[e.sharedName];if(!n)return;let o=e.version?n.find(t=>t.version===e.version):n;o&&v(o).forEach(r=>{t(r,e)})})}let p=s.filter(e=>!c.has(e)&&!tb("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tb("link",e)),jsAssetsWithoutEntry:p,entryAssets:l.filter(e=>!tb("script",e.url))}}let tR=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:n,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return o.isBrowserEnv()?d(i)&&p(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:n.name,entry:i.entry,type:n.type||"global",entryGlobalName:"",shareScope:""}}]}:(ty(n,s),tS(t,r,n,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tI(e,t){let r=F({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&D(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:x(),remoteSnapshot:F({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:x(),remoteSnapshot:F({name:e.name,version:"version"in e?e.version:void 0})}}class tN{async loadRemoteSnapshotInfo(e){let t,r,{moduleInfo:a,id:s,expose:l}=e,{options:u}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:u,moduleInfo:a});let h=F({name:this.HostInstance.options.name,version:this.HostInstance.options.version});h||(h={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},j({[this.HostInstance.options.name]:h})),h&&"remotesInfo"in h&&!D(h.remotesInfo,a.name).value&&("version"in a||"entry"in a)&&(h.remotesInfo=n._extends({},null==h?void 0:h.remotesInfo,{[a.name]:{matchedVersion:"version"in a?a.version:a.entry}}));let{hostGlobalSnapshot:f,remoteSnapshot:p,globalSnapshot:m}=this.getGlobalRemoteInfo(a),{remoteSnapshot:g,globalSnapshot:y}=await this.hooks.lifecycle.loadSnapshot.emit({options:u,moduleInfo:a,hostGlobalSnapshot:f,remoteSnapshot:p,globalSnapshot:m});if(g)if(o.isManifestProvider(g)){let e=o.isBrowserEnv()?g.remoteEntry:g.ssrRemoteEntry||g.remoteEntry||"",i=await this.getManifestJson(e,a,{}),s=H(n._extends({},a,{entry:e}),i);t=i,r=s}else{let{remoteSnapshot:e}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:a,remoteSnapshot:g,from:"global"});t=e,r=y}else if(d(a)){let e=await this.getManifestJson(a.entry,a,{}),n=H(a,e),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:a,remoteSnapshot:e,from:"global"});t=o,r=n}else c(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:a.name,hostVersion:a.version,globalSnapshot:JSON.stringify(y)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:s,host:this.HostInstance,options:u,moduleInfo:a,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:r}}getGlobalRemoteInfo(e){return tI(e,this.HostInstance)}async getManifestJson(e,t,r){let n=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],c(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`)))}return l(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},a=async()=>{let r=await n(),i=o.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tg({beforeLoadRemoteSnapshot:new tf("beforeLoadRemoteSnapshot"),loadSnapshot:new tm("loadGlobalSnapshot"),loadRemoteSnapshot:new tm("loadRemoteSnapshot"),afterLoadSnapshot:new tm("afterLoadSnapshot")}),this.manifestLoading=N.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tM{registerShared(e,t){let{shareInfos:r,shared:n}=eB(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{!eZ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)&&r&&r.lib&&this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:!0,shared:r,from:t.name})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});l(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let t=await i.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0,a(r)),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:r.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let n=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0,{host:r}=this,n=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==n){let{initTokens:t}=this;i||(i=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),i.indexOf(r)>=0)return a;i.push(r)}let s=this.shareScopeMap,l=r.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{var r;let{version:n,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[n],s=!!(a&&(a.eager||(null==(r=a.shareConfig)?void 0:r.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:l>a.from))&&(i[n]=t)},h=t=>t&&t.init&&t.init(s[e],i),f=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await h(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&u(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===o)&&r.options.remotes.forEach(t=>{t.shareScope===e&&a.push(f(t.name))}),a}loadShareSync(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let o=eZ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(o){if("function"==typeof o.lib)return a(o),o.loaded||(o.loaded=!0,o.from===r.options.name&&(n.loaded=!0)),o.lib;if("function"==typeof o.get){let t=o.get();if(!(t instanceof Promise))return a(o),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:o}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let o=n.get();if(o instanceof Promise){let n=(null==t?void 0:t.from)==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(n,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=o,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:r,from:o,lib:i,loading:a,loaded:s,get:l}=e,{version:c,scope:u="default"}=r,h=n._object_without_properties_loose(r,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][c]){this.shareScopeMap[e][t][c]=n._extends({version:c,scope:["default"]},h,{lib:i,loaded:s,loading:a}),l&&(this.shareScopeMap[e][t][c].get=l);return}let r=this.shareScopeMap[e][t][c];a&&!r.loading&&(r.loading=a)})}_setGlobalShareScopeMap(e){let t=eQ(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}constructor(e){this.hooks=new tg({afterResolve:new tm("afterResolve"),beforeLoadShare:new tm("beforeLoadShare"),loadShare:new tf,resolveShare:new tp("resolveShare"),initContainerShareScopeMap:new tp("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class t${formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:h}=a,f=await o.get(u,c,t,h),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:n?f:void 0,exposeModuleFactory:n?void 0:f,remote:l,options:i,moduleInstance:o,origin:r});if(this.setIdToRemoteMap(e,a),"function"==typeof d)return d;return f}catch(i){let{from:n="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:n,lifecycle:"onLoad",origin:r});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=ta(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=to(r),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:r}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:o,remoteSnapshot:i});a&&tl(n,t,a)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:o}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:a}=t,s=e2(r.options.remotes,a);l(s,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:r.options.name,requestId:a}));let{remote:c}=s,u=to(c),h=await r.sharedHandler.hooks.lifecycle.afterResolve.emit(n._extends({id:a},s,{options:r.options,origin:r,remoteInfo:u})),{remote:f,expose:d}=h;l(f&&d,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${a}.`);let p=r.moduleCache.get(f.name),m={host:r,remoteInfo:u};return p||(p=new tu(m),r.moduleCache.set(f.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:h}}registerRemote(e,t,r){let{host:n}=this,i=()=>{if(e.alias){let r=t.find(t=>{var r;return e.alias&&(t.name.startsWith(e.alias)||(null==(r=t.alias)?void 0:r.startsWith(e.alias)))});l(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&o.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=q),e.type||(e.type=W)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:n});let a=t.find(t=>t.name===e.name);if(a){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==r?void 0:r.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n}),o.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n})}removeRemote(e){try{let{host:r}=this,{name:n}=e,i=r.options.remotes.findIndex(e=>e.name===n);-1!==i&&r.options.remotes.splice(i,1);let a=r.moduleCache.get(e.name);if(a){let n=a.remoteInfo,i=n.entryGlobalName;if(R[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(R,i))?void 0:t.configurable)?delete R[i]:R[i]=void 0}let s=tr(a.remoteInfo);A[s]&&delete A[s],r.snapshotHandler.manifestCache.delete(n.entry);let l=n.buildVersion?o.composeKeyWithSeparator(n.name,n.buildVersion):n.name,c=R.__FEDERATION__.__INSTANCES__.findIndex(e=>n.buildVersion?e.options.id===l:e.name===l);if(-1!==c){let e=R.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;let t=eQ(),r=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===n.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==n.name),l.useIn.length?r=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),r&&(e.shareScopeMap={},delete t[l]),o.forEach(e=>{var r,n,o;let[i,a,s,l]=e;null==(o=t[i])||null==(n=o[a])||null==(r=n[s])||delete r[l]}),R.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tI(e,r);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&D(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],N.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete N.__FEDERATION__.__MANIFEST_LOADING__[t])}r.moduleCache.delete(e.name)}}catch(e){s.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tg({beforeRegisterRemote:new tp("beforeRegisterRemote"),registerRemote:new tp("registerRemote"),beforeRequest:new tm("beforeRequest"),onLoad:new tf("onLoad"),handlePreloadModule:new th("handlePreloadModule"),errorLoadRemote:new tf("errorLoadRemote"),beforePreloadRemote:new tf("beforePreloadRemote"),generatePreloadAssets:new tf("generatePreloadAssets"),afterPreloadRemote:new tf,loadEntry:new tf}),this.host=e,this.idToRemoteMap={}}}let tA=!0;class tT{initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new tu({host:this,remoteInfo:to({name:e,entry:t})});return n.remoteEntryExports=r,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eB(e,t),{userOptions:o,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=this.remoteHandler.formatAndRegisterRemote(i,o),{shared:s}=this.sharedHandler.registerShared(i,o),l=[...i.plugins];o.plugins&&o.plugins.forEach(e=>{l.includes(e)||l.push(e)});let c=n._extends({},e,t,{plugins:l,remotes:a,shared:s});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=e6(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,n._extends({},this.options,{shared:e}))}constructor(e){this.hooks=new tg({beforeInit:new tp("beforeInit"),init:new th,beforeInitContainer:new tm("beforeInitContainer"),initContainer:new tm("initContainer")}),this.version="0.18.1",this.moduleCache=new Map,this.loaderHook=new tg({getModuleInfo:new th,createScript:new th,createLink:new th,fetch:new tf,loadEntryError:new tf,getModuleFactory:new tf}),this.bridgeHook=new tg({beforeBridgeRender:new th,afterBridgeRender:new th,beforeBridgeDestroy:new th,afterBridgeDestroy:new th});let t=tA?[t_(),tR()]:[],r={id:e1(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:o.isBrowserEnv()};this.name=e.name,this.options=r,this.snapshotHandler=new tN(this),this.sharedHandler=new tM(this),this.remoteHandler=new t$(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}}var tO=Object.freeze({__proto__:null});t.loadScript=o.loadScript,t.loadScriptNode=o.loadScriptNode,t.CurrentGlobal=R,t.Global=N,t.Module=tu,t.ModuleFederation=tT,t.addGlobalSnapshot=j,t.assert=l,t.getGlobalFederationConstructor=k,t.getGlobalSnapshot=x,t.getInfoWithoutType=D,t.getRegisteredShare=eZ,t.getRemoteEntry=tn,t.getRemoteInfo=to,t.helpers=tc,t.isStaticResourcesEqual=E,t.matchRemoteWithNameAndExpose=e2,t.registerGlobalPlugins=U,t.resetFederationGlobalInfo=O,t.safeWrapper=m,t.satisfy=eG,t.setGlobalFederationConstructor=P,t.setGlobalFederationInstance=w,t.types=tO},3364:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}t._extends=r,t._object_without_properties_loose=n},121:function(e,t,r){"use strict";var n=r(5628),o=r(1623),i=r(1765);function a(e){let t=new(n.getGlobalFederationConstructor()||n.ModuleFederation)(e);return n.setGlobalFederationInstance(t),t}let s=null;function l(e){let t=i.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),s||(s=t),t):s=a(e)}function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadRemote.apply(s,t)}function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShare.apply(s,t)}function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShareSync.apply(s,t)}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.preloadRemote.apply(s,t)}function d(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerRemotes.apply(s,t)}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerPlugins.apply(s,t)}function m(){return s}function g(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerShared.apply(s,t)}n.setGlobalFederationConstructor(n.ModuleFederation),t.Module=n.Module,t.ModuleFederation=n.ModuleFederation,t.getRemoteEntry=n.getRemoteEntry,t.getRemoteInfo=n.getRemoteInfo,t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.registerGlobalPlugins=n.registerGlobalPlugins,t.createInstance=a,t.getInstance=m,t.init=l,t.loadRemote=c,t.loadShare=u,t.loadShareSync=h,t.preloadRemote=f,t.registerPlugins=p,t.registerRemotes=d,t.registerShared=g},1765:function(e,t,r){"use strict";var n=r(5628);function o(){return"HeatMapChart:0.2.0"}t.getGlobalFederationInstance=function(e,t){let r=o();return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},5365:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var polyfills=__webpack_require__(8867);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return!!localStorage.getItem(BROWSER_LOG_KEY)}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,n=e.split(r),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...s]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),s=[o||n.slice(2).join(r)]);let l=o||s.join(r);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===n.length){let[e]=n;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length?t.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,r,n;let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:a={},overrides:s={},version:l}=i,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(s),h={};Object.keys(a).length||(h=(null==(n=e.remotes)?void 0:n.reduce((e,t)=>{let r,n=t.federationContainerName;return r=u.includes(n)?s[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{}))||{}),Object.keys(a).forEach(e=>h[e]={matchedVersion:u.includes(e)?s[e]:a[e]});let{remoteEntry:{path:f,name:d,type:p},types:m,buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:_}=e.metaData,{exposes:E}=e,v={version:l||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(f,d),remoteEntryType:p,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:h,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==E?void 0:E.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;v=polyfills._({},v,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;v=polyfills._({},v,{prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n})}return o="publicPath"in e.metaData?polyfills._({},v,{publicPath:c(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},v,{getPublicPath:c()}),_&&(o.ssrRemoteEntry=simpleJoinRemoteEntry(_.path,_.name),o.ssrRemoteEntryType=_.type||"commonjs-module"),o}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}success(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}info(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}ready(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}debug(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];isDebugMode()&&console.log(this.prefix,...t)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}let logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function createScript(e){let t,r=null,n=!0,o=2e4,i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){let o=i[t],a=o.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){r=o,n=!1;break}}if(!r){let t,n=e.attrs;(r=document.createElement("script")).type=(null==n?void 0:n.type)==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(o=t.timeout))),r.src||(r.src=e.url),n&&!t&&Object.keys(n).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let a=async(n,o)=>{clearTimeout(t);let i=()=>{(null==o?void 0:o.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(o)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==r?void 0:r.parentNode)&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let o=0;o<n.length;o++){let i=n[o],a=i.getAttribute("href"),s=i.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&s===e.attrs.rel){t=i,r=!1;break}}if(!t){let r;(t=document.createElement("link")).setAttribute("href",e.url);let n=e.attrs;e.createLinkHook&&(r=e.createLinkHook(e.url,n))instanceof HTMLLinkElement&&(t=r),n&&!r&&Object.keys(n).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let o=(r,n)=>{let o=()=>{(null==n?void 0:n.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),r)){let e=r(n);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:polyfills._({fetchpriority:"high"},r),createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}let sdkImportCache=new Map;function importNodeModule(e){if(!e)throw Error("import specifier is required");if(sdkImportCache.has(e))return sdkImportCache.get(e);let t=Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),sdkImportCache.delete(e),t});return sdkImportCache.set(e,t),t}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),o=await n(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})},createScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
|
|
5
|
+
})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}:(e,t,r,n)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((r,n)=>{createScriptNode(e,(e,o)=>{if(e)n(e);else{var i,a;let e=(null==t||null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`;r(globalThis[e]=o)}},t.attrs,t.loaderHook)}):(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")},esmModuleCache=new Map;async function loadModule(e,t){if(esmModuleCache.has(e))return esmModuleCache.get(e);let{fetch:r,vm:n}=t,o=await r(e),i=await o.text(),a=new n.SourceTextModule(i,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return esmModuleCache.set(e,a),await a.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),a}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)if(e)return t;else return!1;if(!0===n)return t;if(n&&"object"==typeof n)return polyfills._({},t,n);throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},8867:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t._=r},7145:function(e,t,r){"use strict";var n,o,i,a,s,l,c,u,h,f,d,p,m=r(3144),g=r.n(m);let y=[],_={},E="HeatMapChart",v="version-first";if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{var n,o,i,a,s,l;let c=r();Array.isArray(c)?(null!=(i=(n=e)[o=t])||(n[o]=[]),e[t].push(...c)):"object"==typeof c&&null!==c&&(null!=(l=(a=e)[s=t])||(a[s]={}),Object.assign(e[t],c))},m=(e,t,r)=>{var n,o,i;null!=(i=(n=e)[o=t])||(n[o]=r())},b=null!=(u=null==(n=r.remotesLoadingData)?void 0:n.chunkMapping)?u:{},S=null!=(h=null==(o=r.remotesLoadingData)?void 0:o.moduleIdToRemoteDataMapping)?h:{},R=null!=(f=null==(i=r.initializeSharingData)?void 0:i.scopeToSharingDataMapping)?f:{},I=null!=(d=null==(a=r.consumesLoadingData)?void 0:a.chunkMapping)?d:{},N=null!=(p=null==(s=r.consumesLoadingData)?void 0:s.moduleIdToConsumeDataMapping)?p:{},M={},$=[],A={},T=null==(l=r.initializeExposesData)?void 0:l.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(N))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>E),m(r.federation.initOptions,"shareStrategy",()=>v),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(R))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={},h=function(e){return void 0!==e};h(s)&&(u.singleton=s),h(l)&&(u.requiredVersion=l),h(a)&&(u.eager=a),h(c)&&(u.strictVersion=c);let f={version:o,scope:[t],shareConfig:u,get:i};e[r]?e[r].push(f):e[r]=[f]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(_).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>b),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(S))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(S)){let n=_[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:b,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:I,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:M,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:$,initTokens:A,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:T,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(c=r.consumesLoadingData)?void 0:c.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:M,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(6023),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(179|228|667|677|759|910)$/.test(e)},rootOutputDir:"../../"})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(7145)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>"__mf/js/async/"+e+"."+({173:"c3418567",293:"f3a89fef",469:"15f49b0f",482:"cd2ab58b",774:"0d1a003f",790:"930331af",863:"e810bfc4",934:"6f607fed",964:"944e7b15",981:"75e172bb"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>"__mf/css/async/"+e+".2a93d99b.css"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="HeatMapChart:";__webpack_require__.l=function(r,n,o,i){if(e[r])return void e[r].push(n);if(void 0!==o)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+o),a.src=r),e[r]=[n];var h=function(t,n){a.onerror=a.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),t)return t(n)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),s&&document.head.appendChild(a)}})(),(()=>{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.p="/plugins/HeatMapChart/"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@perses-dev/components",version:"0.52.0-beta.5",factory:()=>Promise.all([__webpack_require__.e("790"),__webpack_require__.e("293"),__webpack_require__.e("469"),__webpack_require__.e("482"),__webpack_require__.e("677"),__webpack_require__.e("179"),__webpack_require__.e("667"),__webpack_require__.e("228"),__webpack_require__.e("759")]).then(()=>()=>__webpack_require__(6845)),eager:0,singleton:1},{name:"@perses-dev/core",version:"0.52.0-beta.5",factory:()=>Promise.all([__webpack_require__.e("790"),__webpack_require__.e("934"),__webpack_require__.e("293"),__webpack_require__.e("677"),__webpack_require__.e("910")]).then(()=>()=>__webpack_require__(3291)),eager:0,singleton:1},{name:"immer",version:"10.1.1",factory:()=>__webpack_require__.e("774").then(()=>()=>__webpack_require__(5586)),eager:0,singleton:1},{name:"lodash",version:"4.17.21",factory:()=>__webpack_require__.e("981").then(()=>()=>__webpack_require__(8784)),eager:0,singleton:1},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([__webpack_require__.e("173"),__webpack_require__.e("677")]).then(()=>()=>__webpack_require__(1542)),eager:0,singleton:1,requiredVersion:"18.2.0"},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("964").then(()=>()=>__webpack_require__(7378)),eager:0,singleton:1,requiredVersion:"18.2.0"}]},uniqueName:"HeatMapChart"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{179:["6085"],677:["4538"],228:["4683"],667:["6494"],910:["3098"]},moduleIdToConsumeDataMapping:{6494:{shareScope:"default",shareKey:"immer",import:"immer",requiredVersion:"^10.1.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("774").then(()=>()=>__webpack_require__(5586))},4538:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("964").then(()=>()=>__webpack_require__(7378))},6085:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("173").then(()=>()=>__webpack_require__(1542))},4683:{shareScope:"default",shareKey:"@perses-dev/core",import:"@perses-dev/core",requiredVersion:"0.52.0-beta.5",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("934"),__webpack_require__.e("910")]).then(()=>()=>__webpack_require__(3291))},3098:{shareScope:"default",shareKey:"lodash",import:"lodash",requiredVersion:"^4.17.21",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("981").then(()=>()=>__webpack_require__(8784))}},initialConsumes:[]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{if("undefined"!=typeof document){var e=function(e,t,r,n,o){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",__webpack_require__.nc&&(i.nonce=__webpack_require__.nc);var a=function(r){if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=a,i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],i=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(i===e||i===t))return o}for(var a=document.getElementsByTagName("style"),n=0;n<a.length;n++){var o=a[n],i=o.getAttribute("data-href");if(i===e||i===t)return o}},r=function(r){return new Promise(function(n,o){var i=__webpack_require__.miniCssF(r),a=__webpack_require__.p+i;if(t(i,a))return n();e(r,a,null,n,o)})},n={909:0};__webpack_require__.f.miniCss=function(e,t){var o={759:1};n[e]?t.push(n[e]):0!==n[e]&&o[e]&&t.push(n[e]=r(e).then(function(){n[e]=0},function(t){throw delete n[e],t}))}}})(),(()=>{var e={909:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(179|228|667|677|759|910)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,s]=r,l=0;if(i.some(t=>0!==e[t])){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);s&&s(__webpack_require__)}for(t&&t(r);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.chunk_HeatMapChart=self.chunk_HeatMapChart||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var __webpack_exports__=__webpack_require__.x()})();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PanelPlugin } from '@perses-dev/plugin-system';
|
|
2
|
+
import { HeatMapChartPanelProps } from './components';
|
|
3
|
+
import { HeatMapChartOptions } from './heat-map-chart-model';
|
|
4
|
+
/**
|
|
5
|
+
* The core HeatMapChart panel plugin for Perses.
|
|
6
|
+
*/
|
|
7
|
+
export declare const HeatMapChart: PanelPlugin<HeatMapChartOptions, HeatMapChartPanelProps>;
|
|
8
|
+
//# sourceMappingURL=HeatMapChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeatMapChart.d.ts","sourceRoot":"","sources":["../../src/HeatMapChart.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAwD,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC5G,OAAO,EAAoC,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE/F;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,mBAAmB,EAAE,sBAAsB,CAajF,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Copyright 2025 The Perses Authors
|
|
2
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
// you may not use this file except in compliance with the License.
|
|
4
|
+
// You may obtain a copy of the License at
|
|
5
|
+
//
|
|
6
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
//
|
|
8
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
// See the License for the specific language governing permissions and
|
|
12
|
+
// limitations under the License.
|
|
13
|
+
import { HeatMapChartOptionsEditorSettings, HeatMapChartPanel } from './components';
|
|
14
|
+
import { createInitialHeatMapChartOptions } from './heat-map-chart-model';
|
|
15
|
+
/**
|
|
16
|
+
* The core HeatMapChart panel plugin for Perses.
|
|
17
|
+
*/ export const HeatMapChart = {
|
|
18
|
+
PanelComponent: HeatMapChartPanel,
|
|
19
|
+
supportedQueryTypes: [
|
|
20
|
+
'TimeSeriesQuery'
|
|
21
|
+
],
|
|
22
|
+
queryOptions: {
|
|
23
|
+
mode: 'range'
|
|
24
|
+
},
|
|
25
|
+
panelOptionsEditorComponents: [
|
|
26
|
+
{
|
|
27
|
+
label: 'Settings',
|
|
28
|
+
content: HeatMapChartOptionsEditorSettings
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
createInitialOptions: createInitialHeatMapChartOptions
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=HeatMapChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/HeatMapChart.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { PanelPlugin } from '@perses-dev/plugin-system';\nimport { HeatMapChartOptionsEditorSettings, HeatMapChartPanel, HeatMapChartPanelProps } from './components';\nimport { createInitialHeatMapChartOptions, HeatMapChartOptions } from './heat-map-chart-model';\n\n/**\n * The core HeatMapChart panel plugin for Perses.\n */\nexport const HeatMapChart: PanelPlugin<HeatMapChartOptions, HeatMapChartPanelProps> = {\n PanelComponent: HeatMapChartPanel,\n supportedQueryTypes: ['TimeSeriesQuery'],\n queryOptions: {\n mode: 'range',\n },\n panelOptionsEditorComponents: [\n {\n label: 'Settings',\n content: HeatMapChartOptionsEditorSettings,\n },\n ],\n createInitialOptions: createInitialHeatMapChartOptions,\n};\n"],"names":["HeatMapChartOptionsEditorSettings","HeatMapChartPanel","createInitialHeatMapChartOptions","HeatMapChart","PanelComponent","supportedQueryTypes","queryOptions","mode","panelOptionsEditorComponents","label","content","createInitialOptions"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,iCAAiC,EAAEC,iBAAiB,QAAgC,eAAe;AAC5G,SAASC,gCAAgC,QAA6B,yBAAyB;AAE/F;;CAEC,GACD,OAAO,MAAMC,eAAyE;IACpFC,gBAAgBH;IAChBI,qBAAqB;QAAC;KAAkB;IACxCC,cAAc;QACZC,MAAM;IACR;IACAC,8BAA8B;QAC5B;YACEC,OAAO;YACPC,SAASV;QACX;KACD;IACDW,sBAAsBT;AACxB,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/bootstrap.tsx"],"names":[],"mappings":""}
|