@pie-element/fraction-model 6.1.1 → 6.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/card-bar.d.ts +20 -0
  4. package/dist/author/card-bar.js +40 -0
  5. package/dist/author/defaults.d.ts +113 -0
  6. package/dist/author/defaults.js +84 -0
  7. package/dist/author/index.d.ts +44 -0
  8. package/dist/author/index.js +88 -0
  9. package/dist/author/main.d.ts +25 -0
  10. package/dist/author/main.js +156 -0
  11. package/dist/author/model-options.d.ts +32 -0
  12. package/dist/author/model-options.js +85 -0
  13. package/dist/author/number-text-field.d.ts +15 -0
  14. package/dist/author/number-text-field.js +24 -0
  15. package/dist/browser/author/index.js +37287 -0
  16. package/dist/browser/author/index.js.map +1 -0
  17. package/dist/browser/controller/index.js +78 -0
  18. package/dist/browser/controller/index.js.map +1 -0
  19. package/dist/browser/delivery/index.js +2 -0
  20. package/dist/browser/delivery-BSG67wbh.js +28213 -0
  21. package/dist/browser/delivery-BSG67wbh.js.map +1 -0
  22. package/dist/browser/fraction-model.css +2 -0
  23. package/dist/browser/isEmpty-Cj-5W3cl.js +16 -0
  24. package/dist/browser/isEmpty-Cj-5W3cl.js.map +1 -0
  25. package/dist/browser/isTypedArray-yL07_GBh.js +171 -0
  26. package/dist/browser/isTypedArray-yL07_GBh.js.map +1 -0
  27. package/dist/controller/defaults.d.ts +21 -0
  28. package/dist/controller/defaults.js +13 -0
  29. package/dist/controller/index.d.ts +23 -0
  30. package/dist/controller/index.js +68 -0
  31. package/dist/delivery/answer-fraction.d.ts +27 -0
  32. package/dist/delivery/answer-fraction.js +69 -0
  33. package/dist/delivery/fraction-model-chart.d.ts +11 -0
  34. package/dist/delivery/fraction-model-chart.js +154 -0
  35. package/dist/delivery/index.d.ts +22 -0
  36. package/dist/delivery/index.js +54 -0
  37. package/dist/delivery/main.d.ts +38 -0
  38. package/dist/delivery/main.js +136 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.iife.d.ts +8 -0
  41. package/dist/index.iife.js +179 -0
  42. package/dist/index.js +2 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  152. package/package.json +77 -17
  153. package/CHANGELOG.json +0 -1
  154. package/CHANGELOG.md +0 -588
  155. package/LICENSE.md +0 -5
  156. package/README.md +0 -18
  157. package/configure/CHANGELOG.json +0 -1
  158. package/configure/CHANGELOG.md +0 -553
  159. package/configure/lib/card-bar.js +0 -57
  160. package/configure/lib/card-bar.js.map +0 -1
  161. package/configure/lib/defaults.js +0 -114
  162. package/configure/lib/defaults.js.map +0 -1
  163. package/configure/lib/index.js +0 -163
  164. package/configure/lib/index.js.map +0 -1
  165. package/configure/lib/main.js +0 -253
  166. package/configure/lib/main.js.map +0 -1
  167. package/configure/lib/model-options.js +0 -144
  168. package/configure/lib/model-options.js.map +0 -1
  169. package/configure/lib/number-text-field.js +0 -47
  170. package/configure/lib/number-text-field.js.map +0 -1
  171. package/configure/package.json +0 -24
  172. package/controller/CHANGELOG.json +0 -1
  173. package/controller/CHANGELOG.md +0 -480
  174. package/controller/lib/defaults.js +0 -20
  175. package/controller/lib/defaults.js.map +0 -1
  176. package/controller/lib/index.js +0 -215
  177. package/controller/lib/index.js.map +0 -1
  178. package/controller/package.json +0 -15
  179. package/docs/config-schema.json +0 -1796
  180. package/docs/config-schema.json.md +0 -1318
  181. package/docs/demo/config.js +0 -8
  182. package/docs/demo/generate.js +0 -6
  183. package/docs/demo/index.html +0 -1
  184. package/docs/demo/session.js +0 -6
  185. package/docs/pie-schema.json +0 -873
  186. package/docs/pie-schema.json.md +0 -639
  187. package/lib/answer-fraction.js +0 -109
  188. package/lib/answer-fraction.js.map +0 -1
  189. package/lib/fraction-model-chart.js +0 -279
  190. package/lib/fraction-model-chart.js.map +0 -1
  191. package/lib/index.js +0 -91
  192. package/lib/index.js.map +0 -1
  193. package/lib/main.js +0 -203
  194. package/lib/main.js.map +0 -1
@@ -0,0 +1,179 @@
1
+ this.FractionModelElement=(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+A(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+A(s,l);c+=j(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+A(s,l++),c+=j(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function N(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var P={current:null},ee={transition:null},te={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:ee,ReactCurrentOwner:C};function F(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,e.act=F,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=ee.transition;ee.transition={};try{e()}finally{ee.transition=t}},e.unstable_act=F,e.useCallback=function(e,t){return P.current.useCallback(e,t)},e.useContext=function(e){return P.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return P.current.useDeferredValue(e)},e.useEffect=function(e,t){return P.current.useEffect(e,t)},e.useId=function(){return P.current.useId()},e.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return P.current.useMemo(e,t)},e.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},e.useRef=function(e){return P.current.useRef(e)},e.useState=function(e){return P.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return P.current.useTransition()},e.version=`18.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,M(x);else{var t=n(l);t!==null&&N(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&N(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function O(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?k():(S=!1,C=null)}}else S=!1}var k;if(typeof v==`function`)k=function(){v(O)};else if(typeof MessageChannel<`u`){var A=new MessageChannel,j=A.port2;A.port1.onmessage=O,k=function(){j.postMessage(null)}}else k=function(){g(O,0)};function M(e){C=e,S||(S=!0,k())}function N(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,M(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,N(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,M(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d(),n=p();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e){return l.call(m,e)?!0:l.call(f,e)?!1:u.test(e)?m[e]=!0:(f[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?h(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),O=Symbol.for(`react.profiler`),k=Symbol.for(`react.provider`),A=Symbol.for(`react.context`),j=Symbol.for(`react.forward_ref`),M=Symbol.for(`react.suspense`),N=Symbol.for(`react.suspense_list`),P=Symbol.for(`react.memo`),ee=Symbol.for(`react.lazy`),te=Symbol.for(`react.offscreen`),F=Symbol.iterator;function ne(e){return typeof e!=`object`||!e?null:(e=F&&e[F]||e[`@@iterator`],typeof e==`function`?e:null)}var I=Object.assign,re;function ie(e){if(re===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);re=t&&t[1]||``}return`
2
+ `+re+e}var L=!1;function ae(e,t){if(!e||L)return``;L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`
3
+ `),a=r.stack.split(`
4
+ `),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
5
+ `+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?ie(e):``}function R(e){switch(e.tag){case 5:return ie(e.type);case 16:return ie(`Lazy`);case 13:return ie(`Suspense`);case 19:return ie(`SuspenseList`);case 0:case 2:case 15:return e=ae(e.type,!1),e;case 11:return e=ae(e.type.render,!1),e;case 1:return e=ae(e.type,!0),e;default:return``}}function oe(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case O:return`Profiler`;case D:return`StrictMode`;case M:return`Suspense`;case N:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case A:return(e.displayName||`Context`)+`.Consumer`;case k:return(e._context.displayName||`Context`)+`.Provider`;case j:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case P:return t=e.displayName||null,t===null?oe(e.type)||`Memo`:t;case ee:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}function se(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return oe(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function ce(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ue(e){var t=le(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function z(e){e._valueTracker||=ue(e)}function de(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=le(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function fe(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function pe(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function me(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=ce(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function he(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function ge(e,t){he(e,t);var n=ce(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?ve(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&ve(e,t.type,ce(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _e(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function ve(e,t,n){(t!==`number`||fe(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var ye=Array.isArray;function be(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+ce(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function xe(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return I({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function Se(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(ye(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:ce(n)}}function Ce(e,t){var n=ce(t.value),r=ce(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function we(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Te(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Ee(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Te(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var De,Oe=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(De||=document.createElement(`div`),De.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=De.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ke(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ae={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},je=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Ae).forEach(function(e){je.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ae[t]=Ae[e]})});function Me(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Ae.hasOwnProperty(e)&&Ae[e]?(``+t).trim():t+`px`}function Ne(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Me(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Pe=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Fe(e,t){if(t){if(Pe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ie(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Le=null;function Re(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ze=null,Be=null,Ve=null;function He(e){if(e=Bi(e)){if(typeof ze!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Hi(t),ze(e.stateNode,e.type,t))}}function Ue(e){Be?Ve?Ve.push(e):Ve=[e]:Be=e}function We(){if(Be){var e=Be,t=Ve;if(Ve=Be=null,He(e),t)for(e=0;e<t.length;e++)He(t[e])}}function Ge(e,t){return e(t)}function Ke(){}var qe=!1;function Je(e,t,n){if(qe)return e(t,n);qe=!0;try{return Ge(e,t,n)}finally{qe=!1,(Be!==null||Ve!==null)&&(Ke(),We())}}function Ye(e,t){var n=e.stateNode;if(n===null)return null;var i=Hi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var Xe=!1;if(c)try{var Ze={};Object.defineProperty(Ze,"passive",{get:function(){Xe=!0}}),window.addEventListener(`test`,Ze,Ze),window.removeEventListener(`test`,Ze,Ze)}catch{Xe=!1}function Qe(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var $e=!1,et=null,tt=!1,nt=null,rt={onError:function(e){$e=!0,et=e}};function it(e,t,n,r,i,a,o,s,c){$e=!1,et=null,Qe.apply(rt,arguments)}function at(e,t,n,i,a,o,s,c,l){if(it.apply(this,arguments),$e){if($e){var u=et;$e=!1,et=null}else throw Error(r(198));tt||(tt=!0,nt=u)}}function ot(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function st(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ct(e){if(ot(e)!==e)throw Error(r(188))}function lt(e){var t=e.alternate;if(!t){if(t=ot(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return ct(a),e;if(o===i)return ct(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function ut(e){return e=lt(e),e===null?null:dt(e)}function dt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dt(e);if(t!==null)return t;e=e.sibling}return null}var ft=n.unstable_scheduleCallback,pt=n.unstable_cancelCallback,mt=n.unstable_shouldYield,ht=n.unstable_requestPaint,gt=n.unstable_now,_t=n.unstable_getCurrentPriorityLevel,vt=n.unstable_ImmediatePriority,yt=n.unstable_UserBlockingPriority,B=n.unstable_NormalPriority,bt=n.unstable_LowPriority,xt=n.unstable_IdlePriority,St=null,Ct=null;function wt(e){if(Ct&&typeof Ct.onCommitFiberRoot==`function`)try{Ct.onCommitFiberRoot(St,e,void 0,(e.current.flags&128)==128)}catch{}}var Tt=Math.clz32?Math.clz32:Ot,Et=Math.log,Dt=Math.LN2;function Ot(e){return e>>>=0,e===0?32:31-(Et(e)/Dt|0)|0}var kt=64,At=4194304;function jt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=jt(a))):r=jt(s)}else o=n&~i,o===0?a!==0&&(r=jt(a)):r=jt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Tt(t),i=1<<n,r|=e[n],t&=~i;return r}function Nt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Tt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Nt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Ft(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function It(){var e=kt;return kt<<=1,!(kt&4194240)&&(kt=64),e}function Lt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Rt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function zt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Tt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Tt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Vt=0;function Ht(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ut,Wt,Gt,Kt,qt,Jt=!1,V=[],Yt=null,Xt=null,Zt=null,Qt=new Map,$t=new Map,en=[],tn=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function nn(e,t){switch(e){case`focusin`:case`focusout`:Yt=null;break;case`dragenter`:case`dragleave`:Xt=null;break;case`mouseover`:case`mouseout`:Zt=null;break;case`pointerover`:case`pointerout`:Qt.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:$t.delete(t.pointerId)}}function rn(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Bi(t),t!==null&&Wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function an(e,t,n,r,i){switch(t){case`focusin`:return Yt=rn(Yt,e,t,n,r,i),!0;case`dragenter`:return Xt=rn(Xt,e,t,n,r,i),!0;case`mouseover`:return Zt=rn(Zt,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Qt.set(a,rn(Qt.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,$t.set(a,rn($t.get(a)||null,e,t,n,r,i)),!0}return!1}function on(e){var t=zi(e.target);if(t!==null){var n=ot(t);if(n!==null){if(t=n.tag,t===13){if(t=st(n),t!==null){e.blockedOn=t,qt(e.priority,function(){Gt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function sn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Le=r,n.target.dispatchEvent(r),Le=null}else return t=Bi(n),t!==null&&Wt(t),e.blockedOn=n,!1;t.shift()}return!0}function cn(e,t,n){sn(e)&&n.delete(t)}function ln(){Jt=!1,Yt!==null&&sn(Yt)&&(Yt=null),Xt!==null&&sn(Xt)&&(Xt=null),Zt!==null&&sn(Zt)&&(Zt=null),Qt.forEach(cn),$t.forEach(cn)}function un(e,t){e.blockedOn===t&&(e.blockedOn=null,Jt||(Jt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ln)))}function dn(e){function t(t){return un(t,e)}if(0<V.length){un(V[0],e);for(var n=1;n<V.length;n++){var r=V[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yt!==null&&un(Yt,e),Xt!==null&&un(Xt,e),Zt!==null&&un(Zt,e),Qt.forEach(t),$t.forEach(t),n=0;n<en.length;n++)r=en[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<en.length&&(n=en[0],n.blockedOn===null);)on(n),n.blockedOn===null&&en.shift()}var fn=C.ReactCurrentBatchConfig,pn=!0;function mn(e,t,n,r){var i=Vt,a=fn.transition;fn.transition=null;try{Vt=1,gn(e,t,n,r)}finally{Vt=i,fn.transition=a}}function hn(e,t,n,r){var i=Vt,a=fn.transition;fn.transition=null;try{Vt=4,gn(e,t,n,r)}finally{Vt=i,fn.transition=a}}function gn(e,t,n,r){if(pn){var i=vn(e,t,n,r);if(i===null)di(e,t,r,_n,n),nn(e,r);else if(an(i,e,t,n,r))r.stopPropagation();else if(nn(e,r),t&4&&-1<tn.indexOf(e)){for(;i!==null;){var a=Bi(i);if(a!==null&&Ut(a),a=vn(e,t,n,r),a===null&&di(e,t,r,_n,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else di(e,t,r,null,n)}}var _n=null;function vn(e,t,n,r){if(_n=null,e=Re(r),e=zi(e),e!==null)if(t=ot(e),t===null)e=null;else if(n=t.tag,n===13){if(e=st(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return _n=e,null}function yn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(_t()){case vt:return 1;case yt:return 4;case B:case bt:return 16;case xt:return 536870912;default:return 16}default:return 16}}var bn=null,xn=null,Sn=null;function Cn(){if(Sn)return Sn;var e,t=xn,n=t.length,r,i=`value`in bn?bn.value:bn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Sn=i.slice(e,1<r?1-r:void 0)}function wn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tn(){return!0}function En(){return!1}function Dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Tn:En,this.isPropagationStopped=En,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Tn)},persist:function(){},isPersistent:Tn}),t}var On={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kn=Dn(On),An=I({},On,{view:0,detail:0}),jn=Dn(An),Mn,Nn,Pn,Fn=I({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Pn&&(Pn&&e.type===`mousemove`?(Mn=e.screenX-Pn.screenX,Nn=e.screenY-Pn.screenY):Nn=Mn=0,Pn=e),Mn)},movementY:function(e){return`movementY`in e?e.movementY:Nn}}),In=Dn(Fn),Ln=Dn(I({},Fn,{dataTransfer:0})),Rn=Dn(I({},An,{relatedTarget:0})),zn=Dn(I({},On,{animationName:0,elapsedTime:0,pseudoElement:0})),Bn=Dn(I({},On,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Vn=Dn(I({},On,{data:0})),Hn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Un={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Wn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wn[e])?!!t[e]:!1}function Kn(){return Gn}var qn=Dn(I({},An,{key:function(e){if(e.key){var t=Hn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=wn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Un[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kn,charCode:function(e){return e.type===`keypress`?wn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?wn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Jn=Dn(I({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Yn=Dn(I({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kn})),Xn=Dn(I({},On,{propertyName:0,elapsedTime:0,pseudoElement:0})),Zn=Dn(I({},Fn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Qn=[9,13,27,32],$n=c&&`CompositionEvent`in window,er=null;c&&`documentMode`in document&&(er=document.documentMode);var tr=c&&`TextEvent`in window&&!er,nr=c&&(!$n||er&&8<er&&11>=er),rr=` `,ir=!1;function ar(e,t){switch(e){case`keyup`:return Qn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function or(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var sr=!1;function cr(e,t){switch(e){case`compositionend`:return or(t);case`keypress`:return t.which===32?(ir=!0,rr):null;case`textInput`:return e=t.data,e===rr&&ir?null:e;default:return null}}function lr(e,t){if(sr)return e===`compositionend`||!$n&&ar(e,t)?(e=Cn(),Sn=xn=bn=null,sr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return nr&&t.locale!==`ko`?null:t.data;default:return null}}var ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!ur[e.type]:t===`textarea`}function fr(e,t,n,r){Ue(r),t=pi(t,`onChange`),0<t.length&&(n=new kn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var pr=null,mr=null;function hr(e){ai(e,0)}function gr(e){if(de(Vi(e)))return e}function _r(e,t){if(e===`change`)return t}var vr=!1;if(c){var yr;if(c){var br=`oninput`in document;if(!br){var xr=document.createElement(`div`);xr.setAttribute(`oninput`,`return;`),br=typeof xr.oninput==`function`}yr=br}else yr=!1;vr=yr&&(!document.documentMode||9<document.documentMode)}function Sr(){pr&&(pr.detachEvent(`onpropertychange`,Cr),mr=pr=null)}function Cr(e){if(e.propertyName===`value`&&gr(mr)){var t=[];fr(t,mr,e,Re(e)),Je(hr,t)}}function wr(e,t,n){e===`focusin`?(Sr(),pr=t,mr=n,pr.attachEvent(`onpropertychange`,Cr)):e===`focusout`&&Sr()}function Tr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return gr(mr)}function Er(e,t){if(e===`click`)return gr(t)}function Dr(e,t){if(e===`input`||e===`change`)return gr(t)}function Or(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var kr=typeof Object.is==`function`?Object.is:Or;function Ar(e,t){if(kr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!kr(e[i],t[i]))return!1}return!0}function jr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mr(e,t){var n=jr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=jr(n)}}function Nr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pr(){for(var e=window,t=fe();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=fe(e.document)}return t}function Fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Ir(e){var t=Pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Nr(n.ownerDocument.documentElement,n)){if(r!==null&&Fr(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Mr(n,a);var o=Mr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Lr=c&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,H=null,Br=!1;function Vr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Br||Rr==null||Rr!==fe(r)||(r=Rr,`selectionStart`in r&&Fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),H&&Ar(H,r)||(H=r,r=pi(zr,`onSelect`),0<r.length&&(t=new kn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Hr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Ur={animationend:Hr(`Animation`,`AnimationEnd`),animationiteration:Hr(`Animation`,`AnimationIteration`),animationstart:Hr(`Animation`,`AnimationStart`),transitionend:Hr(`Transition`,`TransitionEnd`)},Wr={},Gr={};c&&(Gr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Ur.animationend.animation,delete Ur.animationiteration.animation,delete Ur.animationstart.animation),`TransitionEvent`in window||delete Ur.transitionend.transition);function Kr(e){if(Wr[e])return Wr[e];if(!Ur[e])return e;var t=Ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gr)return Wr[e]=t[n];return e}var qr=Kr(`animationend`),Jr=Kr(`animationiteration`),Yr=Kr(`animationstart`),Xr=Kr(`transitionend`),Zr=new Map,Qr=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function $r(e,t){Zr.set(e,t),o(t,[e])}for(var ei=0;ei<Qr.length;ei++){var ti=Qr[ei];$r(ti.toLowerCase(),`on`+(ti[0].toUpperCase()+ti.slice(1)))}$r(qr,`onAnimationEnd`),$r(Jr,`onAnimationIteration`),$r(Yr,`onAnimationStart`),$r(`dblclick`,`onDoubleClick`),$r(`focusin`,`onFocus`),$r(`focusout`,`onBlur`),$r(Xr,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var ni=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),ri=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ni));function ii(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,at(r,t,void 0,e),e.currentTarget=null}function ai(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;ii(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;ii(i,s,l),a=c}}}if(tt)throw e=nt,tt=!1,nt=null,e}function oi(e,t){var n=t[Ii];n===void 0&&(n=t[Ii]=new Set);var r=e+`__bubble`;n.has(r)||(ui(t,e,2,!1),n.add(r))}function si(e,t,n){var r=0;t&&(r|=4),ui(n,e,r,t)}var ci=`_reactListening`+Math.random().toString(36).slice(2);function li(e){if(!e[ci]){e[ci]=!0,i.forEach(function(t){t!==`selectionchange`&&(ri.has(t)||si(t,!1,e),si(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ci]||(t[ci]=!0,si(`selectionchange`,!1,t))}}function ui(e,t,n,r){switch(yn(t)){case 1:var i=mn;break;case 4:i=hn;break;default:i=gn}n=i.bind(null,t,n,e),i=void 0,!Xe||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function di(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=zi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}Je(function(){var r=a,i=Re(n),o=[];a:{var s=Zr.get(e);if(s!==void 0){var c=kn,l=e;switch(e){case`keypress`:if(wn(n)===0)break a;case`keydown`:case`keyup`:c=qn;break;case`focusin`:l=`focus`,c=Rn;break;case`focusout`:l=`blur`,c=Rn;break;case`beforeblur`:case`afterblur`:c=Rn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=In;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Ln;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=Yn;break;case qr:case Jr:case Yr:c=zn;break;case Xr:c=Xn;break;case`scroll`:c=jn;break;case`wheel`:c=Zn;break;case`copy`:case`cut`:case`paste`:c=Bn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=Jn}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=Ye(p,f),h!=null&&u.push(fi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Le&&(l=n.relatedTarget||n.fromElement)&&(zi(l)||l[Fi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?zi(l):null,l!==null&&(d=ot(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=In,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=Jn,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Vi(c),m=l==null?s:Vi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,zi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=mi(m))p++;for(m=0,h=f;h;h=mi(h))m++;for(;0<p-m;)u=mi(u),p--;for(;0<m-p;)f=mi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=mi(u),f=mi(f)}u=null}else u=null;c!==null&&hi(o,s,c,u,!1),l!==null&&d!==null&&hi(o,d,l,u,!0)}}a:{if(s=r?Vi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=_r;else if(dr(s))if(vr)g=Dr;else{g=Tr;var _=wr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=Er);if(g&&=g(e,r)){fr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&ve(s,`number`,s.value)}switch(_=r?Vi(r):window,e){case`focusin`:(dr(_)||_.contentEditable===`true`)&&(Rr=_,zr=r,H=null);break;case`focusout`:H=zr=Rr=null;break;case`mousedown`:Br=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Br=!1,Vr(o,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Vr(o,n,i)}var v;if($n)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else sr?ar(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(nr&&n.locale!==`ko`&&(sr||y!==`onCompositionStart`?y===`onCompositionEnd`&&sr&&(v=Cn()):(bn=i,xn=`value`in bn?bn.value:bn.textContent,sr=!0)),_=pi(r,y),0<_.length&&(y=new Vn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=or(n),v!==null&&(y.data=v)))),(v=tr?cr(e,n):lr(e,n))&&(r=pi(r,`onBeforeInput`),0<r.length&&(i=new Vn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}ai(o,t)})}function fi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Ye(e,n),a!=null&&r.unshift(fi(e,a,i)),a=Ye(e,t),a!=null&&r.push(fi(e,a,i))),e=e.return}return r}function mi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function hi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=Ye(n,a),c!=null&&o.unshift(fi(n,c,s))):i||(c=Ye(n,a),c!=null&&o.push(fi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var gi=/\r\n?/g,_i=/\u0000|\uFFFD/g;function vi(e){return(typeof e==`string`?e:``+e).replace(gi,`
6
+ `).replace(_i,``)}function yi(e,t,n){if(t=vi(t),vi(e)!==t&&n)throw Error(r(425))}function bi(){}var xi=null,Si=null;function Ci(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var wi=typeof setTimeout==`function`?setTimeout:void 0,Ti=typeof clearTimeout==`function`?clearTimeout:void 0,Ei=typeof Promise==`function`?Promise:void 0,Di=typeof queueMicrotask==`function`?queueMicrotask:Ei===void 0?wi:function(e){return Ei.resolve(null).then(e).catch(Oi)};function Oi(e){setTimeout(function(){throw e})}function ki(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),dn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);dn(t)}function Ai(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function ji(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Mi=Math.random().toString(36).slice(2),Ni=`__reactFiber$`+Mi,Pi=`__reactProps$`+Mi,Fi=`__reactContainer$`+Mi,Ii=`__reactEvents$`+Mi,Li=`__reactListeners$`+Mi,Ri=`__reactHandles$`+Mi;function zi(e){var t=e[Ni];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fi]||n[Ni]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ji(e);e!==null;){if(n=e[Ni])return n;e=ji(e)}return t}e=n,n=e.parentNode}return null}function Bi(e){return e=e[Ni]||e[Fi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Vi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Hi(e){return e[Pi]||null}var Ui=[],Wi=-1;function Gi(e){return{current:e}}function Ki(e){0>Wi||(e.current=Ui[Wi],Ui[Wi]=null,Wi--)}function qi(e,t){Wi++,Ui[Wi]=e.current,e.current=t}var Ji={},Yi=Gi(Ji),Xi=Gi(!1),Zi=Ji;function Qi(e,t){var n=e.type.contextTypes;if(!n)return Ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function $i(e){return e=e.childContextTypes,e!=null}function ea(){Ki(Xi),Ki(Yi)}function ta(e,t,n){if(Yi.current!==Ji)throw Error(r(168));qi(Yi,t),qi(Xi,n)}function na(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,se(e)||`Unknown`,a));return I({},n,i)}function ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ji,Zi=Yi.current,qi(Yi,e),qi(Xi,Xi.current),!0}function ia(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=na(e,t,Zi),i.__reactInternalMemoizedMergedChildContext=e,Ki(Xi),Ki(Yi),qi(Yi,e)):Ki(Xi),qi(Xi,n)}var aa=null,oa=!1,sa=!1;function ca(e){aa===null?aa=[e]:aa.push(e)}function la(e){oa=!0,ca(e)}function ua(){if(!sa&&aa!==null){sa=!0;var e=0,t=Vt;try{var n=aa;for(Vt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}aa=null,oa=!1}catch(t){throw aa!==null&&(aa=aa.slice(e+1)),ft(vt,ua),t}finally{Vt=t,sa=!1}}return null}var da=[],fa=0,pa=null,ma=0,ha=[],ga=0,_a=null,va=1,ya=``;function ba(e,t){da[fa++]=ma,da[fa++]=pa,pa=e,ma=t}function xa(e,t,n){ha[ga++]=va,ha[ga++]=ya,ha[ga++]=_a,_a=e;var r=va;e=ya;var i=32-Tt(r)-1;r&=~(1<<i),n+=1;var a=32-Tt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,va=1<<32-Tt(t)+i|n<<i|r,ya=a+e}else va=1<<a|n<<i|r,ya=e}function Sa(e){e.return!==null&&(ba(e,1),xa(e,1,0))}function Ca(e){for(;e===pa;)pa=da[--fa],da[fa]=null,ma=da[--fa],da[fa]=null;for(;e===_a;)_a=ha[--ga],ha[ga]=null,ya=ha[--ga],ha[ga]=null,va=ha[--ga],ha[ga]=null}var wa=null,Ta=null,Ea=!1,Da=null;function Oa(e,t){var n=Ql(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ka(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,wa=e,Ta=Ai(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,wa=e,Ta=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=_a===null?null:{id:va,overflow:ya},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ql(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,wa=e,Ta=null,!0);default:return!1}}function Aa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function ja(e){if(Ea){var t=Ta;if(t){var n=t;if(!ka(e,t)){if(Aa(e))throw Error(r(418));t=Ai(n.nextSibling);var i=wa;t&&ka(e,t)?Oa(i,n):(e.flags=e.flags&-4097|2,Ea=!1,wa=e)}}else{if(Aa(e))throw Error(r(418));e.flags=e.flags&-4097|2,Ea=!1,wa=e}}}function Ma(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;wa=e}function Na(e){if(e!==wa)return!1;if(!Ea)return Ma(e),Ea=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Ci(e.type,e.memoizedProps)),t&&=Ta){if(Aa(e))throw Pa(),Error(r(418));for(;t;)Oa(e,t),t=Ai(t.nextSibling)}if(Ma(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Ta=Ai(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ta=null}}else Ta=wa?Ai(e.stateNode.nextSibling):null;return!0}function Pa(){for(var e=Ta;e;)e=Ai(e.nextSibling)}function Fa(){Ta=wa=null,Ea=!1}function Ia(e){Da===null?Da=[e]:Da.push(e)}var La=C.ReactCurrentBatchConfig;function Ra(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function za(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ba(e){var t=e._init;return t(e._payload)}function Va(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=tu(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=au(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ee&&Ba(i)===t.type)?(r=a(t,n.props),r.ref=Ra(e,t,n),r.return=e,r):(r=nu(n.type,n.key,n.props,null,e.mode,r),r.ref=Ra(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ou(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ru(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=au(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=nu(t.type,t.key,t.props,null,e.mode,n),n.ref=Ra(e,null,t),n.return=e,n;case T:return t=ou(t,e.mode,n),t.return=e,t;case ee:var r=t._init;return f(e,r(t._payload),n)}if(ye(t)||ne(t))return t=ru(t,e.mode,n,null),t.return=e,t;za(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case ee:return i=n._init,p(e,t,i(n._payload),r)}if(ye(n)||ne(n))return i===null?d(e,t,n,r,null):null;za(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ee:var a=r._init;return m(e,t,n,a(r._payload),i)}if(ye(r)||ne(r))return e=e.get(n)||null,d(t,e,r,i,null);za(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),Ea&&ba(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Ea&&ba(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),Ea&&ba(r,h),l}function g(a,s,c,l){var u=ne(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Ea&&ba(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Ea&&ba(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Ea&&ba(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===ee&&Ba(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ra(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=ru(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=nu(i.type,i.key,i.props,null,e.mode,o),o.ref=Ra(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=ou(i,e.mode,o),r.return=e,e=r}return s(e);case ee:return l=i._init,_(e,r,l(i._payload),o)}if(ye(i))return h(e,r,i,o);if(ne(i))return g(e,r,i,o);za(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=au(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ha=Va(!0),Ua=Va(!1),Wa=Gi(null),Ga=null,Ka=null,qa=null;function Ja(){qa=Ka=Ga=null}function Ya(e){var t=Wa.current;Ki(Wa),e._currentValue=t}function Xa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Za(e,t){Ga=e,qa=Ka=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ls=!0),e.firstContext=null)}function Qa(e){var t=e._currentValue;if(qa!==e)if(e={context:e,memoizedValue:t,next:null},Ka===null){if(Ga===null)throw Error(r(308));Ka=e,Ga.dependencies={lanes:0,firstContext:e}}else Ka=Ka.next=e;return t}var $a=null;function eo(e){$a===null?$a=[e]:$a.push(e)}function to(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,eo(t)):(n.next=i.next,i.next=n),t.interleaved=n,no(e,r)}function no(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ro=!1;function io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function so(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Kc&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,no(e,n)}return i=r.interleaved,i===null?(t.next=t,eo(r)):(t.next=i.next,i.next=t),r.interleaved=t,no(e,n)}function co(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bt(e,n)}}function lo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function uo(e,t,n,r){var i=e.updateQueue;ro=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=I({},d,f);break a;case 2:ro=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);el|=o,e.lanes=o,e.memoizedState=d}}function U(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var fo={},po=Gi(fo),mo=Gi(fo),ho=Gi(fo);function go(e){if(e===fo)throw Error(r(174));return e}function _o(e,t){switch(qi(ho,t),qi(mo,e),qi(po,fo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ee(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ee(t,e)}Ki(po),qi(po,t)}function vo(){Ki(po),Ki(mo),Ki(ho)}function yo(e){go(ho.current);var t=go(po.current),n=Ee(t,e.type);t!==n&&(qi(mo,e),qi(po,n))}function bo(e){mo.current===e&&(Ki(po),Ki(mo))}var xo=Gi(0);function So(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Co=[];function wo(){for(var e=0;e<Co.length;e++)Co[e]._workInProgressVersionPrimary=null;Co.length=0}var W=C.ReactCurrentDispatcher,To=C.ReactCurrentBatchConfig,Eo=0,Do=null,Oo=null,ko=null,Ao=!1,jo=!1,Mo=0,No=0;function G(){throw Error(r(321))}function Po(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kr(e[n],t[n]))return!1;return!0}function Fo(e,t,n,i,a,o){if(Eo=o,Do=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,W.current=e===null||e.memoizedState===null?_s:vs,e=n(i,a),jo){o=0;do{if(jo=!1,Mo=0,25<=o)throw Error(r(301));o+=1,ko=Oo=null,t.updateQueue=null,W.current=ys,e=n(i,a)}while(jo)}if(W.current=gs,t=Oo!==null&&Oo.next!==null,Eo=0,ko=Oo=Do=null,Ao=!1,t)throw Error(r(300));return e}function Io(){var e=Mo!==0;return Mo=0,e}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ko===null?Do.memoizedState=ko=e:ko=ko.next=e,ko}function K(){if(Oo===null){var e=Do.alternate;e=e===null?null:e.memoizedState}else e=Oo.next;var t=ko===null?Do.memoizedState:ko.next;if(t!==null)ko=t,Oo=e;else{if(e===null)throw Error(r(310));Oo=e,e={memoizedState:Oo.memoizedState,baseState:Oo.baseState,baseQueue:Oo.baseQueue,queue:Oo.queue,next:null},ko===null?Do.memoizedState=ko=e:ko=ko.next=e}return ko}function Ro(e,t){return typeof t==`function`?t(e):t}function zo(e){var t=K(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Oo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((Eo&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Do.lanes|=d,el|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,kr(i,t.memoizedState)||(Ls=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Do.lanes|=o,el|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Bo(e){var t=K(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);kr(o,t.memoizedState)||(Ls=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Vo(){}function Ho(e,t){var n=Do,i=K(),a=t(),o=!kr(i.memoizedState,a);if(o&&(i.memoizedState=a,Ls=!0),i=i.queue,es(Go.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||ko!==null&&ko.memoizedState.tag&1){if(n.flags|=2048,Yo(9,Wo.bind(null,n,i,a,t),void 0,null),qc===null)throw Error(r(349));Eo&30||Uo(n,t,a)}return a}function Uo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Do.updateQueue,t===null?(t={lastEffect:null,stores:null},Do.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wo(e,t,n,r){t.value=n,t.getSnapshot=r,Ko(t)&&qo(e)}function Go(e,t,n){return n(function(){Ko(t)&&qo(e)})}function Ko(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kr(e,n)}catch{return!0}}function qo(e){var t=no(e,1);t!==null&&bl(t,e,1,-1)}function Jo(e){var t=Lo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ro,lastRenderedState:e},t.queue=e,e=e.dispatch=fs.bind(null,Do,e),[t.memoizedState,e]}function Yo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Do.updateQueue,t===null?(t={lastEffect:null,stores:null},Do.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Xo(){return K().memoizedState}function Zo(e,t,n,r){var i=Lo();Do.flags|=e,i.memoizedState=Yo(1|t,n,void 0,r===void 0?null:r)}function Qo(e,t,n,r){var i=K();r=r===void 0?null:r;var a=void 0;if(Oo!==null){var o=Oo.memoizedState;if(a=o.destroy,r!==null&&Po(r,o.deps)){i.memoizedState=Yo(t,n,a,r);return}}Do.flags|=e,i.memoizedState=Yo(1|t,n,a,r)}function $o(e,t){return Zo(8390656,8,e,t)}function es(e,t){return Qo(2048,8,e,t)}function ts(e,t){return Qo(4,2,e,t)}function ns(e,t){return Qo(4,4,e,t)}function rs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function is(e,t,n){return n=n==null?null:n.concat([e]),Qo(4,4,rs.bind(null,t,e),n)}function as(){}function os(e,t){var n=K();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ss(e,t){var n=K();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function cs(e,t,n){return Eo&21?(kr(n,t)||(n=It(),Do.lanes|=n,el|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ls=!0),e.memoizedState=n)}function ls(e,t){var n=Vt;Vt=n!==0&&4>n?n:4,e(!0);var r=To.transition;To.transition={};try{e(!1),t()}finally{Vt=n,To.transition=r}}function us(){return K().memoizedState}function ds(e,t,n){var r=yl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ps(e))ms(t,n);else if(n=to(e,t,n,r),n!==null){var i=vl();bl(n,e,r,i),hs(n,t,r)}}function fs(e,t,n){var r=yl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ps(e))ms(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,kr(s,o)){var c=t.interleaved;c===null?(i.next=i,eo(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=to(e,t,i,r),n!==null&&(i=vl(),bl(n,e,r,i),hs(n,t,r))}}function ps(e){var t=e.alternate;return e===Do||t!==null&&t===Do}function ms(e,t){jo=Ao=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bt(e,n)}}var gs={readContext:Qa,useCallback:G,useContext:G,useEffect:G,useImperativeHandle:G,useInsertionEffect:G,useLayoutEffect:G,useMemo:G,useReducer:G,useRef:G,useState:G,useDebugValue:G,useDeferredValue:G,useTransition:G,useMutableSource:G,useSyncExternalStore:G,useId:G,unstable_isNewReconciler:!1},_s={readContext:Qa,useCallback:function(e,t){return Lo().memoizedState=[e,t===void 0?null:t],e},useContext:Qa,useEffect:$o,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),Zo(4194308,4,rs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Zo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zo(4,2,e,t)},useMemo:function(e,t){var n=Lo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ds.bind(null,Do,e),[r.memoizedState,e]},useRef:function(e){var t=Lo();return e={current:e},t.memoizedState=e},useState:Jo,useDebugValue:as,useDeferredValue:function(e){return Lo().memoizedState=e},useTransition:function(){var e=Jo(!1),t=e[0];return e=ls.bind(null,e[1]),Lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Do,a=Lo();if(Ea){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),qc===null)throw Error(r(349));Eo&30||Uo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,$o(Go.bind(null,i,o,e),[e]),i.flags|=2048,Yo(9,Wo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Lo(),t=qc.identifierPrefix;if(Ea){var n=ya,r=va;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Mo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=No++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},vs={readContext:Qa,useCallback:os,useContext:Qa,useEffect:es,useImperativeHandle:is,useInsertionEffect:ts,useLayoutEffect:ns,useMemo:ss,useReducer:zo,useRef:Xo,useState:function(){return zo(Ro)},useDebugValue:as,useDeferredValue:function(e){return cs(K(),Oo.memoizedState,e)},useTransition:function(){return[zo(Ro)[0],K().memoizedState]},useMutableSource:Vo,useSyncExternalStore:Ho,useId:us,unstable_isNewReconciler:!1},ys={readContext:Qa,useCallback:os,useContext:Qa,useEffect:es,useImperativeHandle:is,useInsertionEffect:ts,useLayoutEffect:ns,useMemo:ss,useReducer:Bo,useRef:Xo,useState:function(){return Bo(Ro)},useDebugValue:as,useDeferredValue:function(e){var t=K();return Oo===null?t.memoizedState=e:cs(t,Oo.memoizedState,e)},useTransition:function(){return[Bo(Ro)[0],K().memoizedState]},useMutableSource:Vo,useSyncExternalStore:Ho,useId:us,unstable_isNewReconciler:!1};function bs(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:I({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ss={isMounted:function(e){return(e=e._reactInternals)?ot(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vl(),i=yl(e),a=oo(r,i);a.payload=t,n!=null&&(a.callback=n),t=so(e,a,i),t!==null&&(bl(t,e,i,r),co(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vl(),i=yl(e),a=oo(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=so(e,a,i),t!==null&&(bl(t,e,i,r),co(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vl(),r=yl(e),i=oo(n,r);i.tag=2,t!=null&&(i.callback=t),t=so(e,i,r),t!==null&&(bl(t,e,r,n),co(t,e,r))}};function Cs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ar(n,r)||!Ar(i,a):!0}function ws(e,t,n){var r=!1,i=Ji,a=t.contextType;return typeof a==`object`&&a?a=Qa(a):(i=$i(t)?Zi:Yi.current,r=t.contextTypes,a=(r=r!=null)?Qi(e,i):Ji),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ss,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ts(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ss.enqueueReplaceState(t,t.state,null)}function Es(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},io(e);var a=t.contextType;typeof a==`object`&&a?i.context=Qa(a):(a=$i(t)?Zi:Yi.current,i.context=Qi(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(xs(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Ss.enqueueReplaceState(i,i.state,null),uo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Ds(e,t){try{var n=``,r=t;do n+=R(r),r=r.return;while(r);var i=n}catch(e){i=`
7
+ Error generating stack: `+e.message+`
8
+ `+e.stack}return{value:e,source:t,stack:i,digest:null}}function Os(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ks(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var As=typeof WeakMap==`function`?WeakMap:Map;function js(e,t,n){n=oo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){cl||(cl=!0,ll=r),ks(e,t)},n}function Ms(e,t,n){n=oo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ks(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){ks(e,t),typeof r!=`function`&&(ul===null?ul=new Set([this]):ul.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Ns(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new As;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Gl.bind(null,e,t,n),t.then(e,e))}function Ps(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Fs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=oo(-1,1),t.tag=2,so(n,t,1))),n.lanes|=1),e)}var Is=C.ReactCurrentOwner,Ls=!1;function Rs(e,t,n,r){t.child=e===null?Ua(t,null,n,r):Ha(t,e.child,n,r)}function zs(e,t,n,r,i){n=n.render;var a=t.ref;return Za(t,i),r=Fo(e,t,n,r,a,i),n=Io(),e!==null&&!Ls?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ac(e,t,i)):(Ea&&n&&Sa(t),t.flags|=1,Rs(e,t,r,i),t.child)}function Bs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!$l(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Vs(e,t,a,r,i)):(e=nu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ar:n,n(o,r)&&e.ref===t.ref)return ac(e,t,i)}return t.flags|=1,e=tu(a,r),e.ref=t.ref,e.return=t,t.child=e}function Vs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ar(a,r)&&e.ref===t.ref)if(Ls=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Ls=!0);else return t.lanes=e.lanes,ac(e,t,i)}return Ws(e,t,n,r,i)}function Hs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},qi(Zc,Xc),Xc|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,qi(Zc,Xc),Xc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,qi(Zc,Xc),Xc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),qi(Zc,Xc),Xc|=r;return Rs(e,t,i,n),t.child}function Us(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ws(e,t,n,r,i){var a=$i(n)?Zi:Yi.current;return a=Qi(t,a),Za(t,i),n=Fo(e,t,n,r,a,i),r=Io(),e!==null&&!Ls?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ac(e,t,i)):(Ea&&r&&Sa(t),t.flags|=1,Rs(e,t,n,i),t.child)}function Gs(e,t,n,r,i){if($i(n)){var a=!0;ra(t)}else a=!1;if(Za(t,i),t.stateNode===null)ic(e,t),ws(t,n,r),Es(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=Qa(l):(l=$i(n)?Zi:Yi.current,l=Qi(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&Ts(t,o,r,l),ro=!1;var f=t.memoizedState;o.state=f,uo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||Xi.current||ro?(typeof u==`function`&&(xs(t,n,u,r),c=t.memoizedState),(s=ro||Cs(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ao(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:bs(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=Qa(c):(c=$i(n)?Zi:Yi.current,c=Qi(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&Ts(t,o,r,c),ro=!1,f=t.memoizedState,o.state=f,uo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||Xi.current||ro?(typeof p==`function`&&(xs(t,n,p,r),m=t.memoizedState),(l=ro||Cs(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ks(e,t,n,r,a,i)}function Ks(e,t,n,r,i,a){Us(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&ia(t,n,!1),ac(e,t,a);r=t.stateNode,Is.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ha(t,e.child,null,a),t.child=Ha(t,null,s,a)):Rs(e,t,s,a),t.memoizedState=r.state,i&&ia(t,n,!0),t.child}function qs(e){var t=e.stateNode;t.pendingContext?ta(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ta(e,t.context,!1),_o(e,t.containerInfo)}function Js(e,t,n,r,i){return Fa(),Ia(i),t.flags|=256,Rs(e,t,n,r),t.child}var Ys={dehydrated:null,treeContext:null,retryLane:0};function Xs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zs(e,t,n){var r=t.pendingProps,i=xo.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),qi(xo,i&1),e===null)return ja(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=iu(o,r,0,null),e=ru(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Xs(n),t.memoizedState=Ys,e):Qs(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ec(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=tu(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=ru(a,o,n,null),a.flags|=2):a=tu(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Xs(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Ys,r}return a=e.child,e=a.sibling,r=tu(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Qs(e,t){return t=iu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function $s(e,t,n,r){return r!==null&&Ia(r),Ha(t,e.child,null,n),e=Qs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ec(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Os(Error(r(422))),$s(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=iu({mode:`visible`,children:i.children},a,0,null),o=ru(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Ha(t,e.child,null,s),t.child.memoizedState=Xs(s),t.memoizedState=Ys,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return $s(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Os(o,i,void 0),$s(e,t,s,i)}if(c=(s&e.childLanes)!==0,Ls||c){if(i=qc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,no(e,a),bl(i,e,a,-1))}return Pl(),i=Os(Error(r(421))),$s(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=ql.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Ta=Ai(a.nextSibling),wa=t,Ea=!0,Da=null,e!==null&&(ha[ga++]=va,ha[ga++]=ya,ha[ga++]=_a,va=e.id,ya=e.overflow,_a=t),t=Qs(t,i.children),t.flags|=4096,t)}function tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xa(e.return,t,n)}function nc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function rc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Rs(e,t,r.children,n),r=xo.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tc(e,n,t);else if(e.tag===19)tc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(qi(xo,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&So(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),nc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&So(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}nc(t,!0,n,null,a);break;case`together`:nc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ic(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),el|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=tu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function oc(e,t,n){switch(t.tag){case 3:qs(t),Fa();break;case 5:yo(t);break;case 1:$i(t.type)&&ra(t);break;case 4:_o(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;qi(Wa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(qi(xo,xo.current&1),e=ac(e,t,n),e===null?null:e.sibling):Zs(e,t,n):(qi(xo,xo.current&1),t.flags|=128,null);qi(xo,xo.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),qi(xo,xo.current),r)break;return null;case 22:case 23:return t.lanes=0,Hs(e,t,n)}return ac(e,t,n)}var sc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},cc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,go(po.current);var o=null;switch(n){case`input`:i=pe(e,i),r=pe(e,r),o=[];break;case`select`:i=I({},i,{value:void 0}),r=I({},r,{value:void 0}),o=[];break;case`textarea`:i=xe(e,i),r=xe(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=bi)}Fe(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&oi(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},lc=function(e,t,n,r){n!==r&&(t.flags|=4)};function uc(e,t){if(!Ea)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function dc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fc(e,t,n){var i=t.pendingProps;switch(Ca(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dc(t),null;case 1:return $i(t.type)&&ea(),dc(t),null;case 3:return i=t.stateNode,vo(),Ki(Xi),Ki(Yi),wo(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Na(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Da!==null&&(wl(Da),Da=null))),dc(t),null;case 5:bo(t);var o=go(ho.current);if(n=t.type,e!==null&&t.stateNode!=null)cc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return dc(t),null}if(e=go(po.current),Na(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Ni]=t,i[Pi]=s,e=(t.mode&1)!=0,n){case`dialog`:oi(`cancel`,i),oi(`close`,i);break;case`iframe`:case`object`:case`embed`:oi(`load`,i);break;case`video`:case`audio`:for(o=0;o<ni.length;o++)oi(ni[o],i);break;case`source`:oi(`error`,i);break;case`img`:case`image`:case`link`:oi(`error`,i),oi(`load`,i);break;case`details`:oi(`toggle`,i);break;case`input`:me(i,s),oi(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},oi(`invalid`,i);break;case`textarea`:Se(i,s),oi(`invalid`,i)}for(var c in Fe(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&yi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&yi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&oi(`scroll`,i)}switch(n){case`input`:z(i),_e(i,s,!0);break;case`textarea`:z(i),we(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=bi)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Te(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Ni]=t,e[Pi]=i,sc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ie(n,i),n){case`dialog`:oi(`cancel`,e),oi(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:oi(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ni.length;o++)oi(ni[o],e);o=i;break;case`source`:oi(`error`,e),o=i;break;case`img`:case`image`:case`link`:oi(`error`,e),oi(`load`,e),o=i;break;case`details`:oi(`toggle`,e),o=i;break;case`input`:me(e,i),o=pe(e,i),oi(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=I({},i,{value:void 0}),oi(`invalid`,e);break;case`textarea`:Se(e,i),o=xe(e,i),oi(`invalid`,e);break;default:o=i}for(s in Fe(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Ne(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Oe(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&ke(e,u):typeof u==`number`&&ke(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&oi(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:z(e),_e(e,i,!1);break;case`textarea`:z(e),we(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+ce(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&be(e,!!i.multiple,i.defaultValue,!0):be(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=bi)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return dc(t),null;case 6:if(e&&t.stateNode!=null)lc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=go(ho.current),go(po.current),Na(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ni]=t,(s=i.nodeValue!==n)&&(e=wa,e!==null))switch(e.tag){case 3:yi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&yi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ni]=t,t.stateNode=i}return dc(t),null;case 13:if(Ki(xo),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ea&&Ta!==null&&t.mode&1&&!(t.flags&128))Pa(),Fa(),t.flags|=98560,s=!1;else if(s=Na(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Ni]=t}else Fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;dc(t),s=!1}else Da!==null&&(wl(Da),Da=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||xo.current&1?Qc===0&&(Qc=3):Pl())),t.updateQueue!==null&&(t.flags|=4),dc(t),null);case 4:return vo(),e===null&&li(t.stateNode.containerInfo),dc(t),null;case 10:return Ya(t.type._context),dc(t),null;case 17:return $i(t.type)&&ea(),dc(t),null;case 19:if(Ki(xo),s=t.memoizedState,s===null)return dc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)uc(s,!1);else{if(Qc!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=So(e),c!==null){for(t.flags|=128,uc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return qi(xo,xo.current&1|2),t.child}e=e.sibling}s.tail!==null&&gt()>ol&&(t.flags|=128,i=!0,uc(s,!1),t.lanes=4194304)}else{if(!i)if(e=So(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),uc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Ea)return dc(t),null}else 2*gt()-s.renderingStartTime>ol&&n!==1073741824&&(t.flags|=128,i=!0,uc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(dc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=gt(),t.sibling=null,n=xo.current,qi(xo,i?n&1|2:n&1),t);case 22:case 23:return Al(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Xc&1073741824&&(dc(t),t.subtreeFlags&6&&(t.flags|=8192)):dc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function pc(e,t){switch(Ca(t),t.tag){case 1:return $i(t.type)&&ea(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vo(),Ki(Xi),Ki(Yi),wo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return bo(t),null;case 13:if(Ki(xo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ki(xo),null;case 4:return vo(),null;case 10:return Ya(t.type._context),null;case 22:case 23:return Al(),null;case 24:return null;default:return null}}var mc=!1,hc=!1,gc=typeof WeakSet==`function`?WeakSet:Set,q=null;function _c(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Wl(e,t,n)}else n.current=null}function vc(e,t,n){try{n()}catch(n){Wl(e,t,n)}}var yc=!1;function bc(e,t){if(xi=pn,e=Pr(),Fr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Si={focusedElem:e,selectionRange:n},pn=!1,q=t;q!==null;)if(t=q,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:bs(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Wl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return h=yc,yc=!1,h}function xc(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&vc(t,n,a)}i=i.next}while(i!==r)}}function Sc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Cc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function wc(e){var t=e.alternate;t!==null&&(e.alternate=null,wc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ni],delete t[Pi],delete t[Ii],delete t[Li],delete t[Ri])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tc(e){return e.tag===5||e.tag===3||e.tag===4}function Ec(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Tc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Dc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bi));else if(r!==4&&(e=e.child,e!==null))for(Dc(e,t,n),e=e.sibling;e!==null;)Dc(e,t,n),e=e.sibling}function Oc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Oc(e,t,n),e=e.sibling;e!==null;)Oc(e,t,n),e=e.sibling}var kc=null,Ac=!1;function jc(e,t,n){for(n=n.child;n!==null;)Mc(e,t,n),n=n.sibling}function Mc(e,t,n){if(Ct&&typeof Ct.onCommitFiberUnmount==`function`)try{Ct.onCommitFiberUnmount(St,n)}catch{}switch(n.tag){case 5:hc||_c(n,t);case 6:var r=kc,i=Ac;kc=null,jc(e,t,n),kc=r,Ac=i,kc!==null&&(Ac?(e=kc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):kc.removeChild(n.stateNode));break;case 18:kc!==null&&(Ac?(e=kc,n=n.stateNode,e.nodeType===8?ki(e.parentNode,n):e.nodeType===1&&ki(e,n),dn(e)):ki(kc,n.stateNode));break;case 4:r=kc,i=Ac,kc=n.stateNode.containerInfo,Ac=!0,jc(e,t,n),kc=r,Ac=i;break;case 0:case 11:case 14:case 15:if(!hc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&vc(n,t,o),i=i.next}while(i!==r)}jc(e,t,n);break;case 1:if(!hc&&(_c(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Wl(n,t,e)}jc(e,t,n);break;case 21:jc(e,t,n);break;case 22:n.mode&1?(hc=(r=hc)||n.memoizedState!==null,jc(e,t,n),hc=r):jc(e,t,n);break;default:jc(e,t,n)}}function Nc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gc),t.forEach(function(t){var r=Jl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Pc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:kc=c.stateNode,Ac=!1;break a;case 3:kc=c.stateNode.containerInfo,Ac=!0;break a;case 4:kc=c.stateNode.containerInfo,Ac=!0;break a}c=c.return}if(kc===null)throw Error(r(160));Mc(o,s,a),kc=null,Ac=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Wl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Fc(t,e),t=t.sibling}function Fc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pc(t,e),Ic(e),i&4){try{xc(3,e,e.return),Sc(3,e)}catch(t){Wl(e,e.return,t)}try{xc(5,e,e.return)}catch(t){Wl(e,e.return,t)}}break;case 1:Pc(t,e),Ic(e),i&512&&n!==null&&_c(n,n.return);break;case 5:if(Pc(t,e),Ic(e),i&512&&n!==null&&_c(n,n.return),e.flags&32){var a=e.stateNode;try{ke(a,``)}catch(t){Wl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&he(a,o),Ie(c,s);var u=Ie(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Ne(a,f):d===`dangerouslySetInnerHTML`?Oe(a,f):d===`children`?ke(a,f):S(a,d,f,u)}switch(c){case`input`:ge(a,o);break;case`textarea`:Ce(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?be(a,!!o.multiple,o.multiple?[]:``,!1):be(a,!!o.multiple,o.defaultValue,!0)):be(a,!!o.multiple,m,!1)}a[Pi]=o}catch(t){Wl(e,e.return,t)}}break;case 6:if(Pc(t,e),Ic(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Wl(e,e.return,t)}}break;case 3:if(Pc(t,e),Ic(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{dn(t.containerInfo)}catch(t){Wl(e,e.return,t)}break;case 4:Pc(t,e),Ic(e);break;case 13:Pc(t,e),Ic(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(al=gt())),i&4&&Nc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(hc=(u=hc)||d,Pc(t,e),hc=u):Pc(t,e),Ic(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(q=e,d=e.child;d!==null;){for(f=q=d;q!==null;){switch(p=q,m=p.child,p.tag){case 0:case 11:case 14:case 15:xc(4,p,p.return);break;case 1:_c(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Wl(i,n,e)}}break;case 5:_c(p,p.return);break;case 22:if(p.memoizedState!==null){Bc(f);continue}}m===null?Bc(f):(m.return=p,q=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Me(`display`,s))}catch(t){Wl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Wl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Pc(t,e),Ic(e),i&4&&Nc(e);break;case 21:break;default:Pc(t,e),Ic(e)}}function Ic(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Tc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(ke(a,``),i.flags&=-33),Oc(e,Ec(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Dc(e,Ec(e),o);break;default:throw Error(r(161))}}catch(t){Wl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lc(e,t,n){q=e,Rc(e,t,n)}function Rc(e,t,n){for(var r=(e.mode&1)!=0;q!==null;){var i=q,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||mc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||hc;s=mc;var l=hc;if(mc=o,(hc=c)&&!l)for(q=i;q!==null;)o=q,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Vc(i):(c.return=o,q=c);for(;a!==null;)q=a,Rc(a,t,n),a=a.sibling;q=i,mc=s,hc=l}zc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,q=a):zc(e,t,n)}}function zc(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:hc||Sc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!hc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bs(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&U(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}U(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&dn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}hc||t.flags&512&&Cc(t)}catch(e){Wl(t,t.return,e)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function Bc(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function Vc(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sc(4,t)}catch(e){Wl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Wl(t,i,e)}}var a=t.return;try{Cc(t)}catch(e){Wl(t,a,e)}break;case 5:var o=t.return;try{Cc(t)}catch(e){Wl(t,o,e)}}}catch(e){Wl(t,t.return,e)}if(t===e){q=null;break}var s=t.sibling;if(s!==null){s.return=t.return,q=s;break}q=t.return}}var Hc=Math.ceil,Uc=C.ReactCurrentDispatcher,Wc=C.ReactCurrentOwner,Gc=C.ReactCurrentBatchConfig,Kc=0,qc=null,Jc=null,Yc=0,Xc=0,Zc=Gi(0),Qc=0,$c=null,el=0,tl=0,nl=0,rl=null,il=null,al=0,ol=1/0,sl=null,cl=!1,ll=null,ul=null,dl=!1,fl=null,pl=0,ml=0,hl=null,gl=-1,_l=0;function vl(){return Kc&6?gt():gl===-1?gl=gt():gl}function yl(e){return e.mode&1?Kc&2&&Yc!==0?Yc&-Yc:La.transition===null?(e=Vt,e===0?(e=window.event,e=e===void 0?16:yn(e.type),e):e):(_l===0&&(_l=It()),_l):1}function bl(e,t,n,i){if(50<ml)throw ml=0,hl=null,Error(r(185));Rt(e,n,i),(!(Kc&2)||e!==qc)&&(e===qc&&(!(Kc&2)&&(tl|=n),Qc===4&&El(e,Yc)),xl(e,i),n===1&&Kc===0&&!(t.mode&1)&&(ol=gt()+500,oa&&ua()))}function xl(e,t){var n=e.callbackNode;Pt(e,t);var r=Mt(e,e===qc?Yc:0);if(r===0)n!==null&&pt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&pt(n),t===1)e.tag===0?la(Dl.bind(null,e)):ca(Dl.bind(null,e)),Di(function(){!(Kc&6)&&ua()}),n=null;else{switch(Ht(r)){case 1:n=vt;break;case 4:n=yt;break;case 16:n=B;break;case 536870912:n=xt;break;default:n=B}n=Xl(n,Sl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sl(e,t){if(gl=-1,_l=0,Kc&6)throw Error(r(327));var n=e.callbackNode;if(Hl()&&e.callbackNode!==n)return null;var i=Mt(e,e===qc?Yc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Fl(e,i);else{t=i;var a=Kc;Kc|=2;var o=Nl();(qc!==e||Yc!==t)&&(sl=null,ol=gt()+500,jl(e,t));do try{Ll();break}catch(t){Ml(e,t)}while(1);Ja(),Uc.current=o,Kc=a,Jc===null?(qc=null,Yc=0,t=Qc):t=0}if(t!==0){if(t===2&&(a=Ft(e),a!==0&&(i=a,t=Cl(e,a))),t===1)throw n=$c,jl(e,0),El(e,i),xl(e,gt()),n;if(t===6)El(e,i);else{if(a=e.current.alternate,!(i&30)&&!Tl(a)&&(t=Fl(e,i),t===2&&(o=Ft(e),o!==0&&(i=o,t=Cl(e,o))),t===1))throw n=$c,jl(e,0),El(e,i),xl(e,gt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Bl(e,il,sl);break;case 3:if(El(e,i),(i&130023424)===i&&(t=al+500-gt(),10<t)){if(Mt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){vl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=wi(Bl.bind(null,e,il,sl),t);break}Bl(e,il,sl);break;case 4:if(El(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Tt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=gt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Hc(i/1960))-i,10<i){e.timeoutHandle=wi(Bl.bind(null,e,il,sl),i);break}Bl(e,il,sl);break;case 5:Bl(e,il,sl);break;default:throw Error(r(329))}}}return xl(e,gt()),e.callbackNode===n?Sl.bind(null,e):null}function Cl(e,t){var n=rl;return e.current.memoizedState.isDehydrated&&(jl(e,t).flags|=256),e=Fl(e,t),e!==2&&(t=il,il=n,t!==null&&wl(t)),e}function wl(e){il===null?il=e:il.push.apply(il,e)}function Tl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!kr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function El(e,t){for(t&=~nl,t&=~tl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tt(t),r=1<<n;e[n]=-1,t&=~r}}function Dl(e){if(Kc&6)throw Error(r(327));Hl();var t=Mt(e,0);if(!(t&1))return xl(e,gt()),null;var n=Fl(e,t);if(e.tag!==0&&n===2){var i=Ft(e);i!==0&&(t=i,n=Cl(e,i))}if(n===1)throw n=$c,jl(e,0),El(e,t),xl(e,gt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Bl(e,il,sl),xl(e,gt()),null}function Ol(e,t){var n=Kc;Kc|=1;try{return e(t)}finally{Kc=n,Kc===0&&(ol=gt()+500,oa&&ua())}}function kl(e){fl!==null&&fl.tag===0&&!(Kc&6)&&Hl();var t=Kc;Kc|=1;var n=Gc.transition,r=Vt;try{if(Gc.transition=null,Vt=1,e)return e()}finally{Vt=r,Gc.transition=n,Kc=t,!(Kc&6)&&ua()}}function Al(){Xc=Zc.current,Ki(Zc)}function jl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ti(n)),Jc!==null)for(n=Jc.return;n!==null;){var r=n;switch(Ca(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ea();break;case 3:vo(),Ki(Xi),Ki(Yi),wo();break;case 5:bo(r);break;case 4:vo();break;case 13:Ki(xo);break;case 19:Ki(xo);break;case 10:Ya(r.type._context);break;case 22:case 23:Al()}n=n.return}if(qc=e,Jc=e=tu(e.current,null),Yc=Xc=t,Qc=0,$c=null,nl=tl=el=0,il=rl=null,$a!==null){for(t=0;t<$a.length;t++)if(n=$a[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}$a=null}return e}function Ml(e,t){do{var n=Jc;try{if(Ja(),W.current=gs,Ao){for(var i=Do.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Ao=!1}if(Eo=0,ko=Oo=Do=null,jo=!1,Mo=0,Wc.current=null,n===null||n.return===null){Qc=1,$c=t,Jc=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=Yc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Ps(s);if(m!==null){m.flags&=-257,Fs(m,s,c,o,t),m.mode&1&&Ns(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Ns(o,u,t),Pl();break a}l=Error(r(426))}}else if(Ea&&c.mode&1){var _=Ps(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Fs(_,s,c,o,t),Ia(Ds(l,c));break a}}o=l=Ds(l,c),Qc!==4&&(Qc=2),rl===null?rl=[o]:rl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=js(o,l,t);lo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(ul===null||!ul.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ms(o,c,t);lo(o,x);break a}}o=o.return}while(o!==null)}zl(n)}catch(e){t=e,Jc===n&&n!==null&&(Jc=n=n.return);continue}break}while(1)}function Nl(){var e=Uc.current;return Uc.current=gs,e===null?gs:e}function Pl(){(Qc===0||Qc===3||Qc===2)&&(Qc=4),qc===null||!(el&268435455)&&!(tl&268435455)||El(qc,Yc)}function Fl(e,t){var n=Kc;Kc|=2;var i=Nl();(qc!==e||Yc!==t)&&(sl=null,jl(e,t));do try{Il();break}catch(t){Ml(e,t)}while(1);if(Ja(),Kc=n,Uc.current=i,Jc!==null)throw Error(r(261));return qc=null,Yc=0,Qc}function Il(){for(;Jc!==null;)Rl(Jc)}function Ll(){for(;Jc!==null&&!mt();)Rl(Jc)}function Rl(e){var t=Yl(e.alternate,e,Xc);e.memoizedProps=e.pendingProps,t===null?zl(e):Jc=t,Wc.current=null}function zl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=pc(n,t),n!==null){n.flags&=32767,Jc=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Qc=6,Jc=null;return}}else if(n=fc(n,t,Xc),n!==null){Jc=n;return}if(t=t.sibling,t!==null){Jc=t;return}Jc=t=e}while(t!==null);Qc===0&&(Qc=5)}function Bl(e,t,n){var r=Vt,i=Gc.transition;try{Gc.transition=null,Vt=1,Vl(e,t,n,r)}finally{Gc.transition=i,Vt=r}return null}function Vl(e,t,n,i){do Hl();while(fl!==null);if(Kc&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(zt(e,o),e===qc&&(Jc=qc=null,Yc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||dl||(dl=!0,Xl(B,function(){return Hl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Gc.transition,Gc.transition=null;var s=Vt;Vt=1;var c=Kc;Kc|=4,Wc.current=null,bc(e,n),Fc(n,e),Ir(Si),pn=!!xi,Si=xi=null,e.current=n,Lc(n,e,a),ht(),Kc=c,Vt=s,Gc.transition=o}else e.current=n;if(dl&&(dl=!1,fl=e,pl=a),o=e.pendingLanes,o===0&&(ul=null),wt(n.stateNode,i),xl(e,gt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(cl)throw cl=!1,e=ll,ll=null,e;return pl&1&&e.tag!==0&&Hl(),o=e.pendingLanes,o&1?e===hl?ml++:(ml=0,hl=e):ml=0,ua(),null}function Hl(){if(fl!==null){var e=Ht(pl),t=Gc.transition,n=Vt;try{if(Gc.transition=null,Vt=16>e?16:e,fl===null)var i=!1;else{if(e=fl,fl=null,pl=0,Kc&6)throw Error(r(331));var a=Kc;for(Kc|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(q=u;q!==null;){var d=q;switch(d.tag){case 0:case 11:case 15:xc(8,d,o)}var f=d.child;if(f!==null)f.return=d,q=f;else for(;q!==null;){d=q;var p=d.sibling,m=d.return;if(wc(d),d===u){q=null;break}if(p!==null){p.return=m,q=p;break}q=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}q=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,q=s;else b:for(;q!==null;){if(o=q,o.flags&2048)switch(o.tag){case 0:case 11:case 15:xc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,q=v;break b}q=o.return}}var y=e.current;for(q=y;q!==null;){s=q;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,q=b;else b:for(s=y;q!==null;){if(c=q,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Sc(9,c)}}catch(e){Wl(c,c.return,e)}if(c===s){q=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,q=x;break b}q=c.return}}if(Kc=a,ua(),Ct&&typeof Ct.onPostCommitFiberRoot==`function`)try{Ct.onPostCommitFiberRoot(St,e)}catch{}i=!0}return i}finally{Vt=n,Gc.transition=t}}return!1}function Ul(e,t,n){t=Ds(n,t),t=js(e,t,1),e=so(e,t,1),t=vl(),e!==null&&(Rt(e,1,t),xl(e,t))}function Wl(e,t,n){if(e.tag===3)Ul(e,e,n);else for(;t!==null;){if(t.tag===3){Ul(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ul===null||!ul.has(r))){e=Ds(n,e),e=Ms(t,e,1),t=so(t,e,1),e=vl(),t!==null&&(Rt(t,1,e),xl(t,e));break}}t=t.return}}function Gl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=vl(),e.pingedLanes|=e.suspendedLanes&n,qc===e&&(Yc&n)===n&&(Qc===4||Qc===3&&(Yc&130023424)===Yc&&500>gt()-al?jl(e,0):nl|=n),xl(e,t)}function Kl(e,t){t===0&&(e.mode&1?(t=At,At<<=1,!(At&130023424)&&(At=4194304)):t=1);var n=vl();e=no(e,t),e!==null&&(Rt(e,t,n),xl(e,n))}function ql(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kl(e,n)}function Jl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Kl(e,n)}var Yl=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xi.current)Ls=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Ls=!1,oc(e,t,n);Ls=!!(e.flags&131072)}else Ls=!1,Ea&&t.flags&1048576&&xa(t,ma,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ic(e,t),e=t.pendingProps;var a=Qi(t,Yi.current);Za(t,n),a=Fo(null,t,i,e,a,n);var o=Io();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$i(i)?(o=!0,ra(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,io(t),a.updater=Ss,t.stateNode=a,a._reactInternals=t,Es(t,i,e,n),t=Ks(null,t,i,!0,o,n)):(t.tag=0,Ea&&o&&Sa(t),Rs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(ic(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=eu(i),e=bs(i,e),a){case 0:t=Ws(null,t,i,e,n);break a;case 1:t=Gs(null,t,i,e,n);break a;case 11:t=zs(null,t,i,e,n);break a;case 14:t=Bs(null,t,i,bs(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),Ws(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),Gs(e,t,i,a,n);case 3:a:{if(qs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,ao(e,t),uo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ds(Error(r(423)),t),t=Js(e,t,i,n,a);break a}else if(i!==a){a=Ds(Error(r(424)),t),t=Js(e,t,i,n,a);break a}else for(Ta=Ai(t.stateNode.containerInfo.firstChild),wa=t,Ea=!0,Da=null,n=Ua(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fa(),i===a){t=ac(e,t,n);break a}Rs(e,t,i,n)}t=t.child}return t;case 5:return yo(t),e===null&&ja(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Ci(i,a)?s=null:o!==null&&Ci(i,o)&&(t.flags|=32),Us(e,t),Rs(e,t,s,n),t.child;case 6:return e===null&&ja(t),null;case 13:return Zs(e,t,n);case 4:return _o(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ha(t,null,i,n):Rs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),zs(e,t,i,a,n);case 7:return Rs(e,t,t.pendingProps,n),t.child;case 8:return Rs(e,t,t.pendingProps.children,n),t.child;case 12:return Rs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,qi(Wa,i._currentValue),i._currentValue=s,o!==null)if(kr(o.value,s)){if(o.children===a.children&&!Xi.current){t=ac(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=oo(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Xa(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Xa(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Rs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Za(t,n),a=Qa(a),i=i(a),t.flags|=1,Rs(e,t,i,n),t.child;case 14:return i=t.type,a=bs(i,t.pendingProps),a=bs(i.type,a),Bs(e,t,i,a,n);case 15:return Vs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),ic(e,t),t.tag=1,$i(i)?(e=!0,ra(t)):e=!1,Za(t,n),ws(t,i,a),Es(t,i,a,n),Ks(null,t,i,!0,e,n);case 19:return rc(e,t,n);case 22:return Hs(e,t,n)}throw Error(r(156,t.tag))};function Xl(e,t){return ft(e,t)}function Zl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ql(e,t,n,r){return new Zl(e,t,n,r)}function $l(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eu(e){if(typeof e==`function`)return+!!$l(e);if(e!=null){if(e=e.$$typeof,e===j)return 11;if(e===P)return 14}return 2}function tu(e,t){var n=e.alternate;return n===null?(n=Ql(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function nu(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)$l(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return ru(n.children,a,o,t);case D:s=8,a|=8;break;case O:return e=Ql(12,n,t,a|2),e.elementType=O,e.lanes=o,e;case M:return e=Ql(13,n,t,a),e.elementType=M,e.lanes=o,e;case N:return e=Ql(19,n,t,a),e.elementType=N,e.lanes=o,e;case te:return iu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case k:s=10;break a;case A:s=9;break a;case j:s=11;break a;case P:s=14;break a;case ee:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=Ql(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function ru(e,t,n,r){return e=Ql(7,e,r,t),e.lanes=n,e}function iu(e,t,n,r){return e=Ql(22,e,r,t),e.elementType=te,e.lanes=n,e.stateNode={isHidden:!1},e}function au(e,t,n){return e=Ql(6,e,null,t),e.lanes=n,e}function ou(e,t,n){return t=Ql(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function su(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lt(0),this.expirationTimes=Lt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cu(e,t,n,r,i,a,o,s,c){return e=new su(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=Ql(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},io(a),e}function lu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function uu(e){if(!e)return Ji;e=e._reactInternals;a:{if(ot(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if($i(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if($i(n))return na(e,n,t)}return t}function du(e,t,n,r,i,a,o,s,c){return e=cu(n,r,!0,e,i,a,o,s,c),e.context=uu(null),n=e.current,r=vl(),i=yl(n),a=oo(r,i),a.callback=t??null,so(n,a,i),e.current.lanes=i,Rt(e,i,r),xl(e,r),e}function fu(e,t,n,r){var i=t.current,a=vl(),o=yl(i);return n=uu(n),t.context===null?t.context=n:t.pendingContext=n,t=oo(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=so(i,t,o),e!==null&&(bl(e,i,o,a),co(e,i,o)),o}function pu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function mu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hu(e,t){mu(e,t),(e=e.alternate)&&mu(e,t)}function gu(){return null}var _u=typeof reportError==`function`?reportError:function(e){console.error(e)};function vu(e){this._internalRoot=e}yu.prototype.render=vu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));fu(e,t,null,null)},yu.prototype.unmount=vu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kl(function(){fu(null,e,null,null)}),t[Fi]=null}};function yu(e){this._internalRoot=e}yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<en.length&&t!==0&&t<en[n].priority;n++);en.splice(n,0,e),n===0&&on(e)}};function bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function Su(){}function Cu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=pu(o);a.call(e)}}var o=du(t,r,e,0,null,!1,!1,``,Su);return e._reactRootContainer=o,e[Fi]=o.current,li(e.nodeType===8?e.parentNode:e),kl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=pu(c);s.call(e)}}var c=cu(e,0,!1,null,null,!1,!1,``,Su);return e._reactRootContainer=c,e[Fi]=c.current,li(e.nodeType===8?e.parentNode:e),kl(function(){fu(t,c,n,r)}),c}function wu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=pu(o);s.call(e)}}fu(t,o,e,i)}else o=Cu(n,t,e,i,r);return pu(o)}Ut=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=jt(t.pendingLanes);n!==0&&(Bt(t,n|1),xl(t,gt()),!(Kc&6)&&(ol=gt()+500,ua()))}break;case 13:kl(function(){var t=no(e,1);t!==null&&bl(t,e,1,vl())}),hu(e,1)}},Wt=function(e){if(e.tag===13){var t=no(e,134217728);t!==null&&bl(t,e,134217728,vl()),hu(e,134217728)}},Gt=function(e){if(e.tag===13){var t=yl(e),n=no(e,t);n!==null&&bl(n,e,t,vl()),hu(e,t)}},Kt=function(){return Vt},qt=function(e,t){var n=Vt;try{return Vt=e,t()}finally{Vt=n}},ze=function(e,t,n){switch(t){case`input`:if(ge(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Hi(i);if(!a)throw Error(r(90));de(i),ge(i,a)}}}break;case`textarea`:Ce(e,n);break;case`select`:t=n.value,t!=null&&be(e,!!n.multiple,t,!1)}},Ge=Ol,Ke=kl;var Tu={usingClientEntryPoint:!1,Events:[Bi,Vi,Hi,Ue,We,Ol]},Eu={findFiberByHostInstance:zi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Du={bundleType:Eu.bundleType,version:Eu.version,rendererPackageName:Eu.rendererPackageName,rendererConfig:Eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ut(e),e===null?null:e.stateNode},findFiberByHostInstance:Eu.findFiberByHostInstance||gu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ou.isDisabled&&Ou.supportsFiber)try{St=Ou.inject(Du),Ct=Ou}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!bu(t))throw Error(r(200));return lu(e,t,null,n)},e.createRoot=function(e,t){if(!bu(e))throw Error(r(299));var n=!1,i=``,a=_u;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=cu(e,1,!1,null,null,n,!1,i,a),e[Fi]=t.current,li(e.nodeType===8?e.parentNode:e),new vu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=ut(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return kl(e)},e.hydrate=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!bu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=_u;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=du(t,null,e,1,n??null,a,!1,o,s),e[Fi]=t.current,li(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new yu(t)},e.render=function(e,t,n){if(!xu(t))throw Error(r(200));return wu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!xu(e))throw Error(r(40));return e._reactRootContainer?(kl(function(){wu(null,null,e,!1,function(){e._reactRootContainer=null,e[Fi]=null})}),!0):!1},e.unstable_batchedUpdates=Ol,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!xu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return wu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot}));(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var _=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},v=()=>null,y=new Proxy(v,{get:()=>v});function b(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var x=`$$material`;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(null,arguments)}var C=!1;function w(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]}function T(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var E=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!C: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(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=w(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),D=`-ms-`,O=`-moz-`,k=`-webkit-`,A=`comm`,j=`rule`,M=`decl`,N=`@import`,P=`@keyframes`,ee=`@layer`,te=Math.abs,F=String.fromCharCode,ne=Object.assign;function I(e,t){return R(e,0)^45?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function re(e){return e.trim()}function ie(e,t){return(e=t.exec(e))?e[0]:e}function L(e,t,n){return e.replace(t,n)}function ae(e,t){return e.indexOf(t)}function R(e,t){return e.charCodeAt(t)|0}function oe(e,t,n){return e.slice(t,n)}function se(e){return e.length}function ce(e){return e.length}function le(e,t){return t.push(e),e}function ue(e,t){return e.map(t).join(``)}var z=1,de=1,fe=0,pe=0,me=0,he=``;function ge(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:z,column:de,length:o,return:``}}function _e(e,t){return ne(ge(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ve(){return me}function ye(){return me=pe>0?R(he,--pe):0,de--,me===10&&(de=1,z--),me}function be(){return me=pe<fe?R(he,pe++):0,de++,me===10&&(de=1,z++),me}function xe(){return R(he,pe)}function Se(){return pe}function Ce(e,t){return oe(he,e,t)}function we(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 Te(e){return z=de=1,fe=se(he=e),pe=0,[]}function Ee(e){return he=``,e}function De(e){return re(Ce(pe-1,Ae(e===91?e+2:e===40?e+1:e)))}function Oe(e){for(;(me=xe())&&me<33;)be();return we(e)>2||we(me)>3?``:` `}function ke(e,t){for(;--t&&be()&&!(me<48||me>102||me>57&&me<65||me>70&&me<97););return Ce(e,Se()+(t<6&&xe()==32&&be()==32))}function Ae(e){for(;be();)switch(me){case e:return pe;case 34:case 39:e!==34&&e!==39&&Ae(me);break;case 40:e===41&&Ae(e);break;case 92:be();break}return pe}function je(e,t){for(;be()&&e+me!==57&&!(e+me===84&&xe()===47););return`/*`+Ce(t,pe-1)+`*`+F(e===47?e:be())}function Me(e){for(;!we(xe());)be();return Ce(e,pe)}function Ne(e){return Ee(Pe(``,null,null,null,[``],e=Te(e),0,[0],e))}function Pe(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=be()){case 40:if(m!=108&&R(C,d-1)==58){ae(C+=L(De(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=De(v);break;case 9:case 10:case 13:case 32:C+=Oe(m);break;case 92:C+=ke(Se()-1,7);continue;case 47:switch(xe()){case 42:case 47:le(Ie(je(be(),Se()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=se(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=L(C,/\f/g,``)),p>0&&se(C)-d&&le(p>32?Le(C+`;`,r,n,d-1):Le(L(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(le(S=Fe(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Pe(C,t,S,S,b,a,d,s,x);else switch(f===99&&R(C,3)===110?100:f){case 100:case 108:case 109:case 115:Pe(e,S,S,r&&le(Fe(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Pe(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+se(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ye()==125)continue}switch(C+=F(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(se(C)-1)*_,_=1;break;case 64:xe()===45&&(C+=De(be())),f=xe(),u=d=se(y=C+=Me(Se())),v++;break;case 45:m===45&&se(C)==2&&(h=0)}}return a}function Fe(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=ce(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=oe(e,d+1,d=te(h=o[m])),y=e;_<p;++_)(y=re(h>0?f[_]+` `+v:L(v,/&\f/g,f[_])))&&(c[g++]=y);return ge(e,t,n,i===0?j:s,c,l,u)}function Ie(e,t,n){return ge(e,t,n,A,F(ve()),oe(e,2,-2),0)}function Le(e,t,n,r){return ge(e,t,n,M,oe(e,0,r),oe(e,r+1,-1),r)}function Re(e,t){for(var n=``,r=ce(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function ze(e,t,n,r){switch(e.type){case ee:if(e.children.length)break;case N:case M:return e.return=e.return||e.value;case A:return``;case P:return e.return=e.value+`{`+Re(e.children,r)+`}`;case j:e.value=e.props.join(`,`)}return se(n=Re(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Be(e){var t=ce(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Ve(e){return function(t){t.root||(t=t.return)&&e(t)}}function He(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ue=function(e,t,n){for(var r=0,i=0;r=i,i=xe(),r===38&&i===12&&(t[n]=1),!we(i);)be();return Ce(e,pe)},We=function(e,t){var n=-1,r=44;do switch(we(r)){case 0:r===38&&xe()===12&&(t[n]=1),e[n]+=Ue(pe-1,t,n);break;case 2:e[n]+=De(r);break;case 4:if(r===44){e[++n]=xe()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=F(r)}while(r=be());return e},Ge=function(e,t){return Ee(We(Te(e),t))},Ke=new WeakMap,qe=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Ke.get(n))&&!r){Ke.set(e,!0);for(var i=[],a=Ge(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Je=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ye(e,t){switch(I(e,t)){case 5103:return k+`print-`+e+e;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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+O+e+D+e+e;case 6828:case 4268:return k+e+D+e+e;case 6165:return k+e+D+`flex-`+e+e;case 5187:return k+e+L(e,/(\w+).+(:[^]+)/,k+`box-$1$2`+D+`flex-$1$2`)+e;case 5443:return k+e+D+`flex-item-`+L(e,/flex-|-self/,``)+e;case 4675:return k+e+D+`flex-line-pack`+L(e,/align-content|flex-|-self/,``)+e;case 5548:return k+e+D+L(e,`shrink`,`negative`)+e;case 5292:return k+e+D+L(e,`basis`,`preferred-size`)+e;case 6060:return k+`box-`+L(e,`-grow`,``)+k+e+D+L(e,`grow`,`positive`)+e;case 4554:return k+L(e,/([^-])(transform)/g,`$1`+k+`$2`)+e;case 6187:return L(L(L(e,/(zoom-|grab)/,k+`$1`),/(image-set)/,k+`$1`),e,``)+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,k+`box-pack:$3`+D+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+k+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,k+`$1$2`)+e;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(se(e)-1-t>6)switch(R(e,t+1)){case 109:if(R(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,`$1`+k+`$2-$3$1`+O+(R(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~ae(e,`stretch`)?Ye(L(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(R(e,t+1)!==115)break;case 6444:switch(R(e,se(e)-3-(~ae(e,`!important`)&&10))){case 107:return L(e,`:`,`:`+k)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+k+(R(e,14)===45?`inline-`:``)+`box$3$1`+k+`$2$3$1`+D+`$2box$3`)+e}break;case 5936:switch(R(e,t+11)){case 114:return k+e+D+L(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return k+e+D+L(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return k+e+D+L(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return k+e+D+e+e}return e}var Xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case M:e.return=Ye(e.value,e.length);break;case P:return Re([_e(e,{value:L(e.value,`@`,`@`+k)})],r);case j:if(e.length)return ue(e.props,function(t){switch(ie(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Re([_e(e,{props:[L(t,/:(read-\w+)/,`:`+O+`$1`)]})],r);case`::placeholder`:return Re([_e(e,{props:[L(t,/:(plac\w+)/,`:`+k+`input-$1`)]}),_e(e,{props:[L(t,/:(plac\w+)/,`:`+O+`$1`)]}),_e(e,{props:[L(t,/:(plac\w+)/,D+`input-$1`)]})],r)}return``})}}],Ze=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Xe,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[qe,Je],l,u=[ze,Ve(function(e){l.insert(e)})],d=Be(c.concat(r,u)),f=function(e){return Re(Ne(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new E({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Qe=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),$e=o(((e,t)=>{t.exports=Qe()})),et=o(((e,t)=>{var n=$e(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),tt=!0;function nt(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var rt=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||tt===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},it=function(e,t,n){rt(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function at(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ot={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},st=!1,ct=/[A-Z]|^ms/g,lt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ut=function(e){return e.charCodeAt(1)===45},dt=function(e){return e!=null&&typeof e!=`boolean`},ft=He(function(e){return ut(e)?e:e.replace(ct,`-$&`).toLowerCase()}),pt=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(lt,function(e,t,n){return vt={name:t,styles:n,next:vt},t})}return ot[e]!==1&&!ut(e)&&typeof t==`number`&&t!==0?t+`px`:t},mt=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function ht(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return vt={name:i.name,styles:i.styles,next:vt},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)vt={name:o.name,styles:o.styles,next:vt},o=o.next;return a.styles+`;`}return gt(e,t,n);case`function`:if(e!==void 0){var s=vt,c=n(e);return vt=s,ht(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function gt(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ht(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:dt(s)&&(r+=ft(a)+`:`+pt(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&st)throw Error(mt);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)dt(o[c])&&(r+=ft(a)+`:`+pt(a,o[c])+`;`);else{var l=ht(e,t,o);switch(a){case`animation`:case`animationName`:r+=ft(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var _t=/label:\s*([^\s;{]+)\s*(;|$)/g,vt;function yt(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;vt=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=ht(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=ht(n,t,e[o]),r&&(i+=a[o]);_t.lastIndex=0;for(var s=``,c;(c=_t.exec(i))!==null;)s+=`-`+c[1];return{name:at(i)+s,styles:i,next:vt}}var B=l(d()),bt=function(e){return e()},xt=B.useInsertionEffect?B.useInsertionEffect:!1,St=xt||bt,Ct=xt||B.useLayoutEffect,wt=B.createContext(typeof HTMLElement<`u`?Ze({key:`css`}):null),Tt=wt.Provider,Et=function(e){return(0,B.forwardRef)(function(t,n){return e(t,(0,B.useContext)(wt),n)})},Dt=B.createContext({}),Ot={}.hasOwnProperty,kt=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,At=function(e,t){var n={};for(var r in t)Ot.call(t,r)&&(n[r]=t[r]);return n[kt]=e,n},jt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return rt(t,n,r),St(function(){return it(t,n,r)}),null},Mt=Et(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[kt],a=[r],o=``;typeof e.className==`string`?o=nt(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=yt(a,void 0,B.useContext(Dt));o+=t.key+`-`+s.name;var c={};for(var l in e)Ot.call(e,l)&&l!==`css`&&l!==kt&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),B.createElement(B.Fragment,null,B.createElement(jt,{cache:t,serialized:s,isStringTag:typeof i==`string`}),B.createElement(i,c))});et();var Nt=function(e,t){var n=arguments;if(t==null||!Ot.call(t,`css`))return B.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Mt,i[1]=At(e,t);for(var a=2;a<r;a++)i[a]=n[a];return B.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Nt||={});var Pt=Et(function(e,t){var n=e.styles,r=yt([n],void 0,B.useContext(Dt)),i=B.useRef();return Ct(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Ct(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&it(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Ft(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return yt(t)}function It(){var e=Ft.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 Lt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Rt=He(function(e){return Lt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),zt=!1,Bt=Rt,Vt=function(e){return e!==`theme`},Ht=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Bt:Vt},Ut=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Wt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return rt(t,n,r),St(function(){return it(t,n,r)}),null},Gt=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Ut(t,n,r),c=s||Ht(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=Et(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=B.useContext(Dt)}typeof e.className==`string`?a=nt(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=yt(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Ht(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(Wt,{cache:t,serialized:m,isStringTag:typeof r==`string`}),B.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return o===void 0&&zt?`NO_COMPONENT_SELECTOR`:`.`+o}}),h.withComponent=function(t,r){return e(t,S({},n,r,{shouldForwardProp:Ut(h,r,!0)})).apply(void 0,d)},h}},Kt=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),qt=Gt.bind(null);Kt.forEach(function(e){qt[e]=qt(e)});var Jt=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),V=o(((e,t)=>{t.exports=Jt()}))(),Yt=new Map,Xt={insert:void 0},Zt=(e,t)=>{let n=Ze(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Qt;if(typeof document==`object`&&(Qt=document.querySelector(`[name="emotion-insertion-point"]`),!Qt)){Qt=document.createElement(`meta`),Qt.setAttribute(`name`,`emotion-insertion-point`),Qt.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Qt)}function $t(e,t){if(e||t){class n extends E{insert(e,t){return Xt.insert?Xt.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Qt),super.insert(e,t))}}let r=Zt({key:`css`,insertionPoint:e?Qt:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function en(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=B.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Yt.has(e))return Yt.get(e);let r=$t(t,n);return Yt.set(e,r),r},[t,n]);return i?(0,V.jsx)(Tt,{value:i,children:r}):r}function tn(e){return e==null||Object.keys(e).length===0}function nn(e){let{styles:t,defaultTheme:n={}}=e;return(0,V.jsx)(Pt,{styles:typeof t==`function`?e=>t(tn(e)?n:e):t})}function rn(e,t){return qt(e,t)}function an(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var on=[];function sn(e){return on[0]=e,yt(on)}var cn=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.isFragment=function(e){return h(e)===r},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))}})),ln=o(((e,t)=>{t.exports=cn()}))();function un(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function dn(e){if(B.isValidElement(e)||(0,ln.isValidElementType)(e)||!un(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=dn(e[n])}),t}function fn(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return un(e)&&un(t)&&Object.keys(t).forEach(i=>{B.isValidElement(t[i])||(0,ln.isValidElementType)(t[i])?r[i]=t[i]:un(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&un(e[i])?r[i]=fn(e[i],t[i],n):n.clone?r[i]=un(t[i])?dn(t[i]):t[i]:r[i]=t[i]}),r}var pn=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function mn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=pn(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function hn(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function gn(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function _n(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function vn(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var yn={borderRadius:4};function bn(e,t){return t?fn(e,t,{clone:!1}):e}var xn={xs:0,sm:600,md:900,lg:1200,xl:1536},Sn={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${xn[e]}px)`},Cn={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:xn[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function wn(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Sn;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Sn;return Object.keys(t).reduce((i,a)=>{if(gn(e.keys,a)){let e=_n(r.containerQueries?r:Cn,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||xn).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function Tn(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function En(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Dn(e){if(typeof e!=`string`)throw Error(b(7));return e.charAt(0).toUpperCase()+e.slice(1)}function On(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function kn(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:On(e,n)||r,t&&(i=t(i,r,e)),i}function An(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=On(o,r)||{};return wn(e,a,e=>{let r=kn(s,i,e);return e===r&&typeof e==`string`&&(r=kn(s,i,`${t}${e==="default"?``:Dn(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function jn(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Mn={m:`margin`,p:`padding`},Nn={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Pn={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Fn=jn(e=>{if(e.length>2)if(Pn[e])e=Pn[e];else return[e];let[t,n]=e.split(``),r=Mn[t],i=Nn[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),In=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],Ln=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Rn=[...In,...Ln];function zn(e,t,n,r){let i=On(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Bn(e){return zn(e,`spacing`,8,`spacing`)}function Vn(e,t){return typeof t==`string`||t==null?t:e(t)}function Hn(e,t){return n=>e.reduce((e,r)=>(e[r]=Vn(t,n),e),{})}function Un(e,t,n,r){if(!t.includes(n))return null;let i=Hn(Fn(n),r),a=e[n];return wn(e,a,i)}function Wn(e,t){let n=Bn(e.theme);return Object.keys(e).map(r=>Un(e,t,r,n)).reduce(bn,{})}function Gn(e){return Wn(e,In)}Gn.propTypes={},Gn.filterProps=In;function Kn(e){return Wn(e,Ln)}Kn.propTypes={},Kn.filterProps=Ln;function qn(e){return Wn(e,Rn)}qn.propTypes={},qn.filterProps=Rn;function Jn(e=8,t=Bn({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Yn(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?bn(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Xn(e){return typeof e==`number`?`${e}px solid`:e}function Zn(e,t){return An({prop:e,themeKey:`borders`,transform:t})}var Qn=Zn(`border`,Xn),$n=Zn(`borderTop`,Xn),er=Zn(`borderRight`,Xn),tr=Zn(`borderBottom`,Xn),nr=Zn(`borderLeft`,Xn),rr=Zn(`borderColor`),ir=Zn(`borderTopColor`),ar=Zn(`borderRightColor`),or=Zn(`borderBottomColor`),sr=Zn(`borderLeftColor`),cr=Zn(`outline`,Xn),lr=Zn(`outlineColor`),ur=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=zn(e.theme,`shape.borderRadius`,4,`borderRadius`);return wn(e,e.borderRadius,e=>({borderRadius:Vn(t,e)}))}return null};ur.propTypes={},ur.filterProps=[`borderRadius`],Yn(Qn,$n,er,tr,nr,rr,ir,ar,or,sr,ur,cr,lr);var dr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=zn(e.theme,`spacing`,8,`gap`);return wn(e,e.gap,e=>({gap:Vn(t,e)}))}return null};dr.propTypes={},dr.filterProps=[`gap`];var fr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=zn(e.theme,`spacing`,8,`columnGap`);return wn(e,e.columnGap,e=>({columnGap:Vn(t,e)}))}return null};fr.propTypes={},fr.filterProps=[`columnGap`];var pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=zn(e.theme,`spacing`,8,`rowGap`);return wn(e,e.rowGap,e=>({rowGap:Vn(t,e)}))}return null};pr.propTypes={},pr.filterProps=[`rowGap`],Yn(dr,fr,pr,An({prop:`gridColumn`}),An({prop:`gridRow`}),An({prop:`gridAutoFlow`}),An({prop:`gridAutoColumns`}),An({prop:`gridAutoRows`}),An({prop:`gridTemplateColumns`}),An({prop:`gridTemplateRows`}),An({prop:`gridTemplateAreas`}),An({prop:`gridArea`}));function mr(e,t){return t===`grey`?t:e}Yn(An({prop:`color`,themeKey:`palette`,transform:mr}),An({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:mr}),An({prop:`backgroundColor`,themeKey:`palette`,transform:mr}));function hr(e){return e<=1&&e!==0?`${e*100}%`:e}var gr=An({prop:`width`,transform:hr}),_r=e=>e.maxWidth!==void 0&&e.maxWidth!==null?wn(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||xn[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:hr(t)}}):null;_r.filterProps=[`maxWidth`];var vr=An({prop:`minWidth`,transform:hr}),yr=An({prop:`height`,transform:hr}),br=An({prop:`maxHeight`,transform:hr}),xr=An({prop:`minHeight`,transform:hr});An({prop:`size`,cssProperty:`width`,transform:hr}),An({prop:`size`,cssProperty:`height`,transform:hr}),Yn(gr,_r,vr,yr,br,xr,An({prop:`boxSizing`}));var Sr={border:{themeKey:`borders`,transform:Xn},borderTop:{themeKey:`borders`,transform:Xn},borderRight:{themeKey:`borders`,transform:Xn},borderBottom:{themeKey:`borders`,transform:Xn},borderLeft:{themeKey:`borders`,transform:Xn},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Xn},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ur},color:{themeKey:`palette`,transform:mr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:mr},backgroundColor:{themeKey:`palette`,transform:mr},p:{style:Kn},pt:{style:Kn},pr:{style:Kn},pb:{style:Kn},pl:{style:Kn},px:{style:Kn},py:{style:Kn},padding:{style:Kn},paddingTop:{style:Kn},paddingRight:{style:Kn},paddingBottom:{style:Kn},paddingLeft:{style:Kn},paddingX:{style:Kn},paddingY:{style:Kn},paddingInline:{style:Kn},paddingInlineStart:{style:Kn},paddingInlineEnd:{style:Kn},paddingBlock:{style:Kn},paddingBlockStart:{style:Kn},paddingBlockEnd:{style:Kn},m:{style:Gn},mt:{style:Gn},mr:{style:Gn},mb:{style:Gn},ml:{style:Gn},mx:{style:Gn},my:{style:Gn},margin:{style:Gn},marginTop:{style:Gn},marginRight:{style:Gn},marginBottom:{style:Gn},marginLeft:{style:Gn},marginX:{style:Gn},marginY:{style:Gn},marginInline:{style:Gn},marginInlineStart:{style:Gn},marginInlineEnd:{style:Gn},marginBlock:{style:Gn},marginBlockStart:{style:Gn},marginBlockEnd:{style:Gn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:dr},rowGap:{style:pr},columnGap:{style:fr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:hr},maxWidth:{style:_r},minWidth:{transform:hr},height:{transform:hr},maxHeight:{transform:hr},minHeight:{transform:hr},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function Cr(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function wr(e,t){return typeof e==`function`?e(t):e}function Tr(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=On(n,s)||{};return l?l(i):wn(i,t,t=>{let n=kn(u,c,t);return t===n&&typeof t==`string`&&(n=kn(u,c,`${e}${t==="default"?``:Dn(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??Sr;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=Tn(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=wr(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=bn(l,e(n,a,i,o));else{let e=wn({theme:i},a,e=>({[n]:e}));Cr(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=bn(l,e)}else l=bn(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":hn(i,En(c,l))}:hn(i,En(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var Er=Tr();Er.filterProps=[`sx`];function Dr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Or(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=mn(n),c=Jn(i),l=fn({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...yn,...a}},o);return l=vn(l),l.applyStyles=Dr,l=t.reduce((e,t)=>fn(e,t),l),l.unstable_sxConfig={...Sr,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Er({sx:e,theme:this})},l}function kr(e){return Object.keys(e).length===0}function Ar(e=null){let t=B.useContext(Dt);return!t||kr(t)?e:t}var jr=Or();function Mr(e=jr){return Ar(e)}function Nr(e){let t=sn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Pr({styles:e,themeId:t,defaultTheme:n={}}){let r=Mr(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Nr(typeof e==`function`?e(i):e)):Nr(a)),(0,V.jsx)(nn,{styles:a})}var Fr=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Sr;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function Ir(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=Fr(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return un(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}var Lr=e=>e,Rr=(()=>{let e=Lr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Lr}}})();function zr(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=zr(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function H(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=zr(e))&&(r&&(r+=` `),r+=t);return r}var Br={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function Vr(e,t,n=`Mui`){let r=Br[t];return r?`${n}-${r}`:`${Rr.generate(e)}-${t}`}function Hr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Vr(e,t,n)}),r}function Ur(e){let{variants:t,...n}=e,r={variants:t,style:sn(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=sn(e.style))}),r}var Wr=Or();function Gr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Kr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function qr(e){return e?(t,n)=>n[e]:null}function Jr(e,t,n){e.theme=Qr(e.theme)?n:e.theme[t]||e.theme}function Yr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Yr(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Kr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Kr(sn(i),n):i}return Xr(e,r.variants,[t],n)}return r?.isProcessed?n?Kr(sn(r.style),n):r.style:n?Kr(sn(r),n):r}function Xr(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Kr(sn(o.style(i)),r):o.style(i))):n.push(r?Kr(sn(o.style),r):o.style)}return n}function Zr(e={}){let{themeId:t,defaultTheme:n=Wr,rootShouldForwardProp:r=Gr,slotShouldForwardProp:i=Gr}=e;function a(e){Jr(e,t,n)}return(e,t={})=>{an(e,e=>e.filter(e=>e!==Er));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=qr(ei(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Gr;o===`Root`||o===`root`?m=r:o?m=i:$r(e)&&(m=void 0);let h=rn(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Yr(t,e,t.theme.modularCssLayers?d:void 0)};if(un(e)){let t=Ur(e);return function(e){return t.variants?Yr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Kr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Yr(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Xr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Er),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=h(...r,...i,...o);return e.muiName&&(s.muiName=e.muiName),s};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Qr(e){for(let t in e)return!1;return!0}function $r(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ei(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ti(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=ti(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=H(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var ni=typeof window<`u`?B.useLayoutEffect:B.useEffect;function ri(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ii(e,t=0,n=1){return ri(e,t,n)}function ai(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function oi(e){if(e.type)return e;if(e.charAt(0)===`#`)return oi(ai(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(b(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(b(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var si=e=>{let t=oi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ci=(e,t)=>{try{return si(e)}catch{return e}};function li(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function ui(e){e=oi(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),li({type:s,values:c})}function di(e){e=oi(e);let t=e.type===`hsl`||e.type===`hsla`?oi(ui(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fi(e,t){let n=di(e),r=di(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function pi(e,t){return e=oi(e),t=ii(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,li(e)}function mi(e,t,n){try{return pi(e,t)}catch{return e}}function hi(e,t){if(e=oi(e),t=ii(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return li(e)}function gi(e,t,n){try{return hi(e,t)}catch{return e}}function _i(e,t){if(e=oi(e),t=ii(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return li(e)}function vi(e,t,n){try{return _i(e,t)}catch{return e}}function yi(e,t=.15){return di(e)>.5?hi(e,t):_i(e,t)}function bi(e,t,n){try{return yi(e,t)}catch{return e}}var xi=B.createContext(null);function Si(){return B.useContext(xi)}var Ci=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function wi(e,t){return typeof t==`function`?t(e):{...e,...t}}function Ti(e){let{children:t,theme:n}=e,r=Si(),i=B.useMemo(()=>{let e=r===null?{...n}:wi(r,n);return e!=null&&(e[Ci]=r!==null),e},[n,r]);return(0,V.jsx)(xi.Provider,{value:i,children:t})}var Ei=B.createContext();function Di({value:e,...t}){return(0,V.jsx)(Ei.Provider,{value:e??!0,...t})}var Oi=()=>B.useContext(Ei)??!1,ki=B.createContext(void 0);function Ai({value:e,children:t}){return(0,V.jsx)(ki.Provider,{value:e,children:t})}function ji(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ti(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ti(i,r,t.components.mergeClassNameAndStyle):r}function Mi({props:e,name:t}){return ji({props:e,name:t,theme:{components:B.useContext(ki)}})}var Ni=0;function Pi(e){let[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t??(Ni+=1,n(`mui-${Ni}`))},[t]),r}var Fi={...B}.useId;function Ii(e){if(Fi!==void 0){let t=Fi();return e??t}return Pi(e)}function Li(e){let t=Ar(),n=Ii()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,ni(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,V.jsx)(Pr,{styles:i}):null}var Ri={};function zi(e,t,n,r=!1){return B.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Bi(e){let{children:t,theme:n,themeId:r}=e,i=Ar(Ri),a=Si()||Ri,o=zi(r,i,n),s=zi(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Li(o);return(0,V.jsx)(Ti,{theme:s,children:(0,V.jsx)(Dt.Provider,{value:o,children:(0,V.jsx)(Di,{value:c,children:(0,V.jsxs)(Ai,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Vi={theme:void 0};function Hi(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Vi.theme=r.theme,i=Ur(e(Vi)),t=i,n=r.theme),i}}var Ui=`mode`,Wi=`color-scheme`,Gi=`data-color-scheme`;function Ki(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Ui,colorSchemeStorageKey:a=Wi,attribute:o=Gi,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
9
+ ${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
10
+ ${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
11
+ ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,V.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
12
+ try {
13
+ let colorScheme = '';
14
+ const mode = localStorage.getItem('${i}') || '${t}';
15
+ const dark = localStorage.getItem('${a}-dark') || '${r}';
16
+ const light = localStorage.getItem('${a}-light') || '${n}';
17
+ if (mode === 'system') {
18
+ // handle system mode
19
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
20
+ if (mql.matches) {
21
+ colorScheme = dark
22
+ } else {
23
+ colorScheme = light
24
+ }
25
+ }
26
+ if (mode === 'light') {
27
+ colorScheme = light;
28
+ }
29
+ if (mode === 'dark') {
30
+ colorScheme = dark;
31
+ }
32
+ if (colorScheme) {
33
+ ${l}
34
+ }
35
+ } catch(e){}})();`}},`mui-color-scheme-init`)}function qi(){}var Ji=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return qi;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function Yi(){}function Xi(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function Zi(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function Qi(e){return Zi(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function $i(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=Ui,colorSchemeStorageKey:o=Wi,storageWindow:s=typeof window>`u`?void 0:window,storageManager:c=Ji,noSsr:l=!1}=e,u=i.join(`,`),d=i.length>1,f=B.useMemo(()=>c?.({key:a,storageWindow:s}),[c,a,s]),p=B.useMemo(()=>c?.({key:`${o}-light`,storageWindow:s}),[c,o,s]),m=B.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:s}),[c,o,s]),[h,g]=B.useState(()=>{let e=f?.get(t)||t,i=p?.get(n)||n,a=m?.get(r)||r;return{mode:e,systemMode:Xi(e),lightColorScheme:i,darkColorScheme:a}}),[_,v]=B.useState(l||!d);B.useEffect(()=>{v(!0)},[]);let y=Qi(h),b=B.useCallback(e=>{g(n=>{if(e===n.mode)return n;let r=e??t;return f?.set(r),{...n,mode:r,systemMode:Xi(r)}})},[f,t]),x=B.useCallback(e=>{e?typeof e==`string`?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):g(t=>{let n={...t};return Zi(t,t=>{t===`light`&&(p?.set(e),n.lightColorScheme=e),t===`dark`&&(m?.set(e),n.darkColorScheme=e)}),n}):g(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;return a&&(u.includes(a)?(i.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(u.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):g(e=>(p?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[u,p,m,n,r]),S=B.useCallback(e=>{h.mode===`system`&&g(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[h.mode]),C=B.useRef(S);return C.current=S,B.useEffect(()=>{if(typeof window.matchMedia!=`function`||!d)return;let e=(...e)=>C.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),B.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&b(e||t)})||Yi,n=p?.subscribe(e=>{(!e||u.match(e))&&x({light:e})})||Yi,r=m?.subscribe(e=>{(!e||u.match(e))&&x({dark:e})})||Yi;return()=>{e(),n(),r()}}},[x,b,u,t,s,d,f,p,m]),{...h,mode:_?h.mode:void 0,systemMode:_?h.systemMode:void 0,colorScheme:_?y:void 0,setMode:b,setColorScheme:x}}var ea=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function ta(e){let{themeId:t,theme:n={},modeStorageKey:r=Ui,colorSchemeStorageKey:i=Wi,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:s}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},l=B.createContext(void 0),u=()=>B.useContext(l)||c,d={},f={};function p(e){let{children:c,theme:u,modeStorageKey:p=r,colorSchemeStorageKey:m=i,disableTransitionOnChange:h=a,storageManager:g,storageWindow:_=typeof window>`u`?void 0:window,documentNode:v=typeof document>`u`?void 0:document,colorSchemeNode:y=typeof document>`u`?void 0:document.documentElement,disableNestedContext:b=!1,disableStyleSheetGeneration:x=!1,defaultMode:S=`system`,forceThemeRerender:C=!1,noSsr:w}=e,T=B.useRef(!1),E=Si(),D=B.useContext(l),O=!!D&&!b,k=B.useMemo(()=>u||(typeof n==`function`?n():n),[u]),A=k[t],j=A||k,{colorSchemes:M=d,components:N=f,cssVarPrefix:P}=j,ee=Object.keys(M).filter(e=>!!M[e]).join(`,`),te=B.useMemo(()=>ee.split(`,`),[ee]),F=typeof o==`string`?o:o.light,ne=typeof o==`string`?o:o.dark,{mode:I,setMode:re,systemMode:ie,lightColorScheme:L,darkColorScheme:ae,colorScheme:R,setColorScheme:oe}=$i({supportedColorSchemes:te,defaultLightColorScheme:F,defaultDarkColorScheme:ne,modeStorageKey:p,colorSchemeStorageKey:m,defaultMode:M[F]&&M[ne]?S:M[j.defaultColorScheme]?.palette?.mode||j.palette?.mode,storageManager:g,storageWindow:_,noSsr:w}),se=I,ce=R;O&&(se=D.mode,ce=D.colorScheme);let le=ce||j.defaultColorScheme;j.vars&&!C&&(le=j.defaultColorScheme);let ue=B.useMemo(()=>{let e=j.generateThemeVars?.()||j.vars,t={...j,components:N,colorSchemes:M,cssVarPrefix:P,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),le){let e=M[le];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[j,le,N,M,P]),z=j.colorSchemeSelector;ni(()=>{if(ce&&y&&z&&z!==`media`){let e=z,t=z;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))y.classList.remove(...te.map(e=>t.substring(1).replace(`%s`,e))),y.classList.add(t.substring(1).replace(`%s`,ce));else{let e=t.replace(`%s`,ce).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||te.forEach(e=>{y.removeAttribute(t.replace(ce,e))}),y.setAttribute(t,n?n.replace(/"|'/g,``):``)}else y.setAttribute(t,ce)}}},[ce,z,y,te]),B.useEffect(()=>{let e;if(h&&T.current&&v){let t=v.createElement(`style`);t.appendChild(v.createTextNode(ea)),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[ce,h,v]),B.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);let de=B.useMemo(()=>({allColorSchemes:te,colorScheme:ce,darkColorScheme:ae,lightColorScheme:L,mode:se,setColorScheme:oe,setMode:re,systemMode:ie}),[te,ce,ae,L,se,oe,re,ie,ue.colorSchemeSelector]),fe=!0;(x||j.cssVariables===!1||O&&E?.cssVarPrefix===P)&&(fe=!1);let pe=(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(Bi,{themeId:A?t:void 0,theme:ue,children:c}),fe&&(0,V.jsx)(nn,{styles:ue.generateStyleSheets?.()||[]})]});return O?pe:(0,V.jsx)(l.Provider,{value:de,children:pe})}let m=typeof o==`string`?o:o.light,h=typeof o==`string`?o:o.dark;return{CssVarsProvider:p,useColorScheme:u,getInitColorSchemeScript:e=>Ki({colorSchemeStorageKey:i,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:r,...e})}}function na(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var ra=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},ia=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},aa=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function oa(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return ia(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=aa(e,t);Object.assign(i,{[r]:c}),ra(a,e,`var(${r})`,s),ra(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function sa(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=oa(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=oa(n,t);p=fn(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=oa(h,t);p=fn(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=fn(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function ca(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function la(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function ua(e,t){return B.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var da={black:`#000`,white:`#fff`},fa={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`},pa={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},ma={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},ha={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},ga={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},_a={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},va={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};function ya(){return{text:{primary:`rgba(0, 0, 0, 0.87)`,secondary:`rgba(0, 0, 0, 0.6)`,disabled:`rgba(0, 0, 0, 0.38)`},divider:`rgba(0, 0, 0, 0.12)`,background:{paper:da.white,default:da.white},action:{active:`rgba(0, 0, 0, 0.54)`,hover:`rgba(0, 0, 0, 0.04)`,hoverOpacity:.04,selected:`rgba(0, 0, 0, 0.08)`,selectedOpacity:.08,disabled:`rgba(0, 0, 0, 0.26)`,disabledBackground:`rgba(0, 0, 0, 0.12)`,disabledOpacity:.38,focus:`rgba(0, 0, 0, 0.12)`,focusOpacity:.12,activatedOpacity:.12}}}var ba=ya();function xa(){return{text:{primary:da.white,secondary:`rgba(255, 255, 255, 0.7)`,disabled:`rgba(255, 255, 255, 0.5)`,icon:`rgba(255, 255, 255, 0.5)`},divider:`rgba(255, 255, 255, 0.12)`,background:{paper:`#121212`,default:`#121212`},action:{active:da.white,hover:`rgba(255, 255, 255, 0.08)`,hoverOpacity:.08,selected:`rgba(255, 255, 255, 0.16)`,selectedOpacity:.16,disabled:`rgba(255, 255, 255, 0.3)`,disabledBackground:`rgba(255, 255, 255, 0.12)`,disabledOpacity:.38,focus:`rgba(255, 255, 255, 0.12)`,focusOpacity:.12,activatedOpacity:.24}}}var Sa=xa();function Ca(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=_i(e.main,i):t===`dark`&&(e.dark=hi(e.main,a)))}function wa(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function Ta(e=`light`){return e===`dark`?{main:ga[200],light:ga[50],dark:ga[400]}:{main:ga[700],light:ga[400],dark:ga[800]}}function Ea(e=`light`){return e===`dark`?{main:pa[200],light:pa[50],dark:pa[400]}:{main:pa[500],light:pa[300],dark:pa[700]}}function Da(e=`light`){return e===`dark`?{main:ma[500],light:ma[300],dark:ma[700]}:{main:ma[700],light:ma[400],dark:ma[800]}}function Oa(e=`light`){return e===`dark`?{main:_a[400],light:_a[300],dark:_a[700]}:{main:_a[700],light:_a[500],dark:_a[900]}}function ka(e=`light`){return e===`dark`?{main:va[400],light:va[300],dark:va[700]}:{main:va[800],light:va[500],dark:va[900]}}function Aa(e=`light`){return e===`dark`?{main:ha[400],light:ha[300],dark:ha[700]}:{main:`#ed6c02`,light:ha[500],dark:ha[900]}}function ja(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ma(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Ta(t),s=e.secondary||Ea(t),c=e.error||Da(t),l=e.info||Oa(t),u=e.success||ka(t),d=e.warning||Aa(t);function f(e){return i?ja(e):fi(e,Sa.text.primary)>=n?Sa.text.primary:ba.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(b(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(b(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(wa(i,e,`light`,a,r),wa(i,e,`dark`,o,r)):(Ca(e,`light`,a,r),Ca(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=ya():t===`dark`&&(m=xa()),fn({common:{...da},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:fa,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function Na(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Pa(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function Fa(e){return Math.round(e*1e5)/1e5}var Ia={textTransform:`uppercase`},La=`"Roboto", "Helvetica", "Arial", sans-serif`;function Ra(e,t){let{fontFamily:n=La,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===La?{letterSpacing:`${Fa(i/t)}em`}:{},...a,...l});return fn({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,Ia),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ia),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var za=.2,Ba=.14,Va=.12;function Ha(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${za})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ba})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Va})`].join(`,`)}var Ua=[`none`,Ha(0,2,1,-1,0,1,1,0,0,1,3,0),Ha(0,3,1,-2,0,2,2,0,0,1,5,0),Ha(0,3,3,-2,0,3,4,0,0,1,8,0),Ha(0,2,4,-1,0,4,5,0,0,1,10,0),Ha(0,3,5,-1,0,5,8,0,0,1,14,0),Ha(0,3,5,-1,0,6,10,0,0,1,18,0),Ha(0,4,5,-2,0,7,10,1,0,2,16,1),Ha(0,5,5,-3,0,8,10,1,0,3,14,2),Ha(0,5,6,-3,0,9,12,1,0,3,16,2),Ha(0,6,6,-3,0,10,14,1,0,4,18,3),Ha(0,6,7,-4,0,11,15,1,0,4,20,3),Ha(0,7,8,-4,0,12,17,2,0,5,22,4),Ha(0,7,8,-4,0,13,19,2,0,5,24,4),Ha(0,7,9,-4,0,14,21,2,0,5,26,4),Ha(0,8,9,-5,0,15,22,2,0,6,28,5),Ha(0,8,10,-5,0,16,24,2,0,6,30,5),Ha(0,8,11,-5,0,17,26,2,0,6,32,5),Ha(0,9,11,-5,0,18,28,2,0,7,34,6),Ha(0,9,12,-6,0,19,29,2,0,7,36,6),Ha(0,10,13,-6,0,20,31,3,0,8,38,7),Ha(0,10,13,-6,0,21,33,3,0,8,40,7),Ha(0,10,14,-6,0,22,35,3,0,8,42,7),Ha(0,11,14,-7,0,23,36,3,0,9,44,8),Ha(0,11,15,-7,0,24,38,3,0,9,46,8)],Wa={easeInOut:`cubic-bezier(0.4, 0, 0.2, 1)`,easeOut:`cubic-bezier(0.0, 0, 0.2, 1)`,easeIn:`cubic-bezier(0.4, 0, 1, 1)`,sharp:`cubic-bezier(0.4, 0, 0.6, 1)`},Ga={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ka(e){return`${Math.round(e)}ms`}function qa(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Ja(e){let t={...Wa,...e.easing},n={...Ga,...e.duration};return{getAutoHeightDuration:qa,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:Ka(i)} ${a} ${typeof o==`string`?o:Ka(o)}`).join(`,`)},...e,easing:t,duration:n}}var Ya={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Xa(e){return un(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Za(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!Xa(a)||i.startsWith(`unstable_`)?delete e[i]:un(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
36
+
37
+ const theme = ${JSON.stringify(t,null,2)};
38
+
39
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
40
+ theme.transitions = createTransitions(theme.transitions || {});
41
+
42
+ export default theme;`}function Qa(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var $a=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function eo(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:pi(t,$a(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Qa(n)})`:_i(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Qa(n)})`:hi(t,n)}})}function to(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(b(20));let d=Ma({...a,colorSpace:l}),f=Or(e),p=fn(f,{mixins:Pa(f.breakpoints,r),palette:d,shadows:Ua.slice(),typography:Ra(d,s),transitions:Ja(o),zIndex:{...Ya}});return p=fn(p,u),p=t.reduce((e,t)=>fn(e,t),p),p.unstable_sxConfig={...Sr,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Er({sx:e,theme:this})},p.toRuntimeSource=Za,eo(p),p}function no(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var ro=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=no(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function io(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function ao(e){return e===`dark`?ro:[]}function oo(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Ma({...t,colorSpace:i});return{palette:o,opacity:{...io(o.mode),...n},overlays:r||ao(o.mode),...a}}function so(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var co=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],lo=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return co(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function uo(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function U(e,t,n){!e[t]&&n&&(e[t]=n)}function fo(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:ui(e)}function po(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ci(fo(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
43
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function mo(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var ho=e=>{try{return e()}catch{}},go=(e=`mui`)=>na(e);function _o(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=oo({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=to({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...io(a),...n?.opacity},overlays:n?.overlays||ao(a)},s}function vo(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=so,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=go(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(b(21,f));let x;o&&(x=`oklch`);let S=_o(x,v,y,u,f);h&&!v.light&&_o(x,v,h,void 0,`light`),g&&!v.dark&&_o(x,v,g,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...Na(S.typography),...S.font},spacing:mo(u.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(U(t.common,`background`,`#fff`),U(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(U(t.common,`background`,`#000`),U(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===mi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===gi&&(r=`#000 ${(n*100).toFixed(0)}%`),e===vi&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(uo(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){U(t.Alert,`errorColor`,r(gi,o?p(`palette-error-light`):t.error.light,.6)),U(t.Alert,`infoColor`,r(gi,o?p(`palette-info-light`):t.info.light,.6)),U(t.Alert,`successColor`,r(gi,o?p(`palette-success-light`):t.success.light,.6)),U(t.Alert,`warningColor`,r(gi,o?p(`palette-warning-light`):t.warning.light,.6)),U(t.Alert,`errorFilledBg`,n(`palette-error-main`)),U(t.Alert,`infoFilledBg`,n(`palette-info-main`)),U(t.Alert,`successFilledBg`,n(`palette-success-main`)),U(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),U(t.Alert,`errorFilledColor`,ho(()=>t.getContrastText(t.error.main))),U(t.Alert,`infoFilledColor`,ho(()=>t.getContrastText(t.info.main))),U(t.Alert,`successFilledColor`,ho(()=>t.getContrastText(t.success.main))),U(t.Alert,`warningFilledColor`,ho(()=>t.getContrastText(t.warning.main))),U(t.Alert,`errorStandardBg`,r(vi,o?p(`palette-error-light`):t.error.light,.9)),U(t.Alert,`infoStandardBg`,r(vi,o?p(`palette-info-light`):t.info.light,.9)),U(t.Alert,`successStandardBg`,r(vi,o?p(`palette-success-light`):t.success.light,.9)),U(t.Alert,`warningStandardBg`,r(vi,o?p(`palette-warning-light`):t.warning.light,.9)),U(t.Alert,`errorIconColor`,n(`palette-error-main`)),U(t.Alert,`infoIconColor`,n(`palette-info-main`)),U(t.Alert,`successIconColor`,n(`palette-success-main`)),U(t.Alert,`warningIconColor`,n(`palette-warning-main`)),U(t.AppBar,`defaultBg`,n(`palette-grey-100`)),U(t.Avatar,`defaultBg`,n(`palette-grey-400`)),U(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),U(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),U(t.Chip,`defaultBorder`,n(`palette-grey-400`)),U(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),U(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),U(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),U(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),U(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),U(t.LinearProgress,`primaryBg`,r(vi,o?p(`palette-primary-main`):t.primary.main,.62)),U(t.LinearProgress,`secondaryBg`,r(vi,o?p(`palette-secondary-main`):t.secondary.main,.62)),U(t.LinearProgress,`errorBg`,r(vi,o?p(`palette-error-main`):t.error.main,.62)),U(t.LinearProgress,`infoBg`,r(vi,o?p(`palette-info-main`):t.info.main,.62)),U(t.LinearProgress,`successBg`,r(vi,o?p(`palette-success-main`):t.success.main,.62)),U(t.LinearProgress,`warningBg`,r(vi,o?p(`palette-warning-light`):t.warning.main,.62)),U(t.Skeleton,`bg`,x?r(mi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),U(t.Slider,`primaryTrack`,r(vi,o?p(`palette-primary-main`):t.primary.main,.62)),U(t.Slider,`secondaryTrack`,r(vi,o?p(`palette-secondary-main`):t.secondary.main,.62)),U(t.Slider,`errorTrack`,r(vi,o?p(`palette-error-main`):t.error.main,.62)),U(t.Slider,`infoTrack`,r(vi,o?p(`palette-info-main`):t.info.main,.62)),U(t.Slider,`successTrack`,r(vi,o?p(`palette-success-main`):t.success.main,.62)),U(t.Slider,`warningTrack`,r(vi,o?p(`palette-warning-main`):t.warning.main,.62));let e=x?r(gi,o?p(`palette-background-default`):t.background.default,.6825):bi(t.background.default,.8);U(t.SnackbarContent,`bg`,e),U(t.SnackbarContent,`color`,ho(()=>x?Sa.text.primary:t.getContrastText(e))),U(t.SpeedDialAction,`fabHoverBg`,bi(t.background.paper,.15)),U(t.StepConnector,`border`,n(`palette-grey-400`)),U(t.StepContent,`border`,n(`palette-grey-400`)),U(t.Switch,`defaultColor`,n(`palette-common-white`)),U(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),U(t.Switch,`primaryDisabledColor`,r(vi,o?p(`palette-primary-main`):t.primary.main,.62)),U(t.Switch,`secondaryDisabledColor`,r(vi,o?p(`palette-secondary-main`):t.secondary.main,.62)),U(t.Switch,`errorDisabledColor`,r(vi,o?p(`palette-error-main`):t.error.main,.62)),U(t.Switch,`infoDisabledColor`,r(vi,o?p(`palette-info-main`):t.info.main,.62)),U(t.Switch,`successDisabledColor`,r(vi,o?p(`palette-success-main`):t.success.main,.62)),U(t.Switch,`warningDisabledColor`,r(vi,o?p(`palette-warning-main`):t.warning.main,.62)),U(t.TableCell,`border`,r(vi,mi(o?p(`palette-divider`):t.divider,1),.88)),U(t.Tooltip,`bg`,r(mi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){U(t.Alert,`errorColor`,r(vi,o?p(`palette-error-light`):t.error.light,.6)),U(t.Alert,`infoColor`,r(vi,o?p(`palette-info-light`):t.info.light,.6)),U(t.Alert,`successColor`,r(vi,o?p(`palette-success-light`):t.success.light,.6)),U(t.Alert,`warningColor`,r(vi,o?p(`palette-warning-light`):t.warning.light,.6)),U(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),U(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),U(t.Alert,`successFilledBg`,n(`palette-success-dark`)),U(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),U(t.Alert,`errorFilledColor`,ho(()=>t.getContrastText(t.error.dark))),U(t.Alert,`infoFilledColor`,ho(()=>t.getContrastText(t.info.dark))),U(t.Alert,`successFilledColor`,ho(()=>t.getContrastText(t.success.dark))),U(t.Alert,`warningFilledColor`,ho(()=>t.getContrastText(t.warning.dark))),U(t.Alert,`errorStandardBg`,r(gi,o?p(`palette-error-light`):t.error.light,.9)),U(t.Alert,`infoStandardBg`,r(gi,o?p(`palette-info-light`):t.info.light,.9)),U(t.Alert,`successStandardBg`,r(gi,o?p(`palette-success-light`):t.success.light,.9)),U(t.Alert,`warningStandardBg`,r(gi,o?p(`palette-warning-light`):t.warning.light,.9)),U(t.Alert,`errorIconColor`,n(`palette-error-main`)),U(t.Alert,`infoIconColor`,n(`palette-info-main`)),U(t.Alert,`successIconColor`,n(`palette-success-main`)),U(t.Alert,`warningIconColor`,n(`palette-warning-main`)),U(t.AppBar,`defaultBg`,n(`palette-grey-900`)),U(t.AppBar,`darkBg`,n(`palette-background-paper`)),U(t.AppBar,`darkColor`,n(`palette-text-primary`)),U(t.Avatar,`defaultBg`,n(`palette-grey-600`)),U(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),U(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),U(t.Chip,`defaultBorder`,n(`palette-grey-700`)),U(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),U(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),U(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),U(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),U(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),U(t.LinearProgress,`primaryBg`,r(gi,o?p(`palette-primary-main`):t.primary.main,.5)),U(t.LinearProgress,`secondaryBg`,r(gi,o?p(`palette-secondary-main`):t.secondary.main,.5)),U(t.LinearProgress,`errorBg`,r(gi,o?p(`palette-error-main`):t.error.main,.5)),U(t.LinearProgress,`infoBg`,r(gi,o?p(`palette-info-main`):t.info.main,.5)),U(t.LinearProgress,`successBg`,r(gi,o?p(`palette-success-main`):t.success.main,.5)),U(t.LinearProgress,`warningBg`,r(gi,o?p(`palette-warning-main`):t.warning.main,.5)),U(t.Skeleton,`bg`,x?r(mi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),U(t.Slider,`primaryTrack`,r(gi,o?p(`palette-primary-main`):t.primary.main,.5)),U(t.Slider,`secondaryTrack`,r(gi,o?p(`palette-secondary-main`):t.secondary.main,.5)),U(t.Slider,`errorTrack`,r(gi,o?p(`palette-error-main`):t.error.main,.5)),U(t.Slider,`infoTrack`,r(gi,o?p(`palette-info-main`):t.info.main,.5)),U(t.Slider,`successTrack`,r(gi,o?p(`palette-success-main`):t.success.main,.5)),U(t.Slider,`warningTrack`,r(gi,o?p(`palette-warning-light`):t.warning.main,.5));let e=x?r(vi,o?p(`palette-background-default`):t.background.default,.985):bi(t.background.default,.98);U(t.SnackbarContent,`bg`,e),U(t.SnackbarContent,`color`,ho(()=>x?ba.text.primary:t.getContrastText(e))),U(t.SpeedDialAction,`fabHoverBg`,bi(t.background.paper,.15)),U(t.StepConnector,`border`,n(`palette-grey-600`)),U(t.StepContent,`border`,n(`palette-grey-600`)),U(t.Switch,`defaultColor`,n(`palette-grey-300`)),U(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),U(t.Switch,`primaryDisabledColor`,r(gi,o?p(`palette-primary-main`):t.primary.main,.55)),U(t.Switch,`secondaryDisabledColor`,r(gi,o?p(`palette-secondary-main`):t.secondary.main,.55)),U(t.Switch,`errorDisabledColor`,r(gi,o?p(`palette-error-main`):t.error.main,.55)),U(t.Switch,`infoDisabledColor`,r(gi,o?p(`palette-info-main`):t.info.main,.55)),U(t.Switch,`successDisabledColor`,r(gi,o?p(`palette-success-main`):t.success.main,.55)),U(t.Switch,`warningDisabledColor`,r(gi,o?p(`palette-warning-light`):t.warning.main,.55)),U(t.TableCell,`border`,r(gi,mi(o?p(`palette-divider`):t.divider,1),.68)),U(t.Tooltip,`bg`,r(mi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(po(t.background,`default`),po(t.background,`paper`),po(t.common,`background`),po(t.common,`onBackground`),po(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&U(t[e],`mainChannel`,ci(fo(n.main))),n.light&&U(t[e],`lightChannel`,ci(fo(n.light))),n.dark&&U(t[e],`darkChannel`,ci(fo(n.dark))),n.contrastText&&U(t[e],`contrastTextChannel`,ci(fo(n.contrastText))),e===`text`&&(po(t[e],`primary`),po(t[e],`secondary`)),e===`action`&&(n.active&&po(t[e],`active`),n.selected&&po(t[e],`selected`)))})}),C=t.reduce((e,t)=>fn(e,t),C);let w={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:lo(C),enableContrastVars:o},{vars:T,generateThemeVars:E,generateStyleSheets:D}=sa(C,w);return C.vars=T,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=E,C.generateStyleSheets=D,C.generateSpacing=function(){return Jn(u.spacing,Bn(this))},C.getColorSchemeSelector=ca(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Sr,...u?.unstable_sxConfig},C.unstable_sx=function(e){return Er({sx:e,theme:this})},C.toRuntimeSource=Za,C}function yo(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ma({...n===!0?{}:n.palette,mode:t})})}function bo(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return to(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=to({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},yo(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},yo(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),vo({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var xo=bo();function So(){let e=Mr(xo);return e.$$material||e}function Co(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var wo=e=>Co(e)&&e!==`classes`,W=Zr({themeId:x,defaultTheme:xo,rootShouldForwardProp:wo});function To({theme:e,...t}){let n=`$$material`in e?e[x]:void 0;return(0,V.jsx)(Bi,{...t,themeId:n?x:void 0,theme:n||e})}var Eo={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:Do,useColorScheme:Oo,getInitColorSchemeScript:ko}=ta({themeId:x,theme:()=>bo({cssVariables:!0}),colorSchemeStorageKey:Eo.colorSchemeStorageKey,modeStorageKey:Eo.modeStorageKey,defaultColorScheme:{light:Eo.defaultLightColorScheme,dark:Eo.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Ra(e.palette,e.typography)};return t.unstable_sx=function(e){return Er({sx:e,theme:this})},t}}),Ao=Do;function jo({theme:e,...t}){let n=B.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[x]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,V.jsx)(To,{theme:n,...t}):(0,V.jsx)(Ao,{theme:e,...t})}var Mo={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},No={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},G=Dn;function Po(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function Fo(e){return(0,V.jsx)(Pr,{...e,defaultTheme:xo,themeId:x})}function Io(e){return function(t){return(0,V.jsx)(Fo,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}function Lo(){return Ir}var K=Hi;function Ro(e){return Mi(e)}function zo(e){return Vr(`MuiSvgIcon`,e)}Hr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Bo=e=>{let{color:t,fontSize:n,classes:r}=e;return la({root:[`root`,t!==`inherit`&&`color${G(t)}`,`fontSize${G(n)}`]},zo,r)},Vo=W(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${G(n.color)}`],t[`fontSize${G(n.fontSize)}`]]}})(K(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),Ho=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=B.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};return l||(h.viewBox=d),(0,V.jsxs)(Vo,{as:o,className:H(Bo(m).root,i),focusable:`false`,color:c,"aria-hidden":u?void 0:!0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,V.jsx)(`title`,{children:u}):null]})});Ho.muiName=`SvgIcon`;function Uo(e,t){function n(t,n){return(0,V.jsx)(Ho,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=Ho.muiName,B.memo(B.forwardRef(n))}function Wo(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var Go=Wo,Ko=ua;function qo(e){return e&&e.ownerDocument||document}var Jo=qo;function Yo(e){return qo(e).defaultView||window}var Xo=Yo;function Zo(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var Qo=ni,$o=Ii;function es(e){let{controlled:t,default:n,name:r,state:i=`value`}=e,{current:a}=B.useRef(t!==void 0),[o,s]=B.useState(n);return[a?t:o,B.useCallback(e=>{a||s(e)},[])]}var ts=es;function ns(e){let t=B.useRef(e);return ni(()=>{t.current=e}),B.useRef((...e)=>(0,t.current)(...e)).current}var rs=ns;function is(...e){let t=B.useRef(void 0),n=B.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return B.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var as=is;function os(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function ss(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{os(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=H(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=H(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function cs(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ls(e,t){return ls=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ls(e,t)}function us(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ls(e,t)}function ds(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function fs(e,t){e.classList?e.classList.add(t):ds(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function ps(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function ms(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=ps(e.className,t):e.setAttribute(`class`,ps(e.className&&e.className.baseVal||``,t))}var hs={disabled:!1},gs=B.createContext(null),_s=function(e){return e.scrollTop},vs=l(h()),ys=`unmounted`,bs=`exited`,xs=`entering`,Ss=`entered`,Cs=`exiting`,ws=function(e){us(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=bs,r.appearStatus=xs):o=Ss:o=t.unmountOnExit||t.mountOnEnter?ys:bs,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:bs}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=xs):(n===`entering`||n===`entered`)&&(t=Cs)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:vs.findDOMNode(this);n&&_s(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:ys})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[vs.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||hs.disabled){this.safeSetState({status:Ss},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:xs},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Ss},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:vs.findDOMNode(this);if(!t||hs.disabled){this.safeSetState({status:bs},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:Cs},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:bs},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:vs.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=cs(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return B.createElement(gs.Provider,{value:null},typeof n==`function`?n(e,r):B.cloneElement(B.Children.only(n),r))},t}(B.Component);ws.contextType=gs,ws.propTypes={};function Ts(){}ws.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ts,onEntering:Ts,onEntered:Ts,onExit:Ts,onExiting:Ts,onExited:Ts},ws.UNMOUNTED=ys,ws.EXITED=bs,ws.ENTERING=xs,ws.ENTERED=Ss,ws.EXITING=Cs;var Es=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return fs(e,t)})},Ds=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return ms(e,t)})},Os=function(e){us(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&_s(e),r&&(this.appliedClasses[t][n]=r,Es(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&Ds(e,r),i&&Ds(e,i),a&&Ds(e,a)},n.render=function(){var e=this.props;e.classNames;var t=cs(e,[`classNames`]);return B.createElement(ws,S({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(B.Component);Os.defaultProps={classNames:``},Os.propTypes={};function ks(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function As(e,t){var n=function(e){return t&&(0,B.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&B.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function js(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function Ms(e,t,n){return n[t]==null?e.props[t]:n[t]}function Ns(e,t){return As(e.children,function(n){return(0,B.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Ms(n,`appear`,e),enter:Ms(n,`enter`,e),exit:Ms(n,`exit`,e)})})}function Ps(e,t,n){var r=As(e.children),i=js(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,B.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,B.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,B.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Ms(o,`exit`,e),enter:Ms(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,B.cloneElement)(o,{in:!1}):c&&s&&(0,B.isValidElement)(l)&&(i[a]=(0,B.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:Ms(o,`exit`,e),enter:Ms(o,`enter`,e)}))}}),i}var Fs=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Is={component:`div`,childFactory:function(e){return e}},Ls=function(e){us(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(ks(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Ns(e,r):Ps(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=As(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=S({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=cs(e,[`component`,`childFactory`]),i=this.state.contextValue,a=Fs(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?B.createElement(gs.Provider,{value:i},a):B.createElement(gs.Provider,{value:i},B.createElement(t,r,a))},t}(B.Component);Ls.propTypes={},Ls.defaultProps=Is;var Rs={};function zs(e,t){let n=B.useRef(Rs);return n.current===Rs&&(n.current=e(t)),n}var Bs=[];function Vs(e){B.useEffect(e,Bs)}var Hs=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Us(){let e=zs(Hs.create).current;return Vs(e.disposeEffect),e}var Ws=e=>e.scrollTop;function Gs(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function Ks(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function qs(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function Js(e){return typeof e==`string`}function Ys(e,t,n){return e===void 0||Js(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Xs(e,t,n){return typeof e==`function`?e(t,n):e}function Zs(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Qs(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function $s(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=H(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Zs({...i,...r}),s=Qs(r),c=Qs(i),l=t(o),u=H(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function ec(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Xs(d[e],i),{props:{component:h,...g},internalRef:_}=$s({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=is(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,Ys(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function tc(e){return Vr(`MuiCollapse`,e)}Hr(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var nc=e=>{let{orientation:t,classes:n}=e;return la({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},tc,n)},rc=W(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(K(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),ic=W(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),ac=W(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),oc=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=Ga.standard,TransitionComponent:x=ws,...S}=n,C={...n,orientation:g,collapsedSize:o},w=nc(C),T=So(),E=Us(),D=B.useRef(null),O=B.useRef(),k=typeof o==`number`?`${o}px`:o,A=g===`horizontal`,j=A?`width`:`height`,M=B.useRef(null),N=as(t,M),P=()=>D.current?D.current[A?`clientWidth`:`clientHeight`]:0,ee=Gs(M,(e,t)=>{D.current&&A&&(D.current.style.position=`absolute`),e.style[j]=k,u&&u(e,t)}),te=Gs(M,(e,t)=>{let n=P();D.current&&A&&(D.current.style.position=``);let{duration:r,easing:i}=qs({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,O.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[j]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),F=Gs(M,(e,t)=>{e.style[j]=`auto`,d&&d(e,t)}),ne=Gs(M,e=>{e.style[j]=`${P()}px`,p&&p(e)}),I=Gs(M,m),re=Gs(M,e=>{let t=P(),{duration:n,easing:r}=qs({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,O.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[j]=k,e.style.transitionTimingFunction=r,h&&h(e)}),ie=e=>{b===`auto`&&E.start(O.current||0,e),r&&r(M.current,e)},L={slots:_,slotProps:v,component:s},[ae,R]=ec(`root`,{ref:N,className:H(w.root,a),elementType:rc,externalForwardedProps:L,ownerState:C,additionalProps:{style:{[A?`minWidth`:`minHeight`]:k,...y}}}),[oe,se]=ec(`wrapper`,{ref:D,className:w.wrapper,elementType:ic,externalForwardedProps:L,ownerState:C}),[ce,le]=ec(`wrapperInner`,{className:w.wrapperInner,elementType:ac,externalForwardedProps:L,ownerState:C});return(0,V.jsx)(x,{in:l,onEnter:ee,onEntered:F,onEntering:te,onExit:ne,onExited:I,onExiting:re,addEndListener:ie,nodeRef:M,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,V.jsx)(ae,{...R,className:H(R.className,{entered:w.entered,exited:!l&&k===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,V.jsx)(oe,{...se,ownerState:r,children:(0,V.jsx)(ce,{...le,ownerState:r,children:i})})})}})});oc&&(oc.muiSupportAuto=!0);function sc(e){return Vr(`MuiPaper`,e)}Hr(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var cc=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return la({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},sc,i)},lc=W(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(K(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),uc=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiPaper`}),r=So(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c};return(0,V.jsx)(lc,{as:a,ownerState:u,className:H(cc(u).root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${pi(`#fff`,no(o))}, ${pi(`#fff`,no(o))})`}},...l.style}})});function dc(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var fc=class e{static create(){return new e}static use(){let t=zs(e.create).current,[n,r]=B.useState(!1);return t.shouldMount=n,t.setShouldMount=r,B.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=mc(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function pc(){return fc.use()}function mc(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function hc(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=B.useState(!1),f=H(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=H(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),B.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,V.jsx)(`span`,{className:f,style:p,children:(0,V.jsx)(`span`,{className:m})})}var gc=Hr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),q=550,_c=It`
44
+ 0% {
45
+ transform: scale(0);
46
+ opacity: 0.1;
47
+ }
48
+
49
+ 100% {
50
+ transform: scale(1);
51
+ opacity: 0.3;
52
+ }
53
+ `,vc=It`
54
+ 0% {
55
+ opacity: 1;
56
+ }
57
+
58
+ 100% {
59
+ opacity: 0;
60
+ }
61
+ `,yc=It`
62
+ 0% {
63
+ transform: scale(1);
64
+ }
65
+
66
+ 50% {
67
+ transform: scale(0.92);
68
+ }
69
+
70
+ 100% {
71
+ transform: scale(1);
72
+ }
73
+ `,bc=W(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),xc=W(hc,{name:`MuiTouchRipple`,slot:`Ripple`})`
74
+ opacity: 0;
75
+ position: absolute;
76
+
77
+ &.${gc.rippleVisible} {
78
+ opacity: 0.3;
79
+ transform: scale(1);
80
+ animation-name: ${_c};
81
+ animation-duration: ${q}ms;
82
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
83
+ }
84
+
85
+ &.${gc.ripplePulsate} {
86
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
87
+ }
88
+
89
+ & .${gc.child} {
90
+ opacity: 1;
91
+ display: block;
92
+ width: 100%;
93
+ height: 100%;
94
+ border-radius: 50%;
95
+ background-color: currentColor;
96
+ }
97
+
98
+ & .${gc.childLeaving} {
99
+ opacity: 0;
100
+ animation-name: ${vc};
101
+ animation-duration: ${q}ms;
102
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
103
+ }
104
+
105
+ & .${gc.childPulsate} {
106
+ position: absolute;
107
+ /* @noflip */
108
+ left: 0px;
109
+ top: 0;
110
+ animation-name: ${yc};
111
+ animation-duration: 2500ms;
112
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
113
+ animation-iteration-count: infinite;
114
+ animation-delay: 200ms;
115
+ }
116
+ `,Sc=B.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Ro({props:e,name:`MuiTouchRipple`}),[o,s]=B.useState([]),c=B.useRef(0),l=B.useRef(null);B.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=B.useRef(!1),d=Us(),f=B.useRef(null),p=B.useRef(null),m=B.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,V.jsx)(xc,{classes:{ripple:H(r.ripple,gc.ripple),rippleVisible:H(r.rippleVisible,gc.rippleVisible),ripplePulsate:H(r.ripplePulsate,gc.ripplePulsate),child:H(r.child,gc.child),childLeaving:H(r.childLeaving,gc.childLeaving),childPulsate:H(r.childPulsate,gc.childPulsate)},timeout:q,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=B.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=B.useCallback(()=>{h({},{pulsate:!0})},[h]),_=B.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return B.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,V.jsx)(bc,{className:H(gc.root,r.root,i),ref:p,...a,children:(0,V.jsx)(Ls,{component:null,exit:!0,children:o})})});function Cc(e){return Vr(`MuiButtonBase`,e)}var wc=Hr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Tc=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=la({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Cc,i);return n&&r&&(a.root+=` ${r}`),a},Ec=W(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${wc.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Dc=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:O=0,TouchRippleProps:k,touchRippleRef:A,type:j,...M}=n,N=B.useRef(null),P=pc(),ee=as(P.ref,A),[te,F]=B.useState(!1);c&&te&&F(!1),B.useImperativeHandle(r,()=>({focusVisible:()=>{F(!0),N.current.focus()}}),[]);let ne=P.shouldMount&&!l&&!c;B.useEffect(()=>{te&&d&&!l&&P.pulsate()},[l,d,te,P]);let I=Oc(P,`start`,S,u),re=Oc(P,`stop`,g,u),ie=Oc(P,`stop`,_,u),L=Oc(P,`stop`,w,u),ae=Oc(P,`stop`,e=>{te&&e.preventDefault(),C&&C(e)},u),R=Oc(P,`start`,D,u),oe=Oc(P,`stop`,T,u),se=Oc(P,`stop`,E,u),ce=Oc(P,`stop`,e=>{dc(e.target)||F(!1),m&&m(e)},!1),le=rs(e=>{N.current||=e.currentTarget,dc(e.target)&&(F(!0),y&&y(e)),v&&v(e)}),ue=()=>{let e=N.current;return e?e.tagName===`BUTTON`?!1:!(e.tagName===`A`&&e.href):s&&s!==`button`},z=rs(e=>{d&&!e.repeat&&te&&e.key===` `&&P.stop(e,()=>{P.start(e)}),e.target===e.currentTarget&&ue()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ue()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),de=rs(e=>{d&&e.key===` `&&te&&!e.defaultPrevented&&P.stop(e,()=>{P.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&ue()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),fe=s;fe===`button`&&(M.href||M.to)&&(fe=p);let pe={};if(fe===`button`){let e=!!M.formAction;pe.type=j===void 0&&!e?`button`:j,pe.disabled=c}else !M.href&&!M.to&&(pe.role=`button`),c&&(pe[`aria-disabled`]=c);let me=as(t,N),he={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:te},ge=Tc(he);return(0,V.jsxs)(Ec,{as:fe,className:H(ge.root,o),ownerState:he,onBlur:ce,onClick:h,onContextMenu:re,onFocus:le,onKeyDown:z,onKeyUp:de,onMouseDown:I,onMouseLeave:ae,onMouseUp:L,onDragLeave:ie,onTouchEnd:oe,onTouchMove:se,onTouchStart:R,ref:me,tabIndex:c?-1:O,type:j,...pe,...M,children:[a,ne?(0,V.jsx)(Sc,{ref:ee,center:i,...k}):null]})});function Oc(e,t,n,r=!1){return rs(i=>(n&&n(i),r||e[t](i),!0))}function kc(e){return typeof e.main==`string`}function Ac(e,t=[]){if(!kc(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function jc(e=[]){return([,t])=>t&&Ac(t,e)}function Mc(e){return Vr(`MuiCircularProgress`,e)}Hr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Nc=44,Pc=It`
117
+ 0% {
118
+ transform: rotate(0deg);
119
+ }
120
+
121
+ 100% {
122
+ transform: rotate(360deg);
123
+ }
124
+ `,Fc=It`
125
+ 0% {
126
+ stroke-dasharray: 1px, 200px;
127
+ stroke-dashoffset: 0;
128
+ }
129
+
130
+ 50% {
131
+ stroke-dasharray: 100px, 200px;
132
+ stroke-dashoffset: -15px;
133
+ }
134
+
135
+ 100% {
136
+ stroke-dasharray: 1px, 200px;
137
+ stroke-dashoffset: -126px;
138
+ }
139
+ `,Ic=typeof Pc==`string`?null:Ft`
140
+ animation: ${Pc} 1.4s linear infinite;
141
+ `,Lc=typeof Fc==`string`?null:Ft`
142
+ animation: ${Fc} 1.4s ease-in-out infinite;
143
+ `,Rc=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return la({root:[`root`,n,`color${G(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${G(n)}`,i&&`circleDisableShrink`]},Mc,t)},zc=W(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${G(n.color)}`]]}})(K(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Ic||{animation:`${Pc} 1.4s linear infinite`}},...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Bc=W(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Vc=W(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${G(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(K(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Lc||{animation:`${Fc} 1.4s ease-in-out infinite`}}]}))),Hc=W(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(K(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Uc=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=Rc(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((Nc-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,V.jsx)(zc,{className:H(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,V.jsxs)(Bc,{className:m.svg,ownerState:p,viewBox:`${Nc/2} ${Nc/2} ${Nc} ${Nc}`,children:[o?(0,V.jsx)(Hc,{className:m.track,ownerState:p,cx:Nc,cy:Nc,r:(Nc-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,V.jsx)(Vc,{className:m.circle,style:h,ownerState:p,cx:Nc,cy:Nc,r:(Nc-l)/2,fill:`none`,strokeWidth:l})]})})});function Wc(e){return Vr(`MuiTypography`,e)}Hr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var Gc={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Kc=Lo(),qc=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return la({root:[`root`,a,e.align!==`inherit`&&`align${G(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},Wc,o)},Jc=W(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${G(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(K(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${G(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),Yc={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Xc=B.forwardRef(function(e,t){let{color:n,...r}=Ro({props:e,name:`MuiTypography`}),i=!Gc[n],a=Kc({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=Yc,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p};return(0,V.jsx)(Jc,{as:c||(d?`p`:p[f]||Yc[f])||`span`,ref:t,className:H(qc(h).root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function Zc(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}function Qc(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Xs(n,r),{props:s,internalRef:c}=$s({...a,externalSlotProps:o}),l=is(c,o?.ref,e.additionalProps?.ref);return Ys(t,{...s,ref:l},r)}function $c(e){return e?.ref||null}function el(e){return typeof e==`function`?e():e}var tl=B.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=B.useState(null),s=is(B.isValidElement(n)?$c(n):null,t);if(ni(()=>{i||o(el(r)||document.body)},[r,i]),ni(()=>{if(a&&!i)return Zo(t,a),()=>{Zo(t,null)}},[t,a,i]),i){if(B.isValidElement(n)){let e={ref:s};return B.cloneElement(n,e)}return n}return a&&vs.createPortal(n,a)});function nl(e){return parseInt(e,10)||0}var rl={shadow:{visibility:`hidden`,position:`absolute`,overflow:`hidden`,height:0,top:0,left:0,transform:`translateZ(0)`}};function il(e){for(let t in e)return!1;return!0}function al(e){return il(e)||e.outerHeightStyle===0&&!e.overflowing}var ol=B.forwardRef(function(e,t){let{onChange:n,maxRows:r,minRows:i=1,style:a,value:o,...s}=e,{current:c}=B.useRef(o!=null),l=B.useRef(null),u=is(t,l),d=B.useRef(null),f=B.useRef(null),p=B.useCallback(()=>{let t=l.current,n=f.current;if(!t||!n)return;let a=Yo(t).getComputedStyle(t);if(a.width===`0px`)return{outerHeightStyle:0,overflowing:!1};n.style.width=a.width,n.value=t.value||e.placeholder||`x`,n.value.slice(-1)===`
144
+ `&&(n.value+=` `);let o=a.boxSizing,s=nl(a.paddingBottom)+nl(a.paddingTop),c=nl(a.borderBottomWidth)+nl(a.borderTopWidth),u=n.scrollHeight;n.value=`x`;let d=n.scrollHeight,p=u;return i&&(p=Math.max(Number(i)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+(o===`border-box`?s+c:0),overflowing:Math.abs(p-u)<=1}},[r,i,e.placeholder]),m=ns(()=>{let e=l.current,t=p();if(!e||!t||al(t))return!1;let n=t.outerHeightStyle;return d.current!=null&&d.current!==n}),h=B.useCallback(()=>{let e=l.current,t=p();if(!e||!t||al(t))return;let n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?`hidden`:``},[p]),g=B.useRef(-1);return ni(()=>{let e=Wo(h),t=l?.current;if(!t)return;let n=Yo(t);n.addEventListener(`resize`,e);let r;return typeof ResizeObserver<`u`&&(r=new ResizeObserver(()=>{m()&&(r.unobserve(t),cancelAnimationFrame(g.current),h(),g.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener(`resize`,e),r&&r.disconnect()}},[p,h,m]),ni(()=>{h()}),(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(`textarea`,{value:o,onChange:e=>{c||h();let t=e.target,r=t.value.length,i=t.value.endsWith(`
145
+ `),a=t.selectionStart===r;i&&a&&t.setSelectionRange(r,r),n&&n(e)},ref:u,rows:i,style:a,...s}),(0,V.jsx)(`textarea`,{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...rl.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function sl({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var cl=B.createContext(void 0);function ll(){return B.useContext(cl)}function ul(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var dl=ul;function fl(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function pl(e,t=!1){return e&&(fl(e.value)&&e.value!==``||t&&fl(e.defaultValue)&&e.defaultValue!==``)}function ml(e){return e.startAdornment}function hl(e){return Vr(`MuiInputBase`,e)}var gl=Hr(`MuiInputBase`,[`root`,`formControl`,`focused`,`disabled`,`adornedStart`,`adornedEnd`,`error`,`sizeSmall`,`multiline`,`colorSecondary`,`fullWidth`,`hiddenLabel`,`readOnly`,`input`,`inputSizeSmall`,`inputMultiline`,`inputTypeSearch`,`inputAdornedStart`,`inputAdornedEnd`,`inputHiddenLabel`]),_l,vl=`mui-auto-fill`,yl=`mui-auto-fill-cancel`,bl=(e,t)=>{let{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size===`small`&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${G(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},xl=(e,t)=>{let{ownerState:n}=e;return[t.input,n.size===`small`&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type===`search`&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Sl=e=>{let{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:c,hiddenLabel:l,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return la({root:[`root`,`color${G(n)}`,r&&`disabled`,i&&`error`,c&&`fullWidth`,o&&`focused`,s&&`formControl`,f&&f!==`medium`&&`size${G(f)}`,u&&`multiline`,p&&`adornedStart`,a&&`adornedEnd`,l&&`hiddenLabel`,d&&`readOnly`],input:[`input`,r&&`disabled`,m===`search`&&`inputTypeSearch`,u&&`inputMultiline`,f===`small`&&`inputSizeSmall`,l&&`inputHiddenLabel`,p&&`inputAdornedStart`,a&&`inputAdornedEnd`,d&&`readOnly`]},hl,t)},Cl=W(`div`,{name:`MuiInputBase`,slot:`Root`,overridesResolver:bl})(K(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:`1.4375em`,boxSizing:`border-box`,position:`relative`,cursor:`text`,display:`inline-flex`,alignItems:`center`,[`&.${gl.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:`default`},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:`4px 0 5px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:`100%`}}]}))),wl=W(`input`,{name:`MuiInputBase`,slot:`Input`,overridesResolver:xl})(K(({theme:e})=>{let t=e.palette.mode===`light`,n={color:`currentColor`,...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create(`opacity`,{duration:e.transitions.duration.shorter})},r={opacity:`0 !important`},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:`inherit`,letterSpacing:`inherit`,color:`currentColor`,padding:`4px 0 5px`,border:0,boxSizing:`content-box`,background:`none`,height:`1.4375em`,margin:0,WebkitTapHighlightColor:`transparent`,display:`block`,minWidth:0,width:`100%`,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:`none`},"&::-webkit-search-decoration":{WebkitAppearance:`none`},[`label[data-shrink=false] + .${gl.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${gl.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:yl,animationDuration:`10ms`,"&:-webkit-autofill":{animationDuration:`5000s`,animationName:vl}}},{props:{size:`small`},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:`auto`,resize:`none`,padding:0,paddingTop:0}},{props:{type:`search`},style:{MozAppearance:`textfield`}}]}})),Tl=Io({[`@keyframes ${vl}`]:{from:{animationName:vl}},[`@keyframes ${yl}`]:{from:{animationName:yl}}}),El=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiInputBase`}),{"aria-describedby":r,autoComplete:i,autoFocus:a,className:o,color:s,components:c={},componentsProps:l={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,error:m,fullWidth:h=!1,id:g,inputComponent:_=`input`,inputProps:v={},inputRef:y,margin:x,maxRows:S,minRows:C,multiline:w=!1,name:T,onBlur:E,onChange:D,onClick:O,onFocus:k,onKeyDown:A,onKeyUp:j,placeholder:M,readOnly:N,renderSuffix:P,rows:ee,size:te,slotProps:F={},slots:ne={},startAdornment:I,type:re=`text`,value:ie,...L}=n,ae=v.value==null?ie:v.value,{current:R}=B.useRef(ae!=null),oe=B.useRef(),se=B.useCallback(e=>{},[]),ce=as(oe,y,v.ref,se),[le,ue]=B.useState(!1),z=ll(),de=sl({props:n,muiFormControl:z,states:[`color`,`disabled`,`error`,`hiddenLabel`,`size`,`required`,`filled`]});de.focused=z?z.focused:le,B.useEffect(()=>{!z&&d&&le&&(ue(!1),E&&E())},[z,d,le,E]);let fe=z&&z.onFilled,pe=z&&z.onEmpty,me=B.useCallback(e=>{pl(e)?fe&&fe():pe&&pe()},[fe,pe]);Qo(()=>{R&&me({value:ae})},[ae,me,R]),Qo(()=>{if(!a)return;let e=oe.current;if(!e)return;let t=Jo(e),n=dl(t),r=n==null||n===t.body||n===t.documentElement;e===n?z&&z.onFocus?z.onFocus():ue(!0):r&&e.focus()},[a]);let he=e=>{k&&k(e),v.onFocus&&v.onFocus(e),z&&z.onFocus?z.onFocus(e):ue(!0)},ge=e=>{E&&E(e),v.onBlur&&v.onBlur(e),z&&z.onBlur?z.onBlur(e):ue(!1)},_e=(e,...t)=>{if(!R){let t=e.target||oe.current;if(t==null)throw Error(b(1));me({value:t.value})}v.onChange&&v.onChange(e,...t),D&&D(e,...t)};B.useEffect(()=>{me(oe.current)},[]);let ve=e=>{oe.current&&e.currentTarget===e.target&&oe.current.focus(),O&&O(e)},ye=_,be=v;w&&ye===`input`&&(be=ee?{type:void 0,minRows:ee,maxRows:ee,...be}:{type:void 0,maxRows:S,minRows:C,...be},ye=ol);let xe=e=>{me(e.animationName===yl?oe.current:{value:`x`})};B.useEffect(()=>{z&&z.setAdornedStart(!!I)},[z,I]);let Se={...n,color:de.color||`primary`,disabled:de.disabled,endAdornment:p,error:de.error,focused:de.focused,formControl:z,fullWidth:h,hiddenLabel:de.hiddenLabel,multiline:w,size:de.size,startAdornment:I,type:re},Ce=Sl(Se),we=ne.root||c.Root||Cl,Te=F.root||l.root||{},Ee=ne.input||c.Input||wl;return be={...be,...F.input??l.input},(0,V.jsxs)(B.Fragment,{children:[!f&&typeof Tl==`function`&&(_l||=(0,V.jsx)(Tl,{})),(0,V.jsxs)(we,{...Te,ref:t,onClick:ve,...L,...!Js(we)&&{ownerState:{...Se,...Te.ownerState}},className:H(Ce.root,Te.className,o,N&&`MuiInputBase-readOnly`),children:[I,(0,V.jsx)(cl.Provider,{value:null,children:(0,V.jsx)(Ee,{"aria-invalid":de.error,"aria-describedby":r,autoComplete:i,autoFocus:a,defaultValue:u,disabled:de.disabled,id:g,onAnimationStart:xe,name:T,placeholder:M,readOnly:N,required:de.required,rows:ee,value:ae,onKeyDown:A,onKeyUp:j,type:re,...be,...!Js(Ee)&&{as:ye,ownerState:{...Se,...be.ownerState}},ref:ce,className:H(Ce.input,be.className,N&&`MuiInputBase-readOnly`),onBlur:ge,onChange:_e,onFocus:he})}),p,P?P({...de,startAdornment:I}):null]})]})});function Dl(e){return Vr(`MuiInput`,e)}var Ol={...gl,...Hr(`MuiInput`,[`root`,`underline`,`input`])};function kl(e){return Vr(`MuiOutlinedInput`,e)}var Al={...gl,...Hr(`MuiOutlinedInput`,[`root`,`notchedOutline`,`input`])};function jl(e){return Vr(`MuiFilledInput`,e)}var Ml={...gl,...Hr(`MuiFilledInput`,[`root`,`underline`,`input`,`adornedStart`,`adornedEnd`,`sizeSmall`,`multiline`,`hiddenLabel`])},Nl=Uo((0,V.jsx)(`path`,{d:`M7 10l5 5 5-5z`}),`ArrowDropDown`),Pl={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Fl={opacity:0,visibility:`hidden`},Il=B.forwardRef(function(e,t){let n=So(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=B.useRef(null),y=as(v,$c(o),t),b=Gs(v,d),x=Gs(v,(e,t)=>{Ws(e);let r=qs({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=Gs(v,u),C=Gs(v,m),w=Gs(v,e=>{let t=qs({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=Gs(v,e=>{e.style.transition=``,p&&p(e)});return(0,V.jsx)(ws,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=Ks(e,c,Pl,Fl,h,o.props.style);return B.cloneElement(o,{style:r,ref:y,...n})}})});function Ll(e){return Vr(`MuiBackdrop`,e)}Hr(`MuiBackdrop`,[`root`,`invisible`]);var Rl=e=>{let{classes:t,invisible:n}=e;return la({root:[`root`,n&&`invisible`]},Ll,t)},zl=W(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Bl=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=Rl(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=ec(`root`,{elementType:zl,externalForwardedProps:_,className:H(g.root,i),ownerState:h}),[b,x]=ec(`transition`,{elementType:Il,externalForwardedProps:_,ownerState:h});return(0,V.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,V.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Vl(e){return Vr(`MuiButton`,e)}var Hl=Hr(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Ul=B.createContext({}),Wl=B.createContext(void 0),Gl=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=la({root:[`root`,o&&`loading`,a,`${a}${G(t)}`,`size${G(i)}`,`${a}Size${G(i)}`,`color${G(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${G(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${G(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${G(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Vl,c);return{...c,...l}},Kl=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],ql=W(Dc,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${G(n.color)}`],t[`size${G(n.size)}`],t[`${n.variant}Size${G(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(K(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${Hl.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Hl.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Hl.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${Hl.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${Hl.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Hl.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${Hl.loading}`]:{color:`transparent`}}}]}})),Jl=W(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${G(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...Kl]})),Yl=W(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${G(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Kl]})),Xl=W(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Zl=W(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Ql=B.forwardRef(function(e,t){let n=B.useContext(Ul),r=B.useContext(Wl),i=Ro({props:ti(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=$o(h),T=_??(0,V.jsx)(Uc,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=Gl(E),O=(b||g&&v===`start`)&&(0,V.jsx)(Jl,{className:D.startIcon,ownerState:E,children:b||(0,V.jsx)(Zl,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,V.jsx)(Yl,{className:D.endIcon,ownerState:E,children:f||(0,V.jsx)(Zl,{className:D.loadingIconPlaceholder,ownerState:E})}),A=r||``,j=typeof g==`boolean`?(0,V.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,V.jsx)(Xl,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:M,...N}=D;return(0,V.jsxs)(ql,{ownerState:E,className:H(n.className,D.root,c,A),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:H(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:N,children:[O,v!==`end`&&j,a,v===`end`&&j,k]})});function $l(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function eu(e){let t=qo(e);return t.body===e?Yo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function tu(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function nu(e){return parseFloat(Yo(e).getComputedStyle(e).paddingRight)||0}function ru(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function iu(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!ru(e);t&&n&&tu(e,i)})}function au(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function ou(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(eu(r)){let e=$l(Yo(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${nu(r)+e}px`;let t=qo(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${nu(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=qo(r).body;else{let t=r.parentElement,n=Yo(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function su(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var cu=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&tu(e.modalRef,!1);let r=su(t);iu(t,e.mount,e.modalRef,r,!0);let i=au(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=au(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=ou(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=au(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&tu(e.modalRef,t),iu(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&tu(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},lu=Zc,uu=`data-mui-focusable`;function du(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${uu}]`):null}var fu=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function pu(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function mu(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function hu(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||mu(e))}function gu(e){let t=[],n=[];return Array.from(e.querySelectorAll(fu)).forEach((e,r)=>{let i=pu(e);i===-1||!hu(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function _u(){return!0}function vu(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=gu,isEnabled:o=_u,open:s}=e,c=B.useRef(!1),l=B.useRef(null),u=B.useRef(null),d=B.useRef(null),f=B.useRef(null),p=B.useRef(!1),m=B.useRef(null),h=is($c(t),m),g=B.useRef(null);B.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),B.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=dl(qo(m.current)),t=du(m.current)??m.current;return lu(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),B.useEffect(()=>{if(!s||!m.current)return;let e=qo(m.current),t=t=>{g.current=t,!(r||!o()||t.key!==`Tab`)&&dl(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=dl(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(lu(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=dl(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),B.cloneElement(t,{ref:h,onFocus:_}),(0,V.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function yu(e){return typeof e==`function`?e():e}function bu(e){return e?e.props.hasOwnProperty(`in`):!1}var xu=()=>{},Su=new cu;function Cu(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=B.useRef({}),f=B.useRef(null),p=B.useRef(null),m=is(p,u),[h,g]=B.useState(!l),_=bu(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>qo(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{Su.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=ns(()=>{let e=yu(t)||y().body;Su.add(b(),e),p.current&&x()}),C=()=>Su.isTopModal(b()),w=ns(e=>{f.current=e,e&&(l&&C()?x():p.current&&tu(p.current,v))}),T=B.useCallback(()=>{Su.remove(b(),v)},[v]);B.useEffect(()=>()=>{T()},[T]),B.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!C())&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=Zs(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:Po(()=>{g(!1),a&&a()},s?.props.onEnter??xu),onExited:Po(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??xu)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function wu(e){return Vr(`MuiModal`,e)}Hr(`MuiModal`,[`root`,`hidden`,`backdrop`]);var Tu=e=>{let{open:t,exited:n,classes:r}=e;return la({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},wu,r)},Eu=W(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(K(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),Du=W(Bl,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),Ou=B.forwardRef(function(e,t){let n=Ro({name:`MuiModal`,props:e}),{BackdropComponent:r=Du,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...O}=n,k={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:A,getBackdropProps:j,getTransitionProps:M,portalRef:N,isTopModal:P,exited:ee,hasTransition:te}=Cu({...k,rootRef:t}),F={...k,exited:ee},ne=Tu(F),I={};if(c.props.tabIndex===void 0&&(I.tabIndex=`-1`),te){let{onEnter:e,onExited:t}=M();I.onEnter=e,I.onExited=t}let re={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[ie,L]=ec(`root`,{ref:t,elementType:Eu,externalForwardedProps:{...re,...O,component:u},getSlotProps:A,ownerState:F,className:H(o,ne?.root,!F.open&&F.exited&&ne?.hidden)}),[ae,R]=ec(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>j({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:H(i?.className,ne?.backdrop),ownerState:F});return!b&&!w&&(!te||ee)?null:(0,V.jsx)(tl,{ref:N,container:l,disablePortal:g,children:(0,V.jsxs)(ie,{...L,children:[!y&&r?(0,V.jsx)(ae,{...R}):null,(0,V.jsx)(vu,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:P,open:w,children:B.cloneElement(c,I)})]})})});function ku(e){return Vr(`MuiDialog`,e)}var Au=Hr(`MuiDialog`,[`root`,`backdrop`,`scrollPaper`,`scrollBody`,`container`,`paper`,`paperScrollPaper`,`paperScrollBody`,`paperWidthFalse`,`paperWidthXs`,`paperWidthSm`,`paperWidthMd`,`paperWidthLg`,`paperWidthXl`,`paperFullWidth`,`paperFullScreen`]),ju=B.createContext({}),Mu=W(Bl,{name:`MuiDialog`,slot:`Backdrop`})({zIndex:-1}),Nu=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e;return la({root:[`root`],backdrop:[`backdrop`],container:[`container`,`scroll${G(n)}`],paper:[`paper`,`paperScroll${G(n)}`,`paperWidth${G(String(r))}`,i&&`paperFullWidth`,a&&`paperFullScreen`]},ku,t)},Pu=W(Ou,{name:`MuiDialog`,slot:`Root`})({"@media print":{position:`absolute !important`}}),Fu=W(`div`,{name:`MuiDialog`,slot:`Container`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${G(n.scroll)}`]]}})({height:`100%`,"@media print":{height:`auto`},outline:0,variants:[{props:{scroll:`paper`},style:{display:`flex`,justifyContent:`center`,alignItems:`center`}},{props:{scroll:`body`},style:{overflowY:`auto`,overflowX:`hidden`,textAlign:`center`,"&::after":{content:`""`,display:`inline-block`,verticalAlign:`middle`,height:`100%`,width:`0`}}}]}),Iu=W(uc,{name:`MuiDialog`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`scrollPaper${G(n.scroll)}`],t[`paperWidth${G(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(K(({theme:e})=>({margin:32,position:`relative`,overflowY:`auto`,"@media print":{overflowY:`visible`,boxShadow:`none`},variants:[{props:{scroll:`paper`},style:{display:`flex`,flexDirection:`column`,maxHeight:`calc(100% - 64px)`}},{props:{scroll:`body`},style:{display:`inline-block`,verticalAlign:`middle`,textAlign:`initial`}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:`calc(100% - 64px)`}},{props:{maxWidth:`xs`},style:{maxWidth:e.breakpoints.unit===`px`?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Au.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:`calc(100% - 64px)`}}}},...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${Au.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:`calc(100% - 64px)`}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:`calc(100% - 64px)`}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:`100%`,maxWidth:`100%`,height:`100%`,maxHeight:`none`,borderRadius:0,[`&.${Au.paperScrollBody}`]:{margin:0,maxWidth:`100%`}}}]}))),Lu=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiDialog`}),r=So(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":o,"aria-modal":s=!0,BackdropComponent:c,BackdropProps:l,children:u,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:m=!1,maxWidth:h=`sm`,onClick:g,onClose:_,open:v,PaperComponent:y=uc,PaperProps:b={},role:x=`dialog`,scroll:S=`paper`,slots:C={},slotProps:w={},TransitionComponent:T=Il,transitionDuration:E=i,TransitionProps:D,...O}=n,k={...n,disableEscapeKeyDown:f,fullScreen:p,fullWidth:m,maxWidth:h,scroll:S},A=Nu(k),j=B.useRef(),M=e=>{j.current=e.target===e.currentTarget},N=e=>{g&&g(e),j.current&&(j.current=null,_&&_(e,`backdropClick`))},P=Ii(o),ee=B.useMemo(()=>({titleId:P}),[P]),te={slots:{transition:T,...C},slotProps:{transition:D,paper:b,backdrop:l,...w}},[F,ne]=ec(`root`,{elementType:Pu,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:k,className:H(A.root,d),ref:t}),[I,re]=ec(`backdrop`,{elementType:Mu,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:k,className:A.backdrop}),[ie,L]=ec(`paper`,{elementType:Iu,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:k,className:A.paper,additionalProps:{elevation:24,role:x,"aria-describedby":a,"aria-labelledby":P,"aria-modal":s,tabIndex:-1,[uu]:``}}),[ae,R]=ec(`container`,{elementType:Fu,externalForwardedProps:te,ownerState:k,className:A.container}),[oe,se]=ec(`transition`,{elementType:Il,externalForwardedProps:te,ownerState:k,additionalProps:{appear:!0,in:v,timeout:E,role:`presentation`}});return(0,V.jsx)(F,{closeAfterTransition:!0,slots:{backdrop:I},slotProps:{backdrop:{transitionDuration:E,as:c,...re}},disableEscapeKeyDown:f,onClose:_,open:v,onClick:N,...ne,...O,children:(0,V.jsx)(oe,{...se,children:(0,V.jsx)(ae,{onMouseDown:M,...R,children:(0,V.jsx)(ie,{as:y,...L,children:(0,V.jsx)(ju.Provider,{value:ee,children:u})})})})})});function Ru(e){return Vr(`MuiDialogActions`,e)}Hr(`MuiDialogActions`,[`root`,`spacing`]);var zu=e=>{let{classes:t,disableSpacing:n}=e;return la({root:[`root`,!n&&`spacing`]},Ru,t)},Bu=W(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Vu=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...a}=n,o={...n,disableSpacing:i};return(0,V.jsx)(Bu,{className:H(zu(o).root,r),ownerState:o,ref:t,...a})});function Hu(e){return Vr(`MuiDialogContent`,e)}Hr(`MuiDialogContent`,[`root`,`dividers`]);function Uu(e){return Vr(`MuiDialogTitle`,e)}var Wu=Hr(`MuiDialogTitle`,[`root`]),Gu=e=>{let{classes:t,dividers:n}=e;return la({root:[`root`,n&&`dividers`]},Hu,t)},Ku=W(`div`,{name:`MuiDialogContent`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(K(({theme:e})=>({flex:`1 1 auto`,WebkitOverflowScrolling:`touch`,overflowY:`auto`,padding:`20px 24px`,variants:[{props:({ownerState:e})=>e.dividers,style:{padding:`16px 24px`,borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${Wu.root} + &`]:{paddingTop:0}}}]}))),qu=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiDialogContent`}),{className:r,dividers:i=!1,...a}=n,o={...n,dividers:i};return(0,V.jsx)(Ku,{className:H(Gu(o).root,r),ownerState:o,ref:t,...a})});function Ju(e){return Vr(`MuiDialogContentText`,e)}Hr(`MuiDialogContentText`,[`root`]);var Yu=e=>{let{classes:t}=e,n=la({root:[`root`]},Ju,t);return{...t,...n}},Xu=W(Xc,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiDialogContentText`,slot:`Root`})({}),Zu=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiDialogContentText`}),{children:r,className:i,...a}=n,o=Yu(a);return(0,V.jsx)(Xu,{component:`p`,variant:`body1`,color:`textSecondary`,ref:t,ownerState:a,className:H(o.root,i),...n,classes:o})}),Qu=e=>{let{classes:t}=e;return la({root:[`root`]},Uu,t)},$u=W(Xc,{name:`MuiDialogTitle`,slot:`Root`})({padding:`16px 24px`,flex:`0 0 auto`}),ed=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...a}=n,o=n,s=Qu(o),{titleId:c=i}=B.useContext(ju);return(0,V.jsx)($u,{component:`h2`,className:H(s.root,r),ownerState:o,ref:t,variant:`h6`,id:i??c,...a})}),td=e=>{let{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:a,hiddenLabel:o,multiline:s}=e,c=la({root:[`root`,!n&&`underline`,r&&`adornedStart`,i&&`adornedEnd`,a===`small`&&`size${G(a)}`,o&&`hiddenLabel`,s&&`multiline`],input:[`input`]},jl,t);return{...t,...c}},nd=W(Cl,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiFilledInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...bl(e,t),!n.disableUnderline&&t.underline]}})(K(({theme:e})=>{let t=e.palette.mode===`light`,n=t?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`,r=t?`rgba(0, 0, 0, 0.06)`:`rgba(255, 255, 255, 0.09)`,i=t?`rgba(0, 0, 0, 0.09)`:`rgba(255, 255, 255, 0.13)`,a=t?`rgba(0, 0, 0, 0.12)`:`rgba(255, 255, 255, 0.12)`;return{position:`relative`,backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Ml.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Ml.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,transition:e.transitions.create(`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${Ml.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${Ml.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:`""`,position:`absolute`,right:0,transition:e.transitions.create(`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${Ml.disabled}, .${Ml.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ml.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:`25px 12px 8px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}}]}})),rd=W(wl,{name:`MuiFilledInput`,slot:`Input`,overridesResolver:xl})(K(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`,borderTopLeftRadius:`inherit`,borderTopRightRadius:`inherit`}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:`inherit`,borderTopRightRadius:`inherit`},[e.getColorSchemeSelector(`dark`)]:{"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`}}},variants:[{props:{size:`small`},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),id=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiFilledInput`}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:o=!1,hiddenLabel:s,inputComponent:c=`input`,multiline:l=!1,slotProps:u,slots:d={},type:f=`text`,...p}=n,m={...n,disableUnderline:r,fullWidth:o,inputComponent:c,multiline:l,type:f},h=td(n),g={root:{ownerState:m},input:{ownerState:m}},_=u??a?fn(g,u??a):g;return(0,V.jsx)(El,{slots:{root:d.root??i.Root??nd,input:d.input??i.Input??rd},slotProps:_,fullWidth:o,inputComponent:c,multiline:l,ref:t,type:f,...p,classes:h})});id.muiName=`Input`;function ad(e){return Vr(`MuiFormControl`,e)}Hr(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var od=e=>{let{classes:t,margin:n,fullWidth:r}=e;return la({root:[`root`,n!==`none`&&`margin${G(n)}`,r&&`fullWidth`]},ad,t)},sd=W(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${G(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),cd=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=od(_),[y,b]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{if(!Ko(t,[`Input`,`Select`]))return;let n=Ko(t,[`Select`])?t.props.input:t;n&&ml(n.props)&&(e=!0)}),e}),[x,S]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{Ko(t,[`Input`,`Select`])&&(pl(t.props,!0)||pl(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=B.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;B.useRef(!1);let E=B.useCallback(()=>{S(!0)},[]),D=B.useCallback(()=>{S(!1)},[]),O=B.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,V.jsx)(cl.Provider,{value:O,children:(0,V.jsx)(sd,{as:o,ownerState:_,className:H(v.root,i),ref:t,...g,children:r})})});function ld(e){return Vr(`MuiFormHelperText`,e)}var ud=Hr(`MuiFormHelperText`,[`root`,`error`,`disabled`,`sizeSmall`,`sizeMedium`,`contained`,`focused`,`filled`,`required`]),dd,fd=e=>{let{classes:t,contained:n,size:r,disabled:i,error:a,filled:o,focused:s,required:c}=e;return la({root:[`root`,i&&`disabled`,a&&`error`,r&&`size${G(r)}`,n&&`contained`,s&&`focused`,o&&`filled`,c&&`required`]},ld,t)},pd=W(`p`,{name:`MuiFormHelperText`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size&&t[`size${G(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(K(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:`left`,marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${ud.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ud.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:`small`},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),md=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiFormHelperText`}),{children:r,className:i,component:a=`p`,disabled:o,error:s,filled:c,focused:l,margin:u,required:d,variant:f,...p}=n,m=sl({props:n,muiFormControl:ll(),states:[`variant`,`size`,`disabled`,`error`,`filled`,`focused`,`required`]}),h={...n,component:a,contained:m.variant===`filled`||m.variant===`outlined`,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};return delete h.ownerState,(0,V.jsx)(pd,{as:a,className:H(fd(h).root,i),ref:t,...p,ownerState:h,children:r===` `?dd||=(0,V.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`}):r})});function hd(e){return Vr(`MuiFormLabel`,e)}var gd=Hr(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),_d=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return la({root:[`root`,`color${G(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},hd,t)},vd=W(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(K(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t},style:{[`&.${gd.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${gd.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${gd.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),yd=W(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(K(({theme:e})=>({[`&.${gd.error}`]:{color:(e.vars||e).palette.error.main}}))),bd=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=sl({props:n,muiFormControl:ll(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=_d(m);return(0,V.jsxs)(vd,{as:o,ownerState:m,className:H(h.root,i),ref:t,...f,children:[r,p.required&&(0,V.jsxs)(yd,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function xd(e){return`scale(${e}, ${e**2})`}var Sd={entering:{opacity:1,transform:xd(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:xd(.75)},exited:{opacity:0,transform:xd(.75)}},Cd={opacity:0,transform:xd(.75),visibility:`hidden`},wd=B.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=Us(),_=B.useRef(),v=So(),y=B.useRef(null),b=as(y,$c(i),t),x=Gs(y,l),S=Gs(y,(e,t)=>{Ws(e);let{duration:n,delay:r,easing:i}=qs({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=Gs(y,c),w=Gs(y,f),T=Gs(y,e=>{let{duration:t,delay:n,easing:r}=qs({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=xd(.75),u&&u(e)}),E=Gs(y,e=>{e.style.transition=``,d&&d(e)});return(0,V.jsx)(ws,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=Ks(e,o,Sd,Cd,p,i.props.style);return B.cloneElement(i,{style:r,ref:b,...n})}})});wd&&(wd.muiSupportAuto=!0);var Td=e=>{let{classes:t,disableUnderline:n}=e,r=la({root:[`root`,!n&&`underline`],input:[`input`]},Dl,t);return{...t,...r}},Ed=W(Cl,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...bl(e,t),!n.disableUnderline&&t.underline]}})(K(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`;return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:`relative`,variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,transition:e.transitions.create(`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${Ol.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${Ol.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:`""`,position:`absolute`,right:0,transition:e.transitions.create(`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${Ol.disabled}, .${Ol.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Ol.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Dd=W(wl,{name:`MuiInput`,slot:`Input`,overridesResolver:xl})({}),Od=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiInput`}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:o=!1,inputComponent:s=`input`,multiline:c=!1,slotProps:l,slots:u={},type:d=`text`,...f}=n,p=Td(n),m={root:{ownerState:{disableUnderline:r}}},h=l??a?fn(l??a,m):m;return(0,V.jsx)(El,{slots:{root:u.root??i.Root??Ed,input:u.input??i.Input??Dd},slotProps:h,fullWidth:o,inputComponent:s,multiline:c,ref:t,type:d,...f,classes:p})});Od.muiName=`Input`;function kd(e){return Vr(`MuiInputLabel`,e)}Hr(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var Ad=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=la({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${G(r)}`,o],asterisk:[s&&`asterisk`]},kd,t);return{...t,...c}},jd=W(bd,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${gd.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(K(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),Md=B.forwardRef(function(e,t){let n=Ro({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=ll(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=sl({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=Ad(f);return(0,V.jsx)(jd,{"data-shrink":u,ref:t,className:H(p.root,s),...c,ownerState:f,classes:p})}),Nd=B.createContext({});function Pd(e){return Vr(`MuiList`,e)}Hr(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var Fd=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return la({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},Pd,t)},Id=W(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Ld=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=B.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=Fd(d);return(0,V.jsx)(Nd.Provider,{value:u,children:(0,V.jsxs)(Id,{as:a,className:H(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),Rd=$l;function zd(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Bd(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Vd(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function Hd(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!Vd(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var Ud=B.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=B.useRef(null),p=B.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Qo(()=>{r&&f.current.focus()},[r]),B.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${Rd(Xo(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=dl(Jo(t));if(n===`ArrowDown`)e.preventDefault(),Hd(t,r,c,s,zd);else if(n===`ArrowUp`)e.preventDefault(),Hd(t,r,c,s,Bd);else if(n===`Home`)e.preventDefault(),Hd(t,null,c,s,zd);else if(n===`End`)e.preventDefault(),Hd(t,null,c,s,Bd);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&Vd(r,i);i.previousKeyMatched&&(c||Hd(t,r,!1,s,zd,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=as(f,t),g=-1;B.Children.forEach(a,(e,t)=>{if(!B.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=B.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),B.cloneElement(e,t)}return e});return(0,V.jsx)(Ld,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function Wd(e){return Vr(`MuiPopover`,e)}Hr(`MuiPopover`,[`root`,`paper`]);function Gd(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function Kd(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function qd(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function Jd(e){return typeof e==`function`?e():e}var Yd=e=>{let{classes:t}=e;return la({root:[`root`],paper:[`paper`]},Wd,t)},Xd=W(Ou,{name:`MuiPopover`,slot:`Root`})({}),Zd=W(uc,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),Qd=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=B.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=Yd(w),E=B.useCallback(()=>{if(s===`anchorPosition`)return o;let e=Jd(i),t=(e&&e.nodeType===1?e:Jo(C.current).body).getBoundingClientRect();return{top:t.top+Gd(t,a.vertical),left:t.left+Kd(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=B.useCallback(e=>({vertical:Gd(e,_.vertical),horizontal:Kd(e,_.horizontal)}),[_.horizontal,_.vertical]),O=B.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:qd(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=Xo(Jd(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:qd(n)}},[i,s,E,D,f]),[k,A]=B.useState(p),j=B.useCallback(()=>{let e=C.current;if(!e)return;let t=O(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,A(!0)},[O]);B.useEffect(()=>(x&&window.addEventListener(`scroll`,j),()=>window.removeEventListener(`scroll`,j)),[i,x,j]);let M=()=>{j()},N=()=>{A(!1)};B.useEffect(()=>{p&&j()}),B.useImperativeHandle(r,()=>p?{updatePosition:()=>{j()}}:null,[p,j]),B.useEffect(()=>{if(!p)return;let e=Go(()=>{j()}),t=Xo(Jd(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,j]);let P=y,ee={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[te,F]=ec(`transition`,{elementType:wd,externalForwardedProps:ee,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),M()},onExited:t=>{e.onExited?.(t),N()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!te.muiSupportAuto&&(P=void 0);let ne=u||(i?Jo(Jd(i)).body:void 0),[I,{slots:re,slotProps:ie,...L}]=ec(`root`,{ref:t,elementType:Xd,externalForwardedProps:{...ee,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:ss(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:ne,open:p},ownerState:w,className:H(T.root,l)}),[ae,R]=ec(`paper`,{ref:C,className:T.paper,elementType:Zd,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:k?void 0:{opacity:0}},ownerState:w});return(0,V.jsx)(I,{...L,...!Js(I)&&{slots:re,slotProps:ie,disableScrollLock:x},children:(0,V.jsx)(te,{...F,timeout:P,children:(0,V.jsx)(ae,{...R,children:c})})})});function $d(e){return Vr(`MuiMenu`,e)}Hr(`MuiMenu`,[`root`,`paper`,`list`]);var ef={vertical:`top`,horizontal:`right`},tf={vertical:`top`,horizontal:`left`},nf=e=>{let{classes:t}=e;return la({root:[`root`],paper:[`paper`],list:[`list`]},$d,t)},rf=W(Qd,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),af=W(Zd,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),of=W(Ud,{name:`MuiMenu`,slot:`List`})({outline:0}),sf=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=Oi(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=nf(b),S=r&&!o&&l,C=B.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;B.Children.map(i,(e,t)=>{B.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},O=Qc({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[k,A]=ec(`paper`,{className:x.paper,elementType:af,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[j,M]=ec(`list`,{className:H(x.list,s.className),elementType:of,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),N=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,V.jsx)(rf,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?ef:tf,slots:{root:g.root,paper:k,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:O,paper:A,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...N,onEntering:(...e)=>{w(...e),N?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,V.jsx)(j,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...M,children:i})})});function cf(e){return Vr(`MuiNativeSelect`,e)}var lf=Hr(`MuiNativeSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]),uf=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return la({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,`icon${G(n)}`,a&&`iconOpen`,r&&`disabled`]},cf,t)},df=W(`select`,{name:`MuiNativeSelect`})(({theme:e})=>({MozAppearance:`none`,WebkitAppearance:`none`,userSelect:`none`,borderRadius:0,cursor:`pointer`,"&:focus":{borderRadius:0},[`&.${lf.disabled}`]:{cursor:`default`},"&[multiple]":{height:`auto`},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!==`filled`&&e.variant!==`outlined`,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:`filled`},style:{"&&&":{paddingRight:32}}},{props:{variant:`outlined`},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),ff=W(df,{name:`MuiNativeSelect`,slot:`Select`,shouldForwardProp:wo,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${lf.multiple}`]:t.multiple}]}})({}),pf=W(`svg`,{name:`MuiNativeSelect`})(({theme:e})=>({position:`absolute`,right:0,top:`calc(50% - .5em)`,pointerEvents:`none`,color:(e.vars||e).palette.action.active,[`&.${lf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:`rotate(180deg)`}},{props:{variant:`filled`},style:{right:7}},{props:{variant:`outlined`},style:{right:7}}]})),mf=W(pf,{name:`MuiNativeSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${G(n.variant)}`],n.open&&t.iconOpen]}})({}),hf=B.forwardRef(function(e,t){let{className:n,disabled:r,error:i,IconComponent:a,inputRef:o,variant:s=`standard`,...c}=e,l={...e,disabled:r,variant:s,error:i},u=uf(l);return(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(ff,{ownerState:l,className:H(u.select,n),disabled:r,ref:o||t,...c}),e.multiple?null:(0,V.jsx)(mf,{as:a,ownerState:l,className:u.icon})]})});function gf(e){return Vr(`MuiSelect`,e)}var _f=Hr(`MuiSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`focused`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]);function vf(e){return e?e.type===`mousedown`||e.type===`pointerdown`||e.type===`touchstart`?`pointer`:e.type===`keydown`||e.type===`click`&&e.detail===0?`keyboard`:null:null}function yf(e){return e==null||typeof e==`string`&&!e.trim()}function bf(e,t){return typeof t==`object`&&t?e===t:String(e)===String(t)}var xf=B.createContext(null).Provider,Sf,Cf=W(df,{name:`MuiSelect`,slot:`Select`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`&.${_f.select}`]:t.select},{[`&.${_f.select}`]:t[n.variant]},{[`&.${_f.error}`]:t.error},{[`&.${_f.multiple}`]:t.multiple}]}})({[`&.${_f.select}`]:{height:`auto`,minHeight:`1.4375em`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`}}),wf=W(pf,{name:`MuiSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${G(n.variant)}`],n.open&&t.iconOpen]}})({}),Tf=W(`input`,{shouldForwardProp:e=>Co(e)&&e!==`classes`,name:`MuiSelect`,slot:`NativeInput`})({bottom:0,left:0,position:`absolute`,opacity:0,pointerEvents:`none`,width:`100%`,boxSizing:`border-box`}),Ef=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return la({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,`icon${G(n)}`,a&&`iconOpen`,r&&`disabled`],nativeInput:[`nativeInput`]},gf,t)},Df=B.forwardRef(function(e,t){let{"aria-describedby":n,"aria-label":r,autoFocus:i,autoWidth:a,children:o,className:s,defaultOpen:c,defaultValue:l,disabled:u,displayEmpty:d,error:f=!1,IconComponent:p,inputRef:m,labelId:h,MenuProps:g={},multiple:_,name:v,onBlur:y,onChange:x,onClose:S,onFocus:C,onKeyDown:w,onMouseDown:T,onOpen:E,open:D,readOnly:O,renderValue:k,required:A,SelectDisplayProps:j={},tabIndex:M,type:N,value:P,variant:ee=`standard`,...te}=e,[F,ne]=ts({controlled:P,default:l,name:`Select`}),[I,re]=ts({controlled:D,default:c,name:`Select`}),ie=B.useRef(null),L=B.useRef(null),[ae,R]=B.useState(null),{current:oe}=B.useRef(D!=null),[se,ce]=B.useState(),[le,ue]=B.useState(null),z=as(t,m),de=B.useCallback(e=>{L.current=e,e&&R(e)},[]),fe=ae?.parentNode;B.useImperativeHandle(z,()=>({focus:()=>{L.current.focus()},node:ie.current,value:F}),[F]);let pe=ae!==null&&I;B.useEffect(()=>{if(!pe||!fe||a||typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{ce(fe.clientWidth)});return e.observe(fe),()=>{e.disconnect()}},[pe,fe,a]),B.useEffect(()=>{c&&I&&ae&&!oe&&(ce(a?null:fe.clientWidth),L.current.focus())},[ae,a]),B.useEffect(()=>{i&&L.current.focus()},[i]),B.useEffect(()=>{if(!h)return;let e=Jo(L.current).getElementById(h);if(e){let t=()=>{getSelection().isCollapsed&&L.current.focus()};return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}}},[h]);let me=(e,t)=>{e?(ue(vf(t)),E&&E(t)):(ue(null),S&&S(t)),oe||(ce(a?null:fe.clientWidth),re(e))},he=e=>{T?.(e),e.button===0&&(e.preventDefault(),L.current.focus(),me(!0,e))},ge=e=>{me(!1,e)},_e=B.Children.toArray(o),ve=e=>{let t=_e.find(t=>t.props.value===e.target.value);t!==void 0&&(ne(t.props.value),x&&x(e,t))},ye=e=>t=>{let n;if(t.currentTarget.hasAttribute(`tabindex`)){if(_){n=Array.isArray(F)?F.slice():[];let t=F.indexOf(e.props.value);t===-1?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(ne(n),x)){let r=t.nativeEvent||t,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:v}}),x(i,e)}_||me(!1,t)}},be=e=>{O||([` `,`ArrowUp`,`ArrowDown`,`Enter`].includes(e.key)&&(e.preventDefault(),me(!0,e)),w?.(e))},xe=e=>{!pe&&y&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:v}}),y(e))};delete te[`aria-invalid`];let Se,Ce,we=[],Te=!1;(pl({value:F})||d)&&(k?Se=k(F):Te=!0);let Ee=_e.map(e=>{if(!B.isValidElement(e))return null;let t;if(_){if(!Array.isArray(F))throw Error(b(2));t=F.some(t=>bf(t,e.props.value)),t&&Te&&we.push(e.props.children)}else t=bf(F,e.props.value),t&&Te&&(Ce=e.props.children);return B.cloneElement(e,{"aria-selected":t?`true`:`false`,onClick:ye(e),onKeyUp:t=>{t.key===` `&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:`option`,selected:t,value:void 0,"data-value":e.props.value})});Te&&(Se=_?we.length===0?null:we.reduce((e,t,n)=>(e.push(t),n<we.length-1&&e.push(`, `),e),[]):Ce);let De=se;!a&&oe&&ae&&(De=fe.clientWidth);let Oe;Oe=M===void 0?u?null:0:M;let ke=j.id||(v?`mui-component-select-${v}`:void 0),Ae={...e,variant:ee,value:F,open:pe,error:f},je=Ef(Ae),Me={...g.PaperProps,...typeof g.slotProps?.paper==`function`?g.slotProps.paper(Ae):g.slotProps?.paper},Ne={...g.MenuListProps,...typeof g.slotProps?.list==`function`?g.slotProps.list(Ae):g.slotProps?.list},Pe=Ii();return(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(Cf,{as:`div`,ref:de,tabIndex:Oe,role:`combobox`,"aria-controls":pe?Pe:void 0,"aria-disabled":u?`true`:void 0,"aria-expanded":pe?`true`:`false`,"aria-haspopup":`listbox`,"aria-label":r,"aria-labelledby":[h,ke].filter(Boolean).join(` `)||void 0,"aria-describedby":n,"aria-required":A?`true`:void 0,"aria-invalid":f?`true`:void 0,onKeyDown:be,onMouseDown:u||O?null:he,onBlur:xe,onFocus:C,...j,ownerState:Ae,className:H(j.className,je.select,s),id:ke,children:yf(Se)?Sf||=(0,V.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`}):Se}),(0,V.jsx)(Tf,{"aria-invalid":f,value:Array.isArray(F)?F.join(`,`):F,name:v,ref:ie,"aria-hidden":!0,onChange:ve,tabIndex:-1,disabled:u,className:je.nativeInput,autoFocus:i,required:A,...te,ownerState:Ae}),(0,V.jsx)(wf,{as:p,className:je.icon,ownerState:Ae}),(0,V.jsx)(xf,{value:le,children:(0,V.jsx)(sf,{id:`menu-${v||``}`,anchorEl:fe,open:pe,onClose:ge,anchorOrigin:{vertical:`bottom`,horizontal:`center`},transformOrigin:{vertical:`top`,horizontal:`center`},...g,slotProps:{...g.slotProps,list:{"aria-labelledby":h,role:`listbox`,"aria-multiselectable":_?`true`:void 0,disableListWrap:!0,id:Pe,...Ne},paper:{...Me,style:{minWidth:De,...Me==null?null:Me.style}}},children:Ee})})]})}),Of,kf=W(`fieldset`,{name:`MuiNotchedOutlined`,shouldForwardProp:wo})({textAlign:`left`,position:`absolute`,bottom:0,right:0,top:-5,left:0,margin:0,padding:`0 8px`,pointerEvents:`none`,borderRadius:`inherit`,borderStyle:`solid`,borderWidth:1,overflow:`hidden`,minWidth:`0%`}),Af=W(`legend`,{name:`MuiNotchedOutlined`,shouldForwardProp:wo})(K(({theme:e})=>({float:`unset`,width:`auto`,overflow:`hidden`,variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:`11px`,transition:e.transitions.create(`width`,{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:`block`,padding:0,height:11,fontSize:`0.75em`,visibility:`hidden`,maxWidth:.01,transition:e.transitions.create(`max-width`,{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:`nowrap`,"& > span":{paddingLeft:5,paddingRight:5,display:`inline-block`,opacity:0,visibility:`visible`}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:`100%`,transition:e.transitions.create(`max-width`,{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function jf(e){let{children:t,classes:n,className:r,label:i,notched:a,...o}=e,s=i!=null&&i!==``,c={...e,notched:a,withLabel:s};return(0,V.jsx)(kf,{"aria-hidden":!0,className:r,ownerState:c,...o,children:(0,V.jsx)(Af,{ownerState:c,children:s?(0,V.jsx)(`span`,{children:i}):Of||=(0,V.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`})})})}var Mf=e=>{let{classes:t}=e,n=la({root:[`root`],notchedOutline:[`notchedOutline`],input:[`input`]},kl,t);return{...t,...n}},Nf=W(Cl,{shouldForwardProp:e=>wo(e)||e===`classes`,name:`MuiOutlinedInput`,slot:`Root`,overridesResolver:bl})(K(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{position:`relative`,borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Al.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Al.focused} .${Al.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(jc()).map(([t])=>({props:{color:t},style:{[`&.${Al.focused} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Al.error} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Al.disabled} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:`16.5px 14px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{padding:`8.5px 14px`}}]}})),Pf=W(jf,{name:`MuiOutlinedInput`,slot:`NotchedOutline`})(K(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),Ff=W(wl,{name:`MuiOutlinedInput`,slot:`Input`,overridesResolver:xl})(K(({theme:e})=>({padding:`16.5px 14px`,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`,borderRadius:`inherit`}},...e.vars&&{"&:-webkit-autofill":{borderRadius:`inherit`},[e.getColorSchemeSelector(`dark`)]:{"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`}}},variants:[{props:{size:`small`},style:{padding:`8.5px 14px`}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),If=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiOutlinedInput`}),{components:r={},fullWidth:i=!1,inputComponent:a=`input`,label:o,multiline:s=!1,notched:c,slots:l={},slotProps:u={},type:d=`text`,...f}=n,p=Mf(n),m=ll(),h=sl({props:n,muiFormControl:m,states:[`color`,`disabled`,`error`,`focused`,`hiddenLabel`,`size`,`required`]}),g={...n,color:h.color||`primary`,disabled:h.disabled,error:h.error,focused:h.focused,formControl:m,fullWidth:i,hiddenLabel:h.hiddenLabel,multiline:s,size:h.size,type:d},_=l.root??r.Root??Nf,v=l.input??r.Input??Ff,[y,b]=ec(`notchedOutline`,{elementType:Pf,className:p.notchedOutline,shouldForwardComponentProp:!0,ownerState:g,externalForwardedProps:{slots:l,slotProps:u},additionalProps:{label:o!=null&&o!==``&&h.required?(0,V.jsxs)(B.Fragment,{children:[o,` `,`*`]}):o}});return(0,V.jsx)(El,{slots:{root:_,input:v},slotProps:u,renderSuffix:e=>(0,V.jsx)(y,{...b,notched:c===void 0?!!(e.startAdornment||e.filled||e.focused):c}),fullWidth:i,inputComponent:a,multiline:s,ref:t,type:d,...f,classes:{...p,notchedOutline:null}})});If.muiName=`Input`;var Lf=e=>{let{classes:t}=e,n=la({root:[`root`]},gf,t);return{...t,...n}},Rf={name:`MuiSelect`,slot:`Root`,shouldForwardProp:e=>wo(e)&&e!==`variant`},zf=W(Od,Rf)(``),Bf=W(If,Rf)(``),Vf=W(id,Rf)(``),Hf=B.forwardRef(function(e,t){let n=Ro({name:`MuiSelect`,props:e}),{autoWidth:r=!1,children:i,classes:a={},className:o,defaultOpen:s=!1,displayEmpty:c=!1,IconComponent:l=Nl,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:g=!1,native:_=!1,onClose:v,onOpen:y,open:b,renderValue:x,SelectDisplayProps:S,variant:C=`outlined`,...w}=n,T=_?hf:Df,E=sl({props:n,muiFormControl:ll(),states:[`variant`,`error`]}),D=E.variant||C,O={...n,variant:D,classes:a},k=Lf(O),{root:A,...j}=k,M=d||{standard:(0,V.jsx)(zf,{ownerState:O}),outlined:(0,V.jsx)(Bf,{label:p,ownerState:O}),filled:(0,V.jsx)(Vf,{ownerState:O})}[D],N=as(t,$c(M));return(0,V.jsx)(B.Fragment,{children:B.cloneElement(M,{inputComponent:T,inputProps:{children:i,error:E.error,IconComponent:l,variant:D,type:void 0,multiple:g,..._?{id:u}:{autoWidth:r,defaultOpen:s,displayEmpty:c,labelId:m,MenuProps:h,onClose:v,onOpen:y,open:b,renderValue:x,SelectDisplayProps:{id:u,...S}},...f,classes:f?fn(j,f.classes):j,...d?d.props.inputProps:{}},...(g&&_||c)&&D===`outlined`?{notched:!0}:{},ref:N,className:H(M.props.className,o,k.root),...!d&&{variant:D},...w})})});Hf.muiName=`Select`;function Uf(e){return Vr(`MuiTextField`,e)}Hr(`MuiTextField`,[`root`]);var Wf={standard:Od,filled:id,outlined:If},Gf=e=>{let{classes:t}=e;return la({root:[`root`]},Uf,t)},Kf=W(cd,{name:`MuiTextField`,slot:`Root`})({}),qf=B.forwardRef(function(e,t){let n=Ro({props:e,name:`MuiTextField`}),{autoComplete:r,autoFocus:i=!1,children:a,className:o,color:s=`primary`,defaultValue:c,disabled:l=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:g,InputProps:_,inputRef:v,label:y,maxRows:b,minRows:x,multiline:S=!1,name:C,onBlur:w,onChange:T,onFocus:E,placeholder:D,required:O=!1,rows:k,select:A=!1,SelectProps:j,slots:M={},slotProps:N={},type:P,value:ee,variant:te=`outlined`,...F}=n,ne={...n,autoFocus:i,color:s,disabled:l,error:u,fullWidth:f,multiline:S,required:O,select:A,variant:te},I=Gf(ne),re=Ii(m),ie=p&&re?`${re}-helper-text`:void 0,L=y&&re?`${re}-label`:void 0,ae=Wf[te],R={slots:M,slotProps:{input:_,inputLabel:h,htmlInput:g,formHelperText:d,select:j,...N}},oe={},se=R.slotProps.inputLabel;te===`outlined`&&(se&&se.shrink!==void 0&&(oe.notched=se.shrink),oe.label=y),A&&((!j||!j.native)&&(oe.id=void 0),oe[`aria-describedby`]=void 0);let[ce,le]=ec(`root`,{elementType:Kf,shouldForwardComponentProp:!0,externalForwardedProps:{...R,...F},ownerState:ne,className:H(I.root,o),ref:t,additionalProps:{disabled:l,error:u,fullWidth:f,required:O,color:s,variant:te}}),[ue,z]=ec(`input`,{elementType:ae,externalForwardedProps:R,additionalProps:oe,ownerState:ne}),[de,fe]=ec(`inputLabel`,{elementType:Md,externalForwardedProps:R,ownerState:ne}),[pe,me]=ec(`htmlInput`,{elementType:`input`,externalForwardedProps:R,ownerState:ne}),[he,ge]=ec(`formHelperText`,{elementType:md,externalForwardedProps:R,ownerState:ne}),[_e,ve]=ec(`select`,{elementType:Hf,externalForwardedProps:R,ownerState:ne}),ye=(0,V.jsx)(ue,{"aria-describedby":ie,autoComplete:r,autoFocus:i,defaultValue:c,fullWidth:f,multiline:S,name:C,rows:k,maxRows:b,minRows:x,type:P,value:ee,id:re,inputRef:v,onBlur:w,onChange:T,onFocus:E,placeholder:D,inputProps:me,slots:{input:M.htmlInput?pe:void 0},...z});return(0,V.jsxs)(ce,{...le,children:[y!=null&&y!==``&&(0,V.jsx)(de,{htmlFor:re,id:L,...fe,children:y}),A?(0,V.jsx)(_e,{"aria-describedby":ie,id:re,labelId:L,value:ee,input:ye,...ve,children:a}):ye,p&&(0,V.jsx)(he,{id:ie,...ge,children:p})]})}),Jf=W(`div`)({alignItems:`center`,display:`flex`,gap:`20px`}),Yf=W(`div`)({margin:`12px 0`}),Xf=W(`label`)({display:`block`,marginBottom:`4px`}),Zf=W(qf)({width:`120px`,maxHeight:`40px`,'& [class^="MuiInputBase-root"]':{height:40,fontSize:`14px`}}),Qf=class extends B.Component{static propTypes={model:y.object.isRequired,disabled:y.bool.isRequired,showCorrect:y.bool.isRequired,onAnswerChange:y.func.isRequired,answers:y.object.isRequired};onValueChange=e=>t=>{let n=parseInt(t?.target?.value),{model:r,onAnswerChange:i,answers:a}=this.props,o={...a},s=e===`noOfModel`?r.maxModelSelected:9;n>s?n=s:n<1&&(n=1),o[e]=n,i(o)};render(){let{model:e,showCorrect:t,answers:n,disabled:r}=this.props;return(0,V.jsx)(`div`,{children:e.allowedStudentConfig&&(0,V.jsxs)(Jf,{children:[(0,V.jsxs)(Yf,{children:[(0,V.jsx)(Xf,{htmlFor:`preview_number-of-models`,children:`Number of Models`}),(0,V.jsx)(Zf,{id:`preview_number-of-models`,inputProps:{min:1,max:e.maxModelSelected},name:`preview_number-of-models`,onChange:this.onValueChange(`noOfModel`),type:`number`,variant:`outlined`,disabled:r,value:t?e.maxModelSelected:n.noOfModel})]}),(0,V.jsxs)(Yf,{children:[(0,V.jsx)(Xf,{htmlFor:`preview_parts-per-model`,children:`Parts per Model`}),(0,V.jsx)(Zf,{id:`preview_parts-per-model`,inputProps:{min:1,max:9},name:`preview_parts-per-model`,onChange:this.onValueChange(`partsPerModel`),type:`number`,variant:`outlined`,disabled:r,value:t?e.partsPerModel:n.partsPerModel})]})]})})}},$f=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,ep=({size:e,children:t})=>(e=$f(e),(0,V.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));ep.propTypes={size:y.number,children:y.oneOfType([y.arrayOf(y.node),y.node]).isRequired};var tp=({size:e,children:t,sx:n})=>(0,V.jsx)(ep,{size:e,children:(0,V.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});tp.propTypes={size:y.oneOfType([y.string,y.number]),children:y.oneOfType([y.arrayOf(y.node),y.node]).isRequired,sx:y.object};var np=({fill:e})=>(0,V.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});np.propTypes={fill:y.string.isRequired};var rp=({fill:e})=>(0,V.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});rp.propTypes={fill:y.string.isRequired};var ip=({fill:e})=>(0,V.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});ip.propTypes={fill:y.string.isRequired};var ap=({fill:e})=>(0,V.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});ap.propTypes={fill:y.string.isRequired};var op=({fill:e})=>(0,V.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});op.propTypes={fill:y.string.isRequired};var sp=(e,t)=>{class n extends B.Component{static propTypes={iconSet:y.oneOf([`emoji`,`check`]),shape:y.oneOf([`round`,`square`]),category:y.oneOf([`feedback`,void 0]),open:y.bool,size:y.oneOfType([y.number,y.string]),fg:y.string,bg:y.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,V.jsx)(e,{fill:s}):(0,V.jsx)(t,{fill:s}),u=n===`check`?(0,V.jsx)(e,{fill:c}):(0,V.jsx)(t,{fill:c});return a?(0,V.jsx)(tp,{size:o,children:u}):(0,V.jsxs)(tp,{size:o,children:[i===`feedback`?r===`round`?(0,V.jsx)(ip,{fill:c}):(0,V.jsx)(rp,{fill:c}):r===`round`?(0,V.jsx)(ap,{fill:c}):(0,V.jsx)(op,{fill:c}),l]})}}return n},cp=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,V.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
146
+ c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,V.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});cp.propTypes={fill:y.string.isRequired};var lp=({fill:e,x:t=0,y:n=0})=>(0,V.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});lp.propTypes={fill:y.string.isRequired,x:y.number,y:y.number};var up=sp(lp,cp);up.propTypes={iconSet:y.oneOf([`emoji`,`check`]),shape:y.oneOf([`round`,`square`]),category:y.oneOf([`feedback`,void 0]),open:y.bool,fg:y.string,bg:y.string,size:y.oneOfType([y.string,y.number])},up.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};var dp=({bgFill:e,fgFill:t})=>(0,V.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-283 359 34 35`,style:{enableBackground:`new -283 359 34 35`},children:[(0,V.jsx)(`circle`,{cx:`-266`,cy:`375.9`,r:`14`,fill:e}),(0,V.jsx)(`path`,{d:`M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z
147
+ M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z`,fill:e}),(0,V.jsx)(`polygon`,{points:`-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6`,fill:t})]});dp.propTypes={bgFill:y.string.isRequired,fgFill:y.string.isRequired};var fp=({bgFill:e,fgFill:t,borderFill:n})=>(0,V.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-129.5 127 34 35`,style:{enableBackground:`new -129.5 127 34 35`},children:[(0,V.jsx)(`path`,{style:{fill:`#D0CAC5`,stroke:`#E6E3E0`,strokeWidth:.75,strokeMiterlimit:10},d:`M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
148
+ C-97.4,153.5-104.3,160.4-112.9,160.4z`}),(0,V.jsx)(`path`,{style:{fill:`#B3ABA4`,stroke:`#CDC7C2`,strokeWidth:.5,strokeMiterlimit:10},d:`M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z`}),(0,V.jsx)(`circle`,{cx:`-114.2`,cy:`143.5`,r:`14`,fill:e}),(0,V.jsx)(`path`,{d:`M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
149
+ M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z`,fill:n}),(0,V.jsx)(`polygon`,{points:`-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2`,fill:t})]});fp.propTypes={bgFill:y.string.isRequired,fgFill:y.string.isRequired,borderFill:y.string.isRequired};var pp=W(`div`)(({size:e})=>({width:e||`25px`,height:e||`25px`})),mp=({open:e,size:t})=>(0,V.jsx)(pp,{size:t,children:e?(0,V.jsx)(dp,{bgFill:`#bce2ff`,fgFill:`#1a9cff`}):(0,V.jsx)(fp,{bgFill:`white`,fgFill:`#1a9cff`,borderFill:`#bce2ff`})});mp.propTypes={open:y.bool,size:y.string},mp.defaultProps={open:!1};var hp=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(0.5, 0.5)`,children:[(0,V.jsx)(`rect`,{x:`11`,y:`17.3`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)`,width:`16.6`,height:`3.7`,fill:e}),(0,V.jsx)(`rect`,{x:`17.4`,y:`10.7`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)`,width:`3.7`,height:`16.6`,fill:e})]});hp.propTypes={fill:y.string.isRequired};var gp=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(1,0)`,children:[(0,V.jsx)(`rect`,{x:`21`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.7`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.2`,y:`22.5`,width:`13`,height:`3.3`,fill:e})]});gp.propTypes={fill:y.string.isRequired};var _p=sp(hp,gp);_p.propTypes={iconSet:y.oneOf([`emoji`,`check`]),shape:y.oneOf([`round`,`square`]),category:y.oneOf([`feedback`,void 0]),open:y.bool,fg:y.string,bg:y.string,size:y.oneOfType([y.string,y.number])},_p.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#fcb733`,bg:`#fbf2e3`,size:30};var vp=({fill:e})=>(0,V.jsxs)(`g`,{children:[(0,V.jsx)(`rect`,{x:`19.3`,y:`10.3`,width:`4.5`,height:`12.7`,fill:e}),(0,V.jsx)(`rect`,{x:`19.3`,y:`26.2`,width:`4.5`,height:`4.5`,fill:e})]});vp.propTypes={fill:y.string.isRequired};var yp=({fill:e})=>(0,V.jsx)(`polygon`,{points:`14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5`,fill:e});yp.propTypes={fill:y.string.isRequired};var bp=({fill:e})=>(0,V.jsxs)(`g`,{children:[(0,V.jsx)(`rect`,{x:`23.8`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,V.jsx)(`rect`,{x:`16`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,V.jsx)(`path`,{d:`M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0
150
+ C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});bp.propTypes={fill:y.string.isRequired};var xp=class extends B.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(vp,{fill:t})]}),emoji:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(bp,{fill:t})]}),feedback:{check:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(bp,{fill:t})]}),emoji:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(bp,{fill:t})]}),square:{check:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(vp,{fill:t})]}),emoji:(0,V.jsxs)(tp,{children:[(0,V.jsx)(yp,{fill:n}),(0,V.jsx)(bp,{fill:t})]}),open:{check:(0,V.jsx)(tp,{children:(0,V.jsx)(vp,{fill:n})}),emoji:(0,V.jsx)(tp,{children:(0,V.jsx)(bp,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};xp.propTypes={iconSet:y.oneOf([`emoji`,`check`,void 0]),shape:y.oneOf([`square`,void 0]),category:y.oneOf([`feedback`,void 0]),open:y.bool,fg:y.string,bg:y.string},xp.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var Sp=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,V.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,V.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});Sp.propTypes={fill:y.string.isRequired};var Cp=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,V.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,V.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,V.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});Cp.propTypes={fill:y.string.isRequired};var wp=sp(Sp,Cp);wp.propTypes={iconSet:y.oneOf([`emoji`,`check`]),shape:y.oneOf([`round`,`square`]),category:y.oneOf([`feedback`,void 0]),open:y.bool,fg:y.string,bg:y.string,size:y.oneOfType([y.string,y.number])},wp.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};var Tp=s({background:()=>Jp,backgroundDark:()=>Yp,black:()=>im,blueGrey100:()=>dm,blueGrey300:()=>fm,blueGrey600:()=>pm,blueGrey900:()=>mm,border:()=>em,borderDark:()=>nm,borderGray:()=>rm,borderLight:()=>tm,buttonBorder:()=>xm,buttonHoverBg:()=>Sm,correct:()=>Ap,correctSecondary:()=>jp,correctTertiary:()=>Mp,correctWithIcon:()=>Np,defaults:()=>J,disabled:()=>Op,disabledSecondary:()=>kp,dropdownBackground:()=>Zp,fadedPrimary:()=>Up,focusChecked:()=>sm,focusCheckedBorder:()=>cm,focusUnchecked:()=>lm,focusUncheckedBorder:()=>um,incorrect:()=>Pp,incorrectSecondary:()=>Ip,incorrectWithIcon:()=>Fp,keyBoardFocusIndicator:()=>bm,keypadButton:()=>hm,keypadButtonHover:()=>vm,keypadButtonOperator:()=>gm,keypadButtonOperatorHover:()=>ym,keypadEmptyPlaceholder:()=>_m,missing:()=>Lp,missingWithIcon:()=>Rp,primary:()=>zp,primaryDark:()=>Vp,primaryLight:()=>Bp,primaryText:()=>Hp,secondary:()=>Wp,secondaryBackground:()=>Xp,secondaryDark:()=>Kp,secondaryLight:()=>Gp,secondaryText:()=>qp,tertiary:()=>Qp,tertiaryLight:()=>$p,text:()=>Dp,transparent:()=>om,v:()=>Ep,visualElementsColors:()=>Cm,white:()=>am}),J={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,CORRECT:va[500],CORRECT_SECONDARY:va[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:ha[500],INCORRECT_SECONDARY:ma[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:ma[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:No[500],PRIMARY_LIGHT:No[200],PRIMARY_DARK:No[800],SECONDARY:Mo.A400,SECONDARY_LIGHT:Mo[200],SECONDARY_DARK:Mo[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#646464`,BORDER_GRAY:`#7E8494`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#C0C3CF`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,KEY_BOARD_FOCUS_INDICATOR:`#2B87FF`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(J);var Ep=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Y=Ep(`pie`),Dp=()=>Y(`text`,J.TEXT),Op=()=>Y(`disabled`,J.DISABLED),kp=()=>Y(`disabled-secondary`,J.DISABLED_SECONDARY),Ap=()=>Y(`correct`,J.CORRECT),jp=()=>Y(`correct-secondary`,J.CORRECT_SECONDARY),Mp=()=>Y(`correct-tertiary`,J.CORRECT_TERTIARY),Np=()=>Y(`correct-icon`,J.CORRECT_WITH_ICON),Pp=()=>Y(`incorrect`,J.INCORRECT),Fp=()=>Y(`incorrect-icon`,J.INCORRECT_WITH_ICON),Ip=()=>Y(`incorrect-secondary`,J.INCORRECT_SECONDARY),Lp=()=>Y(`missing`,J.MISSING),Rp=()=>Y(`missing-icon`,J.MISSING_WITH_ICON),zp=()=>Y(`primary`,J.PRIMARY),Bp=()=>Y(`primary-light`,J.PRIMARY_LIGHT),Vp=()=>Y(`primary-dark`,J.PRIMARY_DARK),Hp=()=>Y(`primary-text`,`text`,J.TEXT),Up=()=>Y(`faded-primary`,J.FADED_PRIMARY),Wp=()=>Y(`secondary`,J.SECONDARY),Gp=()=>Y(`secondary-light`,J.SECONDARY_LIGHT),Kp=()=>Y(`secondary-dark`,J.SECONDARY_DARK),qp=()=>Y(`secondary-text`,`text`,J.TEXT),Jp=()=>Y(`background`,J.BACKGROUND),Yp=()=>Y(`background-dark`,J.BACKGROUND_DARK),Xp=()=>Y(`secondary-background`,J.SECONDARY_BACKGROUND),Zp=()=>Y(`dropdown-background`,J.DROPDOWN_BACKGROUND),Qp=()=>Y(`tertiary`,J.TERTIARY),$p=()=>Y(`tertiary-light`,J.TERTIARY_LIGHT),em=()=>Y(`border`,J.BORDER),tm=()=>Y(`border-light`,J.BORDER_LIGHT),nm=()=>Y(`border-dark`,J.BORDER_DARK),rm=()=>Y(`border-gray`,J.BORDER_GRAY),im=()=>Y(`black`,J.BLACK),am=()=>Y(`white`,J.WHITE),om=()=>J.TRANSPARENT,sm=()=>Y(`focus-checked`,J.FOCUS_CHECKED),cm=()=>Y(`focus-checked-border`,J.FOCUS_CHECKED_BORDER),lm=()=>Y(`focus-unchecked`,J.FOCUS_UNCHECKED),um=()=>Y(`focus-unchecked-border`,J.FOCUS_UNCHECKED_BORDER),dm=()=>Y(`blue-grey-100`,J.BLUE_GREY100),fm=()=>Y(`blue-grey-300`,J.BLUE_GREY300),pm=()=>Y(`blue-grey-600`,J.BLUE_GREY600),mm=()=>Y(`blue-grey-900`,J.BLUE_GREY900),hm=()=>Y(`keypad-button`,J.KEYPAD_BUTTON),gm=()=>Y(`keypad-button-operator`,J.KEYPAD_BUTTON_OPERATOR),_m=()=>Y(`keypad-empty-placeholder`,J.KEYPAD_EMPTY_PLACEHOLDER),vm=()=>Y(`keypad-button-hover`,J.KEYPAD_BUTTON_HOVER),ym=()=>Y(`keypad-button-operator-hover`,J.KEYPAD_BUTTON_OPERATOR_HOVER),bm=()=>Y(`keyboard-focus-indicator`,J.KEY_BOARD_FOCUS_INDICATOR),xm=()=>Y(`button-border`,J.BUTTON_BORDER),Sm=()=>Y(`button-hover-bg`,J.BUTTON_HOVER_BG),Cm={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},wm=W(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),Tm=W(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Op()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, white)`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${Ap()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${Pp()})`}}),Em=W(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),Dm=class extends B.Component{static propTypes={correctness:y.string,feedback:y.string};nodeRef=B.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,V.jsx)(Os,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,V.jsx)(Em,{ref:this.nodeRef,children:(0,V.jsx)(wm,{children:(0,V.jsx)(Tm,{className:e,dangerouslySetInnerHTML:{__html:t}})})})},`hasFeedback`)}render(){return(0,V.jsx)(`div`,{children:(0,V.jsx)(Ls,{children:this.renderFeedback()})})}};function Om(){return()=>{}}var km=s({Correct:()=>Fm,Incorrect:()=>Im,NothingSubmitted:()=>Rm,PartiallyCorrect:()=>Lm}),Am=Om(`pie-libs:render-ui:response-indicators`),jm=W(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Mm=W(Qd)({cursor:`pointer`}),Nm=W(`div`)({padding:`0`,borderRadius:`4px`}),Pm=(e,t)=>{class n extends B.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{Am(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,V.jsxs)(jm,{hasFeedback:!!n,children:[(0,V.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,V.jsx)(e,{})}),n&&(0,V.jsx)(Mm,{PaperComponent:Nm,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,V.jsx)(Dm,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:y.string},n},Fm=Pm(up,`correct`),Im=Pm(_p,`incorrect`),Lm=Pm(wp,`partially-correct`),Rm=Pm(xp,`nothing-submitted`),zm=`https://cdn.jsdelivr.net/npm/mathjax@4/tex-chtml.js`,Bm=null;function Vm(e){return typeof window>`u`||window.MathJax?.version?Promise.resolve():Bm||(Bm=new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s={loader:{load:i?[`a11y/assistive-mml`]:[]},tex:{packages:[`base`,`ams`,`autoload`],macros:{parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`}},options:{enableMenu:i,enableExplorer:i,enableAssistiveMml:i},startup:{ready:()=>{window.MathJax?.startup.defaultReady&&(window.MathJax.startup.defaultReady(),t())},defaultReady:()=>{}}};r&&s.tex&&(s.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],s.tex.processEscapes=!0),a||(s.chtml={fontURL:``}),window.MathJax=s;let c=document.createElement(`script`);c.src=o||zm,c.async=!0,c.onload=()=>{setTimeout(t,100)},c.onerror=()=>{n(Error(`Failed to load MathJax`))},document.head.appendChild(c)}),Bm)}function Hm(){let e=window.MathJax?.startup?.document;if(typeof e?.assistiveMml==`function`)try{e.assistiveMml().updateDocument?.()}catch(e){console.warn(`[mathjax-renderer] Failed to attach assistive MathML:`,e)}}function Um(e={}){return async t=>{if(await Vm(e),!window.MathJax?.typesetPromise){console.warn(`[mathjax-renderer] MathJax not loaded or missing typesetPromise.`);return}await window.MathJax.typesetPromise([t]),Hm()}}var Wm=null;function Gm(){return Wm||=Um({accessibility:!0,useSingleDollar:!0}),Wm}var Km=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;return t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body,await Gm()(n),t?n.innerHTML:void 0},qm=W(`span`)(({theme:e})=>({color:e.palette.primary.light,borderBottom:`1px dotted ${e.palette.primary.light}`,cursor:`pointer`})),Jm=W(oc)(({theme:e})=>({paddingTop:e.spacing(2)})),Ym=class extends B.Component{static propTypes={className:y.string,children:y.object,labels:y.shape({visible:y.string,hidden:y.string})};static defaultProps={labels:{}};state={expanded:!1};toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){Km(this.root)}componentDidUpdate(){Km(this.root)}render(){let{labels:e,children:t,className:n}=this.props,r=this.state.expanded?e.visible||`Hide`:e.hidden||`Show`;return(0,V.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,V.jsx)(`div`,{onClick:this.toggleExpanded,children:(0,V.jsx)(qm,{children:r})}),(0,V.jsx)(Jm,{in:this.state.expanded,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})]})}},Xm=Uo((0,V.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),Zm=Uo((0,V.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),Qm=W(`div`)({display:`flex`,flexDirection:`column`}),$m=W(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),eh=W(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),th=W(Ql)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),nh=e=>{class t extends B.Component{static propTypes={session:y.object,onSessionChange:y.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,V.jsxs)(Qm,{children:[(0,V.jsxs)($m,{children:[(0,V.jsxs)(th,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,V.jsx)(eh,{children:(0,V.jsx)(Zm,{})}),`Undo`]}),(0,V.jsxs)(th,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,V.jsx)(eh,{children:(0,V.jsx)(Xm,{})}),`Start Over`]})]}),(0,V.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},rh=bo({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),ih=W(`div`)({"& table, th, td":{fontSize:`inherit`}}),ah=class extends B.Component{static propTypes={className:y.string,children:y.array,extraCSSRules:y.shape({names:y.arrayOf(y.string),rules:y.string}),fontSizeFactor:y.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,V.jsx)(en,{injectFirst:!0,children:(0,V.jsxs)(jo,{theme:rh,children:[i?.rules?(0,V.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.extraCSSRules { ${i.rules} }`}}):null,(0,V.jsx)(ih,{className:`${t} extraCSSRules`,...a,...o&&{style:o},children:e})]})})}},oh=W(ah)({display:`flex`,flexDirection:`column`,position:`relative`}),sh=class extends B.Component{static propTypes={ariaLabel:y.string,children:y.oneOfType([y.arrayOf(y.node),y.node]).isRequired,role:y.string,extraCSSRules:y.shape({names:y.arrayOf(y.string),rules:y.string}),fontSizeFactor:y.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,V.jsx)(oh,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},ch=class extends B.Component{static propTypes={tag:y.string,className:y.string,html:y.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,V.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:n}})}},lh=W(cd)(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),uh=W(Md)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),dh=({label:e,className:t,children:n})=>(0,V.jsxs)(lh,{className:t,children:[(0,V.jsx)(uh,{shrink:!0,children:e}),n]});dh.propTypes={label:y.oneOfType([y.string,y.object]).isRequired,className:y.string,children:y.oneOfType([y.arrayOf(y.node),y.node]).isRequired};var fh=W(`div`)(({theme:e,tagName:t})=>({'&:not(.MathJax) > table:not([role="presentation"])':{borderCollapse:`collapse`},'&:not(.MathJax) > table:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)':{backgroundColor:`#f6f8fa`,color:e.palette.common.black},'&:not(.MathJax) > table:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td':{backgroundColor:`#f6f8fa`,color:e.palette.common.black},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},"&:not(.MathJax) > table td > p.kds-indent":{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:Dp()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${Dp()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),ph=/\\embed\{newLine\}\[\]/g,mh=`\\newline `,hh=class extends B.Component{static propTypes={prompt:y.string,tagName:y.string,className:y.string,onClick:y.func,defaultClassName:y.string,autoplayAudioEnabled:y.bool,customAudioButton:y.shape({playImage:y.string,pauseImage:y.string})};static defaultProps={onClick:()=>{}};parsedText=e=>{let{customAudioButton:t}=this.props,n=document.createElement(`div`);n.innerHTML=e;let r=n.querySelector(`audio`);if(r){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,r.getAttribute(`src`)),r.removeAttribute(`src`),r.setAttribute(`id`,`pie-prompt-audio-player`),r.appendChild(e),t){r.style.display=`none`;let e=document.createElement(`div`);e.id=`play-audio-button`,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,backgroundImage:`url(${t.pauseImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),r.parentNode.insertBefore(e,r)}}return n.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=document.getElementById(`play-audio-button`),r=document.getElementById(`pie-prompt-audio-player`);if(e&&r&&r.play().then(()=>{n&&t&&r.addEventListener(`ended`,a)}).catch(e=>{console.error(`Error playing audio`,e)}),!n||!r||!t)return;let i=()=>{r.paused&&(n.style.backgroundImage.includes(t.pauseImage)||r.play())},a=()=>{n.style.backgroundImage=`url(${t.playImage})`},o=()=>{Object.assign(n.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},s=()=>{Object.assign(n.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};n.addEventListener(`click`,i),r.addEventListener(`play`,o),r.addEventListener(`pause`,s),r.addEventListener(`ended`,a),this._handlePlayClick=i,this._handleAudioPlay=o,this._handleAudioPause=s,this._handleAudioEnded=a}removeCustomAudioButtonListeners(){let e=document.getElementById(`play-audio-button`),t=document.querySelector(`audio`);!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=document.getElementById(`preview-prompt`);e&&typeof Km==`function`&&Km(e)}alignImages(){document.querySelectorAll(`#preview-prompt`).forEach(e=>{let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}})}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``}`.trim();return(0,V.jsx)(fh,{as:t||`div`,id:`preview-prompt`,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(ph,mh)}})}},gh=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-readable":e.false===void 0}))});gh.propTypes={children:y.node,false:y.bool};var _h=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-purpose":e.purpose}))});_h.propTypes={children:y.node,purpose:y.string};var vh;typeof window<`u`&&(vh=new DOMParser);var yh=e=>vh.parseFromString(e,`text/html`).body.textContent,bh=e=>{if(!e)return!1;let t=yh(e);return!!(t&&t.trim())},xh;typeof window<`u`&&(xh=new DOMParser);var Sh=e=>{if(!e)return!1;let t=xh.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},Ch=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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`;function wh(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}var Th=({slotProps:e,...t})=>(0,V.jsx)(sf,{...t,disableScrollLock:!0,hideBackdrop:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,pointerEvents:`none`,...e?.root?.style}},paper:{...e?.paper,style:{pointerEvents:`auto`,...e?.paper?.style}}}}),Eh=s({Collapsible:()=>Ym,EnableAudioAutoplayImage:()=>Ch,Feedback:()=>Dm,HtmlAndMath:()=>ch,InlineMenu:()=>Th,InputContainer:()=>dh,PreviewLayout:()=>sh,PreviewPrompt:()=>hh,Purpose:()=>_h,Readable:()=>gh,UiLayout:()=>ah,color:()=>Tp,hasMedia:()=>Sh,hasText:()=>bh,indicators:()=>km,transformDataHeadings:()=>wh,withUndoReset:()=>nh}),Dh=`height ease-in 300ms, opacity ease-in 300ms`,Oh=W(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:Dh,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:Dh,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),kh=e=>{let{show:t,children:n,className:r}=e,i=(0,B.useRef)(null);return(0,V.jsx)(Os,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,V.jsx)(Oh,{ref:i,className:r,children:n})})};kh.propTypes={show:y.bool.isRequired,className:y.string,children:y.oneOfType([y.arrayOf(y.node),y.node]).isRequired};var X=e=>typeof e==`string`,Ah=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},jh=e=>e==null?``:``+e,Mh=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Nh=/###/g,Ph=e=>e&&e.indexOf(`###`)>-1?e.replace(Nh,`.`):e,Fh=e=>!e||X(e),Ih=(e,t,n)=>{let r=X(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Fh(e))return{};let t=Ph(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Fh(e)?{}:{obj:e,k:Ph(r[i])}},Lh=(e,t,n)=>{let{obj:r,k:i}=Ih(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Ih(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Ih(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Rh=(e,t,n,r)=>{let{obj:i,k:a}=Ih(e,t,Object);i[a]=i[a]||[],i[a].push(n)},zh=(e,t)=>{let{obj:n,k:r}=Ih(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Bh=(e,t,n)=>{let r=zh(e,n);return r===void 0?zh(t,n):r},Vh=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?X(e[r])||e[r]instanceof String||X(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Vh(e[r],t[r],n):e[r]=t[r]);return e},Hh=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Uh={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`},Wh=e=>X(e)?e.replace(/[&<>"'\/]/g,e=>Uh[e]):e,Gh=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Kh=[` `,`,`,`?`,`!`,`;`],qh=new Gh(20),Jh=(e,t,n)=>{t||=``,n||=``;let r=Kh.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=qh.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},Yh=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Xh=e=>e?.replace(/_/g,`-`),Zh={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},Qh=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Zh,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(X(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},$h=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},eg=class extends $h{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):X(n)&&i?o.push(...n.split(i)):o.push(n)));let s=zh(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!X(n)?s:Yh(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Lh(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(X(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=zh(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Vh(s,n,i):s={...s,...n},Lh(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},tg={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},ng=Symbol(`i18next/PATH_KEY`);function rg(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===ng?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function ig(e,t){let{[ng]:n}=e(rg()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var ag={},og=e=>!X(e)&&typeof e!=`boolean`&&typeof e!=`number`,sg=class e extends $h{constructor(e,t={}){super(),Mh([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=Qh.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=og(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Jh(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:X(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:X(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=ig(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?ig(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!X(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=og(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(O)<0&&!(X(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:og(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&X(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=X(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!X(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=X(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=tg.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return X(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?ig(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!X(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(X(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!ag[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(ag[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!X(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},cg=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qh.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Xh(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Xh(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(X(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),X(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return X(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):X(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},lg={zero:0,one:1,two:2,few:3,many:4,other:5},ug={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},dg=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Qh.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Xh(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),ug;if(!e.match(/-|_/))return ug;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>lg[e]-lg[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},fg=(e,t,n,r=`.`,i=!0)=>{let a=Bh(e,t,n);return!a&&i&&X(n)&&(a=Yh(e,n,r),a===void 0&&(a=Yh(t,n,r))),a},pg=e=>e.replace(/\$/g,`$$$$`),mg=class{constructor(e={}){this.logger=Qh.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Wh:t,this.escapeValue=n===void 0?!0:n,this.useRawValueToEscape=r===void 0?!1:r,this.prefix=i?Hh(i):a||`{{`,this.suffix=o?Hh(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?Hh(d):f||Hh(`$t(`),this.nestingSuffix=p?Hh(p):m||Hh(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_===void 0?!1:_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=fg(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(fg(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>pg(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?pg(this.escape(e)):pg(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=X(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else !X(a)&&!this.useRawValueToEscape&&(a=jh(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${Hh(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!X(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!X(i))return i;X(i)||(i=jh(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},hg=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},gg=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Xh(r),i),t[o]=s),s(n)}},_g=e=>(t,n,r)=>e(Xh(n),r)(t),vg=class{constructor(e={}){this.logger=Qh.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?gg:_g;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=gg(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=hg(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},yg=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},bg=class extends $h{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Qh.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Rh(n.loaded,[i],a),yg(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();X(e)&&(e=this.languageUtils.toResolveHierarchy(e)),X(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},xg=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),X(e[1])&&(t.defaultValue=e[1]),X(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Sg=e=>(X(e.ns)&&(e.ns=[e.ns]),X(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),X(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),Cg=()=>{},wg=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Tg=`__i18next_supportNoticeShown`,Eg=()=>!!(typeof globalThis<`u`&&globalThis[Tg]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),Dg=()=>{typeof globalThis<`u`&&(globalThis[Tg]=!0)},Og=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),kg=class e extends $h{constructor(e={},t){if(super(),this.options=Sg(e),this.services={},this.logger=Qh,this.modules={external:[]},wg(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(X(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=xg();this.options={...n,...this.options,...Sg(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Og(this)&&!Eg()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),Dg());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?Qh.init(r(this.modules.logger),this.options):Qh.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:vg;let t=new cg(this.options);this.store=new eg(this.options.resources,this.options);let i=this.services;i.logger=Qh,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new dg(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new mg(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new bg(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new sg(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Cg,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Ah(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Cg){let n=t,r=X(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Ah();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Cg,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&tg.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Ah();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=X(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(X(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=ig(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=ig(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=ig(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return X(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=Ah();return this.options.ns?(X(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Ah();X(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new cg(xg());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Cg){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new eg(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...xg().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new mg(n)}return a.translator=new sg(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();kg.createInstance,kg.dir,kg.init,kg.loadResources,kg.reloadResources,kg.use,kg.changeLanguage,kg.getFixedT,kg.t,kg.exists,kg.setDefaultNamespace,kg.hasLoadedNamespace,kg.loadNamespaces,kg.loadLanguages,kg.init({fallbackLng:`en`,lng:`en`,debug:!0,resources:{en:{translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},ebsr:{part:`Part {{index}}`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`},imageClozeAssociation:{reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`}},graphing:{point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,redo:`Redo`,reset:`Reset`},mathInline:{primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`}},es:{translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},ebsr:{part:`Parte {{index}}`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`},imageClozeAssociation:{reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`}},graphing:{point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,redo:`Rehacer`,reset:`Reiniciar`},mathInline:{primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`}}}});var Ag={translator:{...kg,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return kg.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]};function jg(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function Mg(e,t){return!e||jg(e)?e:jg(e.default)?e.default:t&&jg(e[t])?e[t]:t&&jg(e[t]?.default)?e[t].default:e}var Ng=Mg(gh,`Readable`)||Mg(Ig.Readable,`Readable`),Pg=Eh,Fg=Pg.default,Ig=Fg&&typeof Fg==`object`?Fg:Pg,{translator:Lg}=Ag,Rg={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},zg=W(`div`)(()=>({width:`100%`,cursor:`pointer`})),Bg=W(`div`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`})),Vg=W(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${Dp()})`,fontWeight:`normal`,...Rg})),Hg=W(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),Ug=W(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),Wg=class e extends B.Component{static propTypes={onToggle:y.func,toggled:y.bool,show:y.bool,hideMessage:y.string,showMessage:y.string,className:y.string,language:y.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=B.createRef(),this.closedIconRef=B.createRef(),e.defaultProps={...e.defaultProps,showMessage:Lg.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:Lg.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:Lg.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:Lg.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,V.jsx)(zg,{className:e,children:(0,V.jsx)(kh,{show:this.state.show,children:(0,V.jsxs)(Bg,{onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,V.jsxs)(Ug,{children:[(0,V.jsx)(Os,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(Hg,{ref:this.openIconRef,children:(0,V.jsx)(mp,{open:t},`correct-open`)})}),(0,V.jsx)(Os,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(Hg,{ref:this.closedIconRef,children:(0,V.jsx)(mp,{open:t},`correct-closed`)})})]}),(0,V.jsx)(Ng,{false:!0,children:(0,V.jsx)(Vg,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},Gg=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function Kg(e){return typeof e==`string`?Gg.includes(e):!1}var qg=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function Jg(e){return typeof e==`string`?qg.has(e):!1}function Yg(e){return typeof e==`string`&&e.startsWith(`data-`)}function Xg(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Jg(n)||Yg(n))&&(t[n]=e[n]);return t}function Zg(e){if(e==null)return null;if((0,B.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return Xg(t)}return typeof e==`object`&&!Array.isArray(e)?Xg(e):null}function Qg(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Jg(n)||Yg(n)||Kg(n))&&(t[n]=e[n]);return t}var $g=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function e_(){return e_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e_.apply(null,arguments)}function t_(e,t){if(e==null)return{};var n,r,i=n_(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function n_(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var r_=(0,B.forwardRef)((e,t)=>{var{children:n,width:r,height:i,viewBox:a,className:o,style:s,title:c,desc:l}=e,u=t_(e,$g),d=a||{width:r,height:i,x:0,y:0},f=H(`recharts-surface`,o);return B.createElement(`svg`,e_({},Qg(u),{className:f,width:r,height:i,style:s,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,ref:t}),B.createElement(`title`,null,c),B.createElement(`desc`,null,l),n)}),i_=[`children`,`className`];function a_(){return a_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a_.apply(null,arguments)}function o_(e,t){if(e==null)return{};var n,r,i=s_(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s_(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var c_=B.forwardRef((e,t)=>{var{children:n,className:r}=e,i=o_(e,i_),a=H(`recharts-layer`,r);return B.createElement(`g`,a_({className:a},Qg(i),{ref:t}),n)}),l_=(0,B.createContext)(null);function u_(e){return function(){return e}}var d_=Math.cos,f_=Math.sin,p_=Math.sqrt,m_=Math.PI;m_/2;var h_=2*m_,g_=Math.PI,__=2*g_,v_=1e-6,y_=__-v_;function b_(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function x_(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return b_;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var S_=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?b_:x_(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>v_)if(!(Math.abs(u*s-c*l)>v_)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((g_-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>v_&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>v_||Math.abs(this._y1-l)>v_)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%__+__),d>y_?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>v_&&this._append`A${n},${n},0,${+(d>=g_)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function C_(){return new S_}C_.prototype=S_.prototype;function w_(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new S_(t)}Array.prototype.slice;function T_(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function E_(e){this._context=e}E_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function D_(e){return new E_(e)}function O_(e){return e[0]}function k_(e){return e[1]}function A_(e,t){var n=u_(!0),r=null,i=D_,a=null,o=w_(s);e=typeof e==`function`?e:e===void 0?O_:u_(e),t=typeof t==`function`?t:t===void 0?k_:u_(t);function s(s){var c,l=(s=T_(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:u_(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:u_(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:u_(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function j_(e,t,n){var r=null,i=u_(!0),a=null,o=D_,s=null,c=w_(l);e=typeof e==`function`?e:e===void 0?O_:u_(+e),t=typeof t==`function`?t:u_(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?k_:u_(+n);function l(l){var u,d,f,p=(l=T_(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return A_().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:u_(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:u_(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:u_(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:u_(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:u_(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:u_(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:u_(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var M_=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function N_(e){return new M_(e,!0)}function P_(e){return new M_(e,!1)}var F_={draw(e,t){let n=p_(t/m_);e.moveTo(n,0),e.arc(0,0,n,0,h_)}},I_={draw(e,t){let n=p_(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},L_=p_(1/3),R_=L_*2,z_={draw(e,t){let n=p_(t/R_),r=n*L_;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},B_={draw(e,t){let n=p_(t),r=-n/2;e.rect(r,r,n,n)}},V_=.8908130915292852,H_=f_(m_/10)/f_(7*m_/10),U_=f_(h_/10)*H_,W_=-d_(h_/10)*H_,G_={draw(e,t){let n=p_(t*V_),r=U_*n,i=W_*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=h_*t/5,o=d_(a),s=f_(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},K_=p_(3),q_={draw(e,t){let n=-p_(t/(K_*3));e.moveTo(0,n*2),e.lineTo(-K_*n,-n),e.lineTo(K_*n,-n),e.closePath()}},J_=-.5,Y_=p_(3)/2,X_=1/p_(12),Z_=(X_/2+1)*3,Q_={draw(e,t){let n=p_(t/Z_),r=n/2,i=n*X_,a=r,o=n*X_+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(J_*r-Y_*i,Y_*r+J_*i),e.lineTo(J_*a-Y_*o,Y_*a+J_*o),e.lineTo(J_*s-Y_*c,Y_*s+J_*c),e.lineTo(J_*r+Y_*i,J_*i-Y_*r),e.lineTo(J_*a+Y_*o,J_*o-Y_*a),e.lineTo(J_*s+Y_*c,J_*c-Y_*s),e.closePath()}};function $_(e,t){let n=null,r=w_(i);e=typeof e==`function`?e:u_(e||F_),t=typeof t==`function`?t:u_(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:u_(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:u_(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function ev(){}function tv(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function nv(e){this._context=e}nv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:tv(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:tv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function rv(e){return new nv(e)}function iv(e){this._context=e}iv.prototype={areaStart:ev,areaEnd:ev,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:tv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function av(e){return new iv(e)}function ov(e){this._context=e}ov.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:tv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function sv(e){return new ov(e)}function cv(e){this._context=e}cv.prototype={areaStart:ev,areaEnd:ev,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function lv(e){return new cv(e)}function uv(e){return e<0?-1:1}function dv(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(uv(a)+uv(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function fv(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function pv(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function mv(e){this._context=e}mv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:pv(this,this._t0,fv(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,pv(this,fv(this,n=dv(this,e,t)),n);break;default:pv(this,this._t0,n=dv(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function hv(e){this._context=new gv(e)}(hv.prototype=Object.create(mv.prototype)).point=function(e,t){mv.prototype.point.call(this,t,e)};function gv(e){this._context=e}gv.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function _v(e){return new mv(e)}function vv(e){return new hv(e)}function yv(e){this._context=e}yv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=bv(e),i=bv(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function bv(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function xv(e){return new yv(e)}function Sv(e,t){this._context=e,this._t=t}Sv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}};function Cv(e){return new Sv(e,.5)}function wv(e){return new Sv(e,0)}function Tv(e){return new Sv(e,1)}function Ev(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function Dv(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Ov(e,t){return e[t]}function kv(e){let t=[];return t.key=e,t}function Av(){var e=u_([]),t=Dv,n=Ev,r=Ov;function i(i){var a=Array.from(e.apply(this,arguments),kv),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=T_(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:u_(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:u_(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?Dv:typeof e==`function`?e:u_(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Ev,i):n},i}function jv(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Ev(e,t)}}function Mv(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Ev(e,t)}}function Nv(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Ev(e,t)}}var Pv=o((e=>{function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),Fv=o((e=>{function t(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}e.isDeepKey=t})),Iv=o((e=>{function t(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}e.toKey=t})),Lv=o((e=>{function t(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(t).join(`,`);let n=String(e);return n===`0`&&Object.is(Number(e),-0)?`-0`:n}e.toString=t})),Rv=o((e=>{var t=Iv(),n=Lv();function r(e){if(Array.isArray(e))return e.map(t.toKey);if(typeof e==`symbol`)return[e];e=n.toString(e);let r=[],i=e.length;if(i===0)return r;let a=0,o=``,s=``,c=!1;for(e.charCodeAt(0)===46&&(r.push(``),a++);a<i;){let t=e[a];s?t===`\\`&&a+1<i?(a++,o+=e[a]):t===s?s=``:o+=t:c?t===`"`||t===`'`?s=t:t===`]`?(c=!1,r.push(o),o=``):o+=t:t===`[`?(c=!0,o&&=(r.push(o),``)):t===`.`?o&&=(r.push(o),``):o+=t,a++}return o&&r.push(o),r}e.toPath=r})),zv=o((e=>{var t=Pv(),n=Fv(),r=Iv(),i=Rv();function a(e,s,c){if(e==null)return c;switch(typeof s){case`string`:{if(t.isUnsafeProperty(s))return c;let r=e[s];return r===void 0?n.isDeepKey(s)?a(e,i.toPath(s),c):c:r}case`number`:case`symbol`:{typeof s==`number`&&(s=r.toKey(s));let t=e[s];return t===void 0?c:t}default:{if(Array.isArray(s))return o(e,s,c);if(s=Object.is(s?.valueOf(),-0)?`-0`:String(s),t.isUnsafeProperty(s))return c;let n=e[s];return n===void 0?c:n}}}function o(e,n,r){if(n.length===0)return r;let i=e;for(let e=0;e<n.length;e++){if(i==null||t.isUnsafeProperty(n[e]))return r;i=i[n[e]]}return i===void 0?r:i}e.get=a})),Bv=o(((e,t)=>{t.exports=zv().get})),Vv=4;function Hv(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vv),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Uv(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.reduce((e,t,r)=>{var i=n[r-1];return typeof i==`string`?e+i+t:i===void 0?e+t:e+Hv(i)+t},``)}var Wv=l(Bv()),Gv=e=>e===0?0:e>0?1:-1,Kv=e=>typeof e==`number`&&e!=+e,qv=e=>typeof e==`string`&&e.indexOf(`%`)===e.length-1,Z=e=>(typeof e==`number`||e instanceof Number)&&!Kv(e),Jv=e=>Z(e)||typeof e==`string`,Yv=0,Xv=e=>{var t=++Yv;return`${e||``}${t}`},Zv=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Z(e)&&typeof e!=`string`)return n;var i;if(qv(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return Kv(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},Qv=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function $v(e,t,n){return Z(e)&&Z(t)?Hv(e+n*(t-e)):t}function ey(e,t,n){if(!(!e||!e.length))return e.find(e=>e&&(typeof t==`function`?t(e):(0,Wv.default)(e,t))===n)}var ty=e=>e==null,ny=e=>ty(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function ry(e){return e!=null}function iy(){}var ay=[`type`,`size`,`sizeType`];function oy(){return oy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oy.apply(null,arguments)}function sy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sy(Object(n),!0).forEach(function(t){ly(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ly(e,t,n){return(t=uy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uy(e){var t=dy(e,`string`);return typeof t==`symbol`?t:t+``}function dy(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fy(e,t){if(e==null)return{};var n,r,i=py(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function py(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var my={symbolCircle:F_,symbolCross:I_,symbolDiamond:z_,symbolSquare:B_,symbolStar:G_,symbolTriangle:q_,symbolWye:Q_},hy=Math.PI/180,gy=e=>my[`symbol${ny(e)}`]||F_,_y=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*hy;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},vy=(e,t)=>{my[`symbol${ny(e)}`]=t},yy=e=>{var{type:t=`circle`,size:n=64,sizeType:r=`area`}=e,i=cy(cy({},fy(e,ay)),{},{type:t,size:n,sizeType:r}),a=`circle`;typeof t==`string`&&(a=t);var o=()=>{var e=gy(a),t=$_().type(e).size(_y(n,r,a))();if(t!==null)return t},{className:s,cx:c,cy:l}=i,u=Qg(i);return Z(c)&&Z(l)&&Z(n)?B.createElement(`path`,oy({},u,{className:H(`recharts-symbols`,s),transform:`translate(${c}, ${l})`,d:o()})):null};yy.registerSymbol=vy;var by=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,B.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{Kg(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},xy=(e,t,n)=>r=>(e(t,n,r),null),Sy=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];Kg(i)&&typeof a==`function`&&(r||={},r[i]=xy(a,t,n))}),r};function Cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Cy(Object(n),!0).forEach(function(t){Ty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ty(e,t,n){return(t=Ey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ey(e){var t=Dy(e,`string`);return typeof t==`symbol`?t:t+``}function Dy(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Oy(e,t){var n=wy({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}var ky=o((e=>{function t(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}e.isEqualsSameValueZero=t})),Ay=o((()=>{ky()})),jy=o((e=>{function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),My=o((e=>{var t=/^(?:0|[1-9]\d*)$/;function n(e,n=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<n;case`symbol`:return!1;case`string`:return t.test(e)}}e.isIndex=n})),Ny=o((e=>{function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),Py=o((e=>{var t=Ny();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),Fy=o((e=>{var t=d();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),Iy=o(((e,t)=>{t.exports=Fy()})),Ly=o((e=>{var t=d(),n=Iy();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),Ry=o(((e,t)=>{t.exports=Ly()})),zy=(0,B.createContext)(null),By=Ry(),Vy=e=>e,Hy=()=>{var e=(0,B.useContext)(zy);return e?e.store.dispatch:Vy},Uy=()=>{},Wy=()=>Uy,Gy=(e,t)=>e===t;function Q(e){var t=(0,B.useContext)(zy),n=(0,B.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:Uy,[t,e]);return(0,By.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:Wy,t?t.store.getState:Uy,t?t.store.getState:Uy,n,Gy)}function Ky(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function qy(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function Jy(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var Yy=e=>Array.isArray(e)?e:[e];function Xy(e){let t=Array.isArray(e[0])?e[0]:e;return Jy(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function Zy(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var Qy=class{constructor(e){this.value=e}deref(){return this.value}},$y=typeof WeakRef<`u`?WeakRef:Qy,eb=0,tb=1;function nb(){return{s:eb,v:void 0,o:null,p:null}}function rb(e,t={}){let n=nb(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=nb(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=nb(),e.set(n,t)):t=r}}let s=t,c;if(t.s===tb)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new $y(c):c}return s.s=tb,s.v=c,c}return o.clearCache=()=>{n=nb(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function ib(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),Ky(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=rb,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=Yy(c),p=Yy(u),m=Xy(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=Zy(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var $=ib(rb),ab=Object.assign((e,t=$)=>{qy(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>ab}),ob=o((e=>{function t(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}e.flatten=t})),sb=o((e=>{var t=ky();Ay();var n=Py(),r=jy(),i=My();function a(e,a,o){return r.isObject(o)&&(typeof a==`number`&&n.isArrayLike(o)&&i.isIndex(a)&&a<o.length||typeof a==`string`&&a in o)?t.isEqualsSameValueZero(o[a],e):!1}e.isIterateeCall=a})),cb=o((e=>{function t(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}e.compareValues=(e,n,r)=>{if(e!==n){let i=t(e),a=t(n);if(i===a&&i===0){if(e<n)return r===`desc`?1:-1;if(e>n)return r===`desc`?-1:1}return r===`desc`?a-i:i-a}return 0}})),lb=o((e=>{function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),ub=o((e=>{var t=lb(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(e,i){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||t.isSymbol(e)?!0:typeof e==`string`&&(r.test(e)||!n.test(e))||i!=null&&Object.hasOwn(i,e)}e.isKey=i})),db=o((e=>{var t=Rv(),n=cb(),r=ub();function i(e,i,a,o){if(e==null)return[];a=o?void 0:a,Array.isArray(e)||(e=Object.values(e)),Array.isArray(i)||(i=i==null?[null]:[i]),i.length===0&&(i=[null]),Array.isArray(a)||(a=a==null?[]:[a]),a=a.map(e=>String(e));let s=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},c=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:s(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?s(t,e):typeof t==`object`?t[e]:t,l=i.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||r.isKey(e)?e:{key:e,path:t.toPath(e)}));return e.map(e=>({original:e,criteria:l.map(t=>c(t,e))})).slice().sort((e,t)=>{for(let r=0;r<l.length;r++){let i=n.compareValues(e.criteria[r],t.criteria[r],a[r]);if(i!==0)return i}return 0}).map(e=>e.original)}e.orderBy=i})),fb=o((e=>{var t=ob(),n=sb(),r=db();function i(e,...i){let a=i.length;return a>1&&n.isIterateeCall(e,i[0],i[1])?i=[]:a>2&&n.isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),r.orderBy(e,t.flatten(i),[`asc`])}e.sortBy=i})),pb=l(o(((e,t)=>{t.exports=fb().sortBy}))()),mb=e=>e.legend.settings,hb=e=>e.legend.size;$([e=>e.legend.payload,mb],(e,t)=>{var{itemSorter:n}=t,r=e.flat(1);return n?(0,pb.default)(r,n):r});function gb(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _b=typeof Symbol==`function`&&Symbol.observable||`@@observable`,vb=()=>Math.random().toString(36).substring(7).split(``).join(`.`),yb={INIT:`@@redux/INIT${vb()}`,REPLACE:`@@redux/REPLACE${vb()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${vb()}`};function bb(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function xb(e,t,n){if(typeof e!=`function`)throw Error(gb(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(gb(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(gb(1));return n(xb)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(gb(3));return i}function d(e){if(typeof e!=`function`)throw Error(gb(4));if(c)throw Error(gb(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(gb(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!bb(e))throw Error(gb(7));if(e.type===void 0)throw Error(gb(8));if(typeof e.type!=`string`)throw Error(gb(17));if(c)throw Error(gb(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(gb(10));r=e,f({type:yb.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(gb(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[_b](){return this}}}return f({type:yb.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[_b]:m}}function Sb(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:yb.INIT})===void 0)throw Error(gb(12));if(n(void 0,{type:yb.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(gb(13))})}function Cb(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{Sb(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(gb(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function wb(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Tb(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(gb(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=wb(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Eb(e){return bb(e)&&`type`in e&&typeof e.type==`string`}var Db=Symbol.for(`immer-nothing`),Ob=Symbol.for(`immer-draftable`),kb=Symbol.for(`immer-state`);function Ab(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var jb=Object,Mb=jb.getPrototypeOf,Nb=`constructor`,Pb=`prototype`,Fb=`configurable`,Ib=`enumerable`,Lb=`writable`,Rb=`value`,zb=e=>!!e&&!!e[kb];function Bb(e){return e?Ub(e)||Xb(e)||!!e[Ob]||!!e[Nb]?.[Ob]||Zb(e)||Qb(e):!1}var Vb=jb[Pb][Nb].toString(),Hb=new WeakMap;function Ub(e){if(!e||!$b(e))return!1;let t=Mb(e);if(t===null||t===jb[Pb])return!0;let n=jb.hasOwnProperty.call(t,Nb)&&t[Nb];if(n===Object)return!0;if(!ex(n))return!1;let r=Hb.get(n);return r===void 0&&(r=Function.toString.call(n),Hb.set(n,r)),r===Vb}function Wb(e,t,n=!0){Gb(e)===0?(n?Reflect.ownKeys(e):jb.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Gb(e){let t=e[kb];return t?t.type_:Xb(e)?1:Zb(e)?2:Qb(e)?3:0}var Kb=(e,t,n=Gb(e))=>n===2?e.has(t):jb[Pb].hasOwnProperty.call(e,t),qb=(e,t,n=Gb(e))=>n===2?e.get(t):e[t],Jb=(e,t,n,r=Gb(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Yb(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Xb=Array.isArray,Zb=e=>e instanceof Map,Qb=e=>e instanceof Set,$b=e=>typeof e==`object`,ex=e=>typeof e==`function`,tx=e=>typeof e==`boolean`;function nx(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var rx=e=>e.copy_||e.base_,ix=e=>e.modified_?e.copy_:e.base_;function ax(e,t){if(Zb(e))return new Map(e);if(Qb(e))return new Set(e);if(Xb(e))return Array[Pb].slice.call(e);let n=Ub(e);if(t===!0||t===`class_only`&&!n){let t=jb.getOwnPropertyDescriptors(e);delete t[kb];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Lb]===!1&&(a[Lb]=!0,a[Fb]=!0),(a.get||a.set)&&(t[i]={[Fb]:!0,[Lb]:!0,[Ib]:a[Ib],[Rb]:e[i]})}return jb.create(Mb(e),t)}else{let t=Mb(e);if(t!==null&&n)return{...e};let r=jb.create(t);return jb.assign(r,e)}}function ox(e,t=!1){return lx(e)||zb(e)||!Bb(e)?e:(Gb(e)>1&&jb.defineProperties(e,{set:cx,add:cx,clear:cx,delete:cx}),jb.freeze(e),t&&Wb(e,(e,t)=>{ox(t,!0)},!1),e)}function sx(){Ab(2)}var cx={[Rb]:sx};function lx(e){return e===null||!$b(e)?!0:jb.isFrozen(e)}var ux=`MapSet`,dx=`Patches`,fx=`ArrayMethods`,px={};function mx(e){let t=px[e];return t||Ab(0,e),t}var hx=e=>!!px[e],gx,_x=()=>gx,vx=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:hx(ux)?mx(ux):void 0,arrayMethodsPlugin_:hx(fx)?mx(fx):void 0});function yx(e,t){t&&(e.patchPlugin_=mx(dx),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function bx(e){xx(e),e.drafts_.forEach(Cx),e.drafts_=null}function xx(e){e===gx&&(gx=e.parent_)}var Sx=e=>gx=vx(gx,e);function Cx(e){let t=e[kb];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wx(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[kb].modified_&&(bx(t),Ab(4)),Bb(e)&&(e=Tx(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[kb].base_,e,t)}else e=Tx(t,n);return Ex(t,e,!0),bx(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Db?void 0:e}function Tx(e,t){if(lx(t))return t;let n=t[kb];if(!n)return Px(t,e.handledSet_,e);if(!Ox(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);Mx(n,e)}return n.copy_}function Ex(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ox(t,n)}function Dx(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Ox=(e,t)=>e.scope_===t,kx=[];function Ax(e,t,n,r){let i=rx(e),a=e.type_;if(r!==void 0&&qb(i,r,a)===t){Jb(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Wb(i,(e,n)=>{if(zb(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??kx;for(let e of o)Jb(i,e,n,a)}function jx(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Ox(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=ix(i);Ax(e,i.draft_??i,a,n),Mx(i,r)})}function Mx(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}Dx(e)}}function Nx(e,t,n){let{scope_:r}=e;if(zb(n)){let i=n[kb];Ox(i,r)&&i.callbacks_.push(function(){Hx(e),Ax(e,n,ix(i),t)})}else Bb(n)&&e.callbacks_.push(function(){let i=rx(e);e.type_===3?i.has(n)&&Px(n,r.handledSet_,r):qb(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Px(qb(e.copy_,t,e.type_),r.handledSet_,r)})}function Px(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||zb(e)||t.has(e)||!Bb(e)||lx(e)?e:(t.add(e),Wb(e,(r,i)=>{if(zb(i)){let t=i[kb];Ox(t,n)&&(Jb(e,r,ix(t),e.type_),Dx(t))}else Bb(i)&&Px(i,t,n)}),e)}function Fx(e,t){let n=Xb(e),r={type_:+!!n,scope_:t?t.scope_:_x(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=Ix;n&&(i=[r],a=Lx);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var Ix={get(e,t){if(t===kb)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=rx(e);if(!Kb(i,t,e.type_))return zx(e,i,t);let a=i[t];if(e.finalized_||!Bb(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&nx(t))return a;if(a===Rx(e.base_,t)){Hx(e);let n=e.type_===1?+t:t,r=Wx(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in rx(e)},ownKeys(e){return Reflect.ownKeys(rx(e))},set(e,t,n){let r=Bx(rx(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Rx(rx(e),t),i=r?.[kb];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Yb(n,r)&&(n!==void 0||Kb(e.base_,t,e.type_)))return!0;Hx(e),Vx(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),Nx(e,t,n),!0)},deleteProperty(e,t){return Hx(e),Rx(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Vx(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=rx(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Lb]:!0,[Fb]:e.type_!==1||t!==`length`,[Ib]:r[Ib],[Rb]:n[t]}},defineProperty(){Ab(11)},getPrototypeOf(e){return Mb(e.base_)},setPrototypeOf(){Ab(12)}},Lx={};for(let e in Ix){let t=Ix[e];Lx[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Lx.deleteProperty=function(e,t){return Lx.set.call(this,e,t,void 0)},Lx.set=function(e,t,n){return Ix.set.call(this,e[0],t,n,e[0])};function Rx(e,t){let n=e[kb];return(n?rx(n):e)[t]}function zx(e,t,n){let r=Bx(t,n);return r?Rb in r?r[Rb]:r.get?.call(e.draft_):void 0}function Bx(e,t){if(!(t in e))return;let n=Mb(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Mb(n)}}function Vx(e){e.modified_||(e.modified_=!0,e.parent_&&Vx(e.parent_))}function Hx(e){e.copy_||=(e.assigned_=new Map,ax(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ux=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(ex(e)&&!ex(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}ex(t)||Ab(6),n!==void 0&&!ex(n)&&Ab(7);let r;if(Bb(e)){let i=Sx(this),a=Wx(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?bx(i):xx(i)}return yx(i,n),wx(r,i)}else if(!e||!$b(e)){if(r=t(e),r===void 0&&(r=e),r===Db&&(r=void 0),this.autoFreeze_&&ox(r,!0),n){let t=[],i=[];mx(dx).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else Ab(1,e)},this.produceWithPatches=(e,t)=>{if(ex(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},tx(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),tx(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),tx(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Bb(e)||Ab(8),zb(e)&&(e=Gx(e));let t=Sx(this),n=Wx(t,e,void 0);return n[kb].isManual_=!0,xx(t),n}finishDraft(e,t){let n=e&&e[kb];(!n||!n.isManual_)&&Ab(9);let{scope_:r}=n;return yx(r,t),wx(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=mx(dx).applyPatches_;return zb(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Wx(e,t,n,r){let[i,a]=Zb(t)?mx(ux).proxyMap_(t,n):Qb(t)?mx(ux).proxySet_(t,n):Fx(t,n);return(n?.scope_??_x()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?jx(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Gx(e){return zb(e)||Ab(10,e),Kx(e)}function Kx(e){if(!Bb(e)||lx(e))return e;let t=e[kb],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=ax(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=ax(e,!0);return Wb(n,(e,t)=>{Jb(n,e,Kx(t))},r),t&&(t.finalized_=!1),n}var qx=new Ux().produce;function Jx(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var Yx=Jx(),Xx=Jx,Zx=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?wb:wb.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Qx(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(sC(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>Eb(t)&&t.type===e,n}var $x=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function eS(e){return Bb(e)?qx(e,()=>{}):e}function tS(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function nS(e){return typeof e==`boolean`}var rS=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new $x;return t&&(nS(t)?a.push(Yx):a.push(Xx(t.extraArgument))),a},iS=`RTK_autoBatch`,aS=()=>e=>({payload:e,meta:{[iS]:!0}}),oS=e=>t=>{setTimeout(t,e)},sS=(e,t)=>n=>{let r=!1,i=()=>{r||(r=!0,cancelAnimationFrame(a),clearTimeout(o),n())},a=e(i),o=setTimeout(i,t)},cS=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?sS(window.requestAnimationFrame,100):oS(10):e.type===`callback`?e.queueNotification:oS(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[iS],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},lS=e=>function(t){let{autoBatch:n=!0}=t??{},r=new $x(e);return n&&r.push(cS(typeof n==`object`?n:void 0)),r};function uS(e){let t=rS(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(bb(n))c=Cb(n);else throw Error(sC(1));let l;l=typeof r==`function`?r(t):t();let u=wb;i&&(u=Zx({trace:!1,...typeof i==`object`&&i}));let d=lS(Tb(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return xb(c,o,p)}function dS(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(sC(28));if(r in t)throw Error(sC(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function fS(e){return typeof e==`function`}function pS(e,t){let[n,r,i]=dS(t),a;if(fS(e))a=()=>eS(e());else{let t=eS(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(zb(e)){let r=n(e,t);return r===void 0?e:r}else if(Bb(e))return qx(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}var mS=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,hS=(e=21)=>{let t=``,n=e;for(;n--;)t+=mS[Math.random()*64|0];return t},gS=Symbol.for(`rtk-slice-createasyncthunk`);function _S(e,t){return`${e}/${t}`}function vS({creators:e}={}){let t=e?.asyncThunk?.[gS];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(sC(11));let i=(typeof e.reducers==`function`?e.reducers(xS()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(sC(12));if(n in o.sliceCaseReducersByType)throw Error(sC(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:_S(n,r),createNotation:typeof e.reducers==`function`};CS(a)?TS(o,a,s,t):SS(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?dS(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return pS(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=tS(d,r,m)),i}function i(t=l){return tS(tS(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=yS(a,t,()=>tS(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function yS(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var bS=vS();function xS(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function SS({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!wS(r))throw Error(sC(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Qx(e,o):Qx(e))}function CS(e){return e._reducerDefinitionType===`asyncThunk`}function wS(e){return e._reducerDefinitionType===`reducerWithPrepare`}function TS({type:e,reducerName:t},n,r,i){if(!i)throw Error(sC(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||ES,pending:s||ES,rejected:c||ES,settled:l||ES})}function ES(){}var DS=`task`,OS=`listener`,kS=`completed`,AS=`cancelled`,jS=`task-${AS}`,MS=`task-${kS}`,NS=`${OS}-${AS}`,PS=`${OS}-${kS}`,FS=class{constructor(e){this.code=e,this.message=`${DS} ${AS} (reason: ${e})`}code;name=`TaskAbortError`;message},IS=(e,t)=>{if(typeof e!=`function`)throw TypeError(sC(32))},LS=()=>{},RS=(e,t=LS)=>(e.catch(t),e),zS=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),BS=e=>{if(e.aborted)throw new FS(e.reason)};function VS(e,t){let n=LS;return new Promise((r,i)=>{let a=()=>i(new FS(e.reason));if(e.aborted){a();return}n=zS(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=LS})}var HS=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof FS?`cancelled`:`rejected`,error:e}}finally{t?.()}},US=e=>t=>RS(VS(e,t).then(t=>(BS(e),t))),WS=e=>{let t=US(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:GS}=Object,KS={},qS=`listenerMiddleware`,JS=(e,t)=>{let n=t=>zS(e,()=>t.abort(e.reason));return(r,i)=>{IS(r,`taskExecutor`);let a=new AbortController;n(a);let o=HS(async()=>{BS(e),BS(a.signal);let t=await r({pause:US(a.signal),delay:WS(a.signal),signal:a.signal});return BS(a.signal),t},()=>a.abort(MS));return i?.autoJoin&&t.push(o.catch(LS)),{result:US(e)(o),cancel(){a.abort(jS)}}}},YS=(e,t)=>{let n=async(n,r)=>{BS(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await VS(t,Promise.race(a));return BS(t),e}finally{i()}};return((e,t)=>RS(n(e,t)))},XS=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=Qx(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(sC(21));return IS(a,`options.listener`),{predicate:i,type:t,effect:a}},ZS=GS(e=>{let{type:t,predicate:n,effect:r}=XS(e);return{id:hS(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(sC(22))}}},{withTypes:()=>ZS}),QS=(e,t)=>{let{type:n,effect:r,predicate:i}=XS(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},$S=e=>{e.pending.forEach(e=>{e.abort(NS)})},eC=(e,t)=>()=>{for(let e of t.keys())$S(e);e.clear()},tC=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},nC=GS(Qx(`${qS}/add`),{withTypes:()=>nC}),rC=Qx(`${qS}/removeAll`),iC=GS(Qx(`${qS}/remove`),{withTypes:()=>iC}),aC=(...e)=>{console.error(`${qS}/error`,...e)},oC=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=aC}=e;IS(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&$S(e)}),c=(e=>s(QS(t,e)??ZS(e)));GS(c,{withTypes:()=>c});let l=e=>{let n=QS(t,e);return n&&(n.unsubscribe(),e.cancelActive&&$S(n)),!!n};GS(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=YS(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,GS({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:WS(u.signal),pause:US(u.signal),extra:a,signal:u.signal,fork:JS(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(NS),n.delete(e))})},cancel:()=>{u.abort(NS),e.pending.delete(u)},throwIfCancelled:()=>{BS(u.signal)}})))}catch(e){e instanceof FS||tC(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(PS),i(e),e.pending.delete(u)}},d=eC(t,n);return{middleware:e=>n=>r=>{if(!Eb(r))return n(r);if(nC.match(r))return c(r.payload);if(rC.match(r)){d();return}if(iC.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===KS)throw Error(sC(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,tC(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=KS}return s},startListening:c,stopListening:l,clearListeners:d}};function sC(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var cC=bS({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),{setMargin:lC,setLayout:uC,setChartSize:dC,setScale:fC}=cC.actions,pC=cC.reducer;function mC(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function hC(e){return Number.isFinite(e)}function gC(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function _C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_C(Object(n),!0).forEach(function(t){yC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yC(e,t,n){return(t=bC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bC(e){var t=xC(e,`string`);return typeof t==`symbol`?t:t+``}function xC(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function SC(e,t,n){return ty(e)||ty(t)?n:Jv(t)?(0,Wv.default)(e,t,n):typeof t==`function`?t(e):n}var CC=(e,t,n)=>{if(t&&n){var{width:r,height:i}=n,{align:a,verticalAlign:o,layout:s}=t;if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&Z(e[a]))return vC(vC({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&Z(e[o]))return vC(vC({},e),{},{[o]:e[o]+(i||0)})}return e},wC=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,TC=(e,t)=>{if(!t||t.length!==2||!Z(t[0])||!Z(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Z(e[0])||e[0]<n)&&(i[0]=n),(!Z(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},EC={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=Kv(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:jv,none:Ev,silhouette:Mv,wiggle:Nv,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=Kv(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},DC=(e,t,n)=>{var r=EC[n]??Ev,i=Av().keys(t).value((e,t)=>Number(SC(e,t,0))).order(Dv).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=SC(e[i],t[r],0);Array.isArray(a)&&a.length===2&&Z(a[0])&&Z(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function OC(e){return e==null?void 0:String(e)}var kC=e=>{var{axis:t,ticks:n,offset:r,bandSize:i,entry:a,index:o}=e;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=SC(a,t.dataKey,t.scale.domain()[o]);if(ty(s))return null;var c=t.scale.map(s);return Z(c)?c-i/2+r:null},AC=e=>{var{numericAxis:t}=e,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},jC=e=>{var t=e.flat(2).filter(Z);return[Math.min(...t),Math.max(...t)]},MC=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],NC=(e,t,n)=>{if(e!=null)return MC(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var{stackedData:o}=a,s=o.reduce((e,r)=>{var i=jC(mC(r,t,n));return!hC(i[0])||!hC(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]))},PC=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,FC=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,IC=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=(0,pb.default)(t,e=>e.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c?.coordinate||0)-(l?.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0};function LC(e){var{tooltipEntrySettings:t,dataKey:n,payload:r,value:i,name:a}=e;return vC(vC({},t),{},{dataKey:n,payload:r,value:i,name:a})}function RC(e,t){if(e)return String(e);if(typeof t==`string`)return t}var zC=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},BC=(e,t)=>t===`centric`?e.angle:e.radius,VC=e=>e.layout.width,HC=e=>e.layout.height,UC=e=>e.layout.scale,WC=e=>e.layout.margin,GC=$(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),KC=$(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),qC=`data-recharts-item-index`,JC=`data-recharts-item-id`;function YC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function XC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?YC(Object(n),!0).forEach(function(t){ZC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ZC(e,t,n){return(t=QC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QC(e){var t=$C(e,`string`);return typeof t==`symbol`?t:t+``}function $C(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ew=e=>e.brush.height;function tw(e){return KC(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function nw(e){return KC(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function rw(e){return GC(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+t.height:e,0)}function iw(e){return GC(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+t.height:e,0)}var aw=$([VC,HC,WC,ew,tw,nw,rw,iw,mb,hb],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=XC(XC({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=CC(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return XC(XC({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),ow=$(aw,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),sw=$(VC,HC,(e,t)=>({x:0,y:0,width:e,height:t})),cw=(0,B.createContext)(null),lw=()=>(0,B.useContext)(cw)!=null,uw=e=>e.brush,dw=$([uw,aw,WC],(e,t,n)=>({height:e.height,x:Z(e.x)?e.x:t.left,y:Z(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:Z(e.width)?e.width:t.width})),fw=(0,B.createContext)({width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}}.initialDimension),pw=()=>(0,B.useContext)(fw);function mw(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var hw=()=>{var e=lw(),t=Q(ow),n=Q(dw),r=Q(uw)?.padding;return!e||!n||!r?t:{width:n.width-r.left-r.right,height:n.height-r.top-r.bottom,x:r.left,y:r.top}},gw=()=>Q(VC),_w=()=>Q(HC),vw=e=>e.layout.layoutType,yw=()=>Q(vw),bw=()=>{var e=yw();if(e===`horizontal`||e===`vertical`)return e},xw=e=>{var t=e.layout.layoutType;if(t===`centric`||t===`radial`)return t},Sw=()=>yw()!==void 0,Cw=e=>{var t=Hy(),n=lw(),{width:r,height:i}=e,a=pw(),o=r,s=i;return a&&(o=a.width>0?a.width:r,s=a.height>0?a.height:i),(0,B.useEffect)(()=>{!n&&gC(o)&&gC(s)&&t(dC({width:o,height:s}))},[t,n,o,s]),null},ww=Symbol.for(`immer-nothing`),Tw=Symbol.for(`immer-draftable`),Ew=Symbol.for(`immer-state`);function Dw(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ow=Object.getPrototypeOf;function kw(e){return!!e&&!!e[Ew]}function Aw(e){return e?Nw(e)||Array.isArray(e)||!!e[Tw]||!!e.constructor?.[Tw]||zw(e)||Bw(e):!1}var jw=Object.prototype.constructor.toString(),Mw=new WeakMap;function Nw(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=Mw.get(n);return r===void 0&&(r=Function.toString.call(n),Mw.set(n,r)),r===jw}function Pw(e,t,n=!0){Fw(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Fw(e){let t=e[Ew];return t?t.type_:Array.isArray(e)?1:zw(e)?2:Bw(e)?3:0}function Iw(e,t){return Fw(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Lw(e,t,n){let r=Fw(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Rw(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function zw(e){return e instanceof Map}function Bw(e){return e instanceof Set}function Vw(e){return e.copy_||e.base_}function Hw(e,t){if(zw(e))return new Map(e);if(Bw(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=Nw(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[Ew];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Ow(e),t)}else{let t=Ow(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function Uw(e,t=!1){return Kw(e)||kw(e)||!Aw(e)?e:(Fw(e)>1&&Object.defineProperties(e,{set:Gw,add:Gw,clear:Gw,delete:Gw}),Object.freeze(e),t&&Object.values(e).forEach(e=>Uw(e,!0)),e)}function Ww(){Dw(2)}var Gw={value:Ww};function Kw(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}var qw={};function Jw(e){let t=qw[e];return t||Dw(0,e),t}var Yw;function Xw(){return Yw}function Zw(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Qw(e,t){t&&(Jw(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $w(e){eT(e),e.drafts_.forEach(nT),e.drafts_=null}function eT(e){e===Yw&&(Yw=e.parent_)}function tT(e){return Yw=Zw(Yw,e)}function nT(e){let t=e[Ew];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function rT(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[Ew].modified_&&($w(t),Dw(4)),Aw(e)&&(e=iT(t,e),t.parent_||oT(t,e)),t.patches_&&Jw(`Patches`).generateReplacementPatches_(n[Ew].base_,e,t.patches_,t.inversePatches_)):e=iT(t,n,[]),$w(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ww?void 0:e}function iT(e,t,n){if(Kw(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[Ew];if(!i)return Pw(t,(r,a)=>aT(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return oT(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),Pw(a,(r,a)=>aT(e,i,t,r,a,n,o),r),oT(e,t,!1),n&&e.patches_&&Jw(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function aT(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=Kw(i);if(!(s&&!o)){if(kw(i)){let o=iT(e,i,a&&t&&t.type_!==3&&!Iw(t.assigned_,r)?a.concat(r):void 0);if(Lw(n,r,o),kw(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(Aw(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;iT(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(zw(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&oT(e,i)}}}function oT(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Uw(t,n)}function sT(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:Xw(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=cT;n&&(i=[r],a=lT);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var cT={get(e,t){if(t===Ew)return e;let n=Vw(e);if(!Iw(n,t))return dT(e,n,t);let r=n[t];return e.finalized_||!Aw(r)?r:r===uT(e.base_,t)?(mT(e),e.copy_[t]=gT(r,e)):r},has(e,t){return t in Vw(e)},ownKeys(e){return Reflect.ownKeys(Vw(e))},set(e,t,n){let r=fT(Vw(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=uT(Vw(e),t),i=r?.[Ew];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Rw(n,r)&&(n!==void 0||Iw(e.base_,t)))return!0;mT(e),pT(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return uT(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,mT(e),pT(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Vw(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){Dw(11)},getPrototypeOf(e){return Ow(e.base_)},setPrototypeOf(){Dw(12)}},lT={};Pw(cT,(e,t)=>{lT[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),lT.deleteProperty=function(e,t){return lT.set.call(this,e,t,void 0)},lT.set=function(e,t,n){return cT.set.call(this,e[0],t,n,e[0])};function uT(e,t){let n=e[Ew];return(n?Vw(n):e)[t]}function dT(e,t,n){let r=fT(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function fT(e,t){if(!(t in e))return;let n=Ow(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Ow(n)}}function pT(e){e.modified_||(e.modified_=!0,e.parent_&&pT(e.parent_))}function mT(e){e.copy_||=Hw(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var hT=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&Dw(6),n!==void 0&&typeof n!=`function`&&Dw(7);let r;if(Aw(e)){let i=tT(this),a=gT(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?$w(i):eT(i)}return Qw(i,n),rT(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===ww&&(r=void 0),this.autoFreeze_&&Uw(r,!0),n){let t=[],i=[];Jw(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else Dw(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Aw(e)||Dw(8),kw(e)&&(e=_T(e));let t=tT(this),n=gT(e,void 0);return n[Ew].isManual_=!0,eT(t),n}finishDraft(e,t){let n=e&&e[Ew];(!n||!n.isManual_)&&Dw(9);let{scope_:r}=n;return Qw(r,t),rT(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Jw(`Patches`).applyPatches_;return kw(e)?r(e,t):this.produce(e,e=>r(e,t))}};function gT(e,t){let n=zw(e)?Jw(`MapSet`).proxyMap_(e,t):Bw(e)?Jw(`MapSet`).proxySet_(e,t):sT(e,t);return(t?t.scope_:Xw()).drafts_.push(n),n}function _T(e){return kw(e)||Dw(10,e),vT(e)}function vT(e){if(!Aw(e)||Kw(e))return e;let t=e[Ew],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Hw(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Hw(e,!0);return Pw(n,(e,t)=>{Lw(n,e,vT(t))},r),t&&(t.finalized_=!1),n}new hT().produce;function yT(e){return e}var bT=bS({name:`legend`,initialState:{settings:{layout:`horizontal`,align:`center`,verticalAlign:`middle`,itemSorter:`value`},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(yT(t.payload))},prepare:aS()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Gx(e).payload.indexOf(yT(n));i>-1&&(e.payload[i]=yT(r))},prepare:aS()},removeLegendPayload:{reducer(e,t){var n=Gx(e).payload.indexOf(yT(t.payload));n>-1&&e.payload.splice(n,1)},prepare:aS()}}}),{setLegendSize:xT,setLegendSettings:ST,addLegendPayload:CT,replaceLegendPayload:wT,removeLegendPayload:TT}=bT.actions,ET=bT.reducer,DT=o((e=>{var t=d();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue}));o(((e,t)=>{t.exports=DT()}))();function OT(e){e()}function kT(){let e=null,t=null;return{clear(){e=null,t=null},notify(){OT(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var AT={notify(){},get:()=>[]};function jT(e,t){let n,r=AT,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=kT())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=AT)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var MT=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,NT=typeof navigator<`u`&&navigator.product===`ReactNative`,PT=MT||NT?B.useLayoutEffect:B.useEffect;function FT(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function IT(e,t){if(FT(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!FT(e[n[r]],t[n[r]]))return!1;return!0}var LT=Symbol.for(`react-redux-context`),RT=typeof globalThis<`u`?globalThis:{};function zT(){if(!B.createContext)return{};let e=RT[LT]??=new Map,t=e.get(B.createContext);return t||(t=B.createContext(null),e.set(B.createContext,t)),t}var BT=zT();function VT(e){let{children:t,context:n,serverState:r,store:i}=e,a=B.useMemo(()=>({store:i,subscription:jT(i),getServerState:r?()=>r:void 0}),[i,r]),o=B.useMemo(()=>i.getState(),[i]);PT(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||BT;return B.createElement(s.Provider,{value:a},t)}var HT=VT,UT=new Set([`axisLine`,`tickLine`,`activeBar`,`activeDot`,`activeLabel`,`activeShape`,`allowEscapeViewBox`,`background`,`cursor`,`dot`,`label`,`line`,`margin`,`padding`,`position`,`shape`,`style`,`tick`,`wrapperStyle`,`radius`,`throttledEvents`]);function WT(e,t){return e==null&&t==null?!0:typeof e==`number`&&typeof t==`number`?e===t||e!==e&&t!==t:e===t}function GT(e,t){for(var n of new Set([...Object.keys(e),...Object.keys(t)]))if(UT.has(n)){if(e[n]==null&&t[n]==null)continue;if(!IT(e[n],t[n]))return!1}else if(!WT(e[n],t[n]))return!1;return!0}var KT={devToolsEnabled:!0,isSsr:!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout)};function qT(){var[e,t]=(0,B.useState)(()=>KT.isSsr||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);return(0,B.useEffect)(()=>{if(window.matchMedia){var e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>{t(e.matches)};return e.addEventListener(`change`,n),()=>{e.removeEventListener(`change`,n)}}},[]),e}var JT=()=>Q(e=>e.rootProps.accessibilityLayer)??!0;function YT(){return YT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YT.apply(null,arguments)}function XT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?XT(Object(n),!0).forEach(function(t){QT(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QT(e,t,n){return(t=$T(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $T(e){var t=eE(e,`string`);return typeof t==`symbol`?t:t+``}function eE(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tE={curveBasisClosed:av,curveBasisOpen:sv,curveBasis:rv,curveBumpX:N_,curveBumpY:P_,curveLinearClosed:lv,curveLinear:D_,curveMonotoneX:_v,curveMonotoneY:vv,curveNatural:xv,curveStep:Cv,curveStepAfter:Tv,curveStepBefore:wv},nE=e=>hC(e.x)&&hC(e.y),rE=e=>e.base!=null&&nE(e.base)&&nE(e),iE=e=>e.x,aE=e=>e.y,oE=(e,t)=>{if(typeof e==`function`)return e;var n=`curve${ny(e)}`;if((n===`curveMonotone`||n===`curveBump`)&&t){var r=tE[`${n}${t===`vertical`?`Y`:`X`}`];if(r)return r}return tE[n]||D_},sE={connectNulls:!1,type:`linear`},cE=e=>{var{type:t=sE.type,points:n=[],baseLine:r,layout:i,connectNulls:a=sE.connectNulls}=e,o=oE(t,i),s=a?n.filter(nE):n;if(Array.isArray(r)){var c,l=n.map((e,t)=>ZT(ZT({},e),{},{base:r[t]}));return c=i===`vertical`?j_().y(aE).x1(iE).x0(e=>e.base.x):j_().x(iE).y1(aE).y0(e=>e.base.y),c.defined(rE).curve(o)(a?l.filter(rE):l)}return(i===`vertical`&&Z(r)?j_().y(aE).x1(iE).x0(r):Z(r)?j_().x(iE).y1(aE).y0(r):A_().x(iE).y(aE)).defined(nE).curve(o)(s)},lE=e=>{var{className:t,points:n,path:r,pathRef:i}=e,a=yw();if((!n||!n.length)&&!r)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},s=n&&n.length?cE(o):r;return B.createElement(`path`,YT({},Xg(e),by(e),{className:H(`recharts-curve`,t),d:s===null?void 0:s,ref:i}))};function uE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uE(Object(n),!0).forEach(function(t){fE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fE(e,t,n){return(t=pE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pE(e){var t=mE(e,`string`);return typeof t==`symbol`?t:t+``}function mE(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var hE=e=>e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`),gE=(e,t,n)=>e.map(e=>`${hE(e)} ${t}ms ${n}`).join(`,`),_E=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),vE=(e,t)=>Object.keys(t).reduce((n,r)=>dE(dE({},n),{},{[r]:e(r,t[r])}),{});function yE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yE(Object(n),!0).forEach(function(t){xE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xE(e,t,n){return(t=SE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SE(e){var t=CE(e,`string`);return typeof t==`symbol`?t:t+``}function CE(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var wE=(e,t,n)=>e+(t-e)*n,TE=e=>{var{from:t,to:n}=e;return t!==n},EE=(e,t,n)=>{var r=vE((t,n)=>{if(TE(n)){var[r,i]=e(n.from,n.to,n.velocity);return bE(bE({},n),{},{from:r,velocity:i})}return n},t);return n<1?vE((e,t)=>TE(t)&&r[e]!=null?bE(bE({},t),{},{velocity:wE(t.velocity,r[e].velocity,n),from:wE(t.from,r[e].from,n)}):t,t):EE(e,r,n-1)};function DE(e,t,n,r,i,a){var o,s=r.reduce((n,r)=>bE(bE({},n),{},{[r]:{from:e[r],velocity:0,to:t[r]}}),{}),c=()=>vE((e,t)=>t.from,s),l=()=>!Object.values(s).filter(TE).length,u=null,d=r=>{o||=r;var f=(r-o)/n.dt;s=EE(n,s,f),i(bE(bE(bE({},e),t),c())),o=r,l()||(u=a.setTimeout(d))};return()=>(u=a.setTimeout(d),()=>{var e;(e=u)==null||e()})}function OE(e,t,n,r,i,a,o){var s=null,c=i.reduce((n,r)=>{var i=e[r],a=t[r];return i==null||a==null?n:bE(bE({},n),{},{[r]:[i,a]})},{}),l,u=i=>{l||=i;var d=(i-l)/r,f=vE((e,t)=>wE(...t,n(d)),c);if(a(bE(bE(bE({},e),t),f)),d<1)s=o.setTimeout(u);else{var p=vE((e,t)=>wE(...t,n(1)),c);a(bE(bE(bE({},e),t),p))}};return()=>(s=o.setTimeout(u),()=>{var e;(e=s)==null||e()})}var kE=(e,t,n,r,i,a)=>{var o=_E(e,t);return n==null?()=>(i(bE(bE({},e),t)),()=>{}):n.isStepper===!0?DE(e,t,n,o,i,a):OE(e,t,n,r,o,i,a)},AE=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],jE=(e,t)=>e.map((e,n)=>e*t**n).reduce((e,t)=>e+t),ME=(e,t)=>n=>jE(AE(e,t),n),NE=(e,t)=>n=>jE([...AE(e,t).map((e,t)=>e*t).slice(1),0],n),PE=e=>{var t,n=e.split(`(`);if(n.length!==2||n[0]!==`cubic-bezier`)return null;var r=(t=n[1])==null||(t=t.split(`)`)[0])==null?void 0:t.split(`,`);if(r==null||r.length!==4)return null;var i=r.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},FE=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length===1)switch(t[0]){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[.42,0,.58,1];case`ease-in-out`:return[0,0,.58,1];default:var r=PE(t[0]);if(r)return r}return t.length===4?t:[0,0,1,1]},IE=(e,t,n,r)=>{var i=ME(e,n),a=ME(t,r),o=NE(e,n),s=e=>e>1?1:e<0?0:e,c=e=>{for(var t=e>1?1:e,n=t,r=0;r<8;++r){var c=i(n)-t,l=o(n);if(Math.abs(c-t)<1e-4||l<1e-4)return a(n);n=s(n-c/l)}return a(n)};return c.isStepper=!1,c},LE=function(){return IE(...FE(...arguments))},RE=function(){var{stiff:e=100,damping:t=8,dt:n=17}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(r,i,a)=>{var o=a+(-(r-i)*e-a*t)*n/1e3,s=a*n/1e3+r;return Math.abs(s-i)<1e-4&&Math.abs(o)<1e-4?[i,0]:[s,o]};return r.isStepper=!0,r.dt=n,r},zE=e=>{if(typeof e==`string`)switch(e){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return LE(e);case`spring`:return RE();default:if(e.split(`(`)[0]===`cubic-bezier`)return LE(e)}return typeof e==`function`?e:null};function BE(e){var t,n=()=>null,r=!1,i=null,a=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[s,...c]=o;if(typeof s==`number`){i=e.setTimeout(a.bind(null,c),s);return}a(s),i=e.setTimeout(a.bind(null,c));return}typeof o==`string`&&(t=o,n(t)),typeof o==`object`&&(t=o,n(t)),typeof o==`function`&&o()}};return{stop:()=>{r=!0},start:e=>{r=!1,i&&=(i(),null),a(e)},subscribe:e=>(n=e,()=>{n=()=>null}),getTimeoutController:()=>e}}var VE=class{setTimeout(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),r=null,i=a=>{a-n>=t?e(a):typeof requestAnimationFrame==`function`&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r!=null&&cancelAnimationFrame(r)}}};function HE(){return BE(new VE)}var UE=(0,B.createContext)(HE);function WE(e,t){var n=(0,B.useContext)(UE);return(0,B.useMemo)(()=>t??n(e),[e,t,n])}var GE={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},KE={t:0},qE={t:1};function JE(e){var t=Oy(e,GE),{isActive:n,canBegin:r,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=qT(),d=n===`auto`?!KT.isSsr&&!u:n,f=WE(t.animationId,t.animationManager),[p,m]=(0,B.useState)(d?KE:qE),h=(0,B.useRef)(null);return(0,B.useEffect)(()=>{d||m(qE)},[d]),(0,B.useEffect)(()=>{if(!d||!r)return iy;var e=kE(KE,qE,zE(a),i,m,f.getTimeoutController());return f.start([c,o,()=>{h.current=e()},i,s]),()=>{f.stop(),h.current&&h.current(),s()}},[d,r,i,a,o,c,s,f]),l(p.t)}function YE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`animation-`,n=(0,B.useRef)(Xv(t)),r=(0,B.useRef)(e);return r.current!==e&&(n.current=Xv(t),r.current=e),n.current}var XE=[`radius`],ZE=[`radius`],QE,$E,eD,tD,nD,rD,iD,aD,oD,sD;function cD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cD(Object(n),!0).forEach(function(t){uD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uD(e,t,n){return(t=dD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dD(e){var t=fD(e,`string`);return typeof t==`symbol`?t:t+``}function fD(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function pD(){return pD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pD.apply(null,arguments)}function mD(e,t){if(e==null)return{};var n,r,i=hD(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function hD(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function gD(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _D=(e,t,n,r,i)=>{var a=Hv(n),o=Hv(r),s=Math.min(Math.abs(a)/2,Math.abs(o)/2),c=o>=0?1:-1,l=a>=0?1:-1,u=+(o>=0&&a>=0||o<0&&a<0),d;if(s>0&&Array.isArray(i)){for(var f=[0,0,0,0],p=0,m=4;p<m;p++){var h=i[p]??0;f[p]=h>s?s:h}d=Uv(QE||=gD([`M`,`,`,``]),e,t+c*f[0]),f[0]>0&&(d+=Uv($E||=gD([`A `,`,`,`,0,0,`,`,`,`,`,``]),f[0],f[0],u,e+l*f[0],t)),d+=Uv(eD||=gD([`L `,`,`,``]),e+n-l*f[1],t),f[1]>0&&(d+=Uv(tD||=gD([`A `,`,`,`,0,0,`,`,
151
+ `,`,`,``]),f[1],f[1],u,e+n,t+c*f[1])),d+=Uv(nD||=gD([`L `,`,`,``]),e+n,t+r-c*f[2]),f[2]>0&&(d+=Uv(rD||=gD([`A `,`,`,`,0,0,`,`,
152
+ `,`,`,``]),f[2],f[2],u,e+n-l*f[2],t+r)),d+=Uv(iD||=gD([`L `,`,`,``]),e+l*f[3],t+r),f[3]>0&&(d+=Uv(aD||=gD([`A `,`,`,`,0,0,`,`,
153
+ `,`,`,``]),f[3],f[3],u,e,t+r-c*f[3])),d+=`Z`}else if(s>0&&i===+i&&i>0){var g=Math.min(s,i);d=Uv(oD||=gD(`M .,.
154
+ A .,.,0,0,.,.,.
155
+ L .,.
156
+ A .,.,0,0,.,.,.
157
+ L .,.
158
+ A .,.,0,0,.,.,.
159
+ L .,.
160
+ A .,.,0,0,.,.,. Z`.split(`.`)),e,t+c*g,g,g,u,e+l*g,t,e+n-l*g,t,g,g,u,e+n,t+c*g,e+n,t+r-c*g,g,g,u,e+n-l*g,t+r,e+l*g,t+r,g,g,u,e,t+r-c*g)}else d=Uv(sD||=gD([`M `,`,`,` h `,` v `,` h `,` Z`]),e,t,n,r,-n);return d},vD={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},yD=e=>{var t=Oy(e,vD),n=(0,B.useRef)(null),[r,i]=(0,B.useState)(-1);(0,B.useEffect)(()=>{if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&i(e)}catch{}},[]);var{x:a,y:o,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:f,animationBegin:p,isAnimationActive:m,isUpdateAnimationActive:h}=t,g=(0,B.useRef)(s),_=(0,B.useRef)(c),v=(0,B.useRef)(a),y=(0,B.useRef)(o),b=YE((0,B.useMemo)(()=>({x:a,y:o,width:s,height:c,radius:l}),[a,o,s,c,l]),`rectangle-`);if(a!==+a||o!==+o||s!==+s||c!==+c||s===0||c===0)return null;var x=H(`recharts-rectangle`,u);if(!h){var S=Qg(t),{radius:C}=S,w=mD(S,XE);return B.createElement(`path`,pD({},w,{x:Hv(a),y:Hv(o),width:Hv(s),height:Hv(c),radius:typeof l==`number`?l:void 0,className:x,d:_D(a,o,s,c,l)}))}var T=g.current,E=_.current,D=v.current,O=y.current,k=`0px ${r===-1?1:r}px`,A=`${r}px ${r}px`,j=gE([`strokeDasharray`],f,typeof d==`string`?d:vD.animationEasing);return B.createElement(JE,{animationId:b,key:b,canBegin:r>0,duration:f,easing:d,isActive:h,begin:p},e=>{var r=$v(T,s,e),i=$v(E,c,e),u=$v(D,a,e),d=$v(O,o,e);n.current&&(g.current=r,_.current=i,v.current=u,y.current=d);var f=m?e>0?{transition:j,strokeDasharray:A}:{strokeDasharray:k}:{strokeDasharray:A},p=Qg(t),{radius:h}=p,b=mD(p,ZE);return B.createElement(`path`,pD({},b,{radius:typeof l==`number`?l:void 0,className:x,d:_D(u,d,r,i,l),ref:n,style:lD(lD({},f),t.style)}))})};function bD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bD(Object(n),!0).forEach(function(t){SD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function SD(e,t,n){return(t=CD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CD(e){var t=wD(e,`string`);return typeof t==`symbol`?t:t+``}function wD(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var TD=Math.PI/180,ED=e=>e*180/Math.PI,DD=(e,t,n,r)=>({x:e+Math.cos(-TD*r)*n,y:t+Math.sin(-TD*r)*n}),OD=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},kD=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return Math.sqrt((n-i)**2+(r-a)**2)},AD=(e,t)=>{var{x:n,y:r}=e,{cx:i,cy:a}=t,o=kD({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:ED(c),angleInRadian:c}},jD=e=>{var{startAngle:t,endAngle:n}=e,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},MD=(e,t)=>{var{startAngle:n,endAngle:r}=t,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},ND=(e,t)=>{var{relativeX:n,relativeY:r}=e,{radius:i,angle:a}=AD({x:n,y:r},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:c,endAngle:l}=jD(t),u=a,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?xD(xD({},t),{},{radius:i,angle:MD(u,t)}):null},PD,FD,ID,LD,RD,zD,BD;function VD(){return VD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VD.apply(null,arguments)}function HD(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var UD=(e,t)=>Gv(t-e)*Math.min(Math.abs(t-e),359.999),WD=e=>{var{cx:t,cy:n,radius:r,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:c}=e,l=s*(o?1:-1)+r,u=Math.asin(s/l)/TD,d=c?i:i+a*u,f=DD(t,n,l,d),p=DD(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:DD(t,n,l*Math.cos(u*TD),m),theta:u}},GD=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o}=e,s=UD(a,o),c=a+s,l=DD(t,n,i,a),u=DD(t,n,i,c),d=Uv(PD||=HD([`M `,`,`,`
161
+ A `,`,`,`,0,
162
+ `,`,`,`,
163
+ `,`,`,`
164
+ `]),l.x,l.y,i,i,+(Math.abs(s)>180),+(a>c),u.x,u.y);if(r>0){var f=DD(t,n,r,a),p=DD(t,n,r,c);d+=Uv(FD||=HD([`L `,`,`,`
165
+ A `,`,`,`,0,
166
+ `,`,`,`,
167
+ `,`,`,` Z`]),p.x,p.y,r,r,+(Math.abs(s)>180),+(a<=c),f.x,f.y)}else d+=Uv(ID||=HD([`L `,`,`,` Z`]),t,n);return d},KD=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=Gv(l-c),{circleTangency:d,lineTangency:f,theta:p}=WD({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),{circleTangency:m,lineTangency:h,theta:g}=WD({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),_=s?Math.abs(c-l):Math.abs(c-l)-p-g;if(_<0)return o?Uv(LD||=HD([`M `,`,`,`
168
+ a`,`,`,`,0,0,1,`,`,0
169
+ a`,`,`,`,0,0,1,`,`,0
170
+ `]),f.x,f.y,a,a,a*2,a,a,-a*2):GD({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var v=Uv(RD||=HD([`M `,`,`,`
171
+ A`,`,`,`,0,0,`,`,`,`,`,`
172
+ A`,`,`,`,0,`,`,`,`,`,`,`,`
173
+ A`,`,`,`,0,0,`,`,`,`,`,`
174
+ `]),f.x,f.y,a,a,+(u<0),d.x,d.y,i,i,+(_>180),+(u<0),m.x,m.y,a,a,+(u<0),h.x,h.y);if(r>0){var{circleTangency:y,lineTangency:b,theta:x}=WD({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:S,lineTangency:C,theta:w}=WD({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),T=s?Math.abs(c-l):Math.abs(c-l)-x-w;if(T<0&&a===0)return`${v}L${t},${n}Z`;v+=Uv(zD||=HD([`L`,`,`,`
175
+ A`,`,`,`,0,0,`,`,`,`,`,`
176
+ A`,`,`,`,0,`,`,`,`,`,`,`,`
177
+ A`,`,`,`,0,0,`,`,`,`,`,`Z`]),C.x,C.y,a,a,+(u<0),S.x,S.y,r,r,+(T>180),+(u>0),y.x,y.y,a,a,+(u<0),b.x,b.y)}else v+=Uv(BD||=HD([`L`,`,`,`Z`]),t,n);return v},qD={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},JD=e=>{var t=Oy(e,qD),{cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(a<i||l===u)return null;var f=H(`recharts-sector`,d),p=a-i,m=Zv(o,p,0,!0),h=m>0&&Math.abs(l-u)<360?KD({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):GD({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return B.createElement(`path`,VD({},Qg(t),{className:f,d:h}))},YD=o((e=>{var t=lb();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),XD=o((e=>{var t=YD();function n(e){return e?(e=t.toNumber(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}e.toFinite=n})),ZD=o((e=>{var t=XD(),n=sb();function r(e,r,i){i&&typeof i!=`number`&&n.isIterateeCall(e,r,i)&&(r=i=void 0),e=t.toFinite(e),r===void 0?(r=e,e=0):r=t.toFinite(r),i=i===void 0?e<r?1:-1:t.toFinite(i);let a=Math.max(Math.ceil((r-e)/(i||1)),0),o=Array(a);for(let t=0;t<a;t++)o[t]=e,e+=i;return o}e.range=r})),QD=o(((e,t)=>{t.exports=ZD().range})),$D=e=>e.chartData,eO=$([$D],e=>{var t=e.chartData==null?0:e.chartData.length-1;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),tO=(e,t,n,r)=>r?eO(e):$D(e),nO=(e,t,n)=>n?eO(e):$D(e),rO=$([tO],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),iO=$([eO],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),aO=$([$D],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});function oO(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(hC(t)&&hC(n))return!0}return!1}function sO(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function cO(e,t){if(t&&typeof e!=`function`&&Array.isArray(e)&&e.length===2){var[n,r]=e,i,a;if(hC(n))i=n;else if(typeof n==`function`)return;if(hC(r))a=r;else if(typeof r==`function`)return;var o=[i,a];if(oO(o))return o}}function lO(e,t,n){if(!(!n&&t==null)){if(typeof e==`function`&&t!=null)try{var r=e(t,n);if(oO(r))return sO(r,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i===`auto`)t!=null&&(o=Math.min(...t));else if(Z(i))o=i;else if(typeof i==`function`)try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i==`string`&&PC.test(i)){var c=PC.exec(i);if(c==null||c[1]==null||t==null)o=void 0;else{var l=+c[1];o=t[0]-l}}else o=t?.[0];if(a===`auto`)t!=null&&(s=Math.max(...t));else if(Z(a))s=a;else if(typeof a==`function`)try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a==`string`&&FC.test(a)){var u=FC.exec(a);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var f=[o,s];if(oO(f))return t==null?f:sO(f,t,n)}}}var uO=l(o(((e,t)=>{(function(e){"use strict";var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),A(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),A(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,A=r.constructor,j=r.s==i.s?1:-1,M=r.d,N=i.d;if(!r.s)return new A(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=N.length,T=M.length,g=new A(j),_=g.d=[],u=0;N[u]==(M[u]||0);)++u;if(N[u]>(M[u]||0)&&--l,x=o==null?o=A.precision:s?o+(S(r)-S(i))+1:o,x<0)return new A(0);if(x=x/p+2|0,u=0,O==1)for(d=0,N=N[0],x++;(u<T||d)&&x--;u++)C=d*f+(M[u]||0),_[u]=C/N|0,d=C%N|0;else{for(d=f/(N[0]+1)|0,d>1&&(N=e(N,d),M=e(M,d),O=N.length,T=M.length),w=O,v=M.slice(0,O),y=v.length;y<O;)v[y++]=0;k=N.slice(),k.unshift(0),E=N[0],N[1]>=f/2&&++E;do d=0,c=t(N,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(N,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:N,h))):(d==0&&(c=d=1),m=N.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(N,v,O,y),c<1&&(d++,n(v,O<y?k:N,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=M[w]||0:(v=[M[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function A(e,t){if(e.length>t)return e.length=t,!0}function j(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=j,i.config=i.set=M,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function M(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=j(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}))());function dO(e){return e===0?1:Math.floor(new uO.default(e).abs().log(10).toNumber())+1}function fO(e,t,n){for(var r=new uO.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var pO=e=>{var[t,n]=e,[r,i]=[t,n];return t>n&&([r,i]=[n,t]),[r,i]},mO=(e,t,n)=>{if(e.lte(0))return new uO.default(0);var r=dO(e.toNumber()),i=new uO.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new uO.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?new uO.default(s.toNumber()):new uO.default(Math.ceil(s.toNumber()))},hO=(e,t,n)=>{if(e.lte(0))return new uO.default(0);var r=[1,2,2.5,5],i=e.toNumber(),a=Math.floor(new uO.default(i).abs().log(10).toNumber()),o=new uO.default(10).pow(a),s=e.div(o).toNumber(),c=r.findIndex(e=>e>=s-1e-10);if(c===-1&&(o=o.mul(10),c=0),c+=n,c>=r.length){var l=Math.floor(c/r.length);c%=r.length,o=o.mul(new uO.default(10).pow(l))}var u=new uO.default(r[c]??1).mul(o);return t?u:new uO.default(Math.ceil(u.toNumber()))},gO=(e,t,n)=>{var r=new uO.default(1),i=new uO.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new uO.default(10).pow(dO(e)-1),i=new uO.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new uO.default(Math.floor(e)))}else e===0?i=new uO.default(Math.floor((t-1)/2)):n||(i=new uO.default(Math.floor(e)));for(var o=Math.floor((t-1)/2),s=[],c=0;c<t;c++)s.push(i.add(new uO.default(c-o).mul(r)).toNumber());return s},_O=function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:mO;if(!Number.isFinite((t-e)/(n-1)))return{step:new uO.default(0),tickMin:new uO.default(0),tickMax:new uO.default(0)};var o=a(new uO.default(t).sub(e).div(n-1),r,i),s;e<=0&&t>=0?s=new uO.default(0):(s=new uO.default(e).add(t).div(2),s=s.sub(new uO.default(s).mod(o)));var c=Math.ceil(s.sub(e).div(o).toNumber()),l=Math.ceil(new uO.default(t).sub(s).div(o).toNumber()),u=c+l+1;return u>n?_O(e,t,n,r,i+1,a):(u<n&&(l=t>0?l+(n-u):l,c=t>0?c:c+(n-u)),{step:o,tickMin:s.sub(new uO.default(c).mul(o)),tickMax:s.add(new uO.default(l).mul(o))})},vO=function(e){var[t,n]=e,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,o=Math.max(r,2),[s,c]=pO([t,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...Array(r-1).fill(1/0)]:[...Array(r-1).fill(-1/0),c];return t>n?l.reverse():l}if(s===c)return gO(s,r,i);var{step:u,tickMin:d,tickMax:f}=_O(s,c,o,i,0,a===`snap125`?hO:mO),p=fO(d,f.add(new uO.default(.1).mul(u)),u);return t>n?p.reverse():p},yO=function(e,t){var[n,r]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,[o,s]=pO([n,r]);if(o===-1/0||s===1/0)return[n,r];if(o===s)return[o];var c=a===`snap125`?hO:mO,l=Math.max(t,2),u=c(new uO.default(s).sub(o).div(l-1),i,0),d=[...fO(new uO.default(o),new uO.default(s),u),s];return i===!1&&(d=d.map(e=>Math.round(e))),n>r?d.reverse():d},bO=e=>e.rootProps.maxBarSize,xO=e=>e.rootProps.barGap,SO=e=>e.rootProps.barCategoryGap,CO=e=>e.rootProps.barSize,wO=e=>e.rootProps.stackOffset,TO=e=>e.rootProps.reverseStackOrder,EO=e=>e.options.chartName,DO=e=>e.rootProps.syncId,OO=e=>e.rootProps.syncMethod,kO=e=>e.options.eventEmitter,AO={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},jO={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:`polygon`,cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,niceTicks:`auto`,orientation:`outer`,reversed:!1,scale:`auto`,tick:!0,tickLine:!0,tickSize:8,type:`auto`,zIndex:AO.axis},MO={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,niceTicks:`auto`,label:!1,orientation:`right`,radiusAxisId:0,reversed:!1,scale:`auto`,stroke:`#ccc`,tick:!0,tickCount:5,tickLine:!0,type:`auto`,zIndex:AO.axis},NO=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t};function PO(e,t,n){if(n!==`auto`)return n;if(e!=null)return wC(e,t)?`category`:`number`}function FO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?FO(Object(n),!0).forEach(function(t){LO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function LO(e,t,n){return(t=RO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RO(e){var t=zO(e,`string`);return typeof t==`symbol`?t:t+``}function zO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var BO={allowDataOverflow:jO.allowDataOverflow,allowDecimals:jO.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:jO.angleAxisId,includeHidden:!1,name:void 0,reversed:jO.reversed,scale:jO.scale,tick:jO.tick,tickCount:void 0,ticks:void 0,type:jO.type,unit:void 0,niceTicks:`auto`},VO={allowDataOverflow:MO.allowDataOverflow,allowDecimals:MO.allowDecimals,allowDuplicatedCategory:MO.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:MO.radiusAxisId,includeHidden:MO.includeHidden,name:void 0,reversed:MO.reversed,scale:MO.scale,tick:MO.tick,tickCount:MO.tickCount,ticks:void 0,type:MO.type,unit:void 0,niceTicks:`auto`},HO=$([(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},xw],(e,t)=>{if(e!=null)return e;var n=PO(t,`angleAxis`,BO.type)??`category`;return IO(IO({},BO),{},{type:n})}),UO=$([(e,t)=>e.polarAxis.radiusAxis[t],xw],(e,t)=>{if(e!=null)return e;var n=PO(t,`radiusAxis`,VO.type)??`category`;return IO(IO({},VO),{},{type:n})}),WO=e=>e.polarOptions,GO=$([VC,HC,aw],OD),KO=$([WO,GO],(e,t)=>{if(e!=null)return Zv(e.innerRadius,t,0)}),qO=$([WO,GO],(e,t)=>{if(e!=null)return Zv(e.outerRadius,t,t*.8)}),JO=$([WO],e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]});$([HO,JO],NO);var YO=$([GO,KO,qO],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]});$([UO,YO],NO);var XO=$([vw,WO,KO,qO,VC,HC],(e,t,n,r,i,a)=>{if(!(e!==`centric`&&e!==`radial`||t==null||n==null||r==null)){var{cx:o,cy:s,startAngle:c,endAngle:l}=t;return{cx:Zv(o,i,i/2),cy:Zv(s,a,a/2),innerRadius:n,outerRadius:r,startAngle:c,endAngle:l,clockWise:!1}}}),ZO=(e,t)=>t,QO=(e,t,n)=>n;function $O(e){return e?.id}function ek(e,t,n){var{chartData:r=[]}=t,{allowDuplicatedCategory:i,dataKey:a}=n,o=new Map;return e.forEach(e=>{var t=e.data??r;if(!(t==null||t.length===0)){var n=$O(e);t.forEach((t,r)=>{var s=a==null||i?r:String(SC(t,a,null)),c=SC(t,e.dataKey,0),l=o.has(s)?o.get(s):{};Object.assign(l,{[n]:c}),o.set(s,l)})}}),Array.from(o.values())}function tk(e){return`stackId`in e&&e.stackId!=null&&e.dataKey!=null}var nk=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function rk(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function ik(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var ak=e=>{var t=vw(e);return t===`horizontal`?`xAxis`:t===`vertical`?`yAxis`:t===`centric`?`angleAxis`:`radiusAxis`},ok=e=>e.tooltip.settings.axisId;function sk(e){if(e!=null){var t=e.ticks,n=e.bandwidth,r=e.range(),i=[Math.min(...r),Math.max(...r)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],n=i[1];return t<=n?e>=t&&e<=n:e>=n&&e<=t},bandwidth:n?()=>n.call(e):void 0,ticks:t?n=>t.call(e,n):void 0,map:(t,n)=>{var r=e(t);if(r!=null){if(e.bandwidth&&n!=null&&n.position){var i=e.bandwidth();switch(n.position){case`middle`:r+=i/2;break;case`end`:r+=i;break;default:break}}return r}}}}}var ck=(e,t)=>{if(t!=null)switch(e){case`linear`:if(!oO(t)){for(var n,r,i=0;i<t.length;i++){var a=t[i];hC(a)&&((n===void 0||a<n)&&(n=a),(r===void 0||a>r)&&(r=a))}return n!==void 0&&r!==void 0?[n,r]:void 0}return t;default:return t}};function lk(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function uk(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function dk(e){let t,n,r;e.length===2?(t=e===lk||e===uk?e:fk,n=e,r=e):(t=lk,n=(t,n)=>lk(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function fk(){return 0}function pk(e){return e===null?NaN:+e}function*mk(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var hk=dk(lk),gk=hk.right;hk.left,dk(pk).center;var _k=class extends Map{constructor(e,t=xk){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(vk(this,e))}has(e){return super.has(vk(this,e))}set(e,t){return super.set(yk(this,e),t)}delete(e){return super.delete(bk(this,e))}};function vk({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function yk({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function bk({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function xk(e){return typeof e==`object`&&e?e.valueOf():e}function Sk(e=lk){if(e===lk)return Ck;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function Ck(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var wk=Math.sqrt(50),Tk=Math.sqrt(10),Ek=Math.sqrt(2);function Dk(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=wk?10:a>=Tk?5:a>=Ek?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Dk(e,t,n*2):[s,c,l]}function Ok(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?Dk(t,e,n):Dk(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function kk(e,t,n){return t=+t,e=+e,n=+n,Dk(e,t,n)[2]}function Ak(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?kk(t,e,n):kk(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function jk(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Mk(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Nk(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?Ck:Sk(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));Nk(e,t,u,d,i)}let a=e[t],o=n,s=r;for(Pk(e,n,t),i(e[r],a)>0&&Pk(e,n,r);o<s;){for(Pk(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?Pk(e,n,s):(++s,Pk(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Pk(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function Fk(e,t,n){if(e=Float64Array.from(mk(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return Mk(e);if(t>=1)return jk(e);var r,i=(r-1)*t,a=Math.floor(i),o=jk(Nk(e,a).subarray(0,a+1));return o+(Mk(e.subarray(a+1))-o)*(i-a)}}function Ik(e,t,n=pk){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function Lk(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function Rk(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function zk(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var Bk=Symbol(`implicit`);function Vk(){var e=new _k,t=[],n=[],r=Bk;function i(i){let a=e.get(i);if(a===void 0){if(r!==Bk)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new _k;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return Vk(t,n).unknown(r)},Rk.apply(i,arguments),i}function Hk(){var e=Vk().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=Lk(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return Hk(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},Rk.apply(d(),arguments)}function Uk(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Uk(t())},e}function Wk(){return Uk(Hk.apply(null,arguments).paddingInner(1))}function Gk(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Kk(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function qk(){}var Jk=.7,Yk=1/Jk,Xk=`\\s*([+-]?\\d+)\\s*`,Zk=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,Qk=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,$k=/^#([0-9a-f]{3,8})$/,eA=RegExp(`^rgb\\(${Xk},${Xk},${Xk}\\)$`),tA=RegExp(`^rgb\\(${Qk},${Qk},${Qk}\\)$`),nA=RegExp(`^rgba\\(${Xk},${Xk},${Xk},${Zk}\\)$`),rA=RegExp(`^rgba\\(${Qk},${Qk},${Qk},${Zk}\\)$`),iA=RegExp(`^hsl\\(${Zk},${Qk},${Qk}\\)$`),aA=RegExp(`^hsla\\(${Zk},${Qk},${Qk},${Zk}\\)$`),oA={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Gk(qk,dA,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:sA,formatHex:sA,formatHex8:cA,formatHsl:lA,formatRgb:uA,toString:uA});function sA(){return this.rgb().formatHex()}function cA(){return this.rgb().formatHex8()}function lA(){return wA(this).formatHsl()}function uA(){return this.rgb().formatRgb()}function dA(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=$k.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?fA(t):n===3?new gA(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?pA(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?pA(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=eA.exec(e))?new gA(t[1],t[2],t[3],1):(t=tA.exec(e))?new gA(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=nA.exec(e))?pA(t[1],t[2],t[3],t[4]):(t=rA.exec(e))?pA(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=iA.exec(e))?CA(t[1],t[2]/100,t[3]/100,1):(t=aA.exec(e))?CA(t[1],t[2]/100,t[3]/100,t[4]):oA.hasOwnProperty(e)?fA(oA[e]):e===`transparent`?new gA(NaN,NaN,NaN,0):null}function fA(e){return new gA(e>>16&255,e>>8&255,e&255,1)}function pA(e,t,n,r){return r<=0&&(e=t=n=NaN),new gA(e,t,n,r)}function mA(e){return e instanceof qk||(e=dA(e)),e?(e=e.rgb(),new gA(e.r,e.g,e.b,e.opacity)):new gA}function hA(e,t,n,r){return arguments.length===1?mA(e):new gA(e,t,n,r??1)}function gA(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Gk(gA,hA,Kk(qk,{brighter(e){return e=e==null?Yk:Yk**+e,new gA(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Jk:Jk**+e,new gA(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new gA(xA(this.r),xA(this.g),xA(this.b),bA(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_A,formatHex:_A,formatHex8:vA,formatRgb:yA,toString:yA}));function _A(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}`}function vA(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}${SA((isNaN(this.opacity)?1:this.opacity)*255)}`}function yA(){let e=bA(this.opacity);return`${e===1?`rgb(`:`rgba(`}${xA(this.r)}, ${xA(this.g)}, ${xA(this.b)}${e===1?`)`:`, ${e})`}`}function bA(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function xA(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function SA(e){return e=xA(e),(e<16?`0`:``)+e.toString(16)}function CA(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new EA(e,t,n,r)}function wA(e){if(e instanceof EA)return new EA(e.h,e.s,e.l,e.opacity);if(e instanceof qk||(e=dA(e)),!e)return new EA;if(e instanceof EA)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new EA(o,s,c,e.opacity)}function TA(e,t,n,r){return arguments.length===1?wA(e):new EA(e,t,n,r??1)}function EA(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Gk(EA,TA,Kk(qk,{brighter(e){return e=e==null?Yk:Yk**+e,new EA(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jk:Jk**+e,new EA(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new gA(kA(e>=240?e-240:e+120,i,r),kA(e,i,r),kA(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new EA(DA(this.h),OA(this.s),OA(this.l),bA(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=bA(this.opacity);return`${e===1?`hsl(`:`hsla(`}${DA(this.h)}, ${OA(this.s)*100}%, ${OA(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function DA(e){return e=(e||0)%360,e<0?e+360:e}function OA(e){return Math.max(0,Math.min(1,e||0))}function kA(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var AA=e=>()=>e;function jA(e,t){return function(n){return e+n*t}}function MA(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function NA(e){return(e=+e)==1?PA:function(t,n){return n-t?MA(t,n,e):AA(isNaN(t)?n:t)}}function PA(e,t){var n=t-e;return n?jA(e,n):AA(isNaN(e)?t:e)}var FA=(function e(t){var n=NA(t);function r(e,t){var r=n((e=hA(e)).r,(t=hA(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=PA(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function IA(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function LA(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function RA(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=qA(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function zA(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function BA(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function VA(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=qA(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var HA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,UA=new RegExp(HA.source,`g`);function WA(e){return function(){return e}}function GA(e){return function(t){return e(t)+``}}function KA(e,t){var n=HA.lastIndex=UA.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=HA.exec(e))&&(i=UA.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:BA(r,i)})),n=UA.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?GA(c[0].x):WA(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function qA(e,t){var n=typeof t,r;return t==null||n===`boolean`?AA(t):(n===`number`?BA:n===`string`?(r=dA(t))?(t=r,FA):KA:t instanceof dA?FA:t instanceof Date?zA:LA(t)?IA:Array.isArray(t)?RA:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?VA:BA)(e,t)}function JA(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function YA(e,t){t===void 0&&(t=e,e=qA);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function XA(e){return function(){return e}}function ZA(e){return+e}var QA=[0,1];function $A(e){return e}function ej(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:XA(isNaN(t)?NaN:.5)}function tj(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function nj(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=ej(i,r),a=n(o,a)):(r=ej(r,i),a=n(a,o)),function(e){return a(r(e))}}function rj(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=ej(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=gk(e,t,1,r)-1;return a[n](i[n](t))}}function ij(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function aj(){var e=QA,t=QA,n=qA,r,i,a,o=$A,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==$A&&(o=tj(e[0],e[n-1])),s=n>2?rj:nj,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),BA))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,ZA),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=JA,u()},d.clamp=function(e){return arguments.length?(o=e?!0:$A,u()):o!==$A},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function oj(){return aj()($A,$A)}function sj(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function cj(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function lj(e){return e=cj(Math.abs(e)),e?e[1]:NaN}function uj(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function dj(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var fj=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function pj(e){if(!(t=fj.exec(e)))throw Error(`invalid format: `+e);var t;return new mj({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}pj.prototype=mj.prototype;function mj(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}mj.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function hj(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var gj;function _j(e,t){var n=cj(e,t);if(!n)return gj=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(gj=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+cj(e,Math.max(0,t+a-1))[0]}function vj(e,t){var n=cj(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var yj={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:sj,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>vj(e*100,t),r:vj,s:_j,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function bj(e){return e}var xj=Array.prototype.map,Sj=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function Cj(e){var t=e.grouping===void 0||e.thousands===void 0?bj:uj(xj.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?bj:dj(xj.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=pj(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):yj[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=yj[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=hj(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&gj!==void 0?Sj[8+gj/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(lj(t)/3)))*3,r=10**-n,i=l((e=pj(e),e.type=`f`,e),{suffix:Sj[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var wj,Tj,Ej;Dj({thousands:`,`,grouping:[3],currency:[`$`,``]});function Dj(e){return wj=Cj(e),Tj=wj.format,Ej=wj.formatPrefix,wj}function Oj(e){return Math.max(0,-lj(Math.abs(e)))}function kj(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(lj(t)/3)))*3-lj(Math.abs(e)))}function Aj(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,lj(t)-lj(e))+1}function jj(e,t,n,r){var i=Ak(e,t,n),a;switch(r=pj(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=kj(i,o))&&(r.precision=a),Ej(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=Aj(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Oj(i))&&(r.precision=a-(r.type===`%`)*2);break}return Tj(r)}function Mj(e){var t=e.domain;return e.ticks=function(e){var n=t();return Ok(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return jj(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=kk(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function Nj(){var e=oj();return e.copy=function(){return ij(e,Nj())},Rk.apply(e,arguments),Mj(e)}function Pj(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,ZA),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Pj(e).unknown(t)},e=arguments.length?Array.from(e,ZA):[0,1],Mj(n)}function Fj(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function Ij(e){return Math.log(e)}function Lj(e){return Math.exp(e)}function Rj(e){return-Math.log(-e)}function zj(e){return-Math.exp(-e)}function Bj(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function Vj(e){return e===10?Bj:e===Math.E?Math.exp:t=>e**+t}function Hj(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Uj(e){return(t,n)=>-e(-t,n)}function Wj(e){let t=e(Ij,Lj),n=t.domain,r=10,i,a;function o(){return i=Hj(r),a=Vj(r),n()[0]<0?(i=Uj(i),a=Uj(a),e(Rj,zj)):e(Ij,Lj),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=Ok(o,s,p))}else m=Ok(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=pj(n)).precision==null&&(n.trim=!0),n=Tj(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(Fj(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function Gj(){let e=Wj(aj()).domain([1,10]);return e.copy=()=>ij(e,Gj()).base(e.base()),Rk.apply(e,arguments),e}function Kj(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function qj(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Jj(e){var t=1,n=e(Kj(t),qj(t));return n.constant=function(n){return arguments.length?e(Kj(t=+n),qj(t)):t},Mj(n)}function Yj(){var e=Jj(aj());return e.copy=function(){return ij(e,Yj()).constant(e.constant())},Rk.apply(e,arguments)}function Xj(e){return function(t){return t<0?-((-t)**+e):t**+e}}function Zj(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Qj(e){return e<0?-e*e:e*e}function $j(e){var t=e($A,$A),n=1;function r(){return n===1?e($A,$A):n===.5?e(Zj,Qj):e(Xj(n),Xj(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},Mj(t)}function eM(){var e=$j(aj());return e.copy=function(){return ij(e,eM()).exponent(e.exponent())},Rk.apply(e,arguments),e}function tM(){return eM.apply(null,arguments).exponent(.5)}function nM(e){return Math.sign(e)*e*e}function rM(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function iM(){var e=oj(),t=[0,1],n=!1,r;function i(t){var i=rM(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(nM(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,ZA)).map(nM)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return iM(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Rk.apply(i,arguments),Mj(i)}function aM(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=Ik(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[gk(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(lk),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return aM().domain(e).range(t).unknown(r)},Rk.apply(a,arguments)}function oM(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[gk(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return oM().domain([e,t]).range(i).unknown(a)},Rk.apply(Mj(o),arguments)}function sM(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[gk(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return sM().domain(e).range(t).unknown(n)},Rk.apply(i,arguments)}var cM=new Date,lM=new Date;function uM(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>uM(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(cM.setTime(+t),lM.setTime(+r),e(cM),e(lM),Math.floor(n(cM,lM))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var dM=uM(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);dM.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?uM(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):dM),dM.range;var fM=1e3,pM=fM*60,mM=pM*60,hM=mM*24,gM=hM*7,_M=hM*30,vM=hM*365,yM=uM(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*fM)},(e,t)=>(t-e)/fM,e=>e.getUTCSeconds());yM.range;var bM=uM(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*fM)},(e,t)=>{e.setTime(+e+t*pM)},(e,t)=>(t-e)/pM,e=>e.getMinutes());bM.range;var xM=uM(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*pM)},(e,t)=>(t-e)/pM,e=>e.getUTCMinutes());xM.range;var SM=uM(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*fM-e.getMinutes()*pM)},(e,t)=>{e.setTime(+e+t*mM)},(e,t)=>(t-e)/mM,e=>e.getHours());SM.range;var CM=uM(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*mM)},(e,t)=>(t-e)/mM,e=>e.getUTCHours());CM.range;var wM=uM(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*pM)/hM,e=>e.getDate()-1);wM.range;var TM=uM(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/hM,e=>e.getUTCDate()-1);TM.range;var EM=uM(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/hM,e=>Math.floor(e/hM));EM.range;function DM(e){return uM(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*pM)/gM)}var OM=DM(0),kM=DM(1),AM=DM(2),jM=DM(3),MM=DM(4),NM=DM(5),PM=DM(6);OM.range,kM.range,AM.range,jM.range,MM.range,NM.range,PM.range;function FM(e){return uM(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/gM)}var IM=FM(0),LM=FM(1),RM=FM(2),zM=FM(3),BM=FM(4),VM=FM(5),HM=FM(6);IM.range,LM.range,RM.range,zM.range,BM.range,VM.range,HM.range;var UM=uM(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());UM.range;var WM=uM(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());WM.range;var GM=uM(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());GM.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:uM(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),GM.range;var KM=uM(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());KM.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:uM(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),KM.range;function qM(e,t,n,r,i,a){let o=[[yM,1,fM],[yM,5,5*fM],[yM,15,15*fM],[yM,30,30*fM],[a,1,pM],[a,5,5*pM],[a,15,15*pM],[a,30,30*pM],[i,1,mM],[i,3,3*mM],[i,6,6*mM],[i,12,12*mM],[r,1,hM],[r,2,2*hM],[n,1,gM],[t,1,_M],[t,3,3*_M],[e,1,vM]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=dk(([,,e])=>e).right(o,i);if(a===o.length)return e.every(Ak(t/vM,n/vM,r));if(a===0)return dM.every(Math.max(Ak(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[JM,YM]=qM(KM,WM,IM,EM,CM,xM),[XM,ZM]=qM(GM,UM,OM,wM,SM,bM);function QM(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function $M(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function eN(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function tN(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=cN(i),u=lN(i),d=cN(a),f=lN(a),p=cN(o),m=lN(o),h=cN(s),g=lN(s),_=cN(c),v=lN(c),y={a:N,A:P,b:ee,B:te,c:null,d:AN,e:AN,f:FN,g:KN,G:JN,H:jN,I:MN,j:NN,L:PN,m:IN,M:LN,p:F,q:ne,Q:_P,s:vP,S:RN,u:zN,U:BN,V:HN,w:UN,W:WN,x:null,X:null,y:GN,Y:qN,Z:YN,"%":gP},b={a:I,A:re,b:ie,B:L,c:null,d:XN,e:XN,f:tP,g:fP,G:mP,H:ZN,I:QN,j:$N,L:eP,m:nP,M:rP,p:ae,q:R,Q:_P,s:vP,S:iP,u:aP,U:oP,V:cP,w:lP,W:uP,x:null,X:null,y:dP,Y:pP,Z:hP,"%":gP},x={a:E,A:D,b:O,B:k,c:A,d:bN,e:bN,f:EN,g:gN,G:hN,H:SN,I:SN,j:xN,L:TN,m:yN,M:CN,p:T,q:vN,Q:ON,s:kN,S:wN,u:dN,U:fN,V:pN,w:uN,W:mN,x:j,X:M,y:gN,Y:hN,Z:_N,"%":DN};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=nN[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=eN(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=$M(eN(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?LM.ceil(a):LM(a),a=TM.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=QM(eN(r.y,0,1)),o=a.getDay(),a=o>4||o===0?kM.ceil(a):kM(a),a=wM.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?$M(eN(r.y,0,1)).getUTCDay():QM(eN(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,$M(r)):QM(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in nN?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function P(e){return a[e.getDay()]}function ee(e){return c[e.getMonth()]}function te(e){return s[e.getMonth()]}function F(e){return i[+(e.getHours()>=12)]}function ne(e){return 1+~~(e.getMonth()/3)}function I(e){return o[e.getUTCDay()]}function re(e){return a[e.getUTCDay()]}function ie(e){return c[e.getUTCMonth()]}function L(e){return s[e.getUTCMonth()]}function ae(e){return i[+(e.getUTCHours()>=12)]}function R(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var nN={"-":``,_:` `,0:`0`},rN=/^\s*\d+/,iN=/^%/,aN=/[\\^$*+?|[\]().{}]/g;function oN(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function sN(e){return e.replace(aN,`\\$&`)}function cN(e){return RegExp(`^(?:`+e.map(sN).join(`|`)+`)`,`i`)}function lN(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function uN(e,t,n){var r=rN.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function dN(e,t,n){var r=rN.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function fN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function pN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function mN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function hN(e,t,n){var r=rN.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function gN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _N(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function vN(e,t,n){var r=rN.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function yN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function bN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function xN(e,t,n){var r=rN.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function SN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function CN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function wN(e,t,n){var r=rN.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function TN(e,t,n){var r=rN.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function EN(e,t,n){var r=rN.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function DN(e,t,n){var r=iN.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ON(e,t,n){var r=rN.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function kN(e,t,n){var r=rN.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function AN(e,t){return oN(e.getDate(),t,2)}function jN(e,t){return oN(e.getHours(),t,2)}function MN(e,t){return oN(e.getHours()%12||12,t,2)}function NN(e,t){return oN(1+wM.count(GM(e),e),t,3)}function PN(e,t){return oN(e.getMilliseconds(),t,3)}function FN(e,t){return PN(e,t)+`000`}function IN(e,t){return oN(e.getMonth()+1,t,2)}function LN(e,t){return oN(e.getMinutes(),t,2)}function RN(e,t){return oN(e.getSeconds(),t,2)}function zN(e){var t=e.getDay();return t===0?7:t}function BN(e,t){return oN(OM.count(GM(e)-1,e),t,2)}function VN(e){var t=e.getDay();return t>=4||t===0?MM(e):MM.ceil(e)}function HN(e,t){return e=VN(e),oN(MM.count(GM(e),e)+(GM(e).getDay()===4),t,2)}function UN(e){return e.getDay()}function WN(e,t){return oN(kM.count(GM(e)-1,e),t,2)}function GN(e,t){return oN(e.getFullYear()%100,t,2)}function KN(e,t){return e=VN(e),oN(e.getFullYear()%100,t,2)}function qN(e,t){return oN(e.getFullYear()%1e4,t,4)}function JN(e,t){var n=e.getDay();return e=n>=4||n===0?MM(e):MM.ceil(e),oN(e.getFullYear()%1e4,t,4)}function YN(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+oN(t/60|0,`0`,2)+oN(t%60,`0`,2)}function XN(e,t){return oN(e.getUTCDate(),t,2)}function ZN(e,t){return oN(e.getUTCHours(),t,2)}function QN(e,t){return oN(e.getUTCHours()%12||12,t,2)}function $N(e,t){return oN(1+TM.count(KM(e),e),t,3)}function eP(e,t){return oN(e.getUTCMilliseconds(),t,3)}function tP(e,t){return eP(e,t)+`000`}function nP(e,t){return oN(e.getUTCMonth()+1,t,2)}function rP(e,t){return oN(e.getUTCMinutes(),t,2)}function iP(e,t){return oN(e.getUTCSeconds(),t,2)}function aP(e){var t=e.getUTCDay();return t===0?7:t}function oP(e,t){return oN(IM.count(KM(e)-1,e),t,2)}function sP(e){var t=e.getUTCDay();return t>=4||t===0?BM(e):BM.ceil(e)}function cP(e,t){return e=sP(e),oN(BM.count(KM(e),e)+(KM(e).getUTCDay()===4),t,2)}function lP(e){return e.getUTCDay()}function uP(e,t){return oN(LM.count(KM(e)-1,e),t,2)}function dP(e,t){return oN(e.getUTCFullYear()%100,t,2)}function fP(e,t){return e=sP(e),oN(e.getUTCFullYear()%100,t,2)}function pP(e,t){return oN(e.getUTCFullYear()%1e4,t,4)}function mP(e,t){var n=e.getUTCDay();return e=n>=4||n===0?BM(e):BM.ceil(e),oN(e.getUTCFullYear()%1e4,t,4)}function hP(){return`+0000`}function gP(){return`%`}function _P(e){return+e}function vP(e){return Math.floor(e/1e3)}var yP,bP,xP;SP({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function SP(e){return yP=tN(e),bP=yP.format,yP.parse,xP=yP.utcFormat,yP.utcParse,yP}function CP(e){return new Date(e)}function wP(e){return e instanceof Date?+e:+new Date(+e)}function TP(e,t,n,r,i,a,o,s,c,l){var u=oj(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,wP)):f().map(CP)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Fj(n,e)):u},u.copy=function(){return ij(u,TP(e,t,n,r,i,a,o,s,c,l))},u}function EP(){return Rk.apply(TP(XM,ZM,GM,UM,OM,wM,SM,bM,yM,bP).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function DP(){return Rk.apply(TP(JM,YM,KM,WM,IM,TM,CM,xM,yM,xP).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function OP(){var e=0,t=1,n,r,i,a,o=$A,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(qA),l.rangeRound=u(JA),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function kP(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function AP(){var e=Mj(OP()($A));return e.copy=function(){return kP(e,AP())},zk.apply(e,arguments)}function jP(){var e=Wj(OP()).domain([1,10]);return e.copy=function(){return kP(e,jP()).base(e.base())},zk.apply(e,arguments)}function MP(){var e=Jj(OP());return e.copy=function(){return kP(e,MP()).constant(e.constant())},zk.apply(e,arguments)}function NP(){var e=$j(OP());return e.copy=function(){return kP(e,NP()).exponent(e.exponent())},zk.apply(e,arguments)}function PP(){return NP.apply(null,arguments).exponent(.5)}function FP(){var e=[],t=$A;function n(n){if(n!=null&&!isNaN(n=+n))return t((gk(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(lk),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>Fk(e,r/t))},n.copy=function(){return FP(t).domain(e)},zk.apply(n,arguments)}function IP(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=$A,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=YA(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(qA),p.rangeRound=m(JA),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function LP(){var e=Mj(IP()($A));return e.copy=function(){return kP(e,LP())},zk.apply(e,arguments)}function RP(){var e=Wj(IP()).domain([.1,1,10]);return e.copy=function(){return kP(e,RP()).base(e.base())},zk.apply(e,arguments)}function zP(){var e=Jj(IP());return e.copy=function(){return kP(e,zP()).constant(e.constant())},zk.apply(e,arguments)}function BP(){var e=$j(IP());return e.copy=function(){return kP(e,BP()).exponent(e.exponent())},zk.apply(e,arguments)}function VP(){return BP.apply(null,arguments).exponent(.5)}var HP=s({scaleBand:()=>Hk,scaleDiverging:()=>LP,scaleDivergingLog:()=>RP,scaleDivergingPow:()=>BP,scaleDivergingSqrt:()=>VP,scaleDivergingSymlog:()=>zP,scaleIdentity:()=>Pj,scaleImplicit:()=>Bk,scaleLinear:()=>Nj,scaleLog:()=>Gj,scaleOrdinal:()=>Vk,scalePoint:()=>Wk,scalePow:()=>eM,scaleQuantile:()=>aM,scaleQuantize:()=>oM,scaleRadial:()=>iM,scaleSequential:()=>AP,scaleSequentialLog:()=>jP,scaleSequentialPow:()=>NP,scaleSequentialQuantile:()=>FP,scaleSequentialSqrt:()=>PP,scaleSequentialSymlog:()=>MP,scaleSqrt:()=>tM,scaleSymlog:()=>Yj,scaleThreshold:()=>sM,scaleTime:()=>EP,scaleUtc:()=>DP,tickFormat:()=>jj});function UP(e){var t=HP;if(e in t&&typeof t[e]==`function`)return t[e]();var n=`scale${ny(e)}`;if(n in t&&typeof t[n]==`function`)return t[n]()}function WP(e,t,n){if(typeof e==`function`)return e.copy().domain(t).range(n);if(e!=null){var r=UP(e);if(r!=null)return r.domain(t).range(n),r}}function GP(e,t,n,r){if(!(n==null||r==null))return typeof e.scale==`function`?WP(e.scale,n,r):WP(t,n,r)}function KP(e){return`scale${ny(e)}`}function qP(e){return KP(e)in HP}var JP=(e,t,n)=>{if(e!=null){var{scale:r,type:i}=e;if(r===`auto`)return i===`category`&&n&&(n.indexOf(`LineChart`)>=0||n.indexOf(`AreaChart`)>=0||n.indexOf(`ComposedChart`)>=0&&!t)?`point`:i===`category`?`band`:`linear`;if(typeof r==`string`)return qP(r)?r:`point`}};function YP(e,t){for(var n=0,r=e.length,i=e[0]<e[e.length-1];n<r;){var a=Math.floor((n+r)/2);(i?e[a]<t:e[a]>t)?n=a+1:r=a}return n}function XP(e,t){if(e){var n=t??e.domain(),r=n.map(t=>e(t)??0),i=e.range();if(!(n.length===0||i.length<2))return e=>{var t=YP(r,e);if(t<=0)return n[0];if(t>=n.length)return n[n.length-1];var i=r[t-1]??0,a=r[t]??0;return Math.abs(e-i)<=Math.abs(e-a)?n[t-1]:n[t]}}}function ZP(e){if(e!=null)return`invert`in e&&typeof e.invert==`function`?e.invert.bind(e):XP(e,void 0)}var QP=l(QD());function $P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eF(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$P(Object(n),!0).forEach(function(t){tF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tF(e,t,n){return(t=nF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nF(e){var t=rF(e,`string`);return typeof t==`symbol`?t:t+``}function rF(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var iF=[0,`auto`],aF={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`bottom`,padding:{left:0,right:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`category`,unit:void 0,niceTicks:`auto`},oF=(e,t)=>e.cartesianAxis.xAxis[t],sF=(e,t)=>oF(e,t)??aF,cF={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:iF,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`left`,padding:{top:0,bottom:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`number`,unit:void 0,niceTicks:`auto`,width:60},lF=(e,t)=>e.cartesianAxis.yAxis[t],uF=(e,t)=>lF(e,t)??cF,dF={domain:[0,`auto`],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:``,range:[64,64],scale:`auto`,type:`number`,unit:``},fF=(e,t)=>e.cartesianAxis.zAxis[t]??dF,pF=(e,t,n)=>{switch(t){case`xAxis`:return sF(e,n);case`yAxis`:return uF(e,n);case`zAxis`:return fF(e,n);case`angleAxis`:return HO(e,n);case`radiusAxis`:return UO(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},mF=(e,t,n)=>{switch(t){case`xAxis`:return sF(e,n);case`yAxis`:return uF(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},hF=(e,t,n)=>{switch(t){case`xAxis`:return sF(e,n);case`yAxis`:return uF(e,n);case`angleAxis`:return HO(e,n);case`radiusAxis`:return UO(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},gF=e=>e.graphicalItems.cartesianItems.some(e=>e.type===`bar`)||e.graphicalItems.polarItems.some(e=>e.type===`radialBar`);function _F(e,t){return n=>{switch(e){case`xAxis`:return`xAxisId`in n&&n.xAxisId===t;case`yAxis`:return`yAxisId`in n&&n.yAxisId===t;case`zAxis`:return`zAxisId`in n&&n.zAxisId===t;case`angleAxis`:return`angleAxisId`in n&&n.angleAxisId===t;case`radiusAxis`:return`radiusAxisId`in n&&n.radiusAxisId===t;default:return!1}}}var vF=e=>e.graphicalItems.cartesianItems,yF=$([ZO,QO],_F),bF=(e,t,n)=>e.filter(n).filter(e=>t?.includeHidden===!0?!0:!e.hide),xF=$([vF,pF,yF],bF,{memoizeOptions:{resultEqualityCheck:rk}}),SF=$([xF],e=>e.filter(e=>e.type===`area`||e.type===`bar`).filter(tk)),CF=e=>e.filter(e=>!(`stackId`in e)||e.stackId===void 0),wF=$([xF],CF),TF=e=>e.map(e=>e.data).filter(Boolean).flat(1),EF=$([xF],e=>e.some(e=>!e.data)),DF=$([xF],TF,{memoizeOptions:{resultEqualityCheck:rk}}),OF=(e,t)=>{var{chartData:n=[],dataStartIndex:r,dataEndIndex:i}=t;return e.length>0?e:n.slice(r,i+1)},kF=$([DF,tO],OF),AF=(e,t,n)=>t?.dataKey==null?n.length>0?n.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:SC(e,t)}))):e.map(e=>({value:e})):e.map(e=>({value:SC(e,t.dataKey)})),jF=(e,t,n,r,i,a)=>{var{chartData:o=[],dataStartIndex:s,dataEndIndex:c}=r,l=AF(e,t,n);return i&&t?.dataKey!=null&&a.length>0?[...o.slice(s,c+1).map(e=>({value:SC(e,t.dataKey)})).filter(e=>e.value!=null),...l]:l},MF=$([kF,pF,xF,tO,EF,DF],jF);function NF(e){if(Jv(e)||e instanceof Date){var t=Number(e);if(hC(t))return t}}function PF(e){if(Array.isArray(e)){var t=[NF(e[0]),NF(e[1])];return oO(t)?t:void 0}var n=NF(e);if(n!=null)return[n,n]}function FF(e){return e.map(NF).filter(ry)}function IF(e,t){var n=NF(e),r=NF(t);return n==null&&r==null?0:n==null?-1:r==null?1:n-r}var LF=$([MF],e=>e?.map(e=>e.value).sort(IF));function RF(e,t){switch(e){case`xAxis`:return t.direction===`x`;case`yAxis`:return t.direction===`y`;default:return!1}}function zF(e,t,n){if(!n||!n.length)return[];var r;if(typeof t==`number`&&!Kv(t))r=t;else if(Array.isArray(t)){var i=FF(t);i.length>0&&(r=Math.max(...i))}return r==null?[]:FF(n.flatMap(t=>{var n=SC(e,t.dataKey),i,a;if(Array.isArray(n)?[i,a]=n:i=a=n,!(!hC(i)||!hC(a)))return[r-i,r+a]}))}var BF=e=>hF(e,ak(e),ok(e)),VF=$([BF],e=>e?.dataKey),HF=$([SF,tO,BF],ek),UF=(e,t,n,r)=>{var i=t.reduce((e,t)=>{if(t.stackId==null)return e;var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},{});return Object.fromEntries(Object.entries(i).map(t=>{var[i,a]=t,o=r?[...a].reverse():a;return[i,{stackedData:DC(e,o.map($O),n),graphicalItems:o}]}))},WF=$([HF,SF,wO,TO],UF),GF=(e,t,n,r)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(r==null&&n!==`zAxis`){var o=NC(e,i,a);if(!(o!=null&&o[0]===0&&o[1]===0))return o}},KF=$([pF],e=>e.allowDataOverflow),qF=e=>{if(e==null||!(`domain`in e))return iF;if(e.domain!=null)return e.domain;if(`ticks`in e&&e.ticks!=null){if(e.type===`number`){var t=FF(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===`category`)return e.ticks.map(String)}return e?.domain??iF},JF=$([pF],qF),YF=$([JF,KF],cO),XF=$([WF,$D,ZO,YF],GF,{memoizeOptions:{resultEqualityCheck:nk}}),ZF=e=>e.errorBars,QF=(e,t,n)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>RF(n,e)),$F=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);if(r.length!==0){var i=r.flat();return[Math.min(...i),Math.max(...i)]}},eI=function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],o,s;if(n.length>0&&n.forEach(e=>{var n=e.data==null?a:[...e.data],c=r[e.id]?.filter(e=>RF(i,e));n.forEach(n=>{var r=SC(n,t.dataKey??e.dataKey),i=zF(n,r,c);if(i.length>=2){var a=Math.min(...i),l=Math.max(...i);(o==null||a<o)&&(o=a),(s==null||l>s)&&(s=l)}var u=PF(r);u!=null&&(o=o==null?u[0]:Math.min(o,u[0]),s=s==null?u[1]:Math.max(s,u[1]))})}),t?.dataKey!=null&&n.length===0&&e.forEach(e=>{var n=PF(SC(e,t.dataKey));n!=null&&(o=o==null?n[0]:Math.min(o,n[0]),s=s==null?n[1]:Math.max(s,n[1]))}),hC(o)&&hC(s))return[o,s]},tI=$([kF,pF,wF,ZF,ZO,rO],eI,{memoizeOptions:{resultEqualityCheck:nk}});function nI(e){var{value:t}=e;if(Jv(t)||t instanceof Date)return t}var rI=(e,t,n)=>{var r=e.map(nI).filter(e=>e!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&Qv(r))?(0,QP.default)(0,e.length):t.allowDuplicatedCategory?r:Array.from(new Set(r))},iI=e=>e.referenceElements.dots,aI=(e,t,n)=>e.filter(e=>e.ifOverflow===`extendDomain`).filter(e=>t===`xAxis`?e.xAxisId===n:e.yAxisId===n),oI=$([iI,ZO,QO],aI),sI=e=>e.referenceElements.areas,cI=$([sI,ZO,QO],aI),lI=e=>e.referenceElements.lines,uI=$([lI,ZO,QO],aI),dI=(e,t)=>{if(e!=null){var n=FF(e.map(e=>t===`xAxis`?e.x:e.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},fI=$(oI,ZO,dI),pI=(e,t)=>{if(e!=null){var n=FF(e.flatMap(e=>[t===`xAxis`?e.x1:e.y1,t===`xAxis`?e.x2:e.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},mI=$([cI,ZO],pI);function hI(e){if(e.x!=null)return FF([e.x]);var t=e.segment?.map(e=>e.x);return t==null||t.length===0?[]:FF(t)}function gI(e){if(e.y!=null)return FF([e.y]);var t=e.segment?.map(e=>e.y);return t==null||t.length===0?[]:FF(t)}var _I=(e,t)=>{if(e!=null){var n=e.flatMap(e=>t===`xAxis`?hI(e):gI(e));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},vI=$(fI,$([uI,ZO],_I),mI,(e,t,n)=>$F(e,n,t)),yI=(e,t,n,r,i,a,o,s)=>n??lO(t,o===`vertical`&&s===`xAxis`||o===`horizontal`&&s===`yAxis`?$F(r,a,i):$F(a,i),e.allowDataOverflow),bI=$([pF,JF,YF,XF,tI,vI,vw,ZO],yI,{memoizeOptions:{resultEqualityCheck:nk}}),xI=[0,1],SI=(e,t,n,r,i,a,o)=>{if(!((e==null||n==null||n.length===0)&&o===void 0)){var{dataKey:s,type:c}=e,l=wC(t,a);return l&&s==null?(0,QP.default)(0,n?.length??0):c===`category`?rI(r,e,l):i===`expand`&&!l?xI:o}},CI=$([pF,vw,kF,MF,wO,ZO,bI],SI),wI=$([pF,gF,EO],JP),TI=(e,t,n)=>{var{niceTicks:r}=t;if(r!==`none`){var i=qF(t),a=Array.isArray(i)&&(i[0]===`auto`||i[1]===`auto`);if((r===`snap125`||r===`adaptive`)&&t!=null&&t.tickCount&&oO(e)){if(a)return vO(e,t.tickCount,t.allowDecimals,r);if(t.type===`number`)return yO(e,t.tickCount,t.allowDecimals,r)}if(r===`auto`&&n===`linear`&&t!=null&&t.tickCount){if(a&&oO(e))return vO(e,t.tickCount,t.allowDecimals,`adaptive`);if(t.type===`number`&&oO(e))return yO(e,t.tickCount,t.allowDecimals,`adaptive`)}}},EI=$([CI,hF,wI],TI),DI=(e,t,n,r)=>{if(r!==`angleAxis`&&e?.type===`number`&&oO(t)&&Array.isArray(n)&&n.length>0){var i=t[0],a=n[0]??0,o=t[1],s=n[n.length-1]??0;return[Math.min(i,a),Math.max(o,s)]}return t},OI=$([pF,CI,EI,ZO],DI),kI=$($(MF,pF,(e,t)=>{if(!(!t||t.type!==`number`)){var n=1/0,r=Array.from(FF(e.map(e=>e.value))).sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(i==null||a==null)return 1/0;var o=a-i;if(o===0)return 1/0;for(var s=0;s<r.length-1;s++){var c=r[s],l=r[s+1];if(!(c==null||l==null)){var u=l-c;n=Math.min(n,u)}}return n/o}}),vw,SO,aw,(e,t,n,r,i)=>i,(e,t,n,r,i)=>{if(!hC(e))return 0;var a=t===`vertical`?r.height:r.width;if(i===`gap`)return e*a/2;if(i===`no-gap`){var o=Zv(n,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),AI=(e,t,n)=>{var r=sF(e,t);return r==null||typeof r.padding!=`string`?0:kI(e,`xAxis`,t,n,r.padding)},jI=(e,t,n)=>{var r=uF(e,t);return r==null||typeof r.padding!=`string`?0:kI(e,`yAxis`,t,n,r.padding)},MI=$(sF,AI,(e,t)=>{if(e==null)return{left:0,right:0};var{padding:n}=e;return typeof n==`string`?{left:t,right:t}:{left:(n.left??0)+t,right:(n.right??0)+t}}),NI=$(uF,jI,(e,t)=>{if(e==null)return{top:0,bottom:0};var{padding:n}=e;return typeof n==`string`?{top:t,bottom:t}:{top:(n.top??0)+t,bottom:(n.bottom??0)+t}}),PI=$([aw,MI,dw,uw,(e,t,n)=>n],(e,t,n,r,i)=>{var{padding:a}=r;return i?[a.left,n.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),FI=$([aw,vw,NI,dw,uw,(e,t,n)=>n],(e,t,n,r,i,a)=>{var{padding:o}=i;return a?[r.height-o.bottom,o.top]:t===`horizontal`?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),II=(e,t,n,r)=>{switch(t){case`xAxis`:return PI(e,n,r);case`yAxis`:return FI(e,n,r);case`zAxis`:return fF(e,n)?.range;case`angleAxis`:return JO(e);case`radiusAxis`:return YO(e,n);default:return}},LI=$([pF,II],NO),RI=$([pF,wI,$([wI,OI],ck),LI],GP),zI=(e,t,n,r)=>{if(!(n==null||n.dataKey==null)){var{type:i,scale:a}=n;if(wC(e,r)&&(i===`number`||a!==`auto`))return t.map(e=>e.value)}},BI=$([vw,MF,hF,ZO],zI),VI=$([RI],sk);$([RI],ZP),$([RI,LF],XP),$([xF,ZF,ZO],QF);function HI(e,t){return e.id<t.id?-1:+(e.id>t.id)}var UI=(e,t)=>t,WI=(e,t,n)=>n,GI=$(GC,UI,WI,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(HI)),KI=$(KC,UI,WI,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(HI)),qI=(e,t)=>({width:e.width,height:t.height}),JI=(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height}),YI=$(aw,sF,qI),XI=(e,t,n)=>{switch(t){case`top`:return e.top;case`bottom`:return n-e.bottom;default:return 0}},ZI=(e,t,n)=>{switch(t){case`left`:return e.left;case`right`:return n-e.right;default:return 0}},QI=$(HC,aw,GI,UI,WI,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=qI(t,n);o??=XI(t,r,e);var c=r===`top`&&!i||r===`bottom`&&i;a[n.id]=o-Number(c)*s.height,o+=(c?-1:1)*s.height}),a}),$I=$(VC,aw,KI,UI,WI,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=JI(t,n);o??=ZI(t,r,e);var c=r===`left`&&!i||r===`right`&&i;a[n.id]=o-Number(c)*s.width,o+=(c?-1:1)*s.width}),a});$([aw,sF,(e,t)=>{var n=sF(e,t);if(n!=null)return QI(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:e.left,y:0}:{x:e.left,y:i}}});var eL=$([aw,uF,(e,t)=>{var n=uF(e,t);if(n!=null)return $I(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:0,y:e.top}:{x:i,y:e.top}}}),tL=$(aw,uF,(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height})),nL=(e,t,n)=>{switch(t){case`xAxis`:return YI(e,n).width;case`yAxis`:return tL(e,n).height;default:return}},rL=(e,t,n,r)=>{if(n!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=n,s=wC(e,r),c=t.map(e=>e.value),l=c.filter(e=>e!=null);if(o&&s&&a===`category`&&i&&Qv(l))return c}},iL=$([vw,MF,pF,ZO],rL);$([vw,mF,wI,VI,iL,BI,II,EI,ZO],(e,t,n,r,i,a,o,s,c)=>{if(t!=null){var l=wC(e,c);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:c,categoricalDomain:a,duplicateDomain:i,isCategorical:l,niceTicks:s,range:o,realScaleType:n,scale:r}}});var aL=$([vw,hF,wI,VI,EI,II,iL,BI,ZO],(e,t,n,r,i,a,o,s,c)=>{if(!(t==null||r==null)){var l=wC(e,c),{type:u,ticks:d,tickCount:f}=t,p=n===`scaleBand`&&typeof r.bandwidth==`function`?r.bandwidth()/2:2,m=u===`category`&&r.bandwidth?r.bandwidth()/p:0;m=c===`angleAxis`&&a!=null&&a.length>=2?Gv(a[0]-a[1])*2*m:m;var h=d||i;return h?h.map((e,t)=>{var n=o?o.indexOf(e):e,i=r.map(n);return hC(i)?{index:t,coordinate:i+m,value:e,offset:m}:null}).filter(ry):l&&s?s.map((e,t)=>{var n=r.map(e);return hC(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(ry):r.ticks?r.ticks(f).map((e,t)=>{var n=r.map(e);return hC(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(ry):r.domain().map((e,t)=>{var n=r.map(e);return hC(n)?{coordinate:n+m,value:o?o[e]:e,index:t,offset:m}:null}).filter(ry)}}),oL=$([vw,hF,VI,II,iL,BI,ZO],(e,t,n,r,i,a,o)=>{if(!(t==null||n==null||r==null||r[0]===r[1])){var s=wC(e,o),{tickCount:c}=t,l=0;return l=o===`angleAxis`&&r?.length>=2?Gv(r[0]-r[1])*2*l:l,s&&a?a.map((e,t)=>{var r=n.map(e);return hC(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(ry):n.ticks?n.ticks(c).map((e,t)=>{var r=n.map(e);return hC(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(ry):n.domain().map((e,t)=>{var r=n.map(e);return hC(r)?{coordinate:r+l,value:i?i[e]:e,index:t,offset:l}:null}).filter(ry)}}),sL=$(pF,VI,(e,t)=>{if(!(e==null||t==null))return eF(eF({},e),{},{scale:t})});$((e,t,n)=>fF(e,n),$([$([pF,wI,CI,LI],GP)],sk),(e,t)=>{if(!(e==null||t==null))return eF(eF({},e),{},{scale:t})});var cL=$([vw,GC,KC],(e,t,n)=>{switch(e){case`horizontal`:return t.some(e=>e.reversed)?`right-to-left`:`left-to-right`;case`vertical`:return n.some(e=>e.reversed)?`bottom-to-top`:`top-to-bottom`;case`centric`:case`radial`:return`left-to-right`;default:return}});$([(e,t,n)=>e.renderedTicks[t]?.[n]],e=>{if(!(!e||e.length===0))return t=>{var n=1/0,r=e[0];for(var i of e){var a=Math.abs(i.coordinate-t);a<n&&(n=a,r=i)}return r?.value}});var lL=e=>e.options.defaultTooltipEventType,uL=e=>e.options.validateTooltipEventTypes;function dL(e,t,n){if(e==null)return t;var r=e?`axis`:`item`;return n==null?t:n.includes(r)?r:t}function fL(e,t){return dL(t,lL(e),uL(e))}var pL=(e,t)=>{var n,r=Number(t);if(!(Kv(r)||t==null))return r>=0?e==null||(n=e[r])==null?void 0:n.value:void 0},mL=e=>e.tooltip.settings,hL={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},gL=bS({name:`tooltip`,initialState:{itemInteraction:{click:hL,hover:hL},axisInteraction:{click:hL,hover:hL},keyboardInteraction:hL,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:`hover`,axisId:0,active:!1,defaultIndex:void 0}},reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(yT(t.payload))},prepare:aS()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Gx(e).tooltipItemPayloads.indexOf(yT(n));i>-1&&(e.tooltipItemPayloads[i]=yT(r))},prepare:aS()},removeTooltipEntrySettings:{reducer(e,t){var n=Gx(e).tooltipItemPayloads.indexOf(yT(t.payload));n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:aS()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:_L,replaceTooltipEntrySettings:vL,removeTooltipEntrySettings:yL,setTooltipSettingsState:bL,setActiveMouseOverItemIndex:xL,mouseLeaveItem:SL,mouseLeaveChart:CL,setActiveClickItemIndex:wL,setMouseOverAxisIndex:TL,setMouseClickAxisIndex:EL,setSyncInteraction:DL,setKeyboardInteraction:OL}=gL.actions,kL=gL.reducer;function AL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AL(Object(n),!0).forEach(function(t){ML(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ML(e,t,n){return(t=NL(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NL(e){var t=PL(e,`string`);return typeof t==`symbol`?t:t+``}function PL(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function FL(e,t,n){return t===`axis`?n===`click`?e.axisInteraction.click:e.axisInteraction.hover:n===`click`?e.itemInteraction.click:e.itemInteraction.hover}function IL(e){return e.index!=null}var LL=(e,t,n,r)=>{if(t==null)return hL;var i=FL(e,t,n);if(i==null)return hL;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(IL(i)){if(a)return jL(jL({},i),{},{active:!0})}else if(r!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:r,graphicalItemId:void 0};return jL(jL({},hL),{},{coordinate:i.coordinate})};function RL(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function zL(e,t){var n=RL(e),r=t[0],i=t[1];return n===void 0?!1:n>=Math.min(r,i)&&n<=Math.max(r,i)}function BL(e,t,n){if(n==null||t==null)return!0;var r=SC(e,t);return r==null||!oO(n)?!0:zL(r,n)}var VL=(e,t,n,r)=>{var i=e?.index;if(i==null)return null;var a=Number(i);if(!hC(a))return i;var o=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(o,Math.min(a,s)),l=t[c];return l==null||BL(l,n,r)?String(c):null},HL=(e,t,n,r,i,a,o)=>{if(a!=null){var s=o[0]?.getPosition(a);if(s!=null)return s;var c=i?.[Number(a)];if(c)switch(n){case`horizontal`:return{x:c.coordinate,y:(r.top+t)/2};default:return{x:(r.left+e)/2,y:c.coordinate}}}},UL=(e,t,n,r)=>{if(t===`axis`)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i=n===`hover`?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId;if(e.syncInteraction.active&&i==null)return e.tooltipItemPayloads;if(i==null&&(r!=null||e.keyboardInteraction.active)){var a=e.tooltipItemPayloads[0];return a==null?[]:[a]}return e.tooltipItemPayloads.filter(e=>e.settings?.graphicalItemId===i)},WL=e=>e.options.tooltipPayloadSearcher,GL=e=>e.tooltip;function KL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?KL(Object(n),!0).forEach(function(t){JL(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function JL(e,t,n){return(t=YL(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YL(e){var t=XL(e,`string`);return typeof t==`symbol`?t:t+``}function XL(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ZL(e){if(typeof e==`string`||typeof e==`number`)return e}function QL(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e}function $L(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e==`function`)return t=>e(t)}function eR(e){if(typeof e==`string`)return e}function tR(e){if(!(typeof e!=`object`||!e))return{name:`name`in e?ZL(e.name):void 0,unit:`unit`in e?QL(e.unit):void 0,dataKey:`dataKey`in e?$L(e.dataKey):void 0,payload:`payload`in e?e.payload:void 0,color:`color`in e?eR(e.color):void 0,fill:`fill`in e?eR(e.fill):void 0}}function nR(e,t){return e??t}var rR=(e,t,n,r,i,a,o)=>{if(!(t==null||a==null)){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=n;return e.reduce((e,n)=>{var{dataDefinedOnItem:d,settings:f}=n,p=nR(d,s),m=Array.isArray(p)?mC(p,l,u):p,h=f?.dataKey??r,g=f?.nameKey,_=r&&Array.isArray(m)&&!Array.isArray(m[0])&&o===`axis`?ey(m,r,i):a(m,t,c,g);return Array.isArray(_)?_.forEach(t=>{var n=tR(t),r=n?.name,i=n?.dataKey,a=n?.payload,o=qL(qL({},f),{},{name:r,unit:n?.unit,color:n?.color??f?.color,fill:n?.fill??f?.fill});e.push(LC({tooltipEntrySettings:o,dataKey:i,payload:a,value:SC(a,i),name:r==null?void 0:String(r)}))}):e.push(LC({tooltipEntrySettings:f,dataKey:h,payload:_,value:SC(_,h),name:SC(_,g)??f?.name})),e},[])}},iR=$([BF,gF,EO],JP),aR=$([$([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),BF,$([ak,ok],_F)],bF,{memoizeOptions:{resultEqualityCheck:rk}}),oR=$([aR],e=>e.filter(tk)),sR=$([aR],TF,{memoizeOptions:{resultEqualityCheck:rk}}),cR=$([aR],e=>e.some(e=>!e.data)),lR=$([sR,$D],OF),uR=$([oR,$D,BF],ek),dR=$([lR,BF,aR,$D,cR,sR],jF),fR=$([BF],qF),pR=$([fR,$([BF],e=>e.allowDataOverflow)],cO),mR=$([$([uR,$([aR],e=>e.filter(tk)),wO,TO],UF),$D,ak,pR],GF),hR=$([lR,BF,$([aR],CF),ZF,ak,aO],eI,{memoizeOptions:{resultEqualityCheck:nk}}),gR=$([$([iI,ak,ok],aI),ak],dI),_R=$([$([sI,ak,ok],aI),ak],pI),vR=$([BF,vw,lR,dR,wO,ak,$([BF,fR,pR,mR,hR,$([gR,$([$([lI,ak,ok],aI),ak],_I),_R],$F),vw,ak],yI)],SI),yR=$([BF,vR,$([vR,BF,iR],TI),ak],DI),bR=e=>II(e,ak(e),ok(e),!1),xR=$([BF,bR],NO),SR=$([vw,BF,iR,$([$([BF,iR,yR,xR],GP)],sk),bR,$([vw,dR,BF,ak],rL),$([vw,dR,BF,ak],zI),ak],(e,t,n,r,i,a,o,s)=>{if(t){var{type:c}=t,l=wC(e,s);if(r){var u=n===`scaleBand`&&r.bandwidth?r.bandwidth()/2:2,d=c===`category`&&r.bandwidth?r.bandwidth()/u:0;return d=s===`angleAxis`&&i!=null&&i?.length>=2?Gv(i[0]-i[1])*2*d:d,l&&o?o.map((e,t)=>{var n=r.map(e);return hC(n)?{coordinate:n+d,value:e,index:t,offset:d}:null}).filter(ry):r.domain().map((e,t)=>{var n=r.map(e);return hC(n)?{coordinate:n+d,value:a?a[e]:e,index:t,offset:d}:null}).filter(ry)}}}),CR=$([lL,uL,mL],(e,t,n)=>dL(n.shared,e,t)),wR=e=>e.tooltip.settings.trigger,TR=e=>e.tooltip.settings.defaultIndex,ER=$([GL,CR,wR,TR],LL),DR=$([ER,lR,VF,vR],VL),OR=$([SR,DR],pL),kR=$([ER],e=>{if(e)return e.dataKey}),AR=$([ER],e=>{if(e)return e.graphicalItemId}),jR=$([GL,CR,wR,TR],UL),MR=$([ER,$([VC,HC,vw,aw,SR,TR,jR],HL)],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),NR=$([ER],e=>e?.active??!1);$([$([jR,DR,$D,VF,OR,WL,CR],rR)],e=>{if(e!=null){var t=e.map(e=>e.payload).filter(e=>e!=null);return Array.from(new Set(t))}});function PR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?PR(Object(n),!0).forEach(function(t){IR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function IR(e,t,n){return(t=LR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LR(e){var t=RR(e,`string`);return typeof t==`symbol`?t:t+``}function RR(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var zR=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.relativeY};if(e===`vertical`)return{x:r.relativeX,y:i.coordinate}}return{x:0,y:0}},BR=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`centric`){var a=i.coordinate,{radius:o}=r;return FR(FR(FR({},r),DD(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:c}=r;return FR(FR(FR({},r),DD(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function VR(e,t){var{relativeX:n,relativeY:r}=e;return n>=t.left&&n<=t.left+t.width&&r>=t.top&&r<=t.top+t.height}var HR=(e,t,n,r,i)=>{var a=t?.length??0;if(a<=1||e==null)return 0;if(r===`angleAxis`&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var o=0;o<a;o++){var s=o>0?n[o-1]?.coordinate:n[a-1]?.coordinate,c=n[o]?.coordinate,l=o>=a-1?n[0]?.coordinate:n[o+1]?.coordinate,u=void 0;if(!(s==null||c==null||l==null))if(Gv(c-s)!==Gv(l-c)){var d=[];if(Gv(l-c)===Gv(i[1]-i[0])){u=l;var f=c+i[1]-i[0];d[0]=Math.min(f,(f+s)/2),d[1]=Math.max(f,(f+s)/2)}else{u=s;var p=l+i[1]-i[0];d[0]=Math.min(c,(p+c)/2),d[1]=Math.max(c,(p+c)/2)}var m=[Math.min(c,(u+c)/2),Math.max(c,(u+c)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1])return n[o]?.index}else{var h=Math.min(s,l),g=Math.max(s,l);if(e>(h+c)/2&&e<=(g+c)/2)return n[o]?.index}}else if(t)for(var _=0;_<a;_++){var v=t[_];if(v!=null){var y=t[_+1],b=t[_-1];if(_===0&&y!=null&&e<=(v.coordinate+y.coordinate)/2||_===a-1&&b!=null&&e>(v.coordinate+b.coordinate)/2||_>0&&_<a-1&&b!=null&&y!=null&&e>(v.coordinate+b.coordinate)/2&&e<=(v.coordinate+y.coordinate)/2)return v.index}}return-1},UR=(e,t)=>t,WR=(e,t,n)=>n,GR=(e,t,n,r)=>r,KR=$(SR,e=>(0,pb.default)(e,e=>e.coordinate)),qR=$([GL,UR,WR,GR],LL),JR=$([qR,lR,VF,vR],VL),YR=$([GL,UR,WR,GR],UL),XR=$([VC,HC,vw,aw,SR,GR,YR],HL);$([qR,XR],(e,t)=>e.coordinate??t),$([YR,JR,$D,VF,$([SR,JR],pL),WL,UR],rR),$([qR,JR],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t}));var ZR=(e,t,n,r,i,a,o)=>{if(!(!e||!n||!r||!i)&&VR(e,o)){var s=HR(zC(e,t),a,i,n,r),c=zR(t,i,s,e);return{activeIndex:String(s),activeCoordinate:c}}},QR=(e,t,n,r,i,a,o)=>{if(!(!e||!r||!i||!a||!n)){var s=ND(e,n);if(s){var c=HR(BC(s,t),o,a,r,i),l=BR(t,a,c,s);return{activeIndex:String(c),activeCoordinate:l}}}},$R=(e,t,n,r,i,a,o,s)=>{if(!(!e||!t||!r||!i||!a))return t===`horizontal`||t===`vertical`?ZR(e,t,r,i,a,o,s):QR(e,t,n,r,i,a,o)},ez=$(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var r=e[t];if(r!=null)return n?r.panoramaElement:r.element}}),tz=$(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(AO));return Array.from(new Set(t)).sort((e,t)=>e-t)},{memoizeOptions:{resultEqualityCheck:ik}});function nz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nz(Object(n),!0).forEach(function(t){iz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iz(e,t,n){return(t=az(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function az(e){var t=oz(e,`string`);return typeof t==`symbol`?t:t+``}function oz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sz={zIndexMap:Object.values(AO).reduce((e,t)=>rz(rz({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},cz=new Set(Object.values(AO));function lz(e){return cz.has(e)}var uz=bS({name:`zIndex`,initialState:sz,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:aS()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(--e.zIndexMap[n].consumers,e.zIndexMap[n].consumers<=0&&!lz(n)&&delete e.zIndexMap[n])},prepare:aS()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:r,isPanorama:i}=t.payload;e.zIndexMap[n]?i?e.zIndexMap[n].panoramaElement=yT(r):e.zIndexMap[n].element=yT(r):e.zIndexMap[n]={consumers:0,element:i?void 0:yT(r),panoramaElement:i?yT(r):void 0}},prepare:aS()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:aS()}}}),{registerZIndexPortal:dz,unregisterZIndexPortal:fz,registerZIndexPortalElement:pz,unregisterZIndexPortalElement:mz}=uz.actions,hz=uz.reducer;function gz(e){var{zIndex:t,children:n}=e,r=Sw()&&t!==void 0&&t!==0,i=lw(),a=(0,B.useRef)(void 0),o=(0,B.useRef)(new Set),s=Hy(),c=Q(e=>ez(e,t,i));if((0,B.useLayoutEffect)(()=>{if(!r){var e=o.current;e.forEach(e=>{s(fz({zIndex:e}))}),e.clear(),a.current=void 0;return}if(o.current.has(t)||(s(dz({zIndex:t})),o.current.add(t)),c){a.current=c;var n=o.current;n.forEach(e=>{e!==t&&(s(fz({zIndex:e})),n.delete(e))})}},[s,t,r,c]),(0,B.useLayoutEffect)(()=>{var e=o.current;return()=>{e.forEach(e=>{s(fz({zIndex:e}))}),e.clear()}},[s]),!r)return n;var l=c??a.current;return l?(0,vs.createPortal)(n,l):null}var _z=(0,B.createContext)(null),vz=l(o(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1).default,yz=new vz,bz=`recharts.syncEvent.tooltip`,xz=`recharts.syncEvent.brush`,Sz=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!Kv(n))return e[n]}},Cz=bS({name:`options`,initialState:{chartName:``,tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:`axis`},reducers:{createEventEmitter:e=>{e.eventEmitter??=Symbol(`rechartsEventEmitter`)}}}),wz=Cz.reducer,{createEventEmitter:Tz}=Cz.actions,Ez=bS({name:`chartData`,initialState:{chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},reducers:{setChartData(e,t){if(e.chartData=yT(t.payload),t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:r}=t.payload;n!=null&&(e.dataStartIndex=n),r!=null&&(e.dataEndIndex=r)}}}),{setChartData:Dz,setDataStartEndIndexes:Oz,setComputedData:kz}=Ez.actions,Az=Ez.reducer,jz=[`x`,`y`];function Mz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Mz(Object(n),!0).forEach(function(t){Pz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pz(e,t,n){return(t=Fz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fz(e){var t=Iz(e,`string`);return typeof t==`symbol`?t:t+``}function Iz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Lz(e,t){if(e==null)return{};var n,r,i=Rz(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Rz(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function zz(){var e=Q(DO),t=Q(kO),n=Hy(),r=Q(OO),i=Q(SR),a=yw(),o=hw();(0,B.useEffect)(()=>{if(e==null)return iy;var s=(s,c,l)=>{if(t!==l&&e===s){if(c.payload.active===!1){n(DL({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(r===`index`){var u;if(o&&c!=null&&(u=c.payload)!=null&&u.coordinate&&c.payload.sourceViewBox){var d=c.payload.coordinate,{x:f,y:p}=d,m=Lz(d,jz),{x:h,y:g,width:_,height:v}=c.payload.sourceViewBox,y=Nz(Nz({},m),{},{x:o.x+(_?(f-h)/_:0)*o.width,y:o.y+(v?(p-g)/v:0)*o.height});n(Nz(Nz({},c),{},{payload:Nz(Nz({},c.payload),{},{coordinate:y})}))}else n(c);return}if(i!=null){var b;typeof r==`function`?b=i[r(i,{activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate})]:r===`value`&&(b=i.find(e=>String(e.value)===c.payload.label));var{coordinate:x}=c.payload;if(x==null||o==null){n(DL({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(b==null){n(DL({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:S,y:C}=x,w=Math.min(S,o.x+o.width),T=Math.min(C,o.y+o.height),E={x:a===`horizontal`?b.coordinate:w,y:a===`horizontal`?T:b.coordinate};n(DL({active:c.payload.active,coordinate:E,dataKey:c.payload.dataKey,index:String(b.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId}))}}};return yz.on(bz,s),()=>{yz.off(bz,s)}},[Q(e=>e.rootProps.className),n,t,e,r,i,a,o])}function Bz(){var e=Q(DO),t=Q(kO),n=Hy();(0,B.useEffect)(()=>{if(e==null)return iy;var r=(r,i,a)=>{t!==a&&e===r&&n(Oz(i))};return yz.on(xz,r),()=>{yz.off(xz,r)}},[n,t,e])}function Vz(){var e=Hy();(0,B.useEffect)(()=>{e(Tz())},[e]),zz(),Bz()}var Hz=e=>null;Hz.displayName=`Cell`;function Uz(e,t,n){return(t=Wz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wz(e){var t=Gz(e,`string`);return typeof t==`symbol`?t:t+``}function Gz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Kz=class{constructor(e){Uz(this,`cache`,new Map),this.maxSize=e}get(e){var t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;n!=null&&this.cache.delete(n)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}};function qz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qz(Object(n),!0).forEach(function(t){Yz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yz(e,t,n){return(t=Xz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xz(e){var t=Zz(e,`string`);return typeof t==`symbol`?t:t+``}function Zz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Qz=Jz({},{cacheSize:2e3,enableCache:!0}),$z=new Kz(Qz.cacheSize),eB={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},tB=`recharts_measurement_span`;function nB(e,t){return`${e}|${t.fontSize||``}|${t.fontFamily||``}|${t.fontWeight||``}|${t.fontStyle||``}|${t.letterSpacing||``}|${t.textTransform||``}`}var rB=(e,t)=>{try{var n=document.getElementById(tB);n||(n=document.createElement(`span`),n.setAttribute(`id`,tB),n.setAttribute(`aria-hidden`,`true`),document.body.appendChild(n)),Object.assign(n.style,eB,t),n.textContent=`${e}`;var r=n.getBoundingClientRect();return{width:r.width,height:r.height}}catch{return{width:0,height:0}}},iB=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||KT.isSsr)return{width:0,height:0};if(!Qz.enableCache)return rB(e,t);var n=nB(e,t),r=$z.get(n);if(r)return r;var i=rB(e,t);return $z.set(n,i),i},aB;function oB(e,t,n){return(t=sB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sB(e){var t=cB(e,`string`);return typeof t==`symbol`?t:t+``}function cB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var lB=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,uB=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,dB=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,fB=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,pB={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},mB=[`cm`,`mm`,`pt`,`pc`,`in`,`Q`,`px`];function hB(e){return mB.includes(e)}var gB=`NaN`;function _B(e,t){return e*pB[t]}var vB=class e{static parse(t){var[,n,r]=fB.exec(t)??[];return n==null?e.NaN:new e(parseFloat(n),r??``)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,Kv(e)&&(this.unit=``),t!==``&&!dB.test(t)&&(this.num=NaN,this.unit=``),hB(t)&&(this.num=_B(e,t),this.unit=`px`)}add(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}subtract(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}multiply(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}toString(){return`${this.num}${this.unit}`}isNaN(){return Kv(this.num)}};aB=vB,oB(vB,`NaN`,new aB(NaN,``));function yB(e){if(e==null||e.includes(gB))return gB;for(var t=e;t.includes(`*`)||t.includes(`/`);){var[,n,r,i]=lB.exec(t)??[],a=vB.parse(n??``),o=vB.parse(i??``),s=r===`*`?a.multiply(o):a.divide(o);if(s.isNaN())return gB;t=t.replace(lB,s.toString())}for(;t.includes(`+`)||/.-\d+(?:\.\d+)?/.test(t);){var[,c,l,u]=uB.exec(t)??[],d=vB.parse(c??``),f=vB.parse(u??``),p=l===`+`?d.add(f):d.subtract(f);if(p.isNaN())return gB;t=t.replace(uB,p.toString())}return t}var bB=/\(([^()]*)\)/;function xB(e){for(var t=e,n;(n=bB.exec(t))!=null;){var[,r]=n;t=t.replace(bB,yB(r))}return t}function SB(e){var t=e.replace(/\s+/g,``);return t=xB(t),t=yB(t),t}function CB(e){try{return SB(e)}catch{return gB}}function wB(e){var t=CB(e.slice(5,-1));return t===gB?``:t}var TB=[`x`,`y`,`lineHeight`,`capHeight`,`fill`,`scaleToFit`,`textAnchor`,`verticalAnchor`],EB=[`dx`,`dy`,`angle`,`className`,`breakAll`];function DB(){return DB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DB.apply(null,arguments)}function OB(e,t){if(e==null)return{};var n,r,i=kB(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function kB(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var AB=/[ \f\n\r\t\v\u2028\u2029]+/,jB=e=>{var{children:t,breakAll:n,style:r}=e;try{var i=[];return ty(t)||(i=n?t.toString().split(``):t.toString().split(AB)),{wordsWithComputedWidth:i.map(e=>({word:e,width:iB(e,r).width})),spaceWidth:n?0:iB(`\xA0`,r).width}}catch{return null}};function MB(e){return e===`start`||e===`middle`||e===`end`||e===`inherit`}function NB(e){return ty(e)||typeof e==`string`||typeof e==`number`||typeof e==`boolean`}var PB=(e,t,n,r)=>e.reduce((e,i)=>{var{word:a,width:o}=i,s=e[e.length-1];if(s&&o!=null&&(t==null||r||s.width+o+n<Number(t)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[]),FB=e=>e.reduce((e,t)=>e.width>t.width?e:t),IB=`…`,LB=(e,t,n,r,i,a,o,s)=>{var c=jB({breakAll:n,style:r,children:e.slice(0,t)+IB});if(!c)return[!1,[]];var l=PB(c.wordsWithComputedWidth,a,o,s);return[l.length>i||FB(l).width>Number(a),l]},RB=(e,t,n,r,i)=>{var{maxLines:a,children:o,style:s,breakAll:c}=e,l=Z(a),u=String(o),d=PB(t,r,n,i);if(!l||i||!(d.length>a||FB(d).width>Number(r)))return d;for(var f=0,p=u.length-1,m=0,h;f<=p&&m<=u.length-1;){var g=Math.floor((f+p)/2),[_,v]=LB(u,g-1,c,s,a,r,n,i),[y]=LB(u,g,c,s,a,r,n,i);if(!_&&!y&&(f=g+1),_&&y&&(p=g-1),!_&&y){h=v;break}m++}return h||d},zB=e=>[{words:ty(e)?[]:e.toString().split(AB),width:void 0}],BB=e=>{var{width:t,scaleToFit:n,children:r,style:i,breakAll:a,maxLines:o}=e;if((t||n)&&!KT.isSsr){var s,c,l=jB({breakAll:a,children:r,style:i});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return zB(r);return RB({breakAll:a,children:r,maxLines:o,style:i},s,c,t,!!n)}return zB(r)},VB=`#808080`,HB={angle:0,breakAll:!1,capHeight:`0.71em`,fill:VB,lineHeight:`1em`,scaleToFit:!1,textAnchor:`start`,verticalAnchor:`end`,x:0,y:0},UB=(0,B.forwardRef)((e,t)=>{var n=Oy(e,HB),{x:r,y:i,lineHeight:a,capHeight:o,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=n,d=OB(n,TB),f=(0,B.useMemo)(()=>BB({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:p,dy:m,angle:h,className:g,breakAll:_}=d,v=OB(d,EB);if(!Jv(r)||!Jv(i)||f.length===0)return null;var y=Number(r)+(Z(p)?p:0),b=Number(i)+(Z(m)?m:0);if(!hC(y)||!hC(b))return null;var x;switch(u){case`start`:x=wB(`calc(${o})`);break;case`middle`:x=wB(`calc(${(f.length-1)/2} * -${a} + (${o} / 2))`);break;default:x=wB(`calc(${f.length-1} * -${a})`);break}var S=[],C=f[0];if(c&&C!=null){var w=C.width,{width:T}=d;S.push(`scale(${Z(T)&&Z(w)?T/w:1})`)}return h&&S.push(`rotate(${h}, ${y}, ${b})`),S.length&&(v.transform=S.join(` `)),B.createElement(`text`,DB({},Qg(v),{ref:t,x:y,y:b,className:H(`recharts-text`,g),textAnchor:l,fill:s.includes(`url`)?VB:s}),f.map((e,t)=>{var n=e.words.join(_?``:` `);return B.createElement(`tspan`,{x:y,dy:t===0?x:a,key:`${n}-${t}`},n)}))});UB.displayName=`Text`;function WB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WB(Object(n),!0).forEach(function(t){KB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function KB(e,t,n){return(t=qB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qB(e){var t=JB(e,`string`);return typeof t==`symbol`?t:t+``}function JB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var YB=e=>{var{viewBox:t,position:n,offset:r=0,parentViewBox:i,clamp:a}=e,{x:o,y:s,height:c,upperWidth:l,lowerWidth:u}=mw(t),d=o,f=o+(l-u)/2,p=(d+f)/2,m=(l+u)/2,h=d+l/2,g=c>=0?1:-1,_=g*r,v=g>0?`end`:`start`,y=g>0?`start`:`end`,b=l>=0?1:-1,x=b*r,S=b>0?`end`:`start`,C=b>0?`start`:`end`,w=i;if(n===`top`){var T={x:d+l/2,y:s-_,horizontalAnchor:`middle`,verticalAnchor:v};return a&&w&&(T.height=Math.max(s-w.y,0),T.width=l),T}if(n===`bottom`){var E={x:f+u/2,y:s+c+_,horizontalAnchor:`middle`,verticalAnchor:y};return a&&w&&(E.height=Math.max(w.y+w.height-(s+c),0),E.width=u),E}if(n===`left`){var D={x:p-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`};return a&&w&&(D.width=Math.max(D.x-w.x,0),D.height=c),D}if(n===`right`){var O={x:p+m+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`};return a&&w&&(O.width=Math.max(w.x+w.width-O.x,0),O.height=c),O}var k=a&&w?{width:m,height:c}:{};return n===`insideLeft`?GB({x:p+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`},k):n===`insideRight`?GB({x:p+m-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`},k):n===`insideTop`?GB({x:d+l/2,y:s+_,horizontalAnchor:`middle`,verticalAnchor:y},k):n===`insideBottom`?GB({x:f+u/2,y:s+c-_,horizontalAnchor:`middle`,verticalAnchor:v},k):n===`insideTopLeft`?GB({x:d+x,y:s+_,horizontalAnchor:C,verticalAnchor:y},k):n===`insideTopRight`?GB({x:d+l-x,y:s+_,horizontalAnchor:S,verticalAnchor:y},k):n===`insideBottomLeft`?GB({x:f+x,y:s+c-_,horizontalAnchor:C,verticalAnchor:v},k):n===`insideBottomRight`?GB({x:f+u-x,y:s+c-_,horizontalAnchor:S,verticalAnchor:v},k):n&&typeof n==`object`&&(Z(n.x)||qv(n.x))&&(Z(n.y)||qv(n.y))?GB({x:o+Zv(n.x,m),y:s+Zv(n.y,c),horizontalAnchor:`end`,verticalAnchor:`end`},k):GB({x:h,y:s+c/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},k)},XB=[`labelRef`],ZB=[`content`];function QB(e,t){if(e==null)return{};var n,r,i=$B(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $B(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function eV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eV(Object(n),!0).forEach(function(t){nV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nV(e,t,n){return(t=rV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rV(e){var t=iV(e,`string`);return typeof t==`symbol`?t:t+``}function iV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function aV(){return aV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aV.apply(null,arguments)}var oV=(0,B.createContext)(null),sV=e=>{var{x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o,children:s}=e,c=(0,B.useMemo)(()=>({x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o}),[t,n,r,i,a,o]);return B.createElement(oV.Provider,{value:c},s)},cV=()=>{var e=(0,B.useContext)(oV),t=hw();return e||(t?mw(t):void 0)},lV=(0,B.createContext)(null),uV=()=>{var e=(0,B.useContext)(lV),t=Q(XO);return e||t},dV=e=>{var{value:t,formatter:n}=e,r=ty(e.children)?t:e.children;return typeof n==`function`?n(r):r},fV=e=>e!=null&&typeof e==`function`,pV=(e,t)=>Gv(t-e)*Math.min(Math.abs(t-e),360),mV=(e,t,n,r,i)=>{var{offset:a,className:o}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:f,clockWise:p}=i,m=(l+u)/2,h=pV(d,f),g=h>=0?1:-1,_,v;switch(t){case`insideStart`:_=d+g*a,v=p;break;case`insideEnd`:_=f-g*a,v=!p;break;case`end`:_=f+g*a,v=p;break;default:throw Error(`Unsupported position ${t}`)}v=h<=0?v:!v;var y=DD(s,c,m,_),b=DD(s,c,m,_+(v?1:-1)*359),x=`M${y.x},${y.y}
178
+ A${m},${m},0,1,${+!v},
179
+ ${b.x},${b.y}`,S=ty(e.id)?Xv(`recharts-radial-line-`):e.id;return B.createElement(`text`,aV({},r,{dominantBaseline:`central`,className:H(`recharts-radial-bar-label`,o)}),B.createElement(`defs`,null,B.createElement(`path`,{id:S,d:x})),B.createElement(`textPath`,{xlinkHref:`#${S}`},n))},hV=(e,t,n)=>{var{cx:r,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(n===`outside`){var{x:u,y:d}=DD(r,i,o+t,l);return{x:u,y:d,textAnchor:u>=r?`start`:`end`,verticalAnchor:`middle`}}if(n===`center`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`middle`};if(n===`centerTop`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`start`};if(n===`centerBottom`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`end`};var{x:f,y:p}=DD(r,i,(a+o)/2,l);return{x:f,y:p,textAnchor:`middle`,verticalAnchor:`middle`}},gV=e=>e!=null&&`cx`in e&&Z(e.cx),_V={angle:0,offset:5,zIndex:AO.label,position:`middle`,textBreakAll:!1};function vV(e){if(!gV(e))return e;var{cx:t,cy:n,outerRadius:r}=e,i=r*2;return{x:t-r,y:n-r,width:i,upperWidth:i,lowerWidth:i,height:i}}function yV(e){var t=Oy(e,_V),{viewBox:n,parentViewBox:r,position:i,value:a,children:o,content:s,className:c=``,textBreakAll:l,labelRef:u}=t,d=uV(),f=cV(),p=n==null?i===`center`?f:d??f:gV(n)?n:mw(n),m,h,g=vV(p);if(!p||ty(a)&&ty(o)&&!(0,B.isValidElement)(s)&&typeof s!=`function`)return null;var _=tV(tV({},t),{},{viewBox:p});if((0,B.isValidElement)(s)){var{labelRef:v}=_;return(0,B.cloneElement)(s,QB(_,XB))}if(typeof s==`function`){var{content:y}=_;if(m=(0,B.createElement)(s,QB(_,ZB)),(0,B.isValidElement)(m))return m}else m=dV(t);var b=Qg(t);if(gV(p)){if(i===`insideStart`||i===`insideEnd`||i===`end`)return mV(t,i,m,b,p);h=hV(p,t.offset,t.position)}else{if(!g)return null;var x=YB({viewBox:g,position:i,offset:t.offset,parentViewBox:gV(r)?void 0:r,clamp:!0});h=tV(tV({x:x.x,y:x.y,textAnchor:x.horizontalAnchor,verticalAnchor:x.verticalAnchor},x.width===void 0?{}:{width:x.width}),x.height===void 0?{}:{height:x.height})}return B.createElement(gz,{zIndex:t.zIndex},B.createElement(UB,aV({ref:u,className:H(`recharts-label`,c)},b,h,{textAnchor:MB(b.textAnchor)?b.textAnchor:h.textAnchor,breakAll:l}),m))}yV.displayName=`Label`;var bV=(e,t,n)=>{if(!e)return null;var r={viewBox:t,labelRef:n};return e===!0?B.createElement(yV,aV({key:`label-implicit`},r)):Jv(e)?B.createElement(yV,aV({key:`label-implicit`,value:e},r)):(0,B.isValidElement)(e)?e.type===yV?(0,B.cloneElement)(e,tV({key:`label-implicit`},r)):B.createElement(yV,aV({key:`label-implicit`,content:e},r)):fV(e)?B.createElement(yV,aV({key:`label-implicit`,content:e},r)):e&&typeof e==`object`?B.createElement(yV,aV({},e,{key:`label-implicit`},r)):null};function xV(e){var{label:t,labelRef:n}=e;return bV(t,cV(),n)||null}var SV=[`valueAccessor`],CV=[`dataKey`,`clockWise`,`id`,`textBreakAll`,`zIndex`];function wV(){return wV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wV.apply(null,arguments)}function TV(e,t){if(e==null)return{};var n,r,i=EV(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function EV(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var DV=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(NB(t))return t},OV=(0,B.createContext)(void 0),kV=OV.Provider,AV=(0,B.createContext)(void 0),jV=AV.Provider;function MV(){return(0,B.useContext)(OV)}function NV(){return(0,B.useContext)(AV)}function PV(e){var{valueAccessor:t=DV}=e,n=TV(e,SV),{dataKey:r,clockWise:i,id:a,textBreakAll:o,zIndex:s}=n,c=TV(n,CV),l=MV(),u=NV(),d=l||u;return!d||!d.length?null:B.createElement(gz,{zIndex:s??AO.label},B.createElement(c_,{className:`recharts-label-list`},d.map((e,i)=>{var s=ty(r)?t(e,i):SC(e.payload,r),l=ty(a)?{}:{id:`${a}-${i}`};return B.createElement(yV,wV({key:`label-${i}`},Qg(e),c,l,{fill:n.fill??e.fill,parentViewBox:e.parentViewBox,value:s,textBreakAll:o,viewBox:e.viewBox,index:i,zIndex:0}))})))}PV.displayName=`LabelList`;function FV(e){var{label:t}=e;return t?t===!0?B.createElement(PV,{key:`labelList-implicit`}):B.isValidElement(t)||fV(t)?B.createElement(PV,{key:`labelList-implicit`,content:t}):typeof t==`object`?B.createElement(PV,wV({key:`labelList-implicit`},t,{type:String(t.type)})):null:null}var IV=e=>e.graphicalItems.polarItems,LV=$([IV,pF,$([ZO,QO],_F)],bF),RV=$([$([LV],TF),eO],OF),zV=$([RV,pF,LV],AF);$([RV,pF,LV],(e,t,n)=>n.length>0?e.flatMap(e=>n.flatMap(n=>({value:SC(e,t.dataKey??n.dataKey),errorDomain:[]}))).filter(Boolean):t?.dataKey==null?e.map(e=>({value:e,errorDomain:[]})):e.map(e=>({value:SC(e,t.dataKey),errorDomain:[]})));var BV=()=>void 0,VV=$([pF,vw,RV,zV,wO,ZO,$([pF,JF,YF,BV,$([RV,pF,LV,ZF,ZO,iO],eI),BV,vw,ZO],yI)],SI);$([wI,$([pF,VV,$([VV,hF,wI],TI),ZO],DI)],ck);var HV=bS({name:`polarAxis`,initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=yT(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=yT(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:UV,removeRadiusAxis:WV,addAngleAxis:GV,removeAngleAxis:KV}=HV.actions,qV=HV.reducer;function JV(e){return e&&typeof e==`object`&&`className`in e&&typeof e.className==`string`?e.className:``}function YV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function XV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?YV(Object(n),!0).forEach(function(t){ZV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ZV(e,t,n){return(t=QV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QV(e){var t=$V(e,`string`);return typeof t==`symbol`?t:t+``}function $V(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var eH=$([IV,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`pie`).find(e=>e.id===t)),tH=[],nH=(e,t,n)=>n?.length===0?tH:n,rH=$([eO,eH,nH],(e,t,n)=>{var{chartData:r}=e;if(t!=null){var i=t?.data!=null&&t.data.length>0?t.data:r;if((!i||!i.length)&&n!=null&&(i=n.map(e=>XV(XV({},t.presentationProps),e.props))),i!=null)return i}}),iH=$([rH,eH,nH],(e,t,n)=>{if(!(e==null||t==null))return e.map((e,r)=>{var i,a=SC(e,t.nameKey,t.name),o=n!=null&&(i=n[r])!=null&&(i=i.props)!=null&&i.fill?n[r].props.fill:typeof e==`object`&&e&&`fill`in e?e.fill:t.fill;return{value:RC(a,t.dataKey),color:o,payload:e,type:t.legendType}})}),aH=$([rH,eH,nH,aw],(e,t,n,r)=>{if(!(t==null||e==null))return MU({offset:r,pieSettings:t,displayedData:e,cells:n})}),oH=e=>typeof e==`string`?e:e?e.displayName||e.name||`Component`:``,sH=null,cH=null,lH=e=>{if(e===sH&&Array.isArray(cH))return cH;var t=[];return B.Children.forEach(e,e=>{ty(e)||((0,ln.isFragment)(e)?t=t.concat(lH(e.props.children)):t.push(e))}),cH=t,sH=e,t};function uH(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(e=>oH(e)):[oH(t)],lH(e).forEach(e=>{var t=(0,Wv.default)(e,`type.displayName`)||(0,Wv.default)(e,`type.name`);t&&r.indexOf(t)!==-1&&n.push(e)}),n}var dH=o((e=>{function t(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}e.isPlainObject=t})),fH=o(((e,t)=>{t.exports=dH().isPlainObject})),pH,mH,hH,gH,_H;function vH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vH(Object(n),!0).forEach(function(t){bH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bH(e,t,n){return(t=xH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xH(e){var t=SH(e,`string`);return typeof t==`symbol`?t:t+``}function SH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function CH(){return CH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CH.apply(null,arguments)}function wH(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var TH=(e,t,n,r,i)=>{var a=n-r,o=Uv(pH||=wH([`M `,`,`,``]),e,t);return o+=Uv(mH||=wH([`L `,`,`,``]),e+n,t),o+=Uv(hH||=wH([`L `,`,`,``]),e+n-a/2,t+i),o+=Uv(gH||=wH([`L `,`,`,``]),e+n-a/2-r,t+i),o+=Uv(_H||=wH([`L `,`,`,` Z`]),e,t),o},EH={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},DH=e=>{var t=Oy(e,EH),{x:n,y:r,upperWidth:i,lowerWidth:a,height:o,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,f=(0,B.useRef)(null),[p,m]=(0,B.useState)(-1),h=(0,B.useRef)(i),g=(0,B.useRef)(a),_=(0,B.useRef)(o),v=(0,B.useRef)(n),y=(0,B.useRef)(r),b=YE(e,`trapezoid-`);if((0,B.useEffect)(()=>{if(f.current&&f.current.getTotalLength)try{var e=f.current.getTotalLength();e&&m(e)}catch{}},[]),n!==+n||r!==+r||i!==+i||a!==+a||o!==+o||i===0&&a===0||o===0)return null;var x=H(`recharts-trapezoid`,s);if(!d)return B.createElement(`g`,null,B.createElement(`path`,CH({},Qg(t),{className:x,d:TH(n,r,i,a,o)})));var S=h.current,C=g.current,w=_.current,T=v.current,E=y.current,D=`0px ${p===-1?1:p}px`,O=`${p}px ${p}px`,k=gE([`strokeDasharray`],l,c);return B.createElement(JE,{animationId:b,key:b,canBegin:p>0,duration:l,easing:c,isActive:d,begin:u},e=>{var s=$v(S,i,e),c=$v(C,a,e),l=$v(w,o,e),u=$v(T,n,e),d=$v(E,r,e);f.current&&(h.current=s,g.current=c,_.current=l,v.current=u,y.current=d);var p=e>0?{transition:k,strokeDasharray:O}:{strokeDasharray:D};return B.createElement(`path`,CH({},Qg(t),{className:x,d:TH(u,d,s,c,l),ref:f,style:yH(yH({},p),t.style)}))})},OH=l(fH()),kH=[`option`,`shapeType`,`activeClassName`,`inActiveClassName`];function AH(e,t){if(e==null)return{};var n,r,i=jH(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function jH(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function MH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MH(Object(n),!0).forEach(function(t){PH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PH(e,t,n){return(t=FH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FH(e){var t=IH(e,`string`);return typeof t==`symbol`?t:t+``}function IH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function LH(e,t){return NH(NH({},t),e)}function RH(e,t){return e===`symbols`}function zH(e){var{shapeType:t,elementProps:n}=e;switch(t){case`rectangle`:return B.createElement(yD,n);case`trapezoid`:return B.createElement(DH,n);case`sector`:return B.createElement(JD,n);case`symbols`:if(RH(t,n))return B.createElement(yy,n);break;case`curve`:return B.createElement(lE,n);default:return null}}function BH(e){return(0,B.isValidElement)(e)?e.props:e}function VH(e){var{option:t,shapeType:n,activeClassName:r=`recharts-active-shape`,inActiveClassName:i=`recharts-shape`}=e,a=AH(e,kH),o;if((0,B.isValidElement)(t))o=(0,B.cloneElement)(t,NH(NH({},a),BH(t)));else if(typeof t==`function`)o=t(a,a.index);else if((0,OH.default)(t)&&typeof t!=`boolean`){var s=LH(t,a);o=B.createElement(zH,{shapeType:n,elementProps:s})}else{var c=a;o=B.createElement(zH,{shapeType:n,elementProps:c})}return a.isActive?B.createElement(c_,{className:r},o):B.createElement(c_,{className:i},o)}var HH=(e,t,n)=>{var r=Hy();return(i,a)=>o=>{e?.(i,a,o),r(xL({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}},UH=e=>{var t=Hy();return(n,r)=>i=>{e?.(n,r,i),t(SL())}},WH=(e,t,n)=>{var r=Hy();return(i,a)=>o=>{e?.(i,a,o),r(wL({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}};function GH(e){var{tooltipEntrySettings:t}=e,n=Hy(),r=lw(),i=(0,B.useRef)(null);return(0,B.useLayoutEffect)(()=>{r||(i.current===null?n(_L(t)):i.current!==t&&n(vL({prev:i.current,next:t})),i.current=t)},[t,n,r]),(0,B.useLayoutEffect)(()=>()=>{i.current&&=(n(yL(i.current)),null)},[n]),null}function KH(e){var{legendPayload:t}=e,n=Hy(),r=lw(),i=(0,B.useRef)(null);return(0,B.useLayoutEffect)(()=>{r||(i.current===null?n(CT(t)):i.current!==t&&n(wT({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,B.useLayoutEffect)(()=>()=>{i.current&&=(n(TT(i.current)),null)},[n]),null}function qH(e){var{legendPayload:t}=e,n=Hy(),r=Q(vw),i=(0,B.useRef)(null);return(0,B.useLayoutEffect)(()=>{r!==`centric`&&r!==`radial`||(i.current===null?n(CT(t)):i.current!==t&&n(wT({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,B.useLayoutEffect)(()=>()=>{i.current&&=(n(TT(i.current)),null)},[n]),null}var JH=B.useId??(()=>{var[e]=B.useState(()=>Xv(`uid-`));return e});function YH(e,t){var n=JH();return t||(e?`${e}-${n}`:n)}var XH=(0,B.createContext)(void 0),ZH=e=>{var{id:t,type:n,children:r}=e,i=YH(`recharts-${n}`,t);return B.createElement(XH.Provider,{value:i},r(i))},QH=bS({name:`graphicalItems`,initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(yT(t.payload))},prepare:aS()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Gx(e).cartesianItems.indexOf(yT(n));i>-1&&(e.cartesianItems[i]=yT(r))},prepare:aS()},removeCartesianGraphicalItem:{reducer(e,t){var n=Gx(e).cartesianItems.indexOf(yT(t.payload));n>-1&&e.cartesianItems.splice(n,1)},prepare:aS()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(yT(t.payload))},prepare:aS()},removePolarGraphicalItem:{reducer(e,t){var n=Gx(e).polarItems.indexOf(yT(t.payload));n>-1&&e.polarItems.splice(n,1)},prepare:aS()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Gx(e).polarItems.indexOf(yT(n));i>-1&&(e.polarItems[i]=yT(r))},prepare:aS()}}}),{addCartesianGraphicalItem:$H,replaceCartesianGraphicalItem:eU,removeCartesianGraphicalItem:tU,addPolarGraphicalItem:nU,removePolarGraphicalItem:rU,replacePolarGraphicalItem:iU}=QH.actions,aU=QH.reducer,oU=(0,B.memo)(e=>{var t=Hy(),n=(0,B.useRef)(null);return(0,B.useLayoutEffect)(()=>{n.current===null?t($H(e)):n.current!==e&&t(eU({prev:n.current,next:e})),n.current=e},[t,e]),(0,B.useLayoutEffect)(()=>()=>{n.current&&=(t(tU(n.current)),null)},[t]),null}),sU=(0,B.memo)(e=>{var t=Hy(),n=(0,B.useRef)(null);return(0,B.useLayoutEffect)(()=>{n.current===null?t(nU(e)):n.current!==e&&t(iU({prev:n.current,next:e})),n.current=e},[t,e]),(0,B.useLayoutEffect)(()=>()=>{n.current&&=(t(rU(n.current)),null)},[t]),null}),cU=[`key`],lU=[`onMouseEnter`,`onClick`,`onMouseLeave`],uU=[`id`],dU=[`id`];function fU(){return fU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fU.apply(null,arguments)}function pU(e,t){if(e==null)return{};var n,r,i=mU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function hU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hU(Object(n),!0).forEach(function(t){_U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _U(e,t,n){return(t=vU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vU(e){var t=yU(e,`string`);return typeof t==`symbol`?t:t+``}function yU(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function bU(e){var t=(0,B.useMemo)(()=>uH(e.children,Hz),[e.children]),n=Q(n=>iH(n,e.id,t));return n==null?null:B.createElement(qH,{legendPayload:n})}function xU(e){if(!(e==null||typeof e==`boolean`||typeof e==`function`)){if(B.isValidElement(e)){var t=e.props?.fill;return typeof t==`string`?t:void 0}var{fill:n}=e;return typeof n==`string`?n:void 0}}var SU=B.memo(e=>{var{dataKey:t,nameKey:n,sectors:r,stroke:i,strokeWidth:a,fill:o,name:s,hide:c,tooltipType:l,id:u,activeShape:d}=e,f=xU(d),p={dataDefinedOnItem:r.map(e=>{var t=e.tooltipPayload;return f==null||t==null?t:t.map(e=>gU(gU({},e),{},{color:f,fill:f}))}),getPosition:e=>r[Number(e)]?.tooltipPosition,settings:{stroke:i,strokeWidth:a,fill:o,dataKey:t,nameKey:n,name:RC(s,t),hide:c,type:l,color:o,unit:``,graphicalItemId:u}};return B.createElement(GH,{tooltipEntrySettings:p})}),CU=(e,t)=>e>t?`start`:e<t?`end`:`middle`,wU=(e,t,n)=>Zv(typeof t==`function`?t(e):t,n,n*.8),TU=(e,t,n)=>{var{top:r,left:i,width:a,height:o}=t,s=OD(a,o);return{cx:i+Zv(e.cx,a,a/2),cy:r+Zv(e.cy,o,o/2),innerRadius:Zv(e.innerRadius,s,0),outerRadius:wU(n,e.outerRadius,s),maxRadius:e.maxRadius||Math.sqrt(a*a+o*o)/2}},EU=(e,t)=>Gv(t-e)*Math.min(Math.abs(t-e),360),DU=(e,t)=>{if(B.isValidElement(e))return B.cloneElement(e,t);if(typeof e==`function`)return e(t);var n=H(`recharts-pie-label-line`,typeof e==`boolean`?``:e.className),{key:r}=t,i=pU(t,cU);return B.createElement(lE,fU({},i,{type:`linear`,className:n}))},OU=(e,t,n)=>{if(B.isValidElement(e))return B.cloneElement(e,t);var r=n;if(typeof e==`function`&&(r=e(t),B.isValidElement(r)))return r;var i=H(`recharts-pie-label-text`,JV(e));return B.createElement(UB,fU({},t,{alignmentBaseline:`middle`,className:i}),r)};function kU(e){var{sectors:t,props:n,showLabels:r}=e,{label:i,labelLine:a,dataKey:o}=n;if(!r||!i||!t)return null;var s=Xg(n),c=Zg(i),l=Zg(a),u=typeof i==`object`&&`offsetRadius`in i&&typeof i.offsetRadius==`number`&&i.offsetRadius||20,d=t.map((e,t)=>{var n=(e.startAngle+e.endAngle)/2,r=DD(e.cx,e.cy,e.outerRadius+u,n),d=gU(gU(gU(gU({},s),e),{},{stroke:`none`},c),{},{index:t,textAnchor:CU(r.x,e.cx)},r),f=gU(gU(gU(gU({},s),e),{},{fill:`none`,stroke:e.fill},l),{},{index:t,points:[DD(e.cx,e.cy,e.outerRadius,n),r],key:`line`});return B.createElement(gz,{zIndex:AO.label,key:`label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`},B.createElement(c_,null,a&&DU(a,f),OU(i,d,SC(e,o))))});return B.createElement(c_,{className:`recharts-pie-labels`},d)}function AU(e){var{sectors:t,props:n,showLabels:r}=e,{label:i}=n;return typeof i==`object`&&i&&`position`in i?B.createElement(FV,{label:i}):B.createElement(kU,{sectors:t,props:n,showLabels:r})}function jU(e){var{sectors:t,activeShape:n,inactiveShape:r,allOtherPieProps:i,shape:a,id:o}=e,s=Q(DR),c=Q(kR),l=Q(AR),{onMouseEnter:u,onClick:d,onMouseLeave:f}=i,p=pU(i,lU),m=HH(u,i.dataKey,o),h=UH(f),g=WH(d,i.dataKey,o);return t==null||t.length===0?null:B.createElement(B.Fragment,null,t.map((e,u)=>{if(e?.startAngle===0&&e?.endAngle===0&&t.length!==1)return null;var d=l==null||l===o,f=String(u)===s&&(c==null||i.dataKey===c)&&d,_=n&&f?n:s?r:null,v=gU(gU({},e),{},{stroke:e.stroke,tabIndex:-1,[qC]:u,[JC]:o});return B.createElement(c_,fU({key:`sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${u}`,tabIndex:-1,className:`recharts-pie-sector`},Sy(p,e,u),{onMouseEnter:m(e,u),onMouseLeave:h(e,u),onClick:g(e,u)}),B.createElement(VH,fU({option:a??_,index:u,shapeType:`sector`,isActive:f},v)))}))}function MU(e){var{pieSettings:t,displayedData:n,cells:r,offset:i}=e,{cornerRadius:a,startAngle:o,endAngle:s,dataKey:c,nameKey:l,tooltipType:u}=t,d=Math.abs(t.minAngle),f=EU(o,s),p=Math.abs(f),m=n.length<=1?0:t.paddingAngle??0,h=n.filter(e=>SC(e,c,0)!==0).length,g=(p>=360?h:h-1)*m,_=n.reduce((e,t)=>{var n=SC(t,c,0);return e+(Z(n)?n:0)},0),v=d>0&&_>0&&n.some(e=>{var t=SC(e,c,0),n=(Z(t)?t:0)/_;return t!==0&&n*p<d})?d:0,y=p-h*v-g,b;if(_>0){var x;b=n.map((e,n)=>{var s=SC(e,c,0),d=SC(e,l,n),p=TU(t,i,e),h=(Z(s)?s:0)/_,g,b=gU(gU({},e),r&&r[n]&&r[n].props),S=b!=null&&`fill`in b&&typeof b.fill==`string`?b.fill:t.fill;g=n?x.endAngle+Gv(f)*m*(s===0?0:1):o;var C=g+Gv(f)*((s===0?0:v)+h*y),w=(g+C)/2,T=(p.innerRadius+p.outerRadius)/2,E=[{name:d,value:s,payload:b,dataKey:c,type:u,color:S,fill:S,graphicalItemId:t.id}],D=DD(p.cx,p.cy,T,w);return x=gU(gU(gU(gU({},t.presentationProps),{},{percent:h,cornerRadius:typeof a==`string`?parseFloat(a):a,name:d,tooltipPayload:E,midAngle:w,middleRadius:T,tooltipPosition:D},b),p),{},{value:s,dataKey:c,startAngle:g,endAngle:C,payload:b,paddingAngle:s===0?0:Gv(f)*m}),x})}return b}function NU(e){var{showLabels:t,sectors:n,children:r}=e,i=(0,B.useMemo)(()=>!t||!n?[]:n.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})),[n,t]);return B.createElement(jV,{value:t?i:void 0},r)}function PU(e){var{props:t,previousSectorsRef:n,id:r}=e,{sectors:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,activeShape:l,inactiveShape:u,onAnimationStart:d,onAnimationEnd:f}=t,p=YE(t,`recharts-pie-`),m=n.current,[h,g]=(0,B.useState)(!1),_=(0,B.useCallback)(()=>{typeof f==`function`&&f(),g(!1)},[f]),v=(0,B.useCallback)(()=>{typeof d==`function`&&d(),g(!0)},[d]);return B.createElement(NU,{showLabels:!h,sectors:i},B.createElement(JE,{animationId:p,begin:o,duration:s,isActive:a,easing:c,onAnimationStart:v,onAnimationEnd:_,key:p},e=>{var a=[],o=(i&&i[0])?.startAngle??0;return i?.forEach((t,n)=>{var r=m&&m[n],i=n>0?(0,Wv.default)(t,`paddingAngle`,0):0;if(r){var s=$v(r.endAngle-r.startAngle,t.endAngle-t.startAngle,e),c=gU(gU({},t),{},{startAngle:o+i,endAngle:o+s+i});a.push(c),o=c.endAngle}else{var{endAngle:l,startAngle:u}=t,d=$v(0,l-u,e),f=gU(gU({},t),{},{startAngle:o+i,endAngle:o+d+i});a.push(f),o=f.endAngle}}),n.current=a,B.createElement(c_,null,B.createElement(jU,{sectors:a,activeShape:l,inactiveShape:u,allOtherPieProps:t,shape:t.shape,id:r}))}),B.createElement(AU,{showLabels:!h,sectors:i,props:t}),t.children)}var FU={animationBegin:400,animationDuration:1500,animationEasing:`ease`,cx:`50%`,cy:`50%`,dataKey:`value`,endAngle:360,fill:`#808080`,hide:!1,innerRadius:0,isAnimationActive:`auto`,label:!1,labelLine:!0,legendType:`rect`,minAngle:0,nameKey:`name`,outerRadius:`80%`,paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:`#fff`,zIndex:AO.area};function IU(e){var{id:t}=e,n=pU(e,uU),{hide:r,className:i,rootTabIndex:a}=e,o=(0,B.useMemo)(()=>uH(e.children,Hz),[e.children]),s=Q(e=>aH(e,t,o)),c=(0,B.useRef)(null),l=H(`recharts-pie`,i);return r||s==null?(c.current=null,B.createElement(c_,{tabIndex:a,className:l})):B.createElement(gz,{zIndex:e.zIndex},B.createElement(SU,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:s,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),B.createElement(c_,{tabIndex:a,className:l},B.createElement(PU,{props:gU(gU({},n),{},{sectors:s}),previousSectorsRef:c,id:t})))}function LU(e){var t=Oy(e,FU),{id:n}=t,r=pU(t,dU),i=Xg(r);return B.createElement(ZH,{id:n,type:`pie`},e=>B.createElement(B.Fragment,null,B.createElement(sU,{type:`pie`,id:e,data:r.data,dataKey:r.dataKey,hide:r.hide,angleAxisId:0,radiusAxisId:0,name:r.name,nameKey:r.nameKey,tooltipType:r.tooltipType,legendType:r.legendType,fill:r.fill,cx:r.cx,cy:r.cy,startAngle:r.startAngle,endAngle:r.endAngle,paddingAngle:r.paddingAngle,minAngle:r.minAngle,innerRadius:r.innerRadius,outerRadius:r.outerRadius,cornerRadius:r.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),B.createElement(bU,fU({},r,{id:e})),B.createElement(IU,fU({},r,{id:e}))))}var RU=LU;RU.displayName=`Pie`;function zU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zU(Object(n),!0).forEach(function(t){VU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function VU(e,t,n){return(t=HU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HU(e){var t=UU(e,`string`);return typeof t==`symbol`?t:t+``}function UU(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var WU=bS({name:`cartesianAxis`,initialState:{xAxis:{},yAxis:{},zAxis:{}},reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=yT(t.payload)},prepare:aS()},replaceXAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.xAxis[n.id],e.xAxis[r.id]=yT(r))},prepare:aS()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:aS()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=yT(t.payload)},prepare:aS()},replaceYAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.yAxis[n.id],e.yAxis[r.id]=yT(r))},prepare:aS()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:aS()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=yT(t.payload)},prepare:aS()},replaceZAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.zAxis[n.id],e.zAxis[r.id]=yT(r))},prepare:aS()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:aS()},updateYAxisWidth(e,t){var{id:n,width:r}=t.payload,i=e.yAxis[n];if(i){var a=i.widthHistory||[];if(a.length===3&&a[0]===a[2]&&r===a[1]&&r!==i.width&&Math.abs(r-(a[0]??0))<=1)return;var o=[...a,r].slice(-3);e.yAxis[n]=BU(BU({},i),{},{width:r,widthHistory:o})}}}}),{addXAxis:GU,replaceXAxis:KU,removeXAxis:qU,addYAxis:JU,replaceYAxis:YU,removeYAxis:XU,addZAxis:ZU,replaceZAxis:QU,removeZAxis:$U,updateYAxisWidth:eW}=WU.actions,tW=WU.reducer,nW=$([$([aw],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),VC,HC],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),rW=()=>Q(nW),iW=(e,t,n)=>{var r=n??e;if(!ty(r))return Zv(r,t,0)},aW=(e,t,n)=>{var r={},i=e.filter(tk),a=e.filter(e=>e.stackId==null),o=i.reduce((e,t)=>{var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},r),s=Object.entries(o).map(e=>{var[r,i]=e;return{stackId:r,dataKeys:i.map(e=>e.dataKey),barSize:iW(t,n,i[0]?.barSize)}}),c=a.map(e=>({stackId:void 0,dataKeys:[e.dataKey].filter(e=>e!=null),barSize:iW(t,n,e.barSize)}));return[...s,...c]};function oW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?oW(Object(n),!0).forEach(function(t){cW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cW(e,t,n){return(t=lW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lW(e){var t=uW(e,`string`);return typeof t==`symbol`?t:t+``}function uW(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function dW(e,t,n,r,i){var a=r.length;if(!(a<1)){var o=Zv(e,n,0,!0),s,c=[];if(hC(r[0]?.barSize)){var l=!1,u=n/a,d=r.reduce((e,t)=>e+(t.barSize||0),0);d+=(a-1)*o,d>=n&&(d-=(a-1)*o,o=0),d>=n&&u>0&&(l=!0,u*=.9,d=a*u);var f={offset:((n-d)/2>>0)-o,size:0};s=r.reduce((e,t)=>{var n={stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:f.offset+f.size+o,size:l?u:t.barSize??0}},r=[...e,n];return f=n.position,r},c)}else{var p=Zv(t,n,0,!0);n-2*p-(a-1)*o<=0&&(o=0);var m=(n-2*p-(a-1)*o)/a;m>1&&(m>>=0);var h=hC(i)?Math.min(m,i):m;s=r.reduce((e,t,n)=>[...e,{stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:p+(m+o)*n+(m-h)/2,size:h}}],c)}return s}}var fW=(e,t,n,r,i,a,o)=>{var s=ty(o)?t:o,c=dW(n,r,i===a?a:i,e,s);return i!==a&&c!=null&&(c=c.map(e=>sW(sW({},e),{},{position:sW(sW({},e.position),{},{offset:e.position.offset-i/2})}))),c},pW=(e,t)=>{var n=$O(t);if(!(!e||n==null||t==null)){var{stackId:r}=t;if(r!=null){var i=e[r];if(i){var{stackedData:a}=i;if(a)return a.find(e=>e.key===n)}}}},mW=(e,t)=>{if(!(e==null||t==null)){var n=e.find(e=>e.stackId===t.stackId&&t.dataKey!=null&&e.dataKeys.includes(t.dataKey));if(n!=null)return n.position}};function hW(e,t){return e&&typeof e==`object`&&`zIndex`in e&&typeof e.zIndex==`number`&&hC(e.zIndex)?e.zIndex:t}var gW=e=>{var{chartData:t}=e,n=Hy(),r=lw();return(0,B.useEffect)(()=>r?()=>{}:(n(Dz(t)),()=>{n(Dz(void 0))}),[t,n,r]),null},_W={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},vW=bS({name:`brush`,initialState:_W,reducers:{setBrushSettings(e,t){return t.payload==null?_W:t.payload}}}),{setBrushSettings:yW}=vW.actions,bW=vW.reducer;function xW(e){return(e%180+180)%180}var SW=function(e){var{width:t,height:n}=e,r=xW(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)},CW=bS({name:`referenceElements`,initialState:{dots:[],areas:[],lines:[]},reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=Gx(e).dots.findIndex(e=>e===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=Gx(e).areas.findIndex(e=>e===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(yT(t.payload))},removeLine:(e,t)=>{var n=Gx(e).lines.findIndex(e=>e===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:wW,removeDot:TW,addArea:EW,removeArea:DW,addLine:OW,removeLine:kW}=CW.actions,AW=CW.reducer,jW=(0,B.createContext)(void 0),MW=e=>{var{children:t}=e,[n]=(0,B.useState)(`${Xv(`recharts`)}-clip`),r=rW();if(r==null)return null;var{x:i,y:a,width:o,height:s}=r;return B.createElement(jW.Provider,{value:n},B.createElement(`defs`,null,B.createElement(`clipPath`,{id:n},B.createElement(`rect`,{x:i,y:a,height:s,width:o}))),t)};function NW(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],r=0;r<e.length;r+=t){var i=e[r];i!==void 0&&n.push(i)}return n}function PW(e,t,n){return SW({width:e.width+t.width,height:e.height+t.height},n)}function FW(e,t,n){var r=n===`width`,{x:i,y:a,width:o,height:s}=e;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function IW(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function LW(e,t){return NW(e,t+1)}function RW(e,t,n,r,i){for(var a=(r||[]).slice(),{start:o,end:s}=t,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:NW(r,l)};var a=c,d,f=()=>(d===void 0&&(d=n(t,a)),d),p=t.coordinate,m=c===0||IW(e,p,f,u,s);m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function zW(e,t,n,r,i){var a=(r||[]).slice().length;if(a===0)return[];for(var{start:o,end:s}=t,c=1;c<=a;c++){for(var l=(a-1)%c,u=o,d=!0,f=function(){var t=r[m];if(t==null)return 0;var a=m,o,c=()=>(o===void 0&&(o=n(t,a)),o),f=t.coordinate,p=m===l||IW(e,f,c,u,s);if(!p)return d=!1,1;p&&(u=f+e*(c()/2+i))},p,m=l;m<a&&(p=f(),!(p!==0&&p===1));m+=c);if(d){for(var h=[],g=l;g<a;g+=c){var _=r[g];_!=null&&h.push(_)}return h}}return[]}function BW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?BW(Object(n),!0).forEach(function(t){HW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function HW(e,t,n){return(t=UW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UW(e){var t=WW(e,`string`);return typeof t==`symbol`?t:t+``}function WW(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function GW(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,{start:s}=t,{end:c}=t,l=function(t){var r=a[t];if(r==null)return 1;var l=r,u,d=()=>(u===void 0&&(u=n(r,t)),u);if(t===o-1){var f=e*(l.coordinate+e*d()/2-c);a[t]=l=VW(VW({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=VW(VW({},l),{},{tickCoord:l.coordinate});l.tickCoord!=null&&IW(e,l.tickCoord,d,s,c)&&(c=l.tickCoord-e*(d()/2+i),a[t]=VW(VW({},l),{},{isShow:!0}))},u=o-1;u>=0;u--)if(l(u))continue;return a}function KW(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,{start:c,end:l}=t;if(a){var u=r[s-1];if(u!=null){var d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=VW(VW({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),u.tickCoord!=null&&IW(e,u.tickCoord,()=>d,c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=VW(VW({},u),{},{isShow:!0}))}}for(var p=a?s-1:s,m=function(t){var r=o[t];if(r==null)return 1;var a=r,s,u=()=>(s===void 0&&(s=n(r,t)),s);if(t===0){var d=e*(a.coordinate-e*u()/2-c);o[t]=a=VW(VW({},a),{},{tickCoord:d<0?a.coordinate-d*e:a.coordinate})}else o[t]=a=VW(VW({},a),{},{tickCoord:a.coordinate});a.tickCoord!=null&&IW(e,a.tickCoord,u,c,l)&&(c=a.tickCoord+e*(u()/2+i),o[t]=VW(VW({},a),{},{isShow:!0}))},h=0;h<p;h++)if(m(h))continue;return o}function qW(e,t,n){var{tick:r,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!i||!i.length||!r)return[];if(Z(c)||KT.isSsr)return LW(i,Z(c)?c:0)??[];var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?iB(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=(e,r)=>{var i=typeof l==`function`?l(e.value,r):e.value;return p===`width`?PW(iB(i,{fontSize:t,letterSpacing:n}),m,d):iB(i,{fontSize:t,letterSpacing:n})[p]},g=i[0],_=i[1],v=i.length>=2&&g!=null&&_!=null?Gv(_.coordinate-g.coordinate):1,y=FW(a,v,p);return c===`equidistantPreserveStart`?RW(v,y,h,i,o):c===`equidistantPreserveEnd`?zW(v,y,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?KW(v,y,h,i,o,c===`preserveStartEnd`):GW(v,y,h,i,o),f.filter(e=>e.isShow))}var JW=e=>{var{ticks:t,label:n,labelGapWithTick:r=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){Array.from(t).forEach(e=>{if(e){var t=e.getBoundingClientRect();t.width>o&&(o=t.width)}});var s=n?n.getBoundingClientRect().width:0,c=i+a,l=o+c+s+(n?r:0);return Math.round(l)}return 0},YW=bS({name:`renderedTicks`,initialState:{xAxis:{},yAxis:{}},reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:r,ticks:i}=t.payload;e[n][r]=yT(i)},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:r}=t.payload;delete e[n][r]}}}),{setRenderedTicks:XW,removeRenderedTicks:ZW}=YW.actions,QW=YW.reducer,$W=[`axisLine`,`width`,`height`,`className`,`hide`,`ticks`,`axisType`,`axisId`];function eG(e,t){if(e==null)return{};var n,r,i=tG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function tG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function nG(){return nG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nG.apply(null,arguments)}function rG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?rG(Object(n),!0).forEach(function(t){aG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aG(e,t,n){return(t=oG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oG(e){var t=sG(e,`string`);return typeof t==`symbol`?t:t+``}function sG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var cG={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:`bottom`,ticks:[],stroke:`#666`,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:`preserveEnd`,zIndex:AO.axis};function lG(e){var{x:t,y:n,width:r,height:i,orientation:a,mirror:o,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=iG(iG(iG({},c),Xg(s)),{},{fill:`none`});if(a===`top`||a===`bottom`){var u=+(a===`top`&&!o||a===`bottom`&&o);l=iG(iG({},l),{},{x1:t,y1:n+u*i,x2:t+r,y2:n+u*i})}else{var d=+(a===`left`&&!o||a===`right`&&o);l=iG(iG({},l),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+i})}return B.createElement(`line`,nG({},l,{className:H(`recharts-cartesian-axis-line`,(0,Wv.default)(s,`className`))}))}function uG(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h=s?-1:1,g=e.tickSize||o,_=Z(e.tickCoord)?e.tickCoord:e.coordinate;switch(a){case`top`:l=u=e.coordinate,f=n+ +!s*i,d=f-h*g,m=d-h*c,p=_;break;case`left`:d=f=e.coordinate,u=t+ +!s*r,l=u-h*g,p=l-h*c,m=_;break;case`right`:d=f=e.coordinate,u=t+ +s*r,l=u+h*g,p=l+h*c,m=_;break;default:l=u=e.coordinate,f=n+ +s*i,d=f+h*g,m=d+h*c,p=_;break}return{line:{x1:l,y1:d,x2:u,y2:f},tick:{x:p,y:m}}}function dG(e,t){switch(e){case`left`:return t?`start`:`end`;case`right`:return t?`end`:`start`;default:return`middle`}}function fG(e,t){switch(e){case`left`:case`right`:return`middle`;case`top`:return t?`start`:`end`;default:return t?`end`:`start`}}function pG(e){var{option:t,tickProps:n,value:r}=e,i,a=H(n.className,`recharts-cartesian-axis-tick-value`);if(B.isValidElement(t))i=B.cloneElement(t,iG(iG({},n),{},{className:a}));else if(typeof t==`function`)i=t(iG(iG({},n),{},{className:a}));else{var o=`recharts-cartesian-axis-tick-value`;typeof t!=`boolean`&&(o=H(o,JV(t))),i=B.createElement(UB,nG({},n,{className:o}),r)}return i}function mG(e){var{ticks:t,axisType:n,axisId:r}=e,i=Hy();return(0,B.useEffect)(()=>r==null||n==null?iy:(i(XW({ticks:t.map(e=>({value:e.value,coordinate:e.coordinate,offset:e.offset,index:e.index})),axisId:r,axisType:n})),()=>{i(ZW({axisId:r,axisType:n}))}),[i,t,r,n]),null}var hG=(0,B.forwardRef)((e,t)=>{var{ticks:n=[],tick:r,tickLine:i,stroke:a,tickFormatter:o,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:f,y:p,width:m,height:h,tickSize:g,tickMargin:_,fontSize:v,letterSpacing:y,getTicksConfig:b,events:x,axisType:S,axisId:C}=e,w=qW(iG(iG({},b),{},{ticks:n}),v,y),T=Xg(b),E=Zg(r),D=MB(T.textAnchor)?T.textAnchor:dG(u,d),O=fG(u,d),k={};typeof i==`object`&&(k=i);var A=iG(iG({},T),{},{fill:`none`},k),j=w.map(e=>iG({entry:e},uG(e,f,p,m,h,u,g,d,_))),M=j.map(e=>{var{entry:t,line:n}=e;return B.createElement(c_,{className:`recharts-cartesian-axis-tick`,key:`tick-${t.value}-${t.coordinate}-${t.tickCoord}`},i&&B.createElement(`line`,nG({},A,n,{className:H(`recharts-cartesian-axis-tick-line`,(0,Wv.default)(i,`className`))})))}),N=j.map((e,t)=>{var{entry:n,tick:i}=e,u=iG(iG({},iG(iG(iG(iG({verticalAnchor:O},T),{},{textAnchor:D,stroke:`none`,fill:a},i),{},{index:t,payload:n,visibleTicksCount:w.length,tickFormatter:o,padding:c},l),{},{angle:l?.angle??T.angle??0})),E);return B.createElement(c_,nG({className:`recharts-cartesian-axis-tick-label`,key:`tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`},Sy(x,n,t)),r&&B.createElement(pG,{option:r,tickProps:u,value:`${typeof o==`function`?o(n.value,t):n.value}${s||``}`}))});return B.createElement(`g`,{className:`recharts-cartesian-axis-ticks recharts-${S}-ticks`},B.createElement(mG,{ticks:w,axisId:C,axisType:S}),N.length>0&&B.createElement(gz,{zIndex:AO.label},B.createElement(`g`,{className:`recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref:t},N)),M.length>0&&B.createElement(`g`,{className:`recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines`},M))}),gG=(0,B.forwardRef)((e,t)=>{var{axisLine:n,width:r,height:i,className:a,hide:o,ticks:s,axisType:c,axisId:l}=e,u=eG(e,$W),[d,f]=(0,B.useState)(``),[p,m]=(0,B.useState)(``),h=(0,B.useRef)(null);(0,B.useImperativeHandle)(t,()=>({getCalculatedWidth:()=>JW({ticks:h.current,label:e.labelRef?.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}));var g=(0,B.useCallback)(e=>{if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`);h.current=t;var n=t[0];if(n){var r=window.getComputedStyle(n),i=r.fontSize,a=r.letterSpacing;(i!==d||a!==p)&&(f(i),m(a))}}},[d,p]);return o||r!=null&&r<=0||i!=null&&i<=0?null:B.createElement(gz,{zIndex:e.zIndex},B.createElement(c_,{className:H(`recharts-cartesian-axis`,a)},B.createElement(lG,{x:e.x,y:e.y,width:r,height:i,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:Xg(e)}),B.createElement(hG,{ref:g,axisType:c,events:u,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:l}),B.createElement(sV,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},B.createElement(xV,{label:e.label,labelRef:e.labelRef}),e.children)))}),_G=B.forwardRef((e,t)=>{var n=Oy(e,cG);return B.createElement(gG,nG({},n,{ref:t}))});_G.displayName=`CartesianAxis`;var vG=bS({name:`errorBars`,initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]||(e[n]=[]),e[n].push(r)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:r,next:i}=t.payload;e[n]&&(e[n]=e[n].map(e=>e.dataKey===r.dataKey&&e.direction===r.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]&&(e[n]=e[n].filter(e=>e.dataKey!==r.dataKey||e.direction!==r.direction))}}}),{addErrorBar:yG,replaceErrorBar:bG,removeErrorBar:xG}=vG.actions,SG=vG.reducer,CG=[`children`];function wG(e,t){if(e==null)return{};var n,r,i=TG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function TG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var EG=(0,B.createContext)({data:[],xAxisId:`xAxis-0`,yAxisId:`yAxis-0`,dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function DG(e){var{children:t}=e,n=wG(e,CG);return B.createElement(EG.Provider,{value:n},t)}function OG(e,t){var n=Q(t=>sF(t,e)),r=Q(e=>uF(e,t)),i=n?.allowDataOverflow??aF.allowDataOverflow,a=r?.allowDataOverflow??cF.allowDataOverflow;return{needClip:i||a,needClipX:i,needClipY:a}}function kG(e){var{xAxisId:t,yAxisId:n,clipPathId:r}=e,i=rW(),{needClipX:a,needClipY:o,needClip:s}=OG(t,n);if(!s||!i)return null;var{x:c,y:l,width:u,height:d}=i;return B.createElement(`clipPath`,{id:`clipPath-${r}`},B.createElement(`rect`,{x:a?c:c-u/2,y:o?l:l-d/2,width:a?u:u*2,height:o?d:d*2}))}function AG(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.xAxisId??0}function jG(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.yAxisId??0}var MG=!0,NG=`Invariant failed`;function PG(e,t){if(!e){if(MG)throw Error(NG);var n=typeof t==`function`?t():t,r=n?`${NG}: ${n}`:NG;throw Error(r)}}function FG(){return FG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FG.apply(null,arguments)}function IG(e){return B.createElement(VH,FG({shapeType:`rectangle`,activeClassName:`recharts-active-bar`,inActiveClassName:`recharts-inactive-bar`},e))}var LG=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(n,r)=>{if(Z(e))return e;var i=Z(n)||ty(n);return i?e(n,r):(!i&&PG(!1,`minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`),t)}},RG=(e,t,n)=>n,zG=$([vF,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`bar`).find(e=>e.id===t)),BG=$([zG],e=>e?.maxBarSize),VG=(e,t,n,r)=>r,HG=$([vw,vF,AG,jG,RG],(e,t,n,r,i)=>t.filter(t=>e===`horizontal`?t.xAxisId===n:t.yAxisId===r).filter(e=>e.isPanorama===i).filter(e=>e.hide===!1).filter(e=>e.type===`bar`)),UG=(e,t,n)=>{var r=vw(e),i=AG(e,t),a=jG(e,t);if(!(i==null||a==null))return r===`horizontal`?WF(e,`yAxis`,a,n):WF(e,`xAxis`,i,n)},WG=$([HG,CO,(e,t)=>{var n=vw(e),r=AG(e,t),i=jG(e,t);if(!(r==null||i==null))return n===`horizontal`?nL(e,`xAxis`,r):nL(e,`yAxis`,i)}],aW),GG=(e,t,n)=>{var r=zG(e,t);if(r==null)return 0;var i=AG(e,t),a=jG(e,t);if(i==null||a==null)return 0;var o=vw(e),s=bO(e),{maxBarSize:c}=r,l=ty(c)?s:c,u,d;return o===`horizontal`?(u=sL(e,`xAxis`,i,n),d=oL(e,`xAxis`,i,n)):(u=sL(e,`yAxis`,a,n),d=oL(e,`yAxis`,a,n)),IC(u,d,!0)??l??0},KG=(e,t,n)=>{var r=vw(e),i=AG(e,t),a=jG(e,t);if(!(i==null||a==null)){var o,s;return r===`horizontal`?(o=sL(e,`xAxis`,i,n),s=oL(e,`xAxis`,i,n)):(o=sL(e,`yAxis`,a,n),s=oL(e,`yAxis`,a,n)),IC(o,s)}},qG=$([aw,sw,(e,t,n)=>{var r=AG(e,t);if(r!=null)return sL(e,`xAxis`,r,n)},(e,t,n)=>{var r=jG(e,t);if(r!=null)return sL(e,`yAxis`,r,n)},(e,t,n)=>{var r=AG(e,t);if(r!=null)return oL(e,`xAxis`,r,n)},(e,t,n)=>{var r=jG(e,t);if(r!=null)return oL(e,`yAxis`,r,n)},$([$([WG,bO,xO,SO,GG,KG,BG],fW),zG],mW),vw,nO,KG,$([UG,zG],pW),zG,VG],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=c;if(!(d==null||o==null||t==null||s!==`horizontal`&&s!==`vertical`||n==null||r==null||i==null||a==null||l==null)){var{data:g}=d,_=g!=null&&g.length>0?g:p?.slice(m,h+1);if(_!=null)return kK({layout:s,barSettings:d,pos:o,parentViewBox:t,bandSize:l,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,stackedData:u,displayedData:_,offset:e,cells:f,dataStartIndex:m})}}),JG=[`index`];function YG(){return YG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YG.apply(null,arguments)}function XG(e,t){if(e==null)return{};var n,r,i=ZG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ZG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var QG=(0,B.createContext)(void 0),$G=e=>{var t=(0,B.useContext)(QG);if(t!=null)return t.stackId;if(e!=null)return OC(e)},eK=(e,t)=>`recharts-bar-stack-clip-path-${e}-${t}`,tK=e=>{var t=(0,B.useContext)(QG);if(t!=null){var{stackId:n}=t;return`url(#${eK(n,e)})`}},nK=e=>{var{index:t}=e,n=XG(e,JG),r=tK(t);return B.createElement(c_,YG({className:`recharts-bar-stack-layer`,clipPath:r},n))},rK=[`onMouseEnter`,`onMouseLeave`,`onClick`],iK=[`value`,`background`,`tooltipPosition`],aK=[`id`],oK=[`onMouseEnter`,`onClick`,`onMouseLeave`];function sK(){return sK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sK.apply(null,arguments)}function cK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cK(Object(n),!0).forEach(function(t){uK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uK(e,t,n){return(t=dK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dK(e){var t=fK(e,`string`);return typeof t==`symbol`?t:t+``}function fK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function pK(e,t){if(e==null)return{};var n,r,i=mK(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mK(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var hK=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:RC(n,t),payload:e}]},gK=B.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,unit:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:void 0,getPosition:iy,settings:{stroke:n,strokeWidth:r,fill:i,dataKey:t,nameKey:void 0,name:RC(a,t),hide:o,type:c,color:i,unit:s,graphicalItemId:l}};return B.createElement(GH,{tooltipEntrySettings:u})});function _K(e){var t=Q(DR),{data:n,dataKey:r,background:i,allOtherBarProps:a}=e,{onMouseEnter:o,onMouseLeave:s,onClick:c}=a,l=pK(a,rK),u=HH(o,r,a.id),d=UH(s),f=WH(c,r,a.id);if(!i||n==null)return null;var p=Zg(i);return B.createElement(gz,{zIndex:hW(i,AO.barBackground)},n.map((e,n)=>{var{value:a,background:o,tooltipPosition:s}=e,c=pK(e,iK);if(!o)return null;var m=u(e,n),h=d(e,n),g=f(e,n),_=lK(lK(lK(lK(lK({option:i,isActive:String(n)===t},c),{},{fill:`#eee`},o),p),Sy(l,e,n)),{},{onMouseEnter:m,onMouseLeave:h,onClick:g,dataKey:r,index:n,className:`recharts-bar-background-rectangle`});return B.createElement(IG,sK({key:`background-bar-${n}`},_))}))}function vK(e){var{showLabels:t,children:n,rects:r}=e,i=r?.map(e=>{var t={x:e.x,y:e.y,width:e.width,lowerWidth:e.width,upperWidth:e.width,height:e.height};return lK(lK({},t),{},{value:e.value,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})});return B.createElement(kV,{value:t?i:void 0},n)}function yK(e){var{shape:t,activeBar:n,baseProps:r,entry:i,index:a,dataKey:o}=e,s=Q(DR),c=Q(kR),l=n&&String(i.originalDataIndex)===s&&(c==null||o===c),[u,d]=(0,B.useState)(!1),[f,p]=(0,B.useState)(!1);(0,B.useEffect)(()=>{var e;return l?(d(!0),e=requestAnimationFrame(()=>{p(!0)})):p(!1),()=>{cancelAnimationFrame(e)}},[l]);var m=(0,B.useCallback)(()=>{l||d(!1)},[l]),h=l&&f,g=l||u,_=l?n===!0?t:n:t,v=B.createElement(IG,sK({},r,{name:String(r.name)},i,{isActive:h,option:_,index:a,dataKey:o,onTransitionEnd:m}));return g?B.createElement(gz,{zIndex:AO.activeBar},B.createElement(nK,{index:i.originalDataIndex},v)):v}function bK(e){var{shape:t,baseProps:n,entry:r,index:i,dataKey:a}=e;return B.createElement(IG,sK({},n,{name:String(n.name)},r,{isActive:!1,option:t,index:i,dataKey:a}))}function xK(e){var{data:t,props:n}=e,r=Xg(n)??{},{id:i}=r,a=pK(r,aK),{shape:o,dataKey:s,activeBar:c}=n,{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=pK(n,oK),p=HH(l,s,i),m=UH(d),h=WH(u,s,i);return t?B.createElement(B.Fragment,null,t.map((e,t)=>B.createElement(nK,sK({index:e.originalDataIndex,key:`rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className:`recharts-bar-rectangle`},Sy(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),c?B.createElement(yK,{shape:o,activeBar:c,baseProps:a,entry:e,index:t,dataKey:s}):B.createElement(bK,{shape:o,baseProps:a,entry:e,index:t,dataKey:s})))):null}function SK(e){var{props:t,previousRectanglesRef:n}=e,{data:r,layout:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,onAnimationEnd:l,onAnimationStart:u}=t,d=n.current,f=YE(t,`recharts-bar-`),[p,m]=(0,B.useState)(!1),h=!p,g=(0,B.useCallback)(()=>{typeof l==`function`&&l(),m(!1)},[l]),_=(0,B.useCallback)(()=>{typeof u==`function`&&u(),m(!0)},[u]);return B.createElement(vK,{showLabels:h,rects:r},B.createElement(JE,{animationId:f,begin:o,duration:s,isActive:a,easing:c,onAnimationEnd:g,onAnimationStart:_,key:f},e=>{var a=e===1?r:r?.map((t,n)=>{var r=d&&d[n];if(r)return lK(lK({},t),{},{x:$v(r.x,t.x,e),y:$v(r.y,t.y,e),width:$v(r.width,t.width,e),height:$v(r.height,t.height,e)});if(i===`horizontal`){var a=$v(0,t.height,e),o=$v(t.stackedBarStart,t.y,e);return lK(lK({},t),{},{y:o,height:a})}var s=$v(0,t.width,e),c=$v(t.stackedBarStart,t.x,e);return lK(lK({},t),{},{width:s,x:c})});return e>0&&(n.current=a??null),a==null?null:B.createElement(c_,null,B.createElement(xK,{props:t,data:a}))}),B.createElement(FV,{label:t.label}),t.children)}function CK(e){var t=(0,B.useRef)(null);return B.createElement(SK,{previousRectanglesRef:t,props:e})}var wK=0,TK=(e,t)=>{var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:SC(e,t)}},EK=class extends B.PureComponent{render(){var{hide:e,data:t,dataKey:n,className:r,xAxisId:i,yAxisId:a,needClip:o,background:s,id:c}=this.props;if(e||t==null)return null;var l=H(`recharts-bar`,r),u=c;return B.createElement(c_,{className:l,id:c},o&&B.createElement(`defs`,null,B.createElement(kG,{clipPathId:u,xAxisId:i,yAxisId:a})),B.createElement(c_,{className:`recharts-bar-rectangles`,clipPath:o?`url(#clipPath-${u})`:void 0},B.createElement(_K,{data:t,dataKey:n,background:s,allOtherBarProps:this.props}),B.createElement(CK,this.props)))}},DK={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:`ease`,background:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:wK,xAxisId:0,yAxisId:0,zIndex:AO.bar};function OK(e){var{xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u}=e,{needClip:d}=OG(t,n),f=yw(),p=lw(),m=uH(e.children,Hz),h=Q(t=>qG(t,e.id,p,m));if(f!==`vertical`&&f!==`horizontal`)return null;var g,_=h?.[0];return g=_==null||_.height==null||_.width==null?0:f===`vertical`?_.height/2:_.width/2,B.createElement(DG,{xAxisId:t,yAxisId:n,data:h,dataPointFormatter:TK,errorBarOffset:g},B.createElement(EK,sK({},e,{layout:f,needClip:d,data:h,xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u})))}function kK(e){var{layout:t,barSettings:{dataKey:n,minPointSize:r,hasCustomShape:i},pos:a,bandSize:o,xAxis:s,yAxis:c,xAxisTicks:l,yAxisTicks:u,stackedData:d,displayedData:f,offset:p,cells:m,parentViewBox:h,dataStartIndex:g}=e,_=t===`horizontal`?c:s,v=d?_.scale.domain():null,y=AC({numericAxis:_}),b=_.scale.map(y);return f.map((e,f)=>{var _,x,S,C,w,T;if(d){var E=d[f+g];if(E==null)return null;_=TC(E,v)}else _=SC(e,n),Array.isArray(_)||(_=[y,_]);var D=LG(r,wK)(_[1],f);if(t===`horizontal`){var O=c.scale.map(_[0]),k=c.scale.map(_[1]);if(O==null||k==null)return null;x=kC({axis:s,ticks:l,bandSize:o,offset:a.offset,entry:e,index:f}),S=k??O??void 0,C=a.size;var A=O-k;if(w=Kv(A)?0:A,T={x,y:p.top,width:C,height:p.height},Math.abs(D)>0&&Math.abs(w)<Math.abs(D)){var j=Gv(w||D)*(Math.abs(D)-Math.abs(w));S-=j,w+=j}}else{var M=s.scale.map(_[0]),N=s.scale.map(_[1]);if(M==null||N==null)return null;if(x=M,S=kC({axis:c,ticks:u,bandSize:o,offset:a.offset,entry:e,index:f}),C=N-M,w=a.size,T={x:p.left,y:S,width:p.width,height:w},Math.abs(D)>0&&Math.abs(C)<Math.abs(D)){var P=Gv(C||D)*(Math.abs(D)-Math.abs(C));C+=P}}return x==null||S==null||C==null||w==null||!i&&(C===0||w===0)?null:lK(lK({},e),{},{stackedBarStart:b,x,y:S,width:C,height:w,value:d?_:_[1],payload:e,background:T,tooltipPosition:{x:x+C/2,y:S+w/2},parentViewBox:h,originalDataIndex:f},m&&m[f]&&m[f].props)}).filter(Boolean)}function AK(e){var t=Oy(e,DK),n=$G(t.stackId),r=lw();return B.createElement(ZH,{id:t.id,type:`bar`},e=>B.createElement(B.Fragment,null,B.createElement(KH,{legendPayload:hK(t)}),B.createElement(gK,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),B.createElement(oU,{type:`bar`,id:e,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:n,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:r,hasCustomShape:t.shape!=null}),B.createElement(gz,{zIndex:t.zIndex},B.createElement(OK,sK({},t,{id:e})))))}var jK=B.memo(AK,GT);jK.displayName=`Bar`;var MK=[`domain`,`range`],NK=[`domain`,`range`];function PK(e,t){if(e==null)return{};var n,r,i=FK(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function FK(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function IK(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function LK(e,t){if(e===t)return!0;var{domain:n,range:r}=e,i=PK(e,MK),{domain:a,range:o}=t,s=PK(t,NK);return!IK(n,a)||!IK(r,o)?!1:GT(i,s)}var RK=[`type`],zK=[`dangerouslySetInnerHTML`,`ticks`,`scale`],BK=[`id`,`scale`];function VK(){return VK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VK.apply(null,arguments)}function HK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HK(Object(n),!0).forEach(function(t){WK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function WK(e,t,n){return(t=GK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GK(e){var t=KK(e,`string`);return typeof t==`symbol`?t:t+``}function KK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function qK(e,t){if(e==null)return{};var n,r,i=JK(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function JK(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function YK(e){var t=Hy(),n=(0,B.useRef)(null),r=bw(),{type:i}=e,a=qK(e,RK),o=PO(r,`yAxis`,i),s=(0,B.useMemo)(()=>{if(o!=null)return UK(UK({},a),{},{type:o})},[o,a]);return(0,B.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(JU(s)):n.current!==s&&t(YU({prev:n.current,next:s})),n.current=s)},[s,t]),(0,B.useLayoutEffect)(()=>()=>{n.current&&=(t(XU(n.current)),null)},[t]),null}function XK(e){var{yAxisId:t,className:n,width:r,label:i}=e,a=(0,B.useRef)(null),o=(0,B.useRef)(null),s=Q(sw),c=lw(),l=Hy(),u=`yAxis`,d=Q(e=>tL(e,t)),f=Q(e=>eL(e,t)),p=Q(e=>aL(e,u,t,c)),m=Q(e=>lF(e,t));if((0,B.useLayoutEffect)(()=>{if(!(r!==`auto`||!d||fV(i)||(0,B.isValidElement)(i)||m==null)){var e=a.current;if(e){var n=e.getCalculatedWidth();Math.round(d.width)!==Math.round(n)&&l(eW({id:t,width:n}))}}},[p,d,l,i,t,r,m]),d==null||f==null||m==null)return null;var{dangerouslySetInnerHTML:h,ticks:g,scale:_}=e,v=qK(e,zK),{id:y,scale:b}=m,x=qK(m,BK);return B.createElement(_G,VK({},v,x,{ref:a,labelRef:o,x:f.x,y:f.y,tickTextProps:r===`auto`?{width:void 0}:{width:r},width:d.width,height:d.height,className:H(`recharts-${u} ${u}`,n),viewBox:s,ticks:p,axisType:u,axisId:t}))}var ZK={allowDataOverflow:cF.allowDataOverflow,allowDecimals:cF.allowDecimals,allowDuplicatedCategory:cF.allowDuplicatedCategory,angle:cF.angle,axisLine:cG.axisLine,hide:!1,includeHidden:cF.includeHidden,interval:cF.interval,label:!1,minTickGap:cF.minTickGap,mirror:cF.mirror,orientation:cF.orientation,padding:cF.padding,reversed:cF.reversed,scale:cF.scale,tick:cF.tick,tickCount:cF.tickCount,tickLine:cG.tickLine,tickSize:cG.tickSize,type:cF.type,niceTicks:cF.niceTicks,width:cF.width,yAxisId:0},QK=B.memo(e=>{var t=Oy(e,ZK);return B.createElement(B.Fragment,null,B.createElement(YK,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),B.createElement(XK,t))},LK);QK.displayName=`YAxis`;var $K=$([(e,t)=>t,vw,XO,ak,xR,SR,KR,aw],$R);function eq(e){return`getBBox`in e.currentTarget&&typeof e.currentTarget.getBBox==`function`}function tq(e){var t=e.currentTarget.getBoundingClientRect(),n,r;if(eq(e)){var i=e.currentTarget.getBBox();n=i.width>0?t.width/i.width:1,r=i.height>0?t.height/i.height:1}else{var a=e.currentTarget;n=a.offsetWidth>0?t.width/a.offsetWidth:1,r=a.offsetHeight>0?t.height/a.offsetHeight:1}var o=(e,i)=>({relativeX:Math.round((e-t.left)/n),relativeY:Math.round((i-t.top)/r)});return`touches`in e?Array.from(e.touches).map(e=>o(e.clientX,e.clientY)):o(e.clientX,e.clientY)}var nq=Qx(`mouseClick`),rq=oC();rq.startListening({actionCreator:nq,effect:(e,t)=>{var n=e.payload,r=$K(t.getState(),tq(n));r?.activeIndex!=null&&t.dispatch(EL({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}});var iq=Qx(`mouseMove`),aq=oC(),oq=null,sq=null,cq=null;aq.startListening({actionCreator:iq,effect:(e,t)=>{var n=e.payload,{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i?.includes(`mousemove`);oq!==null&&(cancelAnimationFrame(oq),oq=null),sq!==null&&(typeof r!=`number`||!a)&&(clearTimeout(sq),sq=null),cq=tq(n);var o=()=>{var e=t.getState(),n=fL(e,e.tooltip.settings.shared);if(!cq){oq=null,sq=null;return}if(n===`axis`){var r=$K(e,cq);r?.activeIndex==null?t.dispatch(CL()):t.dispatch(TL({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}oq=null,sq=null};if(!a){o();return}r===`raf`?oq=requestAnimationFrame(o):typeof r==`number`&&sq===null&&(sq=setTimeout(o,r))}});function lq(e,t){return t instanceof HTMLElement?`HTMLElement <${t.tagName} class="${t.className}">`:t===window?`global.window`:e===`children`&&typeof t==`object`&&t?`<<CHILDREN>>`:t}var uq={accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:`none`,syncId:void 0,syncMethod:`index`,baseValue:void 0,reverseStackOrder:!1},dq=bS({name:`rootProps`,initialState:uq,reducers:{updateOptions:(e,t)=>{e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=t.payload.barGap??uq.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),fq=dq.reducer,{updateOptions:pq}=dq.actions,mq=bS({name:`polarOptions`,initialState:null,reducers:{updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)}}),{updatePolarOptions:hq}=mq.actions,gq=mq.reducer,_q=Qx(`keyDown`),vq=Qx(`focus`),yq=Qx(`blur`),bq=oC(),xq=null,Sq=null,Cq=null;bq.startListening({actionCreator:_q,effect:(e,t)=>{Cq=e.payload,xq!==null&&(cancelAnimationFrame(xq),xq=null);var{throttleDelay:n,throttledEvents:r}=t.getState().eventSettings,i=r===`all`||r.includes(`keydown`);Sq!==null&&(typeof n!=`number`||!i)&&(clearTimeout(Sq),Sq=null);var a=()=>{try{var e=t.getState();if(e.rootProps.accessibilityLayer===!1)return;var{keyboardInteraction:n}=e.tooltip,r=Cq;if(r!==`ArrowRight`&&r!==`ArrowLeft`&&r!==`Enter`)return;var i=VL(n,lR(e),VF(e),vR(e)),a=i==null?-1:Number(i),o=!Number.isFinite(a)||a<0,s=SR(e),c=lR(e),l=fL(e,e.tooltip.settings.shared);if(r===`Enter`){if(o)return;var u=XR(e,l,`hover`,String(n.index));t.dispatch(OL({active:!n.active,activeIndex:n.index,activeCoordinate:u}));return}var d=cL(e)===`left-to-right`?1:-1,f=r===`ArrowRight`?1:-1,p;if(o){var m=VF(e),h=vR(e),g=f*d,_=e=>({active:!1,index:String(e),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(p=-1,g>0){for(var v=0;v<c.length;v++)if(VL(_(v),c,m,h)!=null){p=v;break}}else for(var y=c.length-1;y>=0;y--)if(VL(_(y),c,m,h)!=null){p=y;break}if(p<0)return}else{p=a+f*d;var b=s?.length||c.length;if(b===0||p>=b||p<0)return}var x=XR(e,l,`hover`,String(p));t.dispatch(OL({active:!0,activeIndex:p.toString(),activeCoordinate:x}))}finally{xq=null,Sq=null}};if(!i){a();return}n===`raf`?xq=requestAnimationFrame(a):typeof n==`number`&&Sq===null&&(a(),Cq=null,Sq=setTimeout(()=>{Cq?a():(Sq=null,xq=null)},n))}}),bq.startListening({actionCreator:vq,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;if(!r.active&&r.index==null){var i=`0`,a=XR(n,fL(n,n.tooltip.settings.shared),`hover`,String(i));t.dispatch(OL({active:!0,activeIndex:i,activeCoordinate:a}))}}}}),bq.startListening({actionCreator:yq,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;r.active&&t.dispatch(OL({active:!1,activeIndex:r.index,activeCoordinate:r.coordinate}))}}});function wq(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(e,n)=>{if(n===`currentTarget`)return t;var r=Reflect.get(e,n);return typeof r==`function`?r.bind(e):r}})}var Tq=Qx(`externalEvent`),Eq=oC(),Dq=new Map,Oq=new Map,kq=new Map;Eq.startListening({actionCreator:Tq,effect:(e,t)=>{var{handler:n,reactEvent:r}=e.payload;if(n!=null){var i=r.type,a=wq(r);kq.set(i,{handler:n,reactEvent:a});var o=Dq.get(i);o!==void 0&&(cancelAnimationFrame(o),Dq.delete(i));var{throttleDelay:s,throttledEvents:c}=t.getState().eventSettings,l=c,u=l===`all`||l?.includes(i),d=Oq.get(i);d!==void 0&&(typeof s!=`number`||!u)&&(clearTimeout(d),Oq.delete(i));var f=()=>{var e=kq.get(i);try{if(!e)return;var{handler:n,reactEvent:r}=e,a=t.getState(),o={activeCoordinate:MR(a),activeDataKey:kR(a),activeIndex:DR(a),activeLabel:OR(a),activeTooltipIndex:DR(a),isTooltipActive:NR(a)};n&&n(o,r)}finally{Dq.delete(i),Oq.delete(i),kq.delete(i)}};if(!u){f();return}if(s===`raf`){var p=requestAnimationFrame(f);Dq.set(i,p)}else if(typeof s==`number`){if(!Oq.has(i)){f();var m=setTimeout(f,s);Oq.set(i,m)}}else f()}}});var Aq=$([$([GL],e=>e.tooltipItemPayloads),(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var r=e.find(e=>e.settings.graphicalItemId===n);if(r!=null){var{getPosition:i}=r;if(i!=null)return i(t)}}}),jq=Qx(`touchMove`),Mq=oC(),Nq=null,Pq=null,Fq=null,Iq=null;Mq.startListening({actionCreator:jq,effect:(e,t)=>{var n=e.payload;if(!(n.touches==null||n.touches.length===0)){Iq=wq(n);var{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i.includes(`touchmove`);Nq!==null&&(cancelAnimationFrame(Nq),Nq=null),Pq!==null&&(typeof r!=`number`||!a)&&(clearTimeout(Pq),Pq=null),Fq=Array.from(n.touches).map(e=>tq({clientX:e.clientX,clientY:e.clientY,currentTarget:n.currentTarget}));var o=()=>{if(Iq!=null){var e=t.getState(),n=fL(e,e.tooltip.settings.shared);if(n===`axis`){var r=Fq?.[0];if(r==null){Nq=null,Pq=null;return}var i=$K(e,r);i?.activeIndex!=null&&t.dispatch(TL({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}else if(n===`item`){var a=Iq.touches[0];if(document.elementFromPoint==null||a==null)return;var o=document.elementFromPoint(a.clientX,a.clientY);if(!o||!o.getAttribute)return;var s=o.getAttribute(qC),c=o.getAttribute(`data-recharts-item-id`)??void 0,l=aR(e).find(e=>e.id===c);if(s==null||l==null||c==null)return;var{dataKey:u}=l,d=Aq(e,s,c);t.dispatch(xL({activeDataKey:u,activeIndex:s,activeCoordinate:d,activeGraphicalItemId:c}))}Nq=null,Pq=null}};if(!a){o();return}r===`raf`?Nq=requestAnimationFrame(o):typeof r==`number`&&Pq===null&&(o(),Iq=null,Pq=setTimeout(()=>{Iq?o():(Pq=null,Nq=null)},r))}}});var Lq={throttleDelay:`raf`,throttledEvents:[`mousemove`,`touchmove`,`pointermove`,`scroll`,`wheel`]},Rq=bS({name:`eventSettings`,initialState:Lq,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=yT(t.payload.throttledEvents))}}}),{setEventSettings:zq}=Rq.actions,Bq=Rq.reducer,Vq=Cb({brush:bW,cartesianAxis:tW,chartData:Az,errorBars:SG,eventSettings:Bq,graphicalItems:aU,layout:pC,legend:ET,options:wz,polarAxis:qV,polarOptions:gq,referenceElements:AW,renderedTicks:QW,rootProps:fq,tooltip:kL,zIndex:hz}),Hq=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Chart`;return uS({reducer:Vq,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:![`commonjs`,`es6`,`production`].includes(`es6`)}).concat([rq.middleware,aq.middleware,bq.middleware,Eq.middleware,Mq.middleware]),enhancers:e=>{var t=e;return typeof e==`function`&&(t=e()),t.concat(cS({type:`raf`}))},devTools:KT.devToolsEnabled&&{serialize:{replacer:lq},name:`recharts-${t}`}})};function Uq(e){var{preloadedState:t,children:n,reduxStoreName:r}=e,i=lw(),a=(0,B.useRef)(null);if(i)return n;a.current??=Hq(t,r);var o=zy;return B.createElement(HT,{context:o,store:a.current},n)}function Wq(e){var{layout:t,margin:n}=e,r=Hy(),i=lw();return(0,B.useEffect)(()=>{i||(r(uC(t)),r(lC(n)))},[r,i,t,n]),null}var Gq=(0,B.memo)(Wq,GT);function Kq(e){var t=Hy();return(0,B.useEffect)(()=>{t(pq(e))},[t,e]),null}var qq=(0,B.memo)(e=>{var t=Hy();return(0,B.useEffect)(()=>{t(zq(e))},[t,e]),null},GT);function Jq(e){var{zIndex:t,isPanorama:n}=e,r=(0,B.useRef)(null),i=Hy();return(0,B.useLayoutEffect)(()=>(r.current&&i(pz({zIndex:t,element:r.current,isPanorama:n})),()=>{i(mz({zIndex:t,isPanorama:n}))}),[i,t,n]),B.createElement(`g`,{tabIndex:-1,ref:r,className:`recharts-zIndex-layer_${t}`})}function Yq(e){var{children:t,isPanorama:n}=e,r=Q(tz);if(!r||r.length===0)return t;var i=r.filter(e=>e<0),a=r.filter(e=>e>0);return B.createElement(B.Fragment,null,i.map(e=>B.createElement(Jq,{key:e,zIndex:e,isPanorama:n})),t,a.map(e=>B.createElement(Jq,{key:e,zIndex:e,isPanorama:n})))}var Xq=[`children`];function Zq(e,t){if(e==null)return{};var n,r,i=Qq(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Qq(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function $q(){return $q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$q.apply(null,arguments)}var eJ={width:`100%`,height:`100%`,display:`block`},tJ=(0,B.forwardRef)((e,t)=>{var n=gw(),r=_w(),i=JT();if(!gC(n)||!gC(r))return null;var{children:a,otherAttributes:o,title:s,desc:c}=e,l,u;return o!=null&&(l=typeof o.tabIndex==`number`?o.tabIndex:i?0:void 0,u=typeof o.role==`string`?o.role:i?`application`:void 0),B.createElement(r_,$q({},o,{title:s,desc:c,role:u,tabIndex:l,width:n,height:r,style:eJ,ref:t}),a)}),nJ=e=>{var{children:t}=e,n=Q(dw);if(!n)return null;var{width:r,height:i,y:a,x:o}=n;return B.createElement(r_,{width:r,height:i,x:o,y:a},t)},rJ=(0,B.forwardRef)((e,t)=>{var{children:n}=e,r=Zq(e,Xq);return lw()?B.createElement(nJ,null,B.createElement(Yq,{isPanorama:!0},n)):B.createElement(tJ,$q({ref:t},r),B.createElement(Yq,{isPanorama:!1},n))});function iJ(){var e=Hy(),[t,n]=(0,B.useState)(null),r=Q(UC);return(0,B.useEffect)(()=>{if(t!=null){var n=t.getBoundingClientRect().width/t.offsetWidth;hC(n)&&n!==r&&e(fC(n))}},[t,e,r]),n}function aJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?aJ(Object(n),!0).forEach(function(t){sJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sJ(e,t,n){return(t=cJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cJ(e){var t=lJ(e,`string`);return typeof t==`symbol`?t:t+``}function lJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function uJ(){return uJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uJ.apply(null,arguments)}var dJ=()=>(Vz(),null);function fJ(e){if(typeof e==`number`)return e;if(typeof e==`string`){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var pJ=(0,B.forwardRef)((e,t)=>{var n=(0,B.useRef)(null),[r,i]=(0,B.useState)({containerWidth:fJ(e.style?.width),containerHeight:fJ(e.style?.height)}),a=(0,B.useCallback)((e,t)=>{i(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),o=(0,B.useCallback)(e=>{if(typeof t==`function`&&t(e),n.current!=null&&(n.current.disconnect(),n.current=null),e!=null&&typeof ResizeObserver<`u`){var{width:r,height:i}=e.getBoundingClientRect();a(r,i);var o=new ResizeObserver(e=>{var t=e[0];if(t!=null){var{width:n,height:r}=t.contentRect;a(n,r)}});o.observe(e),n.current=o}},[t,a]);return(0,B.useEffect)(()=>()=>{n.current?.disconnect()},[a]),B.createElement(B.Fragment,null,B.createElement(Cw,{width:r.containerWidth,height:r.containerHeight}),B.createElement(`div`,uJ({ref:o},e)))}),mJ=(0,B.forwardRef)((e,t)=>{var{width:n,height:r}=e,[i,a]=(0,B.useState)({containerWidth:fJ(n),containerHeight:fJ(r)}),o=(0,B.useCallback)((e,t)=>{a(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),s=(0,B.useCallback)(e=>{if(typeof t==`function`&&t(e),e!=null){var{width:n,height:r}=e.getBoundingClientRect();o(n,r)}},[t,o]);return B.createElement(B.Fragment,null,B.createElement(Cw,{width:i.containerWidth,height:i.containerHeight}),B.createElement(`div`,uJ({ref:s},e)))}),hJ=(0,B.forwardRef)((e,t)=>{var{width:n,height:r}=e;return B.createElement(B.Fragment,null,B.createElement(Cw,{width:n,height:r}),B.createElement(`div`,uJ({ref:t},e)))}),gJ=(0,B.forwardRef)((e,t)=>{var{width:n,height:r}=e;return typeof n==`string`||typeof r==`string`?B.createElement(mJ,uJ({},e,{ref:t})):typeof n==`number`&&typeof r==`number`?B.createElement(hJ,uJ({},e,{width:n,height:r,ref:t})):B.createElement(B.Fragment,null,B.createElement(Cw,{width:n,height:r}),B.createElement(`div`,uJ({ref:t},e)))});function _J(e){return e?pJ:gJ}var vJ=(0,B.forwardRef)((e,t)=>{var{children:n,className:r,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:f,onTouchEnd:p,onTouchMove:m,onTouchStart:h,style:g,width:_,responsive:v,dispatchTouchEvents:y=!0}=e,b=(0,B.useRef)(null),x=Hy(),[S,C]=(0,B.useState)(null),[w,T]=(0,B.useState)(null),E=iJ(),D=pw(),O=D?.width>0?D.width:_,k=D?.height>0?D.height:i,A=(0,B.useCallback)(e=>{E(e),typeof t==`function`&&t(e),C(e),T(e),e!=null&&(b.current=e)},[E,t,C,T]),j=(0,B.useCallback)(e=>{x(nq(e)),x(Tq({handler:a,reactEvent:e}))},[x,a]),M=(0,B.useCallback)(e=>{x(iq(e)),x(Tq({handler:l,reactEvent:e}))},[x,l]),N=(0,B.useCallback)(e=>{x(CL()),x(Tq({handler:u,reactEvent:e}))},[x,u]),P=(0,B.useCallback)(e=>{x(iq(e)),x(Tq({handler:d,reactEvent:e}))},[x,d]),ee=(0,B.useCallback)(()=>{x(vq())},[x]),te=(0,B.useCallback)(()=>{x(yq())},[x]),F=(0,B.useCallback)(e=>{x(_q(e.key))},[x]),ne=(0,B.useCallback)(e=>{x(Tq({handler:o,reactEvent:e}))},[x,o]),I=(0,B.useCallback)(e=>{x(Tq({handler:s,reactEvent:e}))},[x,s]),re=(0,B.useCallback)(e=>{x(Tq({handler:c,reactEvent:e}))},[x,c]),ie=(0,B.useCallback)(e=>{x(Tq({handler:f,reactEvent:e}))},[x,f]),L=(0,B.useCallback)(e=>{x(Tq({handler:h,reactEvent:e}))},[x,h]),ae=(0,B.useCallback)(e=>{y&&x(jq(e)),x(Tq({handler:m,reactEvent:e}))},[x,y,m]),R=(0,B.useCallback)(e=>{x(Tq({handler:p,reactEvent:e}))},[x,p]),oe=_J(v);return B.createElement(_z.Provider,{value:S},B.createElement(l_.Provider,{value:w},B.createElement(oe,{width:O??g?.width,height:k??g?.height,className:H(`recharts-wrapper`,r),style:oJ({position:`relative`,cursor:`default`,width:O,height:k},g),onClick:j,onContextMenu:ne,onDoubleClick:I,onFocus:ee,onBlur:te,onKeyDown:F,onMouseDown:re,onMouseEnter:M,onMouseLeave:N,onMouseMove:P,onMouseUp:ie,onTouchEnd:R,onTouchMove:ae,onTouchStart:L,ref:A},B.createElement(dJ,null),n)))}),yJ=[`width`,`height`,`responsive`,`children`,`className`,`style`,`compact`,`title`,`desc`];function bJ(e,t){if(e==null)return{};var n,r,i=xJ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function xJ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var SJ=(0,B.forwardRef)((e,t)=>{var{width:n,height:r,responsive:i,children:a,className:o,style:s,compact:c,title:l,desc:u}=e,d=Xg(bJ(e,yJ));return c?B.createElement(B.Fragment,null,B.createElement(Cw,{width:n,height:r}),B.createElement(rJ,{otherAttributes:d,title:l,desc:u},a)):B.createElement(vJ,{className:o,style:s,width:n,height:r,responsive:i??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},B.createElement(rJ,{otherAttributes:d,title:l,desc:u,ref:t},B.createElement(MW,null,a)))});function CJ(){return CJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CJ.apply(null,arguments)}function wJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wJ(Object(n),!0).forEach(function(t){EJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function EJ(e,t,n){return(t=DJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DJ(e){var t=OJ(e,`string`);return typeof t==`symbol`?t:t+``}function OJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var kJ=TJ({accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,layout:`horizontal`,margin:{top:5,right:5,bottom:5,left:5},responsive:!1,reverseStackOrder:!1,stackOffset:`none`,syncMethod:`index`},Lq),AJ=(0,B.forwardRef)(function(e,t){var n=Oy(e.categoricalChartProps,kJ),{chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,categoricalChartProps:s}=e,c={chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,eventEmitter:void 0};return B.createElement(Uq,{preloadedState:{options:c},reduxStoreName:s.id??r},B.createElement(gW,{chartData:s.data}),B.createElement(Gq,{layout:n.layout,margin:n.margin}),B.createElement(qq,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),B.createElement(Kq,{baseValue:n.baseValue,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),B.createElement(SJ,CJ({},n,{ref:t})))}),jJ=[`axis`,`item`],MJ=(0,B.forwardRef)((e,t)=>B.createElement(AJ,{chartName:`BarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:jJ,tooltipPayloadSearcher:Sz,categoricalChartProps:e,ref:t}));function NJ(e){var t=Hy();return(0,B.useEffect)(()=>{t(hq(e))},[t,e]),null}var PJ=[`layout`];function FJ(){return FJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FJ.apply(null,arguments)}function IJ(e,t){if(e==null)return{};var n,r,i=LJ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function LJ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function RJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?RJ(Object(n),!0).forEach(function(t){BJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function BJ(e,t,n){return(t=VJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VJ(e){var t=HJ(e,`string`);return typeof t==`symbol`?t:t+``}function HJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var UJ=zJ({accessibilityLayer:!0,stackOffset:`none`,barCategoryGap:`10%`,barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:`index`,layout:`radial`,responsive:!1,cx:`50%`,cy:`50%`,innerRadius:0,outerRadius:`80%`},Lq),WJ=(0,B.forwardRef)(function(e,t){var n=Oy(e.categoricalChartProps,UJ),{layout:r}=n,i=IJ(n,PJ),{chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c}=e,l={chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,eventEmitter:void 0};return B.createElement(Uq,{preloadedState:{options:l},reduxStoreName:n.id??a},B.createElement(gW,{chartData:n.data}),B.createElement(Gq,{layout:r,margin:n.margin}),B.createElement(qq,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),B.createElement(Kq,{baseValue:void 0,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),B.createElement(NJ,{cx:n.cx,cy:n.cy,startAngle:n.startAngle,endAngle:n.endAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius}),B.createElement(SJ,FJ({},i,{ref:t})))});function GJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?GJ(Object(n),!0).forEach(function(t){qJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qJ(e,t,n){return(t=JJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JJ(e){var t=YJ(e,`string`);return typeof t==`symbol`?t:t+``}function YJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var XJ=[`item`],ZJ=KJ(KJ({},UJ),{},{layout:`centric`,startAngle:0,endAngle:360}),QJ=(0,B.forwardRef)((e,t)=>{var n=Oy(e,ZJ);return B.createElement(WJ,{chartName:`PieChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:XJ,tooltipPayloadSearcher:Sz,categoricalChartProps:n,ref:t})}),$J=W(`div`)({display:`grid`,gridTemplateColumns:`200px 200px 200px`,gap:`10px`,padding:`5px 0`}),eY=W(`div`)({display:`grid`,gridTemplateColumns:`200px 200px 200px`,gap:`20px`,padding:`10px 0`}),tY=W(QJ)({"& .recharts-pie-sector":{outline:`none !important`,"&:focus":{outline:`none !important`}}}),nY=e=>{let t=(e,t)=>{typeof t==`string`&&(t=parseInt(t));let n=g.findIndex(t=>t.id===e),r;r=n>=0?g[n].value===t?g.filter((e,t)=>t!==n):[...g.slice(0,n),{id:e,value:t},...g.slice(n+1)]:[...g,{id:e,value:t}],p(r),_(r)},n=(e,t)=>{h(e+`-`+t)},r=()=>{h(null)},i=(e,t)=>{let[n,r]=t.split(`-`).map(Number),i=g.find(e=>e.id===n);if(i&&r<=i.value)return`rgb(60, 73, 150, 0.6)`;if(e){let[t,i]=e.split(`-`).map(Number);if(t===n&&i>=r)return`rgb(0, 0, 0, 0.25)`}return`#FFFFFF`},a=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i,index:a}=e,o=Math.PI/180,s=i*1.13,c=t+s*Math.cos(-r*o);return(0,V.jsx)(`text`,{x:c,y:n+s*Math.sin(-r*o),fill:`#000000`,textAnchor:c>t?`start`:`end`,dominantBaseline:`central`,children:`${(a+1).toFixed(0)}`})},o=()=>e=>{let{fill:t,x:n,y:r,width:i,height:a}=e;return(0,V.jsx)(`g`,{children:(0,V.jsx)(`rect`,{x:n,y:r,width:i,height:a,stroke:`#000000`,fill:t})})},{value:s=[],modelType:c=`bar`,noOfModels:l=0,partsPerModel:u=0,showLabel:d=!1,disabled:f=!1,onChange:p}=e,[m,h]=(0,B.useState)(null),[g,_]=(0,B.useState)(s),v=()=>{let e=[];for(let t=1;t<l+1;t++){let n=[{name:t}];for(let e=1;e<u+1;e++)n[0][`${e}`]=1;e.push(n)}let a=[];return e.forEach((e,s)=>{a.push((0,V.jsxs)(MJ,{width:200,height:30*u,data:e,children:[(0,V.jsx)(QK,{hide:!0,type:`number`,domain:[0,u]}),Object.keys(e[0]).map((e,a)=>{if(e!==`name`)return(0,V.jsx)(jK,{dataKey:e,stackId:`a`,onClick:f?null:()=>t(s+1,e),onMouseEnter:f?null:()=>n(s+1,e),onMouseLeave:f?null:()=>r(s+1,e),shape:o(),isAnimationActive:!1,fill:i(m,`${s+1}-${e}`),children:d&&(0,V.jsx)(PV,{position:`left`,fill:`#000000`})},`bar-${s+1}-${a+1}`)})]},`bar-chart-${s+1}`))}),(0,V.jsx)(eY,{children:a})},y=(0,B.useRef)(null),b=()=>{let e=[];for(let t=1;t<l+1;t++){let t=Array.from({length:u},(e,t)=>({name:`${t+1}`,value:1}));e.push(t)}let o=[];return e.forEach((e,s)=>{o.push((0,V.jsx)(tY,{width:200,height:200,children:(0,V.jsx)(RU,{data:e,fill:`#FFFFFF`,stroke:`#000000`,dataKey:`value`,startAngle:90,endAngle:-270,isAnimationActive:!1,labelLine:!1,label:d&&a,children:e.map((e,a)=>(0,V.jsx)(Hz,{onClick:f?null:()=>t(s+1,a+1),onMouseEnter:f?null:()=>n(s+1,a+1),onMouseLeave:f?null:()=>r(s+1,a+1),fill:i(m,`${s+1}-${a+1}`),style:{outline:`none`,cursor:f?`default`:`pointer`}},`${s+1}-${a+1}`))},`pie-${s+1}`)},`pie-chart-${s}`))}),(0,V.jsx)($J,{ref:y,children:o})};if(c===`bar`)return v();if(c===`pie`)return(0,B.useEffect)(()=>{if(y?.current&&u===1){let e=y.current.querySelectorAll(`path`);e.length>0&&e.forEach(e=>{let t=e.getAttribute(`d`);e.setAttribute(`d`,t.replaceAll(`L 100,100`,``))})}},[]),b()},rY=W(ed)(()=>({fontSize:`max(1.25rem, 18px)`})),iY=W(Zu)(()=>({fontSize:`max(1rem, 14px)`})),aY=({text:e,title:t,onClose:n,onConfirm:r,open:i,onCloseText:a,onConfirmText:o,disableAutoFocus:s,disableEnforceFocus:c,disableRestoreFocus:l})=>(0,V.jsxs)(Lu,{open:i,disableAutoFocus:s,disableEnforceFocus:c,disableRestoreFocus:l,onClose:n,children:[t&&(0,V.jsx)(rY,{children:t}),e&&(0,V.jsx)(qu,{children:(0,V.jsx)(iY,{children:e})}),(0,V.jsxs)(Vu,{children:[n&&(0,V.jsx)(Ql,{onClick:n,color:`primary`,children:a}),r&&(0,V.jsx)(Ql,{autoFocus:!0,onClick:r,color:`primary`,children:o})]})]});aY.defaultProps={onCloseText:`CANCEL`,onConfirmText:`OK`,disableAutoFocus:!1,disableEnforceFocus:!1,disableRestoreFocus:!1},aY.propTypes={text:y.oneOfType([y.string,y.object]),title:y.string,onClose:y.func,onConfirm:y.func,open:y.bool,onConfirmText:y.string,onCloseText:y.string,disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableRestoreFocus:y.bool};function oY(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var sY=typeof global==`object`&&global&&global.Object===Object&&global,cY=typeof self==`object`&&self&&self.Object===Object&&self,lY=sY||cY||Function(`return this`)(),uY=lY.Symbol,dY=Object.prototype,fY=dY.hasOwnProperty,pY=dY.toString,mY=uY?uY.toStringTag:void 0;function hY(e){var t=fY.call(e,mY),n=e[mY];try{e[mY]=void 0;var r=!0}catch{}var i=pY.call(e);return r&&(t?e[mY]=n:delete e[mY]),i}var gY=Object.prototype.toString;function _Y(e){return gY.call(e)}var vY=`[object Null]`,yY=`[object Undefined]`,bY=uY?uY.toStringTag:void 0;function xY(e){return e==null?e===void 0?yY:vY:bY&&bY in Object(e)?hY(e):_Y(e)}function SY(e){return typeof e==`object`&&!!e}function CY(){this.__data__=[],this.size=0}function wY(e,t){return e===t||e!==e&&t!==t}function TY(e,t){for(var n=e.length;n--;)if(wY(e[n][0],t))return n;return-1}var EY=Array.prototype.splice;function DY(e){var t=this.__data__,n=TY(t,e);return n<0?!1:(n==t.length-1?t.pop():EY.call(t,n,1),--this.size,!0)}function OY(e){var t=this.__data__,n=TY(t,e);return n<0?void 0:t[n][1]}function kY(e){return TY(this.__data__,e)>-1}function AY(e,t){var n=this.__data__,r=TY(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function jY(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}jY.prototype.clear=CY,jY.prototype.delete=DY,jY.prototype.get=OY,jY.prototype.has=kY,jY.prototype.set=AY;function MY(){this.__data__=new jY,this.size=0}function NY(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function PY(e){return this.__data__.get(e)}function FY(e){return this.__data__.has(e)}var IY=`[object AsyncFunction]`,LY=`[object Function]`,RY=`[object GeneratorFunction]`,zY=`[object Proxy]`;function BY(e){if(!oY(e))return!1;var t=xY(e);return t==LY||t==RY||t==IY||t==zY}var VY=lY[`__core-js_shared__`],HY=function(){var e=/[^.]+$/.exec(VY&&VY.keys&&VY.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function UY(e){return!!HY&&HY in e}var WY=Function.prototype.toString;function GY(e){if(e!=null){try{return WY.call(e)}catch{}try{return e+``}catch{}}return``}var KY=/[\\^$.*+?()[\]{}|]/g,qY=/^\[object .+?Constructor\]$/,JY=Function.prototype,YY=Object.prototype,XY=JY.toString,ZY=YY.hasOwnProperty,QY=RegExp(`^`+XY.call(ZY).replace(KY,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function $Y(e){return!oY(e)||UY(e)?!1:(BY(e)?QY:qY).test(GY(e))}function eX(e,t){return e?.[t]}function tX(e,t){var n=eX(e,t);return $Y(n)?n:void 0}var nX=tX(lY,`Map`),rX=tX(Object,`create`);function iX(){this.__data__=rX?rX(null):{},this.size=0}function aX(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var oX=`__lodash_hash_undefined__`,sX=Object.prototype.hasOwnProperty;function cX(e){var t=this.__data__;if(rX){var n=t[e];return n===oX?void 0:n}return sX.call(t,e)?t[e]:void 0}var lX=Object.prototype.hasOwnProperty;function uX(e){var t=this.__data__;return rX?t[e]!==void 0:lX.call(t,e)}var dX=`__lodash_hash_undefined__`;function fX(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=rX&&t===void 0?dX:t,this}function pX(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pX.prototype.clear=iX,pX.prototype.delete=aX,pX.prototype.get=cX,pX.prototype.has=uX,pX.prototype.set=fX;function mX(){this.size=0,this.__data__={hash:new pX,map:new(nX||jY),string:new pX}}function hX(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function gX(e,t){var n=e.__data__;return hX(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function _X(e){var t=gX(this,e).delete(e);return this.size-=+!!t,t}function vX(e){return gX(this,e).get(e)}function yX(e){return gX(this,e).has(e)}function bX(e,t){var n=gX(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function xX(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}xX.prototype.clear=mX,xX.prototype.delete=_X,xX.prototype.get=vX,xX.prototype.has=yX,xX.prototype.set=bX;var SX=200;function CX(e,t){var n=this.__data__;if(n instanceof jY){var r=n.__data__;if(!nX||r.length<SX-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new xX(r)}return n.set(e,t),this.size=n.size,this}function wX(e){var t=this.__data__=new jY(e);this.size=t.size}wX.prototype.clear=MY,wX.prototype.delete=NY,wX.prototype.get=PY,wX.prototype.has=FY,wX.prototype.set=CX;function TX(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var EX=function(){try{var e=tX(Object,`defineProperty`);return e({},``,{}),e}catch{}}();function DX(e,t,n){t==`__proto__`&&EX?EX(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var OX=Object.prototype.hasOwnProperty;function kX(e,t,n){var r=e[t];(!(OX.call(e,t)&&wY(r,n))||n===void 0&&!(t in e))&&DX(e,t,n)}function AX(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?DX(n,s,c):kX(n,s,c)}return n}function jX(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var MX=`[object Arguments]`;function NX(e){return SY(e)&&xY(e)==MX}var PX=Object.prototype,FX=PX.hasOwnProperty,IX=PX.propertyIsEnumerable,LX=NX(function(){return arguments}())?NX:function(e){return SY(e)&&FX.call(e,`callee`)&&!IX.call(e,`callee`)},RX=Array.isArray;function zX(){return!1}var BX=typeof exports==`object`&&exports&&!exports.nodeType&&exports,VX=BX&&typeof module==`object`&&module&&!module.nodeType&&module,HX=VX&&VX.exports===BX?lY.Buffer:void 0,UX=(HX?HX.isBuffer:void 0)||zX,WX=9007199254740991,GX=/^(?:0|[1-9]\d*)$/;function KX(e,t){var n=typeof e;return t??=WX,!!t&&(n==`number`||n!=`symbol`&&GX.test(e))&&e>-1&&e%1==0&&e<t}var qX=9007199254740991;function JX(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=qX}var YX=`[object Arguments]`,XX=`[object Array]`,ZX=`[object Boolean]`,QX=`[object Date]`,$X=`[object Error]`,eZ=`[object Function]`,tZ=`[object Map]`,nZ=`[object Number]`,rZ=`[object Object]`,iZ=`[object RegExp]`,aZ=`[object Set]`,oZ=`[object String]`,sZ=`[object WeakMap]`,cZ=`[object ArrayBuffer]`,lZ=`[object DataView]`,uZ=`[object Float32Array]`,dZ=`[object Float64Array]`,fZ=`[object Int8Array]`,pZ=`[object Int16Array]`,mZ=`[object Int32Array]`,hZ=`[object Uint8Array]`,gZ=`[object Uint8ClampedArray]`,_Z=`[object Uint16Array]`,vZ=`[object Uint32Array]`,yZ={};yZ[uZ]=yZ[dZ]=yZ[fZ]=yZ[pZ]=yZ[mZ]=yZ[hZ]=yZ[gZ]=yZ[_Z]=yZ[vZ]=!0,yZ[YX]=yZ[XX]=yZ[cZ]=yZ[ZX]=yZ[lZ]=yZ[QX]=yZ[$X]=yZ[eZ]=yZ[tZ]=yZ[nZ]=yZ[rZ]=yZ[iZ]=yZ[aZ]=yZ[oZ]=yZ[sZ]=!1;function bZ(e){return SY(e)&&JX(e.length)&&!!yZ[xY(e)]}function xZ(e){return function(t){return e(t)}}var SZ=typeof exports==`object`&&exports&&!exports.nodeType&&exports,CZ=SZ&&typeof module==`object`&&module&&!module.nodeType&&module,wZ=CZ&&CZ.exports===SZ&&sY.process,TZ=function(){try{return CZ&&CZ.require&&CZ.require(`util`).types||wZ&&wZ.binding&&wZ.binding(`util`)}catch{}}(),EZ=TZ&&TZ.isTypedArray,DZ=EZ?xZ(EZ):bZ,OZ=Object.prototype.hasOwnProperty;function kZ(e,t){var n=RX(e),r=!n&&LX(e),i=!n&&!r&&UX(e),a=!n&&!r&&!i&&DZ(e),o=n||r||i||a,s=o?jX(e.length,String):[],c=s.length;for(var l in e)(t||OZ.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||KX(l,c)))&&s.push(l);return s}var AZ=Object.prototype;function jZ(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||AZ)}function MZ(e,t){return function(n){return e(t(n))}}var NZ=MZ(Object.keys,Object),PZ=Object.prototype.hasOwnProperty;function FZ(e){if(!jZ(e))return NZ(e);var t=[];for(var n in Object(e))PZ.call(e,n)&&n!=`constructor`&&t.push(n);return t}function IZ(e){return e!=null&&JX(e.length)&&!BY(e)}function LZ(e){return IZ(e)?kZ(e):FZ(e)}function RZ(e,t){return e&&AX(t,LZ(t),e)}function zZ(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var BZ=Object.prototype.hasOwnProperty;function VZ(e){if(!oY(e))return zZ(e);var t=jZ(e),n=[];for(var r in e)r==`constructor`&&(t||!BZ.call(e,r))||n.push(r);return n}function HZ(e){return IZ(e)?kZ(e,!0):VZ(e)}function UZ(e,t){return e&&AX(t,HZ(t),e)}var WZ=typeof exports==`object`&&exports&&!exports.nodeType&&exports,GZ=WZ&&typeof module==`object`&&module&&!module.nodeType&&module,KZ=GZ&&GZ.exports===WZ?lY.Buffer:void 0,qZ=KZ?KZ.allocUnsafe:void 0;function JZ(e,t){if(t)return e.slice();var n=e.length,r=qZ?qZ(n):new e.constructor(n);return e.copy(r),r}function YZ(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}function XZ(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function ZZ(){return[]}var QZ=Object.prototype.propertyIsEnumerable,$Z=Object.getOwnPropertySymbols,eQ=$Z?function(e){return e==null?[]:(e=Object(e),XZ($Z(e),function(t){return QZ.call(e,t)}))}:ZZ;function tQ(e,t){return AX(e,eQ(e),t)}function nQ(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var rQ=MZ(Object.getPrototypeOf,Object),iQ=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)nQ(t,eQ(e)),e=rQ(e);return t}:ZZ;function aQ(e,t){return AX(e,iQ(e),t)}function oQ(e,t,n){var r=t(e);return RX(e)?r:nQ(r,n(e))}function sQ(e){return oQ(e,LZ,eQ)}function cQ(e){return oQ(e,HZ,iQ)}var lQ=tX(lY,`DataView`),uQ=tX(lY,`Promise`),dQ=tX(lY,`Set`),fQ=tX(lY,`WeakMap`),pQ=`[object Map]`,mQ=`[object Object]`,hQ=`[object Promise]`,gQ=`[object Set]`,_Q=`[object WeakMap]`,vQ=`[object DataView]`,yQ=GY(lQ),bQ=GY(nX),xQ=GY(uQ),SQ=GY(dQ),CQ=GY(fQ),wQ=xY;(lQ&&wQ(new lQ(new ArrayBuffer(1)))!=vQ||nX&&wQ(new nX)!=pQ||uQ&&wQ(uQ.resolve())!=hQ||dQ&&wQ(new dQ)!=gQ||fQ&&wQ(new fQ)!=_Q)&&(wQ=function(e){var t=xY(e),n=t==mQ?e.constructor:void 0,r=n?GY(n):``;if(r)switch(r){case yQ:return vQ;case bQ:return pQ;case xQ:return hQ;case SQ:return gQ;case CQ:return _Q}return t});var TQ=wQ,EQ=Object.prototype.hasOwnProperty;function DQ(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&EQ.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var OQ=lY.Uint8Array;function kQ(e){var t=new e.constructor(e.byteLength);return new OQ(t).set(new OQ(e)),t}function AQ(e,t){var n=t?kQ(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var jQ=/\w*$/;function MQ(e){var t=new e.constructor(e.source,jQ.exec(e));return t.lastIndex=e.lastIndex,t}var NQ=uY?uY.prototype:void 0,PQ=NQ?NQ.valueOf:void 0;function FQ(e){return PQ?Object(PQ.call(e)):{}}function IQ(e,t){var n=t?kQ(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var LQ=`[object Boolean]`,RQ=`[object Date]`,zQ=`[object Map]`,BQ=`[object Number]`,VQ=`[object RegExp]`,HQ=`[object Set]`,UQ=`[object String]`,WQ=`[object Symbol]`,GQ=`[object ArrayBuffer]`,KQ=`[object DataView]`,qQ=`[object Float32Array]`,JQ=`[object Float64Array]`,YQ=`[object Int8Array]`,XQ=`[object Int16Array]`,ZQ=`[object Int32Array]`,QQ=`[object Uint8Array]`,$Q=`[object Uint8ClampedArray]`,e$=`[object Uint16Array]`,t$=`[object Uint32Array]`;function n$(e,t,n){var r=e.constructor;switch(t){case GQ:return kQ(e);case LQ:case RQ:return new r(+e);case KQ:return AQ(e,n);case qQ:case JQ:case YQ:case XQ:case ZQ:case QQ:case $Q:case e$:case t$:return IQ(e,n);case zQ:return new r;case BQ:case UQ:return new r(e);case VQ:return MQ(e);case HQ:return new r;case WQ:return FQ(e)}}var r$=Object.create,i$=function(){function e(){}return function(t){if(!oY(t))return{};if(r$)return r$(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function a$(e){return typeof e.constructor==`function`&&!jZ(e)?i$(rQ(e)):{}}var o$=`[object Map]`;function s$(e){return SY(e)&&TQ(e)==o$}var c$=TZ&&TZ.isMap,l$=c$?xZ(c$):s$,u$=`[object Set]`;function d$(e){return SY(e)&&TQ(e)==u$}var f$=TZ&&TZ.isSet,p$=f$?xZ(f$):d$,m$=1,h$=2,g$=4,_$=`[object Arguments]`,v$=`[object Array]`,y$=`[object Boolean]`,b$=`[object Date]`,x$=`[object Error]`,S$=`[object Function]`,C$=`[object GeneratorFunction]`,w$=`[object Map]`,T$=`[object Number]`,E$=`[object Object]`,D$=`[object RegExp]`,O$=`[object Set]`,k$=`[object String]`,A$=`[object Symbol]`,j$=`[object WeakMap]`,M$=`[object ArrayBuffer]`,N$=`[object DataView]`,P$=`[object Float32Array]`,F$=`[object Float64Array]`,I$=`[object Int8Array]`,L$=`[object Int16Array]`,R$=`[object Int32Array]`,z$=`[object Uint8Array]`,B$=`[object Uint8ClampedArray]`,V$=`[object Uint16Array]`,H$=`[object Uint32Array]`,U$={};U$[_$]=U$[v$]=U$[M$]=U$[N$]=U$[y$]=U$[b$]=U$[P$]=U$[F$]=U$[I$]=U$[L$]=U$[R$]=U$[w$]=U$[T$]=U$[E$]=U$[D$]=U$[O$]=U$[k$]=U$[A$]=U$[z$]=U$[B$]=U$[V$]=U$[H$]=!0,U$[x$]=U$[S$]=U$[j$]=!1;function W$(e,t,n,r,i,a){var o,s=t&m$,c=t&h$,l=t&g$;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!oY(e))return e;var u=RX(e);if(u){if(o=DQ(e),!s)return YZ(e,o)}else{var d=TQ(e),f=d==S$||d==C$;if(UX(e))return JZ(e,s);if(d==E$||d==_$||f&&!i){if(o=c||f?{}:a$(e),!s)return c?aQ(e,UZ(o,e)):tQ(e,RZ(o,e))}else{if(!U$[d])return i?e:{};o=n$(e,d,s)}}a||=new wX;var p=a.get(e);if(p)return p;a.set(e,o),p$(e)?e.forEach(function(r){o.add(W$(r,t,n,r,e,a))}):l$(e)&&e.forEach(function(r,i){o.set(i,W$(r,t,n,i,e,a))});var m=u?void 0:(l?c?cQ:sQ:c?HZ:LZ)(e);return TX(m||e,function(r,i){m&&(i=r,r=e[i]),kX(o,i,W$(r,t,n,i,e,a))}),o}var G$=1,K$=4;function q$(e){return W$(e,G$|K$)}function J$(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function Y$(e,t){return!e||J$(e)?e:J$(e.default)?e.default:t&&J$(e[t])?e[t]:t&&J$(e[t]?.default)?e[t].default:e}Y$(dh,`InputContainer`)||Y$(Q$.InputContainer,`InputContainer`);var X$=Eh,Z$=X$.default,Q$=Z$&&typeof Z$==`object`?Z$:X$;function $$(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function e1(e,t){return!e||$$(e)?e:$$(e.default)?e.default:t&&$$(e[t])?e[t]:t&&$$(e[t]?.default)?e[t].default:e}var t1=e1(ah,`UiLayout`)||e1(a1.UiLayout,`UiLayout`),n1=e1(hh,`PreviewPrompt`)||e1(a1.PreviewPrompt,`PreviewPrompt`),r1=Eh,i1=r1.default,a1=i1&&typeof i1==`object`?i1:r1,o1=W(`div`)({padding:`16px`}),s1=W(`div`)({textAlign:`center`,fontSize:`20px`}),c1=class extends B.Component{static propTypes={model:y.object,session:y.object,onSessionChange:y.func.isRequired};constructor(e){super(e),this.state={session:{...e.session,answers:e.session&&e.session.answers||this.generateAnswers(e.model)},showCorrect:!1,answerChangeDialog:{open:!1,text:``}},this.callOnSessionChange()}callOnSessionChange=()=>{let{onSessionChange:e}=this.props;e&&e(this.state.session)};generateAnswers=e=>{let t={response:[]};return e.allowedStudentConfig&&(t.noOfModel=``,t.partsPerModel=``),t};onAnswerChange=e=>{let t=q$(this.state.session),n={...this.state.session,answers:e};e.response.length>0?this.setState({answerChangeDialog:{open:!0,oldSession:t,newSession:n,text:`Changing either the Number of Models or Parts per Model will remove added answer. Are you sure you want to continue?`}}):this.setState(e=>({session:n}),this.callOnSessionChange)};toggleShowCorrect=e=>{this.setState({showCorrect:e})};onResponseChange=e=>{this.setState(t=>({session:{...t.session,answers:{...t.session.answers,response:e}}}),this.callOnSessionChange)};generateRandomKey=()=>Math.floor(Math.random()*1e4);render(){let{model:e}=this.props,{showCorrect:t,session:n,answerChangeDialog:r}=this.state,{prompt:i,title:a,correctness:o={},extraCSSRules:s,language:c}=e,l=o.correctness&&o.correctness!==`correct`,u=this.generateRandomKey();return(0,V.jsx)(t1,{extraCSSRules:s,children:(0,V.jsxs)(o1,{children:[(0,V.jsx)(s1,{children:(0,V.jsx)(n1,{className:`prompt`,prompt:a,tagName:`h3`})}),(0,V.jsx)(n1,{className:`prompt`,prompt:i,tagName:`p`}),(0,V.jsx)(Wg,{language:c,show:l,toggled:t,onToggle:this.toggleShowCorrect}),(0,V.jsx)(Qf,{model:e,showCorrect:t,disabled:e.view,onAnswerChange:this.onAnswerChange,answers:n.answers}),(0,V.jsx)(nY,{disabled:e.view,value:t?e.correctResponse:n.answers.response,modelType:e.modelTypeSelected,noOfModels:t?e.maxModelSelected:e.allowedStudentConfig?n.answers.noOfModel:e.maxModelSelected,partsPerModel:t?e.partsPerModel:e.allowedStudentConfig?n.answers.partsPerModel:e.partsPerModel,showLabel:e.showGraphLabels,onChange:this.onResponseChange},u),(0,V.jsx)(aY,{open:r.open,title:`Warning`,text:r.text,onConfirm:()=>{let e=this.state.answerChangeDialog.newSession;e.answers.response=[],this.setState(()=>({session:e,answerChangeDialog:{open:!1}}),this.callOnSessionChange)},onClose:()=>{this.setState(e=>({session:e.answerChangeDialog.oldSession,answerChangeDialog:{open:!1}}),this.callOnSessionChange)},onConfirmText:`OK`,onCloseText:`Cancel`})]})})}},l1=g(),u1=class extends HTMLElement{constructor(){super(),this._root=null}set model(e){this._model=e,this._render()}get model(){return this._model}set session(e){this._session=e,this._render()}get session(){return this._session}isSessionComplete(e,t){let n=e&&e.answers,r=t.allowedStudentConfig?n.noOfModel>0&&n.partsPerModel>0:!0,i=Array.isArray(n.response)&&n.response.length>0;return r&&i}onSessionChange(e){this._session.answers=e&&e.answers;let t=this.isSessionComplete(this._session,this._model);this.dispatchEvent(new _(this.tagName.toLowerCase(),t))}connectedCallback(){this._render()}_render(){if(this._model&&this._session){let e=q$(this._model),t=B.createElement(c1,{model:e,session:this._session,onSessionChange:this.onSessionChange.bind(this)});this._root||=(0,l1.createRoot)(this),this._root.render(t),queueMicrotask(()=>{Km(this)})}}disconnectedCallback(){this._root&&this._root.unmount()}};return typeof window<`u`&&!customElements.get(`fraction-model-element`)&&customElements.define(`fraction-model-element`,u1),u1})();