@perses-dev/bar-chart-plugin 0.9.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/__mf/css/async/442.d3010b86.css +1 -0
  2. package/__mf/css/async/61.d3010b86.css +1 -0
  3. package/__mf/css/async/823.d3010b86.css +1 -0
  4. package/__mf/js/BarChart.fd19299c.js +6 -0
  5. package/__mf/js/async/102.b7abdc1f.js +1 -0
  6. package/__mf/js/async/{964.1b58e06a.js → 121.517e00e8.js} +2 -2
  7. package/__mf/js/async/160.0b10468b.js +1 -0
  8. package/__mf/js/async/{488.b4de54ee.js → 177.91621efa.js} +1 -1
  9. package/__mf/js/async/192.73182890.js +1 -0
  10. package/__mf/js/async/204.d6cc804e.js +1 -0
  11. package/__mf/js/async/235.951938a6.js +1 -0
  12. package/__mf/js/async/252.3ffb7009.js +22 -0
  13. package/__mf/js/async/255.41e8af2d.js +10 -0
  14. package/__mf/js/async/274.9bfff28e.js +2 -0
  15. package/__mf/js/async/350.d8b63400.js +1 -0
  16. package/__mf/js/async/356.6146b01c.js +1 -0
  17. package/__mf/js/async/{930.2949d883.js → 377.5b9c90dc.js} +1 -1
  18. package/__mf/js/async/392.7bfcf9f9.js +2 -0
  19. package/__mf/js/async/458.cffba90f.js +1 -0
  20. package/__mf/js/async/470.82e9b967.js +2 -0
  21. package/__mf/js/async/{296.78a77608.js → 496.b35b3a0a.js} +1 -1
  22. package/__mf/js/async/554.82e03ea5.js +38 -0
  23. package/__mf/js/async/582.9dfe893c.js +102 -0
  24. package/__mf/js/async/{214.c9488f88.js → 587.bcc920f1.js} +1 -1
  25. package/__mf/js/async/588.680cfad0.js +1 -0
  26. package/__mf/js/async/616.302bdae0.js +1 -0
  27. package/__mf/js/async/703.16dd2eaa.js +2 -0
  28. package/__mf/js/async/71.dab9ec76.js +1 -0
  29. package/__mf/js/async/{553.846194ff.js → 77.f584b802.js} +1 -1
  30. package/__mf/js/async/790.847088e2.js +7 -0
  31. package/__mf/js/async/854.63eee34f.js +1 -0
  32. package/__mf/js/async/873.fa6a97f2.js +1 -0
  33. package/__mf/js/async/941.4efdb193.js +2 -0
  34. package/__mf/js/async/963.85d5346b.js +1 -0
  35. package/__mf/js/async/{738.7c9852d4.js → 968.d562d0d2.js} +1 -1
  36. package/__mf/js/async/978.458b6e7d.js +1 -0
  37. package/__mf/js/async/__federation_expose_BarChart.13bf419c.js +1 -0
  38. package/__mf/js/async/lib-router.4740fed2.js +2 -0
  39. package/__mf/js/main.bb6f9165.js +6 -0
  40. package/lib/BarChartBase.js +2 -2
  41. package/lib/BarChartBase.js.map +1 -1
  42. package/lib/BarChartOptionsEditorSettings.js +1 -1
  43. package/lib/BarChartOptionsEditorSettings.js.map +1 -1
  44. package/lib/BarChartPanel.js +1 -1
  45. package/lib/BarChartPanel.js.map +1 -1
  46. package/lib/bootstrap.js +1 -1
  47. package/lib/bootstrap.js.map +1 -1
  48. package/lib/cjs/BarChartBase.js +1 -1
  49. package/lib/cjs/bar-chart-model.js +5 -5
  50. package/lib/cjs/index-federation.js +12 -12
  51. package/lib/cjs/tresholds.js +3 -3
  52. package/lib/cjs/utils.js +3 -3
  53. package/mf-manifest.json +40 -40
  54. package/mf-stats.json +40 -40
  55. package/package.json +5 -5
  56. package/__mf/css/async/263.1f61a808.css +0 -1
  57. package/__mf/css/async/341.1f61a808.css +0 -1
  58. package/__mf/css/async/759.1f61a808.css +0 -1
  59. package/__mf/js/BarChart.f638b0dc.js +0 -5
  60. package/__mf/js/async/109.b86d041e.js +0 -73
  61. package/__mf/js/async/173.3531997c.js +0 -2
  62. package/__mf/js/async/224.5f9af696.js +0 -1
  63. package/__mf/js/async/238.45a5ec9c.js +0 -1
  64. package/__mf/js/async/288.70b237a6.js +0 -7
  65. package/__mf/js/async/292.faabc281.js +0 -1
  66. package/__mf/js/async/298.e67cf440.js +0 -1
  67. package/__mf/js/async/409.fdf96221.js +0 -1
  68. package/__mf/js/async/45.7ccf6b51.js +0 -38
  69. package/__mf/js/async/623.e68b6216.js +0 -1
  70. package/__mf/js/async/656.14ae7fea.js +0 -1
  71. package/__mf/js/async/679.6fb75801.js +0 -2
  72. package/__mf/js/async/69.3c81e152.js +0 -10
  73. package/__mf/js/async/694.beb18780.js +0 -1
  74. package/__mf/js/async/740.6d6370ec.js +0 -1
  75. package/__mf/js/async/75.c086bb12.js +0 -1
  76. package/__mf/js/async/770.ece8043c.js +0 -1
  77. package/__mf/js/async/774.aec5dd0e.js +0 -1
  78. package/__mf/js/async/790.219148ac.js +0 -1
  79. package/__mf/js/async/838.bc0c4131.js +0 -102
  80. package/__mf/js/async/863.134f9f3b.js +0 -2
  81. package/__mf/js/async/922.2ce525ff.js +0 -1
  82. package/__mf/js/async/929.80797c45.js +0 -1
  83. package/__mf/js/async/960.33cdf4ef.js +0 -2
  84. package/__mf/js/async/981.5c1d40ce.js +0 -2
  85. package/__mf/js/async/__federation_expose_BarChart.ea2eb1bc.js +0 -1
  86. package/__mf/js/async/lib-router.10c5a0f9.js +0 -2
  87. package/__mf/js/main.22e71e47.js +0 -5
  88. /package/__mf/js/async/{964.1b58e06a.js.LICENSE.txt → 121.517e00e8.js.LICENSE.txt} +0 -0
  89. /package/__mf/js/async/{109.b86d041e.js.LICENSE.txt → 252.3ffb7009.js.LICENSE.txt} +0 -0
  90. /package/__mf/js/async/{69.3c81e152.js.LICENSE.txt → 255.41e8af2d.js.LICENSE.txt} +0 -0
  91. /package/__mf/js/async/{960.33cdf4ef.js.LICENSE.txt → 274.9bfff28e.js.LICENSE.txt} +0 -0
  92. /package/__mf/js/async/{981.5c1d40ce.js.LICENSE.txt → 392.7bfcf9f9.js.LICENSE.txt} +0 -0
  93. /package/__mf/js/async/{173.3531997c.js.LICENSE.txt → 470.82e9b967.js.LICENSE.txt} +0 -0
  94. /package/__mf/js/async/{838.bc0c4131.js.LICENSE.txt → 582.9dfe893c.js.LICENSE.txt} +0 -0
  95. /package/__mf/js/async/{679.6fb75801.js.LICENSE.txt → 703.16dd2eaa.js.LICENSE.txt} +0 -0
  96. /package/__mf/js/async/{288.70b237a6.js.LICENSE.txt → 790.847088e2.js.LICENSE.txt} +0 -0
  97. /package/__mf/js/async/{863.134f9f3b.js.LICENSE.txt → 941.4efdb193.js.LICENSE.txt} +0 -0
  98. /package/__mf/js/async/{lib-router.10c5a0f9.js.LICENSE.txt → lib-router.4740fed2.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["929"],{90247:function(o,e,r){r.d(e,{Z:()=>h});var t=r(8218),i=r(90496),n=r(82267),l=r(51640),s=r(12709),a=r(82319),c=r(51751),p=r(44124),f=r(6749);function m(o){return(0,f.ZP)("MuiSvgIcon",o)}(0,p.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var u=r(24246);let d=(0,s.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,e)=>{let{ownerState:r}=o;return[e.root,"inherit"!==r.color&&e[`color${(0,l.Z)(r.color)}`],e[`fontSize${(0,l.Z)(r.fontSize)}`]]}})((0,a.Z)(({theme:o})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:o.transitions?.create?.("fill",{duration:(o.vars??o).transitions?.duration?.shorter}),variants:[{props:o=>!o.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:o.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:o.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:o.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((o.vars??o).palette).filter(([,o])=>o&&o.main).map(([e])=>({props:{color:e},style:{color:(o.vars??o).palette?.[e]?.main}})),{props:{color:"action"},style:{color:(o.vars??o).palette?.action?.active}},{props:{color:"disabled"},style:{color:(o.vars??o).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),S=t.forwardRef(function(o,e){let r=(0,c.i)({props:o,name:"MuiSvgIcon"}),{children:s,className:a,color:p="inherit",component:f="svg",fontSize:S="medium",htmlColor:h,inheritViewBox:v=!1,titleAccess:y,viewBox:z="0 0 24 24",...g}=r,Z=t.isValidElement(s)&&"svg"===s.type,x={...r,color:p,component:f,fontSize:S,instanceFontSize:o.fontSize,inheritViewBox:v,viewBox:z,hasSvgAsChild:Z},I={};v||(I.viewBox=z);let R=(o=>{let{color:e,fontSize:r,classes:t}=o,i={root:["root","inherit"!==e&&`color${(0,l.Z)(e)}`,`fontSize${(0,l.Z)(r)}`]};return(0,n.Z)(i,m,t)})(x);return(0,u.jsxs)(d,{as:f,className:(0,i.Z)(R.root,a),focusable:"false",color:h,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:e,...I,...g,...Z&&s.props,ownerState:x,children:[Z?s.props.children:s,y?(0,u.jsx)("title",{children:y}):null]})});function h(o,e){function r(r,t){return(0,u.jsx)(S,{"data-testid":`${e}Icon`,ref:t,...r,children:o})}return r.muiName=S.muiName,t.memo(t.forwardRef(r))}S.muiName="SvgIcon"}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 960.33cdf4ef.js.LICENSE.txt */
2
- "use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["960"],{96434:function(e,t,r){r.r(t),r.d(t,{jsx:()=>ey,CacheProvider:()=>et,Global:()=>ed,createElement:()=>ey,ThemeContext:()=>ea,ThemeProvider:()=>eo,useTheme:()=>es,withTheme:()=>ei,ClassNames:()=>e$,keyframes:()=>ev,css:()=>em,withEmotionCache:()=>en,__unsafe_useEmotionCache:()=>er});var n,a,s=r(8218),c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,u=Object.assign;function f(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function y(e){return e.length}function d(e,t){return t.push(e),e}var m=1,v=1,g=0,b=0,$=0,k="";function w(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:m,column:v,length:c,return:""}}function x(e,t){return u(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return $=b<g?p(k,b++):0,v++,10===$&&(v=1,m++),$}function C(){return p(k,b)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return m=v=1,g=y(k=e),b=0,[]}function O(e){var t,r;return(t=b-1,r=function e(t){for(;S();)switch($){case t:return b;case 34:case 39:34!==t&&39!==t&&e($);break;case 40:41===t&&e(t);break;case 92:S()}return b}(91===e?e+2:40===e?e+1:e),h(k,t,r)).trim()}var _="-ms-",A="-moz-",T="-webkit-",M="comm",j="rule",N="decl",z="@keyframes";function F(e,t){for(var r="",n=e.length,a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function L(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case N:return e.return=e.return||e.value;case M:return"";case z:return e.return=e.value+"{"+F(e.children,n)+"}";case j:e.value=e.props.join(",")}return y(r=F(e.children,n))?e.return=e.value+"{"+r+"}":""}function R(e,t,r,n,a,s,c,i,u,l,p){for(var y=a-1,d=0===a?s:[""],m=d.length,v=0,g=0,b=0;v<n;++v)for(var $=0,k=h(e,y+1,y=o(g=c[v])),x=e;$<m;++$)(x=(g>0?d[$]+" "+k:f(k,/&\f/g,d[$])).trim())&&(u[b++]=x);return w(e,t,r,0===a?j:i,u,l,p)}function D(e,t,r,n){return w(e,t,r,N,h(e,0,n),h(e,n+1,-1),n)}var q=function(e,t,r){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(t[r]=1),!E(a);)S();return h(k,e,b)},B=function(e,t){var r=-1,n=44;do switch(E(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=q(b-1,t,r);break;case 2:e[r]+=O(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=S());return e},I=function(e,t){var r;return r=B(P(e),t),k="",r},W=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||W.get(r))&&!n){W.set(e,!0);for(var a=[],s=I(t,a),c=r.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},J=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},X=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case N:e.return=function e(t,r){switch(45^p(t,0)?(((r<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+A+t+_+t+t;case 6828:case 4268:return T+t+_+t+t;case 6165:return T+t+_+"flex-"+t+t;case 5187:return T+t+f(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+_+"flex-$1$2")+t;case 5443:return T+t+_+"flex-item-"+f(t,/flex-|-self/,"")+t;case 4675:return T+t+_+"flex-line-pack"+f(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+_+f(t,"shrink","negative")+t;case 5292:return T+t+_+f(t,"basis","preferred-size")+t;case 6060:return T+"box-"+f(t,"-grow","")+T+t+_+f(t,"grow","positive")+t;case 4554:return T+f(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return f(f(f(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return f(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return f(f(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+_+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return f(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(t)-1-r>6)switch(p(t,r+1)){case 109:if(45!==p(t,r+4))break;case 102:return f(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+A+(108==p(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(f(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==p(t,r+1))break;case 6444:switch(p(t,y(t)-3-(~l(t,"!important")&&10))){case 107:return f(t,":",":"+T)+t;case 101:return f(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===p(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+_+"$2box$3")+t}break;case 5936:switch(p(t,r+11)){case 114:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+_+t+t}return t}(e.value,e.length);break;case z:return F([x(e,{value:f(e.value,"@","@"+T)})],n);case j:if(e.length){var a,s;return a=e.props,s=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return F([x(e,{props:[f(t,/:(read-\w+)/,":"+A+"$1")]})],n);case"::placeholder":return F([x(e,{props:[f(t,/:(plac\w+)/,":"+T+"input-$1")]}),x(e,{props:[f(t,/:(plac\w+)/,":"+A+"$1")]}),x(e,{props:[f(t,/:(plac\w+)/,_+"input-$1")]})],n)}return""},a.map(s).join("")}}}],G=r(70252),H=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},U=r(55839),V=r.n(U),Y=r(53211),K=r(42747),Q=r(37164),ee=s.createContext("undefined"!=typeof HTMLElement?function(e){var t,r,n,a,s,o=e.key;if("css"===o){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||X,x={},_=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)x[t[r]]=!0;_.push(e)});var A=(r=(t=[Z,J].concat(g,[L,(n=function(e){s.insert(e)},function(e){!e.root&&(e=e.return)&&n(e)})])).length,function(e,n,a,s){for(var c="",o=0;o<r;o++)c+=t[o](e,n,a,s)||"";return c}),T=function(e){var t,r;return F((r=function e(t,r,n,a,s,c,o,u,g){for(var x,P=0,_=0,A=o,T=0,j=0,N=0,z=1,F=1,L=1,q=0,B="",I=s,W=c,Z=a,J=B;F;)switch(N=q,q=S()){case 40:if(108!=N&&58==p(J,A-1)){-1!=l(J+=f(O(q),"&","&\f"),"&\f")&&(L=-1);break}case 34:case 39:case 91:J+=O(q);break;case 9:case 10:case 13:case 32:J+=function(e){for(;$=C();)if($<33)S();else break;return E(e)>2||E($)>3?"":" "}(N);break;case 92:J+=function(e,t){for(var r;--t&&S()&&!($<48)&&!($>102)&&(!($>57)||!($<65))&&(!($>70)||!($<97)););return r=b+(t<6&&32==C()&&32==S()),h(k,e,r)}(b-1,7);continue;case 47:switch(C()){case 42:case 47:d((x=function(e,t){for(;S();)if(e+$===57)break;else if(e+$===84&&47===C())break;return"/*"+h(k,t,b-1)+"*"+i(47===e?e:S())}(S(),b),w(x,r,n,M,i($),h(x,2,-2),0)),g);break;default:J+="/"}break;case 123*z:u[P++]=y(J)*L;case 125*z:case 59:case 0:switch(q){case 0:case 125:F=0;case 59+_:-1==L&&(J=f(J,/\f/g,"")),j>0&&y(J)-A&&d(j>32?D(J+";",a,n,A-1):D(f(J," ","")+";",a,n,A-2),g);break;case 59:J+=";";default:if(d(Z=R(J,r,n,P,_,s,u,B,I=[],W=[],A),c),123===q)if(0===_)e(J,r,Z,Z,I,c,A,u,W);else switch(99===T&&110===p(J,3)?100:T){case 100:case 108:case 109:case 115:e(t,Z,Z,a&&d(R(t,Z,Z,0,0,s,u,B,s,I=[],A),W),s,W,A,u,a?I:W);break;default:e(J,Z,Z,Z,[""],W,0,u,W)}}P=_=j=0,z=L=1,B=J="",A=o;break;case 58:A=1+y(J),j=N;default:if(z<1){if(123==q)--z;else if(125==q&&0==z++&&125==($=b>0?p(k,--b):0,v--,10===$&&(v=1,m--),$))continue}switch(J+=i(q),q*z){case 38:L=_>0?1:(J+="\f",-1);break;case 44:u[P++]=(y(J)-1)*L,L=1;break;case 64:45===C()&&(J+=O(S())),T=C(),_=A=y(B=J+=function(e){for(;!E(C());)S();return h(k,e,b)}(b)),q++;break;case 45:45===N&&2==y(J)&&(z=0)}}return c}("",null,null,null,[""],t=P(t=e),0,[0],t),k="",r),A)},j={key:o,sheet:new c({key:o,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:x,registered:{},insert:function(e,t,r,n){s=r,T(e?e+"{"+t.styles+"}":t.styles),n&&(j.inserted[t.name]=!0)}};return j.sheet.hydrate(_),j}({key:"css"}):null),et=ee.Provider,er=function(){return(0,s.useContext)(ee)},en=function(e){return(0,s.forwardRef)(function(t,r){return e(t,(0,s.useContext)(ee),r)})},ea=s.createContext({}),es=function(){return s.useContext(ea)},ec=H(function(e){return H(function(t){return"function"==typeof t?t(e):(0,G.Z)({},e,t)})}),eo=function(e){var t=s.useContext(ea);return e.theme!==t&&(t=ec(t)(e.theme)),s.createElement(ea.Provider,{value:t},e.children)};function ei(e){var t=e.displayName||e.name||"Component",r=s.forwardRef(function(t,r){var n=s.useContext(ea);return s.createElement(e,(0,G.Z)({theme:n,ref:r},t))});return r.displayName="WithTheme("+t+")",V()(r,e)}var eu={}.hasOwnProperty,ef="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",el=function(e,t){var r={};for(var n in t)eu.call(t,n)&&(r[n]=t[n]);return r[ef]=e,r},ep=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,Y.hC)(t,r,n),(0,Q.L)(function(){return(0,Y.My)(t,r,n)}),null},eh=en(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[ef],c=[n],o="";"string"==typeof e.className?o=(0,Y.fp)(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=(0,K.O)(c,void 0,s.useContext(ea));o+=t.key+"-"+i.name;var u={};for(var f in e)eu.call(e,f)&&"css"!==f&&f!==ef&&(u[f]=e[f]);return u.className=o,r&&(u.ref=r),s.createElement(s.Fragment,null,s.createElement(ep,{cache:t,serialized:i,isStringTag:"string"==typeof a}),s.createElement(a,u))}),ey=function(e,t){var r=arguments;if(null==t||!eu.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,a=Array(n);a[0]=eh,a[1]=el(e,t);for(var c=2;c<n;c++)a[c]=r[c];return s.createElement.apply(null,a)};n=ey||(ey={}),a||(a=n.JSX||(n.JSX={}));var ed=en(function(e,t){var r=e.styles,n=(0,K.O)([r],void 0,s.useContext(ea)),a=s.useRef();return(0,Q.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==c&&(s=!0,c.setAttribute("data-emotion",e),r.hydrate([c])),a.current=[r,s],function(){r.flush()}},[t]),(0,Q.j)(function(){var e=a.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,Y.My)(t,n.next,!0),r.tags.length){var s=r.tags[r.tags.length-1].nextElementSibling;r.before=s,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function em(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,K.O)(t)}function ev(){var e=em.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var eg=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var s=t[n];if(null!=s){var c=void 0;switch(typeof s){case"boolean":break;case"object":if(Array.isArray(s))c=e(s);else for(var o in c="",s)s[o]&&o&&(c&&(c+=" "),c+=o);break;default:c=s}c&&(a&&(a+=" "),a+=c)}}return a},eb=function(e){var t=e.cache,r=e.serializedArr;return(0,Q.L)(function(){for(var e=0;e<r.length;e++)(0,Y.My)(t,r[e],!1)}),null},e$=en(function(e,t){var r=!1,n=[],a=function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];var s=(0,K.O)(r,t.registered);return n.push(s),(0,Y.hC)(t,s,!1),t.key+"-"+s.name},c={css:a,cx:function(){for(var e,r,n,s,c=arguments.length,o=Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.registered,r=eg(o),n=[],s=(0,Y.fp)(e,n,r),n.length<2?r:s+a(n)},theme:s.useContext(ea)},o=e.children(c);return r=!0,s.createElement(s.Fragment,null,s.createElement(eb,{cache:t,serializedArr:n}),o)})},37164:function(e,t,r){r.d(t,{L:()=>s,j:()=>c});var n=r(8218),a=!!n.useInsertionEffect&&n.useInsertionEffect,s=a||function(e){return e()},c=a||n.useLayoutEffect},53211:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{My:()=>s,fp:()=>n,hC:()=>a});var a=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){a(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next;while(void 0!==s)}}},55839:function(e,t,r){var n=r(12097),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return n.isMemo(e)?c:o[e.$$typeof]||a}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=c;var u=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(y){var a=h(r);a&&a!==y&&e(t,a,n)}var c=f(r);l&&(c=c.concat(l(r)));for(var o=i(t),d=i(r),m=0;m<c.length;++m){var v=c[m];if(!s[v]&&!(n&&n[v])&&!(d&&d[v])&&!(o&&o[v])){var g=p(r,v);try{u(t,v,g)}catch(e){}}}}return t}},14173:function(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,d=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,$=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case s:case o:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case d:case i:return e;default:return t}}case a:return t}}}function w(e){return k(e)===l}t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=d,t.Portal=a,t.Profiler=o,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||k(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===s},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===d},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===o},t.isStrictMode=function(e){return k(e)===c},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===l||e===o||e===c||e===h||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===g||e.$$typeof===b||e.$$typeof===$||e.$$typeof===v)},t.typeOf=k},12097:function(e,t,r){e.exports=r(14173)},70252:function(e,t,r){r.d(t,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 981.5c1d40ce.js.LICENSE.txt */
2
- (self.chunk_BarChart=self.chunk_BarChart||[]).push([["981"],{98784: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]",B="[object Uint16Array]",U="[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+")",nB="(?:"+nC+"|"+nI+")",nU="(?:"+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+"+"+nU+"(?="+[nA,nC,"$"].join("|")+")",nB+"+"+nT+"(?="+[nA,nC+nL,"$"].join("|")+")",nC+"?"+nL+"+"+nU,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[B]=nQ[U]=!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[B]=nX[U]=!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 tB(n,t){for(var r=-1,e=n.length;++r<e&&tx(t,n[r],0)>-1;);return r}function tU(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({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});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({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),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:"",nB=nz.toString,nU=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&&iU(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 eB(n);case h:case p:return new i(+n);case I:return e=r?eB(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 B:case U:return eU(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 rB(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 rU(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[uU(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=nB.call(n);return u&&(t?n[n6]=r:delete n[n6]),i}(n):(t=n,nB.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[uU(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(uU(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=eU(c,!0)):s=[]:iY(c)||iU(c)?(s=a,iU(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=uU(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[uU(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]:uB(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 eB(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eU(n,t){var r=t?eB(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=uU(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)||iU(n))}function uy(n){return"function"!=typeof n.constructor||uA(n)?{}:r_(nP(n))}function ud(n){return iT(n)||iU(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 uB=(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 uU(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 rU(n,1,t)}),iO=es(function(n,t,r){return rU(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),iB=e3(function(n,t){return n>=t}),iU=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)==nU}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=nB.call(t)),n[t]=r},oT(oM)),oh=eQ(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=nB.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 oB=es(function(n,t){try{return tf(n,e,t)}catch(n){return iP(n)?n:new nw(n)}}),oU=ue(function(n,t){return tc(t,function(t){rS(n,t=uU(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(uU(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=oU,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 rB(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,uU):i1(n)?[n]:eM(uB(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=oB,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||rB(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=iB,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=iU,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)||iU(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[uU(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=oB(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=tB(u,i),f=tU(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=tU(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=tB(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)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["163"],{14046:function(e,t,n){n.d(t,{Dc:()=>l,FB:()=>u,K2:()=>r,c7:()=>a,gO:()=>i});let r="last",a={first:function(e){return u(e,"first")},last:function(e){return u(e,"last")},"first-number":function(e){return u(e,"first-number")},"last-number":function(e){return u(e,"last-number")},mean:function(e){return u(e,"mean")},sum:function(e){return u(e,"sum")},min:function(e){return u(e,"min")},max:function(e){return u(e,"max")}},i={first:{label:"First",description:"First value"},last:{label:"Last",description:"Last value"},"first-number":{label:"First *",description:"First numeric value"},"last-number":{label:"Last *",description:"Last numeric value"},mean:{label:"Avg",description:"Average value excluding nulls"},sum:{label:"Sum",description:"The sum of all values"},min:{label:"Min",description:"Minimum value"},max:{label:"Max",description:"Maximum value"}};function l(e,t){let n=t.reduce((e,t)=>(e[t]=void 0,e),{}),r=0,a=0;return e.forEach((t,i)=>{let l=t[1];0===i&&"first"in n&&(n.first=l),i===e.length-1&&"last"in n&&(n.last=l),"number"==typeof l&&(r+=1,a+=l,"first-number"in n&&void 0===n["first-number"]&&(n["first-number"]=l),"last-number"in n&&(n["last-number"]=l),"min"in n&&("number"!=typeof n.min?n.min=l:n.min=Math.min(n.min,l)),"max"in n&&("number"!=typeof n.max?n.max=l:n.max=Math.max(n.max,l)))}),r>0&&"sum"in n&&(n.sum=a),r>0&&"mean"in n&&(n.mean=a/r),n}function u(e,t){return l(e,[t])[t]}},88902:function(e,t,n){n.r(t),n.d(t,{BarChart:()=>O});var r=n(14046);let a={unit:"decimal",shortValues:!0},i="desc",l="value";var u=n(24246),o=n(48565),s=n(64010),c=n(1148),m=n(87570),d=n(96494),h=n(15409),f=n.n(h),p=n(36372),v=n(8218),b=n(36232),x=n(508),g=n(65201),C=n(99635),y=n(23709),j=n(67745),w=n(50378);function M(e){let{width:t,height:n,data:r,format:a={unit:"decimal"},mode:i="value"}=e,l=(0,s.useChartsTheme)(),o=(0,v.useMemo)(()=>{if(!r||!r.length)return l.noDataOption;let e=[];return r.map(t=>{e.push([t.label,t.value])}),{title:{show:!1},dataset:[{dimensions:["label","value"],source:e}],xAxis:(0,s.getFormattedAxis)({},a),yAxis:{type:"category",splitLine:{show:!1},axisLabel:{overflow:"truncate",width:t/3}},series:{type:"bar",label:{show:!0,position:"right",formatter:e=>{if(e.data[1])return"percentage"===i?(0,c.Bw)(e.data[1],{unit:"percent",decimalPlaces:a.decimalPlaces}):(0,c.Bw)(e.data[1],a)},barMinWidth:14,barCategoryGap:6},itemStyle:{borderRadius:4,color:l.echartsTheme[0]}},tooltip:{appendToBody:!0,confine:!0,formatter:e=>e.data[1]&&`<b>${e.name}</b> &emsp; ${(0,c.Bw)(e.data[1],a)}`},grid:{left:"5%",right:"5%"}}},[r,l,t,i,a]);return(0,u.jsx)(p.Z,{style:{width:t,height:n},sx:{overflow:"auto"},children:(0,u.jsx)(s.EChart,{sx:{minHeight:n,height:r?20*r.length:"100%"},option:o,theme:l.echartsTheme})})}(0,b.D)([x.N,g.N,C.N,y.N,j.N,w.N]);let O={PanelComponent:function(e){let{spec:{calculation:t,format:n,sort:a,mode:l},contentDimensions:o,queryResults:c}=e,m=(0,s.useChartsTheme)().container.padding.default,d=(0,v.useMemo)(()=>{let e=r.c7[t],n=[];for(let t of c)for(let r of t.data.series){let t={value:e(r.values)??null,label:r.formattedName??""};n.push(t)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return"asc"===t?e.sort((e,t)=>null===e.value?1:null===t.value?-1:e.value===t.value?0:e.value<t.value?1:-1):e.sort((e,t)=>null===e.value?-1:null===t.value?1:e.value===t.value?0:e.value<t.value?-1:1)}(n,a);if("percentage"!==l)return u;let o=u.reduce((e,t)=>{let{value:n}=t;return e+(n??0)},0);return u.map(e=>{let t=(e.value??0)/o*100;return{...e,value:t}})},[c,a,l,t]);return void 0===o?null:(0,u.jsx)(p.Z,{sx:{padding:`${m}px`},children:(0,u.jsx)(M,{width:o.width-2*m,height:o.height-2*m,data:d,format:n,mode:l})})},panelOptionsEditorComponents:[{label:"Settings",content:function(e){let{onChange:t,value:n}=e,h=f()({},a,n.format);return(0,u.jsxs)(s.OptionsEditorGrid,{children:[(0,u.jsx)(s.OptionsEditorColumn,{children:(0,u.jsxs)(s.OptionsEditorGroup,{title:"Misc",children:[(0,u.jsx)(s.FormatControls,{value:h,onChange:e=>{t((0,d.produce)(n,t=>{t.format=e}))},disabled:"percentage"===n.mode}),(0,u.jsx)(m.CalculationSelector,{value:n.calculation,onChange:e=>{t((0,d.produce)(n,t=>{t.calculation=e}))}}),(0,u.jsx)(s.SortSelector,{value:n.sort,onChange:e=>{t((0,d.produce)(n,t=>{t.sort=e}))}}),(0,u.jsx)(s.ModeSelector,{value:n.mode,onChange:e=>{t((0,d.produce)(n,t=>{t.mode=e}))},disablePercentageMode:(0,c.PX)(h)})]})}),(0,u.jsx)(s.OptionsEditorColumn,{children:(0,u.jsx)(s.OptionsEditorGroup,{title:"Reset Settings",children:(0,u.jsx)(o.Z,{variant:"outlined",color:"secondary",onClick:()=>{t((0,d.produce)(n,e=>{e.calculation=r.K2,e.format=a,e.sort=i,e.mode=l}))},children:"Reset To Defaults"})})})]})}}],supportedQueryTypes:["TimeSeriesQuery"],createInitialOptions:function(){return{calculation:r.K2,format:a,sort:i,mode:l}}}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see lib-router.10c5a0f9.js.LICENSE.txt */
2
- "use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["118"],{46403:function(e,t,r){var n,a,o,i;function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{AV:()=>B,Cd:()=>D,Ep:()=>v,Gn:()=>P,J0:()=>h,LX:()=>L,OF:()=>V,PP:()=>u,PQ:()=>I,RQ:()=>O,WK:()=>K,WS:()=>R,X3:()=>H,Zn:()=>k,aU:()=>n,cP:()=>y,cm:()=>T,fZ:()=>z,fp:()=>E,gx:()=>$,i3:()=>_,lX:()=>c,ov:()=>ee,p7:()=>eo,pC:()=>j,q_:()=>d,qp:()=>et,uX:()=>J}),(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let s="popstate";function u(e){let t;void 0===e&&(e={});let{initialEntries:r=["/"],initialIndex:a,v5Compat:o=!1}=e;t=r.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let i=u(null==a?t.length-1:a),l=n.Pop,s=null;function u(e){return Math.min(Math.max(e,0),t.length-1)}function c(e,r,n){void 0===r&&(r=null);let a=m(t?t[i].pathname:"/",e,r,n);return f("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:v(e)}return{get index(){return i},get action(){return l},get location(){return t[i]},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?y(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){l=n.Push;let a=c(e,r);i+=1,t.splice(i,t.length,a),o&&s&&s({action:l,location:a,delta:1})},replace(e,r){l=n.Replace;let a=c(e,r);t[i]=a,o&&s&&s({action:l,location:a,delta:0})},go(e){l=n.Pop;let r=u(i+e),a=t[r];i=r,s&&s({action:l,location:a,delta:e})},listen:e=>(s=e,()=>{s=null})}}function c(e){return void 0===e&&(e={}),g(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return m("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:v(t)},null,e)}function d(e){return void 0===e&&(e={}),g(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=y(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),m("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:v(t))},function(e,t){f("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function h(e,t){if(!1===e||null==e)throw Error(t)}function f(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t}}function m(e,t,r,n){return void 0===r&&(r=null),l({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?y(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function v(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function y(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function g(e,t,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,u=o.history,c=n.Pop,d=null,f=y();function y(){return(u.state||{idx:null}).idx}function g(){c=n.Pop;let e=y(),t=null==e?null:e-f;f=e,d&&d({action:c,location:w.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:v(e);return h(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==f&&(f=0,u.replaceState(l({},u.state,{idx:f}),""));let w={get action(){return c},get location(){return e(o,u)},listen(e){if(d)throw Error("A history only accepts one active listener");return o.addEventListener(s,g),d=e,()=>{o.removeEventListener(s,g),d=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=n.Push;let a=m(w.location,e,t);r&&r(a,e);let l=p(a,f=y()+1),s=w.createHref(a);try{u.pushState(l,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(s)}i&&d&&d({action:c,location:w.location,delta:1})},replace:function(e,t){c=n.Replace;let a=m(w.location,e,t);r&&r(a,e);let o=p(a,f=y()),l=w.createHref(a);u.replaceState(o,"",l),i&&d&&d({action:c,location:w.location,delta:0})},go:e=>u.go(e)};return w}(i=a||(a={})).data="data",i.deferred="deferred",i.redirect="redirect",i.error="error";let b=new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(h(!0!==e.index||!e.children,"Cannot specify children on an index route"),h(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=l({},e,t(e),{id:i});return n[i]=r,r}{let r=l({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=w(e.children,t,o,n)),r}})}function E(e,t,r){return void 0===r&&(r="/"),S(e,t,r,!1)}function S(e,t,r,n){let a=k(("string"==typeof t?y(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{var l,s;let u,c,d={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};d.relativePath.startsWith("/")&&(h(d.relativePath.startsWith(a),'Absolute route path "'+d.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),d.relativePath=d.relativePath.slice(a.length));let f=O([a,d.relativePath]),p=n.concat(d);t.children&&t.children.length>0&&(h(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+f+'".'),e(t.children,r,p,f)),(null!=t.path||t.index)&&r.push({path:f,score:(l=f,s=t.index,c=(u=l.split("/")).length,u.some(C)&&(c+=-2),s&&(c+=2),u.filter(e=>!C(e)).reduce((e,t)=>e+(x.test(t)?3:""===t?1:10),c)),routesMeta:p})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e<o.length;++e){let t=D(a);i=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],s=e===n.length-1,u="/"===o?t:t.slice(o.length)||"/",c=L({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=L({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:O([o,c.pathname]),pathnameBase:M(O([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=O([o,c.pathnameBase]))}return i}(o[e],t,n)}return i}function R(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}let x=/^:[\w-]+$/,C=e=>"*"===e;function P(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(f(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));let n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&"*"===e)return a(t["*"]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return h("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function L(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),f("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=h[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=h[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function D(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return f(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function k(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function _(e,t){var r;let n;void 0===t&&(t="/");let{pathname:a,search:o="",hash:i=""}="string"==typeof e?y(e):e;return{pathname:a?a.startsWith("/")?a:(r=a,n=t.replace(/\/+$/,"").split("/"),r.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"):t,search:F(o),hash:N(i)}}function U(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function A(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function T(e,t){let r=A(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function j(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=y(e):(h(!(a=l({},e)).pathname||!a.pathname.includes("?"),U("?","pathname","search",a)),h(!a.pathname||!a.pathname.includes("#"),U("#","pathname","hash",a)),h(!a.search||!a.search.includes("#"),U("#","search","hash",a)));let i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=_(a,o),c=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}let O=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",N=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",B=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),l({},r,{headers:n}))};class H extends Error{}class W{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],h(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>r=t),this.controller=new AbortController;let n=()=>r(new H("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(r,e,void 0,t),t=>this.onSettle(r,e,t));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof H)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(t=>{this.subscribe(n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return h(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:function(e){if(!(e instanceof Promise&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}let I=function(e,t){return void 0===t&&(t={}),new W(e,"number"==typeof t?{status:t}:t)},J=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,l({},r,{headers:n}))},z=(e,t)=>{let r=J(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},$=(e,t)=>{let r=J(e,t);return r.headers.set("X-Remix-Replace","true"),r};class V{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function K(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let X=["post","put","patch","delete"],Z=new Set(X),q=new Set(["get",...X]),Y=new Set([301,302,303,307,308]),Q=new Set([307,308]),G={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ee={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},et={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},er=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,en=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ea="remix-router-transitions";function eo(e){let t,r,o,i,s,u,c=e.window?e.window:"undefined"!=typeof window?window:void 0,d=void 0!==c&&void 0!==c.document&&void 0!==c.document.createElement,p=!d;if(h(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=en;let v={},y=w(e.routes,t,void 0,v),g=e.basename||"/",b=e.dataStrategy||em,x=e.patchRoutesOnNavigation,C=l({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),P=null,L=new Set,D=null,_=null,U=null,A=null!=e.hydrationData,T=E(y,e.history.location,g),j=!1,O=null;if(null==T&&!x){let t=eD(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=eL(y);T=r,O={[n.id]:t}}if(T&&!e.hydrationData&&to(T,y,e.history.location.pathname).active&&(T=null),T)if(T.some(e=>e.route.lazy))o=!1;else if(T.some(e=>e.route.loader))if(C.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=T.findIndex(e=>void 0!==r[e.route.id]);o=T.slice(0,e+1).every(e=>!ec(e.route,t,r))}else o=T.every(e=>!ec(e.route,t,r))}else o=null!=e.hydrationData;else o=!0;else if(o=!1,T=[],C.v7_partialHydration){let t=to(null,y,e.history.location.pathname);t.active&&t.matches&&(j=!0,T=t.matches)}let M={historyAction:e.history.action,location:e.history.location,matches:T,initialized:o,navigation:G,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},F=n.Pop,N=!1,B=!1,H=new Map,W=null,I=!1,J=!1,z=[],$=new Set,V=new Map,X=0,Z=-1,q=new Map,eo=new Set,es=new Map,ed=new Map,eh=new Set,ep=new Map,ey=new Map;function eE(e,t){void 0===t&&(t={}),M=l({},M,e);let r=[],n=[];C.v7_fetcherPersist&&M.fetchers.forEach((e,t)=>{"idle"===e.state&&(eh.has(t)?n.push(t):r.push(t))}),eh.forEach(e=>{M.fetchers.has(e)||V.has(e)||n.push(e)}),[...L].forEach(e=>e(M,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),C.v7_fetcherPersist?(r.forEach(e=>M.fetchers.delete(e)),n.forEach(e=>e4(e))):n.forEach(e=>eh.delete(e))}function eS(t,a,o){var i,s;let u,c,{flushSync:d}=void 0===o?{}:o,h=null!=M.actionData&&null!=M.navigation.formMethod&&eM(M.navigation.formMethod)&&"loading"===M.navigation.state&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;u=a.actionData?Object.keys(a.actionData).length>0?a.actionData:null:h?M.actionData:null;let f=a.loaderData?ex(M.loaderData,a.loaderData,a.matches||[],a.errors):M.loaderData,p=M.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,et));let m=!0===N||null!=M.navigation.formMethod&&eM(M.navigation.formMethod)&&(null==(s=t.state)?void 0:s._isRedirect)!==!0;if(r&&(y=r,r=void 0),I||F===n.Pop||(F===n.Push?e.history.push(t,t.state):F===n.Replace&&e.history.replace(t,t.state)),F===n.Pop){let e=H.get(M.location.pathname);e&&e.has(t.pathname)?c={currentLocation:M.location,nextLocation:t}:H.has(t.pathname)&&(c={currentLocation:t,nextLocation:M.location})}else if(B){let e=H.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),H.set(M.location.pathname,e)),c={currentLocation:M.location,nextLocation:t}}eE(l({},a,{actionData:u,loaderData:f,historyAction:F,location:t,initialized:!0,navigation:G,revalidation:"idle",restoreScrollPosition:ta(t,a.matches||M.matches),preventScrollReset:m,blockers:p}),{viewTransitionOpts:c,flushSync:!0===d}),F=n.Pop,N=!1,B=!1,I=!1,J=!1,z=[]}async function e_(t,r){if("number"==typeof t)return void e.history.go(t);let a=ei(M.location,M.matches,g,C.v7_prependBasename,t,C.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:i,error:s}=el(C.v7_normalizeFormMethod,!1,a,r),u=M.location,c=m(M.location,o,r&&r.state);c=l({},c,e.history.encodeLocation(c));let d=r&&null!=r.replace?r.replace:void 0,h=n.Push;!0===d?h=n.Replace:!1===d||null!=i&&eM(i.formMethod)&&i.formAction===M.location.pathname+M.location.search&&(h=n.Replace);let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,p=!0===(r&&r.flushSync),v=te({currentLocation:u,nextLocation:c,historyAction:h});return v?void e9(v,{state:"blocked",location:c,proceed(){e9(v,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),e_(t,r)},reset(){let e=new Map(M.blockers);e.set(v,et),eE({blockers:e})}}):await ej(h,c,{submission:i,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:p})}async function ej(t,n,o){var i,u,c,d;let h;s&&s.abort(),s=null,F=t,I=!0===(o&&o.startUninterruptedRevalidation),i=M.location,u=M.matches,D&&U&&(D[tn(i,u)]=U()),N=!0===(o&&o.preventScrollReset),B=!0===(o&&o.enableViewTransition);let f=r||y,p=o&&o.overrideNavigation,m=null!=o&&o.initialHydration&&M.matches&&M.matches.length>0&&!j?M.matches:E(f,n,g),v=!0===(o&&o.flushSync);if(m&&M.initialized&&!J&&(c=M.location,d=n,c.pathname===d.pathname&&c.search===d.search&&(""===c.hash?""!==d.hash:c.hash===d.hash||""!==d.hash||!1))&&!(o&&o.submission&&eM(o.submission.formMethod)))return void eS(n,{matches:m},{flushSync:v});let b=to(m,f,n.pathname);if(b.active&&b.matches&&(m=b.matches),!m){let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);eS(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:v});return}s=new AbortController;let w=ew(e.history,n,s.signal,o&&o.submission);if(o&&o.pendingError)h=[eP(m).route.id,{type:a.error,error:o.pendingError}];else if(o&&o.submission&&eM(o.submission.formMethod)){let t=await eH(w,n,o.submission,m,b.active,{replace:o.replace,flushSync:v});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(eA(r)&&K(r.error)&&404===r.error.status){s=null,eS(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}m=t.matches||m,h=t.pendingActionResult,p=eJ(n,o.submission),v=!1,b.active=!1,w=ew(e.history,w.url,w.signal)}let{shortCircuited:S,matches:R,loaderData:x,errors:C}=await eV(w,n,m,b.active,p,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,v,h);S||(s=null,eS(n,l({matches:R||m},eC(h),{loaderData:x,errors:C})))}async function eH(e,t,r,o,i,l){var s;let u;if(void 0===l&&(l={}),eG(),eE({navigation:{state:"submitting",location:t,formMethod:(s=r).formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}},{flushSync:!0===l.flushSync}),i){let r=await ti(o,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=eP(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:a.error,error:r.error}]}}if(r.matches)o=r.matches;else{let{notFoundMatches:e,error:r,route:n}=tt(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:a.error,error:r}]}}}let c=eW(o,t);if(c.route.action||c.route.lazy){if(u=(await eY("action",M,e,[c],o,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else u={type:a.error,error:eD(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(eT(u)){let t;return t=l&&null!=l.replace?l.replace:eb(u.response.headers.get("Location"),new URL(e.url),g)===M.location.pathname+M.location.search,await eq(e,u,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(eU(u))throw eD(400,{type:"defer-action"});if(eA(u)){let e=eP(o,c.route.id);return!0!==(l&&l.replace)&&(F=n.Push),{matches:o,pendingActionResult:[e.route.id,u]}}return{matches:o,pendingActionResult:[c.route.id,u]}}async function eV(t,n,a,o,i,u,c,d,h,f,p){let m=i||eJ(n,u),v=u||c||eI(m),b=!I&&(!C.v7_partialHydration||!h);if(o){if(b){let e=eK(p);eE(l({navigation:m},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await ti(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eP(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let w=r||y,[E,S]=eu(e.history,M,a,v,n,C.v7_partialHydration&&!0===h,C.v7_skipActionErrorRevalidation,J,z,$,eh,es,eo,w,g,p);if(tr(e=>!(a&&a.some(t=>t.route.id===e))||E&&E.some(t=>t.route.id===e)),Z=++X,0===E.length&&0===S.length){let e=e5();return eS(n,l({matches:a,loaderData:{},errors:p&&eA(p[1])?{[p[0]]:p[1].error}:null},eC(p),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(b){let e={};if(!o){e.navigation=m;let t=eK(p);void 0!==t&&(e.actionData=t)}S.length>0&&(S.forEach(e=>{let t=M.fetchers.get(e.key),r=ez(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)}),e.fetchers=new Map(M.fetchers)),eE(e,{flushSync:f})}S.forEach(e=>{e3(e.key),e.controller&&V.set(e.key,e.controller)});let R=()=>S.forEach(e=>e3(e.key));s&&s.signal.addEventListener("abort",R);let{loaderResults:x,fetcherResults:P}=await eQ(M,a,E,S,t);if(t.signal.aborted)return{shortCircuited:!0};s&&s.signal.removeEventListener("abort",R),S.forEach(e=>V.delete(e.key));let L=ek(x);if(L)return await eq(t,L.result,!0,{replace:d}),{shortCircuited:!0};if(L=ek(P))return eo.add(L.key),await eq(t,L.result,!0,{replace:d}),{shortCircuited:!0};let{loaderData:D,errors:k}=eR(M,a,x,p,S,P,ep);ep.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ep.delete(t)})}),C.v7_partialHydration&&h&&M.errors&&(k=l({},M.errors,k));let _=e5(),U=e6(Z),A=_||U||S.length>0;return l({matches:a,loaderData:D,errors:k},A?{fetchers:new Map(M.fetchers)}:{})}function eK(e){if(e&&!eA(e[1]))return{[e[0]]:e[1].data};if(M.actionData)if(0===Object.keys(M.actionData).length)return null;else return M.actionData}async function eX(t,n,a,o,i,l,u,c,d){var f,p;function m(e){if(!e.route.action&&!e.route.lazy){let e=eD(405,{method:d.formMethod,pathname:a,routeId:n});return e1(t,n,e,{flushSync:u}),!0}return!1}if(eG(),es.delete(t),!l&&m(o))return;let v=M.fetchers.get(t);e0(t,(f=d,p=v,{state:"submitting",formMethod:f.formMethod,formAction:f.formAction,formEncType:f.formEncType,formData:f.formData,json:f.json,text:f.text,data:p?p.data:void 0}),{flushSync:u});let b=new AbortController,w=ew(e.history,a,b.signal,d);if(l){let e=await ti(i,new URL(w.url).pathname,w.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,n,e.error,{flushSync:u});if(!e.matches)return void e1(t,n,eD(404,{pathname:a}),{flushSync:u});if(m(o=eW(i=e.matches,a)))return}V.set(t,b);let S=X,R=(await eY("action",M,w,[o],i,t))[o.route.id];if(w.signal.aborted){V.get(t)===b&&V.delete(t);return}if(C.v7_fetcherPersist&&eh.has(t)){if(eT(R)||eA(R))return void e0(t,e$(void 0))}else{if(eT(R))return(V.delete(t),Z>S)?void e0(t,e$(void 0)):(eo.add(t),e0(t,ez(d)),eq(w,R,!1,{fetcherSubmission:d,preventScrollReset:c}));if(eA(R))return void e1(t,n,R.error)}if(eU(R))throw eD(400,{type:"defer-action"});let x=M.navigation.location||M.location,P=ew(e.history,x,b.signal),L=r||y,D="idle"!==M.navigation.state?E(L,M.navigation.location,g):M.matches;h(D,"Didn't find any matches after fetcher action");let k=++X;q.set(t,k);let _=ez(d,R.data);M.fetchers.set(t,_);let[U,A]=eu(e.history,M,D,d,x,!1,C.v7_skipActionErrorRevalidation,J,z,$,eh,es,eo,L,g,[o.route.id,R]);A.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=M.fetchers.get(t),n=ez(void 0,r?r.data:void 0);M.fetchers.set(t,n),e3(t),e.controller&&V.set(t,e.controller)}),eE({fetchers:new Map(M.fetchers)});let T=()=>A.forEach(e=>e3(e.key));b.signal.addEventListener("abort",T);let{loaderResults:j,fetcherResults:O}=await eQ(M,D,U,A,P);if(b.signal.aborted)return;b.signal.removeEventListener("abort",T),q.delete(t),V.delete(t),A.forEach(e=>V.delete(e.key));let N=ek(j);if(N)return eq(P,N.result,!1,{preventScrollReset:c});if(N=ek(O))return eo.add(N.key),eq(P,N.result,!1,{preventScrollReset:c});let{loaderData:B,errors:H}=eR(M,D,j,void 0,A,O,ep);if(M.fetchers.has(t)){let e=e$(R.data);M.fetchers.set(t,e)}e6(k),"loading"===M.navigation.state&&k>Z?(h(F,"Expected pending action"),s&&s.abort(),eS(M.navigation.location,{matches:D,loaderData:B,errors:H,fetchers:new Map(M.fetchers)})):(eE({errors:H,loaderData:ex(M.loaderData,B,D,H),fetchers:new Map(M.fetchers)}),J=!1)}async function eZ(t,r,n,a,o,i,l,s,u){let c=M.fetchers.get(t);e0(t,ez(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,f=ew(e.history,n,d.signal);if(i){let e=await ti(o,new URL(f.url).pathname,f.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,r,e.error,{flushSync:l});if(!e.matches)return void e1(t,r,eD(404,{pathname:n}),{flushSync:l});a=eW(o=e.matches,n)}V.set(t,d);let p=X,m=(await eY("loader",M,f,[a],o,t))[a.route.id];if(eU(m)&&(m=await eB(m,f.signal,!0)||m),V.get(t)===d&&V.delete(t),!f.signal.aborted){if(eh.has(t))return void e0(t,e$(void 0));if(eT(m))if(Z>p)return void e0(t,e$(void 0));else{eo.add(t),await eq(f,m,!1,{preventScrollReset:s});return}if(eA(m))return void e1(t,r,m.error);h(!eU(m),"Unhandled fetcher deferred data"),e0(t,e$(m.data))}}async function eq(t,r,a,o){let{submission:i,fetcherSubmission:u,preventScrollReset:f,replace:p}=void 0===o?{}:o;r.response.headers.has("X-Remix-Revalidate")&&(J=!0);let v=r.response.headers.get("Location");h(v,"Expected a Location header on the redirect Response"),v=eb(v,new URL(t.url),g);let y=m(M.location,v,{_isRedirect:!0});if(d){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(er.test(v)){let r=e.history.createURL(v);t=r.origin!==c.location.origin||null==k(r.pathname,g)}if(t)return void(p?c.location.replace(v):c.location.assign(v))}s=null;let b=!0===p||r.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:w,formAction:E,formEncType:S}=M.navigation;!i&&!u&&w&&E&&S&&(i=eI(M.navigation));let R=i||u;if(Q.has(r.response.status)&&R&&eM(R.formMethod))await ej(b,y,{submission:l({},R,{formAction:v}),preventScrollReset:f||N,enableViewTransition:a?B:void 0});else{let e=eJ(y,i);await ej(b,y,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:f||N,enableViewTransition:a?B:void 0})}}async function eY(e,r,n,o,i,l){let s,u={};try{s=await ev(b,e,r,n,o,i,l,v,t)}catch(e){return o.forEach(t=>{u[t.route.id]={type:a.error,error:e}}),u}for(let[e,t]of Object.entries(s)){var c;if(eO((c=t).result)&&Y.has(c.result.status)){let r=t.result;u[e]={type:a.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(h(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!er.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=ei(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,i,g,C.v7_relativeSplatPath)}}else u[e]=await eg(t)}return u}async function eQ(t,r,n,o,i){let l=t.matches,s=eY("loader",t,i,n,r,null),u=Promise.all(o.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:a.error,error:eD(404,{pathname:r.path})}});{let n=(await eY("loader",t,ew(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),c=await s,d=(await u).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([eF(r,c,i.signal,l,t.loaderData),eN(r,d,o)]),{loaderResults:c,fetcherResults:d}}function eG(){J=!0,z.push(...tr()),es.forEach((e,t)=>{V.has(t)&&$.add(t),e3(t)})}function e0(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),eE({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function e1(e,t,r,n){void 0===n&&(n={});let a=eP(M.matches,t);e4(e),eE({errors:{[a.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function e7(e){return ed.set(e,(ed.get(e)||0)+1),eh.has(e)&&eh.delete(e),M.fetchers.get(e)||ee}function e4(e){let t=M.fetchers.get(e);V.has(e)&&!(t&&"loading"===t.state&&q.has(e))&&e3(e),es.delete(e),q.delete(e),eo.delete(e),C.v7_fetcherPersist&&eh.delete(e),$.delete(e),M.fetchers.delete(e)}function e3(e){let t=V.get(e);t&&(t.abort(),V.delete(e))}function e2(e){for(let t of e){let e=e$(e7(t).data);M.fetchers.set(t,e)}}function e5(){let e=[],t=!1;for(let r of eo){let n=M.fetchers.get(r);h(n,"Expected fetcher: "+r),"loading"===n.state&&(eo.delete(r),e.push(r),t=!0)}return e2(e),t}function e6(e){let t=[];for(let[r,n]of q)if(n<e){let e=M.fetchers.get(r);h(e,"Expected fetcher: "+r),"loading"===e.state&&(e3(r),q.delete(r),t.push(r))}return e2(t),t.length>0}function e8(e){M.blockers.delete(e),ey.delete(e)}function e9(e,t){let r=M.blockers.get(e)||et;h("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),eE({blockers:n})}function te(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===ey.size)return;ey.size>1&&f(!1,"A router only supports one blocker at a time");let a=Array.from(ey.entries()),[o,i]=a[a.length-1],l=M.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function tt(e){let t=eD(404,{pathname:e}),{matches:n,route:a}=eL(r||y);return tr(),{notFoundMatches:n,route:a,error:t}}function tr(e){let t=[];return ep.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ep.delete(n))}),t}function tn(e,t){return _&&_(e,t.map(e=>R(e,M.loaderData)))||e.key}function ta(e,t){if(D){let r=D[tn(e,t)];if("number"==typeof r)return r}return null}function to(e,t,r){if(x){if(!e)return{active:!0,matches:S(t,r,g,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:S(t,r,g,!0)}}return{active:!1,matches:null}}async function ti(e,n,a,o){if(!x)return{type:"success",matches:e};let i=e;for(;;){let e=null==r,l=r||y,s=v;try{await x({signal:a,path:n,matches:i,fetcherKey:o,patch:(e,r)=>{a.aborted||ef(e,r,l,s,t)}})}catch(e){return{type:"error",error:e,partialMatches:i}}finally{e&&!a.aborted&&(y=[...y])}if(a.aborted)return{type:"aborted"};let u=E(l,n,g);if(u)return{type:"success",matches:u};let c=S(l,n,g,!0);if(!c||i.length===c.length&&i.every((e,t)=>e.route.id===c[t].route.id))return{type:"success",matches:null};i=c}}return i={get basename(){return g},get future(){return C},get state(){return M},get routes(){return y},get window(){return c},initialize:function(){if(P=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(u){u(),u=void 0;return}f(0===ey.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=te({currentLocation:M.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{u=e});e.history.go(-1*a),e9(o,{state:"blocked",location:n,proceed(){e9(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(M.blockers);e.set(o,et),eE({blockers:e})}});return}return ej(r,n)}),d){var t=c,r=H;try{let e=t.sessionStorage.getItem(ea);if(e){let t=JSON.parse(e);for(let[e,n]of Object.entries(t||{}))n&&Array.isArray(n)&&r.set(e,new Set(n||[]))}}catch(e){}let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ea,JSON.stringify(r))}catch(e){f(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(c,H);c.addEventListener("pagehide",e),W=()=>c.removeEventListener("pagehide",e)}return M.initialized||ej(n.Pop,M.location,{initialHydration:!0}),i},subscribe:function(e){return L.add(e),()=>L.delete(e)},enableScrollRestoration:function(e,t,r){if(D=e,U=t,_=r||null,!A&&M.navigation===G){A=!0;let e=ta(M.location,M.matches);null!=e&&eE({restoreScrollPosition:e})}return()=>{D=null,U=null,_=null}},navigate:e_,fetch:function(e,t,n,a){if(p)throw Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");e3(e);let o=!0===(a&&a.flushSync),i=r||y,l=ei(M.location,M.matches,g,C.v7_prependBasename,n,C.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=E(i,l,g),u=to(s,i,l);if(u.active&&u.matches&&(s=u.matches),!s)return void e1(e,t,eD(404,{pathname:l}),{flushSync:o});let{path:c,submission:d,error:h}=el(C.v7_normalizeFormMethod,!0,l,a);if(h)return void e1(e,t,h,{flushSync:o});let f=eW(s,c),m=!0===(a&&a.preventScrollReset);if(d&&eM(d.formMethod))return void eX(e,t,c,f,s,u.active,o,m,d);es.set(e,{routeId:t,path:c}),eZ(e,t,c,f,s,u.active,o,m,d)},revalidate:function(){if(eG(),eE({revalidation:"loading"}),"submitting"!==M.navigation.state){if("idle"===M.navigation.state)return void ej(M.historyAction,M.location,{startUninterruptedRevalidation:!0});ej(F||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:!0===B})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:e7,deleteFetcher:function(e){let t=(ed.get(e)||0)-1;t<=0?(ed.delete(e),eh.add(e),C.v7_fetcherPersist||e4(e)):ed.set(e,t),eE({fetchers:new Map(M.fetchers)})},dispose:function(){P&&P(),W&&W(),L.clear(),s&&s.abort(),M.fetchers.forEach((e,t)=>e4(t)),M.blockers.forEach((e,t)=>e8(t))},getBlocker:function(e,t){let r=M.blockers.get(e)||et;return ey.get(e)!==t&&ey.set(e,t),r},deleteBlocker:e8,patchRoutes:function(e,n){let a=null==r;ef(e,n,r||y,v,t),a&&(y=[...y],eE({}))},_internalFetchControllers:V,_internalActiveDeferreds:ep,_internalSetRoutes:function(e){r=w(e,t,void 0,v={})}}}function ei(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=j(a||".",T(s,o),k(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=eH(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:O([r,c.pathname])),v(c)}function el(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!q.has(a.toLowerCase())))return{path:r,error:eD(405,{method:n.formMethod})};let l=()=>({path:r,error:eD(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=e_(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eM(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if("application/json"===n.formEncType){if(!eM(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(h("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=eE(n.formData),i=n.formData;else if(n.body instanceof FormData)o=eE(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=eS(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eS(o)}catch(e){return l()}let d={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eM(d.formMethod))return{path:r,submission:d};let f=y(r);return t&&f.search&&eH(f.search)&&o.append("index",""),f.search="?"+o,{path:v(f),submission:d}}function es(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function eu(e,t,r,n,a,o,i,s,u,c,d,h,f,p,m,v){let y=v?eA(v[1])?v[1].error:v[1].data:void 0,g=e.createURL(t.location),b=e.createURL(a),w=r;o&&t.errors?w=es(r,Object.keys(t.errors)[0],!0):v&&eA(v[1])&&(w=es(r,v[0]));let S=v?v[1].statusCode:void 0,R=i&&S&&S>=400,x=w.filter((e,r)=>{var a,i,c;let d,h,{route:f}=e;if(f.lazy)return!0;if(null==f.loader)return!1;if(o)return ec(f,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],c=e,d=!i||c.route.id!==i.route.id,h=void 0===a[c.route.id],d||h||u.some(t=>t===e.route.id))return!0;let p=t.matches[r];return eh(e,l({currentUrl:g,currentParams:p.params,nextUrl:b,nextParams:e.params},n,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!R&&(s||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||ed(p,e))}))}),C=[];return h.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||d.has(a))return;let i=E(p,e.path,m);if(!i)return void C.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),h=eW(i,e.path),v=!1;f.has(a)?v=!1:c.has(a)?(c.delete(a),v=!0):v=u&&"idle"!==u.state&&void 0===u.data?s:eh(h,l({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!R&&s})),v&&C.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:h,controller:new AbortController})}),[x,C]}function ec(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function ed(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eh(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function ef(e,t,r,n,a){var o;let i;if(e){let t=n[e];h(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=w(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function ep(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];h(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;f(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||b.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,l({},t(a),{lazy:void 0}))}async function em(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function ev(e,t,r,n,o,i,s,u,c,d){let h=i.map(e=>e.route.lazy?ep(e.route,c,u):void 0),f=i.map((e,r)=>{let i=h[r],s=o.some(t=>t.route.id===e.route.id),u=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?ey(t,n,e,i,r,d):Promise.resolve({type:a.data,result:void 0}));return l({},e,{shouldLoad:s,resolve:u})}),p=await e({matches:f,request:n,params:i[0].params,fetcherKey:s,context:d});try{await Promise.all(h)}catch(e){}return p}async function ey(e,t,r,n,o,i){let l,s,u=n=>{let a,l=new Promise((e,t)=>a=t);s=()=>a(),t.signal.addEventListener("abort",s);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:i},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (o?o(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),l])};try{let o=r.route[e];if(n)if(o){let e,[t]=await Promise.all([u(o).catch(t=>{e=t}),n]);if(void 0!==e)throw e;l=t}else if(await n,o=r.route[e])l=await u(o);else{if("action"!==e)return{type:a.data,result:void 0};let n=new URL(t.url),o=n.pathname+n.search;throw eD(405,{method:t.method,pathname:o,routeId:r.route.id})}else if(o)l=await u(o);else{let e=new URL(t.url),r=e.pathname+e.search;throw eD(404,{pathname:r})}h(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `")+e+"` function. Please return a value or `null`.")}catch(e){return{type:a.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return l}async function eg(e){var t,r,n,o,i,l,s,u,c;let{result:d,type:h}=e;if(eO(d)){let e;try{let t=d.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==d.body?null:await d.json():await d.text()}catch(e){return{type:a.error,error:e}}return h===a.error?{type:a.error,error:new V(d.status,d.statusText,e),statusCode:d.status,headers:d.headers}:{type:a.data,data:e,statusCode:d.status,headers:d.headers}}if(h===a.error)return ej(d)?d.data instanceof Error?{type:a.error,error:d.data,statusCode:null==(n=d.init)?void 0:n.status,headers:null!=(o=d.init)&&o.headers?new Headers(d.init.headers):void 0}:{type:a.error,error:new V((null==(t=d.init)?void 0:t.status)||500,void 0,d.data),statusCode:K(d)?d.status:void 0,headers:null!=(r=d.init)&&r.headers?new Headers(d.init.headers):void 0}:{type:a.error,error:d,statusCode:K(d)?d.status:void 0};return(c=d)&&"object"==typeof c&&"object"==typeof c.data&&"function"==typeof c.subscribe&&"function"==typeof c.cancel&&"function"==typeof c.resolveData?{type:a.deferred,deferredData:d,statusCode:null==(i=d.init)?void 0:i.status,headers:(null==(l=d.init)?void 0:l.headers)&&new Headers(d.init.headers)}:ej(d)?{type:a.data,data:d.data,statusCode:null==(s=d.init)?void 0:s.status,headers:null!=(u=d.init)&&u.headers?new Headers(d.init.headers):void 0}:{type:a.data,data:d}}function eb(e,t,r){if(er.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e),a=null!=k(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function ew(e,t,r,n){let a=e.createURL(e_(t)).toString(),o={signal:r};if(n&&eM(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=eE(n.formData):o.body=n.formData}return new Request(a,o)}function eE(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function eS(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function eR(e,t,r,n,a,o,i){let s,u,c,d,f,p,{loaderData:m,errors:v}=(u={},c=null,d=!1,f={},p=n&&eA(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(h(!eT(a),"Cannot handle redirect results in processLoaderData"),eA(a)){let e=a.error;void 0!==p&&(e=p,p=void 0),c=c||{},1;{let r=eP(t,n);null==c[r.route.id]&&(c[r.route.id]=e)}u[n]=void 0,d||(d=!0,s=K(a.error)?a.error.status:500),a.headers&&(f[n]=a.headers)}else eU(a)?(i.set(n,a.deferredData),u[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||d||(s=a.statusCode)):(u[n]=a.data,a.statusCode&&200!==a.statusCode&&!d&&(s=a.statusCode)),a.headers&&(f[n]=a.headers)}),void 0!==p&&n&&(c={[n[0]]:p},u[n[0]]=void 0),{loaderData:u,errors:c,statusCode:s||200,loaderHeaders:f});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(h(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(eA(i)){let t=eP(e.matches,null==n?void 0:n.route.id);v&&v[t.route.id]||(v=l({},v,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(eT(i))h(!1,"Unhandled fetcher revalidation redirect");else if(eU(i))h(!1,"Unhandled fetcher deferred data");else{let t=e$(i.data);e.fetchers.set(r,t)}}),{loaderData:m,errors:v}}function ex(e,t,r,n){let a=l({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function eC(e){return e?eA(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eP(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eL(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eD(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new V(e||500,l,Error(s),!0)}function ek(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(eT(n))return{key:r,result:n}}}function e_(e){let t="string"==typeof e?y(e):e;return v(l({},t,{hash:""}))}function eU(e){return e.type===a.deferred}function eA(e){return e.type===a.error}function eT(e){return(e&&e.type)===a.redirect}function ej(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function eO(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eM(e){return Z.has(e.toLowerCase())}async function eF(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[l,s]=o[i],u=e.find(e=>(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!ed(c,u)&&(a&&a[u.route.id])!==void 0;eU(s)&&d&&await eB(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eN(e,t,r){for(let n=0;n<r.length;n++){let{key:a,routeId:o,controller:i}=r[n],l=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&eU(l)&&(h(i,"Expected an AbortController for revalidating fetcher deferred result"),await eB(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eB(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:a.data,data:e.deferredData.unwrappedData}}catch(e){return{type:a.error,error:e}}return{type:a.data,data:e.deferredData.data}}}function eH(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function eW(e,t){let r="string"==typeof t?y(t).search:t.search;if(e[e.length-1].route.index&&eH(r||""))return e[e.length-1];let n=A(e);return n[n.length-1]}function eI(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eJ(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ez(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function e$(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}Symbol("deferred")},65783:function(e,t,r){r.r(t),r.d(t,{AbortedDeferredError:()=>c.X3,Await:()=>u.KP,BrowserRouter:()=>j,Form:()=>W,HashRouter:()=>O,Link:()=>B,MemoryRouter:()=>u.VA,NavLink:()=>H,Navigate:()=>u.Fg,NavigationType:()=>c.aU,Outlet:()=>u.j3,Route:()=>u.AW,Router:()=>u.F0,RouterProvider:()=>A,Routes:()=>u.Z5,ScrollRestoration:()=>I,UNSAFE_DataRouterContext:()=>u.w3,UNSAFE_DataRouterStateContext:()=>u.FR,UNSAFE_ErrorResponseImpl:()=>c.OF,UNSAFE_FetchersContext:()=>P,UNSAFE_LocationContext:()=>u.gd,UNSAFE_NavigationContext:()=>u.Us,UNSAFE_RouteContext:()=>u.pW,UNSAFE_ViewTransitionContext:()=>C,UNSAFE_useRouteId:()=>u.Yi,UNSAFE_useScrollRestoration:()=>et,createBrowserRouter:()=>S,createHashRouter:()=>R,createMemoryRouter:()=>u.bi,createPath:()=>c.Ep,createRoutesFromChildren:()=>u.is,createRoutesFromElements:()=>u.i7,createSearchParams:()=>m,defer:()=>c.PQ,generatePath:()=>c.Gn,isRouteErrorResponse:()=>c.WK,json:()=>c.AV,matchPath:()=>c.LX,matchRoutes:()=>c.fp,parsePath:()=>c.cP,redirect:()=>c.uX,redirectDocument:()=>c.fZ,renderMatches:()=>u.Oe,replace:()=>c.gx,resolvePath:()=>c.i3,unstable_HistoryRouter:()=>M,unstable_usePrompt:()=>en,useActionData:()=>u.nA,useAsyncError:()=>u.iG,useAsyncValue:()=>u.qv,useBeforeUnload:()=>er,useBlocker:()=>u._Z,useFetcher:()=>Y,useFetchers:()=>Q,useFormAction:()=>q,useHref:()=>u.oQ,useInRouterContext:()=>u.GV,useLinkClickHandler:()=>$,useLoaderData:()=>u.f_,useLocation:()=>u.TH,useMatch:()=>u.bS,useMatches:()=>u.SN,useNavigate:()=>u.s0,useNavigation:()=>u.HJ,useNavigationType:()=>u.ur,useOutlet:()=>u.pC,useOutletContext:()=>u.bx,useParams:()=>u.UO,useResolvedPath:()=>u.WU,useRevalidator:()=>u.xW,useRouteError:()=>u.lk,useRouteLoaderData:()=>u.V4,useRoutes:()=>u.V$,useSearchParams:()=>V,useSubmit:()=>Z,useViewTransitionState:()=>ea});var n,a,o,i,l=r(8218),s=r(28830),u=r(14935),c=r(46403);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}let f="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function m(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let v=null,y=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function g(e){return null==e||y.has(e)?e:null}let b=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],w=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],E=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function S(e,t){return(0,c.p7)({basename:null==t?void 0:t.basename,future:d({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,c.lX)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||x(),routes:e,mapRouteProperties:u.us,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function R(e,t){return(0,c.p7)({basename:null==t?void 0:t.basename,future:d({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,c.q_)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||x(),routes:e,mapRouteProperties:u.us,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function x(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=d({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new c.OF(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let C=l.createContext({isTransitioning:!1}),P=l.createContext(new Map),L=l.startTransition,D=s.flushSync,k=l.useId;function _(e){D?D(e):e()}class U{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function A(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=l.useState(r.state),[i,s]=l.useState(),[c,d]=l.useState({isTransitioning:!1}),[h,f]=l.useState(),[p,m]=l.useState(),[v,y]=l.useState(),g=l.useRef(new Map),{v7_startTransition:b}=n||{},w=l.useCallback(e=>{if(b)L?L(e):e();else e()},[b]),E=l.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}),n.forEach(e=>g.current.delete(e));let l=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||l)return void(a?_(()=>o(e)):w(()=>o(e)));if(a){_(()=>{p&&(h&&h.resolve(),p.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{_(()=>o(e))});t.finished.finally(()=>{_(()=>{f(void 0),m(void 0),s(void 0),d({isTransitioning:!1})})}),_(()=>m(t));return}p?(h&&h.resolve(),p.skipTransition(),y({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(s(e),d({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,p,h,g,w]);l.useLayoutEffect(()=>r.subscribe(E),[r,E]),l.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new U)},[c]),l.useEffect(()=>{if(h&&i&&r.window){let e=h.promise,t=r.window.document.startViewTransition(async()=>{w(()=>o(i)),await e});t.finished.finally(()=>{f(void 0),m(void 0),s(void 0),d({isTransitioning:!1})}),m(t)}},[w,i,h,r.window]),l.useEffect(()=>{h&&i&&a.location.key===i.location.key&&h.resolve()},[h,p,a.location,i]),l.useEffect(()=>{!c.isTransitioning&&v&&(s(v.state),d({isTransitioning:!0,flushSync:!1,currentLocation:v.currentLocation,nextLocation:v.nextLocation}),y(void 0))},[c.isTransitioning,v]),l.useEffect(()=>{},[]);let S=l.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),R=r.basename||"/",x=l.useMemo(()=>({router:r,navigator:S,static:!1,basename:R}),[r,S,R]),D=l.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return l.useEffect(()=>(0,u.$A)(n,r.future),[n,r.future]),l.createElement(l.Fragment,null,l.createElement(u.w3.Provider,{value:x},l.createElement(u.FR.Provider,{value:a},l.createElement(P.Provider,{value:g.current},l.createElement(C.Provider,{value:c},l.createElement(u.F0,{basename:R,location:a.location,navigationType:a.historyAction,navigator:S,future:D},a.initialized||r.future.v7_partialHydration?l.createElement(T,{routes:r.routes,future:r.future,state:a}):t))))),null)}let T=l.memo(function(e){let{routes:t,future:r,state:n}=e;return(0,u.DY)(t,void 0,n,r)});function j(e){let{basename:t,children:r,future:n,window:a}=e,o=l.useRef();null==o.current&&(o.current=(0,c.lX)({window:a,v5Compat:!0}));let i=o.current,[s,d]=l.useState({action:i.action,location:i.location}),{v7_startTransition:h}=n||{},f=l.useCallback(e=>{h&&L?L(()=>d(e)):d(e)},[d,h]);return l.useLayoutEffect(()=>i.listen(f),[i,f]),l.useEffect(()=>(0,u.$A)(n),[n]),l.createElement(u.F0,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function O(e){let{basename:t,children:r,future:n,window:a}=e,o=l.useRef();null==o.current&&(o.current=(0,c.q_)({window:a,v5Compat:!0}));let i=o.current,[s,d]=l.useState({action:i.action,location:i.location}),{v7_startTransition:h}=n||{},f=l.useCallback(e=>{h&&L?L(()=>d(e)):d(e)},[d,h]);return l.useLayoutEffect(()=>i.listen(f),[i,f]),l.useEffect(()=>(0,u.$A)(n),[n]),l.createElement(u.F0,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function M(e){let{basename:t,children:r,future:n,history:a}=e,[o,i]=l.useState({action:a.action,location:a.location}),{v7_startTransition:s}=n||{},c=l.useCallback(e=>{s&&L?L(()=>i(e)):i(e)},[i,s]);return l.useLayoutEffect(()=>a.listen(c),[a,c]),l.useEffect(()=>(0,u.$A)(n),[n]),l.createElement(u.F0,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a,future:n})}let F="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,N=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B=l.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:s,target:f,to:p,preventScrollReset:m,viewTransition:v}=e,y=h(e,b),{basename:g}=l.useContext(u.Us),w=!1;if("string"==typeof p&&N.test(p)&&(r=p,F))try{let e=new URL(window.location.href),t=new URL(p.startsWith("//")?e.protocol+p:p),r=(0,c.Zn)(t.pathname,g);t.origin===e.origin&&null!=r?p=r+t.search+t.hash:w=!0}catch(e){}let E=(0,u.oQ)(p,{relative:a}),S=$(p,{replace:i,state:s,target:f,preventScrollReset:m,relative:a,viewTransition:v});return l.createElement("a",d({},y,{href:r||E,onClick:w||o?n:function(e){n&&n(e),e.defaultPrevented||S(e)},ref:t,target:f}))}),H=l.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:s,to:f,viewTransition:p,children:m}=e,v=h(e,w),y=(0,u.WU)(f,{relative:v.relative}),g=(0,u.TH)(),b=l.useContext(u.FR),{navigator:E,basename:S}=l.useContext(u.Us),R=null!=b&&ea(y)&&!0===p,x=E.encodeLocation?E.encodeLocation(y).pathname:y.pathname,C=g.pathname,P=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;a||(C=C.toLowerCase(),P=P?P.toLowerCase():null,x=x.toLowerCase()),P&&S&&(P=(0,c.Zn)(P,S)||P);let L="/"!==x&&x.endsWith("/")?x.length-1:x.length,D=C===x||!i&&C.startsWith(x)&&"/"===C.charAt(L),k=null!=P&&(P===x||!i&&P.startsWith(x)&&"/"===P.charAt(x.length)),_={isActive:D,isPending:k,isTransitioning:R},U=D?n:void 0;r="function"==typeof o?o(_):[o,D?"active":null,k?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let A="function"==typeof s?s(_):s;return l.createElement(B,d({},v,{"aria-current":U,className:r,ref:t,style:A,to:f,viewTransition:p}),"function"==typeof m?m(_):m)}),W=l.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:o,state:i,method:s="get",action:u,onSubmit:c,relative:f,preventScrollReset:p,viewTransition:m}=e,v=h(e,E),y=Z(),g=q(u,{relative:f}),b="get"===s.toLowerCase()?"get":"post";return l.createElement("form",d({ref:t,method:b,action:g,onSubmit:a?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||s;y(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:f,preventScrollReset:p,viewTransition:m})}},v))});function I(e){let{getKey:t,storageKey:r}=e;return et({getKey:t,storageKey:r}),null}function J(e){let t=l.useContext(u.w3);return t||(0,c.J0)(!1),t}function z(e){let t=l.useContext(u.FR);return t||(0,c.J0)(!1),t}function $(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:s}=void 0===t?{}:t,d=(0,u.s0)(),h=(0,u.TH)(),f=(0,u.WU)(e,{relative:i});return l.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),d(e,{replace:void 0!==n?n:(0,c.Ep)(h)===(0,c.Ep)(f),state:a,preventScrollReset:o,relative:i,viewTransition:s}))},[h,d,f,n,a,r,e,o,i,s])}function V(e){let t=l.useRef(m(e)),r=l.useRef(!1),n=(0,u.TH)(),a=l.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=m(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=(0,u.s0)(),i=l.useCallback((e,t)=>{let n=m("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(n=o||(o={})).UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState",(a=i||(i={})).UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration";let K=0,X=()=>"__"+String(++K)+"__";function Z(){let{router:e}=J(o.UseSubmit),{basename:t}=l.useContext(u.Us),r=(0,u.Yi)();return l.useCallback(function(n,a){if(void 0===a&&(a={}),"undefined"==typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");let{action:o,method:i,encType:l,formData:s,body:u}=function(e,t){let r,n,a,o,i;if(p(e)&&"form"===e.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?(0,c.Zn)(i,t):null,r=e.getAttribute("method")||"get",a=g(e.getAttribute("enctype"))||f,o=new FormData(e)}else if(p(e)&&"button"===e.tagName.toLowerCase()||p(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?(0,c.Zn)(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||"get",a=g(e.getAttribute("formenctype"))||g(i.getAttribute("enctype"))||f,o=new FormData(i,e),!function(){if(null===v)try{new FormData(document.createElement("form"),0),v=!1}catch(e){v=!0}return v}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,n)}}else if(p(e))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else r="get",n=null,a=f,i=e;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t);if(!1===a.navigate){let t=a.fetcherKey||X();e.fetch(t,r,a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,flushSync:a.flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function q(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=l.useContext(u.Us),a=l.useContext(u.pW);a||(0,c.J0)(!1);let[o]=a.matches.slice(-1),i=d({},(0,u.WU)(e||".",{relative:r})),s=(0,u.TH)();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?"?"+r:""}}return(!e||"."===e)&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:(0,c.RQ)([n,i.pathname])),(0,c.Ep)(i)}function Y(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=J(o.UseFetcher),a=z(i.UseFetcher),s=l.useContext(P),h=l.useContext(u.pW),f=null==(t=h.matches[h.matches.length-1])?void 0:t.route.id;s||(0,c.J0)(!1),h||(0,c.J0)(!1),null==f&&(0,c.J0)(!1);let p=k?k():"",[m,v]=l.useState(r||p);r&&r!==m?v(r):m||v(X()),l.useEffect(()=>(n.getFetcher(m),()=>{n.deleteFetcher(m)}),[n,m]);let y=l.useCallback((e,t)=>{f||(0,c.J0)(!1),n.fetch(m,f,e,t)},[m,f,n]),g=Z(),b=l.useCallback((e,t)=>{g(e,d({},t,{navigate:!1,fetcherKey:m}))},[m,g]),w=l.useMemo(()=>l.forwardRef((e,t)=>l.createElement(W,d({},e,{navigate:!1,fetcherKey:m,ref:t}))),[m]),E=a.fetchers.get(m)||c.ov,S=s.get(m);return l.useMemo(()=>d({Form:w,submit:b,load:y},E,{data:S}),[w,b,y,E,S])}function Q(){return Array.from(z(i.UseFetchers).fetchers.entries()).map(e=>{let[t,r]=e;return d({},r,{key:t})})}let G="react-router-scroll-positions",ee={};function et(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=J(o.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:s}=z(i.UseScrollRestoration),{basename:h}=l.useContext(u.Us),f=(0,u.TH)(),p=(0,u.SN)(),m=(0,u.HJ)();l.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:r}={};l.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,r])}(l.useCallback(()=>{"idle"===m.state&&(ee[(t?t(f,p):null)||f.key]=window.scrollY);try{sessionStorage.setItem(r||G,JSON.stringify(ee))}catch(e){}window.history.scrollRestoration="auto"},[r,t,m.state,f,p])),"undefined"!=typeof document&&(l.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||G);e&&(ee=JSON.parse(e))}catch(e){}},[r]),l.useLayoutEffect(()=>{let e=t&&"/"!==h?(e,r)=>t(d({},e,{pathname:(0,c.Zn)(e.pathname,h)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(ee,()=>window.scrollY,e);return()=>r&&r()},[n,h,t]),l.useLayoutEffect(()=>{if(!1!==a){if("number"==typeof a)return void window.scrollTo(0,a);if(f.hash){let e=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==s&&window.scrollTo(0,0)}},[f,a,s]))}function er(e,t){let{capture:r}=t||{};l.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,r])}function en(e){let{when:t,message:r}=e,n=(0,u._Z)(t);l.useEffect(()=>{"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),l.useEffect(()=>{"blocked"!==n.state||t||n.reset()},[n,t])}function ea(e,t){void 0===t&&(t={});let r=l.useContext(C);null==r&&(0,c.J0)(!1);let{basename:n}=J(o.useViewTransitionState),a=(0,u.WU)(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=(0,c.Zn)(r.currentLocation.pathname,n)||r.currentLocation.pathname,s=(0,c.Zn)(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=(0,c.LX)(a.pathname,s)||null!=(0,c.LX)(a.pathname,i)}},14935:function(e,t,r){r.d(t,{$A:()=>G,AW:()=>ea,DY:()=>k,F0:()=>eo,FR:()=>c,Fg:()=>er,GV:()=>y,HJ:()=>H,KP:()=>el,Oe:()=>ef,SN:()=>I,TH:()=>g,UO:()=>P,Us:()=>h,V$:()=>D,V4:()=>z,VA:()=>et,WU:()=>L,Yi:()=>B,Z5:()=>ei,_Z:()=>q,bS:()=>w,bi:()=>em,bx:()=>x,f_:()=>J,gd:()=>f,i7:()=>eh,iG:()=>X,is:()=>eh,j3:()=>en,lk:()=>V,nA:()=>$,oQ:()=>v,pC:()=>C,pW:()=>p,qv:()=>K,s0:()=>S,ur:()=>b,us:()=>ep,w3:()=>u,xW:()=>W});var n,a,o,i=r(8218),l=r(46403);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let u=i.createContext(null),c=i.createContext(null),d=i.createContext(null),h=i.createContext(null),f=i.createContext(null),p=i.createContext({outlet:null,matches:[],isDataRoute:!1}),m=i.createContext(null);function v(e,t){let{relative:r}=void 0===t?{}:t;y()||(0,l.J0)(!1);let{basename:n,navigator:a}=i.useContext(h),{hash:o,pathname:s,search:u}=L(e,{relative:r}),c=s;return"/"!==n&&(c="/"===s?n:(0,l.RQ)([n,s])),a.createHref({pathname:c,search:u,hash:o})}function y(){return null!=i.useContext(f)}function g(){return y()||(0,l.J0)(!1),i.useContext(f).location}function b(){return i.useContext(f).navigationType}function w(e){y()||(0,l.J0)(!1);let{pathname:t}=g();return i.useMemo(()=>(0,l.LX)(e,(0,l.Cd)(t)),[t,e])}function E(e){i.useContext(h).static||i.useLayoutEffect(e)}function S(){let{isDataRoute:e}=i.useContext(p);return e?function(){let{router:e}=M(j.UseNavigateStable),t=N(O.UseNavigateStable),r=i.useRef(!1);return E(()=>{r.current=!0}),i.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,s({fromRouteId:t},a)))},[e,t])}():function(){y()||(0,l.J0)(!1);let e=i.useContext(u),{basename:t,future:r,navigator:n}=i.useContext(h),{matches:a}=i.useContext(p),{pathname:o}=g(),s=JSON.stringify((0,l.cm)(a,r.v7_relativeSplatPath)),c=i.useRef(!1);return E(()=>{c.current=!0}),i.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let i=(0,l.pC)(r,JSON.parse(s),o,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:(0,l.RQ)([t,i.pathname])),(a.replace?n.replace:n.push)(i,a.state,a)},[t,n,s,o,e])}()}let R=i.createContext(null);function x(){return i.useContext(R)}function C(e){let t=i.useContext(p).outlet;return t?i.createElement(R.Provider,{value:e},t):t}function P(){let{matches:e}=i.useContext(p),t=e[e.length-1];return t?t.params:{}}function L(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=i.useContext(h),{matches:a}=i.useContext(p),{pathname:o}=g(),s=JSON.stringify((0,l.cm)(a,n.v7_relativeSplatPath));return i.useMemo(()=>(0,l.pC)(e,JSON.parse(s),o,"path"===r),[e,s,o,r])}function D(e,t){return k(e,t)}function k(e,t,r,n){let a;y()||(0,l.J0)(!1);let{navigator:o,static:u}=i.useContext(h),{matches:c}=i.useContext(p),d=c[c.length-1],m=d?d.params:{};d&&d.pathname;let v=d?d.pathnameBase:"/";d&&d.route;let b=g();if(t){var w;let e="string"==typeof t?(0,l.cP)(t):t;"/"===v||(null==(w=e.pathname)?void 0:w.startsWith(v))||(0,l.J0)(!1),a=e}else a=b;let E=a.pathname||"/",S=E;if("/"!==v){let e=v.replace(/^\//,"").split("/");S="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let R=!u&&r&&r.matches&&r.matches.length>0?r.matches:(0,l.fp)(e,{pathname:S}),x=T(R&&R.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:(0,l.RQ)([v,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,l.RQ)([v,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),c,r,n);return t&&x?i.createElement(f.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:l.aU.Pop}},x):x}let _=i.createElement(function(){let e=V(),t=(0,l.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),r?i.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class U extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(p.Provider,{value:this.props.routeContext},i.createElement(m.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A(e){let{routeContext:t,match:r,children:n}=e,a=i.useContext(u);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),i.createElement(p.Provider,{value:t},n)}function T(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let s=e,u=null==(a=r)?void 0:a.errors;if(null!=u){let e=s.findIndex(e=>e.route.id&&(null==u?void 0:u[e.route.id])!==void 0);e>=0||(0,l.J0)(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){c=!0,s=d>=0?s.slice(0,d+1):[s[0]];break}}}return s.reduceRight((e,n,a)=>{var o;let l,h=!1,f=null,p=null;r&&(l=u&&n.route.id?u[n.route.id]:void 0,f=n.route.errorElement||_,c&&(d<0&&0===a?(o="route-fallback",Y[o]||(Y[o]=!0),h=!0,p=null):d===a&&(h=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,a+1)),v=()=>{let t;return t=l?f:h?p:n.route.Component?i.createElement(n.route.Component,null):n.route.element?n.route.element:e,i.createElement(A,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?i.createElement(U,{location:r.location,revalidation:r.revalidation,component:f,error:l,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}var j=((n=j||{}).UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n),O=((a=O||{}).UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a);function M(e){let t=i.useContext(u);return t||(0,l.J0)(!1),t}function F(e){let t=i.useContext(c);return t||(0,l.J0)(!1),t}function N(e){let t,r=((t=i.useContext(p))||(0,l.J0)(!1),t),n=r.matches[r.matches.length-1];return n.route.id||(0,l.J0)(!1),n.route.id}function B(){return N(O.UseRouteId)}function H(){return F(O.UseNavigation).navigation}function W(){let e=M(j.UseRevalidator),t=F(O.UseRevalidator);return i.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function I(){let{matches:e,loaderData:t}=F(O.UseMatches);return i.useMemo(()=>e.map(e=>(0,l.WS)(e,t)),[e,t])}function J(){let e=F(O.UseLoaderData),t=N(O.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function z(e){return F(O.UseRouteLoaderData).loaderData[e]}function $(){let e=F(O.UseActionData),t=N(O.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function V(){var e;let t=i.useContext(m),r=F(O.UseRouteError),n=N(O.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function K(){let e=i.useContext(d);return null==e?void 0:e._data}function X(){let e=i.useContext(d);return null==e?void 0:e._error}let Z=0;function q(e){let{router:t,basename:r}=M(j.UseBlocker),n=F(O.UseBlocker),[a,o]=i.useState(""),u=i.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:s({},n,{pathname:(0,l.Zn)(n.pathname,r)||n.pathname}),nextLocation:s({},a,{pathname:(0,l.Zn)(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return i.useEffect(()=>{let e=String(++Z);return o(e),()=>t.deleteBlocker(e)},[t]),i.useEffect(()=>{""!==a&&t.getBlocker(a,u)},[t,a,u]),a&&n.blockers.has(a)?n.blockers.get(a):l.qp}let Y={},Q=(e,t,r)=>{};function G(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&Q("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&t.v7_relativeSplatPath||Q("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&Q("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&Q("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&Q("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&Q("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}let ee=i.startTransition;function et(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:o}=e,s=i.useRef();null==s.current&&(s.current=(0,l.PP)({initialEntries:n,initialIndex:a,v5Compat:!0}));let u=s.current,[c,d]=i.useState({action:u.action,location:u.location}),{v7_startTransition:h}=o||{},f=i.useCallback(e=>{h&&ee?ee(()=>d(e)):d(e)},[d,h]);return i.useLayoutEffect(()=>u.listen(f),[u,f]),i.useEffect(()=>G(o),[o]),i.createElement(eo,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:o})}function er(e){let{to:t,replace:r,state:n,relative:a}=e;y()||(0,l.J0)(!1);let{future:o,static:s}=i.useContext(h),{matches:u}=i.useContext(p),{pathname:c}=g(),d=S(),f=JSON.stringify((0,l.pC)(t,(0,l.cm)(u,o.v7_relativeSplatPath),c,"path"===a));return i.useEffect(()=>d(JSON.parse(f),{replace:r,state:n,relative:a}),[d,f,a,r,n]),null}function en(e){return C(e.context)}function ea(e){(0,l.J0)(!1)}function eo(e){let{basename:t="/",children:r=null,location:n,navigationType:a=l.aU.Pop,navigator:o,static:u=!1,future:c}=e;y()&&(0,l.J0)(!1);let d=t.replace(/^\/*/,"/"),p=i.useMemo(()=>({basename:d,navigator:o,static:u,future:s({v7_relativeSplatPath:!1},c)}),[d,c,o,u]);"string"==typeof n&&(n=(0,l.cP)(n));let{pathname:m="/",search:v="",hash:g="",state:b=null,key:w="default"}=n,E=i.useMemo(()=>{let e=(0,l.Zn)(m,d);return null==e?null:{location:{pathname:e,search:v,hash:g,state:b,key:w},navigationType:a}},[d,m,v,g,b,w,a]);return null==E?null:i.createElement(h.Provider,{value:p},i.createElement(f.Provider,{children:r,value:E}))}function ei(e){let{children:t,location:r}=e;return k(eh(t),r)}function el(e){let{children:t,errorElement:r,resolve:n}=e;return i.createElement(ec,{resolve:n,errorElement:r},i.createElement(ed,null,t))}var es=((o=es||{})[o.pending=0]="pending",o[o.success=1]="success",o[o.error=2]="error",o);let eu=new Promise(()=>{});class ec extends i.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,a=es.pending;if(r instanceof Promise)if(this.state.error){a=es.error;let e=this.state.error;Object.defineProperty(n=Promise.reject().catch(()=>{}),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?a="_error"in(n=r)?es.error:"_data"in n?es.success:es.pending:(a=es.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})));else a=es.success,Object.defineProperty(n=Promise.resolve(),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(a===es.error&&n._error instanceof l.X3)throw eu;if(a===es.error&&!t)throw n._error;if(a===es.error)return i.createElement(d.Provider,{value:n,children:t});if(a===es.success)return i.createElement(d.Provider,{value:n,children:e});throw n}}function ed(e){let{children:t}=e,r=K(),n="function"==typeof t?t(r):t;return i.createElement(i.Fragment,null,n)}function eh(e,t){void 0===t&&(t=[]);let r=[];return i.Children.forEach(e,(e,n)=>{if(!i.isValidElement(e))return;let a=[...t,n];if(e.type===i.Fragment)return void r.push.apply(r,eh(e.props.children,a));e.type!==ea&&(0,l.J0)(!1),e.props.index&&e.props.children&&(0,l.J0)(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=eh(e.props.children,a)),r.push(o)}),r}function ef(e){return T(e)}function ep(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:i.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:i.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:i.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function em(e,t){return(0,l.p7)({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,l.PP)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:ep,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}}}]);